Skip to content

Annotate Dataset

A fusion model learns from 2D and 3D bounding boxes, so every object you want the model to detect needs both in every frame. If you chose an auto-generated annotation source when you restored the MCAP, EdgeFirst Studio's Automatic Ground Truth Generation (AGTG) has already annotated the dataset. In this step you check those annotations, add any that are missing, and fix any that are wrong.

Check the Annotations

From the dataset card, open the dataset gallery and click on the sequence. Make sure the Radar or LiDAR point clouds and the 3D bounding boxes are toggled visible.

Visible 3D Annotations
Visible 3D Annotations

Step through the frames and check that:

  • Every object has a 2D box on the image and a 3D box around its points.
  • Each object keeps the same label from frame to frame.
  • No boxes are drawn around background or empty space.

If the dataset has no annotations, because it was restored without an annotation source, or if objects are missing, add them with the AGTG tool as shown below. If the boxes are there but in the wrong place or the wrong size, go to Fix Annotations.

Add Missing Annotations

The AGTG tool tracks the objects you mark in one frame through the rest of the sequence, and creates their 2D boxes, segmentation masks and 3D boxes from the point clouds.

  1. Inside the dataset gallery, click on the "AI Segment Tool".

    AI Segment Tool
    AI Segment Tool

  2. If no AGTG server is running, click on "Launch AGTG Server". The server takes about 5 minutes to start. If it hasn't started after 5 minutes, refresh the page and click on the "AI Segment Tool" again.

    Launch AGTG Server
    Launch AGTG Server

  3. In the first frame that shows the objects, draw a box around the first object. For each additional object, click "+" to add a new object, then draw its box. Each object needs its own entry so the tracker can give it a unique ID.

    AGTG Prompts
    AGTG Prompts

  4. Set the "End Frame" and click on "Propagate". The annotations are added frame by frame as the objects are tracked.

    Propagation
    Propagation

    Long Tracks

    Keep each propagation under 500 frames. The tool becomes unreliable on tracks of about 1500 frames or more.

  5. When propagation reaches the end frame, click on "Save AIGT Annotations".

    Save Annotations
    Save Annotations

  6. Repeat these steps for each sequence in the dataset.

Shut Down the AGTG Server

The AGTG server uses credits while it runs. When you have finished annotating, click on "Shutdown AGTG Server". The server also shuts down after 15 minutes of inactivity.

For more detail on each option, see the AGTG tutorial.

Fix Annotations

To move, resize or delete a 2D or 3D box, or to change its label, follow the Manual Annotations tutorial.

When every sequence is annotated and the boxes are correct, continue to the next step: Split and Tag Dataset.

More Information

Next Steps

Once every sequence is annotated, the next step in the Raivin Quick Start guide is to prepare the dataset for training by splitting and tagging the dataset.