This project focuses on image classification using the CIFAR-10 dataset. Two models, ANN and CNN, are trained on 32x32 color images spanning 10 different classes. The dataset undergoes preprocessing, after which the models are built, trained, and evaluated.
- πΉ Artificial Neural Network (ANN) implementation
- πΉ Convolutional Neural Network (CNN) implementation
- πΉ Utilizes TensorFlow and Keras
- πΉ CIFAR-10 dataset for multi-class classification
- πΉ Model evaluation & visualization with Matplotlib
The CIFAR-10 dataset consists of 60,000 images (50,000 for training, 10,000 for testing) classified into:
πΉ Airplane
πΉ Automobile π
πΉ Bird π¦
πΉ Cat π±
πΉ Deer π¦
πΉ Dog πΆ
πΉ Frog πΈ
πΉ Horse π΄
πΉ Ship π’
πΉ Truck π
An interactive GUI is included for testing the model with custom images.
- Upload an image for classification
- Get real-time predictions
- Compare ANN vs CNN performance
Ensure you have Python installed along with required libraries:
pip install tensorflow numpy matplotlib tkintergit clone https://github.com/yourusername/image-classification.git
cd image-classificationpython train_model.pypython gui.pyThe models are trained and evaluated based on accuracy and loss metrics.
| Model | Accuracy (Test) |
|---|---|
| ANN | 65% |
| CNN | 85% |
Feel free to contribute! Open an issue or submit a pull request.
This project is licensed under the MIT License.
For any queries, reach out to me at: [email protected]
