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

场景风格文本编辑

Scene Style Text Editing

Harbin Institute of Technology(哈尔滨工业大学);Tsinghua University(清华大学)

Tonghua Su, Fuxiang Yang, Xiang Zhou, Donglin Di, Zhongjie Wang, Songze Li

AI总结:

本文提出场景风格文本编辑任务SSTE,并设计四元框架QuadNet,通过背景修复、风格与内容编码及融合生成,在潜在空间中细粒度编辑前景文本内容与风格。

摘要:

在本工作中,我们提出了一项名为“场景风格文本编辑(Scene Style Text Editing,SSTE)”的任务,在保留原始文本场景的同时,更改源图像的文本内容以及文本风格。现有方法忽略了对前景文本风格进行细粒度调整,例如其旋转角度、颜色和字体类型。为解决这一任务,我们提出了一个名为“QuadNet”的四元框架,用于在潜在特征空间中嵌入并调整前景文本风格。具体而言,QuadNet由四个部分组成,即背景修复、风格编码器、内容编码器和融合生成器。背景修复会擦除源文本内容,并以高度真实的纹理恢复合适的背景。风格编码器提取前景文本的风格嵌入。内容编码器在潜在特征空间中提供目标文本表示,以实现内容编辑。融合生成器结合上述各部分产生的信息,并生成渲染后的文本图像。在实际应用中,我们的方法仅需字符串级标注,就能够在真实世界数据集上取得良好表现。据我们所知,我们的工作首次通过在潜在特征空间中的深度语义编辑,精细操控前景文本的内容和风格。大量实验表明,QuadNet能够生成照片级真实感的前景文本,并在真实世界场景中编辑文本内容时避免源文本阴影。

英文摘要:

In this work, we propose a task called "Scene Style Text Editing (SSTE)", changing the text content as well as the text style of the source image while keeping the original text scene. Existing methods neglect to fine-grained adjust the style of the foreground text, such as its rotation angle, color, and font type. To tackle this task, we propose a quadruple framework named "QuadNet" to embed and adjust foreground text styles in the latent feature space. Specifically, QuadNet consists of four parts, namely background inpainting, style encoder, content encoder, and fusion generator. The background inpainting erases the source text content and recovers the appropriate background with a highly authentic texture. The style encoder extracts the style embedding of the foreground text. The content encoder provides target text representations in the latent feature space to implement the content edits. The fusion generator combines the information yielded from the mentioned parts and generates the rendered text images. Practically, our method is capable of performing promisingly on real-world datasets with merely string-level annotation. To the best of our knowledge, our work is the first to finely manipulate the foreground text content and style by deeply semantic editing in the latent feature space. Extensive experiments demonstrate that QuadNet has the ability to generate photo-realistic foreground text and avoid source text shadows in real-world scenes when editing text content.

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

↑