Traffic Light Classifier

A Traffic Light Classifier model built by extraction of the feature Average Brightness for the 3 sub-sections of a traffic light image corresponding to the 3 colors 1)Red 2)Yellow 3)Green

The feature Average Brightness is calculated by summing up the Value Parameter of image pixels(in 3 sub-sections) in HSV Color Space and then dividing the sum by the total area of the sub-sections of the image corresponding to the 3 colors respectively

The Classifier model attains an accuracy of 98.9 % with misclassifying only 3 images in the test-dataset.

Traffic Light Images Examples

traffic lights 2

traffic lights

Traffic Light Classification Results

a) Red Light Classification

avg_brightness_red

b) Yellow Light Classification

avg_brightness_yellow

c) Green Light Classification

avg_brightness_green