Convert KITTI 3D
to Supervisely
Converting KITTI 3D to Supervisely brings your labels into a format that keeps every shape, tag and class, ready to review, relabel and export to any other format.
KITTI 3D vs Supervisely
KITTI 3D is the format of the KITTI object detection benchmark: LiDAR scans as binary files, camera images, calibration files and a text label file per frame with a 3D box for every object.
| KITTI 3D | Supervisely | |
|---|---|---|
| Annotation files | Per frame: a velodyne .bin point cloud, a camera image, a calibration file and a .txt label file. | Per dataset: point clouds in pointcloud/, one JSON per point cloud in ann/, camera images with their JSON parameters in related_images/; one meta.json for the project. |
| Coordinates | 3D boxes in camera coordinates: height, width and length in metres, the x, y, z location and rotation_y, plus a 2D box in image pixels. | 3D figures in the point cloud's own coordinates: a cuboid has a position, a rotation and dimensions. |
| Shapes | 3D boxes, each with a class, truncation, occlusion and viewing angle. | 3D cuboids and point cloud segmentation, with photo context from the cameras. |
| Classes | Every label line starts with the object type: Car, Pedestrian, Cyclist, DontCare and others. | Classes are defined in meta.json with a name, a shape and a colour. |
What the conversion changes
Import KITTI 3D
- The frames become a point cloud project, with the camera images as photo context.
- The app can also import 100 to 500 sample scenes of the original KITTI dataset.
Export to Supervisely
- Every imported label keeps its shape, class and tags in Supervisely JSON.
Convert KITTI 3D to Supervisely in three steps
- 01
Import KITTI 3D
Upload your KITTI 3D folder or archive to Supervisely and run Import KITTI 3D from the Ecosystem: it creates a project with the images and labels.
- 02
Review in the labeling toolbox
Open the project in the 3D point cloud labeling toolbox to check classes and fix labels.
- 03
Export to Supervisely
Open the menu of the project, choose Download via app and run Export Point Clouds Project in Supervisely Format. The archive appears in Tasks and Team Files.
Apps in the Supervisely Ecosystem
Run this conversion on your own data in a free account, or let us walk your team through it.
Or in a few lines of Python
After the import, the Python SDK downloads the project as Supervisely JSON, the format the Export to Supervisely format app writes.
Install it with pip install supervisely.
import supervisely as sly
# SERVER_ADDRESS and API_TOKEN come from the environment
api = sly.Api.from_env()
# ID of the project Import KITTI 3D created
sly.download_fast(api, project_id=12345, dest_dir="sly_project")Frequently asked questions.
Can I convert KITTI 3D to Supervisely without code?
Yes. Import the data with Import KITTI 3D, check it in the 3D point cloud labeling toolbox, then export it with Export Point Clouds Project in Supervisely Format. Both start from the Supervisely web interface.
What changes when KITTI 3D becomes Supervisely?
The frames become a point cloud project, with the camera images as photo context. The app can also import 100 to 500 sample scenes of the original KITTI dataset. Every imported label keeps its shape, class and tags in Supervisely JSON.
Does Supervisely use the same coordinates as KITTI 3D?
Both use 3D coordinates, written differently. KITTI 3D: 3D boxes in camera coordinates: height, width and length in metres, the x, y, z location and rotation_y, plus a 2D box in image pixels. Supervisely: 3D figures in the point cloud's own coordinates: a cuboid has a position, a rotation and dimensions.
How do KITTI 3D classes carry over to Supervisely?
In KITTI 3D: every label line starts with the object type: Car, Pedestrian, Cyclist, DontCare and others. In Supervisely: classes are defined in meta.json with a name, a shape and a colour. The class names stay the same on the way through Supervisely, so rename or merge classes in the project before you export.
Can I convert KITTI 3D to Supervisely in Python?
After the import, the Python SDK downloads the project as Supervisely JSON, the format the Export to Supervisely format app writes. See the SDK export tutorial.