15 #include "fastdeploy/vision/common/processors/transform.h" 16 #include "fastdeploy/vision/common/result.h" 20 namespace segmentation {
39 std::vector<FDMat>* images,
40 std::vector<FDTensor>* outputs,
41 std::map<std::string, std::vector<std::array<int, 2>>>* imgs_info);
45 return is_vertical_screen_;
50 is_vertical_screen_ = value;
54 void DisableNormalize();
56 void DisablePermute();
59 virtual bool BuildPreprocessPipelineFromConfig();
60 std::vector<std::shared_ptr<Processor>> processors_;
61 std::string config_file_;
65 bool is_vertical_screen_ =
false;
68 bool disable_permute_ =
false;
70 bool disable_normalize_ =
false;
72 bool is_contain_resize_op_ =
false;
74 bool initialized_ =
false;
Preprocessor object for PaddleSeg serials model.
Definition: preprocessor.h:23
void SetIsVerticalScreen(bool value)
Set is_vertical_screen value, bool type required.
Definition: preprocessor.h:49
bool GetIsVerticalScreen() const
Get is_vertical_screen property of PP-HumanSeg model, default is false.
Definition: preprocessor.h:44
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16