Abstract
Traffic monitoring cameras are powerful tools for traffic management and essential components of intelligent road infrastructure systems. In this paper, we present a vehicle localization and traffic scene reconstruction framework using these cameras, dubbed as CAROM, i.e., "CARs On the Map". CAROM processes traffic monitoring videos and converts them to anonymous data structures of vehicle type, 3D shape, position, and velocity for traffic scene reconstruction and replay. Through collaborating with a local department of transportation in the United States, we constructed a benchmarking dataset containing GPS data, roadside camera videos, and drone videos to validate the vehicle tracking results. On average, the localization error is approximately 0.8 m and 1.7 m within the range of 50 m and 120 m from the cameras, respectively.
Introduction
Traffic monitoring cameras are ubiquitous in modern urban environments, yet they present significant challenges for automated management systems. High-definition video streams consume immense bandwidth and storage, while the raw footage contains unstructured information that is difficult to analyze. Furthermore, perspective distortion makes determining a vehicle's actual speed or 3D position from a flat 2D image mathematically complex. Finally, privacy concerns regarding personally identifiable information (PII), such as faces and license plates, often prevent government agencies from sharing data with researchers.
CAROM (CARs On the Map) addresses these issues by transforming standard 2D traffic camera footage into structured, anonymous 3D data records. By extracting vehicle types, 3D shapes, positions, and velocities, it allows for the creation of "digital twins" of traffic scenes, reducing data storage needs and protecting driver privacy.
Methods
The CAROM framework is divided into three main subsystems: Tracking, Reconstruction, and Replay.
1. The Tracking System
The tracking pipeline uses a multi-stage approach to identify and locate vehicles:
- Detection & Segmentation: A fine-tuned Mask R-CNN identifies vehicles and creates precise pixel-level masks.
- Type Recognition: A ResNet-18 classifier categorizes vehicles into 15 distinct types (e.g., sedan, SUV, semi-truck).
- Localization: To map 2D pixels to a 3D ground plane, the system uses RANSAC on optical flow vectors to identify vanishing points on the horizon.
- State Estimation: A Kalman Filter smooths movement data to provide steady estimates of position and velocity.
2. Reconstruction System
Instead of simple bounding boxes, CAROM creates 3D meshes of vehicles using a shape-from-silhouette method. To compensate for the limited view of a single camera, the framework utilizes a 3D shape prior. By performing Principal Component Analysis (PCA) on 80 different CAD models, the authors created a generic vehicle model that can be deformed to fit the specific silhouettes captured by the cameras.
3. Replay Engine
The final output is a visualizer that can "re-play" the traffic scene on either a 2D satellite map or a high-resolution 3D mesh map, providing a bird’s-eye view that is much easier for humans and automated systems to interpret than a skewed camera angle.
Datasets and Evaluation
The authors collaborated with a local Department of Transportation (DOT) in the U.S. to build a custom benchmarking dataset. This included standard roadside camera video, drone video for wide-area ground truth, and high-accuracy differential GPS data from a test vehicle to validate localization and speed measurements. A separate dataset of 10,200 images was used to train the vehicle type classifier.
Key Results
- Localization Accuracy: The system achieved an average error of 0.8 meters within 50 meters of the camera and 1.7 meters at a distance of 120 meters.
- Speed Accuracy: Velocity measurements were accurate within 1 m/s compared to GPS and drone references.
- Classification: The vehicle type recognizer achieved 84% accuracy across 15 different vehicle classes.
- Privacy and Efficiency: By converting video into 3D reconstructions, PII is naturally stripped away, making the data "anonymous by design" and significantly smaller than raw video files.
Limitations and Future Work
Current limitations include difficulties with vehicle occlusion and the assumption of a perfectly flat road surface. Future work aims to incorporate neural network pose estimators to handle occlusions and expand the system to include vulnerable road users like pedestrians and cyclists. Ultimately, this data could be used to calculate real-time safety metrics for autonomous vehicle navigation at complex intersections.
Summary updated