When I run my-detection.py, I want to print only the Class ID. What is there?
You can modified the console output from here:
You can also do this directly from the Python script using the
detectNet.GetClassDesc() function, without modifying the C source:
for detection in detections: print(detection) print(net.GetClassDesc(detection.ClassID))