3D Point Cloud Annotation
This tutorial covers annotating 3D point cloud data with cuboids and using multi-camera projection.
What You’ll Learn
- How to upload and view point cloud data
- How to draw 3D cuboids in point clouds
- How to use multi-camera views for verification
- How to track objects across frames
Prerequisites
- Point cloud data (MCAP, PCD, or PLY format)
- Camera images (optional, for multi-view)
- Camera calibration data (for projection)
Step 1: Upload Point Cloud Data
MCAP Files (Recommended)
- Create a new dataset with type LiDAR
- Upload your MCAP file containing:
- Point cloud messages (e.g.,
sensor_msgs/PointCloud2) - Camera images (optional)
- Calibration data (optional)
- Point cloud messages (e.g.,
Individual Point Clouds
- Create a dataset with type LiDAR
- Upload PCD or PLY files
- Files are treated as individual scans
MCAP files with embedded camera data enable automatic multi-camera projection of 3D annotations.
Step 2: Open the 3D Viewer
- Navigate to your dataset → Sequences
- Click on a sequence to open the viewer
- The interface shows:
- 3D viewport: Point cloud visualization
- Camera views: Synchronized camera images
- Timeline: Frame navigation
- Object list: Annotated objects
Step 3: Navigate the 3D View
Mouse Controls
| Action | Control |
|---|---|
| Rotate view | Left-click + drag |
| Pan view | Right-click + drag |
| Zoom | Scroll wheel |
| Reset view | Press R |
Display Options
- Point size: Adjust point rendering size
- Color mode: Height, intensity, or RGB
- Ground plane: Toggle ground visualization
Step 4: Draw 3D Cuboids
- Select the Cuboid tool from the toolbar
- Click in the point cloud to place the cuboid center
- Adjust the cuboid:
- Drag corners: Resize dimensions
- Drag edges: Adjust individual dimensions
- Drag center: Move position
- Drag rotation handle: Rotate around Z-axis
- Assign a label from the dropdown
- Click Save
Cuboid Tips
- Fit to points: Adjust cuboid to tightly enclose points
- Use camera views: Verify cuboid position in 2D
- Ground contact: Align bottom with ground plane
- Orientation: Match vehicle/object heading
Step 5: Multi-Camera Projection
When camera data is available:
- 3D cuboids automatically project onto camera images
- Verify projections in each camera view
- Adjust cuboid position if projection is misaligned
- Check occlusion and truncation
Calibration
If projections are misaligned:
- Go to Settings → Camera Calibration
- Adjust intrinsic/extrinsic parameters
- Save calibration
- Projections update automatically
Step 6: Object Tracking
For sequences with multiple frames:
- Create a cuboid on the first frame
- Navigate to the next frame
- The object persists (tracking mode)
- Adjust position for object movement
- Repeat for each frame
Tracking Tips
- Interpolation: System can interpolate between keyframes
- ID consistency: Keep the same object ID across frames
- Lost objects: Mark as occluded when not visible
Step 7: Review and Export
- Review annotations in the 3D viewer
- Check multi-camera projections
- Export in your preferred format:
- KITTI: Standard AV format
- nuScenes: Multi-frame format
- Avala Format: Full metadata
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
C | Cuboid tool |
V | Select tool |
R | Reset view |
G | Toggle ground plane |
← / → | Previous/Next frame |
Space | Play/Pause sequence |
Delete | Delete selected |
Next Steps
- Configure camera calibration
- Learn about sequence workflows
- Export to different formats
Last updated on