Find couple in the photo and make the girl up.
- python 3.6
- opencv 3.4.1
- dilb 19.15
- face_recognition 1.2.2
Two facial images of couple should be put into folder ./data/couple
, boy's image need to be named as name
(like 'Tony.jpg') and girl's image should be named as name_
(like 'Pepper_.jpg'), and other people's facial images named as name
(like 'Thor.jpg', 'Steve.jpg') should be put into folder ./data/single
. The face_recognition
library will extract facial features from these pictures.
If you want to use PC camera to do real-time face recognition, run
python find_couple_camera.py
If you want to recognize faces from one photo (like input.jpg
), you should save the photo at script path and run
python find_couple_image.py input.jpg