Click or drag to resize

Cv2MatchShapes Method (IEnumerablePoint, IEnumerablePoint, ShapeMatchModes, Double)

matches two contours using one of the available algorithms

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static double MatchShapes(
	IEnumerable<Point> contour1,
	IEnumerable<Point> contour2,
	ShapeMatchModes method,
	double parameter = 0
)

Parameters

contour1
Type: System.Collections.GenericIEnumerablePoint
contour2
Type: System.Collections.GenericIEnumerablePoint
method
Type: OpenCvSharpShapeMatchModes
parameter (Optional)
Type: SystemDouble

Return Value

Type: Double
See Also