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

2 views (last 30 days)
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??

Answers (2)

Aliyu Abdu
Aliyu Abdu on 3 May 2012
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 Comments
Aliyu Abdu
Aliyu Abdu on 3 May 2012
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.

Sign in to comment.


Andrei Bobrov
Andrei Bobrov on 3 May 2012
use
regexp(yourstring,'\w*')
regexp(yourstring,'[a-z]')
  2 Comments
Shavi
Shavi on 3 May 2012
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 on 3 May 2012
Edited: Image Analyst on 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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!