https://github.com/aleph23/mobilefaceswap

MobileFaceSwap: A Lightweight Framework for Video Face Swapping (AAAI 2022)

https://github.com/aleph23/mobilefaceswap

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.7%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

MobileFaceSwap: A Lightweight Framework for Video Face Swapping (AAAI 2022)

Basic Info
  • Host: GitHub
  • Owner: aleph23
  • License: apache-2.0
  • Language: Jupyter Notebook
  • Default Branch: master
  • Homepage:
  • Size: 28.5 MB
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Fork of Seanseattle/MobileFaceSwap
Created over 3 years ago · Last pushed almost 3 years ago

https://github.com/aleph23/MobileFaceSwap/blob/master/

### [MobileFaceSwap: A Lightweight Framework for Video Face Swapping (AAAI 2022)](https://arxiv.org/abs/2201.03808)
--- 

**Updated**
: Now, you can use a colab runtime for MobileFaceSwap 

**Dependencies**
- paddlepaddle==2.1.2
- insightface==0.2.1
- opencv
- numpy

**Getting Started**

1. The pretrained models can be downloaded from [Baidu Drive](https://pan.baidu.com/s/14_Wat-OA6ljGfR3Hk8Fk6A) (passward:f6wu) or [Google Drive](https://drive.google.com/file/d/1ZIzGLDB15GRAZAbkfNR0hNWdgQpxeA_r/view?usp=sharing).

2. Run the codes as follows for image or video tests.

```
python image_test.py --target_img_path data/xxx.png --source_img_path data/xxx.png --output_dir results --use_gpu True

python video_test.py --target_video_path data/xxx.mp4 --source_img_path data/xxx.png --output_dir results --use_gpu True
```


**Results**

![](docs/demo.png)

![](docs/video.gif)

**Citation**
```
@inproceedings{xu2022MobileFaceSwap,
  title={MobileFaceSwap: A Lightweight Framework for Video Face Swapping},
  author={Xu, Zhiliang and Hong, Zhibin and Ding, Changxing and Zhu, Zhen and Han, Junyu and Liu, Jingtuo and Ding, Errui},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  year={2022}
}
```

Owner

  • Login: aleph23
  • Kind: user
  • Location: Mojave
  • Company: Occasionally

Primarily bipedal

GitHub Events

Total
Last Year