Compare commits
11 Commits
06b6419377
...
78595a0329
| Author | SHA1 | Date |
|---|---|---|
|
|
78595a0329 | |
|
|
e4af521592 | |
|
|
6d40560c92 | |
|
|
570648efd0 | |
|
|
2dc429440e | |
|
|
240995bbe4 | |
|
|
fe8e54ddc1 | |
|
|
1462ee9aeb | |
|
|
99ebec28b8 | |
|
|
01a822807c | |
|
|
31f437ff79 |
|
|
@ -0,0 +1,22 @@
|
||||||
|
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||||
|
// README at: https://github.com/devcontainers/templates/tree/main/src/alpine
|
||||||
|
{
|
||||||
|
"name": "Alpine",
|
||||||
|
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||||
|
"image": "mcr.microsoft.com/devcontainers/base:alpine-3.20"
|
||||||
|
|
||||||
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||||
|
// "features": {},
|
||||||
|
|
||||||
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
|
// "forwardPorts": [],
|
||||||
|
|
||||||
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
|
// "postCreateCommand": "uname -a",
|
||||||
|
|
||||||
|
// Configure tool-specific properties.
|
||||||
|
// "customizations": {},
|
||||||
|
|
||||||
|
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||||
|
// "remoteUser": "root"
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
# To get started with Dependabot version updates, you'll need to specify which
|
||||||
|
# package ecosystems to update and where the package manifests are located.
|
||||||
|
# Please see the documentation for more information:
|
||||||
|
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||||
|
# https://containers.dev/guide/dependabot
|
||||||
|
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "devcontainers"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
|
||||||
|
|
||||||
|
interval: weekly
|
||||||
31
README.md
|
|
@ -1,12 +1,12 @@
|
||||||
<h1 align="center">Deep Live Cam</h1>
|
<h1 align="center">Deep-Live-Cam</h1>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
Real-time face swap and video deepfake with a single click and only a single image.
|
Real-time face swap and video deepfake with a single click and only a single image.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="demo.gif" alt="Demo GIF">
|
<img src="media/demo.gif" alt="Demo GIF">
|
||||||
<img src="avgpcperformancedemo.gif" alt="Performance Demo GIF">
|
<img src="media/avgpcperformancedemo.gif" alt="Performance Demo GIF">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## Disclaimer
|
## Disclaimer
|
||||||
|
|
@ -20,11 +20,7 @@ Users are expected to use this software responsibly and legally. If using a real
|
||||||
|
|
||||||
## Quick Start (Windows / Nvidia)
|
## 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.
|
[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.
|
- Use a screen capture tool like OBS to stream.
|
||||||
- To change the face, select a new source image.
|
- To change the face, select a new source image.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
|
@ -167,28 +163,35 @@ python run.py --execution-provider openvino
|
||||||
|
|
||||||
Dynamically improve performance using the `--live-resizable` parameter.
|
Dynamically improve performance using the `--live-resizable` parameter.
|
||||||
|
|
||||||

|

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

|

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

|

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

|

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

|

|
||||||
|
|
||||||
**See the Magic!**
|
**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
|
## 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 |
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import importlib
|
import importlib
|
||||||
from concurrent.futures import ThreadPoolExecutor
|
from concurrent.futures import ThreadPoolExecutor
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ tk==0.1.0
|
||||||
customtkinter==5.2.2
|
customtkinter==5.2.2
|
||||||
pillow==9.5.0
|
pillow==9.5.0
|
||||||
torch==2.0.1+cu118; sys_platform != 'darwin'
|
torch==2.0.1+cu118; sys_platform != 'darwin'
|
||||||
torch==2.0.1; sys_platform == 'darwin'
|
torch==2.2.0; sys_platform == 'darwin'
|
||||||
torchvision==0.15.2+cu118; sys_platform != 'darwin'
|
torchvision==0.15.2+cu118; sys_platform != 'darwin'
|
||||||
torchvision==0.15.2; sys_platform == 'darwin'
|
torchvision==0.15.2; sys_platform == 'darwin'
|
||||||
onnxruntime-silicon==1.16.3; sys_platform == 'darwin' and platform_machine == 'arm64'
|
onnxruntime-silicon==1.16.3; sys_platform == 'darwin' and platform_machine == 'arm64'
|
||||||
|
|
|
||||||