How to use pyds and opencv-python with cuda_GpuMat mapped with NvBufSurface

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
dGPU
• DeepStream Version
deepstream-6.0
• NVIDIA GPU Driver Version (valid for GPU only)
497.1
• Issue Type( questions, new requirements, bugs)
questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
Some how I’d like to process the buffer after nvv4l2decoder. I want to operate it’s NvBufSurface without copy.So I’d like to use cv.cuda_GpuMat mapping surfacelist, But I didn’t see the api to do with it
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Sorry for the late response, our team will do the investigation and provide suggestions soon. Thanks

I remember trying to look for this when I was working with DS 4.0.x and some post had mentioned that OpenCV’s cuda implementation is separate and cannot be used in deepstream without copy.

If there is some solution, I’d be interested to know too!

I guess if really want to use it without copy ,the only way is using original cuda api