Compare commits

...

9 Commits

Author SHA1 Message Date
Bhl0318 c38c86ba1b
Merge 6c4cf425be into e4af521592 2024-10-22 07:16:40 +02:00
KRSHH e4af521592 Delete Media from main 2024-10-21 19:02:59 +05:30
KRSHH 6d40560c92
Add files via upload 2024-10-21 19:00:10 +05:30
KRSHH 570648efd0
Upload images to media folder 2024-10-21 18:56:36 +05:30
KRSHH 2dc429440e Shift Images to a folder 2024-10-21 18:50:07 +05:30
Kenneth Estanislao 240995bbe4
Update README.md 2024-10-21 16:14:39 +08:00
KRSHH fe8e54ddc1
Update README.md - Fix Text position 2024-10-20 22:37:30 +05:30
Kenneth Estanislao 1462ee9aeb
Update README.md
included instructions to watch movies in realtime!
2024-10-20 22:46:38 +08:00
Bhl0318 6c4cf425be up 2024-09-29 13:28:51 +08:00
15 changed files with 21 additions and 16 deletions

1
.gitignore vendored
View File

@ -24,3 +24,4 @@ models/GFPGANv1.4.pth
models/DMDNet.pth
faceswap/
.vscode/
/ffmpeg-7.0.2-full_build

View File

@ -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)
[![Download](https://github.com/user-attachments/assets/3e3e252a-4bfa-41fb-a88c-84557402a7c7)](https://hacksider.gumroad.com/l/vccdmm)
[![Download](media/download.png)](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.
![demo-gif](demo.gif)
![demo-gif](media/demo.gif)
## Features
@ -167,28 +163,35 @@ python run.py --execution-provider openvino
Dynamically improve performance using the `--live-resizable` parameter.
![resizable-gif](resizable.gif)
![resizable-gif](media/resizable.gif)
### Face Mapping
Track and change faces on the fly.
![face_mapping_source](face_mapping_source.gif)
![face_mapping_source](media/face_mapping_source.gif)
**Source Video:**
![face-mapping](face_mapping.png)
![face-mapping](media/face_mapping.png)
**Enable Face Mapping:**
![face-mapping2](face_mapping2.png)
![face-mapping2](media/face_mapping2.png)
**Map the Faces:**
![face_mapping_result](face_mapping_result.gif)
![face_mapping_result](media/face_mapping_result.gif)
**See the Magic!**
![movie](media/movie.gif)
**Watch movies in realtime:**
It's as simple as opening a movie on the screen, and selecting OBS as your camera!
![image](media/movie_img.png)
## Command Line Arguments

View File

Before

Width:  |  Height:  |  Size: 5.2 MiB

After

Width:  |  Height:  |  Size: 5.2 MiB

View File

Before

Width:  |  Height:  |  Size: 11 MiB

After

Width:  |  Height:  |  Size: 11 MiB

BIN
media/download.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

View File

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 104 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 MiB

After

Width:  |  Height:  |  Size: 4.0 MiB

View File

Before

Width:  |  Height:  |  Size: 8.6 MiB

After

Width:  |  Height:  |  Size: 8.6 MiB

View File

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

BIN
media/movie.gif 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
media/movie_img.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 794 KiB

View File

Before

Width:  |  Height:  |  Size: 4.3 MiB

After

Width:  |  Height:  |  Size: 4.3 MiB

View File

@ -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