/FaceSwap

Implement faceswap on images and videos using Delaunay triangulation, Thin plate spline, and Deep Learning approaches

Primary LanguagePython

FaceSwap

  1. Download the shape_predictor_68_face_landmarks.dat file from link below https://www.kaggle.com/datasets/sergiovirahonda/shape-predictor-68-face-landmarksdat Add the .dat file to the root directory (where wrapper.py is placed)
  2. Run wrapper.py to implement the classical face swap techniques - Delaunay Triangulation and Thin Plate Spline. The output videos can be found in the Output directory
  3. Run Phase2.py to implement the PRNet network

This project was completed in collaboration with Keshubh Sharma