How to draw the ROI region of interest on frames using deepstream 5.1 python?

Description

We need to flag an alert only when the detected objects enter the region of interest

Environment

GPU Type : Jetson Nano
Deepstream vesrion - 5.1

Relevant Files

I am using the Deepstream 5.1 python app test3 for testing

Steps To Reproduce

I am using the Deepstream 5.1 python app test3 for testing

Earlier in the old postit was mentioned that it will be implemented in the later versions so curious.

Can below plugin help?

https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_plugin_gst-nvdsanalytics.html