mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-16 05:30:58 +08:00
[CVCUDA] PP-OCR Cls & Rec preprocessor support CV-CUDA (#1470)
* ppocr cls preprocessor use manager * hwc2chw cvcuda * ppocr rec preproc use manager * ocr rec preproc cvcuda * fix rec preproc bug * ppocr cls&rec preproc set normalize * fix pybind * address comment
This commit is contained in:
@@ -56,7 +56,7 @@ struct FASTDEPLOY_DECL FDMatBatch {
|
||||
void SetStream(cudaStream_t s);
|
||||
#endif
|
||||
|
||||
std::vector<FDMat>* mats;
|
||||
std::vector<FDMat>* mats = nullptr;
|
||||
ProcLib mat_type = ProcLib::OPENCV;
|
||||
FDMatBatchLayout layout = FDMatBatchLayout::NHWC;
|
||||
Device device = Device::CPU;
|
||||
|
Reference in New Issue
Block a user