Tesseract安装(Pycharm Python)的错误

发布于 2025-02-11 02:44:30 字数 85 浏览 1 评论 0原文

我已经安装了jupyter开放式电视V,但是Tesseract有问题。我已经安装了Tesseract应用程序,但无法在Pycharm上安装。有人可以帮我吗?

I have installed open-cv, jupyter ... But i have problems with tesseract. I have installed tesseract application but i can't install this on pycharm. Someone can help me?

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

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

发布评论

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

评论(2

‖放下 2025-02-18 02:44:30
  1. 首先,您需要安装可执行文件。在Windows上下载可执行文件的链接: https://github.com/github.com/github.com/ub-mannheim/tesseract/tesseract/tesseract/tesseract/tesseract- /wiki
  2. 如果您已经安装了Tesseract的可执行文件,则可以通过PIP从Pycharm的终端安装它。

pip安装pytesseract

运行程序时,您需要指定为Tesseract_CMD变量安装的可执行文件位置。例如:

pytesseract.pytesseract.tesseract_cmd = r'c:\\ program Files \\ tesseract-ocr \\ tesseract.exe'

  1. First you need to install the executable file. The link of downloading executable file on windows: https://github.com/UB-Mannheim/tesseract/wiki
  2. If you have already installed the executable file of tesseract then you can install it from the terminal of pycharm via pip.

pip install pytesseract

When running the program you need to specify the executable file location where you installed it for tesseract_cmd variable. For example:

pytesseract.pytesseract.tesseract_cmd = r'C:\\Program Files\\Tesseract-OCR\\tesseract.exe'

堇年纸鸢 2025-02-18 02:44:30

谢谢您的建议。我通过更改环境变量解决了它。

Thank you for the suggestion. I solved it by changing the environment variables.

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