|
FastDeploy
latest
Fast & Easy to Deploy!
|
Preprocessor object for PaddleDet serials model. More...
#include <preprocessor.h>


Public Member Functions | |
| PaddleDetPreprocessor (const std::string &config_file) | |
| Create a preprocessor instance for PaddleDet serials model. More... | |
| virtual bool | Apply (FDMatBatch *image_batch, std::vector< FDTensor > *outputs) |
| Implement the virtual function of ProcessorManager, Apply() is the body of Run(). Apply() contains the main logic of preprocessing, Run() is called by users to execute preprocessing. More... | |
| void | DisableNormalize () |
| This function will disable normalize in preprocessing step. | |
| void | DisablePermute () |
| This function will disable hwc2chw in preprocessing step. | |
Public Member Functions inherited from fastdeploy::vision::ProcessorManager | |
| void | UseCuda (bool enable_cv_cuda=false, int gpu_id=-1) |
| Use CUDA to boost the performance of processors. More... | |
| bool | Run (std::vector< FDMat > *images, std::vector< FDTensor > *outputs) |
| Process the input images and prepare input tensors for runtime. More... | |
Preprocessor object for PaddleDet serials model.
|
explicit |
Create a preprocessor instance for PaddleDet serials model.
| [in] | config_file | Path of configuration file for deployment, e.g ppyoloe/infer_cfg.yml |
|
virtual |
Implement the virtual function of ProcessorManager, Apply() is the body of Run(). Apply() contains the main logic of preprocessing, Run() is called by users to execute preprocessing.
| [in] | image_batch | The input image batch |
| [in] | outputs | The output tensors which will feed in runtime |
Implements fastdeploy::vision::ProcessorManager.
1.8.13