Skip to content

End-to-end, automatic face swapping pipeline

License

Notifications You must be signed in to change notification settings

kwanUm/face_swap

 
 

Repository files navigation

End-to-end, automatic face swapping pipeline

alt text The Joker (Heath Ledger) swapped using our method onto very different subjects and images.

Yuval Nirkin, Iacopo Masi, Anh Tuan Tran, Tal Hassner, and Gerard Medioni.

Overview

Code for the automatic, image-to-image face swapping method described in the paper:

Yuval Nirkin, Iacopo Masi, Anh Tuan Tran, Tal Hassner, Gerard Medioni, "On Face Segmentation, Face Swapping, and Face Perception", IEEE Conference on Automatic Face and Gesture Recognition (FG), Xi'an, China on May 2018

Please see project page for more details, more resources and updates on this project.

If you find this code useful, please make sure to cite our paper in your work.

News

Version 1.0 is released:

  • Better performance and results.
  • Python binding.
  • Easier to build: removed many of the dependencies.
  • Software renderer: OpenGL is no longer required, the project can now be built on gui-less servers without any problems.
  • Added low resolution segmentation model for GPUs with low memory.

Installation

Both Linux and Windows are supported.

Usage

Citation

Please cite our paper with the following bibtex if you use our face renderer:

@inproceedings{nirkin2018_faceswap,
      title={On Face Segmentation, Face Swapping, and Face Perception},
      booktitle = {IEEE Conference on Automatic Face and Gesture Recognition},
      author={Nirkin, Yuval and Masi, Iacopo and Tran, Anh Tuan and Hassner, Tal and Medioni, G\'{e}rard},
      year={2018},
    }

Related projects

Copyright

Copyright 2018, Yuval Nirkin, Iacopo Masi, Anh Tuan Tran, Tal Hassner, and Gerard Medioni

The SOFTWARE provided in this page is provided "as is", without any guarantee made as to its suitability or fitness for any particular use. It may contain bugs, so use of this tool is at your own risk. We take no responsibility for any damage of any sort that may unintentionally be caused through its use.

License

This project is released under the GPLv3 license.

For a more permitting license please contact the author.

About

End-to-end, automatic face swapping pipeline

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 96.1%
  • CMake 3.6%
  • C 0.3%