4.0

4.0 | 13 ratings Rate this file 575 downloads (last 30 days) File Size: 98.28 KB File ID: #18169

Optical Character Recognition (OCR)

by Diego Orlando Barragan Guerrero

 

31 Dec 2007 (Updated 09 Feb 2009)

Code covered by BSD License  

The aim of OCR is to classify optical patterns corresponding to alphanumeric or other characters.

Download Now | Watch this File

File Information
Description

The aim of Optical Character Recognition (OCR) is to classify optical patterns (often contained in a digital image) corresponding to alphanumeric or other characters. The process of OCR involves several steps including segmentation, feature extraction, and classification. This program use Image Processing Toolbox to get it.

For more information, visit: http://www.matpic.com (spanish)
or http://www.eqbyte.com (english)

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.1.0 (R14SP3)
Zip File Content  
Other Files
OCR/create_templates.m,
OCR/letters_numbers/,
OCR/letters_numbers/0.bmp,
OCR/letters_numbers/1.bmp,
OCR/letters_numbers/2.bmp,
OCR/letters_numbers/3.bmp,
OCR/letters_numbers/4.bmp,
OCR/letters_numbers/5.bmp,
OCR/letters_numbers/6.bmp,
OCR/letters_numbers/7.bmp,
OCR/letters_numbers/8.bmp,
OCR/letters_numbers/9.bmp,
OCR/letters_numbers/A.bmp,
OCR/letters_numbers/B.bmp,
OCR/letters_numbers/C.bmp,
OCR/letters_numbers/D.bmp,
OCR/letters_numbers/E.bmp,
OCR/letters_numbers/F.bmp,
OCR/letters_numbers/G.bmp,
OCR/letters_numbers/H.bmp,
OCR/letters_numbers/I.bmp,
OCR/letters_numbers/J.bmp,
OCR/letters_numbers/K.bmp,
OCR/letters_numbers/L.bmp,
OCR/letters_numbers/M.bmp,
OCR/letters_numbers/N.bmp,
OCR/letters_numbers/O.bmp,
OCR/letters_numbers/P.bmp,
OCR/letters_numbers/Q.bmp,
OCR/letters_numbers/R.bmp,
OCR/letters_numbers/S.bmp,
OCR/letters_numbers/T.bmp,
OCR/letters_numbers/Thumbs.db,
OCR/letters_numbers/U.bmp,
OCR/letters_numbers/V.bmp,
OCR/letters_numbers/W.bmp,
OCR/letters_numbers/X.bmp,
OCR/letters_numbers/Y.bmp,
OCR/letters_numbers/Z.bmp,
OCR/lines.m,
OCR/OCR.m,
OCR/read_letter.m,
OCR/readme.txt,
OCR/readme_leeme(esp).txt,
OCR/templates.mat,
OCR/TEST_1.JPG,
OCR/TEST_2.JPG,
OCR/TEST_3.JPG,
OCR/text.txt
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (20)
07 Jan 2008 Austin K

this is a very good work.
a very good logic and simple to understand .
yet there are lot of sectors which can improve.
and i dont know why it happens is that there is a error while loading the templates.
always shows that the file was corrupted.
any way best wishes and once again good work.

07 Jan 2008 Diego Barragán

Hi, this is Diego Barragán, from Ecuador.

I appreciate your comments about OCR.

The error perhaps is due the version of MATLAB. I use version 7.1.0.246 (R14) Service Pack 3.

And other restriction of OCR is the size of letter. The size must be bigger or equal to 42 x 24 pixels.

Regards.

08 Jan 2008 John Smith

Good application

16 Jan 2008 Vihang Patil

Nice work. Tried creating my own images of numbers and names alike and found sometimes some letters being wrongly identified, especially I, 1, O,0,Q
Other than that nice work!

26 Feb 2008 Pradeep Mapitigama

Dear Sir,
I'm doing handwritten english character recognition.Please guide me to progress this project.I'm doing this for fullfill the MSc.in computer science.
thanks lot.

01 Mar 2008 Tran Dinh Vuong

Dear Sir, I'm doing handwritten english character recognition.Please guide me to progress this project. thanks lot.

05 Mar 2008 raghav khanna

can u tell me wat feature algorithm r u using??

19 Mar 2008 Paul Paul  
20 Mar 2008 eklil alwrd  
04 Apr 2008 Bilal KONUK

hi author
i am using matlab 6.5 version. Can i work your project my matlab?

08 Apr 2008 minnal sagi

fine

14 Apr 2008 manish arora

these files really works..
result not being 100%..

20 May 2008 firas aakroum

?????

09 Sep 2008 ved vrath

cz

05 Dec 2008 athi rayan

hello sir please give me as a compltet report in ocr

25 Mar 2009 Rushmi

It works great.But for images with dots or small patches the result is ambiguous.If the code can eliminate this problem,(not recognizing non characters) it will be a good algorithm for character recognition.

07 Aug 2009 yusor

Anybody can help me? My FYP is about converting an image to text. Image may be frim newpaper (anywhere) and should be converted into text and saved into Doc. or pdf but it must retain the oiginal format.

Thank u,
Yusser

10 Sep 2009 karthik sarma

this program is not working for other image files. i created some image files using paint in ariel and times new roman font. the program failed to give correct result

03 Nov 2009 Cong Zhou  
03 Nov 2009 Cong Zhou

good job!

Please login to add a comment or rating.
Updates
02 Jan 2008

Update

03 Jan 2008

update

23 Jun 2008

update

26 Jun 2008

update

09 Feb 2009

update

Tag Activity for this File
Tag Applied By Date/Time
application Diego Orlando Barragan Guerrero 22 Oct 2008 09:41:03
ocr Diego Orlando Barragan Guerrero 22 Oct 2008 09:41:03
optimal character recognition Diego Orlando Barragan Guerrero 22 Oct 2008 09:41:03
optical patterns Diego Orlando Barragan Guerrero 22 Oct 2008 09:41:03
a Diego Orlando Barragan Guerrero 22 Oct 2008 09:41:03
digital image Diego Orlando Barragan Guerrero 22 Oct 2008 09:41:03
ocr chetan p 26 Mar 2009 05:05:41
application Hemant 27 Apr 2009 04:32:26
ocr Whielda Fitria 20 May 2009 05:44:27
ocr Alberto Pelayo 20 May 2009 19:16:47
application Alberto Pelayo 20 May 2009 19:16:51
a Alberto Pelayo 20 May 2009 19:16:55
digital image Alberto Pelayo 20 May 2009 19:17:05
optical patterns Alberto Pelayo 20 May 2009 19:17:08
optimal character recognition Alberto Pelayo 20 May 2009 19:17:10
a gayan Priyanatha 23 Jun 2009 13:16:09
a Divyakanth 26 Jul 2009 23:40:23
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com