Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Exploring Stroke-Level Modifications for Scene Text Editing

About

Scene text editing (STE) aims to replace text with the desired one while preserving background and styles of the original text. However, due to the complicated background textures and various text styles, existing methods fall short in generating clear and legible edited text images. In this study, we attribute the poor editing performance to two problems: 1) Implicit decoupling structure. Previous methods of editing the whole image have to learn different translation rules of background and text regions simultaneously. 2) Domain gap. Due to the lack of edited real scene text images, the network can only be well trained on synthetic pairs and performs poorly on real-world images. To handle the above problems, we propose a novel network by MOdifying Scene Text image at strokE Level (MOSTEL). Firstly, we generate stroke guidance maps to explicitly indicate regions to be edited. Different from the implicit one by directly modifying all the pixels at image level, such explicit instructions filter out the distractions from background and guide the network to focus on editing rules of text regions. Secondly, we propose a Semi-supervised Hybrid Learning to train the network with both labeled synthetic images and unpaired real scene text images. Thus, the STE model is adapted to real-world datasets distributions. Moreover, two new datasets (Tamper-Syn2k and Tamper-Scene) are proposed to fill the blank of public evaluation datasets. Extensive experiments demonstrate that our MOSTEL outperforms previous methods both qualitatively and quantitatively. Datasets and code will be available at https://github.com/qqqyd/MOSTEL.

Yadong Qu, Qingfeng Tan, Hongtao Xie, Jianjun Xu, Yuxin Wang, Yongdong Zhang• 2022

Related benchmarks

TaskDatasetResultRank
Scene Text Recognition6 common benchmarks (test)
Word Accuracy (IIIT)48.2
57
Text Style Fidelity AssessmentScenePair Full-size Image
SSIM98.96
9
Scene Text EditingEnglish Scene Text Editing Dataset (test)
Sen.Acc57.81
8
Scene Text EditingScene Text Editing Evaluation Set (test)
FID25.09
7
Scene Text EditingICDAR 8 characters 2013 (test)
Sequence Accuracy35
7
Scene Text EditingLAION-OCR (test)
SeqAcc44
7
Scene Text EditingEnglish ScenePair (test)
W.Acc35.16
7
Scene Text ReconstructionICDAR 8 characters 2013 (test)
SeqAcc75
7
Scene Text ReconstructionICDAR 2013 (test)
SeqAcc68
7
Scene Text ReconstructionTextSeg (test)
Sequence Accuracy64
7
Showing 10 of 18 rows

Other info

Follow for update