我正在为区域语言进行字符识别。在提取图像时,点被分别识别为字符。
%% Plot Bounding Box
for n=1:size(propied,1)
rectangle('Position',propied(n).BoundingBox,'EdgeColor','g','LineWidth',2)
end
hold off
%% Characters being Extracted
figure
for n=1:Ne
[r,c] = find(L==n);
n1=imagen(min(r):max(r),min(c):max(c));
imshow(~n1);
end
原代码: http: //www.mathworks.com/matlabcentral/fileexchange/22922-image-segmentation-extraction