Update README.md

Former-commit-id: 0d053ea6c8bec4a463a6e7c3aeea0439bca150dd [formerly 18d1ff3cf82b96e64f732e2ba05caf9439d9c723]
Former-commit-id: 8afda72bf68176c5cb39f91d44a6946848765b63
pull/25/head
Shawn Shan 2020-07-13 09:05:09 -05:00 zatwierdzone przez GitHub
rodzic a44dbe273f
commit 5e8800ca3d
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -12,16 +12,16 @@ If you are a developer or researcher planning to customize and modify on our exi
* 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. 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.
* 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](http://sandlab.cs.uchicago.edu/fawkes/files/fawkes_binary_windows.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(powershell or cmd) and change directory to fawkes (the unzipped folder).
* Run `protection -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.
* 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](https://github.com/Shawn-Shan/fawkes/tree/master/).