|
FastDeploy
latest
Fast & Easy to Deploy!
|
Preprocessor object for AdaFace serials model. More...
#include <preprocessor.h>
Public Member Functions | |
| AdaFacePreprocessor () | |
| Create a preprocessor instance for AdaFace serials model. | |
| bool | Run (std::vector< FDMat > *images, std::vector< FDTensor > *outputs) |
| Process the input image and prepare input tensors for runtime. More... | |
| std::vector< int > | GetSize () |
| Get Size. | |
| void | SetSize (std::vector< int > &size) |
| Set size. | |
| std::vector< float > | GetAlpha () |
| Get alpha. | |
| void | SetAlpha (std::vector< float > &alpha) |
| Set alpha. | |
| std::vector< float > | GetBeta () |
| Get beta. | |
| void | SetBeta (std::vector< float > &beta) |
| Set beta. | |
| void | SetPermute (bool permute) |
| Set permute. | |
Preprocessor object for AdaFace serials model.
| bool fastdeploy::vision::faceid::AdaFacePreprocessor::Run | ( | std::vector< FDMat > * | images, |
| std::vector< FDTensor > * | outputs | ||
| ) |
Process the input image and prepare input tensors for runtime.
| [in] | images | The input image data list, all the elements are returned by cv::imread() |
| [in] | outputs | The output tensors which will feed in runtime |
1.8.13