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

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

  •  
  •   4thmagi · 2018 年 5 月 29 日 · 703 次点击
    这是一个创建于 2873 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 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   ·   Solana   ·   2835 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 18ms · UTC 11:37 · PVG 19:37 · LAX 04:37 · JFK 07:37
    ♥ Do have faith in what you're doing.