Trait opencv::prelude::BasicFaceRecognizerTraitConst
source · pub trait BasicFaceRecognizerTraitConst: FaceRecognizerTraitConst {
// Required method
fn as_raw_BasicFaceRecognizer(&self) -> *const c_void;
// Provided methods
fn get_num_components(&self) -> Result<i32> { ... }
fn get_threshold(&self) -> Result<f64> { ... }
fn get_projections(&self) -> Result<Vector<Mat>> { ... }
fn get_labels(&self) -> Result<Mat> { ... }
fn get_eigen_values(&self) -> Result<Mat> { ... }
fn get_eigen_vectors(&self) -> Result<Mat> { ... }
fn get_mean(&self) -> Result<Mat> { ... }
fn write(&self, fs: &mut FileStorage) -> Result<()> { ... }
fn empty(&self) -> Result<bool> { ... }
}
Expand description
Constant methods for crate::face::BasicFaceRecognizer
Required Methods§
fn as_raw_BasicFaceRecognizer(&self) -> *const c_void
Provided Methods§
sourcefn get_num_components(&self) -> Result<i32>
fn get_num_components(&self) -> Result<i32>
See also
setNumComponents
sourcefn get_threshold(&self) -> Result<f64>
fn get_threshold(&self) -> Result<f64>
See also
setThreshold
fn get_projections(&self) -> Result<Vector<Mat>>
fn get_labels(&self) -> Result<Mat>
fn get_eigen_values(&self) -> Result<Mat>
fn get_eigen_vectors(&self) -> Result<Mat>
fn get_mean(&self) -> Result<Mat>
fn write(&self, fs: &mut FileStorage) -> Result<()>
fn empty(&self) -> Result<bool>
Object Safety§
This trait is not object safe.