void getEngineList();
void getDeviceList(const char *engine_type);
+ template<typename T>
+ void preprocess(mv_source_h &mv_src, std::shared_ptr<MetaInfo> metaInfo, std::vector<T> &inputVector);
+ template<typename T> void inference(std::vector<std::vector<T> > &inputVectors);
+
LandmarkDetectionTaskType _task_type;
protected:
void getOutputNames(std::vector<std::string> &names);
void getOutputTensor(std::string target_name, std::vector<float> &tensor);
- template<typename T>
- void preprocess(mv_source_h &mv_src, std::shared_ptr<MetaInfo> metaInfo, std::vector<T> &inputVector);
- template<typename T> void inference(std::vector<std::vector<T> > &inputVectors);
public:
LandmarkDetection(LandmarkDetectionTaskType task_type);