/Video-Face-Swap

VFS (Video Face Swap) is ReactJS and Python FastAPI based any face swapping in whole video.

Primary LanguagePythonApache License 2.0Apache-2.0

logo

Video Face Swap (VFS)

Swap any face in a video with a few clicks!!

contributors last update forks stars open issues license


📔 Table of Contents

🌟 About the Project

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.

📷 Screenshots

Alt text

👾 Tech Stack

🧰 Getting Started

‼️ Prerequisites

🏃 Run Locally

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.

👀 Usage

Project is in two part frontend (ReactJS) and backend (Python, FastAPI). To run it locally you need to run both.

👋 Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

📜 Code of Conduct

Please read the Code of Conduct

⚠️ License

Distributed under Apache2.0. See LICENSE for more information.

🤝 Contact

Karan Jakhar - @karan-jakhar - karanjakhar49@gmail.com

Project Link: https://github.com/karanjakhar/Video-Face-Swap

💎 Acknowledgements