14 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);
 
 15 DAOAI_API 
virtual ~Model();
 
 17 DAOAI_API std::string 
inference(
const std::string& image);
 
 20 std::string model_name;
 
 
 28 DAOAI_API 
ObjectDetection(
const std::filesystem::path& model_file, 
const DeviceType& device = DeviceType::GPU, 
const int& device_idx = -1);
 
 29 DAOAI_API ObjectDetectionResult 
inference(
const std::string& image);
 
 
 34 DAOAI_API 
InstanceSegmentation(
const std::filesystem::path& model_file, 
const DeviceType& device = DeviceType::GPU, 
const int& device_idx = -1);
 
 35 DAOAI_API InstanceSegmentationResult 
inference(
const std::string& image);
 
 
 40 DAOAI_API 
KeypointDetection(
const std::filesystem::path& model_file, 
const DeviceType& device = DeviceType::GPU, 
const int& device_idx = -1);
 
 41 DAOAI_API KeypointDetectionResult 
inference(
const std::string& image);
 
 
 46 DAOAI_API 
OCR(
const std::filesystem::path& model_file, 
const DeviceType& device = DeviceType::GPU, 
const int& device_idx = -1);
 
 47 DAOAI_API OCRResult 
inference(
const std::string& image);
 
 
 52 DAOAI_API 
Classification(
const std::filesystem::path& model_file, 
const DeviceType& device = DeviceType::GPU, 
const int& device_idx = -1);
 
 53 DAOAI_API ClassificationResult 
inference(
const std::string& image);
 
 
 58 DAOAI_API 
SupervisedDefectSegmentation(
const std::filesystem::path& model_file, 
const DeviceType& device = DeviceType::GPU, 
const int& device_idx = -1);
 
 59 DAOAI_API SupervisedDefectSegmentationResult 
inference(
const std::string& image);
 
 
 66 DAOAI_API 
PresenceChecking(
const std::filesystem::path& model_file, 
const DeviceType& device = DeviceType::GPU, 
const int& device_idx = -1);
 
 67 DAOAI_API PresenceCheckingResult 
inference(
const std::string& image);
 
 
 73 DAOAI_API 
Positioning(
const std::filesystem::path& model_file, 
const DeviceType& device = DeviceType::GPU, 
const int& device_idx = -1);
 
 74 DAOAI_API PositioningResult 
inference(
const std::string& image);
 
 
 81 DAOAI_API UnsupervisedDefectSegmentationResult 
inference(
const std::string& image);
 
 
DAOAI_API std::string inference(const std::string &image)
Definition model.cpp:36
 
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)
Definition model.cpp:9
 
virtual DAOAI_API ~Model()
Definition model.cpp:48
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)
 
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)