dupa
Browse files
README.md
CHANGED
@@ -1,156 +1,12 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
- Platform-independant Browser GUI
|
14 |
-
- Selection of multiple input/output faces in one go
|
15 |
-
- Many different swapping modes, first detected, face selections, by gender
|
16 |
-
- Batch processing of images/videos
|
17 |
-
- Masking of face occluders using text prompts or automatically
|
18 |
-
- Optional Face Upscaler/Restoration using different enhancers
|
19 |
-
- Preview swapping from different video frames
|
20 |
-
- Live Fake Cam using your webcam
|
21 |
-
- Extras Tab for cutting videos etc.
|
22 |
-
- Settings - storing configuration for next session
|
23 |
-
- Theme Support
|
24 |
-
|
25 |
-
and lots more...
|
26 |
-
|
27 |
-
|
28 |
-
## Disclaimer
|
29 |
-
|
30 |
-
This project is for technical and academic use only.
|
31 |
-
Users of this software are expected to use this software responsibly while abiding the local law. If a face of a real person is being used, users are suggested 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.
|
32 |
-
**Please do not apply it to illegal and unethical scenarios.**
|
33 |
-
|
34 |
-
In the event of violation of the legal and ethical requirements of the user's country or region, this code repository is exempt from liability
|
35 |
-
|
36 |
-
### Installation
|
37 |
-
|
38 |
-
Please refer to the [wiki](https://github.com/C0untFloyd/roop-unleashed/wiki).
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
### Usage
|
44 |
-
|
45 |
-
- Windows: run the `windows_run.bat` from the Installer.
|
46 |
-
- Linux: `python run.py`
|
47 |
-
|
48 |
-
<a target="_blank" href="https://colab.research.google.com/github/C0untFloyd/roop-unleashed/blob/main/roop-unleashed.ipynb">
|
49 |
-
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
50 |
-
</a>
|
51 |
-
|
52 |
-
|
53 |
-
Additional commandline arguments are currently unsupported and settings should be done via the UI.
|
54 |
-
|
55 |
-
> Note: When you run this program for the first time, it will download some models roughly ~2Gb in size.
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
### Changelog
|
61 |
-
|
62 |
-
**22.04.2024** v3.9.0
|
63 |
-
|
64 |
-
- Bugfix: Face detection bounding box corrupt values at weird angles
|
65 |
-
- Rewrote mask previewing to work with every model
|
66 |
-
- Switching mask engines toggles text interactivity
|
67 |
-
- Clearing target files, resets face selection dropdown
|
68 |
-
- Massive rewrite of swapping architecture, needed for xseg implementation
|
69 |
-
- Added DFL Xseg Support for partial face occlusion
|
70 |
-
- Face masking only runs when there is a face detected
|
71 |
-
- Removed unnecessary toggle checkbox for text masking
|
72 |
-
|
73 |
-
|
74 |
-
**22.03.2024** v3.6.5
|
75 |
-
|
76 |
-
- Bugfix: Installer pulling latest update on first installation
|
77 |
-
- Bugfix: Regression issue, blurring/erosion missing from face swap
|
78 |
-
- Exposed erosion and blur amounts to UI
|
79 |
-
- Using same values for manual masking too
|
80 |
-
|
81 |
-
|
82 |
-
**20.03.2024** v3.6.3
|
83 |
-
|
84 |
-
- Bugfix: Workaround for Gradio Slider Change Bug
|
85 |
-
- Bugfix: CSS Styling to fix Gradio Image Height Bug
|
86 |
-
- Made face swapping mask offsets resolution independant
|
87 |
-
- Show offset mask as overlay
|
88 |
-
- Changed layout for masking
|
89 |
-
|
90 |
-
|
91 |
-
**18.03.2024** v3.6.0
|
92 |
-
|
93 |
-
- Updated to Gradio 4.21.0 - requiring many changes under the hood
|
94 |
-
- New manual masking (draw the mask yourself)
|
95 |
-
- Extras Tab, streamlined cutting/joining videos
|
96 |
-
- Re-added face selection by gender (on-demand loading, default turned off)
|
97 |
-
- Removed unnecessary activate live-cam option
|
98 |
-
- Added time info to preview frame and changed frame slider event to allow faster changes
|
99 |
-
|
100 |
-
|
101 |
-
**10.03.2024** v3.5.5
|
102 |
-
|
103 |
-
- Bugfix: Installer Path Env
|
104 |
-
- Bugfix: file attributes
|
105 |
-
- Video processing checks for presence of ffmpeg and displays warning if not found
|
106 |
-
- Removed gender + age detection to speed up processing. Option removed from UI
|
107 |
-
- Replaced restoreformer with restoreformer++
|
108 |
-
- Live Cam recoded to run separate from virtual cam and without blocking controls
|
109 |
-
- Swapping with only 1 target face allows selecting from several input faces
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
**08.01.2024** v3.5.0
|
114 |
-
|
115 |
-
- Bugfix: wrong access options when creating folders
|
116 |
-
- New auto rotation of horizontal faces, fixing bad landmark positions (expanded on ![PR 364](https://github.com/C0untFloyd/roop-unleashed/pull/364))
|
117 |
-
- Simple VR Option for stereo Images/Movies, best used in selected face mode
|
118 |
-
- Added RestoreFormer Enhancer - https://github.com/wzhouxiff/RestoreFormer
|
119 |
-
- Bumped up package versions for onnx/Torch etc.
|
120 |
-
|
121 |
-
|
122 |
-
**16.10.2023** v3.3.4
|
123 |
-
|
124 |
-
**11.8.2023** v2.7.0
|
125 |
-
|
126 |
-
Initial Gradio Version - old TkInter Version now deprecated
|
127 |
-
|
128 |
-
- Re-added unified padding to face enhancers
|
129 |
-
- Fixed DMDNet for all resolutions
|
130 |
-
- Selecting target face now automatically switches swapping mode to selected
|
131 |
-
- GPU providers are correctly set using the GUI (needs restart currently)
|
132 |
-
- Local output folder can be opened from page
|
133 |
-
- Unfinished extras functions disabled for now
|
134 |
-
- Installer checks out specific commit, allowing to go back to first install
|
135 |
-
- Updated readme for new gradio version
|
136 |
-
- Updated Colab
|
137 |
-
|
138 |
-
|
139 |
-
# Acknowledgements
|
140 |
-
|
141 |
-
Lots of ideas, code or pre-trained models borrowed from the following projects:
|
142 |
-
|
143 |
-
https://github.com/deepinsight/insightface<br />
|
144 |
-
https://github.com/s0md3v/roop<br />
|
145 |
-
https://github.com/AUTOMATIC1111/stable-diffusion-webui<br />
|
146 |
-
https://github.com/Hillobar/Rope<br />
|
147 |
-
https://github.com/TencentARC/GFPGAN<br />
|
148 |
-
https://github.com/kadirnar/codeformer-pip<br />
|
149 |
-
https://github.com/csxmli2016/DMDNet<br />
|
150 |
-
https://github.com/glucauze/sd-webui-faceswaplab<br />
|
151 |
-
https://github.com/ykk648/face_power<br />
|
152 |
-
|
153 |
-
<br />
|
154 |
-
<br />
|
155 |
-
Thanks to all developers!
|
156 |
-
|
|
|
1 |
+
```
|
2 |
+
title: Roop
|
3 |
+
emoji: 📈
|
4 |
+
colorFrom: gray
|
5 |
+
colorTo: pink
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: 3.35.2
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
license: agpl-3.0
|
11 |
+
duplicated_from: ezioruan/roop
|
12 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|