pawangeek / Delaunay-Facemorphing

Smooth Face morphing using Affine transform and Delaunay Triangulation

Home Page:https://face-morph.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Delaunay-Facemorphing

Steps To Run

  • pip install numpy cv2 --upgrade install

  • Set FPS and frames at loc 45 (Default 21, 10) [Optional]

  • python main.py

  • Click n times on mouse to get n control points on images one by one ( Note: Corners are already added)

  • Get results in same directory

Directory Structure

  • Results : Video (frame=21, fps = 10), Images(21) All frames
  • Click_event.py : Use to trigger mouse click by user
  • Delaunay.py : Have delaunay and affine transformation function
  • Main.py : Main module ( Run this to get results )
  • Images : Input images
  • Report.pdf : Relevant Report
  • Frames.pptx : All frames

About

Smooth Face morphing using Affine transform and Delaunay Triangulation

https://face-morph.herokuapp.com/


Languages

Language:Python 33.5%Language:JavaScript 31.5%Language:CSS 23.0%Language:HTML 12.1%