Image To Text
🔸Python-tesseract is an optical character recognition (OCR) tool for python. With this library you can easily detect and extract the text embedded in images.
⚙️Installation
Windows:
1. pip install pytesseract
2. Download Tesseract OCR here and install it.
3. Add tesseract installation path to PATH environment variable (here's a video in case you get stuck).
Linux:
sudo apt-get update
sudo apt-get install tesseract-ocr
sudo apt-get install libtesseract-dev
Python-tesseract 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. You can also work with multiple languages not only with English!
🔗GitHub
#pytesseract #OCR
🔸Python-tesseract is an optical character recognition (OCR) tool for python. With this library you can easily detect and extract the text embedded in images.
⚙️Installation
Windows:
1. pip install pytesseract
2. Download Tesseract OCR here and install it.
3. Add tesseract installation path to PATH environment variable (here's a video in case you get stuck).
Linux:
sudo apt-get update
sudo apt-get install tesseract-ocr
sudo apt-get install libtesseract-dev
Python-tesseract 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. You can also work with multiple languages not only with English!
🔗GitHub
#pytesseract #OCR