TL;DR
Estimating camera poses from dashcam footage is notoriously difficult due to motion blur and dynamic traffic. This paper introduces a framework that leverages the predictable "motion prior" of vehicles (e.g., moving forward or turning) to constrain image matching and refine pose estimation, resulting in a 22% improvement in accuracy on real-world dashcam data.
What Problem Does This Paper Address?
Dashcams are a massive, untapped data source for creating and updating High-Definition (HD) maps. However, standard computer vision techniques for "Structure from Motion" (SfM)—the process of reconstructing 3D scenes and camera paths from 2D images—often fail on dashcam video.
The challenges are three-fold:
- Low Image Quality: Dashcams often produce blurry images with significant compression artifacts.
- Dynamic Objects: Other moving cars and pedestrians create "false" matches that confuse standard algorithms.
- Lack of Sensors: Many consumer dashcams lack integrated GNSS (GPS) or IMU sensors, meaning the system must rely entirely on visual data to figure out where the camera is.
Methods
The authors propose a three-stage pipeline that treats the vehicle's physical movement as a helpful hint (a "prior") rather than a random variable.
- Motion Prior Regression: Instead of starting with point-matching, the system first predicts a "coarse" relative pose between two frames. It does this by looking at feature correlations (how similar regions of image A are to image B) rather than raw pixels. This makes the model more "generalizable"—it learns what a "forward move" looks like geometrically, regardless of whether it's in Beijing or Berlin.
- Correspondence Estimation with Motion Prior: The coarse pose is used to calculate epipolar lines (the mathematical paths where a matching point should lie). These lines are encoded into a transformer-based matcher (built on SuperGlue). This provides a "soft constraint" that tells the matcher: "Focus your search for matching points near these lines."
- Pose Estimation with Motion Prior: During the final step (RANSAC), where the best pose is selected from many candidates, the authors use a Scoring Neural Network. This network evaluates hypotheses based on the motion prior, the distribution of inliers, and feature descriptors, rather than just counting the number of matching points.
Datasets
- KITTI: A gold-standard autonomous driving dataset used primarily for training.
- NuScenes: A large-scale dataset used to test how well the model generalizes to new environments.
- RealDashCam (RDC): A new, challenging dataset collected by the authors in Beijing. Unlike the clean data in KITTI, RDC contains significant blur, noise, and heavy traffic, representing "wild" dashcam conditions.
Key Insights and Ideas
- Geometry over Appearance: By regressing motion from correlation maps rather than concatenated image features, the model avoids overfitting to specific visual textures and focuses on the underlying geometric shift.
- The "Soft" Constraint: Rather than forcing the matcher to look only on a specific line (which would fail if the coarse pose is slightly off), the system uses an MLP to encode the epipolar line as a feature. This allows the attention mechanism to "learn" how much weight to give the motion prior.
- Motion as a Filter: In dense traffic, standard matchers often match points on a car driving in front of the dashcam. Because that car is moving, those matches suggest the camera is stationary or moving strangely. The "Motion Prior" scoring network recognizes that these matches contradict typical vehicle physics and filters them out.
Key Results
- Accuracy Boost: On the challenging RDC dataset, the proposed method achieved an AUC@5° of 0.5731, significantly outperforming the baseline SuperGlue (0.4486) and other state-of-the-art matchers like LoFTR and RoMa.
- SfM Robustness: When used in a full reconstruction pipeline (COLMAP), the method successfully registered 19% more images than the baseline, with lower reprojection errors.
- Generalization: Despite being trained only on KITTI, the model performed exceptionally well on NuScenes and RDC, proving that the "motion prior" concept is universal to driving.
Limitations and Future Work
- Runtime: The full pipeline takes approximately 0.745 seconds per image pair. While efficient for offline map processing, it is currently too slow for real-time navigation or high-speed SLAM without further optimization.
- SfM Instability: The authors noted that dashcam data is so noisy that SfM results can still be unstable; they had to run experiments multiple times to get average performance metrics.
- Future Directions: The authors suggest integrating this motion-aware matching into real-time SLAM systems and exploring how it might benefit other "constrained motion" platforms, like rail-mounted cameras or specific types of robotics.
Summary updated