This repository was archived by the owner on Jun 6, 2026. It is now read-only.
chris-piekarski/python-tesseract
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
# python-tesseract
```
_ _ _
_ __ _ _ | |_| |_ ___ _ _ | |_ ___ ___ ___ ___ _ _ __ _ __| |_
| '_ \ || || _| ' \/ _ \| ' \ | _|/ -_)(_-</ -_) _ \ '_/ _` / _| _|
| .__/\_, | \__|_||_\___/|_||_| \__|\___|/__/\___\___/_| \__,_\__|\__|
|_| |__/
```




> **Deprecated archive:** this repository is preserved for historical reference only.
## Why this project is archived
`python-tesseract` in this repository is an old Python 2 wrapper/fork around command-line Tesseract usage. It references legacy packaging/runtime assumptions and predates modern Python OCR libraries and distributions.
A full modernization would effectively be a new project and API surface, so this repository is archived instead of evolved in place.
## What this project did
- Wrapped `tesseract` CLI invocation from Python.
- Returned OCR text (and optional box data) from image input.
- Targeted Python 2 and legacy PIL import behavior.
## Why modernization is not pursued here
- Python 2-era implementation details (`import Image`, `print` statements, `unicode` usage).
- Legacy ecosystem assumptions and stale historical links.
- Existing modern OCR packages make this fork unnecessary as a maintained artifact.
## Security and archival posture
- This repository is **read-only historical code**.
- No active maintenance, releases, or support is provided.
- Repository metadata and docs were sanitized for long-term archive safety.
## Suggested modern alternatives
- `pytesseract` + Pillow on Python 3.11+.
- New clean Python 3 project with typed API, tests, CI, and packaging via `pyproject.toml`.
## Historical lineage
Originally forked from:
- `https://github.com/jflesch/python-tesseract`
- Earlier upstream history by Samuel Hoffstaetter.
## Archive notice
Issues and pull requests are not monitored for this repository.