V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
4thmagi
V2EX  ›  问与答

tesseract 报错 FileNotFoundError: [WinError 2] 系统找不到指定的文件

  •  
  •   4thmagi · 2018-05-29 14:43:54 +08:00 · 489 次点击
    这是一个创建于 2330 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 python3.6,win7 环境下用 pytesseract.image_to_string()时总是会报错:FileNotFoundError: [WinError 2] 系统找不到指定的文件。我按照网上搜索的方法下载安装了 tesseract-ocr,配置了环境变量,也修改 pytesseract.py 内的 tesseract_cmd,改成了这样:tesseract_cmd = 'C:\Program Files\Tesseract-OCR\tesseract'。但还是报同样的错误:找不到指定的文件。请问如何才能使用 tesseract ?

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1380 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:22 · PVG 01:22 · LAX 10:22 · JFK 13:22
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.