I’m not sure how to specify the coordinates of a specific area (ROI) in deepstream-app.
How do I specify the values of roi-top-offset and roi-bottom-offset, for example, to specify the following rectangles relative to the top left of the frame?
In order to set ROI for given frame you need to acquire display meta from displa_meta_pool. After this, fill “line_params” with line parameters defining the ROI. It is possible to set ROI with multiple points. deepstream-test1_app.c demonstrates how to acquire display meta. It shows how to fill text_params. On similar line you can set line params.
I want to detect cars and people only within the area specified by ROI in live camera (rtsp). (Eg rectangular area)
If so, can I set the ROI using roi-top-offset and roi-bottom-offset?
If not, what is roi-top-offset and roi-bottom-offset used for?