Roboflow

https://blog.roboflow.com/how-to-draw-a-bounding-box-label-python/

 

How to Draw a Bounding Box Prediction Label with Python

In this article, we show how to use the cv2 library to draw bounding box prediction labels in Python.

blog.roboflow.com

자동 라벨링 및 딥러닝 플랫폼 서비스를 제공하는 곳임 

 

 Here is the code we'll need to draw our bounding boxes and add labels above each bounding box:

import cv2

predictions = [...] # add your predictions here

for bounding_box in predictions['predictions']:
    x0 = bounding_box['x'] - bounding_box['width'] / 2
    x1 = bounding_box['x'] + bounding_box['width'] / 2
    y0 = bounding_box['y'] - bounding_box['height'] / 2
    y1 = bounding_box['y'] + bounding_box['height'] / 2
    
    start_point = (int(x0), int(y0))
    end_point = (int(x1), int(y1))
    cv2.rectangle(img, start_point, end_point, color=(0,0,0), thickness=1)
    
    cv2.putText(
        image,
        bounding_box["class"],
        (int(x0), int(y0) - 10),
        fontFace = cv2.FONT_HERSHEY_SIMPLEX,
        fontScale = 0.6,
        color = (255, 255, 255),
        thickness=2
    )
    
cv2.imwrite("example_with_bounding_boxes.jpg", image)

 

 

 

MachineVision by jstar0525 

https://github.com/jstar0525/MachineVision

 

GitHub - jstar0525/MachineVision: Machine Vision Algorithm

Machine Vision Algorithm. Contribute to jstar0525/MachineVision development by creating an account on GitHub.

github.com

 

 

 

Object Detection Labeling Guide

Tutorials of Object Detection using Deep Learning [8] 

https://hoya012.github.io/blog/Tutorials-of-Object-Detection-Using-Deep-Learning-labeling/

 

Tutorials of Object Detection using Deep Learning [8] Object Detection Labeling Guide

Deep Learning을 이용한 Object detection Tutorial - [8] Object Detection Labeling에 대한 설명과 Tool 사용법 등을 소개드립니다.

hoya012.github.io

 

 

 

LabelMe 

https://github.com/labelmeai/labelme?tab=readme-ov-file

 

GitHub - labelmeai/labelme: Image Polygonal Annotation with Python (polygon, rectangle, circle, line, point and image-level flag

Image Polygonal Annotation with Python (polygon, rectangle, circle, line, point and image-level flag annotation). - labelmeai/labelme

github.com

 

 

LabelImg

https://github.com/HumanSignal/labelImg

 

GitHub - HumanSignal/labelImg: LabelImg is now part of the Label Studio community. The popular image annotation tool created by

LabelImg is now part of the Label Studio community. The popular image annotation tool created by Tzutalin is no longer actively being developed, but you can check out Label Studio, the open source ...

github.com

 

 

 

+ Recent posts