Abstract
Spatial scene-understanding, including dense depth and ego-motion estimation, is an important problem in computer vision for autonomous vehicles and advanced driver assistance systems. Thus, it is beneficial to design perception modules that can utilize crowdsourced videos collected from arbitrary vehicular onboard or dashboard cameras. However, the intrinsic parameters corresponding to such cameras are often unknown or change over time. Typical manual calibration approaches require objects such as a chessboard or additional scene-specific information. On the other hand, automatic camera calibration does not have such requirements. Yet, the automatic calibration of dashboard cameras is challenging as forward and planar navigation results in critical motion sequences with reconstruction ambiguities. Structure reconstruction of complete visual-sequences that may contain tens of thousands of images is also computationally untenable. Here, we propose a system for practical monocular onboard camera auto-calibration from crowdsourced videos. We show the effectiveness of our proposed system on the KITTI raw, Oxford RobotCar, and the crowdsourced D$^2$-City datasets in varying conditions. Finally, we demonstrate its application for accurate monocular dense depth and ego-motion estimation on uncalibrated videos.
Introduction
To train robust autonomous driving systems, researchers require massive amounts of data. Crowdsourced dashcam footage is an ideal source, but it presents a significant technical hurdle: unknown camera intrinsics. Without knowing a camera’s focal length, optical center, and lens distortion, it is nearly impossible to accurately estimate depth or the vehicle's ego-motion. Standard auto-calibration techniques often fail in driving scenarios because cars primarily move in straight lines. In computer vision, pure forward motion creates a "degenerate" sequence where the algorithm cannot distinguish between a change in focal length and a change in scene depth. Furthermore, processing thousands of frames from a long trip is computationally exhausting.
Proposed Methodology
The authors propose a two-stage pipeline designed to be both mathematically sound and computationally efficient. Instead of processing an entire video, the system uses a heuristic based on epipoles to find segments where the vehicle is turning. Turns provide the rotational data (yaw) required to break the mathematical ambiguities of forward motion. Analytical demonstrations show that the error in focal length estimation is inversely bounded by the amount of rotation between frames. Empirical studies suggest that roughly 30 seconds of turn-heavy sub-sequences are sufficient for stable calibration.
For crowdsourced data where camera placement varies, semantic masking of the ego-vehicle is critical. Dashcams often capture part of the car’s hood or A-pillars; these static regions act like a "watermark" that confuses feature-matching algorithms. The authors use a real-time semantic segmentation network (Rgpnet) to mask out the car. Without this step, focal length errors can double as the algorithm tries to anchor the 3D reconstruction to the static car hood. The system then performs specialized Incremental Structure-from-Motion (SfM) on the detected turn sequences, using Bundle Adjustment to refine the camera parameters in a two-step optimization process.
Experimental Evaluation
The system was validated on three distinct datasets: KITTI raw (the gold standard), Oxford RobotCar (urban sequences with varying GPS quality), and D2-City (a massive, "wild" dataset of crowdsourced dashcam videos from taxis in China).
Key results include:
- Superior Accuracy: On the KITTI dataset, the proposed method achieved lower error rates for focal length and principal points compared to previous state-of-the-art methods.
- Robustness to GPS Loss: On the Oxford dataset without GPS assistance, the method reduced focal length error from ~14-19% down to ~6%. This GPS-independence makes it applicable to urban canyons where satellite reception is poor.
- Downstream Success: The authors used their auto-calibrated parameters to train a Monodepth-2 depth estimation model. The results were nearly identical to a model trained with factory-perfect ground truth calibration, proving the system's practicality for real-world perception tasks.
Conclusion
This work demonstrates that vehicle turns are the essential "unlock" mechanism for practical auto-calibration in driving scenarios. By focusing on these informative sub-sequences and employing ego-vehicle masking, the proposed system provides a robust, GPS-independent solution for utilizing crowdsourced dashcam data. While limited by the requirement for at least some turning motion, the system represents a significant step toward plug-and-play spatial understanding for any vehicle.
Summary updated