Patch video in deep-stream

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson
• DeepStream Version 5
• JetPack Version (valid for Jetson only) 4.4
• TensorRT Version 7
• NVIDIA GPU Driver Version (valid for GPU only) JetPack default
hello sir, I have object detection model (input size 512 * 512) that works with deep stream. now I want to give it hd video. is there a way to crop hd video to parts in preprocessing?
I mean something like deep stream ssd example

Hi @kapocririf
Do you want to crop or resize from HD to 512 x 512 ?

thanks for reply… I want to crop from HD to 512*512 (maybe deny edges or overlapping )
then each time feed model with one of cropped parts. my model is too big for jetson . and it can not load with hd input. so i used smaller size (512 * 512) input . now I need to crop my hd video and feed it to model.


Hi @kapocririf
you could refer to gst-dsexample about how to use crop.
Code : /opt/nvidia/deepstream/deepstream-5.0/sources/gst-plugins/gst-dsexample


1 Like