#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.
Watch puts simplehtr on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.simplehtr is on your watch list. Its new releases and problems show there.
- Stars
- 2.2k
- License
- MIT
- Last commit
- Jun 2026
- Language
- Python
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| Rank | Project | Score |
|---|---|---|
| #129 | mimo-audio7B audio language model for speech understanding, TTS and voice conversion | 35 out of 100 |
| #130 | chinese-clipChinese-language CLIP models for image-text embedding and cross-modal retrieval | 34 out of 100 |
| #132 | chai-labMolecular structure prediction for protein, ligand, DNA and RNA complexes | 34 out of 100 |
| #133 | healthgptOpen-weight medical multimodal LLMs for text, 2D images and 3D volumes | 34 out of 100 |
| #134 | ath-maas/ovisMultimodal LLM family aligning visual and text embeddings | 34 out of 100 |