pub trait DetectionBasedTracker_IDetectorTrait: DetectionBasedTracker_IDetectorTraitConst {
// Required method
fn as_raw_mut_DetectionBasedTracker_IDetector(&mut self) -> *mut c_void;
// Provided methods
fn detect(
&mut self,
image: &impl MatTraitConst,
objects: &mut Vector<Rect>,
) -> Result<()> { ... }
fn set_min_object_size(&mut self, min: Size) -> Result<()> { ... }
fn set_max_object_size(&mut self, max: Size) -> Result<()> { ... }
fn get_scale_factor(&mut self) -> Result<f32> { ... }
fn set_scale_factor(&mut self, value: f32) -> Result<()> { ... }
fn get_min_neighbours(&mut self) -> Result<i32> { ... }
fn set_min_neighbours(&mut self, value: i32) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::objdetect::DetectionBasedTracker_IDetector
Required Methods§
fn as_raw_mut_DetectionBasedTracker_IDetector(&mut self) -> *mut c_void
Provided Methods§
fn detect( &mut self, image: &impl MatTraitConst, objects: &mut Vector<Rect>, ) -> Result<()>
fn set_min_object_size(&mut self, min: Size) -> Result<()>
fn set_max_object_size(&mut self, max: Size) -> Result<()>
fn get_scale_factor(&mut self) -> Result<f32>
fn set_scale_factor(&mut self, value: f32) -> Result<()>
fn get_min_neighbours(&mut self) -> Result<i32>
fn set_min_neighbours(&mut self, value: i32) -> Result<()>
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.