Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 2.11 KB

README.md

File metadata and controls

31 lines (21 loc) · 2.11 KB

tesserocr - Windows Build

Build status Anaconda-Server Badge Anaconda-Server Badge
Supported python versions

This is the home of the Windows Python wheels for the official tesserocr repository. The wheels come bundled with all the shared libraries necessary to execute tesserocr, 100% hassle-free. This means no tedious setting up of Tesseract and its dependencies.

You can download the wheel corresponding to your Python version from the Releases and install it via pip

pip install <package_name>.whl

It's even more straightforward if you have conda installed

conda install -c simonflueckiger tesserocr

⚠️ Prerequisites (tessdata)

Unfortunately, you won't get around a minimal amount of additional setup before using tesserocr. Make sure to download tessdata to a convenient location. Additionally, you have to either create an environment variable TESSDATA_PREFIX pointing to the location of tessdata or pass the path directly when initializing tesserocr as follows

PyTessBaseAPI(path='C:\path\to\tessdata')

Check out tesserocr#tessdata for more information.

Python Versions

As a short disclaimer: I will only build packages targeting Python versions which are still actively supported (have not yet reached EOL status). This means I can't follow up on requests for Python versions 2.x or anything <= 3.6.