|
|
hace 4 años | |
|---|---|---|
| imgs | hace 4 años | |
| models | hace 4 años | |
| results | hace 4 años | |
| README.md | hace 4 años | |
| face_detection.py | hace 4 años | |
| face_swap.py | hace 4 años | |
| main.py | hace 4 años | |
| requirements.txt | hace 4 años |
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.