<< cv_filter2D ComputerVision cv_flannmatch >>

ComputerVision >> ComputerVision > cv_findcontour

cv_findcontour

Finding Contour

Calling Sequence

contours,hierarchy=cv_findcontour(image,mode,method)

Arguments

image

Input image -> must be np.ndarray

mode

Contour retrieval mode 1->cv2.RETR_EXTERNAL 2-> cv2.RETR_LIST 3->cv2.RETR_CCOMP 4->cv2.RETR_TREE

method

Contour approximation method 1->cv2.CHAIN_APPROX_NONE 2->cv2.CHAIN_APPROX_SIMPLE 3->cv2.CHAIN_APPROX_TC89_L1

contours

Returns Contours

hierarchy

Returns Hierarchy ->vector, containing information about the image topology

Description

Finding Contour

This function is used to find the contours

Examples

[contours,hierarchy]=cv_findcontour(image,1,1)

See Also


Report an issue
<< cv_filter2D ComputerVision cv_flannmatch >>