2
0
mirror of https://github.com/Shawn-Shan/fawkes.git synced 2024-12-22 07:09:33 +05:30
fawkes/fawkes
Shawn-Shan 30d8aba8be local evaluation code
Former-commit-id: 7f9e32ef86adc18f33704b8824367a610df80e69 [formerly 30a0d4935de4da1c762819eab2bfc2e5411ff6a1]
Former-commit-id: 157928d16012db8f7470abb7a297c9740860b5b7
2020-07-13 15:34:10 -05:00
..
__init__.py add app 2020-07-11 18:12:32 -05:00
__main__.py cli 2020-07-02 12:32:05 -05:00
align_face.py 0.0.6 2020-07-07 11:14:38 -05:00
detect_faces.py 0.0.6 2020-07-07 11:14:38 -05:00
differentiator.py add app 2020-07-11 18:12:32 -05:00
protection.py add app 2020-07-11 18:12:32 -05:00
README.md Update README.md 2020-07-13 09:05:09 -05:00
utils.py local evaluation code 2020-07-13 15:34:10 -05:00

Fawkes Binary

This application is built for individuals to cloak their images before uploading to the Internet. For more information about the project, please refer to our project webpage.

If you are a developer or researcher planning to customize and modify on our existing code. Please refer to fawkes.

How to Setup

MAC:

  • Download the binary following this link and unzip the download file.
  • Create a directory and move all the images you wish to protect into that directory. Note the path to that directory (e.g. ~/Desktop/images).
  • Open terminal and change directory to fawkes (the unzipped folder).
  • (If your MacOS is Catalina) Run sudo spctl --master-disable to enable running apps from unidentified developer. We are working on a solution to bypass this step.
  • Run ./fawkes -d IMAGE_DIR_PATH to generate cloak for images in IMAGE_DIR_PATH.
  • When the cloaked image is generated, it will output a *_mid_cloaked.png image in IMAGE_DIR_PATH. The generation takes ~40 seconds per image depending on the hardware.

PC:

  • Download the binary following this link and unzip the download file.
  • Create a directory and move all the images you wish to protect into that directory. Note the path to that directory (e.g. ~/Desktop/images).
  • Open terminal(powershell or cmd) and change directory to protection (the unzipped folder).
  • Run protection -d IMAGE_DIR_PATH to generate cloak for images in IMAGE_DIR_PATH.
  • When the cloaked image is generated, it will output a *_mid_cloaked.png image in IMAGE_DIR_PATH. The generation takes ~40 seconds per image depending on the hardware.

More details on the optional parameters check out the github repo.