Plugin customization with OpenCV

The video frame is in the NvBufSurface.NVIDIA DeepStream SDK API Reference: NvBufSurface Struct Reference | NVIDIA Docs

Please refer to DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums for how to modify the NvBufSurface.