使用命令行工具进行 ocr

发布于 2024-09-24 01:26:17 字数 378 浏览 3 评论 0 原文

我正在寻找一个执行 OCR 功能的 Windows 命令行工具。具体来说,我试图从这张图片中提取数字: http://img691.imageshack.us/img691/6075/wantocr.png

我尝试过 tesseract,发现它很糟糕。也许它需要我不知道的设置。我也尝试过其他一些,它们也很毒。一些在线的非常好,但我真的需要它作为命令行。

我非常感谢能够从上面链接的图像中准确提取数字的帖子。

非常感谢, 菲德尔

附注我可以做一些非常简单的图像处理,例如将其转换为空白和白色等。

I'm looking for a windows command line tool that does OCR. Specifically I'm trying to extract the number from this image:
http://img691.imageshack.us/img691/6075/wantocr.png

I've tried tesseract and found it quite poor imho. Perhaps it needs settings that I'm not aware of. I've tried a few others and they too were pretty poxy. Some of the online ones were quite good but I really need it to be a command line.

I would really appreciate posts that accurately extract the number from the image in the link above.

many thanks,
Fidel

p.s. I could do some very simple image processing like converting it to blank and white etc.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

静谧 2024-10-01 01:26:17

由于多年来这里的一些链接已经腐烂了:我只是偶然发现了这个主题,发现 Tesseract 现在相当不错!
它是 FOSS,正在不断开发中,现已推出版本 4。

https://github.com/tesseract-ocr/ tesseract

安装 链接到Windows 也是如此。然后

tesseract image_name.png out.txt

已经产生了一些有用的东西!

As some of the links here were rotten after the years: I just stumbled across this topic and found Tesseract to be quite good nowadays!
It's FOSS, in constant development and now on version 4.

https://github.com/tesseract-ocr/tesseract

installation links to binaries for Windows as well. And then

tesseract image_name.png out.txt

Yielded some useful things already! ????

忆沫 2024-10-01 01:26:17
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文