[−][src]Struct opencv::face::CParams
Implementations
impl CParams
[src]
pub fn as_raw_CParams(&self) -> *const c_void
[src]
pub fn as_raw_mut_CParams(&mut self) -> *mut c_void
[src]
impl CParams
[src]
pub fn new(
cascade_model: &str,
sf: f64,
min_n: i32,
min_sz: Size,
max_sz: Size
) -> Result<CParams>
[src]
cascade_model: &str,
sf: f64,
min_n: i32,
min_sz: Size,
max_sz: Size
) -> Result<CParams>
C++ default parameters
- sf: 1.1
- min_n: 3
- min_sz: Size(30,30)
- max_sz: Size()
Trait Implementations
impl Boxed for CParams
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl CParamsTrait for CParams
[src]
fn as_raw_CParams(&self) -> *const c_void
[src]
fn as_raw_mut_CParams(&mut self) -> *mut c_void
[src]
fn cascade(&self) -> String
[src]
fn set_cascade(&mut self, val: &str)
[src]
fn scale_factor(&self) -> f64
[src]
fn set_scale_factor(&mut self, val: f64)
[src]
fn min_neighbors(&self) -> i32
[src]
fn set_min_neighbors(&mut self, val: i32)
[src]
fn min_size(&self) -> Size
[src]
fn set_min_size(&mut self, val: Size)
[src]
fn max_size(&self) -> Size
[src]
fn set_max_size(&mut self, val: Size)
[src]
fn face_cascade(&mut self) -> CascadeClassifier
[src]
fn set_face_cascade(&mut self, val: CascadeClassifier)
[src]
impl Drop for CParams
[src]
impl Send for CParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for CParams
impl !Sync for CParams
impl Unpin for CParams
impl UnwindSafe for CParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,