mirror of
https://github.com/Shawn-Shan/fawkes.git
synced 2024-12-22 07:09:33 +05:30
81a6fed188
Former-commit-id: e7e46967035dfb727d180de0a0780ca9e026dd02 [formerly 0e703ac63e52aafbaa3033759553e2f3b31d2886] Former-commit-id: 9dfff8ea4c2646d90203b378e0732330e655086a |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
align_face.py | ||
detect_faces.py | ||
differentiator.py | ||
protection.py | ||
README.md | ||
utils.py |
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 -m low
to generate cloak for images inIMAGE_DIR_PATH
. - When the cloaked image is generated, it will output a
*_low_cloaked.png
image inIMAGE_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 fawkes (the unzipped folder).
- Run
protection -d IMAGE_DIR_PATH -m low
to generate cloak for images inIMAGE_DIR_PATH
. - When the cloaked image is generated, it will output a
*_low_cloaked.png
image inIMAGE_DIR_PATH
. The generation takes ~40 seconds per image depending on the hardware.
More details on the optional parameters check out the github repo.