Initializes a new instance of the TemplateMatch class.

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public TemplateMatch(
	Rectangle rect,
	float similarity
)

Parameters

rect
Type: System.Drawing..::.Rectangle
Rectangle of the matching area.
similarity
Type: System..::.Single
Similarity between template and found matching, [0..1].

See Also