pub trait DetectionBasedTrackerTrait: DetectionBasedTrackerTraitConst {
// Required method
fn as_raw_mut_DetectionBasedTracker(&mut self) -> *mut c_void;
// Provided methods
fn run(&mut self) -> Result<bool> { ... }
fn stop(&mut self) -> Result<()> { ... }
fn reset_tracking(&mut self) -> Result<()> { ... }
fn process(&mut self, image_gray: &impl MatTraitConst) -> Result<()> { ... }
fn set_parameters(
&mut self,
params: &impl DetectionBasedTracker_ParametersTraitConst,
) -> Result<bool> { ... }
fn add_object(&mut self, location: Rect) -> Result<i32> { ... }
}
Expand description
Mutable methods for crate::objdetect::DetectionBasedTracker
Required Methods§
fn as_raw_mut_DetectionBasedTracker(&mut self) -> *mut c_void
Provided Methods§
fn run(&mut self) -> Result<bool>
fn stop(&mut self) -> Result<()>
fn reset_tracking(&mut self) -> Result<()>
fn process(&mut self, image_gray: &impl MatTraitConst) -> Result<()>
fn set_parameters( &mut self, params: &impl DetectionBasedTracker_ParametersTraitConst, ) -> Result<bool>
fn add_object(&mut self, location: Rect) -> Result<i32>
Object Safety§
This trait is not object safe.