pub struct CParams { /* private fields */ }
Implementations
Trait Implementations
sourceimpl Boxed for CParams
impl Boxed for CParams
sourceimpl CParamsTrait for CParams
impl CParamsTrait for CParams
fn as_raw_mut_CParams(&mut self) -> *mut c_void
sourcefn set_cascade(&mut self, val: &str)
fn set_cascade(&mut self, val: &str)
the face detector
sourcefn 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.
sourcefn 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.
sourcefn set_min_size(&mut self, val: Size)
fn set_min_size(&mut self, val: Size)
Minimum possible object size.
sourcefn 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)
sourceimpl CParamsTraitConst for CParams
impl CParamsTraitConst for CParams
fn as_raw_CParams(&self) -> *const c_void
sourcefn scale_factor(&self) -> f64
fn scale_factor(&self) -> f64
Parameter specifying how much the image size is reduced at each image scale.
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more