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

2 vues (au cours des 30 derniers jours)

Réponses (1)

Image Analyst
Image Analyst le 14 Sep 2015
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 commentaires
Farzana Yasmin
Farzana Yasmin le 18 Sep 2015
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 le 19 Sep 2015
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

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by