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!