How to detect the tick mark & the letter separately and print as text using matlab from the following image?

2 ビュー (過去 30 日間)

回答 (1 件)

Image Analyst
Image Analyst 2015 年 9 月 14 日
I suggest you build a library of all letters a-z with and without checkmarks, and an image of the checkmark alone. Then subtract the test image from each of your library images and find out which one has the least number of differences.
To print the images you have determined from what I just said, you can use the fprintf() function.
  4 件のコメント
Farzana Yasmin
Farzana Yasmin 2015 年 9 月 18 日
I have used the following code & the output images are also given here. I'm unable to understand how can the detection be done & printed in text here?
clc
clear all
close all
I=imread('E:\Study\4-2\Project\A1p.jpg');
I=imresize(I,[100 100]);
figure
imshow(I), title('I');
J=imread('E:\Study\4-2\Project\Coding\OCR\library\bwidtick.jpg');
J=imresize(J,[100 100]);
figure
imshow(J), title('J');
z=I-J;
disp(z);
figure
imshow(z), title('z');
Image Analyst
Image Analyst 2015 年 9 月 19 日
See the FAQ to read in all your library images and subtract them from your extracted, test letter-parentheses-checkmark image. http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by