Detection Model#

class DetectionModel : public ImageModel#

Subclassed by DetectionModelExt, ModelSSD, ModelYoloV3ONNX

Public Functions

DetectionModel(std::shared_ptr<ov::Model> &model, const ov::AnyMap &configuration)#
DetectionModel(std::shared_ptr<InferenceAdapter> &adapter, const ov::AnyMap &configuration = {})#
virtual std::unique_ptr<DetectionResult> infer(const ImageInputData &inputData)#
virtual std::vector<std::unique_ptr<DetectionResult>> inferBatch(const std::vector<ImageInputData> &inputImgs)#

Public Static Functions

static std::unique_ptr<DetectionModel> create_model(const std::string &modelFile, const ov::AnyMap &configuration = {}, std::string model_type = "", bool preload = true, const std::string &device = "AUTO")#
static std::unique_ptr<DetectionModel> create_model(std::shared_ptr<InferenceAdapter> &adapter)#