File Exchange

image thumbnail

Character Recognition Example (IV):Training a Simple NN for classification

version 1.0 (305 KB) by

This demo shows some examples for image pre-processing before the recognition stage.

29 Ratings



View License

This demo based on "Kailup Tan" works about handwriting recognition this version is more compatible and support Farsi/Arabic digit,
u can take some change for add other handwriting pattern it's so easy too use taste it

Comments and Ratings (39)

I can't load image into GUI ??

Duc Hoang

saman javed

how to run this code

Rituraj Soni

The code need to be improved as newff is replaced by feedforwadnet in new matlab version.

The algorithm behind, is a simple neural network. Basically, the images are resized to 7x5 pixcels (the crossed blue squares); then a NN is trained based on the traning data. The same procedure is applied on the test data, and finally the model predict the test


Dabira (view profile)

Please explain the working


sam (view profile)


Aditi (view profile)

Could you please explain how the recognition part is working..
Can we change the selected_ln and selected_col dynamically in the code?


please can u help me get a step by step idea of what you have done?? im doing a project on handwriting recognition system..


Bassem (view profile)

Plz can anyone tell me how to run this project


lola (view profile)


i liked it


hey can u tell me the logic behind th eproject, means wht faeure extraction method u have followed nd hw to use NN tool would be grt

Mr Smart

rahul singh

help me in giving ideas on how to extract characters of a handwriting

thanks a lot it is great project


Hamid (view profile)

Hamid Mavizi


kobe (view profile)

can someone pls give me a step by step guide on how to use the recognition, which m-file should i run and how do i perform the recognition?

Gamal Gamil

It's Good, Thank's

manju manu

i liked it

kjua amshu

to Tradi Vu,
you should run .m file,don't run .fig file

muna ali

abed alssalam abo odeh

Tradi Vu

Dear Sir, I'm doing handwritten english character recognition.Please guide me to progress this project.I have download your project.when I run it, occur an error following:
??? Error using ==> load
Unable to read MAT file C:\Documents and Settings\bimbim\My Documents\Downloads\Compressed\frODR\frODR\odrfr.fig
Please guide me to fix it. Thank you, sir.

rahime belen

zari zooki

i want a sample of ocr with neural network

saeid mirkamali

arash asadzadeh

thakks i'm arash and ianian also i glad too see your file here i hope have good time

Roei Aizler

Not work.

when I select "select"
he write error

??? Error using ==> axes
Invalid object handle.

Error in ==> odrfr>pushbutton2_Callback at 102

Error in ==> gui_mainfcn at 75

Error in ==> odrfr at 42
gui_mainfcn(gui_State, varargin{:});

??? Error while evaluating uicontrol Callback.


patardo manurungn

Ali Akhaee

vaishali bhagile

hamed nozari

Nurul Iman

good one



arthur c

this works fine and teach excelent

Pex -

I can't load image into GUI on Matlab 7. Error message is:

??? Attempt to reference field of non-structure array.

Error in ==> odrfr>pushbutton1_Callback at 87

Error in ==> gui_mainfcn at 75

Error in ==> odrfr at 42
gui_mainfcn(gui_State, varargin{:});

??? Error while evaluating uicontrol Callback.

mike hanson

So Great



BSD License

MATLAB Release
MATLAB 7.0.4 (R14SP2)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video