pub trait Detail_TrackerModelTrait: Detail_TrackerModelTraitConst {
// Required method
fn as_raw_mut_Detail_TrackerModel(&mut self) -> *mut c_void;
// Provided methods
fn set_tracker_state_estimator(
&mut self,
tracker_state_estimator: Ptr<Detail_TrackerStateEstimator>,
) -> Result<bool> { ... }
fn model_estimation(&mut self, responses: &Vector<Mat>) -> Result<()> { ... }
fn model_update(&mut self) -> Result<()> { ... }
fn run_state_estimator(&mut self) -> Result<bool> { ... }
fn set_last_target_state(
&mut self,
last_target_state: &Ptr<Detail_TrackerTargetState>,
) -> Result<()> { ... }
}Expand description
Mutable methods for crate::video::Detail_TrackerModel
Required Methods§
fn as_raw_mut_Detail_TrackerModel(&mut self) -> *mut c_void
Provided Methods§
Sourcefn set_tracker_state_estimator(
&mut self,
tracker_state_estimator: Ptr<Detail_TrackerStateEstimator>,
) -> Result<bool>
fn set_tracker_state_estimator( &mut self, tracker_state_estimator: Ptr<Detail_TrackerStateEstimator>, ) -> Result<bool>
Set TrackerEstimator, return true if the tracker state estimator is added, false otherwise
§Parameters
- trackerStateEstimator: The TrackerStateEstimator
Note: You can add only one TrackerStateEstimator
Sourcefn model_update(&mut self) -> Result<()>
fn model_update(&mut self) -> Result<()>
Update the model
AAM MU, Model Update table I
Sourcefn run_state_estimator(&mut self) -> Result<bool>
fn run_state_estimator(&mut self) -> Result<bool>
Run the TrackerStateEstimator, return true if is possible to estimate a new state, false otherwise
Sourcefn set_last_target_state(
&mut self,
last_target_state: &Ptr<Detail_TrackerTargetState>,
) -> Result<()>
fn set_last_target_state( &mut self, last_target_state: &Ptr<Detail_TrackerTargetState>, ) -> Result<()>
Set the current TrackerTargetState in the Trajectory
§Parameters
- lastTargetState: The current TrackerTargetState