How to use Deepstream plugins to get object coordinates?

Hello, how to use deepstream plugins to get object coordinates?
Because, my system already can detected object, but I want the get the position information of that object. Have any idea?

Please refer to test1 sample “sources/apps/sample_apps/deepstream-test1” -> “osd_sink_pad_buffer_probe()”