File size: 1,225 Bytes
acb9f1e
 
 
 
 
 
cddf7b4
acb9f1e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
title: Face & Body Swapper
emoji: πŸ”„
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.25.0
app_file: app.py
pinned: false
license: mit
---

# Face & Body Swapper

A tool for swapping faces and bodies in images and videos using AI.

## Features
- **Face Swap (Image)** β€” Replace faces in a target image with a source face
- **Body Swap (Image)** β€” Transplant a person's body onto a target scene
- **Face Swap (Video)** β€” Apply face swap frame-by-frame on a video
- **Body Swap (Video)** β€” Apply body swap frame-by-frame on a video

## Tech Stack
- [InsightFace](https://github.com/deepinsight/insightface) β€” Face detection & swapping
- [GFPGAN](https://github.com/TencentARC/GFPGAN) β€” Face enhancement
- [rembg](https://github.com/danielgatis/rembg) β€” Person segmentation
- [MediaPipe](https://developers.google.com/mediapipe) β€” Pose estimation
- [OpenCV](https://opencv.org/) β€” Image/video processing
- [FFmpeg](https://ffmpeg.org/) β€” Video encoding

## Ethical Use

> ⚠️ **Important**: Only use with explicit consent of all persons involved.
> Do not use to create misleading, deceptive, non-consensual, or harmful content.
> The creators of this tool are not responsible for misuse.