File Exchange

image thumbnail

Character Recognition Example (I&II): Pre-processing of Image

version 1.0 (76.3 KB) by

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

17 Ratings



View License

This demo shows some examples for image pre-processing before the recognition stage. the first example is just some commnads of image processing which are commonly used for preprocessing, while the second example shows how to use the simple command to automate the image processing stage especially in generating training dataset for neural network for recognition purpose. More information ca be found at:

(recognition stage will be uploaded in next example)

Comments and Ratings (24)

Duc Hoang


how can do for letters

Jongsung Kim

where i can download this file???

Sana Moussa

please how can i download this file ?

Lahiru K

Thanks a lot...It will helpful.


Martin (view profile)

Only using bwlabel. That´s all!

when ever i type the function edu_imgpreprocess i am getting the error below
''Undefined function or method 'edu_imgpreprocess' ''
can anybody tell me what is happning please

sofia nadatul

hye tan chin luh.
i'm doing my final year project about postage stamps recognition..
i'm having problem in how to recognize the stamps because i've scanned the stamps and i didnt know how to uploads the stamps in the matlab..seriously its very tidious and hard project..i really hope u can help me..
thank you

if I need to recognize regional language
Can u explain me in brief ,how can i do that...??

plz contact me at

Marco Guevara

Muchas gracias, buen codigo, sirve de mucho, pero es posible mejorarlo...

ali raza


abdullah kuzhan

we ll see

Chuleeporn Kanthong

Thanks you for learning.I lived in Thailand .My name Chuleeporn Kanthong .I study Master degree in KhonKean University.I hope your mail to me.You are my friend. Bye .... Bye .

saleh ali

ravi maski

kailup Tan

Dear Tom G,
Thanks for your comment. I really dunno how to reply you since you're not leaving any email or contact. this program is written in ML 7, and might gives some error on ML 6.5 and below. refer to comments on I&II and III for more infor on this.

Dear Fabricio Nunes ,
I've replied you question, do check your mail and see whether it helps.... thanks


Fabricio Nunes

??? In an assignment A(:,matrix) = B, the number of elements in the subscript of A and the number
of columns in B must be the same.

Error in ==> D:\fabricioC\fabricio\visao\fonte\simplecharrec(III)\edu_imgpreprocess.m
On line 26 ==> Ic(:,4) = 1:50;

Error in ==> D:\fabricioC\fabricio\visao\fonte\simplecharrec(III)\char3.m
On line 8 ==> img = edu_imgpreprocess(I);

Tom G

Does not work!

ravi prasad can help me in doing my final year project.but can u plz give some idea about how to open and alter the "" file in your simplecharrec(III).zip file

fdhf hfh

ashok ghildiyal

Darunee Yuangmeay

its help us to lerning for our project in university

lissa anastasia can help me in doing my final year project.but can u give some simple code for the image segmentation and feature extraction for character recognition.tq

MATLAB Release
MATLAB 7.0.4 (R14SP2)

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

» Watch video