Skip to content

This is project for recognition of handwritten numerical digits(0-9) developed in Python using Deep Learning Neural Networks. The frontend interface is designed using pygame.

Notifications You must be signed in to change notification settings

flashzzz/Handwritten-Digit-Recognition-using-Deep_Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Handwritten-Digit-Recognition-using-Deep_Learning

This project recognizes the handwritten numerical digits(0-9) that are drawn on the drawing window.

How to use the project

Simply clone the repository and install all the packages in the requirements.txt file and run the interface.py file using python interpreter.

Dataset

The dataset that I used is MNIST as it has a good number of training examples that allowed me to build a powerful and accurate model.

image

Interface

  • The interface is designed using pygame to create an interactive window on which user can draw multiple digits one by one.
  • Pressing the key c clears the window.

screenshot 1

Details on the model

  1. The model is built using Convolutional Neural Networks with a total of 3 layers including the output layer and Dropout(to prevent overfitting).
  2. For the hidden layers activation used is 'ReLU' and for the output/classification the activation is 'softmax'.
  3. The model is trained using Keras Sequential API with training accuracy of 99.84% and testing accuracy of 98.98%
  4. It can clssify most of the digits pretty accurately even with a few irregularities(as shown below).

screenshot 2

About

This is project for recognition of handwritten numerical digits(0-9) developed in Python using Deep Learning Neural Networks. The frontend interface is designed using pygame.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •