16 #include "fastdeploy/vision/common/processors/transform.h" 17 #include "fastdeploy/vision/common/result.h" 37 bool Run(std::vector<FDMat>* images, std::vector<FDTensor>* outputs);
40 std::vector<int>
GetSize() {
return size_; }
43 void SetSize(std::vector<int>& size) { size_ = size; }
46 std::vector<float>
GetAlpha() {
return alpha_; }
49 void SetAlpha(std::vector<float>& alpha) { alpha_ = alpha; }
52 std::vector<float>
GetBeta() {
return beta_; }
55 void SetBeta(std::vector<float>& beta) { beta_ = beta; }
57 bool GetPermute() {
return permute_; }
66 std::vector<int> size_;
69 std::vector<float> alpha_;
72 std::vector<float> beta_;
void SetAlpha(std::vector< float > &alpha)
Set alpha.
Definition: preprocessor.h:49
void SetPermute(bool permute)
Set permute.
Definition: preprocessor.h:60
FDTensor object used to represend data matrix.
Definition: fd_tensor.h:31
std::vector< float > GetBeta()
Get beta.
Definition: preprocessor.h:52
std::vector< float > GetAlpha()
Get alpha.
Definition: preprocessor.h:46
std::vector< int > GetSize()
Get Size.
Definition: preprocessor.h:40
FDMat is a structure for replace cv::Mat.
Definition: mat.h:34
void SetBeta(std::vector< float > &beta)
Set beta.
Definition: preprocessor.h:55
void SetSize(std::vector< int > &size)
Set size.
Definition: preprocessor.h:43
Preprocessor object for AdaFace serials model.
Definition: preprocessor.h:25
All C++ FastDeploy APIs are defined inside this namespace.
Definition: option.h:16