3D-Aware Face Swapping

Yixuan Li, Chao Ma, Yichao Yan, Wenhan Zhu, Xiaokang Yang
2/14/2026

No official code found. Best implementation: VISION-SJTU/3dSwap (88 stars, last commit 2023-08-24). 1 more below.

Abstract

Face swapping is an important research topic in computer vision with wide applications in entertainment and privacy protection. Existing methods directly learn to swap 2D facial images, taking no account of the geometric information of human faces. In the presence of large pose variance between the source and the target faces, there always exist undesirable artifacts on the swapped face. In this paper, we present a novel 3D-aware face swapping method that generates high-fidelity and multi-view-consistent swapped faces from single-view source and target images. To achieve this, we take advantage of the strong geometry and texture prior of 3D human faces, where the 2D faces are projected into the latent space of a 3D generative model. By disentangling the identity and attribute features in the latent space, we succeed in swapping faces in a 3D-aware manner, being robust to pose variations while transferring fine-grained facial details. Extensive experiments demonstrate the superiority of our 3D-aware face swapping framework in terms of visual quality, identity similarity, and multi-view consistency. Code is available at https://lyx0208.github.io/3dSwap.

DOISemantic Scholar

Code Implementations(2)

VISION-SJTU/3dSwapCommunity61%

[CVPR 2023] 3D-Aware Face Swapping

885C++, CudaJul 25, 20233 years ago
lyx0208/3dSwapCommunity59%

Code and project page for "3D-aware Face Swapping" in CVPR 2023

784C++, CudaMar 23, 20232 years ago

Cite this paper

@article{li2026daware,
  title  = {3D-Aware Face Swapping},
  author = {Yixuan Li and Chao Ma and Yichao Yan and Wenhan Zhu and Xiaokang Yang},
  year   = {2026},
  doi    = {10.1109/CVPR52729.2023.01222},
  url    = {https://doi.org/10.1109/CVPR52729.2023.01222},
  journal = {CVPR 2023 2023}
}

Discussion