Skip to content

ratazzi/tesseract-ocr

Repository files navigation

Tesseract-OCR

A Python wrapper for Tesseract

Travis CI Status

Installation

Installing tesseract-ocr with pip:

$ pip install tesseract-ocr

Basic Usage

import tesseract_ocr
tesseract_ocr.text_for_filename('code.tiff')
tesseract_ocr.text_for_bytes(open('code.tiff', 'rb').read())

Python dependencies

On Ubuntu or Debian Linux:

$ sudo apt-get install tesseract-ocr libtesseract-dev libleptonica-dev

On Mac OS X:

$ brew install --with-libtiff --with-openjpeg --with-giflib leptonica
$ brew install --devel --all-languages tesseract

About

A Python wrapper for Tesseract

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages