Trait DetectionROITrait

Source
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§

Provided Methods§

Source

fn set_scale(&mut self, val: f64)

scale(size) of the bounding box

Source

fn set_locations(&mut self, val: Vector<Point>)

set of requested locations to be evaluated

Source

fn set_confidences(&mut self, val: Vector<f64>)

vector that will contain confidence values for each location

Implementors§