#131131st of 190 in Open modelsFor data and documents, documents and ocr

simplehtr

TensorFlow handwritten text recognition for word and line images, trained on IAM

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
2.2k
License
MIT
Last commit
Jun 2026
Language
Python
Stars, last 30 weeks+47
28 Apr 2026: 2,144 stars5 May 2026: 2,144 stars12 May 2026: 2,146 stars19 May 2026: 2,148 stars26 May 2026: 2,149 stars2 Jun 2026: 2,151 stars9 Jun 2026: 2,154 stars16 Jun 2026: 2,156 stars23 Jun 2026: 2,157 stars30 Jun 2026: 2,160 stars7 Jul 2026: 2,163 stars14 Jul 2026: 2,165 stars21 Jul 2026: 2,165 stars28 Jul 2026: 2,168 stars4 Aug 2026: 2,170 stars11 Aug 2026: 2,171 stars18 Aug 2026: 2,171 stars25 Aug 2026: 2,173 stars1 Sept 2026: 2,175 stars8 Sept 2026: 2,176 stars15 Sept 2026: 2,176 stars22 Sept 2026: 2,179 stars29 Sept 2026: 2,180 stars6 Oct 2026: 2,184 stars13 Oct 2026: 2,185 stars20 Oct 2026: 2,186 stars27 Oct 2026: 2,187 stars3 Nov 2026: 2,188 stars10 Nov 2026: 2,189 stars17 Nov 2026: 2,190 stars24 Nov 2026: 2,191 stars

2,144 on 28 Apr 20262,191 on 24 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Handwritten text recognition model in TensorFlow (TF2-compatible) that takes an image of a single word or a text line and outputs the recognized text with a probability. The network has 5 CNN layers, 2 LSTM layers and CTC loss and decoding, with pretrained word and line models and training scripts for the IAM dataset. The README reports about 75% of validation words correct and a character error rate near 10%.

Who it is for: Developers needing a compact reference HTR model to run, train or study

Strengths

  • Small model (5 CNN, 2 LSTM layers) that is easy to read and modify
  • Pretrained word and line models; inference is one `python main.py` command
  • Offers bestpath, beamsearch and dictionary-based wordbeamsearch CTC decoders
  • Training on IAM words takes about 3h on a GTX 1050 Ti with LMDB loading

Weaknesses

  • Reads single words or single lines only; full pages need the separate HTRPipeline
  • Trained on IAM only; accuracy on other handwriting is not documented
  • Pretrained models are hosted on Dropbox and must be copied into `model` manually
  • Word beam search needs a separate repo compiled and installed

What it needs

  • GPU optional
  • Needs TensorFlow, IAM dataset (training only), LMDB (optional, faster loading), CTCWordBeamSearch (optional)
  • Models: TensorFlow checkpoints, CNN+LSTM+CTC

Also in Open models

See all 190
Also in Open models
RankProjectScore
#129mimo-audio7B audio language model for speech understanding, TTS and voice conversion Live demo ↗ (opens in a new tab)1.1k starsApache-2.035 out of 100
#130chinese-clipChinese-language CLIP models for image-text embedding and cross-modal retrieval Live demo ↗ (opens in a new tab)6.1k starsMIT34 out of 100
#132chai-labMolecular structure prediction for protein, ligand, DNA and RNA complexes Live demo ↗ (opens in a new tab)2k starsApache-2.034 out of 100
#133healthgptOpen-weight medical multimodal LLMs for text, 2D images and 3D volumes1.7k starsApache-2.034 out of 100
#134ath-maas/ovisMultimodal LLM family aligning visual and text embeddings Live demo ↗ (opens in a new tab)1.5k starsApache-2.034 out of 100