matlab - 使用 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]);
解决方案
推荐阅读
- c++ - 如何为着色器的每个顶点提供 14 个浮点值?
- rust - 如何在包含将所有值转换为字符串的不同类型的切片值的枚举上实现迭代器?
- javascript - 如何在 botpress 中添加自定义语言?
- merge - 如何合并不同聚类方法的聚类结果?
- javascript - 在 CMS 更新时动态更改 Express 路线
- nginx - nginx 正在寻找不应该的目录
- php - isset 可以在 for 循环的条件下使用吗?
- angular - 在角度服务中返回 vs 暴露 observable
- vb.net - 使用 WinApi 函数 EnableWindow 禁用/启用窗口
- r - 在R中制作错误分类表