# sirfz/tesserocr

A Python wrapper for the tesseract-ocr API

Repository: https://github.com/sirfz/tesserocr
Canonical: https://ross.abutalabs.com/products/tesserocr
Language: Python
License: MIT
License Family: permissive
Topics: optical-character-recognition, ocr, tesseract, python-library, cython
Last push: 2026-08-04T12:28:33+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 84, longevity 100
- inputs: {"age_days": 3912, "days_push": 29, "days_rel": 29, "gap_med": 68, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2171, forks 260 (observed 2026-08-28T04:06:21.815973+00:00)

## What it is
A Python wrapper around the tesseract-ocr C++ API built with Cython for optical character recognition. It is Pillow-friendly, works with image files, and releases the GIL during processing to enable real concurrency with Python threads.

## Use cases
- extract text from images in python
- run ocr on scanned pdf pages
- recognize text in pillow images
- perform multithreaded ocr in python
- wrap tesseract without shelling out to the CLI

## When to choose
- you want fast, direct API access to tesseract from Python instead of subprocess calls
- you need concurrent OCR with real parallelism via threading
- your images are already loaded as Pillow Image objects

## When to avoid
- you cannot install native libtesseract/libleptonica dependencies
- you need a pure-Python OCR solution
- you need OCR engines beyond tesseract

## Facets
- artifact type: library
- maturity: active
- function: ocr, image-processing
- domain: computer-vision, image-processing, files
- platform: windows, python
- tags: tesseract, cython, pillow, text-extraction, linux, macos

## Member repositories
- sirfz/tesserocr (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:21.815973+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:49:15.941817+00:00, confidence not recorded.
  - readme: https://github.com/sirfz/tesserocr (fetched 2026-08-28T04:06:21.815973+00:00, sha e8a0e1181454)
  - registry_pypi: https://pypi.org/pypi/tesserocr/json (fetched 2026-08-29T10:29:21.517604+00:00, sha 2efeb463eb8c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
