04-04-2017, 01:39 PM
hello all,
i am doing a project on handwrriten word extraction so for the i need a MATLAB code if anyone has please do email me jeevankumarjix124[at]gmail.com
source code for handwritten word extraction using matlab
|
I = imread('1.jpg');
bin_im = imcomplement(out);
bin_im = bwareaopen(bin_im,30);
bw1 = bin_im;
cc = bwconncomp(bw1)
cc.NumObjects
%Label the connected components
[Label,Total]=bwlabel(bw1,8);
%Rectangle containing the region
Sdata=regionprops(Label,'BoundingBox');
for i=1:Total
%Crop all the Images
Img = imcrop(bw1,Sdata(i).BoundingBox);
Name = strcat('Object Number:',num2str(i));
pathname1 = 'C:\Users\sahanpriyanga\Documents\MATLAB\stack\Words';
baseFileName1 = sprintf('Img%d.jpg',i);
fullFileName1 = fullfile(pathname1,baseFileName1);
imwrite(Img,fullFileName1);
end
This is the image that I have used.
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread | Author | Replies | Views | Last Post | |
voice vased email system source code | 0 | 3,124 |
20-04-2021, 07:59 AM Last Post: |
||
matlab code | 1 | 3,451 |
31-01-2019, 02:52 PM Last Post: [email protected] |
||
underwater optical communication matlab code | 0 | 3,292 |
02-11-2018, 07:32 PM Last Post: Guest |
||
ns2 source codes free download for hello flood attack | 0 | 2,832 |
31-10-2018, 02:42 PM Last Post: Guest |
||
vodafone postpaid bill in word format | 0 | 11,436 |
25-10-2018, 10:03 AM Last Post: Guest |
||
vodafone postpaid bill in word format | 0 | 11,345 |
24-10-2018, 08:56 PM Last Post: Guest |
||
voice based email for blinds source code | 0 | 713 |
22-10-2018, 05:12 PM Last Post: Guest |
||
source code for blood group detection in matlab | 0 | 6,462 |
22-10-2018, 10:59 AM Last Post: Guest |
||
voice based email for blinds source code | 0 | 699 |
21-10-2018, 07:58 PM Last Post: Guest |
||
voice based email for blinds source code | 0 | 635 |
21-10-2018, 07:43 PM Last Post: Guest |