Segmentation Model#
-
class SegmentationModel : public ImageModel#
Public Functions
-
virtual std::unique_ptr<ResultBase> postprocess(InferenceResult &infResult) override#
-
virtual std::unique_ptr<ImageResult> infer(const ImageInputData &inputData)#
-
virtual std::vector<std::unique_ptr<ImageResult>> inferBatch(const std::vector<ImageInputData> &inputImgs)#
-
std::vector<Contour> getContours(const ImageResultWithSoftPrediction &imageResult)#
Public Static Functions
-
static std::unique_ptr<SegmentationModel> create_model(const std::string &modelFile, const ov::AnyMap &configuration = {}, bool preload = true, const std::string &device = "AUTO")#
Public Static Attributes
-
static std::string ModelType = "Segmentation"#
-
virtual std::unique_ptr<ResultBase> postprocess(InferenceResult &infResult) override#