robot_msg_viz

Detection2D

One detected object: its box on the image in its class colour, labelled with its best class and score.

robot_msgs.vision.Detection2D · its fields and functions on robotmsgs.com

Download .rrd874 KB

Sample data: vision-Detection2D.rrd (874 KB), one message, built in code from a seeded sample. The layout (a Rerun blueprint) is inside the file.

Use it in your code

import robot_msg_viz as viz
from robot_msgs.vision import Detection2D

viz.show(detection)  # the boxes, class-coloured and labelled

# over the image they came from: log both under one name
with viz.stream("camera") as live:
    live.log(camera=image)  # a robot_msgs.sensor.Image
    live.log(camera=detection)

No use case draws this type yet.