#6565th of 101 in Data and scraping for AIFor data and documents, documents and ocr
kraken
OCR engine for historical and non-Latin scripts with trainable layout and recognition
Watch puts kraken on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.kraken is on your watch list. Its new releases and problems show there.
- Stars
- 1.1k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
984 on 6 May 20261,121 on 2 Dec 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
kraken is a Python command-line OCR system that runs binarization, baseline page segmentation and character recognition. Layout analysis, reading order and recognition are all trainable. It handles right-to-left, BiDi and top-to-bottom scripts and writes ALTO, PageXML, abbyyXML or hOCR. Recognition models are fetched from a public Zenodo repository with `kraken get` and `kraken list`.
Who it is for: Researchers and archivists digitizing historical or non-Latin script documents
Strengths
- Layout analysis, reading order and recognition are all trainable on your own material
- Supports RTL, BiDi and top-to-bottom scripts plus multi-script recognition
- Outputs ALTO, PageXML, abbyyXML and hOCR with word boxes and character cuts
- Public Zenodo repository of downloadable recognition models
Weaknesses
- Officially supports only Linux and macOS; Windows is not listed
- Needs a separate recognition model download before it can OCR anything
- PDF and multi-image TIFF input requires the optional pdf extra
- Python 3.10 to 3.13 only; pipx may pick an unsupported interpreter
What it needs
- Needs Python 3.10-3.13, pip or pipx
- Models: kraken .mlmodel recognition models (Zenodo repository)
What changed
- 7.2 ↗ (opens in a new tab)Breaking
“The long-deprecated add and both values for --resize in ketos train and ketos segtrain have been removed. Use union and new instead.”
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Data and scraping for AI
See all 101| Rank | Project | Score |
|---|---|---|
| #63 | paper2posterTurns a scientific paper PDF into an editable PowerPoint poster | 55 out of 100 |
| #64 | humanize-textRewrites AI-generated text through LLM passes and a translation chain, with step traces | 55 out of 100 |
| #66 | quant-mindPython library turning financial papers and news into typed, cited knowledge records | 54 out of 100 |
| #67 | mnbvcChinese text corpus of 63 TB plus the crawlers and cleaning scripts behind it | 53 out of 100 |
| #68 | glm-ocr0.9B OCR model and SDK that parses documents into Markdown and JSON | 51 out of 100 |