How to create a custom GStreamer Deepstream plugin which uses OpenCV for out of place transforms?

  1. Did you check the sample code of gst-dsexample ? This element shows how to work with opencv, you can rewrite it to an out of place transform element.

2.This code snippet show how to map data from NvBufSurfaceMap and use for opencv.