convert image to text using python pytesseract (osr)

preview_player
Показать описание
------------------------------------------------------------------------------------
Python-tesseract is an optical character recognition (OCR) tool for python. That is, it will recognize and “read” the text embedded in images.

Python-tesseract is a wrapper for Google’s Tesseract-OCR Engine. It is also useful as a stand-alone invocation script to tesseract, as it can read all image types supported by the Pillow and Leptonica imaging libraries, including jpeg, png, gif, bmp, tiff, and others. Additionally, if used as a script, Python-tesseract will print the recognized text instead of writing it to a file.
-------------------------------------------------------------------------------------------------------------
INSTALLATION
Prerequisites:

Python-tesseract requires Python 3.6+

You will need the Python Imaging Library (PIL) (or the Pillow fork). Under Debian/Ubuntu, this is the package python-imaging or python3-imaging.

Note: Make sure that you also have installed tessconfigs and configs from tesseract-ocr/tessconfigs or via the OS package manager.

Installing via pip:
Рекомендации по теме
Комментарии
Автор

I cant see the tesseract.exe file inside tesseract-ocr directory?
Any help will be very helpful

muhammadsaadansari