Detail_TrackerStateEstimatorAdaBoostingTrait

Trait Detail_TrackerStateEstimatorAdaBoostingTrait 

Source
pub trait Detail_TrackerStateEstimatorAdaBoostingTrait: Detail_TrackerStateEstimatorAdaBoostingTraitConst + Detail_TrackerStateEstimatorTrait {
    // Required method
    fn as_raw_mut_Detail_TrackerStateEstimatorAdaBoosting(
        &mut self,
    ) -> *mut c_void;

    // Provided methods
    fn set_sample_roi(&mut self, roi: Rect) -> Result<()> { ... }
    fn set_current_confidence_map(
        &mut self,
        confidence_map: &mut Detail_ConfidenceMap,
    ) -> Result<()> { ... }
    fn compute_selected_weak_classifier(&mut self) -> Result<Vector<i32>> { ... }
    fn compute_replaced_classifier(&mut self) -> Result<Vector<i32>> { ... }
    fn compute_swapped_classifier(&mut self) -> Result<Vector<i32>> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_sample_roi(&mut self, roi: Rect) -> Result<()>

Set the sampling ROI

§Parameters
  • ROI: the sampling ROI
Source

fn set_current_confidence_map( &mut self, confidence_map: &mut Detail_ConfidenceMap, ) -> Result<()>

Set the current confidenceMap

§Parameters
  • confidenceMap: The current :cConfidenceMap
Source

fn compute_selected_weak_classifier(&mut self) -> Result<Vector<i32>>

Get the list of the selected weak classifiers for the classification step

Source

fn compute_replaced_classifier(&mut self) -> Result<Vector<i32>>

Get the list of the weak classifiers that should be replaced

Source

fn compute_swapped_classifier(&mut self) -> Result<Vector<i32>>

Get the list of the weak classifiers that replace those to be replaced

Implementors§