Skip to content

bjayanta/image2text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image to Text

Using Tesseract.


Install Tesseract

Windows:

  1. Download Tesseract at UB Mannheim & install.

  2. Add the executable file in your code. Like:

tess.pytesseract.tesseract_cmd = r'C:\\Program Files\\Tesseract-OCR\\tesseract.exe'

Linux:

Step 1: Update your system:

sudo apt update

Step 2: Add Tesseract OCR 5 PPA to your system:

sudo add-apt-repository ppa:alex-p/tesseract-ocr or, sudo add-apt-repository ppa:alex-p/tesseract-ocr-devel

Step 3: Install Tesseract on Ubuntu:

sudo apt install -y tesseract-ocr

Step 4: Confirm the Tesseract version installed.

tesseract --version


Install python package

pip install pillow pytesseract


Thank you.

About

Simple tesseract project for image to text.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages