View License

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

» Watch video

Highlights from
OPTICAL CHARACTER RECOGNITION(lower case and space included)

4.4 | 14 ratings Rate this file 77 Downloads (last 30 days) File Size: 52 KB File ID: #31322 Version: 1.0
image thumbnail

OPTICAL CHARACTER RECOGNITION(lower case and space included)


Ankit Saroch (view profile)


OCR to recognize upper/lowercase letters, numerals and spaces from a digital image.

| Watch this File

File Information

this project aims at recognizing

characters from a text image.

Both the uppercase and lowercase letter with numerals are recognized.

And spaces are also recognized within different words.

The process of OCR involves several steps including segmentation, feature extraction, and classification.
OCR.m is the principal file


Optical Character Recognition (Ocr) inspired this file.

MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (20)
10 Jan 2017 Babatunde Lawal

Thank you, a great work indeed.

09 Dec 2016 abdelrahman yosry

08 Sep 2016 Duc Hoang

22 Aug 2016 amruth annegowda

19 Apr 2016 Kevin Adamek

What font does this work for?

30 Mar 2015 Ankit Saroch

Ankit Saroch (view profile)

@Venkat, Sai and Paul, I'm not in touch with MATLAB for a while now, as far as i remember I've created the fonts in MS Paint. Just make sure the resulting image is not pixelated.

Comment only
29 Mar 2015 Venkata Apurupa Nagasuri

please tell me how bmp files for different fonts are created

Comment only

How to make .bmp files for different styles of fonts. Can any one help me on this.
my mail id is:
i tried a lot with photoshop and paint but its not working.

06 Mar 2015 Paul Chambers

Nice work. Could you tell me what you used to create the letters for lower case? I'm interested in expanding this to include Russian text.

Comment only
24 Dec 2014 smruti

smruti (view profile)

sir your idea is very good,but please will you help me to get the code for detecting space in text.and will it be possible to detect the type of statement extracted plz help me out .i am beginner in MATLAB

27 May 2014 luis

luis (view profile)


25 Mar 2014 NA

NA (view profile)

it is showing an eroor at line 70
letter = read_letter(img_r,num_letras);
??? Undefined function or method 'read_letter' for input arguments of type 'double'.

Error in ==> OCR at 70
letter = read_letter(img_r,num_letras);
do correct it please

Comment only
30 Sep 2013 harshwardhan deshmukh

very well done!
its really helpfull for me as a beginner.

19 Apr 2013 memo

memo (view profile)

19 Apr 2013 memo

memo (view profile)

Firstly this program is very very useful and good effort !!
I have a question :) what if we would recognize arabic letters instead of english ? like أ و ب ت ف ع ن م ك ة

Comment only
11 Apr 2013 Ankit Saroch

Ankit Saroch (view profile)

Nopes, I haven't referred to any IEEE paper for this...

Comment only
09 Apr 2013 Sam Terry

Really useful.. could you please tell me if you have referred to any IEEE paper or so?

27 Mar 2013 Chandra Shekhar

Great work.

20 Feb 2012 kasturi basu

01 Jul 2011 Ahmet

Ahmet (view profile)

Contact us