1 | initial version |
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.
2 | No.2 Revision |
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.