Skip to content

Commit

Permalink
Update README with speed metrics (#37)
Browse files Browse the repository at this point in the history
* update README with speed metrics

* Update README.md

Co-authored-by: Ajinkya Indulkar <[email protected]>

* Update README.md

Co-authored-by: Ghassen Chaabouni <[email protected]>

Co-authored-by: Ajinkya Indulkar <[email protected]>
Co-authored-by: Ghassen Chaabouni <[email protected]>
  • Loading branch information
3 people authored Jul 27, 2022
1 parent c8db431 commit 90e3ec8
Showing 1 changed file with 18 additions and 28 deletions.
46 changes: 18 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<div align="center">

<h1> Deepfake Offensive Toolkit </h1>
<h1> the Deepfake Offensive Toolkit </h1>

[![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)
[![Python 3.8](https://img.shields.io/badge/python-3.8-blue.svg)](https://www.python.org/downloads/release/python-3812/)
[![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)

<br>

<a href="https://colab.research.google.com/github/sensity-ai/dot/blob/main/notebooks/colab_demo.ipynb"><img src="https://colab.research.google.com/assets/colab-badge.svg" height=20></a>

</div>
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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*
Expand Down

0 comments on commit 90e3ec8

Please sign in to comment.