IIIT-Synthetic-R-Punjabi
Language
Punjabi
Modality
Printed
Details Description
The IIIT-Synthetic-R-Punjabi dataset consists of synthetically created 7,51,200 word images along with their corresponding annotations. To create synthetic images, freely available Unicode fonts are used to render synthetic word images. The number of fonts used for Punjabi is 451. We use ImageMagick, Pango, and Cairo tools to render text onto images. To mimic the typical document images, we generate images whose background is always lighter (higher intensity) than the foreground. Each word is rendered as an image using a random font. Font size, font styling such as bold and italic, foreground and background intensities, kerning, and skew are varied for each image to generate a diverse set of samples. A random one-fourth of the images are smoothed using a Gaussian filter with a standard deviation (๐) of 0.5. Finally, all the images are resized to a height of 32 while keeping the original aspect ratio. This dataset is divided into Training, Validation, and Test Sets consisting of 5,25,840, 75,120, and 1,50,240 word images and their corresponding ground truth transcriptions. There are 102705 Punjabi words in the training set.
Training Set:
train.zip contains folder named โimagesโ with 5,25,840 word level images, โtrain_gt.txtโ containing image name and ground truth text separated by โTab spaceโ and โlist_of_words.txtโ contains list of 1,02,705 words in the Training set.
Validation Set:
val.zip contains folder named โimagesโ with 75,120 word level images, and โval_gt.txtโ containing image name and ground truth text separated by โTab spaceโ.
Test Set:
test.zip contains folder named โimagesโ with 1,50,240 word level images, and โtest_gt.txtโ containing image name and ground truth text separated by โTab spaceโ.
Sample Word Level Images from Training Set
Image | Ground Truth |
---|---|