CvHaarClassifierCascade Class OpenCvSharp Class Library
Cascade or tree of stage classifiers
Inheritance Hierarchy

SystemObject
  OpenCvSharpDisposableObject
    OpenCvSharpDisposableCvObject
      OpenCvSharpCvHaarClassifierCascade

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

public class CvHaarClassifierCascade : DisposableCvObject

The CvHaarClassifierCascade type exposes the following members.

Constructors

  NameDescription
Public methodCvHaarClassifierCascade
Initializes from native pointer
Top
Properties

  NameDescription
Protected propertyAllocatedMemory
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.)
Protected propertyAllocatedMemorySize
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.)
Public propertyCount
Number of stages
Public propertyCvPtr
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.)
Public propertyFlags
Signature
Public propertyHidCascade
Hidden optimized representation of the cascade, created by cvSetImagesForHaarClassifierCascade
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.)
Public propertyIsEnabledDispose
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.)
Public propertyOrigWindowSize
Original object size (the cascade is trained for)
Public propertyRealWindowSize
Current object size
Public propertyScale
Current scale
Public propertyStageClassifier
Array of stage classifiers
Top
Methods

  NameDescription
Protected methodAllocGCHandle
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.)
Protected methodAllocMemory
Allocates the specified size of memory.
(Inherited from DisposableObject.)
Public methodDispose
Releases the resources
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Inherited from DisposableObject.)
Public methodStatic memberFromDirectory Obsolete.
Loads a trained cascade classifier from file or the classifier database embedded in OpenCV (cvLoadHaarClassifierCascade)
Public methodStatic memberFromFile
Loads object from file (cvLoad)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodHaarDetectObjects(CvArr, CvMemStorage)
Finds rectangular regions in the given image that are likely to contain objects the cascade has been trained for and returns those regions as a sequence of rectangles.
Public methodHaarDetectObjects(CvArr, CvMemStorage, Double)
Finds rectangular regions in the given image that are likely to contain objects the cascade has been trained for and returns those regions as a sequence of rectangles.
Public methodHaarDetectObjects(CvArr, CvMemStorage, Double, Int32)
Finds rectangular regions in the given image that are likely to contain objects the cascade has been trained for and returns those regions as a sequence of rectangles.
Public methodHaarDetectObjects(CvArr, CvMemStorage, Double, Int32, HaarDetectionType)
Finds rectangular regions in the given image that are likely to contain objects the cascade has been trained for and returns those regions as a sequence of rectangles.
Public methodHaarDetectObjects(CvArr, CvMemStorage, Double, Int32, HaarDetectionType, CvSize, CvSize)
Finds rectangular regions in the given image that are likely to contain objects the cascade has been trained for and returns those regions as a sequence of rectangles.
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNotifyMemoryPressure
Notifies the allocated size of memory.
(Inherited from DisposableObject.)
Public methodRun(CvPoint)
Runs cascade of boosted classifier at given image location
Public methodRun(CvPoint, Boolean)
Runs cascade of boosted classifier at given image location
Public methodSetImages
Assigns images to the hidden cascade
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.)
Public methodToString (Inherited from Object.)
Top
Fields

  NameDescription
Protected fielddataHandle
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.)
Protected fieldptr
Data pointer
(Inherited from DisposableCvObject.)
Public fieldStatic memberSizeOf
sizeof(CvHaarClassifierCascade)
Top
See Also

Reference