How to get analytic roi coordinate

You can refer to this
How can I get GstNvDsOsd in deepstream-test5 - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums