Research on Handwriting Text Generation Algorithm Based on Generative Adversarial Network

Authors

  • Fuchang Zhao

DOI:

https://doi.org/10.54097/kt3yem44

Keywords:

Deep learning, GAN, handwritten text generation, multimodal, picture generation.

Abstract

The main task of this paper is to study the handwriting text generation method based on deep learning. Through understanding the development status of the research, It can be found that the current research on the generation of different handwriting styles still has some obvious defects, such as the need for manual intervention in character segmentation, failure to capture the global handwriting style, style collapse, failure to generate arbitrary length characters, and text. Finally, this paper proposes a handwritten text generation algorithm combining advantages of convolutional network and Transformer. Specifically, this paper first constructs a lightweight backbone network and uses lightweight MobileNetv3 network as the backbone network to realize feature extraction of input images. The Efficient Channel Attention module is introduced to replace the SE attention module of MobileNetv3, which makes the network pay more attention to the global and local style features of handwritten images. In the feature extraction part, the network reduces the number of parameters, calculation amount and video memory occupation. It can also extract rich feature information. The FID and KID indexes of this algorithm obtained 20.28 and 9.07×10-3 respectively, and the generation effect of handwritten pictures was excellent, which could effectively imitate the writing style of writers.

Downloads

Download data is not yet available.

References

Ayan Kumar Bhunia, Abhirup Das, Ankan Kumar Bhunia, Perla Sai Raj Kishore, and Partha Pratim Roy. Handwriting Recognition in Low-Resource Scripts Using Adversarial Learning. In CVPR. IEEE, 2019. 1

Ayan Kumar Bhunia, Shuvozit Ghose, Amandeep Kumar, Pinaki Nath Chowdhury, Aneeshan Sain, and Yi-ZheSong. MetaHTR: Towards Writer-Adaptive Handwritten Text Recognition. In CVPR, 2021. 1

Yue Jiang, Zhouhui Lian, Yingmin Tang, and Jianguo Xiao. SCFont: Structure-Guided Chinese Font Generation via Deep Stacked Networks. In AAAI, 2019. 2

Ankan Kumar Bhunia, Salman Khan, Hisham Cholakkal, Rao Muhammad Anwer, Fahad Shahbaz Khan, and Mubarak Shah. Handwriting Transformers. In ICCV, 2021. 1, 2, 3, 4, 6, 7, 8

Emre Aksan and Otmar Hilliges. STCN: Stochastic Temporal Convolutional Networks. In ICLR, 2018. 1, 2

Emre Aksan, Fabrizio Pece, and Otmar Hilliges. DeepWriting: Making digital ink editable via deep generative modeling. In CHI. ACM, 2018. 1, 2

Alex Graves. Generating Sequences with Recurrent Neural Networks. arXiv preprint arXiv:1308.0850, 2013. 1, 2

Bo Ji and Tianyi Chen. Generative Adversarial Network for Handwritten Text. arXiv preprint arXiv:1907.11845, 2019. 1, 2, 3

Atsunobu Kotani, Stefanie Tellex, and James Tompkin. Generating Handwriting via Decoupled Style Descriptors. In ECCV, 2020. 1, 2

Eloi Alonso, Bastien Moysset, and Ronaldo Messina. Adversarial generation of handwritten text images conditioned on sequences. In ICDAR, pages 481–486. IEEE, 2019. 1, 2 , 3, 6

Brian Davis, Chris Tensmeyer, Brian Price, Curtis Wiging-ton, Bryan Morse, and Rajiv Jain. Text and style conditioned gan for generation of offline handwriting lines. BMVC, 2020.1, 2, 3, 6, 7, 8, 5, 9, 10, 11, 12, 13

Lei Kang, Pau Riba, Yaxing Wang, Marc¸al Rusi˜nol, Alicia Fornes, and Mauricio Villegas. Ganwriting: Content-conditioned generation of styled handwritten word images. In ECCV, pages 273–289. Springer, 2020. 1, 2, 3, 6, 7, 8, 5, 9, 10, 11, 12

Sharon Fogel, Hadar Averbuch-Elor, Sarel Cohen, Shai Mazor, and Roee Litman. Scrabblegan: semi-supervised varying length handwritten text generation. In CVPR, pages 4324–4333, 2020. 1, 2, 3, 7

Bo Ji and Tianyi Chen. Generative Adversarial Network for Handwritten Text. arXiv preprint arXiv:1907.11845, 2019. 1, 2

Atsunobu Kotani, Stefanie Tellex, and James Tompkin. Generating Handwriting via Decoupled Style Descriptors. In ECCV, 2020. 1, 2

Ji Gan and Weiqiang Wang. HiGAN: Handwriting Imitation Conditioned on Arbitrary-Length Texts and Disentangled Styles. In AAAI, 2021. 1, 2, 3, 6, 7, 8

Ji Gan, Weiqiang Wang, Jiaxu Leng, and Xinbo Gao. HiGAN+: Handwriting Imitation GAN with Disentangled Representations. ACM Trans. Graphics, 42(1):1–17, 2022. 1, 2, 3

Ankan Kumar Bhunia, Salman Khan, Hisham Cholakkal, Rao Muhammad Anwer, Fahad Shahbaz Khan, and Mubarak Shah. Handwriting Transformers. In ICCV, 2021. 1, 2, 3, 4,6, 7, 8

Downloads

Published

12-03-2024

Issue

Section

Articles

How to Cite

Zhao, F. (2024). Research on Handwriting Text Generation Algorithm Based on Generative Adversarial Network. Academic Journal of Science and Technology, 9(3), 194-197. https://doi.org/10.54097/kt3yem44