Cascade classifier class for object detection.
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharp.CPlusPlusCascadeClassifier
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CascadeClassifier type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CascadeClassifier |
Default constructor
| |
CascadeClassifier(String) |
Loads a classifier from a file.
|
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.) | |
CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) | |
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.) |
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.) | |
DetectMultiScale(Mat, Double, Int32, HaarDetectionType, NullableSize, NullableSize) |
Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles.
| |
DetectMultiScale(Mat, Int32, Double, Double, Int32, HaarDetectionType, NullableSize, NullableSize, Boolean) |
Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles.
| |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) |
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).) | |
Empty |
Checks whether the classifier has been loaded.
| |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
GetFeatureType | ||
GetHashCode | (Inherited from Object.) | |
GetOriginalWindowSize | ||
GetType | (Inherited from Object.) | |
IsOldFormatCascade | ||
Load |
Loads a classifier from a file.
| |
MemberwiseClone | (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
SetImage | ||
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.) |
See Also