pub struct CParams { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Boxed for CParams
impl Boxed for CParams
source§impl CParamsTrait for CParams
impl CParamsTrait for CParams
fn as_raw_mut_CParams(&mut self) -> *mut c_void
source§fn set_cascade(&mut self, val: &str)
fn set_cascade(&mut self, val: &str)
the face detector
source§fn set_scale_factor(&mut self, val: f64)
fn set_scale_factor(&mut self, val: f64)
Parameter specifying how much the image size is reduced at each image scale.
source§fn set_min_neighbors(&mut self, val: i32)
fn set_min_neighbors(&mut self, val: i32)
Parameter specifying how many neighbors each candidate rectangle should have to retain it.
source§fn set_min_size(&mut self, val: Size)
fn set_min_size(&mut self, val: Size)
Minimum possible object size.
source§fn set_max_size(&mut self, val: Size)
fn set_max_size(&mut self, val: Size)
Maximum possible object size.
fn set_face_cascade(&mut self, val: CascadeClassifier)
source§impl CParamsTraitConst for CParams
impl CParamsTraitConst for CParams
fn as_raw_CParams(&self) -> *const c_void
source§fn scale_factor(&self) -> f64
fn scale_factor(&self) -> f64
Parameter specifying how much the image size is reduced at each image scale.
source§fn min_neighbors(&self) -> i32
fn min_neighbors(&self) -> i32
Parameter specifying how many neighbors each candidate rectangle should have to retain it.
fn face_cascade(&self) -> CascadeClassifier
impl Send for CParams
Auto Trait Implementations§
impl RefUnwindSafe for CParams
impl !Sync for CParams
impl Unpin for CParams
impl UnwindSafe for CParams
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more