Click or drag to resize

ShapeDistanceExtractorComputeDistance Method

Compute the shape distance between two shapes defined by its contours.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public virtual float ComputeDistance(
	InputArray contour1,
	InputArray contour2
)

Parameters

contour1
Type: OpenCvSharpInputArray
Contour defining first shape.
contour2
Type: OpenCvSharpInputArray
Contour defining second shape.

Return Value

Type: Single
See Also