首页 > 解决方案 > 使用 Matlab 的 OCR 识别数学方程

问题描述

我正在尝试使用 Matlab 的 ocr 来识别数学方程,但结果是一些未知字符。这是我的输入:

输入

输出是:

这个

我该如何改进或解决这个问题?我只是按照 ocr 文档上的代码并使用MathEquations. 这是我使用的代码:

x = imread('1.png');
results = ocr(x,'Language', 'MathEquation')
recognized = results.Text;
figure;
imshow(x);
text(600,150, recognized,'BackgroundColor', [1 1 1]);

标签: matlabimage-processingocr

解决方案


推荐阅读