arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.14736cs.CV
收藏

为手写生成解耦书写者和字符风格

Disentangling Writer and Character Styles for Handwriting Generation

South China University of Technology(华南理工大学);The Hong Kong Polytechnic University(香港理工大学);Pazhou Laboratory(琶洲实验室);National University of Singapore(新加坡国立大学)

Gang Dai, Yifan Zhang, Qingfeng Wang, Qing Du, Zhuliang Yu, Zhuoman Liu, Shuangping Huang

AI总结:

提出风格解耦Transformer(SDT),通过两个互补的对比目标分别提取书写者和字符级别的风格表示,有效解决了同一个人书写不同字符时的细微风格不一致问题,实现了更逼真的在线手写字符合成。

摘要:

训练机器来合成多样化的手写笔迹是一项引人入胜的任务。最近,基于RNN的方法被提出用于生成风格化的在线汉字。然而,这些方法主要侧重于捕捉个人的整体书写风格,忽略了同一个人所写不同字符之间细微的风格不一致性。例如,虽然一个人的笔迹通常表现出整体的一致性(例如,字形倾斜和宽高比),但在字符的更精细细节(例如,笔画长度和曲率)上仍然存在微小的风格变化。鉴于此,我们提出从个人手写笔迹中解耦书写者和字符级别的风格表示,以合成逼真的风格化在线手写字符。具体而言,我们提出了风格解耦Transformer(SDT),它采用两个互补的对比目标来分别提取参考样本的风格共性和捕捉每个样本的详细风格模式。在各种语言文字上的大量实验证明了SDT的有效性。值得注意的是,我们的实证发现表明,两种学习到的风格表示提供了不同频率幅度上的信息,强调了单独提取风格的重要性。我们的源代码公开在:https://github.com/dailenson/SDT。

英文摘要:

Training machines to synthesize diverse handwritings is an intriguing task. Recently, RNN-based methods have been proposed to generate stylized online Chinese characters. However, these methods mainly focus on capturing a person's overall writing style, neglecting subtle style inconsistencies between characters written by the same person. For example, while a person's handwriting typically exhibits general uniformity (e.g., glyph slant and aspect ratios), there are still small style variations in finer details (e.g., stroke length and curvature) of characters. In light of this, we propose to disentangle the style representations at both writer and character levels from individual handwritings to synthesize realistic stylized online handwritten characters. Specifically, we present the style-disentangled Transformer (SDT), which employs two complementary contrastive objectives to extract the style commonalities of reference samples and capture the detailed style patterns of each sample, respectively. Extensive experiments on various language scripts demonstrate the effectiveness of SDT. Notably, our empirical findings reveal that the two learned style representations provide information at different frequency magnitudes, underscoring the importance of separate style extraction. Our source code is public at: https://github.com/dailenson/SDT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑