Sei sulla pagina 1di 12

HANDWRITTEN

DIGIT REGONIZER
USING NEURAL NETWORKS AND SVM

OBJECTIVE
To successfully implement neural networks and
SVM to make a digit recognizer with high
accuracy. The idea is to take a large number of
handwritten digits, known as training examples,
and then develop a system which can learn from
those training examples. In other words, the
neural network uses the examples to
automatically infer rules for recognizing
handwritten digits.

INTRODUCTION
Digit recognition system is used for recognizing
the digit in various font types, and/or for
handwritten digits and converting them into
digital numerals. This project is a combination of
digit detection and recognition. This application
uses the input image to detect digits given by
the user and perform basic operations
accordingly

Modules
Module

1: Loading of MNIST training data.

We used the MNIST data set, which contains tens of


thousands of scanned images of handwritten digits,
together with their correct classifications.
Module

2: Representation of neural network.

The wordnetworkin the term 'artificial neural network'


refers to the interconnections between the neurons in
the different layers of each system. A system has three
layers. The first layer has input neurons which send data
via synapses to the second layer of neurons, and then
via more synapses to the third layer of output neurons.

Modules
Module

3: Applying SGD.

Stochastic Gradient descentis afirstorderoptimizationalgorithm. To find alocal minimumof


a function using gradient descent, one takes steps
proportional to thenegativeof thegradient (or of the
approximate gradient) of the function at the current
point.
Module

4: Implementing SVM and making

GUI.
Using Support Vector Machine, SVM as a classifier makes
performance better than neural networks in terms of

PROGRESS LAST TIME


We

had been successful in making a simple digit recognizer


using predefined data (digits) for recognition.
The dataset we used for our project was MNIST dataset.
We had implemented a simple neural network and trained it
from the given dataset to predict the given digit.
We also had implemented Stochastic Gradient Descent
Algorithm instead of regular logistic regression algorithm to
train the neural network.

EARLIER SNAPSHOTS

PROGRESS THIS TIME


We

used applied SVM algorithm to see if it improves the


accuracy of the classifier.
Now we have made a simple GUI for the digit recognizer.
The GUI now
Loads the MNIST data into system,
Trains the machine from MNIST dataset,
Takes the digit from the user, and,
Displays the predicted digit.

DEMO SCREENSHOTS

DEMO SCREENSHOTS

CONCLUSION
The

digit recognizer will recognize the handwritten digit


in the image which will be provided from the user.
The future scope includes improving the accuracy of
data prediction.
Future scope also includes making a better GUI for user
friendly interface.

THANK
YOU

Potrebbero piacerti anche