pyANPD icon indicating copy to clipboard operation
pyANPD copied to clipboard

Display All contours

Open sachinprabhu007 opened this issue 8 years ago • 2 comments

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.

sachinprabhu007 avatar Feb 26 '17 21:02 sachinprabhu007

color = (255,255,0)
cv2.drawContours(img, contours, -1, color, 3)
cv2.imshow("Keypoints", img)
cv2.waitKey(0)

kagan94 avatar May 21 '17 08:05 kagan94

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?

qdbkp26275999 avatar Jul 31 '18 05:07 qdbkp26275999