mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-21 15:49:31 +08:00
[CVCUDA] PaddleDetection preprocessor support CV-CUDA (#1493)
* ppdet preproc use manager * pad_to_size chw opencv * pad_to_size chw flycv * fix pad_to_size flycv * add warning message * cvcuda convert cubic to linear, padToSize cvcuda * stridedpad cvcuda * fix flycv include * fix flycv include * fix flycv build * cast cvcuda * fix pybind * fix normalize permute cuda * base processor move funcs to cc * Update pad_to_size.cc
This commit is contained in:
@@ -18,8 +18,9 @@
|
||||
#include "fastdeploy/vision/common/processors/mat.h"
|
||||
|
||||
#ifdef ENABLE_CVCUDA
|
||||
#include "nvcv/Tensor.hpp"
|
||||
#include <nvcv/Tensor.hpp>
|
||||
#include <nvcv/ImageBatch.hpp>
|
||||
#include <cvcuda/Types.h>
|
||||
|
||||
namespace fastdeploy {
|
||||
namespace vision {
|
||||
@@ -32,6 +33,7 @@ void* GetCvCudaTensorDataPtr(const nvcv::TensorWrapData& tensor);
|
||||
nvcv::ImageWrapData CreateImageWrapData(const FDTensor& tensor);
|
||||
void CreateCvCudaImageBatchVarShape(std::vector<FDTensor*>& tensors,
|
||||
nvcv::ImageBatchVarShape& img_batch);
|
||||
NVCVInterpolationType CreateCvCudaInterp(int interp);
|
||||
|
||||
} // namespace vision
|
||||
} // namespace fastdeploy
|
||||
|
Reference in New Issue
Block a user