Skip to content

Get started with PiktID's API for developers. This repository explains how to integrate EraseID, the first product to provide high-quality face anonymization.

Notifications You must be signed in to change notification settings

TeodoroDuffy/eraseid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EraseID by PiktID logo

EraseID by PiktID

EraseID

Official Website Discord Follow

EraseID is an AI face anonymizer. It automatically replaces faces in existing images, instead of blurring or pixelating. The aim is to keep the image aesthetics while protecting privacy and complying with the data protection laws.

How does EraseID work?

About

EraseID utilizes generative models to intelligently create real-looking synthetic humans that perfectly fit your photos. It can be extremely useful for:

  • Enterprises: Expand your portfolio and add diversity. Unique high-resolution face replacement and editing. Enhanced variety for stock photos. No model release needed for commercial use.
  • Marketing: Customize models and fit them to any market. Adapt models for targeted campaigns worldwide. Use photos without model release for commercial purposes. Retarget advertising photos for specific groups.
  • Graphic designers: Enhance your creativity with AI-generated faces. Easy face retouching. Unique faces and expressions. Speed up work.
  • Photographers: Edit models with the help of AI. Diversify the portfolio. Adapt faces to customers’ needs.

Getting Started

Open In Colab

The following instructions suppose you have already installed a recent version of Python. For a general overview, please visit the API documentation. To use any PiktID API, an access token is required.

Step 0 - Register here. 10 credits are given for free to all new users.

Step 1 - Clone the EraseID library

# Installation commands
$ git clone https://github.com/piktid/eraseid.git
$ cd eraseid
$ pip install -r requirements.txt

Step 2 - Export the email and password as environmental variables

$ export ERASEID_EMAIL={Your email here}
$ export ERASEID_PASSWORD={Your password here}

Step 3 - Change in main.py the URL of the image (containing people) to be anonymized

...
url = 'your-url'
...

Step 4 - Run the main function

$ python3 main.py

Without any additional argument, EraseID only changes the first face it finds in your image, and provides the result asynchronously. If you want to change also the hair, change all the faces in the photo and call the server synchronously, use the following command:

$ python3 main.py --hair --all_faces --sync

Contact

[email protected]

About

Get started with PiktID's API for developers. This repository explains how to integrate EraseID, the first product to provide high-quality face anonymization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%