https://github.com/simonflueckiger/tesserocr-windows_build
https://github.com/simonflueckiger/tesserocr-windows_build
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/simonflueckiger/tesserocr-windows_build
- Owner: simonflueckiger
- License: mit
- Created: 2017-10-11T11:18:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-12T17:58:03.000Z (5 months ago)
- Last Synced: 2025-02-12T18:27:51.736Z (5 months ago)
- Language: Python
- Size: 9.03 MB
- Stars: 209
- Watchers: 12
- Forks: 65
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tesserocr - Windows Build
[](https://ci.appveyor.com/project/simonflueckiger/tesserocr-windows-build)
[](https://anaconda.org/simonflueckiger/tesserocr) [](https://anaconda.org/simonflueckiger/tesserocr)
This is the home of the Windows Python wheels for the official [**tesserocr**](https://github.com/sirfz/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](https://github.com/simonflueckiger/tesserocr-windows_build/releases) and install it via pip
```cmd
pip install .whl
```It's even more straightforward if you have conda installed
```cmd
conda install -c simonflueckiger tesserocr
```## :warning: Prerequisites (tessdata)
Unfortunately, you won't get around a minimal amount of additional setup before using **tesserocr**. Make sure to download [tessdata](https://github.com/tesseract-ocr/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
```python
PyTessBaseAPI(path='C:\path\to\tessdata')
```Check out [tesserocr#tessdata](https://github.com/sirfz/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](https://endoflife.date/python) status). **This means I can't follow up on requests for Python versions 2.x or anything <= 3.6.**