16 #include "fastdeploy/vision/common/processors/transform.h" 17 #include "fastdeploy/vision/common/result.h" 18 #include "fastdeploy/vision/detection/ppdet/preprocessor.h" 26 class FASTDEPLOY_DECL BlazeFacePreprocessor:
31 BlazeFacePreprocessor() =
default;
37 explicit BlazeFacePreprocessor(
const std::string& config_file);
46 bool Run(std::vector<FDMat>* images, std::vector<FDTensor>* outputs,
47 std::vector<std::map<std::string, std::array<float, 2>>>* ims_info);
50 bool BuildPreprocessPipelineFromConfig();
56 std::vector<float> normalize_mean_;
58 std::vector<float> normalize_std_;
60 std::vector<std::shared_ptr<Processor>> processors_;
62 std::string config_file_;
Preprocessor object for PaddleDet serials model.
Definition: preprocessor.h:26
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16