Abstract
ToosiCubix is a novel framework designed to generate high-quality 3D bounding box (cuboid) annotations for vehicles using only single 2D images and basic camera parameters. By integrating strategic user-defined part annotations with geometric optimization and probabilistic size priors, the system effectively addresses the scale ambiguity problem inherent in monocular vision. This approach eliminates the dependency on costly LiDAR or stereo camera setups, providing a fast and efficient tool for large-scale 3D data labeling in autonomous driving research.
Introduction
The development of robust autonomous driving systems relies heavily on the availability of massive 3D-annotated datasets. Traditionally, obtaining "ground truth" 3D boxes requires expensive hardware such as LiDAR or synchronized stereo cameras. While monocular images are significantly cheaper and more accessible, they present a fundamental challenge: scale ambiguity. Without depth information or a second viewpoint, it is mathematically difficult to distinguish between a small object nearby and a large object far away.
Existing monocular annotation tools often rely on rigid CAD models that lack the flexibility to represent diverse vehicle shapes or require tedious manual adjustments. ToosiCubix bridges this gap by offering a lightweight annotation pipeline that combines human intuition for feature identification with rigorous mathematical optimization to reconstruct 3D geometry.
Methods
The ToosiCubix pipeline transforms 2D user inputs into precise 3D cuboids through a multi-stage optimization process.
- Part Annotation: Users identify specific vehicle features, such as wheel-ground contact points, brand badges (defining the centerline), or symmetric pairs like headlights. In cases of occlusion, "direction arrows" can be drawn to indicate the vehicle's orientation.
- Geometric Constraints: Each annotation serves as a mathematical constraint. For instance, a wheel contact point is constrained to the ground plane at a specific lateral distance from the vehicle's longitudinal axis.
- Coordinate Descent Optimization: The system iteratively solves for the vehicle's pose (position and rotation) and dimensions. This involves alternating between Perspective-n-Point (PnP) estimation for pose and Least-Squares refinement for dimensions.
- Probabilistic Size Priors: To resolve scale ambiguity, the framework utilizes average dimensions and variances for various vehicle classes (e.g., Sedans, SUVs) derived from existing datasets. These priors act as a regularizer during optimization.
- Fine-tuning: A final optimization pass minimizes reprojection error, ensuring the 3D cuboid edges align accurately with the image pixels.
Key Insights and Ideas
A core strength of ToosiCubix is its reliance on lateral symmetry. The left-right symmetry of vehicles provides powerful geometric cues that stabilize 3D orientation even under significant occlusion. Furthermore, the authors distinguish between estimating the vehicle's shape and orientation (8 Degrees of Freedom) and its absolute scale/distance (the 9th DoF).
The study found that while geometric constraints are highly effective for the first 8 DoF, the 9th DoF (absolute scale) is most effectively handled by incorporating human-provided size priors or known environmental dimensions.
Results and Performance
The framework was validated against the KITTI and Cityscapes3D benchmarks, using LiDAR and stereo-derived labels as ground truth. Key findings include:
- High Precision: The method achieved an average rotation error of approximately 3 degrees.
- Relative Accuracy: The "Scaled IoU" metric, which evaluates shape and orientation independent of absolute scale, reached 0.77 on KITTI and 0.82 on Cityscapes3D.
- Efficiency: Human annotators can fully label a vehicle in 3D in roughly 67–70 seconds.
- Robustness: The system performs well even with truncated or partially occluded vehicles, provided a minimal set of key features is visible.
Conclusion
ToosiCubix demonstrates that high-quality 3D annotations can be derived from monocular images by combining sparse human input with geometric reasoning. While scale ambiguity remains a challenge, the use of probabilistic priors significantly mitigates its impact. Future work aims to extend this framework to video sequences for temporal consistency and to include a broader range of object classes such as pedestrians and cyclists.
Summary updated