Incorrect outcome of using Chain Approx None [closed]

asked 2017-07-07 11:27:10 -0600

lchunleo gravatar image

updated 2017-07-08 09:51:00 -0600

Hi

When detecting a square object, i noted that when i used cv2.findContours which i have set to cv2.CHAIN_APPROX_SIMPLE, why the resulting contours contains more than 4 points? i noted that the drawing is correct as it perimeter along the square object but the fact it have more than 4 points puzzle me.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-10 13:43:17.185217

Comments

you probably misunderstood it

berak gravatar imageberak ( 2017-07-07 20:12:20 -0600 )edit

A contour is a boundary between two regions

LBerger gravatar imageLBerger ( 2017-07-08 09:57:51 -0600 )edit

bad edit, title and question no more match.

berak gravatar imageberak ( 2017-07-09 02:01:23 -0600 )edit