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

조회 수: 2 (최근 30일)
Shavi
Shavi 2012년 5월 3일
편집: Image Analyst 2014년 1월 15일
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??

답변 (2개)

Aliyu Abdu
Aliyu Abdu 2012년 5월 3일
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
Aliyu Abdu
Aliyu Abdu 2012년 5월 3일
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.
kinjal shah
kinjal shah 2014년 1월 15일
i want the code for template matching...plzzz send me the code on kinjal2203@gmail.com

댓글을 달려면 로그인하십시오.


Andrei Bobrov
Andrei Bobrov 2012년 5월 3일
use
regexp(yourstring,'\w*')
regexp(yourstring,'[a-z]')
  댓글 수: 2
Shavi
Shavi 2012년 5월 3일
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 2012년 5월 3일
편집: Image Analyst 2014년 1월 15일
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

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by