I’m trying to use the mxnet-cpp package into an opencv pipeline. My images are already on the GPU into a cv::cuda::GpuMat. I was wondering what is the most efficient way to transfer the data from a GpuMat to an NDArray and back to a GpuMat.
Thx
I’m trying to use the mxnet-cpp package into an opencv pipeline. My images are already on the GPU into a cv::cuda::GpuMat. I was wondering what is the most efficient way to transfer the data from a GpuMat to an NDArray and back to a GpuMat.
Thx
did you find by chance any fast way to do this? except cross-converting to cv::Mat, which is redundant.
Unfortunately, no…
anything change now?