Cropped source results into non cropped source

• Hardware Platform (Jetson / GPU) Jetson Nano
• DeepStream Version 6.01
• JetPack Version (valid for Jetson only) 4.6.4
Hey guys i made a gst pipeline for two gies with cropped source, i want to osd in non-cropped video. Can you help me with this.
Here is my pipeline.

gst-launch-1.0 filesrc location= $source_path
! qtdemux ! h264parse ! nvv4l2decoder
! tee name=t
! queue
! nvvideoconvert nvbuf-memory-type=0 src-crop=400:400:600:300
! m.sink_0 nvstreammux name=m batch-size=1 width=600 height=300
! nvinfer config-file-path= $pgie_path
! nvinfer config-file-path= $sgie_path
! nvmultistreamtiler rows=1 columns=1 width=600 height=300
! nvvideoconvert ! nvegltransform ! nveglglessink sync=0

After cropping by nvvideoconvert, the original video is not available any more.

You may inference on the whole frame and filter the boxes outside the ROI in probe function.

1 Like

Thank you for your quick response.
I now, I lose the original video in this way, what I’m asking, is there a any way to do mapping the bbox for original source shape.

Something like this.

There is a customized plugin needed which align the cropped video with the non-croppped video according to the timestamp if you want to use a pipeline like this. You need to write such plugin by yourself.

1 Like

Ok, i’ll try and share the result.
Is your answer acceptable for the RTSP live source?
Thank you.

Surely it can be applied to RTSP source too.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.