#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.

Releases and problems feed (RSS)

Stars
1.4k
License
no license
Last commit
Oct 2026
Last release
Dec 2021
Language
Python
Stars, last 29 weeks+16
6 May 2026: 1,369 stars13 May 2026: 1,369 stars20 May 2026: 1,369 stars27 May 2026: 1,370 stars3 Jun 2026: 1,370 stars10 Jun 2026: 1,372 stars17 Jun 2026: 1,372 stars24 Jun 2026: 1,373 stars1 Jul 2026: 1,374 stars8 Jul 2026: 1,375 stars15 Jul 2026: 1,376 stars22 Jul 2026: 1,376 stars29 Jul 2026: 1,376 stars5 Aug 2026: 1,377 stars12 Aug 2026: 1,377 stars19 Aug 2026: 1,378 stars26 Aug 2026: 1,379 stars2 Sept 2026: 1,379 stars9 Sept 2026: 1,380 stars16 Sept 2026: 1,380 stars23 Sept 2026: 1,380 stars30 Sept 2026: 1,380 stars7 Oct 2026: 1,381 stars14 Oct 2026: 1,381 stars21 Oct 2026: 1,381 stars28 Oct 2026: 1,381 stars4 Nov 2026: 1,381 stars11 Nov 2026: 1,384 stars18 Nov 2026: 1,384 stars25 Nov 2026: 1,385 stars

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
Also in Data and scraping for AI
RankProjectScore
#87blenderprocPython pipeline for rendering synthetic training images with Blender3.8k starsGPL-3.021 out of 100
#88lingua-pyOffline language detector for Python, accurate on short text and single words1.8k starsApache-2.020 out of 100
#90deepseek_ocr_appWeb UI and API for running DeepSeek-OCR on images and PDFs1.9k starsMIT19 out of 100
#91libpostalC library for parsing and normalizing street addresses worldwide4.9k starsMIT16 out of 100
#92gosseractGo bindings for the Tesseract OCR C++ library3.2k starsMIT15 out of 100