DeepEraser: Deep Iterative Context Mining for Generic Text Eraser

Hao Feng, Wendi Wang, Shaokai Liu, Jiajun Deng, Wengang Zhou +1 more
2/29/2024
cs.CV

Official code: fh2019ustc/DeepEraser (55 stars, MIT, last commit 2024-08-26).

Abstract

In this work, we present DeepEraser, an effective deep network for generic text removal. DeepEraser utilizes a recurrent architecture that erases the text in an image via iterative operations. Our idea comes from the process of erasing pencil script, where the text area designated for removal is subject to continuous monitoring and the text is attenuated progressively, ensuring a thorough and clean erasure. Technically, at each iteration, an innovative erasing module is deployed, which not only explicitly aggregates the previous erasing progress but also mines additional semantic context to erase the target text. Through iterative refinements, the text regions are progressively replaced with more appropriate content and finally converge to a relatively accurate status. Furthermore, a custom mask generation strategy is introduced to improve the capability of DeepEraser for adaptive text removal, as opposed to indiscriminately removing all the text in an image. Our DeepEraser is notably compact with only 1.4M parameters and trained in an end-to-end manner. To verify its effectiveness, extensive experiments are conducted on several prevalent benchmarks, including SCUT-Syn, SCUT-EnsText, and Oxford Synthetic text dataset. The quantitative and qualitative results demonstrate the effectiveness of our DeepEraser over the state-of-the-art methods, as well as its strong generalization ability in custom mask text removal. The codes and pre-trained models are available at https://github.com/fh2019ustc/DeepEraser

View on arXivView PDF

Code Implementations(1)

MIT

The official code for “DeepEraser: Deep Iterative Context Mining for Generic Text Eraser”, TMM, 2024.

559PythonJan 15, 20242 years agoMIT

Similar Papers

Cite this paper

@article{feng2024deeperaser,
  title  = {DeepEraser: Deep Iterative Context Mining for Generic Text Eraser},
  author = {Hao Feng and Wendi Wang and Shaokai Liu and Jiajun Deng and Wengang Zhou and Houqiang Li},
  year   = {2024},
  eprint = {2402.19108},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.19108v1}
}

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/2402.19108.svg)](https://codeofpaper.com/paper/2402.19108)

Discussion