findContours¶

Functionality¶
Finds contours in a binary image.
Inputs¶
- image_in – Input image.
- method_in – Contour approximation method, see cv::ContourApproximationModes
- mode_in – Contour retrieval mode, see cv::RetrievalModes
- offset_in – Optional offset by which every contour point is shifted. This is useful if the.
Outputs¶
- contours_out – Detected contours. Each contour is stored as a vector of points.
- hierarchy_out – Optional output vector, containing information about the image topology. It has as many elements as the number of contours.
- image_out – Output image.