A Review of Generative Models for Training Datasets of Scene Text Recognition
Abstract
The information extracted by Scene Text Recognition (STR) is of significance to various vision-based application due to the rich semantic information contained in the text within images. However, the development of STR is hindered by challenges arising from variations in font, size, and distortion, among others. This paper focuses on multiple techniques for generating the training datasets of STR, comparing and analyzing their effects and working principles. Employing a literature analysis and review methodology, this paper aims to construct an overview of the field by categorizing the techniques into rendering-based, GAN-based, Diffusion-based, and other methods. Furthermore, it provides recommendations for the future development of synthetic datasets. This paper finds that mainstream STR training datasets generation techniques inherently involve a trade-off between image realism and text controllability. Therefore, the core challenge in the current field is to establish a unified evaluation criterion to bridge the gap between synthetic and real-world data.
References
- Chen X, Jin L, Zhu Y, et al. Text recognition in the wild: A survey [J]. ACM Computing Surveys (CSUR), 2021, 54(2): 1-35.
- Baek J, Matsui Y, Aizawa K. What if we only use real datasets for scene text recognition? toward scene text recognition with fewer labels [C]. Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2021: 3113-3122.
- Luo C, Zhu Y, Jin L, et al. Learn to augment: Joint data augmentation and network optimization for text recognition [C]. Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2020: 13746-13755.
- Gupta A, Vedaldi A, Zisserman A. Synthetic data for text localisation in natural images [C]. Proceedings of the IEEE conference on computer vision and pattern recognition. 2016: 2315-2324.
- Liao M, Song B, Long S, et al. SynthText3D: synthesizing scene text images from 3D virtual worlds [J]. Science China Information Sciences, 2020, 63(2): 120105.
- Yim M, Kim Y, Cho H C, et al. Synthtiger: Synthetic text image generator towards better text recognition models [C]. International conference on document analysis and recognition. Cham: Springer International Publishing, 2021: 109-124.
- Bau D, Zhu J Y, Wulff J, et al. Seeing what a gan cannot generate [C]. Proceedings of the IEEE/CVF international conference on computer vision. 2019: 4502-4511.
- Fang S, Xie H, Chen J, et al. Learning to Draw Text in Natural Images with Conditional Adversarial Networks [C]. IJCAI. 2019: 715-722.
- Reed S, Akata Z, Yan X, et al. Generative adversarial text to image synthesis [C]. International conference on machine learning. Pmlr, 2016: 1060-1069.
- Dhariwal P, Nichol A. Diffusion models beat gans on image synthesis [J]. Advances in neural information processing systems, 2021, 34: 8780-8794.
- Zhao Y, Lian Z. Udifftext: A unified framework for high-quality text synthesis in arbitrary images via character-aware diffusion models [C]. European conference on computer vision. Cham: Springer Nature Switzerland, 2024: 217-233.
- Ho J, Jain A, Abbeel P. Denoising diffusion probabilistic models [J]. Advances in neural information processing systems, 2020, 33: 6840-6851.
- Wu L, Zhang C, Liu J, et al. Editing text in the wild [C]. Proceedings of the 27th ACM international conference on multimedia. 2019: 1500-1508.
- Jaderberg M, Simonyan K, Vedaldi A, et al. Synthetic data and artificial neural networks for natural scene text recognition [J]. arXiv preprint arXiv: 1406.2227, 2014.
- Zhan F, Lu S, Xue C. Verisimilar image synthesis for accurate detection and recognition of texts in scenes [C]. Proceedings of the European Conference on Computer Vision (ECCV). 2018: 249-266.
- Long S, Yao C. Unrealtext: Synthesizing realistic scene text images from the unreal world [J]. arXiv preprint arXiv: 2003.10608, 2020.
- Zhang H, Xu T, Li H, et al. Stackgan: Text to photo-realistic image synthesis with stacked generative adversarial networks [C]. Proceedings of the IEEE international conference on computer vision. 2017: 5907-5915.
- Zhan F, Zhu H, Lu S. Spatial fusion gan for image synthesis [C]. Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. 2019: 3653-3662.
- Kang L, Riba P, Wang Y, et al. GANwriting: content-conditioned generation of styled handwritten word images [C]. European conference on computer vision. Cham: Springer International Publishing, 2020: 273-289.
- Yang Q, Huang J, Lin W. Swaptext: Image based texts transfer in scenes [C]. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2020: 14700-14709.
- Krishnan P, Kovvuri R, Pang G, et al. Textstylebrush: transfer of text aesthetics from a single example [J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2023, 45(7): 9122-9134.
- Nichol A, Dhariwal P, Ramesh A, et al. Glide: Towards photorealistic image generation and editing with text-guided diffusion models [J]. arXiv preprint arXiv: 2112.10741, 2021.
- Ramesh A, Dhariwal P, Nichol A, et al. Hierarchical text-conditional image generation with clip latents [J]. arXiv preprint arXiv: 2204.06125, 2022, 1(2): 3.
- Chen J, Huang Y, Lv T, et al. Textdiffuser: Diffusion models as text painters [J]. Advances in Neural Information Processing Systems, 2023, 36: 9353-9387.
- Ma J, Zhao M, Chen C, et al. Glyphdraw: Seamlessly rendering text with intricate spatial structures in text-to-image generation [J]. arXiv preprint arXiv: 2303.17870, 2023.
- Tuo Y, Xiang W, He J Y, et al. Anytext: Multilingual visual text generation and editing [J]. arXiv preprint arXiv: 2311.03054, 2023.
- Zhang L, Chen X, Wang Y, et al. Brush your text: Synthesize any scene text on images via diffusion model [C]. Proceedings of the AAAI Conference on Artificial Intelligence. 2024, 38(7): 7215-7223.
- Roy P, Bhattacharya S, Ghosh S, et al. STEFANN: scene text editor using font adaptive neural network [C]. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2020: 13228-13237.
- Ji J, Zhang G, Wang Z, et al. Improving diffusion models for scene text editing with dual encoders [J]. arXiv preprint arXiv: 2304.05568, 2023.
- Chen H, Xu Z, Gu Z, et al. Diffute: Universal text editing diffusion model [J]. Advances in Neural Information Processing Systems, 2023, 36: 63062-63074.
- Zeng W, Shu Y, Li Z, et al. TextCtrl: Diffusion-based scene text editing with prior guidance control [J]. Advances in Neural Information Processing Systems, 2024, 37: 138569-138594.
- Wang T, Liu T, Qu X, et al. GlyphMastero: A Glyph Encoder for High-Fidelity Scene Text Editing [C]. Proceedings of the Computer Vision and Pattern Recognition Conference. 2025: 28523-28532.
- Tang Z, Miyazaki T, Omachi S. A scene-text synthesis engine achieved through learning from decomposed real-world data [J]. IEEE Transactions on Image Processing, 2023, 32: 5837-5851.
- Cui J, Du J, Liu W, et al. Textnerf: A novel scene-text image synthesis method based on neural radiance fields [C]. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition. 2024: 22272-22281.