opencv-python>>Template Matching with Multiple Objects
in the example,what does pt[0]
and pt[1]
mean??
for pt in zip(*loc[::-1]):
cv2.rectangle(img, pt, (pt[0] + w, pt[1] + h), (0,0,255), 2)
counter=counter+1
Umm...I guess it means initial point in the picture,but how do program know the initial point should be?
Can anyone help me to answer my question? Thank you in advance.
link to the example ?