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

3 ビュー (過去 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