Abstract
Intelligent transportation systems (ITS) have revolutionized modern road infrastructure, providing essential functionalities such as traffic monitoring, road safety assessment, congestion reduction, and law enforcement. Effective vehicle detection and accurate vehicle pose estimation are crucial for ITS, particularly using monocular cameras installed on the road infrastructure. One fundamental challenge in vision-based vehicle monitoring is keypoint detection, which involves identifying and localizing specific points on vehicles (such as headlights, wheels, taillights, etc.). However, this task is complicated by vehicle model and shape variations, occlusion, weather, and lighting conditions. Furthermore, existing traffic perception datasets for keypoint detection predominantly focus on frontal views from ego vehicle-mounted sensors, limiting their usability in traffic monitoring. To address these issues, we propose SKoPe3D, a unique synthetic vehicle keypoint dataset generated using the CARLA simulator from a roadside perspective. This comprehensive dataset includes generated images with bounding boxes, tracking IDs, and 33 keypoints for each vehicle. Spanning over 25k images across 28 scenes, SKoPe3D contains over 150k vehicle instances and 4.9 million keypoints. To demonstrate its utility, we trained a keypoint R-CNN model on our dataset as a baseline and conducted a thorough evaluation. Our experiments highlight the dataset's applicability and the potential for knowledge transfer between synthetic and real-world data. By leveraging the SKoPe3D dataset, researchers and practitioners can overcome the limitations of existing datasets, enabling advancements in vehicle keypoint detection for ITS.
Introduction
To manage traffic effectively, modern Intelligent Transportation Systems (ITS) must go beyond simple object detection; they require a nuanced understanding of a vehicle's 3D pose, orientation, and precise spatial positioning. While human pose estimation—the detection of joints and limbs—has reached a high level of maturity, vehicle keypoint detection (identifying specific semantic markers like headlights, wheel centers, and pillar corners) remains a significant challenge in the field of computer vision.
The primary bottleneck in this domain is the lack of specialized data. Most existing vehicle datasets, such as KITTI or nuScenes, are "ego-centric," featuring cameras mounted on moving autonomous vehicles. In contrast, traffic monitoring relies on static, high-angle cameras mounted on roadside infrastructure. These viewpoints introduce unique challenges, including extreme perspective shifts, varied weather conditions, and frequent occlusions from urban infrastructure. Manually annotating 3D keypoints in real-world video is prohibitively expensive and time-consuming, creating a massive data gap for researchers building roadside-specific models. To bridge this gap, we introduce SKoPe3D, a large-scale synthetic dataset designed specifically for 3D vehicle keypoint detection from a roadside perspective.
The SKoPe3D Dataset
SKoPe3D was developed to provide the density and diversity of data required for robust model training. Generated using the CARLA simulator and Unreal Engine 4, the dataset comprises:
- 25,000+ Images: Captured across 28 distinct scenes in seven virtual towns.
- 150,000+ Vehicle Instances: Featuring a wide variety of vehicle makes and models.
- 4.9 Million Keypoints: Each vehicle is annotated with 33 semantic keypoints, bounding boxes, and unique tracking IDs.
Unlike existing benchmarks like ApolloScape or Rope3D, SKoPe3D focuses specifically on providing dense keypoint annotations from elevated roadside viewpoints, making it a unique resource for infrastructure-based perception.
Methodology and Data Generation
The authors developed an automated pipeline to ensure high-fidelity annotations without the need for manual labeling. The process involves three primary stages:
1. 3D Annotation and Trilateration
Because the CARLA simulator does not natively support custom keypoint exports for all vehicle parts, the researchers employed a "trilateration" technique. They manually defined 33 keypoints on the 3D vehicle models and calculated their relative distances to the four wheel centers—points that CARLA can track natively. This geometric relationship allowed the system to mathematically recover the precise 3D coordinates of all 33 keypoints in every frame of the simulation.
2. Scene Configuration and Diversity
To ensure the model generalizes well to the real world, the dataset includes 28 different sites. The simulation varied environmental factors such as weather (rain, dawn, night), lighting conditions, and camera mounting angles. This diversity is critical for training models to handle the atmospheric interference and lighting shifts common in real-world traffic monitoring.
3. Occlusion Detection
A custom module was developed to handle the complexities of urban environments. Using depth maps, the system determines if a keypoint is obscured by buildings, vegetation, or other vehicles. If more than 50% of a vehicle's keypoints are hidden, the instance is marked as completely occluded, providing a realistic challenge for detection algorithms.
Experimental Results
To establish a baseline, a Keypoint R-CNN model (utilizing a ResNet50-FPN backbone) was trained on the SKoPe3D dataset. Performance was measured using the Percentage of Correct Keypoints (PCK) metric.
- Easy and Medium Scenes: The model achieved exceptional accuracy, with a PCK of 98.65% and 94.56% respectively at a high Intersection over Union (IoU) threshold of 0.9.
- Hard Scenes: Performance decreased to between 45% and 64% PCK. These "Hard" scenarios typically involved heavy traffic occlusion or vehicles at extreme distances where low resolution made fine-point localization difficult.
- Sim-to-Real Generalization: One of the most significant findings was the model's qualitative success on real-world data. Despite being trained exclusively on synthetic CARLA data, the model successfully identified keypoints on actual traffic camera footage from Tempe, Arizona. It even generalized to vehicle types not present in the simulation, such as specific pickup truck configurations.
Conclusion and Future Work
SKoPe3D demonstrates that synthetic data can effectively mitigate the high cost of manual annotation for ITS applications. The dataset's focus on geometric symmetry (32 of the 33 keypoints are symmetric) provides a vital foundation for model-fitting algorithms to estimate 3D orientation accurately.
Future research will focus on narrowing the sim-to-real gap by accounting for real-world sensor noise and atmospheric interference. Additionally, the authors plan to develop algorithms that leverage these detected keypoints to reconstruct exact 3D vehicle shapes and conduct more rigorous quantitative validation against manually annotated real-world "gold standard" test sets. By providing a high-density, roadside-specific dataset, SKoPe3D paves the way for more intelligent and safer road infrastructure.
Summary updated