noodles 3ee52e6566 'fix_readme' | il y a 3 ans | |
---|---|---|
imgs | il y a 3 ans | |
models | il y a 3 ans | |
results | il y a 3 ans | |
README.md | il y a 3 ans | |
face_detection.py | il y a 3 ans | |
face_swap.py | il y a 3 ans | |
main.py | il y a 3 ans | |
requirements.txt | il y a 3 ans |
Swap face between two photos for Python 3 with OpenCV and dlib.
python main.py --src imgs/test6.jpg --dst imgs/test7.jpg --out results/output6_7.jpg
Source | Destination | Result |
---|---|---|
python main.py --src imgs/test6.jpg --dst imgs/test7.jpg --out results/output6_7.jpg --point_plot True
pip install -r requirements.txt
conda install opencv
(If you have conda/anaconda)Note: See requirements.txt for more details.