dafrenchyman / FaceSwap

Swap face between two photos.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FaceSwap

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

Setup for developement:

  • Setup a python 3.x venv (usually in .venv)
  • pip3 install --upgrade pip
  • pip-compile --output-file=requirements.dev.txt requirements.dev.in
  • pip-compile --output-file=requirements.txt requirements.in
  • pip3 install -r requirements.dev.txt
  • pip3 install -r requirements.txt
  • pre-commit install

Run pre-commit locally.

pre-commit run --all-files

Deploy with FrisbeeApp

to deploy with FrisbeeApp you need to make sure you include the slack api secret when you build

  • docker build --build-arg frisbee_token=${FRISBEE_TOKEN} -t YOURTAG .

About

Swap face between two photos.


Languages

Language:Python 96.3%Language:Dockerfile 2.2%Language:Shell 1.5%