Get metadata from deepstream-Yolo

Hi,

I’m currently trying to get data from bounding boxes (after an object detection) in deepstream-Yolo.

But I’m lost. I understand that I can get metadata with NvDsObjectMeta, NvDsFrameMeta and NvOSD_RectParams but I don’t know where are these structure and where I can use them in the deepstream-app code to extract the data.

Could someone help me understand, for example how get the coordinates of a specific bounding box and write theses coordinates on a file?

Sincerely,

You can refer deepstream_app.c -> write_kitti_output.
Also for how to access metadata you can refer https://docs.nvidia.com/metropolis/deepstream/plugin-manual/index.html#page/DeepStream%20Plugins%20Development%20Guide/deepstream_plugin_metadata.2.1.html#