simonflueckiger / tesserocr-windows_build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tesserocr - Windows Build

Build status 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 (currently conda-build doesn't support Python 3.11 32bit)

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.

About

License:MIT License


Languages

Language:Python 100.0%