Get metadata from deepstream-Yolo


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?


You can refer deepstream_app.c -> write_kitti_output.
Also for how to access metadata you can refer