Ask Your Question

Revision history [back]

click to hide/show revision 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.

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.