Skip to content

Lim3nius/text_dataset_generator

 
 

Repository files navigation

Text dataset generator

Installation of packages needed for running:

pip install PILLOW, numpy, freetype-py, opencv-python, noise, lxml or run command pip install -r requirements.txt

How to run the script:
text_dataset_generator.py [-h] -c CONFIG

Example:
python text_dataset_generator.py -c config.ini

Image examples

Here are shown examples of generated images. These are just strips, originals with full resolution are located at Doc/ImageExamples.

Generated image

script output image

Generated image with bounding boxes

script output image with annotations

Semantic data associted with generated image (Grayscale)

script output image semantic

Semantic data associted with generated image (Colored)

script output image semantic colored

Image metadata

Example pagexml output is located at Doc/pagexml.xml

Example annotations output is located at Doc/annotations.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%