PointsAnnotation

An array of points on a 2D image

Parent schema

PointsAnnotation appears in the ImageAnnotations message schema.

Schema

fieldtypedescription
timestamptimeTimestamp of annotation
typeenum PointsAnnotationTypeType of points annotation to draw
pointsPoint2[]Points in 2D image coordinates
outline_colorColorOutline color
outline_colorsColor[]Per-point colors, if type is POINTS, or per-segment stroke colors, if type is LINE_LIST.
fill_colorColorFill color
thicknessfloat64Stroke thickness

Reference implementations

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

encodingschema
ROS 1foxglove_msgs/PointsAnnotation
ROS 2foxglove_msgs/msg/PointsAnnotation
JSONfoxglove.PointsAnnotation
Protobuffoxglove.PointsAnnotation

You must use the schema names specified above for Foxglove Studio to recognize the schema.