Skip to content

fabridigua/FaceMask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FaceMask - A Real-time Face Morphing Tool


This project aims to use some computer vision concepts to build a tool for face morphing with a real-time webcam video stream.

facemask_cage

facemask_obama

facemask_putin

facemask_trump

Requirements

  • Python 3.8
  • OpenCV 4.7.0
  • Mediapipe 0.9.3

Projects Steps

img

How it works

The application consists into 6 steps:

  1. Target face landmarks detection
  2. Source (webcam) face landmarks detection
  3. Delaunay triangulation calculation
  4. Warping of triangles of the two faces
  5. Alpha blending of the warped image
  6. *Homography * calculation and perspective warping

For more details see the related medium article.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages