Coder Social home page Coder Social logo

akshitsarin / handwriting-recognition-using-convolutional-neural-networks Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 13.26 MB

Prediction of User-Drawn Digits using Convolutional Neural Networks through Python. Created using flask. Allows the user to draw a digit and predicts the number using the Keras API and Tensorflow.

Python 2.21% Jupyter Notebook 92.16% CSS 1.32% JavaScript 2.01% HTML 2.29%

handwriting-recognition-using-convolutional-neural-networks's Introduction

Handwriting-Recognition-using-Convolutional-Neural-Network

Prediction of User-Drawn Digits using Convolutional Neural Networks inside a web-app, created using Flask MicroFramework for Python.
The web-app allows the user to draw a digit on a virtual canvas and predicts the drawn digit using Keras-API and Tensorflow in python.

Updated README:

As of May 2020, more than half of the functions are either out-dated / depreciated. The project was created in 2017, and the supporting library versions for the dependencies are as follows:

tensorflow: v0.10.0
keras: v1.1.0
scikit-learn: v0.19.0
numpy: v1.14.1

Structure:

The project uses the MNIST database of handwritten digits, with normalized sizes. The dataset is divided into 4 parts - Training Images, Training Labels, Test Images and Test Labels.
The keras model created is stored in the model.h5 file (HDF5 type). For each prediction, the model is loaded into the flask web-app through the load.py file inside the model folder.
The pattern drawn on the canvas is converted into output.png. app.py loads the image, applies normalization (converting the image into 28x28 pixels), which is then passed into the predict method of the model. The value is then returned to the index.html page.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.