How to save object detection output using DS4.0 Yolov3

I’m using DS4.0 “detecting(deepstream-app -c deepstream_app_config_yoloV3.txt” on TX2.
I want to save object number and class data, How to get these data? Can you give me some suggestions?


You can find YOLO source code at /opt/nvidia/deepstream/deepstream-4.0/sources/objectDetector_Yolo/nvdsinfer_custom_impl_Yolo.
The data you want can be found in nvdsparsebbox_Yolo.cpp.


I want to print a string in the terminal when the frame has one or more “person” objects. I went through nvdsparsebbox_Yolo.cpp , but I was unable to find the place where I can extract the label of the object. Can you give me a suggestion on this ?