Traffic light recognition

Project with Adastec corporation

This project was in collaboration with Adastec Corporation as part of my Techlab @ MCity course. ADASTEC specializes in the delivery of level 4 automated driving software that is ready for real-world transit application. As part of our winter 2022 project, we implemented traffic light recognition using Deep Learning.

Traffic light recognition is an important safety feature for autonomous vehicles. In this project, we developed a deep learning model for traffic light recognition using the Faster RCNN and YOLOv4 algorithms.The Faster RCNN algorithm is a popular choice for object detection tasks because it is both accurate and efficient. For more details on this methods, see here. For the purpose of training this model, we make use of the Tensorflow object detection API. YOLOv4, on the other hand, is a newer algorithm that has demonstrated state-of-the-art performance on a variety of object detection benchmarks. To train and evaluate our models, we used the BOSCH Small Traffic Light Dataset.

The results were also tested by the data collected at MCity and also with that provided by Adastec. The below set of figures show the detection performance of YOLOv4.

Left: Performance of YOLOv4 with the pre-trained model. Right: Performance of YOLOv4 with additional training of upto 48 hours.

The below videos demonstrate the performance of the model for the MCity and Adastec data. It can be seen that the model is capable of predicting the location and the state of the traffic light with increased accuracy. The extended goal of this project is to fuse V2X and deep learning to make robust detections and classifications of the traffic signals especially during adverse weather conditions. Additionally, as part of the project we collected SPaT messages from the Mcity testing facility.

Left: Testing the model on Mcity Data. Right: Testing the model on Adastec Data (particulary data collected in bad weather).