Digital makeup using face_recognition, Opencv , Pillow
Python3
face_recognition
Numpy
Opencv-contrib-python
Pillow
Program is tested on below versions of libraries:
Python 3.7.3
face_recognition==1.3.0
numpy 1.18.1
opencv-contrib-python 4.1.0
pillow 7.0.0
Recommended way to install all dependencies is to first create a virtual environment & then install all dependencies.
Below is a link to pyimagesearch site where it is explained clearly how to install virtualenv based on your operating system and then install opencv:
https://www.pyimagesearch.com/2018/09/19/pip-install-opencv/
Below is link of geeksforgeeks article to install virtual environment on Windows:
https://www.geeksforgeeks.org/creating-python-virtual-environment-windows-linux/
Install face_recognition:
pip install face_recognition
Install numpy:
pip install numpy
Install pillow:
pip install pillow
python3 digital_makeup_image_demo.py
python3 digital_makeup_webcam.py