Compare commits
13 Commits
a5b2cc8174
...
3300dc9638
Author | SHA1 | Date |
---|---|---|
|
3300dc9638 | |
|
60e27f4755 | |
|
3d741bd269 | |
|
d4e5b8078d | |
|
61b51fc5d4 | |
|
f19e425143 | |
|
7d6bdad086 | |
|
12c0a7ac86 | |
|
c08bec22e3 | |
|
bdd7c593e1 | |
|
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,38 @@
|
||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a report to help us improve
|
||||||
|
title: ''
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Describe the bug**
|
||||||
|
A clear and concise description of what the bug is.
|
||||||
|
|
||||||
|
**To Reproduce**
|
||||||
|
Steps to reproduce the behavior:
|
||||||
|
1. Go to '...'
|
||||||
|
2. Click on '....'
|
||||||
|
3. Scroll down to '....'
|
||||||
|
4. See error
|
||||||
|
|
||||||
|
**Expected behavior**
|
||||||
|
A clear and concise description of what you expected to happen.
|
||||||
|
|
||||||
|
**Screenshots**
|
||||||
|
If applicable, add screenshots to help explain your problem.
|
||||||
|
|
||||||
|
**Desktop (please complete the following information):**
|
||||||
|
- OS: [e.g. iOS]
|
||||||
|
- Browser [e.g. chrome, safari]
|
||||||
|
- Version [e.g. 22]
|
||||||
|
|
||||||
|
**Smartphone (please complete the following information):**
|
||||||
|
- Device: [e.g. iPhone6]
|
||||||
|
- OS: [e.g. iOS8.1]
|
||||||
|
- Browser [e.g. stock browser, safari]
|
||||||
|
- Version [e.g. 22]
|
||||||
|
|
||||||
|
**Additional context**
|
||||||
|
Add any other context about the problem here.
|
|
@ -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
|
74
README.md
74
README.md
|
@ -1,10 +1,13 @@
|
||||||
|
<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>
|
||||||
|
|
||||||
## Deep Live Cam
|
<p align="center">
|
||||||
|
<img src="demo.gif" alt="Demo GIF">
|
||||||
Real-time face swap and video deepfake with a single click and only a single image.
|
<img src="avgpcperformancedemo.gif" alt="Performance Demo GIF">
|
||||||
|
</p>
|
||||||
|
|
||||||
## Disclaimer
|
## Disclaimer
|
||||||
|
|
||||||
|
@ -15,34 +18,6 @@ We are aware of the potential for unethical applications and are committed to pr
|
||||||
Users are expected to use this software responsibly and legally. If using a real person's face, obtain their consent and clearly label any output as a deepfake when sharing online. We are not responsible for end-user actions.
|
Users are expected to use this software responsibly and legally. If using a real person's face, obtain their consent and clearly label any output as a deepfake when sharing online. We are not responsible for end-user actions.
|
||||||
|
|
||||||
|
|
||||||
## Features
|
|
||||||
|
|
||||||
### Resizable Preview Window
|
|
||||||
|
|
||||||
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!**
|
|
||||||
|
|
||||||
## Quick Start (Windows / Nvidia)
|
## Quick Start (Windows / Nvidia)
|
||||||
|
|
||||||
[](https://hacksider.gumroad.com/l/vccdmm)
|
[](https://hacksider.gumroad.com/l/vccdmm)
|
||||||
|
@ -186,6 +161,35 @@ python run.py --execution-provider openvino
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
### Resizable Preview Window
|
||||||
|
|
||||||
|
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!**
|
||||||
|
|
||||||
|
|
||||||
## Command Line Arguments
|
## Command Line Arguments
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -367,11 +371,11 @@ For the latest experimental builds and features, see the [experimental branch](h
|
||||||
|
|
||||||
**TODO:**
|
**TODO:**
|
||||||
|
|
||||||
- [x] Support multiple faces
|
|
||||||
- [ ] Develop a version for web app/service
|
- [ ] Develop a version for web app/service
|
||||||
- [ ] UI/UX enhancements for desktop app
|
|
||||||
- [ ] Speed up model loading
|
- [ ] Speed up model loading
|
||||||
- [ ] Speed up real-time face swapping
|
- [ ] Speed up real-time face swapping
|
||||||
|
- [x] Support multiple faces
|
||||||
|
- [x] UI/UX enhancements for desktop app
|
||||||
|
|
||||||
This is an open-source project developed in our free time. Updates may be delayed.
|
This is an open-source project developed in our free time. Updates may be delayed.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import importlib
|
import importlib
|
||||||
from concurrent.futures import ThreadPoolExecutor
|
from concurrent.futures import ThreadPoolExecutor
|
||||||
|
|
|
@ -9,7 +9,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'
|
||||||
|
|
Loading…
Reference in New Issue