Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Face Swapper – AI-Powered Face Swapping 🎮🛠️

🚀 Face Swapper is an AI-powered face swapping tool that seamlessly replaces faces in images using deep learning models. It leverages InsightFace for face detection and feature extraction, along with INSWAPPER for high-quality face swapping.


✨ Features

AI-Based Face Detection – Uses RetinaFace to detect faces with high accuracy.
Seamless Face Swapping – Powered by INSWAPPER (ONNX) for realistic swaps.
Automatic Landmark Alignment – Ensures natural blending of facial features.
High-Resolution Outputs – Generates sharp and visually accurate swapped faces.


🛠️ Dependencies

  • Python 3.8+
  • OpenCV
  • InsightFace
  • INSWAPPER (ONNX)
  • Matplotlib
  • NumPy

👅 Example: Face Swapping in Action

Here’s a demonstration of the face swapping process from Image 1 to Image 2:

Original Image (Image 1):

Original Image

Swapped Image (Image 2):

Swapped Image

This showcases how Face Swapper intelligently replaces the face while maintaining realism and natural expressions.


💾 Download INSwapper Model

To use the face swapper, download the inswapper_128.onnx model from Hugging Face:
Download INSwapper Model


🎓 License

This project is licensed under the MIT License.


🚀 Happy Swapping! 💺😊

About

Face Swapper is an AI-powered face swapping tool that seamlessly replaces faces in images using deep learning models. It leverages InsightFace for face detection and feature extraction, along with INSWAPPER for high-quality face swapping.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages