arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.06845cs.CV
收藏

基于区域注意力人脸修复的人脸口罩去除

Face Mask Removal with Region-attentive Face Inpainting

Minmin Yang

AI总结:

针对口罩遮挡导致人脸识别失效问题,提出基于多尺度通道-空间注意力模块(M-CSAM)的生成式人脸修复方法,通过聚焦遮挡区域监督信号,在自建的Masked-Faces数据集上实现了高保真度与身份保持的口罩去除,性能优于基线。

摘要:

在COVID-19大流行期间,口罩在我们的生活中变得无处不在。口罩会导致一些人脸识别模型失效,因为它们覆盖了人脸的很大一部分。此外,从捕获的图像或视频中去除口罩可能是理想的,例如,为了更好的社交互动以及图像/视频编辑和增强目的。因此,我们提出了一种生成式人脸修复方法,以有效恢复/重建人脸被遮挡的部分。与传统修复相比,人脸修复更具挑战性,因为它需要高保真度,同时保持身份信息。我们提出的方法包括一个多尺度通道-空间注意力模块(M-CSAM),以缓解空间信息丢失并学习通道间和通道内的相关性。此外,我们引入了一种方法,强制监督信号聚焦于被遮挡区域而不是整个图像。我们还通过整合五种不同类型的口罩(包括医用外科口罩、常规口罩和围巾,且覆盖颈部区域),从CelebA数据集合成了自己的Masked-Faces数据集。实验结果表明,我们提出的方法在结构相似性指数测度、峰值信噪比和l1损失方面优于不同的基线,同时在定性上也提供了更好的输出。代码将公开发布。代码可在GitHub上获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑