Introduction
While deep learning has revolutionized the field of computer vision, many state-of-the-art models are computationally expensive, requiring high-end GPUs that are impractical for deployment in actual vehicles. For autonomous driving and Advanced Driver Assistance Systems (ADAS), high accuracy is insufficient if the system cannot process frames fast enough to react to a dynamic road environment.
Researchers from the University of Moratuwa address this challenge by presenting an end-to-end framework designed specifically for real-time performance on embedded systems. Their work introduces a two-stage deep learning pipeline and a brand-new dataset, CeyRo, tailored for the unique road context of Sri Lanka.
The CeyRo Dataset
A significant hurdle in deploying traffic perception systems globally is geographic bias; most public datasets originate from the US, Germany, or China. Traffic signs vary significantly by country in terms of design, maintenance, and environmental context.
The CeyRo dataset is the first large-scale traffic perception dataset for Sri Lanka, featuring:
- 7,984 high-resolution (1080p) images captured across urban, sub-urban, and rural roads.
- 10,176 annotated instances spanning 70 traffic sign classes and 5 traffic light classes.
- Environmental Diversity: Data was collected under varying weather and lighting conditions, including tropical sun glare and deteriorated signage.
Methodology: A Two-Stage Pipeline
To balance the complexity of identifying 75 different classes with the need for speed, the researchers opted for a hierarchical two-stage architecture.
Stage 1: Detection and Localization
The system first identifies the location of a sign or light and assigns it to one of eight "superclasses" (e.g., Danger Warning, Speed Limit, or Traffic Light). The researchers compared two architectures for this task:
- Faster R-CNN (with a ResNet-50 backbone)
- SSD (with a MobileNet-v2 backbone)
Stage 2: Fine-Grained Classification
Once a potential sign is localized, the "crop" is passed to a lightweight ResNet-18 classifier. This second stage determines the exact specific class (e.g., identifying a specific speed limit value). By using "superclassing," the model handles the large number of classes more efficiently than a single-stage detector attempting to classify 75 items simultaneously in a high-resolution frame.
Hardware Optimization and Deployment
To achieve real-time performance on the Nvidia Jetson AGX Xavier, the team utilized Nvidia TensorRT for FP16 (half-precision) quantization. This optimization shrinks the model and streamlines computation paths specifically for the Jetson hardware. The entire stack was integrated into the Robot Operating System (ROS), ensuring the perception system can communicate seamlessly with other vehicle subsystems.
Key Results and Insights
The experimental results highlight the critical role of software optimization in edge computing:
- Inference Speed: The optimized SSD + ResNet-18 pipeline achieved a blistering 63 FPS, a massive jump from the 13 FPS achieved by the unoptimized version.
- Accuracy: The system reached an overall F1-score of 0.9241 and a precision of 0.9670.
- Architecture Performance: Interestingly, the single-stage SSD-MobileNet-v2 outperformed the more complex Faster R-CNN. While Faster R-CNN is often considered superior for small objects, SSD proved more robust and significantly faster for this specific pipeline.
- Real-world Robustness: Qualitative testing showed the model successfully handled sun glare, occlusions, and the weathered signs common in tropical environments.
Conclusion
The CeyRo framework demonstrates that real-time traffic perception on embedded systems is achievable through a combination of hierarchical architecture and hardware-specific optimization. While the authors noted that class imbalance remains a challenge for rare signs, the framework provides a robust foundation for ADAS in South Asian contexts and beyond. Future work will likely explore synthetic data generation to improve the detection of rare sign categories and further enhance robustness in extreme weather.
Summary updated