pub struct TrackerCSRT_Params { /* private fields */ }
Implementations§
Source§impl TrackerCSRT_Params
impl TrackerCSRT_Params
pub fn default() -> Result<TrackerCSRT_Params>
Trait Implementations§
Source§impl Boxed for TrackerCSRT_Params
impl Boxed for TrackerCSRT_Params
Source§unsafe fn from_raw(
ptr: <TrackerCSRT_Params as OpenCVFromExtern>::ExternReceive,
) -> Self
unsafe fn from_raw( ptr: <TrackerCSRT_Params as OpenCVFromExtern>::ExternReceive, ) -> Self
Wrap the specified raw pointer Read more
Source§fn into_raw(
self,
) -> <TrackerCSRT_Params as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw( self, ) -> <TrackerCSRT_Params as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
Source§fn as_raw(
&self,
) -> <TrackerCSRT_Params as OpenCVTypeExternContainer>::ExternSend
fn as_raw( &self, ) -> <TrackerCSRT_Params as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
Source§fn as_raw_mut(
&mut self,
) -> <TrackerCSRT_Params as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self, ) -> <TrackerCSRT_Params as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
Source§impl Clone for TrackerCSRT_Params
impl Clone for TrackerCSRT_Params
Source§impl Debug for TrackerCSRT_Params
impl Debug for TrackerCSRT_Params
Source§impl Drop for TrackerCSRT_Params
impl Drop for TrackerCSRT_Params
Source§impl TrackerCSRT_ParamsTrait for TrackerCSRT_Params
impl TrackerCSRT_ParamsTrait for TrackerCSRT_Params
fn as_raw_mut_TrackerCSRT_Params(&mut self) -> *mut c_void
fn set_use_hog(&mut self, val: bool)
fn set_use_color_names(&mut self, val: bool)
fn set_use_gray(&mut self, val: bool)
fn set_use_rgb(&mut self, val: bool)
fn set_use_channel_weights(&mut self, val: bool)
fn set_use_segmentation(&mut self, val: bool)
Source§fn set_window_function(&mut self, val: &str)
fn set_window_function(&mut self, val: &str)
Window function: “hann”, “cheb”, “kaiser”
fn set_kaiser_alpha(&mut self, val: f32)
fn set_cheb_attenuation(&mut self, val: f32)
fn set_template_size(&mut self, val: f32)
fn set_gsl_sigma(&mut self, val: f32)
fn set_hog_orientations(&mut self, val: f32)
fn set_hog_clip(&mut self, val: f32)
fn set_padding(&mut self, val: f32)
fn set_filter_lr(&mut self, val: f32)
fn set_weights_lr(&mut self, val: f32)
fn set_num_hog_channels_used(&mut self, val: i32)
fn set_admm_iterations(&mut self, val: i32)
fn set_histogram_bins(&mut self, val: i32)
fn set_histogram_lr(&mut self, val: f32)
fn set_background_ratio(&mut self, val: i32)
fn set_number_of_scales(&mut self, val: i32)
fn set_scale_sigma_factor(&mut self, val: f32)
fn set_scale_model_max_area(&mut self, val: f32)
fn set_scale_lr(&mut self, val: f32)
fn set_scale_step(&mut self, val: f32)
Source§fn set_psr_threshold(&mut self, val: f32)
fn set_psr_threshold(&mut self, val: f32)
we lost the target, if the psr is lower than this.
Source§impl TrackerCSRT_ParamsTraitConst for TrackerCSRT_Params
impl TrackerCSRT_ParamsTraitConst for TrackerCSRT_Params
fn as_raw_TrackerCSRT_Params(&self) -> *const c_void
fn use_hog(&self) -> bool
fn use_color_names(&self) -> bool
fn use_gray(&self) -> bool
fn use_rgb(&self) -> bool
fn use_channel_weights(&self) -> bool
fn use_segmentation(&self) -> bool
Source§fn window_function(&self) -> String
fn window_function(&self) -> String
Window function: “hann”, “cheb”, “kaiser”
fn kaiser_alpha(&self) -> f32
fn cheb_attenuation(&self) -> f32
fn template_size(&self) -> f32
fn gsl_sigma(&self) -> f32
fn hog_orientations(&self) -> f32
fn hog_clip(&self) -> f32
fn padding(&self) -> f32
fn filter_lr(&self) -> f32
fn weights_lr(&self) -> f32
fn num_hog_channels_used(&self) -> i32
fn admm_iterations(&self) -> i32
fn histogram_bins(&self) -> i32
fn histogram_lr(&self) -> f32
fn background_ratio(&self) -> i32
fn number_of_scales(&self) -> i32
fn scale_sigma_factor(&self) -> f32
fn scale_model_max_area(&self) -> f32
fn scale_lr(&self) -> f32
fn scale_step(&self) -> f32
Source§fn psr_threshold(&self) -> f32
fn psr_threshold(&self) -> f32
we lost the target, if the psr is lower than this.
impl Send for TrackerCSRT_Params
Auto Trait Implementations§
impl Freeze for TrackerCSRT_Params
impl RefUnwindSafe for TrackerCSRT_Params
impl !Sync for TrackerCSRT_Params
impl Unpin for TrackerCSRT_Params
impl UnwindSafe for TrackerCSRT_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