Leveraging Text Localization for Scene Text Removal via Text-aware Masked Image Modeling

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Zixiao, Xie, Hongtao, Wang, YuXin, Qu, Yadong, Guo, Fengjun, Liu, Pengwei
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909321019785216
author Wang, Zixiao
Xie, Hongtao
Wang, YuXin
Qu, Yadong
Guo, Fengjun
Liu, Pengwei
author_facet Wang, Zixiao
Xie, Hongtao
Wang, YuXin
Qu, Yadong
Guo, Fengjun
Liu, Pengwei
contents Existing scene text removal (STR) task suffers from insufficient training data due to the expensive pixel-level labeling. In this paper, we aim to address this issue by introducing a Text-aware Masked Image Modeling algorithm (TMIM), which can pretrain STR models with low-cost text detection labels (e.g., text bounding box). Different from previous pretraining methods that use indirect auxiliary tasks only to enhance the implicit feature extraction ability, our TMIM first enables the STR task to be directly trained in a weakly supervised manner, which explores the STR knowledge explicitly and efficiently. In TMIM, first, a Background Modeling stream is built to learn background generation rules by recovering the masked non-text region. Meanwhile, it provides pseudo STR labels on the masked text region. Second, a Text Erasing stream is proposed to learn from the pseudo labels and equip the model with end-to-end STR ability. Benefiting from the two collaborative streams, our STR model can achieve impressive performance only with the public text detection datasets, which greatly alleviates the limitation of the high-cost STR labels. Experiments demonstrate that our method outperforms other pretrain methods and achieves state-of-the-art performance (37.35 PSNR on SCUT-EnsText). Code will be available at https://github.com/wzx99/TMIM.
format Preprint
id arxiv_https___arxiv_org_abs_2409_13431
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Leveraging Text Localization for Scene Text Removal via Text-aware Masked Image Modeling
Wang, Zixiao
Xie, Hongtao
Wang, YuXin
Qu, Yadong
Guo, Fengjun
Liu, Pengwei
Computer Vision and Pattern Recognition
Existing scene text removal (STR) task suffers from insufficient training data due to the expensive pixel-level labeling. In this paper, we aim to address this issue by introducing a Text-aware Masked Image Modeling algorithm (TMIM), which can pretrain STR models with low-cost text detection labels (e.g., text bounding box). Different from previous pretraining methods that use indirect auxiliary tasks only to enhance the implicit feature extraction ability, our TMIM first enables the STR task to be directly trained in a weakly supervised manner, which explores the STR knowledge explicitly and efficiently. In TMIM, first, a Background Modeling stream is built to learn background generation rules by recovering the masked non-text region. Meanwhile, it provides pseudo STR labels on the masked text region. Second, a Text Erasing stream is proposed to learn from the pseudo labels and equip the model with end-to-end STR ability. Benefiting from the two collaborative streams, our STR model can achieve impressive performance only with the public text detection datasets, which greatly alleviates the limitation of the high-cost STR labels. Experiments demonstrate that our method outperforms other pretrain methods and achieves state-of-the-art performance (37.35 PSNR on SCUT-EnsText). Code will be available at https://github.com/wzx99/TMIM.
title Leveraging Text Localization for Scene Text Removal via Text-aware Masked Image Modeling
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.13431