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

https://github.com/lucataco/cog-faceswap

Cog wrapper for faceswap with face enhancer
https://github.com/lucataco/cog-faceswap

cog

Last synced: about 1 year ago
JSON representation

Cog wrapper for faceswap with face enhancer

Awesome Lists containing this project

README

          

# faceswap Cog model

This is semi-custom implementation of faceswap as a Cog model, based on the original code of [roop](https://github.com/s0md3v/roop). [Cog packages machine learning models as standard containers.](https://github.com/replicate/cog)

First, download the pre-trained weights:

cog build -t faceswap

Then, you can run predictions:

cog predict -i target_image=@tony.jpg -i swap_image=@elon.jpg

## Example Output

Example output for sample inputs:

![alt text](output.jpg)