How does deepstream-app get the location information of the detected vehicle

All inference result is saved in metadata → https://docs.nvidia.com/metropolis/deepstream/plugin-manual/index.html#page/DeepStream_Plugin_Manual%2Fdeepstream_plugin_metadata.03.1.html

You can refer to test1 “osd_sink_pad_buffer_probe()”