Click or drag to resize

Cv2ContourArea Method (IEnumerablePoint2f, Boolean)

Calculates the contour area

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static double ContourArea(
	IEnumerable<Point2f> contour,
	bool oriented = false
)

Parameters

contour
Type: System.Collections.GenericIEnumerablePoint2f
The contour vertices, represented by CV_32SC2 or CV_32FC2 matrix
oriented (Optional)
Type: SystemBoolean

Return Value

Type: Double
See Also