`tesseract-ocr` 可以将结果放入 STDOUT 吗? [英] Can `tesseract-ocr` put the result to STDOUT?

查看:34
本文介绍了`tesseract-ocr` 可以将结果放入 STDOUT 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 tesseract-ocr #3.02.02.

Using tesseract-ocr #3.02.02.

tesseract 的基本用法是

The basic usage of tesseract is

tesseract sourc.png result

result.txt 生成.要获得结果文本,我必须对这个文件进行分类.

and result.txt is generated. To get the result text, I have to cat this file.

是否有任何选项可以将结果转储到标准输出中?

Is there any options to dump the result in stdout?

推荐答案

您应该升级到 v3.03,其中 添加了对标准输出的支持.

You should upgrade to v3.03 where support for stdout was added.

这篇关于`tesseract-ocr` 可以将结果放入 STDOUT 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆