Simulation, Testing and Validation · Data and evaluation
Ground-Truth Generation
Also known as data annotation, labelling, auto-labelling, reference data generation
Producing reference labels, such as object boxes, classes, tracks, segmentation masks, lanes or poses, against which perception and localisation outputs are trained and evaluated, either by annotating real sensor data or by exporting exact values from simulation.
Explanation
For real-world data, ground truth comes from manual annotation, from assisted or automatic labelling with offline models followed by human review, and from reference sensors; the KITTI odometry benchmark, for instance, derives ground-truth poses from GPS and an inertial navigation system. ASAM OpenLABEL 1.0.0 standardises a JSON annotation format for multi-sensor data labelling and scenario tagging, with coordinate systems, frames and objects that can span images and point clouds.
In simulation, ground truth is available exactly. CARLA's depth, semantic segmentation and instance segmentation cameras and its semantic LiDAR return per-pixel or per-point class and instance information aligned with the rendered sensor data, and ASAM OSI's GroundTruth message carries the simulator's description of the world for consumption by sensor models and evaluation tools.
Real-world labels contain annotation errors and policy inconsistencies, for example how occluded or truncated objects are handled, and reference sensors have their own errors; KITTI dropped very short evaluation segments because GPS and inertial error biased results. Simulated ground truth is exact only with respect to the simulated world, whose sensor data differs from reality. The labelling specification directly shapes every metric computed against it.
How it works
A label specification is defined, covering classes, attributes and geometry types. Synchronised, calibrated data is collected, then annotated manually or auto-labelled and reviewed. Quality checks such as consistency audits and inter-annotator agreement follow, and labels are exported in a schema such as OpenLABEL and versioned with the dataset. In simulation, the simulator state is queried at each sensor timestamp and transformed into the sensor frame.
Automotive applications
- Training datasets for perception models
- Benchmark evaluation (mAP, MOTA)
- Localisation accuracy assessment
- Scenario extraction from labelled drives
Example
For each simulated frame, CARLA's instance-segmentation camera provides per-pixel class and instance IDs aligned with the RGB image. A script converts each vehicle and pedestrian instance into a 2D bounding box, producing training labels without manual annotation.
An illustrative example: any figures in it are worked numbers, not measurements.
References
- CARLA documentation: Sensors reference (opens in a new tab)
- ASAM OSI (Open Simulation Interface) specification V3.8.0 (opens in a new tab)
- ASAM OpenLABEL (opens in a new tab)
Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.