Download a vector of GpuMats to Host

asked 2018-08-10 17:57:56 -0500

I have a std::vector<cv::cuda::gpumat> that I want to access on my host. How would I perform one batch memcpy operation (or download operation) to return a vector of cv::Mats? I am running this on the Jetson TX2, so I have the ability to do unified shared memory.

edit retag flag offensive close merge delete


Well you could serialize your mats as images , compress them togther in one archive(zip, or tgz) and then transfer them.

holger gravatar imageholger ( 2018-08-12 23:48:22 -0500 )edit