[−][src]Trait opencv::tracking::TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetStateTrait
Implementation of the target state for TrackerAdaBoostingTargetState
Required methods
fn as_raw_TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState(
&self
) -> *const c_void
&self
) -> *const c_void
fn as_raw_mut_TrackerStateEstimatorAdaBoosting_TrackerAdaBoostingTargetState(
&mut self
) -> *mut c_void
&mut self
) -> *mut c_void
Provided methods
fn set_target_responses(&mut self, responses: &Mat) -> Result<()>
fn set_target_fg(&mut self, foreground: bool) -> Result<()>
Set label: true for target foreground, false for background
Parameters
- foreground: Label for background/foreground
fn get_target_responses(&self) -> Result<Mat>
Get the features extracted
fn is_target_fg(&self) -> Result<bool>
Get the label. Return true for target foreground, false for background