This is a python application that combine your face and a sunglasses image with OpenCV and Dlib library.
- Blogs
Python >= 3.6
numpy==1.17.1
dlib==19.17.0
opencv-python==4.1.0.25
- Download the dlib landmark detector model file and unzip
python assets/models/download_dlib_shape_predictor_68.py
python main.py
# save landmarks
python main.py -l
python main.py -w
python main.py -q
python main.py -q -w