MCPcopy Create free account
hub / github.com/YuvalNirkin/face_swap

github.com/YuvalNirkin/face_swap @v1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0 ↗ · + Follow
266 symbols 413 edges 50 files 11 documented · 4% updated 7y agov1.0 · 2018-09-06★ 83013 open issues

Browse by type

Functions 240 Types & classes 26
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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. - Ubuntu installation guide - Windows installation guide

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.

Core symbols most depended-on inside this repo

Shape

Method 147
Function 93
Class 26

Languages

C++100%

Modules by API surface

iris_sfs/epnp.cpp30 symbols
iris_sfs/BaselFaceEstimator.cpp23 symbols
iris_sfs/utility.cpp19 symbols
iris_sfs/FaceServices2.cpp17 symbols
iris_sfs/FImRenderer.cpp17 symbols
face_swap/render_utilities.cpp14 symbols
face_swap/utilities.cpp12 symbols
iris_sfs/FTModel.cpp11 symbols
interfaces/python/face_swap_py.cpp11 symbols
face_swap/landmarks_utilities.cpp9 symbols
iris_sfs/FTModel.h7 symbols
face_swap/cnn_3dmm.cpp7 symbols

For agents

$ claude mcp add face_swap \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page