Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Change this:

threshold = 0.75

to:

threshold = 0.99

Change thickness::

cv2.rectangle(img_rgb, pt, (pt[0] + w, pt[1] + h), (0,255,255), 2)

to:

cv2.rectangle(img_rgb, pt, (pt[0] + w, pt[1] + h), (0,255,255), 1)

Output:

image description