Click or drag to resize

Cv2IsContourConvex Method (IEnumerablePoint)

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(
	IEnumerable<Point> contour
)

Parameters

contour
Type: System.Collections.GenericIEnumerablePoint
Input vector of 2D points

Return Value

Type: Boolean
See Also