问题描述
是否可以在不使用任何第三方API的情况下从图像中读取文本?
Is it possible that read text from an image without using any third party APIs?
推荐答案
是的,你绝对可以写您自己的(OCR)软件。它的稳健性完全取决于你投入的努力。
Yes, you can definitely write your own optical character recognition (OCR) software. It's robustness depends entirely on the effort you put into it.
例如,识别精确大小和字体的字符可以像对已知字符形状的区域匹配一样简单;更一般的策略可能需要某种统计匹配甚至机器学习技术。
For example, recognizing characters of an exact size and font could be as simple as region matching against known character shapes; more general strategies might require some sort of statistical matching or even machine learning techniques.
OCR仍然是顶级计算机科学大学和机构的一个活跃的研究领域(例如谷歌),所以不要指望找到任何快速简便的解决方案。
OCR is still an active area of research at top-tier computer science universities and institutions (e.g. Google), so don't expect to find any quick-and-easy solutions.
这篇关于使用java从图像中提取文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!