Nincs leírás

noodles 3ee52e6566 'fix_readme' 3 éve
imgs 192e8f8199 'faceswap' 3 éve
models 192e8f8199 'faceswap' 3 éve
results f6092a7295 'requirements_fix' 3 éve
README.md 3ee52e6566 'fix_readme' 3 éve
face_detection.py 192e8f8199 'faceswap' 3 éve
face_swap.py 192e8f8199 'faceswap' 3 éve
main.py 192e8f8199 'faceswap' 3 éve
requirements.txt 192e8f8199 'faceswap' 3 éve

README.md

FaceSwap

Swap face between two photos for Python 3 with OpenCV and dlib.

Get Started

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

Dlib landmarks points

Install

Requirements

  • pip install -r requirements.txt
  • OpenCV 3: conda install opencv (If you have conda/anaconda)

Note: See requirements.txt for more details.