I encountered an issue while utilizing an example of target detection based on YOLO

While utilizing this example zed-examples/object detection/custom detector at master · stereolabs/zed-examples · GitHub, I noticed that object categories were not displayed during object detection and only a numerical identifier was shown. Could you please advise on the necessary modifications required to achieve multiple object tracking across several categories?

When using the custom detector API, the ZED SDK can’t know the class name handled by the detection model, so we just use a generic integer to store the class. You have to provide the mapping between the number and the class name depending on your model. For the default COCO 80 model, you can simply use this yolov5/coco.yaml at 0c8de3fca4a702f8ff5c435e67f378d1fce70243 · ultralytics/yolov5 · GitHub