How can I determent baseline in arabic handwriting
2 views (last 30 days)
Show older comments
I have problem in detect Arabic handwriting baseline . first i I used nested forloop to sum the black pixel in each line ,then the row which have max value it is baseline . so some tel me use histogram,but i don't now how to determend .
Image = imread('40-1.png');
%-----------------------------------------------
imshow(d);
BW = im2bw(d,0.8);
nelements = hist(BW)
[row,col]=size(BW)
%_______________________________
z=plot(BW)
%***********************************
c=0;
counts=0;
cou=0;
for i=1:row
for j=1:col
if (bw(i,j)==0)
c(i)=c(i)+1
end
end
s(i)=c(i)
end
V=max(s)
0 Comments
Answers (1)
Image Analyst
on 24 Mar 2014
For successful algorithms, see http://iris.usc.edu/Vision-Notes/bibliography/contentschar.html#OCR,%20Document%20Analysis%20and%20Character%20Recognition%20Systems
23.4.8.2 Arabic Character Recognition
23.4.8.3 Arabic Recognition, Word Level, Word Spotting
6 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!