Hello, I would like to use OpenCV to sharpen the input video. What should I do?

Hello, I would like to use OpenCV to sharpen the input video. What should I do?

My pipeline is
rtmpsrc → flvdemux ->h264parse->nvv4l2decoder->streammux->nvinfer->nvvidconv->nvosd->nvv4l2h264enc->h264parse->flvdemux->rtmpsink

nx@xavier:~$ sudo deepstream-app -v
[sudo] password for nx:
deepstream-app version 6.0.1
DeepStreamSDK 6.0.1

Hi,
For calling OpenCV functions in Deepstream, please check the guidance in developer guide:

Implementing a Custom GStreamer Plugin with OpenCV Integration Example — DeepStream 6.0.1 Release documentation

All documents:

NVIDIA Metropolis Documentation

thank you