Using both the COCO Model
to detect the traffic light and then the Custom Traffic Light Classification Model
to classify if the traffic light is either Red, Gren, Yellow or None.
The Traffic Light Classification Model was trained using Transfer Learning from the InceptionV3 Model, and with over 1000 Traffic Light Images, 250 Images for each Traffic Light Class.
The whole Code of the model is in the traffic_lights_detection.ipynb
file.
Traffic Light Datasets:
-
https://www.kaggle.com/datasets/wjybuqi/traffic-light-detection-dataset
-
https://www.kaggle.com/datasets/sachsene/carla-traffic-lights-images
Traffic Light Classification Model: