Comparison
infinity-parser2 vs onnxtr vs rapidocr vs surya-ocr
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Document parsing Python package supporting PDF and image parsing using Infinity-Parser2-Pro model.
Actively maintained. Last release 3 months ago, commits in 12 of the last 26 weeks. A safe choice.
pip install infinity-parser2Onnx Text Recognition (OnnxTR): docTR Onnx-Wrapper for high-performance OCR on documents.
Actively maintained. Last release 8 days ago, commits in 12 of the last 26 weeks. A safe choice.
pip install onnxtrAwesome OCR Library
Actively maintained. Last release 8 weeks ago, commits in 21 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-ocrIn short
- rapidocr is the most used: 7.4M downloads a month, 30× more than onnxtr.
- Maintenance is comparable: surya-ocr 89, rapidocr 85, infinity-parser2 76, onnxtr 75 on Pythie’s Index.
- onnxtr is growing fastest: downloads +55% over the last month.
- Safe default for a new project: rapidocr.
Side by side
| Metric | infinity-parser2 | onnxtr | rapidocr | surya-ocr |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 76 | Pythie’s Index: 75 | Pythie’s Index: 85 | Pythie’s Index: 89 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 101.1K | 242K | 7.4M | 137K |
| Downloads, month over month | +27% | +55% | +33% | -4% |
| GitHub stars | 259 | 203 | 8.7K | 21.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 5 | 78 | 10 |
| Last release | Aug 27, 2026 | Nov 23, 2026 | Oct 8, 2026 | Nov 13, 2026 |
| Releases, 12 months | 4 | 3 | 13 | 9 |
| Weeks with commits | 12 / 26 | 12 / 26 | 21 / 26 | 14 / 26 |
| Recent contributors | 5 | 4 | 20 | 5 |
| First release | Apr 2026 | May 2024 | Mar 2025 | Jan 2024 |
| Python versions | 3.12 – 3.13 | 3.11 – 3.13 | 3.8 – 3.13 | – |
| License | non-standard | 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.