Click or drag to resize
Accord.NET (logo)

HaarCascadeFromXml Method (String)

Loads a HaarCascade from a OpenCV-compatible XML file.

Namespace:  Accord.Vision.Detection
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
public static HaarCascade FromXml(
	string path
)
Request Example View Source

Parameters

path
Type: SystemString
The file path for the xml definition of the classifier to be loaded.

Return Value

Type: HaarCascade
The HaarCascadeClassifier loaded from the file.
See Also