sirfz/tesserocr
A Python wrapper for the tesseract-ocr API
What it solves
tesserocr provides a simple, Python-friendly way to use the Tesseract OCR engine. It bridges the gap between Python and Tesseract's C++ API, allowing developers to perform Optical Character Recognition (OCR) on images without writing complex C++ code.
How it works
The project uses Cython to wrap the Tesseract C++ API. By releasing the Python Global Interpreter Lock (GIL) during image processing, it enables true concurrent execution when using Python's threading module. It is designed to work seamlessly with the Pillow image library, though it can also process image files directly.
Who it’s for
It is for Python developers (version 3.10+) who need to extract text from images and want a straightforward, high-performance interface to the industry-standard Tesseract engine.
Highlights
- Direct integration with Tesseract's C++ API for high performance.
- Native support for Pillow (PIL) images.
- Thread-safe design that allows concurrent image processing.
- Access to advanced Tesseract features like orientation detection, script analysis, and layout component extraction.
- Pre-built wheels for major platforms (Linux, macOS, Windows) that include necessary dependencies.
Related
- Project
madmaze/pytesseractA Python wrapper for Google's Tesseract-OCR Engine that enables optical character recognition to extract text from images.
- Project
tesseract-ocr/tessdocTesseract is an open-source OCR engine that extracts printed text from images using neural networks. It provides a command-line interface and a robust API for developers to integrate text recognition into their own applications.
- Project
JaidedAI/EasyOCREasyOCR is a ready-to-use OCR library supporting 80+ languages and major writing scripts. It extracts text from images (via file path, image object, bytes, or URL) and returns bounding boxes, text, and confidence scores. It runs on GPU or CPU, works from Python or the command line, and is built on PyTorch with CRAFT for detection and CRNN for recognition. Installation is via pip; model weights download automatically. Future plans include handwritten text support and swappable detection/recognition algorithms.
- Project
tesseract-ocr/tesseractTesseract is an open-source optical character recognition (OCR) engine that extracts text from images and scanned documents. It supports over 100 languages, multiple image formats, and outputs to plain text, PDF, and more.
- Project
tesseract-robotics/tesseractTesseract is a lightweight, ROS-agnostic robotics planning framework that provides modular core packages for environment management, collision checking, and kinematics. It is designed to minimize dependencies and offers full Python support, making it easy to integrate into diverse robotics applications.