Look Closer to Supervise Better: One-Shot Font Generation via Component-Based Discriminator

Yuxin Kong, Canjie Luo, Weihong Ma, Qiyuan Zhu, Shenggao Zhu +2 more
4/30/2022
cs.CV

Official code: kyxscut/CG-GAN (95 stars, Python, last commit 2022-09-17).

Abstract

Automatic font generation remains a challenging research issue due to the large amounts of characters with complicated structures. Typically, only a few samples can serve as the style/content reference (termed few-shot learning), which further increases the difficulty to preserve local style patterns or detailed glyph structures.

Show full abstract

We investigate the drawbacks of previous studies and find that a coarse-grained discriminator is insufficient for supervising a font generator. To this end, we propose a novel Component-Aware Module (CAM), which supervises the generator to decouple content and style at a more fine-grained level, i.e., the component level. Different from previous studies struggling to increase the complexity of generators, we aim to perform more effective supervision for a relatively simple generator to achieve its full potential, which is a brand new perspective for font generation. The whole framework achieves remarkable results by coupling component-level supervision with adversarial learning, hence we call it Component-Guided GAN, shortly CG-GAN. Extensive experiments show that our approach outperforms state-of-the-art one-shot font generation methods. Furthermore, it can be applied to handwritten word synthesis and scene text image editing, suggesting the generalization of our approach.

View on arXivView PDF

Code Implementations(1)

kyxscut/CG-GANOfficial100%

Official PyTorch implementation of the CVPR 2022 paper: "Look Closer to Supervise Better: One-Shot Font Generation via Component-Based Discriminator"

959Python, ShellMay 6, 20224 years ago

Similar Papers

Cite this paper

@article{kong2022look,
  title  = {Look Closer to Supervise Better: One-Shot Font Generation via Component-Based Discriminator},
  author = {Yuxin Kong and Canjie Luo and Weihong Ma and Qiyuan Zhu and Shenggao Zhu and Nicholas Yuan and Lianwen Jin},
  year   = {2022},
  eprint = {2205.00146},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.00146}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.00146.svg)](https://codeofpaper.com/paper/2205.00146)

Discussion