# Belval/TextRecognitionDataGenerator

A synthetic data generator for text recognition

Repository: https://github.com/Belval/TextRecognitionDataGenerator
Canonical: https://ross.abutalabs.com/products/textrecognitiondatagenerator
Language: Python
License: MIT
License Family: permissive
Topics: synthetic, data, text-recognition, training-set-generator, ocr, dataset, fake, text
Last push: 2024-07-18T11:07:06+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3350, "days_push": 776, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3691, forks 1014 (observed 2026-08-28T04:08:14.774595+00:00)

## What it is
A Python library and CLI tool (trdg) that generates synthetic text images for training OCR and text recognition models. It supports multiple languages, fonts, backgrounds, and distortions like skewing and blurring.

## Use cases
- generate synthetic training data for OCR models
- create text image datasets for machine learning
- generate handwritten-style text images for recognition
- produce training samples for non-latin scripts like Chinese
- augment OCR training sets with distorted text images

## When to choose
- you need labeled text image data but lack real annotated samples
- you want to train or fine-tune a text recognition model on diverse fonts and distortions
- you need support for multiple languages including non-latin scripts

## When to avoid
- you need real-world scanned document data rather than synthetic images
- you need full scene text with complex backgrounds and layouts
- you need handwriting generation rather than font-rendered text

## Facets
- artifact type: library
- maturity: stable
- function: data-generation, ocr, image-processing, cli
- domain: machine-learning, computer-vision, artificial-intelligence, developer-tools
- platform: python, cli, cross-platform
- tags: synthetic-data, text-recognition, training-data, dataset-generator, ocr, docker

## Member repositories
- Belval/TextRecognitionDataGenerator (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:14.774595+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:31:07.384954+00:00, confidence not recorded.
  - readme: https://github.com/Belval/TextRecognitionDataGenerator (fetched 2026-08-28T04:08:14.774595+00:00, sha 7e5f00d5dc64)
- Data as of 2026-08-30T08:39:29.467469+00:00.
