What Shape Is Optimal for Masks in Text Removal?

📅 2025-11-27
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
Existing text removal methods primarily target simple outdoor scenes and struggle with real-world images containing high-density, complex text layouts; moreover, their performance is highly sensitive to mask shape, necessitating costly manual parameter tuning. To address dense text images, this paper proposes an automated mask shape learning framework integrating deformable mask modeling and Bayesian optimization. First, we construct character-level deformable contour masks and empirically demonstrate that minimal covering masks are suboptimal, highlighting the critical role of fine-grained contour adjustment. Second, we formulate mask shape optimization as a black-box problem, using restoration quality as the feedback objective and leveraging Bayesian optimization to automatically determine optimal shape parameters. Experiments show significant improvements in restoration quality on high-density text images, empirically validating the existence of an optimal mask shape. Our approach delivers an interpretable, reusable, and fully automated solution for industrial-grade text removal.

Technology Category

Search and Optimization: Learning to SearchComputer Vision: Learning & Optimization for CVNatural Language Processing: Learning & Optimization for NLP

Application Category

Economics, Online Markets and Human Computation: LLM based quality controls for crowd workSearch and Retrieval-Augmented AI: Web learning to rank, online learning, and counterfactual learning for rankingUser Modeling, Personalization and Recommendation: User privacy protection in personalized systems
📝 Abstract
The advent of generative models has dramatically improved the accuracy of image inpainting. In particular, by removing specific text from document images, reconstructing original images is extremely important for industrial applications. However, most existing methods of text removal focus on deleting simple scene text which appears in images captured by a camera in an outdoor environment. There is little research dedicated to complex and practical images with dense text. Therefore, we created benchmark data for text removal from images including a large amount of text. From the data, we found that text-removal performance becomes vulnerable against mask profile perturbation. Thus, for practical text-removal tasks, precise tuning of the mask shape is essential. This study developed a method to model highly flexible mask profiles and learn their parameters using Bayesian optimization. The resulting profiles were found to be character-wise masks. It was also found that the minimum cover of a text region is not optimal. Our research is expected to pave the way for a user-friendly guideline for manual masking.
Problem

Research questions and friction points this paper is trying to address.

Develops method for optimal mask shapes in text removal
Addresses complex images with dense text using Bayesian optimization
Creates benchmark for practical text removal tasks
Innovation

Methods, ideas, or system contributions that make the work stand out.

Modeling flexible mask profiles with Bayesian optimization
Developing character-wise masks for dense text removal
Optimizing mask shape beyond minimum text coverage
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
H
Hyakka Nakada
M
Marika Kubota