cv::cuda::GpuMat to NDArray


#1

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


#2

did you find by chance any fast way to do this? except cross-converting to cv::Mat, which is redundant.


#3

Unfortunately, no…