MATLAB File Help: cv.convexityDefects Index
cv.convexityDefects

Finds the convexity defects of a contour

defects = cv.convexityDefects(contour, convexhull);

Input

Output

See also