Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

RETR_EXTERNAL does, what its name says: it only returns the most outer contour.

to traverse a hierachy of nested contours, use RETR_TREE instead.

also, have a look at the docs, again

RETR_EXTERNAL does, what its name says: it only returns the most outer contour.

to traverse a hierachy of nested contours, use RETR_TREE or RETR_CCOMP instead.

also, have a look at the docs, again

RETR_EXTERNAL does, what its name says: it only returns the most outer contour.contour. (there is no hierarchy)

to traverse a hierachy of nested contours, use RETR_TREE or RETR_CCOMP instead.

have a look at the docs, again