findContours

Description

Finds contours in a binary image.

Signature

cv2.findContours(image, mode, method[, contours[, hierarchy[, offset]]]) → contours, hierarchy

Parameters

Explanation

The function retrieves contours from the binary image using the algorithm [224]. The contours are a useful tool for shape analysis and object detection and recognition.

Notes


References

Created with OpenCV 4.4.0