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