How to recognize lowercase letters in character recognition using MATLAB??

Please Help me as soon as possible.. As the templates are not working properly.. Also tell how to make the templates for letters and special characters??

Antworten (2)

Aliyu Abdu
Aliyu Abdu am 3 Mai 2012

0 Stimmen

Perhaps the template you're using isn't made for your work... Try modifying it or creating your own template. Here are a few suggestions; use an "image segmentation and extraction" code to crop the letters or characters and store them in a location. Use the appropriate template creation m-file to create the template. You can find these codes at the matlab "File Exchange".

3 Kommentare

ya.. i have seen d code posted dere and m using dat code. but tell me how to differentiate between 'C' and 'c' in template matching.. similarly in 'S', 's'. 'V' and 'v' like that..
Means when i am going to match the letter with the template then it is not differentiating between uppercase and lowercase as above stated.
Please guide..
Thanks
I don't know which of the OCR versions you are using. If you're using the one with both upper & lower case letters then consider replace the small character images in the folder "letters_numbers" with your own, cropped from the same image you're working on. Then run the "create_template" m-file to create your own template.
i want the code for template matching...plzzz send me the code on kinjal2203@gmail.com

Melden Sie sich an, um zu kommentieren.

use
regexp(yourstring,'\w*')
regexp(yourstring,'[a-z]')

2 Kommentare

I am not going to match a regular expression..
I have to match the letters with its corresponding templates..
SO wat is this for?
Walter Roberson
Walter Roberson am 3 Mai 2012
Bearbeitet: Image Analyst am 15 Jan. 2014
Shavi, you did not specify that you were using OCR, and you did not specify that you were using an OCR routine that is not provided by Mathworks. http://www.mathworks.com/matlabcentral/answers/36057-how-to-read-special-characters-using-matlab-in-ocr

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 3 Mai 2012

Bearbeitet:

am 15 Jan. 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by