Belval / TextRecognitionDataGenerator

A synthetic data generator for text recognition
MIT License
3.24k stars 966 forks source link

Option for other image formats #325

Closed DesBw closed 11 months ago

DesBw commented 11 months ago

I have been trying to use TRDG to generate images for tesseract training. TRDG generates much realistic images than tesseracts's own text2image. The problem is tesseract doesn't accept .jpg images for training; and trdg seems to generate only .jpg files.

Is it possible to generate tif or png images?

DesBw commented 11 months ago

I just find out that tif is indeed supported. Thank you for the great software.