pub trait SegmentationModelTraitConst: ModelTraitConst {
fn as_raw_SegmentationModel(&self) -> *const c_void;
}
Expand description
This class represents high-level API for segmentation models
SegmentationModel allows to set params for preprocessing input image. SegmentationModel creates net from file with trained weights and config, sets preprocessing input, runs forward pass and returns the class prediction for each pixel.