17 #include "fastdeploy/fastdeploy_model.h" 18 #include "fastdeploy/vision/faceid/contrib/adaface/postprocessor.h" 19 #include "fastdeploy/vision/faceid/contrib/adaface/preprocessor.h" 36 const std::string& model_file,
const std::string& params_file =
"",
40 std::string
ModelName()
const {
return "insightface_rec"; }
56 virtual bool BatchPredict(
const std::vector<cv::Mat>& images,
57 std::vector<FaceRecognitionResult>* results);
66 return postprocessor_;
Option object used when create a new Runtime object.
Definition: runtime_option.h:40
Face recognition result structure for all the Face recognition models.
Definition: result.h:307
Base model object for all the vision models.
Definition: fastdeploy_model.h:21
virtual AdaFacePreprocessor & GetPreprocessor()
Get preprocessor reference of AdaFace.
Definition: adaface.h:60
ModelFormat
Definition: enum_variables.h:67
Postprocessor object for AdaFace serials model.
Definition: postprocessor.h:25
AdaFace model object used when to load a AdaFace model exported by AdaFace.
Definition: adaface.h:26
Model with ONNX format.
Definition: enum_variables.h:70
std::string ModelName() const
Get model's name.
Definition: adaface.h:40
Preprocessor object for AdaFace serials model.
Definition: preprocessor.h:25
virtual AdaFacePostprocessor & GetPostprocessor()
Get postprocessor reference of AdaFace.
Definition: adaface.h:65
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16