The most simple traffic light classification CNN machine learning model.
This project demonstrates a basic Convolutional Neural Network (CNN) model for classifying traffic lights into three categories:
- Go (Green light)
- Stop (Red light)
- Slow (Yellow light)
The model is lightweight and designed for straightforward implementation, suitable for absolute beginners and those exploring computer vision concepts in machine learning.
- Easy to understand: Designed with simplicity in mind to make it accessible for learners.
- Fast training: Optimized for quick experimentation and iteration.
- Basic preprocessing: Includes fundamental steps to prepare data for training.
The goal of this project is to create a simple yet functional machine learning model for recognizing traffic lights. This prototype can serve as a starting point for more complex systems, such as those assisting the visually impaired or autonomous vehicles.
-
Preprocess the dataset
-
Train the model
-
Test the model
-
Evaluate the performance of the model using metrics such as accuracy or F1-score.
The CNN model consists of:
- Convolutional layers for feature extraction.
- MaxPooling layers for dimensionality reduction.
- Fully connected layers for classification.
The architecture has been kept simple for educational purposes.