Click or drag to resize
Accord.NET (logo)

HaarCascadeFromXml Method (TextReader)

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(
	TextReader stringReader
)
Request Example View Source

Parameters

stringReader
Type: System.IOTextReader
A StringReader containing the file stream for the xml definition of the classifier to be loaded.

Return Value

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