Skip to main content
This reference documents every annotation type supported by Avala, including their properties and JSON representations.

Overview

Avala supports the following annotation types: All annotation types share a set of common properties in addition to their type-specific fields.

Bounding Box

A 2D axis-aligned rectangular box defined by its top-left corner, width, and height.

Properties

JSON Example

Polygon

An arbitrary closed polygon defined by an ordered list of vertices.

Properties

JSON Example

3D Cuboid

A 3D bounding box defined by its center position, dimensions (length, width, height), and rotation.

Properties

JSON Example

3D cuboid coordinates use the sensor frame of the point cloud. The yaw value represents rotation around the Z-axis (vertical), which corresponds to the object’s heading direction.

Segmentation Mask

A pixel-level mask that labels every pixel within a region. Masks are stored in run-length encoding (RLE) for efficiency.

Properties

JSON Example

Mask Format

The mask field uses COCO-style run-length encoding:
  • counts: Alternating runs of background and foreground pixel counts
  • size: [height, width] of the image

Polyline

An open line defined by an ordered sequence of points. Unlike polygons, polylines are not closed.

Properties

JSON Example

Classification

An image-level or frame-level label with no spatial geometry. Used for categorizing entire images or frames.

Properties

JSON Example

Keypoints

A set of named points with connections between them, typically used for pose estimation and skeleton annotation.

Properties

Keypoint Visibility Values

JSON Example

Common Properties

Every annotation in Avala includes these shared properties regardless of type.
The tracking_id field is only present for annotations in video or multi-frame sequence data. It links the same object across frames for consistent tracking.

Next Steps