|
|
4 éve | |
|---|---|---|
| imgs | 4 éve | |
| models | 4 éve | |
| results | 4 éve | |
| README.md | 4 éve | |
| face_detection.py | 4 éve | |
| face_swap.py | 4 éve | |
| main.py | 4 éve | |
| requirements.txt | 4 éve |
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.txtconda install opencv (If you have conda/anaconda)Note: See requirements.txt for more details.