16 #include "fastdeploy/vision/common/processors/transform.h" 17 #include "fastdeploy/vision/common/result.h" 25 class FASTDEPLOY_DECL CenterFacePreprocessor{
29 CenterFacePreprocessor();
38 bool Run(std::vector<FDMat>* images, std::vector<FDTensor>* outputs,
39 std::vector<std::map<std::string, std::array<float, 2>>>* ims_info);
42 void SetSize(
const std::vector<int>& size) { size_ = size; }
45 std::vector<int> GetSize()
const {
return size_; }
49 bool Preprocess(FDMat * mat, FDTensor* output,
50 std::map<std::string, std::array<float, 2>>* im_info);
53 std::vector<int> size_;
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16