Precision Image Face Swapping With OpenCV
Channel: The Assembly
Date: 11/09/2021

In this workshop, we’ll show you how to automate the process of swapping faces between any two images with high precision.  To do this we’ll use the dlib library to detect facial landmark points and create triangulated maps of both faces in code (to ensure maintenance of perspective, size, and proportion). Following this, we’ll use OpenCV to warp and transfer the triangular components from one image to the other.  Once we have completed this process, we can easily adapt our code to work on live video - all without any human intervention as the program handles everything.

Prerequisites:
✅ Python (https://www.python.org/downloads/)
✅ Jupyter Notebook (https://jupyter.org/install)
✅ pip install: OpenCV (https://pypi.org/project/opencv-python/), dlib (https://pypi.org/project/dlib/)

GitHub Link: https://github.com/ammarali3261/Precision-Image-Face-Swapping-With-OpenCV
-----------------------------------------

To learn more about The Assembly’s workshops, visit our website, social media or email us at workshops@theassembly.ae

Our website: http://theassembly.ae
Instagram: http://instagram.com/makesmartthings
Facebook: http://fb.com/makesmartthings
Twitter: http://twitter.com/makesmartthings

#OpenCV #FaceSwapping