From 90e3ec86d1266002f8cceff89260d9e434fe991b Mon Sep 17 00:00:00 2001 From: Giorgio Patrini Date: Wed, 27 Jul 2022 13:01:32 +0200 Subject: [PATCH] Update README with speed metrics (#37) * update README with speed metrics * Update README.md Co-authored-by: Ajinkya Indulkar <26824103+AjinkyaIndulkar@users.noreply.github.com> * Update README.md Co-authored-by: Ghassen Chaabouni Co-authored-by: Ajinkya Indulkar <26824103+AjinkyaIndulkar@users.noreply.github.com> Co-authored-by: Ghassen Chaabouni --- README.md | 46 ++++++++++++++++++---------------------------- 1 file changed, 18 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index cb05afc..aee83c4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
-

Deepfake Offensive Toolkit

+

the Deepfake Offensive Toolkit

[![stars](https://img.shields.io/github/stars/sensity-ai/dot)](https://github.com/sensity-ai/dot/stargazers) [![license](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://github.com/sensity-ai/dot/blob/main/LICENSE) @@ -8,8 +8,6 @@ [![build-dot](https://github.com/sensity-ai/dot/actions/workflows/build_dot.yaml/badge.svg)](https://github.com/sensity-ai/dot/actions/workflows/build_dot.yaml) [![code-check](https://github.com/sensity-ai/dot/actions/workflows/code_check.yaml/badge.svg)](https://github.com/sensity-ai/dot/actions/workflows/code_check.yaml) -
-
@@ -122,45 +120,26 @@ Run `dot --help` to get a full list of available options. 1. Simswap ```bash - dot \ - -c ./configs/simswap.yaml \ - --target 0 \ - --source "./data" \ - --show_fps \ - --use_gpu + dot -c ./configs/simswap.yaml --target 0 --source "./data" --use_gpu ``` 2. SimSwapHQ ```bash - dot \ - -c ./configs/simswaphq.yaml \ - --target 0 \ - --source "./data" \ - --show_fps \ - --use_gpu + dot -c ./configs/simswaphq.yaml --target 0 --source "./data" --use_gpu ``` 3. FOMM ```bash - dot \ - -c ./configs/fomm.yaml \ - --target 0 \ - --source "./data" \ - --show_fps \ - --use_gpu + dot -c ./configs/fomm.yaml --target 0 --source "./data" --use_gpu ``` -4. FaceSwap +4. FaceSwap CV2 ```bash - dot \ - -c ./configs/faceswap.yaml \ - --target 0 \ - --source "./data" \ - --show_fps \ - --use_gpu + dot -c ./configs/faceswap_cv2.yaml --target 0 --source "./data" --use_gpu + ``` **Note**: To enable face superresolution, use the flag `--gpen_type gpen_256` or `--gpen_type gpen_512`. To use *dot* on CPU (not recommended), do not pass the `--use_gpu` flag. @@ -247,6 +226,17 @@ Use the virtual camera with `OBS Studio`: - Click "Start Virtual Camera" button in the controls section - Select "OBS Cam" as default camera in the video settings of the application target of the injection +## speed + +Tested on a AMD Ryzen 5 2600 Six-Core Processor with one NVIDIA GeForce RTX 2070 + +```example +Simswap: FPS 13.0 +Simswap + gpen: FPS 7.0 +SimswapHQ: FPS 11.0 +FOMM: FPS 31.0 +``` + ## License *This is not a commercial Sensity product, and it is distributed freely with no warranties*