Modify object bbox before sgie

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 6.1
• JetPack Version (valid for Jetson only)
• TensorRT Version8.4
• NVIDIA GPU Driver Version (valid for GPU only) 510
• Issue Type( questions, new requirements, bugs) questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Hello:
I’m developing on Deepstream. My PGIE is a yolox model . My SGIE is a UNET model . The pipeline detect multi objects on frame and transform every object to unet.
The origin bbox is blue line , but I want to expand the bbox to red line before sgie .For example left-10 ,top-10,width+20 ,height+20 . And shrink the bbox to orgin after sgie.
I’m modifying the gst-nvinfer pulgin and find gst_nvinfer_process_objects funciton doing some work. Is there any example code could realize my idea?

1 Like

We don’t have such example code now. You can try to get the object paras from a probe function and change the coordinates paras by yourself.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one.
Thanks

Another idea is you can just change the BBOX coordinates in the output parser of your yolox model

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