Compare commits
9 Commits
8017e483d1
...
c38c86ba1b
Author | SHA1 | Date |
---|---|---|
|
c38c86ba1b | |
|
e4af521592 | |
|
6d40560c92 | |
|
570648efd0 | |
|
2dc429440e | |
|
240995bbe4 | |
|
fe8e54ddc1 | |
|
1462ee9aeb | |
|
6c4cf425be |
|
@ -24,3 +24,4 @@ models/GFPGANv1.4.pth
|
|||
models/DMDNet.pth
|
||||
faceswap/
|
||||
.vscode/
|
||||
/ffmpeg-7.0.2-full_build
|
||||
|
|
31
README.md
|
@ -1,12 +1,12 @@
|
|||
<h1 align="center">Deep Live Cam</h1>
|
||||
<h1 align="center">Deep-Live-Cam</h1>
|
||||
|
||||
<p align="center">
|
||||
Real-time face swap and video deepfake with a single click and only a single image.
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<img src="demo.gif" alt="Demo GIF">
|
||||
<img src="avgpcperformancedemo.gif" alt="Performance Demo GIF">
|
||||
<img src="media/demo.gif" alt="Demo GIF">
|
||||
<img src="media/avgpcperformancedemo.gif" alt="Performance Demo GIF">
|
||||
</p>
|
||||
|
||||
## Disclaimer
|
||||
|
@ -20,11 +20,7 @@ Users are expected to use this software responsibly and legally. If using a real
|
|||
|
||||
## Quick Start (Windows / Nvidia)
|
||||
|
||||
[](https://hacksider.gumroad.com/l/vccdmm)
|
||||
|
||||
|
||||
|
||||
|
||||
[](https://hacksider.gumroad.com/l/vccdmm)
|
||||
|
||||
[Download latest pre-built version with CUDA support](https://hacksider.gumroad.com/l/vccdmm) - No Manual Installation/Downloading required.
|
||||
|
||||
|
@ -159,7 +155,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
|
||||
|
||||
|
@ -167,28 +163,35 @@ python run.py --execution-provider openvino
|
|||
|
||||
Dynamically improve performance using the `--live-resizable` parameter.
|
||||
|
||||

|
||||

|
||||
|
||||
### Face Mapping
|
||||
|
||||
Track and change faces on the fly.
|
||||
|
||||

|
||||

|
||||
|
||||
**Source Video:**
|
||||
|
||||

|
||||

|
||||
|
||||
**Enable Face Mapping:**
|
||||
|
||||

|
||||

|
||||
|
||||
**Map the Faces:**
|
||||
|
||||

|
||||

|
||||
|
||||
**See the Magic!**
|
||||
|
||||

|
||||
|
||||
**Watch movies in realtime:**
|
||||
|
||||
It's as simple as opening a movie on the screen, and selecting OBS as your camera!
|
||||

|
||||
|
||||
|
||||
## Command Line Arguments
|
||||
|
||||
|
|
Before Width: | Height: | Size: 5.2 MiB After Width: | Height: | Size: 5.2 MiB |
Before Width: | Height: | Size: 11 MiB After Width: | Height: | Size: 11 MiB |
After Width: | Height: | Size: 9.0 KiB |
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
Before Width: | Height: | Size: 104 KiB After Width: | Height: | Size: 104 KiB |
Before Width: | Height: | Size: 4.0 MiB After Width: | Height: | Size: 4.0 MiB |
Before Width: | Height: | Size: 8.6 MiB After Width: | Height: | Size: 8.6 MiB |
Before Width: | Height: | Size: 73 KiB After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 1.6 MiB |
After Width: | Height: | Size: 794 KiB |
Before Width: | Height: | Size: 4.3 MiB After Width: | Height: | Size: 4.3 MiB |
|
@ -567,12 +567,13 @@ def swap_faces_paths() -> None:
|
|||
|
||||
def select_target_path() -> None:
|
||||
global RECENT_DIRECTORY_TARGET, img_ft, vid_ft
|
||||
|
||||
combined_types = ('Media',(img_ft[-1] + vid_ft[-1])
|
||||
)
|
||||
PREVIEW.withdraw()
|
||||
target_path = ctk.filedialog.askopenfilename(
|
||||
title="select an target image or video",
|
||||
initialdir=RECENT_DIRECTORY_TARGET,
|
||||
filetypes=[img_ft, vid_ft],
|
||||
filetypes=[combined_types],
|
||||
)
|
||||
if is_image(target_path):
|
||||
modules.globals.target_path = target_path
|
||||
|
|