Skip to content

Detail of publication

Citation

Lukáš Bureš and Ivan Gruber and Neduchal Petr and Miroslav Hlaváč and Marek Hrúz : Semantic text segmentation from synthetic images of full-text documents . SPIIRAS Proceedings, vol. 18:6, p. 1381-1406, 2019.

Abstract

An algorithm (divided into multiple modules) for generating images of fulltext documents is presented. These images can be used to train, test, and evaluate models for Optical Character Recognition (OCR). The algorithm is modular, individual parts can be changed and tweaked to generate desired images. A method for obtaining background images of paper from already digitized documents is described. For this, a novel approach based on Variational AutoEncoder (VAE) to train a generative model was used. These backgrounds enable the generation of similar background images as the training ones on the fly. The module for printing the text uses large text corpora, a font, and suitable positional and brightness character noise to obtain believable results (for natural-looking aged documents). A few types of layouts of the page are supported. The system generates a detailed, structured annotation of the synthesized image. Tesseract OCR to compare the real-world images to generated images is used. The recognition rate is very similar, indicating the proper appearance of the synthetic images. Moreover, the errors which were made by the OCR system in both cases are very similar. From the generated images, fully-convolutional encoder-decoder neural network architecture for semantic segmentation of individual characters was trained. With this architecture, the recognition accuracy of 99.28% on a test set of synthetic documents is reached.

Detail of publication

Title: Semantic text segmentation from synthetic images of full-text documents
Author: Lukáš Bureš ; Ivan Gruber ; Neduchal Petr ; Miroslav Hlaváč ; Marek Hrúz
Language: English
Year: 2019
Type of publication: Papers in journals
Title of journal or book: SPIIRAS Proceedings
Číslo vydání: 18:6
Page: 1381 - 1406
ISSN: 2078-9181
/ 2021-01-16 10:04:18 /

Keywords

Generation of Synthetic Images, Semantic Text Segmentation, Variational Autoencoder, VAE, Optical Character Recognition, OCR, Aged-Looking Text Generation

BibTeX

@ARTICLE{LukasBures_2019_Semantictext,
 author = {Luk\'{a}\v{s} Bure\v{s} and Ivan Gruber and Neduchal Petr and Miroslav Hlav\'{a}\v{c} and Marek Hr\'{u}z},
 title = {Semantic text segmentation from synthetic images of full-text documents},
 year = {2019},
 journal = {SPIIRAS Proceedings},
 volume = {18:6},
 pages = {1381-1406},
 ISSN = {2078-9181},
 url = {http://www.kky.zcu.cz/en/publications/LukasBures_2019_Semantictext},
}