C# Класс Accord.Vision.Detection.HaarCascade

Наследование: ICloneable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Clone ( ) : object

Creates a new object that is a copy of the current instance.

FromXml ( Stream stream ) : HaarCascade

Loads a HaarCascade from a OpenCV-compatible XML file.

FromXml ( TextReader stringReader ) : HaarCascade

Loads a HaarCascade from a OpenCV-compatible XML file.

FromXml ( string path ) : HaarCascade

Loads a HaarCascade from a OpenCV-compatible XML file.

HaarCascade ( int baseWidth, int baseHeight, HaarCascadeStage stages ) : System

Constructs a new Haar Cascade.

ToCode ( TextWriter textWriter, string className ) : void

Saves a HaarCascade to C# code.

ToCode ( string path, string className ) : void

Saves a HaarCascade to C# code.

Защищенные методы

Метод Описание
HaarCascade ( int baseWidth, int baseHeight ) : System

Constructs a new Haar Cascade.

Приватные методы

Метод Описание
checkTiltedFeatures ( HaarCascadeStage stages ) : bool

Checks if the classifier contains tilted (rotated) features

Описание методов

Clone() публичный Метод

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
Результат object

FromXml() публичный статический Метод

Loads a HaarCascade from a OpenCV-compatible XML file.
public static FromXml ( Stream stream ) : HaarCascade
stream Stream /// A containing the file stream /// for the xml definition of the classifier to be loaded.
Результат HaarCascade

FromXml() публичный статический Метод

Loads a HaarCascade from a OpenCV-compatible XML file.
public static FromXml ( TextReader stringReader ) : HaarCascade
stringReader System.IO.TextReader /// A containing the file stream /// for the xml definition of the classifier to be loaded.
Результат HaarCascade

FromXml() публичный статический Метод

Loads a HaarCascade from a OpenCV-compatible XML file.
public static FromXml ( string path ) : HaarCascade
path string /// The file path for the xml definition of the classifier to be loaded.
Результат HaarCascade

HaarCascade() защищенный Метод

Constructs a new Haar Cascade.
protected HaarCascade ( int baseWidth, int baseHeight ) : System
baseWidth int Base feature width.
baseHeight int Base feature height.
Результат System

HaarCascade() публичный Метод

Constructs a new Haar Cascade.
public HaarCascade ( int baseWidth, int baseHeight, HaarCascadeStage stages ) : System
baseWidth int Base feature width.
baseHeight int Base feature height.
stages HaarCascadeStage Haar-like features classification stages.
Результат System

ToCode() публичный Метод

Saves a HaarCascade to C# code.
public ToCode ( TextWriter textWriter, string className ) : void
textWriter System.IO.TextWriter
className string
Результат void

ToCode() публичный Метод

Saves a HaarCascade to C# code.
public ToCode ( string path, string className ) : void
path string
className string
Результат void