I want to display the identification result on the terminal by object detection

I did object detection using jetson-inference according to the video below.

import jetson.inference
import jetson.utils

net = jetson.inference.detectNet(“ssd-mobilenet-v2”, threshold=0.5)
camera = jetson.utils.gstCamera()
display = jetson.utils.glDisplay()

while display.IsOpen():
img, width, height = camera.CaptureRGBA()
detections = net.Detect(img, width, height)
display.RenderOnce(img, width, height)

It worked fine, but I want to show the identification result on the terminal.
I don’t know how to do that.
Please tell me who knows.


Please check this comment for the example:


Thnk you for telling.
I’ll try it.