arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.14461cs.CVcs.MM
收藏

TPFNet:一种新的文本修复Transformer

TPFNet: A Novel Text In-painting Transformer for Text Removal

IIT Roorkee(印度理工学院鲁尔基分校);TCS Research(塔塔咨询服务公司研究院)

Onkar Susladkar, Dhruv Makwana, Gayatri Deshmukh, Sparsh Mittal, Sai Chandra Teja R, Rekha Singhal

摘要:

从图像中擦除文本有助于执行各种任务,例如图像编辑和隐私保护。在本文中,我们提出了TPFNet,这是一种用于从图像中删除文本的新型单阶段(端到端)网络。我们的网络有两个部分:特征合成和图像生成。由于可以更有效地从低分辨率图像中去除噪声,因此第1部分对低分辨率图像进行操作。第1部分的输出是低分辨率的无文本图像。第2部分使用第1部分中学习的特征来预测高分辨率的无文本图像。在第一部分中,我们使用“金字塔视觉Transformer“(PVT)作为编码器。此外,我们使用了一种新的多头解码器,它产生一个高通滤波图像和分割图,除了一个无文本的图像。分割分支有助于精确定位文本,高通分支有助于学习图像结构。为了精确定位文本,TPFNet采用了一种对抗性损失,这种损失取决于分割图而不是输入图像。在Oxford,SCUT和SCUT-EnsText数据集上,我们的网络在几乎所有指标上都优于最近提出的网络。例如,在SCUT-EnsText数据集上,TPFNet的PSNR(越高越好)为39.0,文本检测精度(越低越好)为21.1,而之前最好的技术的PSNR为32.3,精度为53.2。源代码可从https://github.com/CandleLabAI/TPFNet获取

英文摘要:

Text erasure from an image is helpful for various tasks such as image editing and privacy preservation. In this paper, we present TPFNet, a novel one-stage (end-toend) network for text removal from images. Our network has two parts: feature synthesis and image generation. Since noise can be more effectively removed from low-resolution images, part 1 operates on low-resolution images. The output of part 1 is a low-resolution text-free image. Part 2 uses the features learned in part 1 to predict a high-resolution text-free image. In part 1, we use "pyramidal vision transformer" (PVT) as the encoder. Further, we use a novel multi-headed decoder that generates a high-pass filtered image and a segmentation map, in addition to a text-free image. The segmentation branch helps locate the text precisely, and the high-pass branch helps in learning the image structure. To precisely locate the text, TPFNet employs an adversarial loss that is conditional on the segmentation map rather than the input image. On Oxford, SCUT, and SCUT-EnsText datasets, our network outperforms recently proposed networks on nearly all the metrics. For example, on SCUT-EnsText dataset, TPFNet has a PSNR (higher is better) of 39.0 and text-detection precision (lower is better) of 21.1, compared to the best previous technique, which has a PSNR of 32.3 and precision of 53.2. The source code can be obtained from https://github.com/CandleLabAI/TPFNet

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

↑