tesseract出现的几个问题
pip概念: 如果你已经了解了其他语言,那么可能会对包管理器的概念比较熟悉。JavaScript 使用 npm 管理软件包,Ruby 使用 gem,以及 .NET 使用 NuGet。Python 中,则是 pip 作为标准包管理器。
查看pip 支持方法:cmd中输入 pip debug --verbose
那本书崔庆才tesseract的 gitgub页面:https://github.com/Python3WebSpider/Python3WebSpider/blob/master/1.3-%E8%A7%A3%E6%9E%90%E5%BA%93%E7%9A%84%E5%AE%89%E8%A3%85.md
1.语言包因为墙没有办法下载
解决办法:https://www.tqwba.com/x_d/jishu/44933.html
语言包下载地址:https://github.com/tesseract-ocr/tessdata
tesserorc wheel下载地址:https://github.com/simonflueckiger/tesserocr-windows_build/releases
2.

解决:然并卵,不是我的问题,是包还没出来。。https://github.com/simonflueckiger/tesserocr-windows_build/issues大家都在等出来
3.还出现了一个问题tesseract --list-langs
tesseract后面有一个空格
4.

修改方法输入cd /d (cd+空格+/+d+空格+修改路径)就出来了
5.

tesseract Warning: Invalid resolution 0 dpi. Using 70 instead. Estimating resolution as 1178

It means your image does not contain a resolution info in its metadata, so Tesseract warns you about this issue in the image and it tries to estimate the resolution by itself.
以下网址:
https://github.com/tesseract-ocr/tesseract/issues/1702
tesseract github:https://github.com/tesseract-ocr/tesseract
© 本文版权归 MissRobose 所有,任何形式转载请联系作者。
© 了解版权计划