Ask Your Question

Revision history [back]

The function findcontours is doing all for you: it find the contours in an images. If your image is binary, it will be easy. After, just iterate through the contour to be sure it's the right polygon.

The function findcontours is doing all for you: it find finds the contours in an images. If your image is binary, it will be easy. After, just iterate through the contour to be sure it's the right polygon.