Skip to content

sarthak17jain/handwritten_digit_pred

Repository files navigation

Hand Written Digit Prediction

Trained a CNN model on the MNIST dataset.
-Used 2 convolutional layers of window size 5x5 and 3x3 and added 2 dense layers in the end.
-Data Augmentation to improve accuracy of model on user inputted data.
-Used Adam optimiser to achieve an accuracy of 98.9%.
-Saved the Model in tensorflow js format and loaded in into the js file.

Used Canvas HTML API for the user to draw the digits. Added JS Event listeners.

Live:

Works on both touch interfaces and computers. Predicts the Digit drawn by the user from 0-9 with confidence level:
Check out live website at: https://sarthak17jain.github.io/handwritten_digit_pred/

Preview:

Preview_gif

Preview gif

About

Predicts the Digit drawn by the user

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published