Getting Started
User Guide
API Reference
Contour filter that returns only parent contours.
contours (list or ndarray) – Contour(s) to filter.
hierarchy (ndarray) – Corresponding hierarchy information for contours.
contour – All parent contours.
ndarray
See also
smallest, largest, Area, Eccentricity, Solidity
smallest
largest
Area
Eccentricity
Solidity