3D cuboid annotation (3D bounding box)

A 3D cuboid, or 3D bounding box, is a box with a position, three dimensions and a heading angle that encloses an object in 3D space; 3D cuboid annotation draws such boxes around objects in LiDAR point clouds, or in camera images with estimated depth, to train 3D object detectors.

3D and videoAlso called 3D bounding box, Cuboid annotation

Seven numbers per object

cuboid = (x, y, z, l, w, h, θ)
The centre (x, y, z), length, width and height, and the yaw angle θ around the vertical axis. Formats differ in axes and order: KITTI writes the size and a rotation in camera coordinates, nuScenes a size and a rotation quaternion in world coordinates.

Unlike a 2D bounding box, a cuboid is meant to cover the whole object, including the far side the sensor never saw.

Placing a cuboid in a point cloud

  1. Find the object from above, where its footprint is easiest to read.
  2. Fit the box to the points and turn it to the object's heading.
  3. Check the height and the ground contact from the side and front.
  4. In a sequence of scans, carry the box to the next frame and adjust it rather than drawing it again.

Errors that hurt 3D detectors

  • Boxes shrunk to the visible points of a distant car instead of its real size.
  • Heading flipped by 180°, so the front of the box is the back of the car.
  • Boxes floating above or sunk into the ground.
  • The same object changing size between frames of one sequence.

Cuboids in Supervisely

Once enough scans carry cuboids, MMDetection3D can train on them and pre-label the rest. The 3D point cloud tool fits a cuboid with one click on an object, and the 3D Smart Tool places one around a circled object, with no training on your data. The selected cuboid shows its length, width and height in the Top, Side and Front views, and in episodes it is tracked from scan to scan. With sensor fusion, an outline drawn on a camera image creates the matching 3D object. Cuboids can also be drawn on single photos in the image tool. Projects export to KITTI 3D or nuScenes. Read 3D object interpolation in point clouds and tree annotation in forest LiDAR.

Frequently asked questions.

What is 3D cuboid annotation?

Placing a 3D box around each object in a point cloud or a camera image, with its position, size and heading. 3D detectors for autonomous driving and robotics train on these labels.

What is the difference between a 3D cuboid and a 3D bounding box?

Nothing: both name the oriented box around an object in 3D space. Cuboid is the more common word in labeling tools, 3D bounding box in model papers.