FSGAN: Subject Agnostic Face Swapping and Reenactment

Yuval Nirkin, Yosi Keller, Tal Hassner
8/16/2019
cs.CVcs.GRcs.LG

Official code: YuvalNirkin/fsgan (778 stars, Jupyter Notebook, CC0-1.0, last commit 2025-11-13).

Abstract

We present Face Swapping GAN (FSGAN) for face swapping and reenactment. Unlike previous work, FSGAN is subject agnostic and can be applied to pairs of faces without requiring training on those faces.

Show full abstract

To this end, we describe a number of technical contributions. We derive a novel recurrent neural network (RNN)-based approach for face reenactment which adjusts for both pose and expression variations and can be applied to a single image or a video sequence. For video sequences, we introduce continuous interpolation of the face views based on reenactment, Delaunay Triangulation, and barycentric coordinates. Occluded face regions are handled by a face completion network. Finally, we use a face blending network for seamless blending of the two faces while preserving target skin color and lighting conditions. This network uses a novel Poisson blending loss which combines Poisson optimization with perceptual loss. We compare our approach to existing state-of-the-art systems and show our results to be both qualitatively and quantitatively superior.

View on arXivView PDF

Code Implementations(1)

YuvalNirkin/fsganOfficial100%
CC0-1.0

FSGAN - Official PyTorch Implementation

778147Jupyter Notebook, PythonApr 3, 20201 years agoCC0-1.0
facereenactmentsegmentationswapping

Similar Papers

Cite this paper

@article{nirkin2019fsgan,
  title  = {FSGAN: Subject Agnostic Face Swapping and Reenactment},
  author = {Yuval Nirkin and Yosi Keller and Tal Hassner},
  year   = {2019},
  eprint = {1908.05932},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.05932}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1908.05932.svg)](https://codeofpaper.com/paper/1908.05932)

Discussion