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: 1.0.0
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

[Missing <returns> documentation for "M:OpenCvSharp.ShapeDistanceExtractor.ComputeDistance(OpenCvSharp.InputArray,OpenCvSharp.InputArray)"]

See Also