pub trait Legacy_TrackerBoosting_ParamsTrait: Legacy_TrackerBoosting_ParamsTraitConst {
// Required method
fn as_raw_mut_Legacy_TrackerBoosting_Params(&mut self) -> *mut c_void;
// Provided methods
fn set_num_classifiers(&mut self, val: i32) { ... }
fn set_sampler_overlap(&mut self, val: f32) { ... }
fn set_sampler_search_factor(&mut self, val: f32) { ... }
fn set_iteration_init(&mut self, val: i32) { ... }
fn set_feature_set_num_features(&mut self, val: i32) { ... }
fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()> { ... }
}Expand description
Mutable methods for crate::tracking::Legacy_TrackerBoosting_Params
Required Methods§
fn as_raw_mut_Legacy_TrackerBoosting_Params(&mut self) -> *mut c_void
Provided Methods§
Sourcefn set_num_classifiers(&mut self, val: i32)
fn set_num_classifiers(&mut self, val: i32)
the number of classifiers to use in a OnlineBoosting algorithm
Sourcefn set_sampler_overlap(&mut self, val: f32)
fn set_sampler_overlap(&mut self, val: f32)
search region parameters to use in a OnlineBoosting algorithm
Sourcefn set_sampler_search_factor(&mut self, val: f32)
fn set_sampler_search_factor(&mut self, val: f32)
search region parameters to use in a OnlineBoosting algorithm
Sourcefn set_iteration_init(&mut self, val: i32)
fn set_iteration_init(&mut self, val: i32)
the initial iterations
Sourcefn set_feature_set_num_features(&mut self, val: i32)
fn set_feature_set_num_features(&mut self, val: i32)
§features
Sourcefn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>
fn read(&mut self, fn_: &impl FileNodeTraitConst) -> Result<()>
\brief Read parameters from a file
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.