pyANPD
pyANPD copied to clipboard
Display All contours
Hello!
How to display all possible contours? i.e minAreaRect()s are shown in orange and the one which satisfies our criteria is in green.
color = (255,255,0)
cv2.drawContours(img, contours, -1, color, 3)
cv2.imshow("Keypoints", img)
cv2.waitKey(0)
Hi I have a question! I can play this code but I didn't find new picture example: the picture name is .4.jpg but it doesn't appear 4-detected.png. Can you tell me why?