|
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
)
Public Shared Function FromXml (
stringReader As TextReader
) As HaarCascade
Request Example
View SourceParameters
- stringReader
- Type: System.IOTextReader
A StringReader containing the file stream
for the xml definition of the classifier to be loaded.
Return Value
Type:
HaarCascadeThe HaarCascadeClassifier loaded from the file.
See Also