pub struct FacemarkAAM_Params { /* private fields */ }
Implementations§
Source§impl FacemarkAAM_Params
impl FacemarkAAM_Params
Sourcepub fn default() -> Result<FacemarkAAM_Params>
pub fn default() -> Result<FacemarkAAM_Params>
\brief Constructor
Trait Implementations§
Source§impl Boxed for FacemarkAAM_Params
impl Boxed for FacemarkAAM_Params
Source§unsafe fn from_raw(
ptr: <FacemarkAAM_Params as OpenCVFromExtern>::ExternReceive,
) -> Self
unsafe fn from_raw( ptr: <FacemarkAAM_Params as OpenCVFromExtern>::ExternReceive, ) -> Self
Wrap the specified raw pointer Read more
Source§fn into_raw(
self,
) -> <FacemarkAAM_Params as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw( self, ) -> <FacemarkAAM_Params as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
Source§fn as_raw(
&self,
) -> <FacemarkAAM_Params as OpenCVTypeExternContainer>::ExternSend
fn as_raw( &self, ) -> <FacemarkAAM_Params as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
Source§fn as_raw_mut(
&mut self,
) -> <FacemarkAAM_Params as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self, ) -> <FacemarkAAM_Params as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
Source§impl Debug for FacemarkAAM_Params
impl Debug for FacemarkAAM_Params
Source§impl Drop for FacemarkAAM_Params
impl Drop for FacemarkAAM_Params
Source§impl FacemarkAAM_ParamsTrait for FacemarkAAM_Params
impl FacemarkAAM_ParamsTrait for FacemarkAAM_Params
fn as_raw_mut_FacemarkAAM_Params(&mut self) -> *mut c_void
fn set_model_filename(&mut self, val: &str)
fn set_m(&mut self, val: i32)
fn set_n(&mut self, val: i32)
fn set_n_iter(&mut self, val: i32)
fn set_verbose(&mut self, val: bool)
fn set_save_model(&mut self, val: bool)
fn set_max_m(&mut self, val: i32)
fn set_max_n(&mut self, val: i32)
fn set_texture_max_m(&mut self, val: i32)
fn set_scales(&mut self, val: Vector<f32>)
Source§impl FacemarkAAM_ParamsTraitConst for FacemarkAAM_Params
impl FacemarkAAM_ParamsTraitConst for FacemarkAAM_Params
fn as_raw_FacemarkAAM_Params(&self) -> *const c_void
fn model_filename(&self) -> String
fn m(&self) -> i32
fn n(&self) -> i32
fn n_iter(&self) -> i32
fn verbose(&self) -> bool
fn save_model(&self) -> bool
fn max_m(&self) -> i32
fn max_n(&self) -> i32
fn texture_max_m(&self) -> i32
fn scales(&self) -> Vector<f32>
impl Send for FacemarkAAM_Params
Auto Trait Implementations§
impl Freeze for FacemarkAAM_Params
impl RefUnwindSafe for FacemarkAAM_Params
impl !Sync for FacemarkAAM_Params
impl Unpin for FacemarkAAM_Params
impl UnwindSafe for FacemarkAAM_Params
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
Source§impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
Source§unsafe fn modify_inplace<Res>(
&mut self,
f: impl FnOnce(&Mat, &mut Mat) -> Res,
) -> Res
unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Mat, &mut Mat) -> Res, ) -> Res
Helper function to call OpenCV functions that allow in-place modification of a
Mat
or another similar object. By passing
a mutable reference to the Mat
to this function your closure will get called with the read reference and a write references
to the same Mat
. This is unsafe in a general case as it leads to having non-exclusive mutable access to the internal data,
but it can be useful for some performance sensitive operations. One example of an OpenCV function that allows such in-place
modification is imgproc::threshold
. Read more