Text Renderer is a Python utility for generating synthetic text images used to train optical character recognition models. It supports Latin and non-Latin writing systems and produces matching labels alongside the generated images. Users can supply their own corpora, fonts, character sets, backgrounds, and YAML configuration files. Available effects include perspective distortion, random cropping, curved text, borders, variable spacing, lines, embossing, color changes, inversion, and blur. A strict mode retries samples until the selected font supports every required character, which is useful for Chinese and other large character sets. Font-checking and debug tools help identify unsupported glyphs and visualize bounding or rotated boxes. Optional CUDA-enabled OpenCV processing can accelerate generation, although the repository points users to a newer successor project.

Features

  • Latin and non-Latin text generation
  • Custom fonts, corpora, and backgrounds
  • Configurable synthetic image effects
  • Strict character compatibility checking
  • Font validation and debug tools
  • Optional CUDA-accelerated rendering

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow text_renderer

text_renderer Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of text_renderer!

Additional Project Details

Programming Language

Python

Related Categories

Python Artificial Intelligence Software

Registered

2026-07-22