Could someone explain about character segmentation and normalization for Optical character recognition? Complete with it's code?
1 次查看(过去 30 天)
显示 更早的评论
Could someone explain about character segmentation and normalization (especially high normalization) for Optical character recognition? Complete with it's code. If available especially for Arabic character image.
I've seen the code below (segmentation) and it's simple explanation, is there more complete explanation? but especially for optical character recognition segmentation and normalization.
stats = regionprops(img3); %segmentation
S = ' ';
for index=1:length(stats)
if stats(index).Area > 200 && stats(index).BoundingBox(3)*stats(index).BoundingBox(4) < 30000
x = ceil(stats(index).BoundingBox(1));
y= ceil(stats(index).BoundingBox(2));
widthX = floor(stats(index).BoundingBox(3)-1);
widthY = floor(stats(index).BoundingBox(4)-1);
subimage(index) = {img3(y:y+widthY,x:x+widthX,:)};
Thanks before.
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!