CVSep 10, 2024

Face Mask Removal with Region-attentive Face Inpainting

arXiv:2409.06845v21 citationsh-index: 1Has Code
AI Analysis

This addresses the issue of face recognition failures and image enhancement needs due to face masks during the COVID-19 pandemic, but it is incremental as it builds on existing inpainting techniques.

The paper tackles the problem of face mask removal from images by proposing a generative face inpainting method that recovers masked facial regions, achieving better performance than baselines in metrics like structural similarity index measure, peak signal-to-noise ratio, and l1 loss.

During the COVID-19 pandemic, face masks have become ubiquitous in our lives. Face masks can cause some face recognition models to fail since they cover significant portion of a face. In addition, removing face masks from captured images or videos can be desirable, e.g., for better social interaction and for image/video editing and enhancement purposes. Hence, we propose a generative face inpainting method to effectively recover/reconstruct the masked part of a face. Face inpainting is more challenging compared to traditional inpainting, since it requires high fidelity while maintaining the identity at the same time. Our proposed method includes a Multi-scale Channel-Spatial Attention Module (M-CSAM) to mitigate the spatial information loss and learn the inter- and intra-channel correlation. In addition, we introduce an approach enforcing the supervised signal to focus on masked regions instead of the whole image. We also synthesize our own Masked-Faces dataset from the CelebA dataset by incorporating five different types of face masks, including surgical mask, regular mask and scarves, which also cover the neck area. The experimental results show that our proposed method outperforms different baselines in terms of structural similarity index measure, peak signal-to-noise ratio and l1 loss, while also providing better outputs qualitatively. The code will be made publicly available. Code is available at GitHub.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes