From dd78f632fd64323815f6183bcec745c66142b4f0 Mon Sep 17 00:00:00 2001 From: NickLau Date: Fri, 2 Jul 2021 19:50:38 +0800 Subject: [PATCH 1/2] Update usage.md You can choose to add or not add a watermark. --- docs/guidance/usage.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/guidance/usage.md b/docs/guidance/usage.md index 9ddb82d..89542e4 100644 --- a/docs/guidance/usage.md +++ b/docs/guidance/usage.md @@ -40,6 +40,17 @@ python test_wholeimage_swapsingle.py --isTrain false --name people --Arc_path a ``` python test_wholeimage_swapmutil.py --isTrain false --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path ./demo_file/Iron_man.jpg --pic_b_path ./demo_file/mutil_people.jpg --output_path ./output/ ``` +### About watermark of simswap logo +The above example command line is to add the simswap logo as the watermark by default. After our discussion, we have added a hyper parameter to control whether to remove watermark. + +The usage of removing the watermark is to add an argument: "***--no_simswaplogo***" to the command line, take the command line of "Swap all faces within one image" as an example, the following command line can get the result without watermark: +``` +python test_wholeimage_swapmutil.py --no_simswaplogo --isTrain false --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path ./demo_file/Iron_man.jpg --pic_b_path ./demo_file/mutil_people.jpg --output_path ./output/ +``` + + + + Difference between single face swapping and all face swapping are shown below. @@ -52,6 +63,7 @@ Difference between single face swapping and all face swapping are shown below. | --video_path | Path of video with the source face to swap | | --temp_path | Path to store intermediate files | | --output_path | Path of directory to store the face swapping result | +| --no_simswaplogo |The hyper parameter to control whether to remove watermark | ### Note We expect users to have GPU with at least 8G memory. For those who do not, we will provide Colab Notebook implementation in the future. From bf6e31d29898a247d4590d3109f463bc55739d11 Mon Sep 17 00:00:00 2001 From: NickLau Date: Fri, 2 Jul 2021 19:55:49 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 2c54df0..59bf7d6 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,13 @@ Our paper can be downloaded from [[Arxiv]](https://arxiv.org/pdf/2106.06340v1.pd +## Attention +***This project is for technical and academic use only. Please do not apply it to illegal and unethical scenarios.*** + ## Top News +**`2021-07-02`**: We have added a hyper parameter to allow users to choose whether to add the simswap logo as a watermark, please go to the section "About watermark of simswap logo" of [Inference for image or video face swapping](./docs/guidance/usage.md) for details. + **`2021-06-20`**: We release the scripts for arbitrary video and image processing, and a colab demo. ## Dependencies