2
0
mirror of https://github.com/Shawn-Shan/fawkes.git synced 2024-12-22 07:09:33 +05:30

Update README.md

Former-commit-id: ad29a4afb784a8bb124d77f64b8796967340774b [formerly 2cfb092d8c0a8794c3ac95d337703b925d370829]
Former-commit-id: 10c625d91cf6c2538f69e018742b31774982a283
This commit is contained in:
Shawn Shan 2020-07-07 18:38:21 -05:00 committed by GitHub
parent 30a11f952a
commit cc5da1b31e

View File

@ -11,7 +11,7 @@ If you are a developer or researcher planning to customize and modify on our exi
* Download the binary following this [link](http://sandlab.cs.uchicago.edu/fawkes/files/fawkes_binary.zip) 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](https://support.apple.com/guide/terminal/open-or-quit-terminal-apd5265185d-f365-44cb-8b09-71a064a42125/mac) 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.
* (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 in `IMAGE_DIR_PATH`.
* When the cloaked image is generated, it will output a `*_low_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](https://github.com/Shawn-Shan/fawkes/tree/master/).