Table of Contents

Class CascadeClassifier

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Cascade classifier class for object detection.

public class CascadeClassifier : CvObject, IDisposable
Inheritance
CascadeClassifier
Implements
Inherited Members

Constructors

CascadeClassifier()

Default constructor

CascadeClassifier(string)

Loads a classifier from a file.

Methods

DetectMultiScale(Mat, double, int, HaarDetectionTypes, Size?, Size?)

Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles.

DetectMultiScale(Mat, out int[], out double[], double, int, HaarDetectionTypes, Size?, Size?, bool)

Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles.

Empty()

Checks whether the classifier has been loaded.

GetFeatureType()
GetOriginalWindowSize()
IsOldFormatCascade()
Load(string)

Loads a classifier from a file.

Read(FileNode)

Reads a classifier parameters from a file storage