pub trait DetectionROITrait: DetectionROITraitConst {
// Required method
fn as_raw_mut_DetectionROI(&mut self) -> *mut c_void;
// Provided methods
fn set_scale(&mut self, val: f64) { ... }
fn set_locations(&mut self, val: Vector<Point>) { ... }
fn set_confidences(&mut self, val: Vector<f64>) { ... }
}
Expand description
Mutable methods for crate::objdetect::DetectionROI
Required Methods§
fn as_raw_mut_DetectionROI(&mut self) -> *mut c_void
Provided Methods§
Sourcefn set_locations(&mut self, val: Vector<Point>)
fn set_locations(&mut self, val: Vector<Point>)
set of requested locations to be evaluated
Sourcefn set_confidences(&mut self, val: Vector<f64>)
fn set_confidences(&mut self, val: Vector<f64>)
vector that will contain confidence values for each location