It detects faces and then group them together so you can upload a new face for a group and it will be swapped in the whole video.
Clone the project
git clone https://github.com/karanjakhar/Video-Face-Swap.git
Go to the project directory
cd Video-Face-Swap
Install dependencies
cd Video-Face-Swap/frontend
npm install
cd Video-Face-Swap/backend
pip install -r requirements.txt
Run Backend and Frontend
cd Video-Face-Swap/frontend
npm start
cd Video-Face-Swap/backend
python3 main.py
Model Weights
Download model weight files from release and place them in weights/ folder.
Project is in two part frontend (ReactJS) and backend (Python, FastAPI). To run it locally you need to run both.
Contributions are always welcome!
See contributing.md
for ways to get started.
Please read the Code of Conduct
Distributed under Apache2.0. See LICENSE for more information.
Karan Jakhar - @karan-jakhar - [email protected]
Project Link: https://github.com/karanjakhar/Video-Face-Swap