Skip to content

Smooth Face morphing using Affine transform and Delaunay Triangulation

Notifications You must be signed in to change notification settings

pawangeek/Delaunay-Facemorphing

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published