Comparison
onnxtr vs rapidocr vs surya-ocr vs tesserocr
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Onnx Text Recognition (OnnxTR): docTR Onnx-Wrapper for high-performance OCR on documents.
Actively maintained. Last release 9 days ago, commits in 13 of the last 26 weeks. A safe choice.
pip install onnxtrAwesome OCR Library
Actively maintained. Last release 8 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
pip install rapidocrOCR, layout, reading order, and table recognition in 90+ languages.
Actively maintained. Last release 3 weeks ago, commits in 14 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
- rapidocr is the most used: 7.5M downloads a month, 8.3× more than tesserocr.
- Maintenance is comparable: surya-ocr 89, rapidocr 85, onnxtr 77, tesserocr 68 on Pythie’s Index.
- onnxtr is growing fastest: downloads +57% over the last month.
- Safe default for a new project: rapidocr.
Side by side
| Metric | onnxtr | rapidocr | surya-ocr | tesserocr |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 77 | Pythie’s Index: 85 | Pythie’s Index: 89 | Pythie’s Index: 68 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 249.7K | 7.5M | 138.5K | 905.4K |
| Downloads, month over month | +57% | +36% | -2% | +50% |
| GitHub stars | 203 | 8.7K | 21.6K | 2.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 5 | 78 | 10 | 16 |
| Last release | Nov 23, 2026 | Oct 8, 2026 | Nov 13, 2026 | Nov 12, 2026 |
| Releases, 12 months | 3 | 13 | 9 | 5 |
| Weeks with commits | 13 / 26 | 22 / 26 | 14 / 26 | 4 / 26 |
| Recent contributors | 4 | 20 | 5 | 18 |
| First release | May 2024 | Mar 2025 | Jan 2024 | Dec 2015 |
| Python versions | 3.11 – 3.13 | 3.8 – 3.13 | – | 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.