# FaceSwap Swap face between two photos for Python 3 with OpenCV and dlib. ## Get Started ```sh python main.py --src imgs/test6.jpg --dst imgs/test7.jpg --out results/output6_7.jpg ``` | Source | Destination | Result | | --- | --- | --- | |![](imgs/test7.jpg) | ![](imgs/test6.jpg) | ![](results/output7_6.jpg) | ```sh python main.py --src imgs/test6.jpg --dst imgs/test7.jpg --out results/output6_7.jpg --point_plot True ``` ![](imgs/landmark_vis.JPG) ## Dlib landmarks points ![](imgs/68points.JPG) ## Install ### Requirements * `pip install -r requirements.txt` * OpenCV 3: `conda install opencv` (If you have conda/anaconda) Note: See [requirements.txt](requirements.txt) for more details.