Aucune description

noodles 3ee52e6566 'fix_readme' il y a 3 ans
imgs 192e8f8199 'faceswap' il y a 3 ans
models 192e8f8199 'faceswap' il y a 3 ans
results f6092a7295 'requirements_fix' il y a 3 ans
README.md 3ee52e6566 'fix_readme' il y a 3 ans
face_detection.py 192e8f8199 'faceswap' il y a 3 ans
face_swap.py 192e8f8199 'faceswap' il y a 3 ans
main.py 192e8f8199 'faceswap' il y a 3 ans
requirements.txt 192e8f8199 'faceswap' il y a 3 ans

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.