1 | initial version |
In findContours() function you need to change Contour retrieval mode as CV_RETR_EXTERNAL which retrieves only the extreme outer contours. See findcontours Doc.
2 | No.2 Revision |
In findContours() function you need to change Contour use contour retrieval mode as CV_RETR_EXTERNAL which retrieves only the extreme outer contours. See findcontours Doc.