Top Banner
WELCOME WELCOME
23

Handwritten Digit Recognition ppt

Nov 19, 2014

Download

Documents

tharun

this might be useful for those who want give seminar's regarding handwritten digit recognition
just an overview
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Handwritten Digit Recognition ppt

WELCOMEWELCOME

Page 2: Handwritten Digit Recognition ppt

A Neural Network For A Neural Network For Handwritten Digit Handwritten Digit

RecognitionRecognitionS.Praveen KumarS.Praveen Kumar(07Q71A0597) (07Q71A0597)

&&V.Tharun ReddyV.Tharun Reddy(07Q71A05B8)(07Q71A05B8)

Final YearFinal YearDept. of Computer Science & Dept. of Computer Science &

EngineeringEngineering

Avanthi Engineering CollegeAvanthi Engineering College

Page 3: Handwritten Digit Recognition ppt

AGENDA AGENDA How and Where Handwritten Digit Recognition How and Where Handwritten Digit Recognition

is used?is used?

What are the several techniques used What are the several techniques used for Preprocessing thethe H Handwritten Digit andwritten Digit Recognition, as well as a number of ways in Recognition, as well as a number of ways in which neural networks were used for the which neural networks were used for the recognition task?recognition task?

Main goal of this system?Main goal of this system?

Page 4: Handwritten Digit Recognition ppt

IINTRODUCTIONNTRODUCTION

A handwritten digit recognition system was used to A handwritten digit recognition system was used to visualize artificial neural networks. It is already widely used visualize artificial neural networks. It is already widely used in the automatic processing of bank cheques, postal in the automatic processing of bank cheques, postal addresses, in mobile phones etcaddresses, in mobile phones etc

To perform digit recognition, some basic knowledge on To perform digit recognition, some basic knowledge on neural network and image processing is needed. But, the neural network and image processing is needed. But, the customer may use it without any prior knowledge in image customer may use it without any prior knowledge in image processing or neural network.processing or neural network.

Some of the existing systems include computational Some of the existing systems include computational intelligence techniques such as artificial neural networks or intelligence techniques such as artificial neural networks or fuzzy logic, whereas others may just be large lookup tables fuzzy logic, whereas others may just be large lookup tables that contain possible realizations of handwritten digits.that contain possible realizations of handwritten digits.

Page 5: Handwritten Digit Recognition ppt

Neural NetworksNeural Networks

Artificial neural networks have been developed since the 1940s.Artificial neural networks have been developed since the 1940s.

Artificial neural networks, usually called neural networks (NNs), Artificial neural networks, usually called neural networks (NNs), are systems composed of many simple processing elements are systems composed of many simple processing elements (neurons) operating in parallel whose function is determined by(neurons) operating in parallel whose function is determined by

1) Network Structure1) Network Structure

2) Connection Strengths and2) Connection Strengths and

3) The Processing performed at Computing 3) The Processing performed at Computing elements or nodes. elements or nodes.

Page 6: Handwritten Digit Recognition ppt

TWO MAIN GROUPSOF

NEURAL NETWORK

SUPERVISEDLEARNING

UN-SUPERVISEDLEARNING

Page 7: Handwritten Digit Recognition ppt

Handwritten DigitHandwritten DigitRecognitionRecognition

Preprocessing:Preprocessing: It is used to eliminate extra problems due to non-class-specific differences like

1) Size2) Shear3) Line thickness4) Background and Digit colors5) Resolution, etc.

Page 8: Handwritten Digit Recognition ppt

FEW TECHNIQUES TOFEW TECHNIQUES TOMINIMIZE THE DIFFERENCESMINIMIZE THE DIFFERENCES

a) Deskewing:

The deskewing process works as follows:

1.An imaginary line is drawn through the digit:This imaginary line can be described by an equation x = ay + b, where x and y are the horizontal and vertical pixel index, respectively, and a and b are line parameters.

2.A side slip is performed:In formula: xnew = xold − ay for every pixel, resulting in the new line x =b.

3.Slant is removed by performing rotation:

Page 9: Handwritten Digit Recognition ppt

(d) right-leaning (e) side slip (f) rotation

(c) rotation(a) left-leaning (b) side slip

Page 10: Handwritten Digit Recognition ppt

b) b) Thinning:Thinning:

(a) threshold original (b) thinned (with spurs) (c) Pruned (by 5 pixels)

The digit images are thinned to a thickness of one pixel.

This can lead undesired side-effects ,such as spurs.

Page 11: Handwritten Digit Recognition ppt

The benefits of the thinning process far outweigh the negative sides.

(d) smoothed (e) thinned

The need for pruning can be avoided by Smoothing the handwritten digit image before thinning, as seen in Figs. d and e.

Page 12: Handwritten Digit Recognition ppt

c) c) SmoothingSmoothing::

Some acquisition methods may cause Some acquisition methods may cause small artifacts on the digit’s edges. small artifacts on the digit’s edges. These are removed by a smoothing These are removed by a smoothing operation.operation.

Effective smoothing can be Effective smoothing can be accomplished by filling tiny gaps in both accomplished by filling tiny gaps in both the foreground and the background.the foreground and the background.

Page 13: Handwritten Digit Recognition ppt

d) d) Resizing:Resizing:

Differences in digit size are due to different Differences in digit size are due to different image resolutions and handwriting styles.image resolutions and handwriting styles.

To minimize the effect of these To minimize the effect of these differences, all digits are differences, all digits are resampled/rescaled to the same size in resampled/rescaled to the same size in pixels, before being fed to the recognizer.pixels, before being fed to the recognizer.

Page 14: Handwritten Digit Recognition ppt

RESULTSRESULTS

A neural network, which is trained with 10000 handwritten A neural network, which is trained with 10000 handwritten digit images from in image database, is shipped together digit images from in image database, is shipped together with thiswith thislibrary as default neural network model.library as default neural network model.

By performing benchmarking on 8920 handwritten digit By performing benchmarking on 8920 handwritten digit images from image database, the following recognition images from image database, the following recognition raterateis achieved.is achieved.

Page 15: Handwritten Digit Recognition ppt

RECOGNITION RATING TABLERECOGNITION RATING TABLE

Page 16: Handwritten Digit Recognition ppt

SET OF HANDWRITTEN SET OF HANDWRITTEN DIGITSDIGITS

a) a) TRAININGTRAINING b) b) TESTINGTESTING

Page 17: Handwritten Digit Recognition ppt

Example for a single Digit Example for a single Digit RecognitionRecognition

Page 18: Handwritten Digit Recognition ppt

Example for a String RecognitionExample for a String Recognition

Page 19: Handwritten Digit Recognition ppt

IPHONE-MOBILESIPHONE-MOBILESWITH HANDWRITTEN DIGIT WITH HANDWRITTEN DIGIT

RECOGNITION FEATURERECOGNITION FEATURE

BEFOREBEFORE AFTERAFTER

Page 20: Handwritten Digit Recognition ppt

CONCLUSIONCONCLUSION

The main goal is purely educational one, a moderate recognition rate of 98% was reached on a test set.

The The Handwritten Digit RecognitionHandwritten Digit Recognition is used is used to recognize the Digits which are written by hand.to recognize the Digits which are written by hand.

The handwritten digit recognition have also proven to be a The handwritten digit recognition have also proven to be a good neural network architecture and application for the good neural network architecture and application for the purpose of introducing and demonstrating neural networks purpose of introducing and demonstrating neural networks to the general public.to the general public.

Page 21: Handwritten Digit Recognition ppt

ReferencesReferences

1) Kohonen, T.: Self-Organizing Maps. 1) Kohonen, T.: Self-Organizing Maps. Springer- Verlag, Berlin (1995)Springer- Verlag, Berlin (1995)

2) Berend-Jan van der Zwaag Euregio - 2) Berend-Jan van der Zwaag Euregio - Computational Intelligence Center - Dept. Computational Intelligence Center - Dept. of Electrical Engineering - University of of Electrical Engineering - University of Twente Enschede, the NetherlandsTwente Enschede, the Netherlands

Page 22: Handwritten Digit Recognition ppt

ANYANYQUERIES ?QUERIES ?

Page 23: Handwritten Digit Recognition ppt

THANKTHANKYOUYOU