Answer the question
In order to leave comments, you need to log in
Where to install Tesseract OCR for Python?
I looked at many Tesseract OCR installation guides with different links.
There are 2 links:
1. https://pypi.org/project/pytesseract/#files
2. https://github.com/UB-Mannheim/tesseract/wiki
Someone says to download the file from the first site.
Another says: from the second.
Where to download? Maybe this is the same version of the program, just posted on different sites.
It's just that the names of the files are different:
On the pypi website: pytesseract-0.3.8.tar.gz (Archive 14.6 kB).
I open the setup.py file in the archive. Cmd opens and immediately closes.
On github: tesseract-ocr-w64-setup-v5.0.0-rc1.20211030.exe (51mb).
Maybe the question is a bit stupid, but it's better to ask than to suffer later.
Answer the question
In order to leave comments, you need to log in
These are two completely different files.
The pypi version is the pytesseract library itself.
Pytesseract is a wrapper for the Tesseract tool. The Tesseract binaries are on the second site you mentioned.
You need both tesseract itself and a library to work with it in python.
So install pytesseract
pip install pytesseract
AND download Tesseract from https://github.com/UB-Mannheim/tesseract/wiki
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question