[][src]Struct opencv::objdetect::CascadeClassifier

pub struct CascadeClassifier { /* fields omitted */ }

@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

impl CascadeClassifier[src]

impl CascadeClassifier[src]

pub fn default() -> Result<CascadeClassifier>[src]

pub fn new(filename: &str) -> Result<CascadeClassifier>[src]

Loads a classifier from a file.

Parameters

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

pub fn convert(oldcascade: &str, newcascade: &str) -> Result<bool>[src]

Trait Implementations

impl Boxed for CascadeClassifier[src]

impl CascadeClassifierTrait for CascadeClassifier[src]

impl Drop for CascadeClassifier[src]

impl Send for CascadeClassifier[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.