Don’t Forget Me: Accurate Background Recovery for Text Removal via Modeling Local-Global Context

Abstract

Text removal has attracted increasingly attention due to its various applications on privacy protection, document restoration, and text editing. It has shown significant progress with deep neural network. However, most of the existing methods often generate inconsistent results for complex background. To address this issue, we propose a Contextual-guided Text Removal Network, termed as CTRNet. CTRNet explores both low-level structure and high-level discriminative context feature as prior knowledge to guide the process of background restoration. We further propose a Local-global Content Modeling (LGCM) block with CNNs and Transformer-Encoder to capture local features and establish the long-term relationship among pixels globally. Finally, we incorporate LGCM with context guidance for feature modeling and decoding. Experiments on benchmark datasets, SCUT-EnsText and SCUT-Syn show that CTRNet significantly outperforms the existing state-of-the-art methods. Furthermore, a qualitative experiment on examination papers also demonstrates the generalization ability of our method. The code of CTRNet is available at https://github.com/lcy0604/CTRNet.

Cite

Text

Liu et al. "Don’t Forget Me: Accurate Background Recovery for Text Removal via Modeling Local-Global Context." Proceedings of the European Conference on Computer Vision (ECCV), 2022. doi:10.1007/978-3-031-19815-1_24

Markdown

[Liu et al. "Don’t Forget Me: Accurate Background Recovery for Text Removal via Modeling Local-Global Context." Proceedings of the European Conference on Computer Vision (ECCV), 2022.](https://mlanthology.org/eccv/2022/liu2022eccv-dont/) doi:10.1007/978-3-031-19815-1_24

BibTeX

@inproceedings{liu2022eccv-dont,
  title     = {{Don’t Forget Me: Accurate Background Recovery for Text Removal via Modeling Local-Global Context}},
  author    = {Liu, Chongyu and Jin, Lianwen and Liu, Yuliang and Luo, Canjie and Chen, Bangdong and Guo, Fengjun and Ding, Kai},
  booktitle = {Proceedings of the European Conference on Computer Vision (ECCV)},
  year      = {2022},
  doi       = {10.1007/978-3-031-19815-1_24},
  url       = {https://mlanthology.org/eccv/2022/liu2022eccv-dont/}
}