【发布时间】:2015-09-07 20:19:10
【问题描述】:
我正在尝试使用 MATLAB 的 OCR 进行字符识别。这就是我正在做的-
I=imread('ocr.jpg');
imshow(I);title('Original Image');
results = ocr(I);
word = results.Text
这是图片ocr.jpg
但这是我得到的输出-
word =
基本上它无法识别字符F。
这是我关注的链接-
http://in.mathworks.com/help/vision/examples/recognize-text-using-optical-character-recognition-ocr.html
【问题讨论】:
-
你读过这篇文章了吗?
What Went Wrong?调整“TextLayout”参数没有帮助。要了解 OCR 继续失败的原因,您必须调查在 ocr 中执行的初始二值化步骤。您可以使用 graythresh 来检查这个初始二值化步骤,因为 ocr 和 graythresh 都使用 Otsu 的方法进行图像二值化。
标签: matlab image-processing ocr matlab-cvst