Installing pytesser

前端 未结 7 1262
我寻月下人不归
我寻月下人不归 2020-12-11 03:31

I\'m new to python and would like to install and use the pytesser OCR library. All of the other modules that I\'ve installed, I\'ve used easy_install, which has worked fine.

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-11 03:54

    Further to Yaitzme answer - another fix you may need (I'm using Python Tools for Visual Studio on Windows 7 64-bit)...

    Once I renamed the pytesser.py file to __init__ I had to put a double backslash in the line e.g.

    tesseract_exe_name = ‘C:\Anaconda2\Lib\site-packages\pytesser\\tesseract’

    as the single backslash '\tesseract' was interpreting the '\t' as a new tab symbol and breaking the path! Put my install instructions here

提交回复
热议问题