A deep learning project for recognizing English digits using Convolutional Neural Networks (CNN).
The Digit Recognizer project is designed to recognize handwritten English digits using a Convolutional Neural Network (CNN). This project is implemented in Python using TensorFlow and provides a user-friendly interface using Tkinter for drawing digits, predicting the handwritten digit, and visualizing the model's training history.
The purpose of this project is to showcase the application of deep learning techniques in image recognition, specifically for recognizing handwritten digits.
There is a pre-trained file digit_recognition_cnn_model.keras that has been given in this repository.
To use the Digit Recognizer, follow these steps:
- Run the main script,
gui.py. - Draw a digit on the canvas provided in the GUI.
- Click the "Predict" button to see the model's prediction.
- Use the "Clear Canvas" button to reset the canvas for a new input.
The CNN model used in this project is trained on the MNIST dataset.
Training Details The model is built using TensorFlow's Keras API. It consists of convolutional layers, max-pooling layers, and fully connected layers.
The trained CNN model achieved an accuracy of 98.8% on the validation set.
Make sure you have the required dependencies installed. You can install them using:
pip install -r requirements.txt

