How to convert dwImageCUDA to OpenCV's mat?

I want to convert dwImageCUDA to OpenCV’s mat and do some post-progress …

I noticed that the old topic in devtalks mentioned about

dwImageStreamer_postCUDA
dwImageStreamer_receiveCPU

But those APIs was removed in DriveWorks 2.0.

So I want to know what is the suitable way to convert dwImageCUDA to OpenCV’s mat?
If it is possible, please give a example.

Thanks!

Hi dengqi,

You may use Imagestreamer to read data from one format to another. Please check the discusion on the thread [url]https://devtalk.nvidia.com/default/topic/1044946/driveworks/dwimagenvmedia-dwimagestreamer-dwimagecuda/[/url] to see if it helps.

Thanks