Compare commits

...

18 Commits

Author SHA1 Message Date
thongao1302 a67f7def33
Merge 99ebec28b8 into 08b7d56b47 2024-09-13 16:00:42 +07:00
Kenneth Estanislao 08b7d56b47
Update README.md 2024-09-13 16:57:46 +08:00
Kenneth Estanislao 969c8796d5
Update README.md 2024-09-13 16:57:09 +08:00
Kenneth Estanislao 0d8fe7f930 Merge branch 'main' of https://github.com/hacksider/Deep-Live-Cam 2024-09-13 16:53:16 +08:00
Kenneth Estanislao 7be92ac3e5 Update face_mapping2.png 2024-09-13 16:52:59 +08:00
Kenneth Estanislao 24414e8d75
Update README.md 2024-09-13 16:40:45 +08:00
Kenneth Estanislao c6309136ad
Update README.md 2024-09-13 16:39:34 +08:00
Kenneth Estanislao cec588f1c1
Update README.md
added features
2024-09-13 16:38:47 +08:00
Kenneth Estanislao e899707542 facemapping data
demo data for facemapping
2024-09-13 16:30:44 +08:00
Kenneth Estanislao 336ce2d0d6
Update README.md 2024-09-13 15:49:03 +08:00
Kenneth Estanislao 3f58bdc714 Create resizable.gif 2024-09-13 15:48:47 +08:00
Kenneth Estanislao a2d2f20b5a
Update README.md 2024-09-13 14:27:22 +08:00
Kenneth Estanislao 1415493327
Update README.md 2024-09-13 14:16:28 +08:00
Kenneth Estanislao c8851038fa
Update README.md 2024-09-13 14:15:51 +08:00
Kenneth Estanislao e74b6ebe42
Update README.md
completed multiple face feature, thanks to @pereiraroland26 for this
2024-09-13 14:12:45 +08:00
thongao1302 99ebec28b8 Merge branch 'main' into dependabot/pip/torch-2.2.0 2024-08-05 17:28:26 +07:00
thongao1302 01a822807c Merge branch 'main' into dependabot/pip/torch-2.2.0 2024-08-01 20:04:15 +07:00
dependabot[bot] 31f437ff79
Bump torch from 2.0.1 to 2.2.0
Bumps [torch](https://github.com/pytorch/pytorch) from 2.0.1 to 2.2.0.
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](https://github.com/pytorch/pytorch/compare/v2.0.1...v2.2.0)

---
updated-dependencies:
- dependency-name: torch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-31 03:29:47 +00:00
10 changed files with 67 additions and 3 deletions

View File

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

14
.github/dependabot.yml vendored 100644
View File

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

View File

@ -9,6 +9,33 @@ The developers of this software are aware of its possible unethical applications
Users of this software are expected to use this software responsibly while abiding by local laws. If the face of a real person is being used, users are required to get consent from the concerned person and clearly mention that it is a deepfake when posting content online. Developers of this software will not be responsible for actions of end-users. Users of this software are expected to use this software responsibly while abiding by local laws. If the face of a real person is being used, users are required to get consent from the concerned person and clearly mention that it is a deepfake when posting content online. Developers of this software will not be responsible for actions of end-users.
## New Features
### Resizable Preview Window
Dynamically improve the performance by using the --resizable parameter
![resizable-gif](resizable.gif)
### Face Mapping
Track faces and change it on the fly
![face_mapping_source](face_mapping_source.gif)
source video
![face-mapping](face_mapping.png)
Tick this switch
![face-mapping2](face_mapping2.png)
Map the faces
![face_mapping_result](face_mapping_result.gif)
And see the magic!
## How do I install it? ## How do I install it?
@ -310,7 +337,7 @@ sudo apt-get -y install cuda-toolkit-11-8
If you want the latest and greatest build, or want to see some new great features, go to our [experimental branch](https://github.com/hacksider/Deep-Live-Cam/tree/experimental) and experience what the contributors have given. If you want the latest and greatest build, or want to see some new great features, go to our [experimental branch](https://github.com/hacksider/Deep-Live-Cam/tree/experimental) and experience what the contributors have given.
## TODO ## TODO
- [ ] Support multiple faces feature :heavy_check_mark: Support multiple faces feature
- [ ] Develop a version for web app/service - [ ] Develop a version for web app/service
- [ ] UI/UX enhancements for desktop app - [ ] UI/UX enhancements for desktop app
- [ ] Speed up model loading - [ ] Speed up model loading
@ -324,7 +351,7 @@ If you want the latest and greatest build, or want to see some new great feature
- [deepinsight](https://github.com/deepinsight): for their [insightface](https://github.com/deepinsight/insightface) project which provided a well-made library and models. Please be reminded that the [use of the model is for non-commercial research purposes only](https://github.com/deepinsight/insightface?tab=readme-ov-file#license). - [deepinsight](https://github.com/deepinsight): for their [insightface](https://github.com/deepinsight/insightface) project which provided a well-made library and models. Please be reminded that the [use of the model is for non-commercial research purposes only](https://github.com/deepinsight/insightface?tab=readme-ov-file#license).
- [havok2-htwo](https://github.com/havok2-htwo) : for sharing the code for webcam - [havok2-htwo](https://github.com/havok2-htwo) : for sharing the code for webcam
- [GosuDRM](https://github.com/GosuDRM/nsfw-roop) : for uncensoring roop - [GosuDRM](https://github.com/GosuDRM/nsfw-roop) : for uncensoring roop
- [pereiraroland26](https://github.com/pereiraroland26) : Multiple faces support) - [pereiraroland26](https://github.com/pereiraroland26) : Multiple faces support
- [vic4key](https://github.com/vic4key) : For supporting/contributing on this project - [vic4key](https://github.com/vic4key) : For supporting/contributing on this project
- and [all developers](https://github.com/hacksider/Deep-Live-Cam/graphs/contributors) behind libraries used in this project. - and [all developers](https://github.com/hacksider/Deep-Live-Cam/graphs/contributors) behind libraries used in this project.
- Foot Note: [This is originally roop-cam, see the full history of the code here.](https://github.com/hacksider/roop-cam) Please be informed that the base author of the code is [s0md3v](https://github.com/s0md3v/roop) - Foot Note: [This is originally roop-cam, see the full history of the code here.](https://github.com/hacksider/roop-cam) Please be informed that the base author of the code is [s0md3v](https://github.com/s0md3v/roop)

BIN
face_mapping.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
face_mapping2.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 MiB

View File

@ -1,3 +1,4 @@
import sys import sys
import importlib import importlib
from concurrent.futures import ThreadPoolExecutor from concurrent.futures import ThreadPoolExecutor

View File

@ -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==1.18.0; sys_platform == 'darwin' and platform_machine != 'arm64' onnxruntime==1.18.0; sys_platform == 'darwin' and platform_machine != 'arm64'

BIN
resizable.gif 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB