Deepstream ROI not working as expected

Please provide complete information as applicable to your setup.

**• Jetson
**• Deepstream 6.2
**• JetPack Version 5.1.2
**• ROI in nvanalytics not working as expected
**• To reproduct just run a sample applicaiton with ROI

I am running a simple sample application and I noticed somethig. As you can see the in the picture below then bounding box is not registered in the ROI but when I extend the ROI upto the bottom of the screeen then it works as expected as seen in the second image

Is the above issue because we do analytics based on bottom centre as per
the documeentation

For all the analytics calculations bottom center coordinate of bounding box of an object is being used. If bounding box is defined as (x_left, y_top, width, height) then the bottom center coordinate would be (x_left + width/2, y_top + height).

I need the analytics to work on the centre so how can I change the source code to work like that ?

thanks for your suggestion! Currently NVDSananlytics low level lib is closed source. we will consider supporting custom center position. or NVDSananlytics plugin is opensource. you can replace the low level lib with your own algorithm lib.
Here is a sample for how to modify plugin Runtime Configuration Changes for Gst-nvdsanalytics Plugin Settings .

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