diff --git a/README.md b/README.md index 203626b..642db72 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ python run.py --execution-provider openvino - Use a screen capture tool like OBS to stream. - To change the face, select a new source image. -## Features +## Features - Everything is realtime ### Mouth Mask @@ -202,6 +202,7 @@ options: --keep-frames keep temporary frames --many-faces process every face --map-faces map source target faces + --mouth-mask mask the mouth region --nsfw-filter filter the NSFW image or video --video-encoder {libx264,libx265,libvpx-vp9} adjust output video encoder --video-quality [0-51] adjust output video quality @@ -217,7 +218,7 @@ Looking for a CLI mode? Using the -s/--source argument will make the run program ## Press - **We are always open to criticism and ready to improve, that's we didn't cherrypick anything.** + **We are always open to criticism and ready to improve, that's why we didn't cherrypick anything.** - [*"Deep-Live-Cam goes viral, allowing anyone to become a digital doppelganger"*](https://arstechnica.com/information-technology/2024/08/new-ai-tool-enables-real-time-face-swapping-on-webcams-raising-fraud-concerns/) - Ars Technica - [*"Thanks Deep Live Cam, shapeshifters are among us now"*](https://dataconomy.com/2024/08/15/what-is-deep-live-cam-github-deepfake/) - Dataconomy diff --git a/media/demo.mp4 b/media/demo.mp4 deleted file mode 100644 index d07a2bd..0000000 Binary files a/media/demo.mp4 and /dev/null differ diff --git a/modules/core.py b/modules/core.py index 55707e2..ee67402 100644 --- a/modules/core.py +++ b/modules/core.py @@ -41,6 +41,7 @@ def parse_args() -> None: program.add_argument('--many-faces', help='process every face', dest='many_faces', action='store_true', default=False) program.add_argument('--nsfw-filter', help='filter the NSFW image or video', dest='nsfw_filter', action='store_true', default=False) program.add_argument('--map-faces', help='map source target faces', dest='map_faces', action='store_true', default=False) + program.add_argument('--mouth-mask', help='mask the mouth region', dest='mouth_mask', action='store_true', default=False) program.add_argument('--video-encoder', help='adjust output video encoder', dest='video_encoder', default='libx264', choices=['libx264', 'libx265', 'libvpx-vp9']) program.add_argument('--video-quality', help='adjust output video quality', dest='video_quality', type=int, default=18, choices=range(52), metavar='[0-51]') program.add_argument('--live-mirror', help='The live camera display as you see it in the front-facing camera frame', dest='live_mirror', action='store_true', default=False) @@ -67,6 +68,7 @@ def parse_args() -> None: modules.globals.keep_audio = args.keep_audio modules.globals.keep_frames = args.keep_frames modules.globals.many_faces = args.many_faces + modules.globals.mouth_mask = args.mouth_mask modules.globals.nsfw_filter = args.nsfw_filter modules.globals.map_faces = args.map_faces modules.globals.video_encoder = args.video_encoder diff --git a/run-directml.bat b/run-directml.bat new file mode 100644 index 0000000..038e958 --- /dev/null +++ b/run-directml.bat @@ -0,0 +1 @@ +python run.py --execution-provider dml diff --git a/run-laptop-gpu.bat b/run-laptop-gpu.bat deleted file mode 100644 index 32d9c58..0000000 --- a/run-laptop-gpu.bat +++ /dev/null @@ -1 +0,0 @@ -python run.py --execution-provider dml \ No newline at end of file diff --git a/run_with_chocolatey.bat b/run_with_chocolatey.bat deleted file mode 100644 index e62714f..0000000 --- a/run_with_chocolatey.bat +++ /dev/null @@ -1,13 +0,0 @@ -@echo off - :: Installing Microsoft Visual C++ Runtime - all versions 1.0.1 if it's not already installed - choco install vcredist-all - :: Installing CUDA if it's not already installed - choco install cuda - :: Inatalling ffmpeg if it's not already installed - choco install ffmpeg - :: Installing Python if it's not already installed - choco install python -y - :: Assuming successful installation, we ensure pip is upgraded - python -m ensurepip --upgrade - :: Use pip to install the packages listed in 'requirements.txt' - pip install -r requirements.txt \ No newline at end of file