Click or drag to resize

Cv2IsContourConvex Method (InputArray)

returns true if the contour is convex. Does not support contours with self-intersection

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static bool IsContourConvex(
	InputArray contour
)

Parameters

contour
Type: OpenCvSharpInputArray
Input vector of 2D points

Return Value

Type: Boolean
See Also