16 #include "fastdeploy/vision/common/processors/manager.h" 17 #include "fastdeploy/vision/common/processors/transform.h" 18 #include "fastdeploy/vision/common/result.h" 23 namespace classification {
43 std::vector<FDTensor>* outputs);
46 void DisableNormalize();
48 void DisablePermute();
59 bool BuildPreprocessPipelineFromConfig();
60 bool initialized_ =
false;
61 std::vector<std::shared_ptr<Processor>> processors_;
63 bool disable_permute_ =
false;
65 bool disable_normalize_ =
false;
67 std::string config_file_;
68 bool initial_resize_on_cpu_ =
false;
Preprocessor object for PaddleClas serials model.
Definition: preprocessor.h:26
void InitialResizeOnCpu(bool v)
When the initial operator is Resize, and input image size is large, maybe it's better to run resize o...
Definition: preprocessor.h:56
FDMatBatch contains batch data for preprocess.
Definition: mat_batch.h:28
ProcessorManager for Preprocess.
Definition: manager.h:27
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16