Trait opencv::dnn::prelude::ClassificationModelTraitConst[][src]

pub trait ClassificationModelTraitConst: ModelTraitConst {
    fn as_raw_ClassificationModel(&self) -> *const c_void;
}
Expand description

This class represents high-level API for classification models.

ClassificationModel allows to set params for preprocessing input image. ClassificationModel creates net from file with trained weights and config, sets preprocessing input, runs forward pass and return top-1 prediction.

Required methods

Implementors