An open API service indexing awesome lists of open source software.

https://github.com/woctezuma/simswap-colab

Colab notebooks to apply SimSwap to images, animated GIF, and videos.
https://github.com/woctezuma/simswap-colab

colab colab-notebook colab-notebooks colaboratory face-sw face-swap face-swapping simswap

Last synced: 6 months ago
JSON representation

Colab notebooks to apply SimSwap to images, animated GIF, and videos.

Awesome Lists containing this project

README

          

# SimSwap-Colab

The goal of this repository is to provide a Colab notebook to apply SimSwap [1] to images.

# Usage

- Run [`SimSwap_images.ipynb`][colab-notebook-simswap-images] to apply SimSwap to images.
[![Open In Colab][colab-badge]][colab-notebook-simswap-images]

- Run [`gpen/SimSwap_images.ipynb`][colab-notebook-simswap-images-gpen] to apply SimSwap and GPEN [2] to images.
[![Open In Colab][colab-badge]][colab-notebook-simswap-images-gpen]

- Run [`SimSwap_videos.ipynb`][colab-notebook-simswap-videos] to apply SimSwap to GIF images/videos.
[![Open In Colab][colab-badge]][colab-notebook-simswap-videos]

- Run [`gpen/SimSwap_videos.ipynb`][colab-notebook-simswap-videos-gpen] to apply SimSwap and GPEN to GIF images/videos.
[![Open In Colab][colab-badge]][colab-notebook-simswap-videos-gpen]

# Results

Image source + Image target = Output of SimSwap


Face swapping with a source (left) and a target image (middle). The result is on the right.

---

Alan Wake feat. Tim SweeneyEGS meme feat. Tim Sweeney


Different results obtained with the face of Tim Sweeney, founder and creator of Epic Games. Left: video game Alan Wake. Right: meme about Epic Games store.

---

James Franco feat. Tim SweeneyClint Eastwood feat. Tim Sweeney


Different animated results obtained with the face of Tim Sweeney. Left: James Franco in Spider-Man 3 (2007). Right: Clint Eastwood in Gran Torino (2008).

---

Brent Rambo feat. Tim SweeneyRobert Redford feat. Tim Sweeney


Different animated results obtained with the face of Tim Sweeney. Left: Brent Rambo. Right: Robert Redford in Jeremiah Johnson (1972).

---

Taylor Armstrong feat. Tim SweeneyJimes Tooper feat. Tim Sweeney


Different results obtained with Tim Sweeney. Left: Taylor Armstrong & Kyle Richards in The Real Housewives of Beverly Hills (2010). Right: Jimes Tooper.

# References

[1] Chen, Renwang, et al. *SimSwap: An Efficient Framework For High Fidelity Face Swapping*. In Proceedings of the 28th ACM International Conference on Multimedia. 2020.
([code][simswap-code] and [paper][simswap-paper])

[2] Yang, Tao, et al. *GAN Prior Embedded Network for Blind Face Restoration in the Wild*. arXiv preprint arXiv:2105.06070. 2021.
([code][gpen-code] and [paper][gpen-paper])

[img-source]:
[img-target]:
[cover-banner]:

[colab-notebook-simswap-images]:
[colab-notebook-simswap-images-gpen]:
[colab-notebook-simswap-videos]:
[colab-notebook-simswap-videos-gpen]:
[colab-badge]:

[simswap-code]:
[simswap-paper]:

[gpen-code]:
[gpen-paper]: