20 std::string model_name;
#define DAOAI_API
Definition API_EXPORT.h:6
DAOAI_API std::string inference(const std::string &image)
virtual DAOAI_API ~Model()
DAOAI_API Model(const std::string &model_type, const std::filesystem::path &model_file_path, const DeviceType &device=DeviceType::GPU, const int &device_idx=-1)
DAOAI_API ClassificationResult inference(const std::string &image)
DAOAI_API Classification(const std::filesystem::path &model_file, const DeviceType &device=DeviceType::GPU, const int &device_idx=-1)
Definition prediction.h:140
DAOAI_API InstanceSegmentation(const std::filesystem::path &model_file, const DeviceType &device=DeviceType::GPU, const int &device_idx=-1)
DAOAI_API InstanceSegmentationResult inference(const std::string &image)
Definition prediction.h:53
DAOAI_API KeypointDetectionResult inference(const std::string &image)
DAOAI_API KeypointDetection(const std::filesystem::path &model_file, const DeviceType &device=DeviceType::GPU, const int &device_idx=-1)
Definition prediction.h:72
DAOAI_API OCR(const std::filesystem::path &model_file, const DeviceType &device=DeviceType::GPU, const int &device_idx=-1)
DAOAI_API OCRResult inference(const std::string &image)
Definition prediction.h:108
DAOAI_API ObjectDetection(const std::filesystem::path &model_file, const DeviceType &device=DeviceType::GPU, const int &device_idx=-1)
DAOAI_API ObjectDetectionResult inference(const std::string &image)
Definition prediction.h:34
DAOAI_API Positioning(const std::filesystem::path &model_file, const DeviceType &device=DeviceType::GPU, const int &device_idx=-1)
DAOAI_API PositioningResult inference(const std::string &image)
Definition prediction.h:175
DAOAI_API PresenceChecking(const std::filesystem::path &model_file, const DeviceType &device=DeviceType::GPU, const int &device_idx=-1)
DAOAI_API PresenceCheckingResult inference(const std::string &image)
Definition prediction.h:203
DAOAI_API SemanticSegmentationResult inference(const std::string &image)
DAOAI_API SemanticSegmentation(const std::filesystem::path &model_file, const DeviceType &device=DeviceType::GPU, const int &device_idx=-1)
Definition prediction.h:92
DAOAI_API SupervisedDefectSegmentation(const std::filesystem::path &model_file, const DeviceType &device=DeviceType::GPU, const int &device_idx=-1)
DAOAI_API SupervisedDefectSegmentationResult inference(const std::string &image)
Definition prediction.h:161
DAOAI_API UnsupervisedDefectSegmentation(const std::filesystem::path &model_file, const DeviceType &device=DeviceType::GPU, const int &device_idx=-1)
DAOAI_API UnsupervisedDefectSegmentationResult inference(const std::string &image)
Definition prediction.h:189
DeviceType
Definition common.h:11