IEEE Access (Jan 2021)

Realistic Text Replacement With Non-Uniform Style Conditioning

  • Arseny Nerinovsky,
  • Igor Buzhinsky,
  • Andrey Filchenkov

DOI
https://doi.org/10.1109/ACCESS.2021.3071666
Journal volume & issue
Vol. 9
pp. 92706 – 92714

Abstract

Read online

In this work, we study the possibility of realistic text replacement. The goal of realistic text replacement is to replace text present in the image with user-supplied text. The replacement should be performed in a way that will not allow distinguishing the resulting image from the original one. We achieve this goal by developing a novel non-uniform style conditioning layer and apply it to an encoder-decoder ResNet based architecture. The resulting model is a single-stage model, with no post-processing. We train the model with a combination of adversarial, style, content and $L_{1}$ losses. Qualitative and quantitative evaluations show that the model achieves realistic text replacement and outperforms existing approaches in multilingual and challenging scenarios. Quantitative evaluation is performed with direct metrics, like SSIM and PSNR, and proxy metrics based on the performance of a text recognition model. The proposed model has several potential applications in augmented reality.

Keywords