How to install tesserocr on windows?

扶醉桌前 提交于 2019-12-01 05:22:52
Deepak Sadulla

Use Anaconda to install TesserOCR in an environment named OCR

  1. Install Anaconda for Windows from here
  2. Open Anaconda Prompt:

    conda create -n OCR python=3.6

    activate OCR

  3. For tesseract 3.5.1 (stable):

    conda install -c simonflueckiger tesserocr

    OR for tesseract 4.0.0 (experimental):

    conda install -c simonflueckiger/label/tesseract-4.0.0-master tesserocr

    OR download the wheel file matching your Windows platform and Python installation from here and install it via:

    pip install <path_to_your_wheel_file>

This method works for me perfectly: Use Anaconda to install TesserOCR in an environment named OCR

Install Anaconda for Windows from here

Open Anaconda Prompt:

conda create -n OCR python=2.7

activate OCR

You should install Anaconda and tesserac

https://www.anaconda.com/distribution/#download-section and in the prompt command write

conda install -c simonflueckiger tesserocr

conda install -c simonflueckiger/label/tesseract-4.0.0-master tesserocr

Basically,To install any pacakge on windows , go to LIBS location and run the command

 "py -3.4 -m pip install SomePackage"

for tesseract either follow here : http://emop.tamu.edu/Installing-Tesseract-Windows8

OR

Download set up from here ( https://pypi.python.org/pypi/pytesseract) and double click on set up. Hope it helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!