Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Incorrect outcome of using Chain Approx None

Hi

When detecting a square object, i noted that when i used cv2.findContours which i have set to cv2.CHAIN_APPROX_NONE, the resulting contours contains more than 4 points? Is there a way to make it right?

Incorrect outcome of using Chain Approx None

Hi

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