Comparison
layoutparser vs python-doctr vs surya-ocr vs tesserocr
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A unified toolkit for Deep Learning Based Document Image Analysis
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install layoutparserDocument Text Recognition (docTR): deep Learning for high-performance OCR on documents.
Actively maintained. Last release 6 days ago, commits in 23 of the last 26 weeks. A safe choice.
pip install python-doctrOCR, layout, reading order, and table recognition in 90+ languages.
Actively maintained. Last release 2 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
pip install surya-ocrA simple, Pillow-friendly, Python wrapper around tesseract-ocr API using Cython
Maintained. Last release 3 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and security practices.
pip install tesserocrIn short
- layoutparser looks abandoned: avoid it for new projects.
- tesserocr is the most used: 851.2K downloads a month, 2.6× more than python-doctr.
- surya-ocr is better maintained: Pythie’s Index 87 against 68.
- tesserocr is growing fastest: downloads +43% over the last month.
- Safe default for a new project: tesserocr, or surya-ocr if active maintenance matters most.
Side by side
| Metric | layoutparser | python-doctr | surya-ocr | tesserocr |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 9 | Pythie’s Index: 85 | Pythie’s Index: 87 | Pythie’s Index: 68 |
| Verdict | Likely abandoned | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 95.6K | 331.7K | 139.3K | 851.2K |
| Downloads, month over month | +1% | +10% | -4% | +43% |
| GitHub stars | 5.8K | 6.4K | 21.6K | 2.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 9 | 10 | 10 | 16 |
| Last release | Apr 6, 2022 | Nov 24, 2026 | Nov 13, 2026 | Nov 12, 2026 |
| Releases, 12 months | 0 | 3 | 9 | 5 |
| Weeks with commits | 0 / 26 | 23 / 26 | 12 / 26 | 4 / 26 |
| Recent contributors | 7 | 14 | 5 | 18 |
| First release | Jun 2020 | Mar 2021 | Jan 2024 | Dec 2015 |
| Python versions | 3.6 – 3.9 | 3.11 – 3.14 | – | 3.10 – 3.15 |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.