Source video crop before inference

• Hardware Platform = Jetson
• DeepStream Version = 5.0
• JetPack Version = 32.4.3-20200625213809
** Source type = CSI Camera **


How can I crop the source video to a constant ROI in the deepstream-app source code before inference?


1 Like

gst-launch-1.0 filesrc location= ! qtdemux ! h264parse ! omxh264dec ! nvvidconv left=400 right=1520 top=200 bottom=880 ! nvoverlaysink display-id=1 -e

Here is an example for the pipe I want to build, but i want to do it in the source code.

1 Like

I would suggest you to use nvvideoconvert
BTW, pls use nvvideo4linux2 for decoder.