Comparison
layoutparser vs pytesseract vs python-doctr vs surya-ocr
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 layoutparserPython-tesseract is a python wrapper for Google's Tesseract-OCR
Low maintenance activity. Last release over 2 years ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pytesseractDocument 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-ocrIn short
- layoutparser looks abandoned: avoid it for new projects.
- pytesseract is the most used: 26.6M downloads a month, 80× more than python-doctr.
- surya-ocr is better maintained: Pythie’s Index 87 against 22.
- pytesseract is growing fastest: downloads +36% over the last month.
Side by side
| Metric | layoutparser | pytesseract | python-doctr | surya-ocr |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 9 | Pythie’s Index: 22 | Pythie’s Index: 85 | Pythie’s Index: 87 |
| Verdict | Likely abandoned | Low maintenance activity | Actively maintained | Actively maintained |
| Downloads / month | 95.6K | 26.6M | 331.7K | 139.3K |
| Downloads, month over month | +1% | +36% | +10% | -4% |
| GitHub stars | 5.8K | 6.4K | 6.4K | 21.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 9 | 989 | 10 | 10 |
| Last release | Apr 6, 2022 | Aug 16, 2024 | Nov 24, 2026 | Nov 13, 2026 |
| Releases, 12 months | 0 | 0 | 3 | 9 |
| Weeks with commits | 0 / 26 | 0 / 26 | 23 / 26 | 12 / 26 |
| Recent contributors | 7 | 6 | 14 | 5 |
| First release | Jun 2020 | Feb 2014 | Mar 2021 | Jan 2024 |
| Python versions | 3.6 – 3.9 | 3.8 – 3.12 | 3.11 – 3.14 | – |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| 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.