Click or drag to resize

Cv2ContourArea Method (InputArray, Boolean)

Calculates the contour area

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

Parameters

contour
Type: OpenCvSharpInputArray
The contour vertices, represented by CV_32SC2 or CV_32FC2 matrix
oriented (Optional)
Type: SystemBoolean

Return Value

Type: Double
See Also