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

Chongyu Liu, Lianwen Jin, Yuliang Liu, Canjie Luo, Bangdong Chen +2 more
7/21/2022
cs.CV

Official code: lcy0604/CTRNet (97 stars, MIT, last commit 2023-02-21).

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 codes and supplement materials are available at https://github.com/lcy0604/CTRNet.

View on arXivView PDF

Code Implementations(1)

lcy0604/CTRNetOfficial100%
MIT

This repository is the implementation of "Don't Forget Me: Accurate Background Recovery for Text Removal via Modeling Local-Global Context".

978Shell, PythonJul 18, 20223 years agoMIT

Similar Papers

Cite this paper

@article{liu2022dont,
  title  = {Don't Forget Me: Accurate Background Recovery for Text Removal via Modeling Local-Global Context},
  author = {Chongyu Liu and Lianwen Jin and Yuliang Liu and Canjie Luo and Bangdong Chen and Fengjun Guo and Kai Ding},
  year   = {2022},
  eprint = {2207.10273},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.10273v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.10273.svg)](https://codeofpaper.com/paper/2207.10273)

Discussion