MATLAB File Help: cv.isContourConvex Index
cv.isContourConvex

Tests a contour convexity

status = cv.isContourConvex(contour)

Input

Output

The function tests whether the input contour is convex or not. The contour must be simple, that is, without self-intersections. Otherwise, the function output is undefined.