Trait opencv::prelude::DetectionModelTraitConst
source · [−]pub trait DetectionModelTraitConst: ModelTraitConst {
fn as_raw_DetectionModel(&self) -> *const c_void;
}
Expand description
This class represents high-level API for object detection networks.
DetectionModel allows to set params for preprocessing input image. DetectionModel creates net from file with trained weights and config, sets preprocessing input, runs forward pass and return result detections. For DetectionModel SSD, Faster R-CNN, YOLO topologies are supported.