Detail_TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetStateTrait

Trait Detail_TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetStateTrait 

Source
pub trait Detail_TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetStateTrait: Detail_TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetStateTraitConst + Detail_TrackerTargetStateTrait {
    // Required method
    fn as_raw_mut_Detail_TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState(
        &mut self,
    ) -> *mut c_void;

    // Provided methods
    fn set_target_responses(
        &mut self,
        responses: &impl MatTraitConst,
    ) -> Result<()> { ... }
    fn set_target_fg(&mut self, foreground: bool) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn set_target_responses(&mut self, responses: &impl MatTraitConst) -> Result<()>

Set the features extracted from TrackerContribFeatureSet

§Parameters
  • responses: The features extracted
Source

fn set_target_fg(&mut self, foreground: bool) -> Result<()>

Set label: true for target foreground, false for background

§Parameters
  • foreground: Label for background/foreground

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.

Implementors§