Struct opencv::tracking::TrackerKCF_Params
source · #[repr(C)]pub struct TrackerKCF_Params {Show 14 fields
pub detect_thresh: f32,
pub sigma: f32,
pub lambda: f32,
pub interp_factor: f32,
pub output_sigma_factor: f32,
pub pca_learning_rate: f32,
pub resize: bool,
pub split_coeff: bool,
pub wrap_kernel: bool,
pub compress_feature: bool,
pub max_patch_size: i32,
pub compressed_size: i32,
pub desc_pca: i32,
pub desc_npca: i32,
}Fields§
§detect_thresh: f32detection confidence threshold
sigma: f32gaussian kernel bandwidth
lambda: f32regularization
interp_factor: f32linear interpolation factor for adaptation
output_sigma_factor: f32spatial bandwidth (proportional to target)
pca_learning_rate: f32compression learning rate
resize: boolactivate the resize feature to improve the processing speed
split_coeff: boolsplit the training coefficients into two matrices
wrap_kernel: boolwrap around the kernel values
compress_feature: boolactivate the pca method to compress the features
max_patch_size: i32threshold for the ROI size
compressed_size: i32feature size after compression
desc_pca: i32compressed descriptors of TrackerKCF::MODE
desc_npca: i32non-compressed descriptors of TrackerKCF::MODE
Implementations§
source§impl TrackerKCF_Params
impl TrackerKCF_Params
pub fn default() -> Result<TrackerKCF_Params>
Trait Implementations§
source§impl Clone for TrackerKCF_Params
impl Clone for TrackerKCF_Params
source§fn clone(&self) -> TrackerKCF_Params
fn clone(&self) -> TrackerKCF_Params
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TrackerKCF_Params
impl Debug for TrackerKCF_Params
source§impl PartialEq for TrackerKCF_Params
impl PartialEq for TrackerKCF_Params
source§fn eq(&self, other: &TrackerKCF_Params) -> bool
fn eq(&self, other: &TrackerKCF_Params) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for TrackerKCF_Params
impl StructuralPartialEq for TrackerKCF_Params
Auto Trait Implementations§
impl RefUnwindSafe for TrackerKCF_Params
impl Send for TrackerKCF_Params
impl Sync for TrackerKCF_Params
impl Unpin for TrackerKCF_Params
impl UnwindSafe for TrackerKCF_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