pub trait LBPHFaceRecognizerTraitConst: FaceRecognizerTraitConst {
// Required method
fn as_raw_LBPHFaceRecognizer(&self) -> *const c_void;
// Provided methods
fn get_grid_x(&self) -> Result<i32> { ... }
fn get_grid_y(&self) -> Result<i32> { ... }
fn get_radius(&self) -> Result<i32> { ... }
fn get_neighbors(&self) -> Result<i32> { ... }
fn get_threshold(&self) -> Result<f64> { ... }
fn get_histograms(&self) -> Result<Vector<Mat>> { ... }
fn get_labels(&self) -> Result<Mat> { ... }
}
Expand description
Constant methods for crate::face::LBPHFaceRecognizer
Required Methods§
fn as_raw_LBPHFaceRecognizer(&self) -> *const c_void
Provided Methods§
Sourcefn get_grid_x(&self) -> Result<i32>
fn get_grid_x(&self) -> Result<i32>
§See also
setGridX
Sourcefn get_grid_y(&self) -> Result<i32>
fn get_grid_y(&self) -> Result<i32>
§See also
setGridY
Sourcefn get_radius(&self) -> Result<i32>
fn get_radius(&self) -> Result<i32>
§See also
setRadius
Sourcefn get_neighbors(&self) -> Result<i32>
fn get_neighbors(&self) -> Result<i32>
§See also
setNeighbors
Sourcefn get_threshold(&self) -> Result<f64>
fn get_threshold(&self) -> Result<f64>
§See also
setThreshold
fn get_histograms(&self) -> Result<Vector<Mat>>
fn get_labels(&self) -> Result<Mat>
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.