Jetson nano googlenet detect information

When I detect the object, the terminal displays object class rate(on the top picture).Screenshot from 2020-05-05 15-14-46 The imagenet.py is on bottom picture.Can I use the imagenet.py to change terminal’s inormation ?Screenshot from 2020-05-05 14-29-55

Hi,

Not sure which source do you use.
But you can update the output from the source code like this:

Thanks.

Tha labels are car,doormax,doormid, and doormin on googlenet.After training googlenet, I used googlenet to detect object. I make GPIO LED(https://www.jetsonhacks.com/2019/06/07/jetson-nano-gpio/) with dection.If doormin and doormid recognition rate are closely, I want two leds light togehter.