Faceswap

Swap face between two photos.
Alternatives To Faceswap
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Prnet4,794
10 months agon,ullmitPython
Joint 3D Face Reconstruction and Dense Alignment with Position Map Regression Network (ECCV 2018)
Simswap3,100
15 days ago244otherPython
An arbitrary face-swapping framework on images and videos with one single trained model!
Deepfakes_faceswap2,792
5 years ago14Python
from deekfakes' faceswap: https://www.reddit.com/user/deepfakes/
Faceit756
5 years ago14Python
A script to make it easy to swap faces in videos using the faceswap library, and YouTube videos.
Face_swap634
4 years ago8gpl-3.0C++
End-to-end, automatic face swapping pipeline
Faceswap572
6 years ago9mitC++
Real-time FaceSwap application built with OpenCV and dlib
Faceswap446
2 years agoPython
Swap face between two photos.
Face Swap400
2 years ago
Face swapping, Image morphing, Image warping.
Youtube Video Face Swap261
4 years ago1mitPython
The aim of this project ist to perform a face swap on a youtube video almost automatically.
Faceswap_pytorch165
4 years ago2Python
Deep fake ready to train on any 2 pair dataset with higher resolution
Alternatives To Faceswap
Select To Compare


Alternative Project Comparisons
Readme

FaceSwap

Swap face between two photos for Python 3 with OpenCV and dlib.

Get Started

python main.py --src imgs/test6.jpg --dst imgs/test7.jpg --out results/output6_7.jpg --correct_color
Source Destination Result
python main.py --src imgs/test6.jpg --dst imgs/test7.jpg --out results/output6_7_2d.jpg --correct_color --warp_2d
Source Destination Result

Install

Requirements

  • pip install -r requirements.txt
  • OpenCV 3: conda install opencv (If you have conda/anaconda)

Note: See requirements.txt for more details.

Git Clone

git clone https://github.com/wuhuikai/FaceSwap.git

Swap Your Face

python main.py ...

Note: Run python main.py -h for more details.

Real-time camera

python main_video.py --src_img imgs/test7.jpg --show --correct_color --save_path {*.avi}

Video

python main_video.py --src_img imgs/test7.jpg --video_path {video_path} --show --correct_color --save_path {*.avi}

More Results

From To
Popular Face Projects
Popular Swap Projects
Popular Machine Learning Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Camera
Opencv
Face
Anaconda
Swap
Dlib