17 #include "fastdeploy/vision/common/processors/base.h" 25 Convert(
const std::vector<float>& alpha,
const std::vector<float>& beta);
27 bool ImplByOpenCV(
Mat* mat);
29 bool ImplByFlyCV(
Mat* mat);
31 std::string Name() {
return "Convert"; }
43 static bool Run(
Mat* mat,
const std::vector<float>& alpha,
44 const std::vector<float>& beta,
45 ProcLib lib = ProcLib::DEFAULT);
48 std::vector<float> alpha_;
49 std::vector<float> beta_;
FDMat is a structure for replace cv::Mat.
Definition: mat.h:34
Processor base class for processors in fastdeploy/vision/common/processors.
Definition: base.h:42
Processor for convert images with given paramters.
Definition: convert.h:23
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16