Cv2ContourArea Method (InputArray, Boolean) OpenCvSharp Class Library
Calculates the contour area

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static double ContourArea(
	InputArray contour,
	bool oriented = false
)

Parameters

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

[Missing <param name="oriented"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ContourArea(OpenCvSharp.CPlusPlus.InputArray,System.Boolean)"]

Return Value

Type: Double

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.ContourArea(OpenCvSharp.CPlusPlus.InputArray,System.Boolean)"]

See Also

Reference