Skip to content

TheSolY/Portect

Repository files navigation

Portect

Portrait identity protection against DreamBooth

Portect demonstration on Noa Kirel

How to protect your images:

First, download and set up the repo:

git clone https://github.com/TheSolY/Portect.git
cd Portectgit status

Install the minimal requirements:

pip install -r requirements_minimal.txt

Download the necessary models from https://huggingface.co/ezioruan/inswapper_128.onnx/tree/main

Run the script

python cloak_images.py --image_dir=<path to your images>

Your images are ready to use in the output folder!

Acknowledgement:

This implementation relies on the InsightFace and CelebA.

About

Portrait Protection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages