opencv::face

Trait BasicFaceRecognizerTrait

Source
pub trait BasicFaceRecognizerTrait: BasicFaceRecognizerTraitConst + FaceRecognizerTrait {
    // Required method
    fn as_raw_mut_BasicFaceRecognizer(&mut self) -> *mut c_void;

    // Provided methods
    fn set_num_components(&mut self, val: i32) -> Result<()> { ... }
    fn set_threshold(&mut self, val: f64) -> Result<()> { ... }
    fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_num_components(&mut self, val: i32) -> Result<()>

§See also

setNumComponents getNumComponents

Source

fn set_threshold(&mut self, val: f64) -> Result<()>

§See also

setThreshold getThreshold

Source

fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§