qmetrics.net

SimpleHTR

TensorFlow offline handwritten text recognition

SimpleHTR screenshot

SimpleHTR recognizes handwriting in scanned word or line images using a TensorFlow neural network trained on IAM-style data.

Overview

SimpleHTR is an offline handwritten text recognition (HTR) system built with TensorFlow. It reads grayscale images of single words or full text lines and outputs the recognized characters as digital text, matching the kind of workflow used to transcribe ink from scanned documents.

The recognition stack uses convolutional layers for image features, LSTM recurrent layers to propagate context along the line, and Connectionist Temporal Classification for training and decoding. You can run inference on your own images with pretrained weights, train on the IAM dataset, or validate accuracy against held-out data.

Decoding options include best-path, beam search, and an optional word beam search decoder that constrains words to a dictionary while still allowing numbers and punctuation. A line-level mode handles multiple words in one image; a word-level model targets single words per image.

A public web demo is offered for trying recognition without a local setup. On Windows, the word beam search decoder is supported alongside the other decoders.

Key features

  • Single-word and text-line image input
  • CTC training and multiple decoders
  • Optional word beam search decoding
  • Pretrained IAM models for inference
  • IAM dataset training pipeline
  • LMDB fast image loading for training
  • TensorFlow 2 compatible codebase
  • Command-line train, validate, and infer modes

Use cases

  • Transcribing scanned handwritten words
  • Recognizing text lines in document images
  • Research and training on IAM-style HTR data
  • Trying HTR via the hosted web demo
  • Comparing CTC decoder strategies on difficult samples

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Ollama

Run open AI models locally or in the cloud

Ollama runs open language models such as Gemma, Qwen, DeepSeek and gpt-oss on macOS, Windows and Linux, locally or in the cloud. It offers a CLI, a REST API, and Python and JavaScript libraries.

★ 188.3k⟳ 2 days agoMIT
Open Source Alternative to:OpenAI API

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

llama.cpp

LLM inference engine in C/C++ for local and cloud hardware

llama.cpp runs large language models and multimodal models locally or in the cloud with minimal setup. It includes a CLI, an OpenAI-compatible server with a built-in chat app, and a C library API.

★ 136.5k⟳ todayMIT
Open Source Alternative to:OpenAI API

Whisper

General-purpose speech recognition and translation model

Whisper is a speech recognition model trained on diverse audio. It supports multilingual transcription, speech-to-English translation, and language identification via Python or the command line.

★ 113.6k⟳ 2 months agoMIT

vLLM

High-throughput, memory-efficient inference and serving engine for LLMs

vLLM is a library and server for running and serving large language models. It uses PagedAttention and continuous batching for throughput, offers an OpenAI-compatible API, and runs on many GPU, CPU and accelerator types.

★ 97.7k⟳ todayApache-2.0
Open Source Alternative to:OpenAI API