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

DreamText: High Fidelity Scene Text Synthesis

About

Scene text synthesis involves rendering specified texts onto arbitrary images. Current methods typically formulate this task in an end-to-end manner but lack effective character-level guidance during training. Besides, their text encoders, pre-trained on a single font type, struggle to adapt to the diverse font styles encountered in practical applications. Consequently, these methods suffer from character distortion, repetition, and absence, particularly in polystylistic scenarios. To this end, this paper proposes DreamText for high-fidelity scene text synthesis. Our key idea is to reconstruct the diffusion training process, introducing more refined guidance tailored to this task, to expose and rectify the model's attention at the character level and strengthen its learning of text regions. This transformation poses a hybrid optimization challenge, involving both discrete and continuous variables. To effectively tackle this challenge, we employ a heuristic alternate optimization strategy. Meanwhile, we jointly train the text encoder and generator to comprehensively learn and utilize the diverse font present in the training dataset. This joint training is seamlessly integrated into the alternate optimization process, fostering a synergistic relationship between learning character embedding and re-estimating character attention. Specifically, in each step, we first encode potential character-generated position information from cross-attention maps into latent character masks. These masks are then utilized to update the representation of specific characters in the current step, which, in turn, enables the generator to correct the character's attention in the subsequent steps. Both qualitative and quantitative results demonstrate the superiority of our method to the state of the art.

Yibin Wang, Weizhong Zhang, Honghui Xu, Cheng Jin• 2024

Related benchmarks

TaskDatasetResultRank
Scene Text EditingICDAR 8 characters 2013 (test)
Sequence Accuracy87
7
Scene Text EditingICDAR 2013 (test)
SeqAcc89
7
Scene Text EditingTextSeg (test)
SeqAcc91
7
Scene Text EditingLAION-OCR (test)
SeqAcc88
7
Scene Text EditingScene Text Editing Evaluation Set (test)
FID12.13
7
Scene Text ReconstructionICDAR 8 characters 2013 (test)
SeqAcc95
7
Scene Text ReconstructionICDAR 2013 (test)
SeqAcc94
7
Scene Text ReconstructionTextSeg (test)
Sequence Accuracy96
7
Scene Text ReconstructionLAION-OCR (test)
SeqAcc93
7
Text editingUDiffText
SeqAcc (ICDAR13 8ch)87
4
Showing 10 of 11 rows

Other info

Follow for update