Cascade or tree of stage classifiers
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharpCvHaarClassifierCascade
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvHaarClassifierCascade type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CvHaarClassifierCascade |
Initializes from native pointer
|
Properties
| Name | Description | |
|---|---|---|
| AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) | |
| AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) | |
| Count |
Number of stages
| |
| CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
| Flags |
Signature
| |
| HidCascade |
Hidden optimized representation of the cascade, created by cvSetImagesForHaarClassifierCascade
| |
| IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) | |
| IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) | |
| OrigWindowSize |
Original object size (the cascade is trained for)
| |
| RealWindowSize |
Current object size
| |
| Scale |
Current scale
| |
| StageClassifier |
Array of stage classifiers
|
Methods
| Name | Description | |
|---|---|---|
| AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
| AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
| Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
| Dispose(Boolean) |
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Destructor
(Inherited from DisposableObject.) | |
| FromDirectory | Obsolete.
Loads a trained cascade classifier from file or the classifier database embedded in OpenCV (cvLoadHaarClassifierCascade)
| |
| FromFile |
Loads object from file (cvLoad)
| |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| HaarDetectObjects(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.
| |
| HaarDetectObjects(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.
| |
| HaarDetectObjects(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.
| |
| HaarDetectObjects(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.
| |
| HaarDetectObjects(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.
| |
| MemberwiseClone | (Inherited from Object.) | |
| NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
| Run(CvPoint) |
Runs cascade of boosted classifier at given image location
| |
| Run(CvPoint, Boolean) |
Runs cascade of boosted classifier at given image location
| |
| SetImages |
Assigns images to the hidden cascade
| |
| ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) | |
| ptr |
Data pointer
(Inherited from DisposableCvObject.) | |
| SizeOf |
sizeof(CvHaarClassifierCascade)
|
See Also