Face swapping between two images or two faces in a single image. It is similar to like using Snapchat face filters.
The aim of this project is to implement an end-to-end pipeline to swap faces in a video just like Snapchat’s face swap filter or this face swap website
- Mandeep Singh
- Chinmay Kate
Wrapper.py has three command line arguments to input -
- Model type to choose: either delaunay or tps
- input_type to choose: either image or video
- input_path to add: path of the source image or video
An example of running Wrapper.py with all the arguments is shown below:
python3 Wrapper.py --Model delaunay --input_type video --input_path Data/Data1.mp4
'Data' - folder contains the original video and the output video as well.
'Helper' - folder contains all the helper code required to run Wrapper.py
'Results' - folder contains other test run outputs of the models as well.
'other' - folder contains the source files for above test runs.