|
|
há 4 anos atrás | |
|---|---|---|
| imgs | há 4 anos atrás | |
| models | há 4 anos atrás | |
| results | há 4 anos atrás | |
| README.md | há 4 anos atrás | |
| face_detection.py | há 4 anos atrás | |
| face_swap.py | há 4 anos atrás | |
| main.py | há 4 anos atrás | |
| requirements.txt | há 4 anos atrás |
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.