CvHaarClassifier Class OpenCvSharp Class Library
a single tree classifier (stump in the simplest case) that returns the response for the feature at the particular image location (i.e. pixel sum over subrectangles of the window) and gives out a value depending on the responce
Inheritance Hierarchy

SystemObject
  OpenCvSharpCvObject
    OpenCvSharpCvHaarClassifier

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public class CvHaarClassifier : CvObject

The CvHaarClassifier type exposes the following members.

Constructors

  NameDescription
Public methodCvHaarClassifier
Initializes from native pointer
Top
Properties

  NameDescription
Public propertyAlpha
output value correponding to the leaf.
Public propertyCount
Number of nodes in the decision tree
Public propertyCvPtr
Native pointer of OpenCV structure
(Inherited from CvObject.)
Public propertyHaarFeature
Array of haar features
Public propertyLeft
index of the left child (or negated index if the left child is a leaf)
Public propertyRight
index of the right child (or negated index if the right child is a leaf)
Public propertyThreshold
branch threshold. if feature responce is <= threshold, left branch is chosen, otherwise right branch is chosed.
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Fields

  NameDescription
Protected fieldptr
Data pointer
(Inherited from CvObject.)
Public fieldStatic memberSizeOf
sizeof(CvHaarClassifier)
Top
See Also

Reference