Skip to content

kmvolv/FunSwap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FunSwap


Introduction


Face-Swapping application for photos and real-time use. This project has been implemented using the mediapipe library and the GUI of our application has been implemented with the help of the Kivy Framework

How the application works

  • The main working principle behind the solution is Delaunay Triangulation which has been implemented with the help of the in-built functions present in Mediapipe and OpenCV.
  • Once the face outline is detected and segmented into triangles using the aforementioned triangulation method for both the source and the destination image, the triangles are then swapped with one another, after applying the appropriate amount of warping.
  • For the final step, the swapped images are color corrected to match the tone of the original image, in order to make the outlines more visible.

Interface


PicSwap

  • Swaps the faces of two uploaded images.
  • Demonstration : Swapping faces of a baby and Taylor Swift

PicSwap Demo

VidSwap

  • Carries out real-time face swapping for a given reference image through users camera.
  • Demonstration : Real-time face swapping with the face of Dwayne Johnson

About

Face-Swapping app for photos and real-time use

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published