GPU Deepstream6.1 draw line with opencv in deepstream n_frame = pyds.get_nvds_buf_surface(hash(gst_buffer), frame_meta.batch_id)

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

I think you can refer this topic

If you want use OpenCV to draw bbox on GPU,unified memory In CUDA is necessary