#[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: f32
detection confidence threshold
sigma: f32
gaussian kernel bandwidth
lambda: f32
regularization
interp_factor: f32
linear interpolation factor for adaptation
output_sigma_factor: f32
spatial bandwidth (proportional to target)
pca_learning_rate: f32
compression learning rate
resize: bool
activate the resize feature to improve the processing speed
split_coeff: bool
split the training coefficients into two matrices
wrap_kernel: bool
wrap around the kernel values
compress_feature: bool
activate the pca method to compress the features
max_patch_size: i32
threshold for the ROI size
compressed_size: i32
feature size after compression
desc_pca: i32
compressed descriptors of TrackerKCF::MODE
desc_npca: i32
non-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 duplicate 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
impl Copy for TrackerKCF_Params
impl StructuralPartialEq for TrackerKCF_Params
Auto Trait Implementations§
impl Freeze for TrackerKCF_Params
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