Skip to content

πŸš€ Built a CNN-based digit classifier using the MNIST dataset 🧠✍️. Integrated with a Python GUI using Tkinter πŸ–ΌοΈ, allowing users to draw digits and get real-time predictions πŸ”’βœ¨. A fun fusion of deep learning and user interaction! πŸ–ŒοΈπŸ“Š

License

Notifications You must be signed in to change notification settings

Rahul-404/Handwritten-digit-recognition-MNIST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Handwritten-digit-recognition-MNIST

Handwritten Digit Recognition using Convolutional Neural Networks in Python with Keras

MNIST dataset:

MNIST is a collection of handwritten digits from 0-9. Image of size 28 X 28 MNIST

Description:

This is a 8 layers Sequential Convolutional Neural Network for digits recognition trained on MNIST dataset. I choosed to build it with keras API (Tensorflow backend) which is very intuitive.

It achieved 84.57% of accuracy with this CNN trained on a CPU, which took me about a 5-10minute. If you dont have a GPU powered machine it might take a little longer, you can try reducing the epochs (steps) to reduce computation.

Python Numpy Keras Tensorflow Type Type Status

Code Requirements:

python 3.x with following modules installed

  1. numpy
  2. keras
  3. opencv2

Execution:

pip install -r requirements.txt

python model.py

python run.py

Output Output

Built With

  • Keras - Keras is a deep learning API
  • Opencv2 - open-source computer vision library

Purpose

The purpose of this project was to gain introductory exposure to Deep Learning Classification concepts. The project makes heavy use of Keras(tensorflow in backend) and Opencv2 Libraries.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

πŸš€ Built a CNN-based digit classifier using the MNIST dataset 🧠✍️. Integrated with a Python GUI using Tkinter πŸ–ΌοΈ, allowing users to draw digits and get real-time predictions πŸ”’βœ¨. A fun fusion of deep learning and user interaction! πŸ–ŒοΈπŸ“Š

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages