Find Contour

Block Category: Detection

Input Image Format

Input Image Requirements: Binary

Description: The Find Contour block finds contours in a binary image based on the specified contour predicate.

Note: The contour area is calculated as the smallest rectangle that contains the contour.

Area Threshold: Indicates the minimum pixel area for the threshold operation.

Contour Method: Indicates the contour approximation method.

Contour Predicate

Above Threshold: Detects all contours above the specified Area Threshold.

All: Detects all contours regardless of the threshold.

Below Threshold: Detects all contours below the specified Area Threshold.

Max Area: Detects the largest area contour.

Min Area: Detects the smallest area contour.

Contour Retrieval: Indicates the contour retrieval mode.