When I run my-detection.py, I want to print only the Class ID. What is there?
Hi,
You can modified the console output from here:
Thanks.
1 Like
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))
2 Likes