pub struct TrackerVit_Params { /* private fields */ }Implementations§
Source§impl TrackerVit_Params
impl TrackerVit_Params
pub fn default() -> Result<TrackerVit_Params>
Trait Implementations§
Source§impl Boxed for TrackerVit_Params
impl Boxed for TrackerVit_Params
Source§unsafe fn from_raw(
ptr: <TrackerVit_Params as OpenCVFromExtern>::ExternReceive,
) -> Self
unsafe fn from_raw( ptr: <TrackerVit_Params as OpenCVFromExtern>::ExternReceive, ) -> Self
Wrap the specified raw pointer Read more
Source§fn into_raw(
self,
) -> <TrackerVit_Params as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw( self, ) -> <TrackerVit_Params as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
Source§fn as_raw(&self) -> <TrackerVit_Params as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <TrackerVit_Params as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
Source§fn as_raw_mut(
&mut self,
) -> <TrackerVit_Params as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self, ) -> <TrackerVit_Params as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
Source§impl Clone for TrackerVit_Params
impl Clone for TrackerVit_Params
Source§impl Debug for TrackerVit_Params
impl Debug for TrackerVit_Params
Source§impl Drop for TrackerVit_Params
impl Drop for TrackerVit_Params
Source§impl TrackerVit_ParamsTrait for TrackerVit_Params
impl TrackerVit_ParamsTrait for TrackerVit_Params
fn as_raw_mut_TrackerVit_Params(&mut self) -> *mut c_void
fn set_net(&mut self, val: &str)
fn set_backend(&mut self, val: i32)
fn set_target(&mut self, val: i32)
fn set_meanvalue(&mut self, val: Scalar)
fn set_stdvalue(&mut self, val: Scalar)
fn set_tracking_score_threshold(&mut self, val: f32)
impl Send for TrackerVit_Params
Auto Trait Implementations§
impl Freeze for TrackerVit_Params
impl RefUnwindSafe for TrackerVit_Params
impl !Sync for TrackerVit_Params
impl Unpin for TrackerVit_Params
impl UnwindSafe for TrackerVit_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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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