Abstract
Scene text removal (STR) involves two processes: text localization and background reconstruction. Previous methods often provide implicit erasure guidance by modifying all pixels in an image, leading to excessive erasure of non-text areas and inexhaustive removal of text regions (ghosting). We propose the ProgrEssively Region-based scene Text eraser (PERT), which introduces explicit erasure guidance via a Region-based Modification Strategy (RegionMS) and balanced multi-stage erasure. PERT achieves state-of-the-art results on standard benchmarks, operating at 71 FPS with significantly lower parameter complexity than existing models, all without requiring adversarial loss.
Introduction
Scene Text Removal (STR) is the task of detecting text in an image and "inpainting" the background to make it look as if the text was never there. This is crucial for privacy (redacting sensitive info) and image editing. However, the authors identify two major flaws in existing STR methods: excessive erasure and inexhaustive erasure. Excessive erasure occurs when models use "implicit guidance," modifying every pixel in the image and distorting non-text areas. Inexhaustive erasure, or "ghosting," happens when one-stage approaches leave behind remnants of original text strokes.
Methodology
PERT introduces a decoupled, lightweight architecture designed for precision and efficiency, moving away from unstable and computationally expensive Generative Adversarial Network (GAN) frameworks.
Region-based Modification Strategy (RegionMS)
Instead of letting the network change the whole image, PERT uses "explicit guidance." It predicts a text mask and ensures that only the pixels within that mask are modified. The background textures outside the mask are directly inherited from the original image, perfectly preserving non-text areas.
Balanced Multi-stage Erasure
Rather than having different architectures for "coarse" and "fine" stages, PERT uses several identical erasing blocks that share parameters. Each stage takes an "equal step" toward the final result. This recursive approach makes the learning process more stable and keeps the model size small.
Decoupled Architecture
Each block contains a Text Localization Network (TLN) and a Background Reconstruction Network (BRN). They share a backbone but perform distinct tasks, allowing for a more lightweight design compared to heavy "all-in-one" models.
Experimental Results
The authors evaluated PERT on two standard benchmarks: SCUT-EnsText (real-world images) and SCUT-Syn (synthetic data).
- Performance: PERT set new records on the SCUT-EnsText dataset with a PSNR of 33.25 and MSSIM of 96.95, significantly outperforming the previous leader, EraseNet.
- Efficiency: It runs at 71 FPS on an NVIDIA 2080Ti, making it suitable for real-time applications.
- Complexity: It uses only 14.0M parameters, which is at least 25% lower than other multi-stage competitors like MTRNet++ or EraseNet.
Conclusion
PERT demonstrates that explicit region-based guidance and balanced, parameter-shared multi-stage refinement can effectively solve the "over-erasing" and "ghosting" problems in scene text removal. While the model's performance depends on the accuracy of the Text Localization Network (TLN), its simplicity and efficiency establish a strong new baseline for the field. Future work may involve integrating more advanced detection branches to improve mask accuracy and expanding the framework to scene text editing.
Summary updated