#8989th of 93 in Data and scraping for AIFor data and documents, documents and ocr
tr
Offline OCR SDK for scanned documents, C++ core with Python bindings
Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 1.4k
- License
- no license
- Last commit
- Oct 2026
- Last release
- Dec 2021
- Language
- Python
1,369 on 6 May 20261,385 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
tr detects text lines and recognizes their text in scanned documents such as ID cards and name cards, fully offline. The core is C++ with a Python 2/3 interface (needs numpy) and a C++ API. The author has paused maintenance and describes it as a research project; the last release was in 2021.
Who it is for: Developers wanting an offline OCR library for scanned documents on Linux
Strengths
- Runs offline; Python API has detect, recognize and combined run calls
- Only numpy is required; opencv-python and Pillow dependencies were removed
- Supports multi-threading and a C++ interface
- Optional GPU build for faster inference
Weaknesses
- Maintenance paused by the author; last release was 2021-12-19
- No license declared, so reuse terms are unclear
- No Windows, CentOS 6 or ARM support; built on Ubuntu 16.04
- GPU build needs CUDA 10.1 and cuDNN 7.6.5, so only older cards work
What it needs
- GPU optional
- Needs numpy, CUDA 10.1 (GPU build), cuDNN 7.6.5 (GPU build)
- Models: CRNN (crnn.bin)
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Data and scraping for AI
See all 93| Rank | Project | Score |
|---|---|---|
| #87 | blenderprocPython pipeline for rendering synthetic training images with Blender | 21 out of 100 |
| #88 | lingua-pyOffline language detector for Python, accurate on short text and single words | 20 out of 100 |
| #90 | deepseek_ocr_appWeb UI and API for running DeepSeek-OCR on images and PDFs | 19 out of 100 |
| #91 | libpostalC library for parsing and normalizing street addresses worldwide | 16 out of 100 |
| #92 | gosseractGo bindings for the Tesseract OCR C++ library | 15 out of 100 |