pub struct CascadeClassifier { /* private fields */ }
Expand description

@example samples/cpp/facedetect.cpp This program demonstrates usage of the Cascade classifier class \image html Cascade_Classifier_Tutorial_Result_Haar.jpg “Sample screenshot” width=321 height=254

Cascade classifier class for object detection.

Implementations§

Loads a classifier from a file.

Parameters
  • filename: Name of the file from which the classifier is loaded.

Trait Implementations§

Wrap the specified raw pointer Read more
Return an the underlying raw pointer while consuming this wrapper. Read more
Return the underlying raw pointer. Read more
Return the underlying mutable raw pointer Read more
Loads a classifier from a file. Read more
Reads a classifier from a FileStorage node. Read more
Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. Read more
Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. Read more
Detects objects of different sizes in the input image. The detected objects are returned as a list of rectangles. Read more
Checks whether the classifier has been loaded.
Executes the destructor for this type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.