JOURNAL ARTICLE

Masked Face Image Inpainting Based on Generative Adversarial Network

Qingyu LiuLei ChenYeguo SunLei Liu

Year: 2025 Journal:   Híradástechnika/Infocommunications journal Vol: 17 (2)Pages: 11-19

Abstract

Face image inpainting is a critical task in computer vision due to the intricate semantic and textural features of facial structures. While existing deep learning-based methods have achieved some progress, they often produce blurred or artifactprone results when handling large occlusions, such as face masks. To address these challenges, this paper proposes a novel generative adversarial network (GAN) framework tailored for masked face inpainting. The generator adopts a U-Net architecture enhanced with a multi-scale mixed-attention residual module (MMRM), which integrates multi-branch convolutions for diverse receptive fields and combines spatial-channel attention mechanisms to prioritize semantically relevant features. The decoder further enhances feature fusion through channel attention mechanism, which selectively emphasizes meaningful patterns during feature map reconstruction. A realistic masked face dataset is synthesized using the CelebA database by dynamically adjusting mask positions, sizes, and angles based on facial landmarks, ensuring alignment with real-world scenarios. Quantitative and qualitative evaluations demonstrate that our method outperforms conventional models in both visual quality and quantitative metrics. Ablation studies further validate the effectiveness of MMRM and attention mechanisms in preserving structural coherence and reducing artifacts.

Keywords:
Inpainting Computer science Artificial intelligence Face (sociological concept) Feature (linguistics) Computer vision Pattern recognition (psychology) Deep learning Generative grammar Image (mathematics) Generator (circuit theory)

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
0
Refs
0.30
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Generative Adversarial Networks and Image Synthesis
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Face recognition and analysis
Physical Sciences →  Computer Science →  Computer Vision and Pattern Recognition
Facial Rejuvenation and Surgery Techniques
Health Sciences →  Medicine →  Dermatology
© 2026 ScienceGate Book Chapters — All rights reserved.