Answers for "how to add bounding box over image python"

2

python bounding box on image

# cv2.rectangle(img, pt1, pt2, color, thickness, lineType, shift)
cv2.rectangle(img, (x1, y1), (x2, y2), (255,0,0), 2)

"""
x1,y1 ------
|          |
|          |
|          |
--------x2,y2
"""
Posted by: Guest on April-06-2021

Code answers related to "how to add bounding box over image python"

Python Answers by Framework

Browse Popular Code Answers by Language