TextAnnotation

A text label on a 2D image.

Parent schema

TextAnnotation appears in the ImageAnnotations message schema.

Schema

FieldTypeDescription
timestamptimeTimestamp of annotation.
positionPoint2Bottom-left origin of the text label in 2D image coordinates (pixels).
textstringText to display.
font_sizefloat64Font size in pixels.
text_colorColorText color.
background_colorColorBackground fill color.

Position

The coordinate uses the top-left corner of the top-left pixel of the image as the origin.

Reference implementations

Foxglove schemas are framework-agnostic and can be implemented using any supported message encoding: