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

Update README.md

This commit is contained in:
Shawn Shan 2020-07-15 22:48:34 -05:00 committed by GitHub
parent 3631f57064
commit 6a87cf8362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,13 @@ If you are a developer or researcher planning to customize and modify on our exi
* Run `protection -d IMAGE_DIR_PATH` to generate cloak for images in `IMAGE_DIR_PATH`. * 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. * 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.
#### Linux:
* Download the binary following this [link](http://sandlab.cs.uchicago.edu/fawkes/files/fawkes_binary_linux.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 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/). More details on the optional parameters check out the [github repo](https://github.com/Shawn-Shan/fawkes/tree/master/).