assile commited on
Commit
bd13186
·
verified ·
1 Parent(s): 2bec830

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -252
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: FaceSwap tool_Image&Video
3
  emoji: 😻
4
  colorFrom: blue
5
  colorTo: gray
@@ -7,258 +7,8 @@ sdk: gradio
7
  sdk_version: 5.38.0
8
  app_file: run.py
9
  pinned: false
10
- short_description: Roop-Unleashed 4.4.0
11
  ---
12
 
13
  # roop-unleashed
14
 
15
- [Changelog](#changelog) • [Usage](#usage) • [Wiki](https://github.com/C0untFloyd/roop-unleashed/wiki)
16
-
17
-
18
- Uncensored Deepfakes for images and videos without training and an easy-to-use GUI.
19
-
20
-
21
- ![Screen](https://github.com/C0untFloyd/roop-unleashed/assets/131583554/6ee6860d-efbe-4337-8c62-a67598863637)
22
-
23
- ### Features
24
-
25
- - Platform-independant Browser GUI
26
- - Selection of multiple input/output faces in one go
27
- - Many different swapping modes, first detected, face selections, by gender
28
- - Batch processing of images/videos
29
- - Masking of face occluders using text prompts or automatically
30
- - Optional Face Upscaler/Restoration using different enhancers
31
- - Preview swapping from different video frames
32
- - Live Fake Cam using your webcam
33
- - Extras Tab for cutting videos etc.
34
- - Settings - storing configuration for next session
35
- - Theme Support
36
-
37
- and lots more...
38
-
39
-
40
- ## Disclaimer
41
-
42
- This project is for technical and academic use only.
43
- 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.
44
- **Please do not apply it to illegal and unethical scenarios.**
45
-
46
- 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
47
-
48
- ### Installation
49
-
50
- Please refer to the [wiki](https://github.com/C0untFloyd/roop-unleashed/wiki).
51
-
52
- #### macOS Installation
53
- Simply run the following command. It will check and install all dependencies if necessary.
54
-
55
- `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/PJF16/roop-unleashed/master/installer/macOSinstaller.sh)"`
56
-
57
-
58
-
59
- ### Usage
60
-
61
- - Windows: run the `windows_run.bat` from the Installer.
62
- - Linux: `python run.py`
63
- - macOS: `sh runMacOS.sh`
64
- - Dockerfile:
65
- ```shell
66
- docker build -t roop-unleashed . && docker run -t \
67
- -p 7860:7860 \
68
- -v ./config.yaml:/app/config.yaml \
69
- -v ./models:/app/models \
70
- -v ./temp:/app/temp \
71
- -v ./output:/app/output \
72
- roop-unleashed
73
- ```
74
-
75
- <a target="_blank" href="https://colab.research.google.com/github/C0untFloyd/roop-unleashed/blob/main/roop-unleashed.ipynb">
76
- <img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
77
- </a>
78
-
79
-
80
- Additional commandline arguments are currently unsupported and settings should be done via the UI.
81
-
82
- > Note: When you run this program for the first time, it will download some models roughly ~2Gb in size.
83
-
84
-
85
-
86
-
87
- ### Changelog
88
-
89
- **31.12.2024** v4.4.0 Hotfix
90
-
91
- Bugfix: Updated Colab to use present Cuda Drivers
92
- Bugfix: Live-Cam not working because of new face swapper
93
- Set default swapping model back to Insightface
94
-
95
- Happy New Year!
96
-
97
-
98
- **30.12.2024** v4.4.0
99
-
100
- - Added random face selection mode
101
- - Added alternative face swapping model with 128px & 256 px output ([ReSwapper](https://github.com/somanchiu/ReSwapper/tree/main))
102
- - Video repair added to Extras Tab
103
- - Updated most packages to newer versions. CUDA >= 12.4 now required!
104
- - Several minor bugfixes and QoL Changes
105
-
106
-
107
- **28.9.2024** v4.3.1
108
-
109
- - Bugfix: Several possible memory leaks
110
- - Added different output modes, e.g. to virtual cam stream
111
- - New swapping mode "All input faces"
112
- - Average total fps displayed and setting for autorun
113
-
114
-
115
- **16.9.2024** v4.2.8
116
-
117
- - Bugfix: Starting roop-unleashed without NVIDIA gpu but cuda option enabled
118
- - Bugfix: Target Faces couldn't be moved left/right
119
- - Bugfix: Enhancement and upscaling working again in virtual cam
120
- - Corrupt videos caught when adding to target files, displaying warning msg
121
- - Source Files Component cleared after face detection to release temp files
122
- - Added masking and mouth restore options to virtual cam
123
-
124
-
125
- **9.9.2024** v4.2.3
126
-
127
- - Hotfix for gradio pydantic issue with fastapi
128
- - Upgraded to Gradio 4.43 hoping it will fix remaining issues
129
- - Added new action when no face detected -> use last swapped
130
- - Specified image format for image controls - opening new tabs on preview images possible again!
131
- - Hardcoded image output format for livecam to jpeg - might be faster than previous webp
132
- - Chain events to be only executed if previous was a success
133
-
134
-
135
- **5.9.2024** v4.2.0
136
-
137
- - Added ability to move input & target faces order
138
- - New CLI Arguments override settings
139
- - Small UI changes to faceswapping tab
140
- - Added mask option and code for restoration of original mouth area
141
- - Updated gradio to v4.42.0
142
- - Added CLI Arguments --server_share and --cuda_device_id
143
- - Added webp image support
144
-
145
-
146
- **15.07.2024** v4.1.1
147
-
148
- - Bugfix: Post-processing after swapping
149
-
150
-
151
- **14.07.2024** v4.1.0
152
-
153
- - Added subsample upscaling to increase swap resolution
154
- - Upgraded gradio
155
-
156
-
157
- **12.05.2024** v4.0.0
158
-
159
- - Bugfix: Unnecessary init every frame in live-cam
160
- - Bugfix: Installer downloading insightface package each run
161
- - Added xseg masking to live-cam
162
- - Added realesrganx2 to frame processors
163
- - Upgraded some requirements
164
- - Added subtypes and different model support to frame processors
165
- - Allow frame processors to change resolutions of videos
166
- - Different OpenCV Cap for MacOS Virtual Cam
167
- - Added complete frame processing to extras tab
168
- - Colorize, upscale and misc filters added
169
-
170
-
171
- **22.04.2024** v3.9.0
172
-
173
- - Bugfix: Face detection bounding box corrupt values at weird angles
174
- - Rewrote mask previewing to work with every model
175
- - Switching mask engines toggles text interactivity
176
- - Clearing target files, resets face selection dropdown
177
- - Massive rewrite of swapping architecture, needed for xseg implementation
178
- - Added DFL Xseg Support for partial face occlusion
179
- - Face masking only runs when there is a face detected
180
- - Removed unnecessary toggle checkbox for text masking
181
-
182
-
183
- **22.03.2024** v3.6.5
184
-
185
- - Bugfix: Installer pulling latest update on first installation
186
- - Bugfix: Regression issue, blurring/erosion missing from face swap
187
- - Exposed erosion and blur amounts to UI
188
- - Using same values for manual masking too
189
-
190
-
191
- **20.03.2024** v3.6.3
192
-
193
- - Bugfix: Workaround for Gradio Slider Change Bug
194
- - Bugfix: CSS Styling to fix Gradio Image Height Bug
195
- - Made face swapping mask offsets resolution independant
196
- - Show offset mask as overlay
197
- - Changed layout for masking
198
-
199
-
200
- **18.03.2024** v3.6.0
201
-
202
- - Updated to Gradio 4.21.0 - requiring many changes under the hood
203
- - New manual masking (draw the mask yourself)
204
- - Extras Tab, streamlined cutting/joining videos
205
- - Re-added face selection by gender (on-demand loading, default turned off)
206
- - Removed unnecessary activate live-cam option
207
- - Added time info to preview frame and changed frame slider event to allow faster changes
208
-
209
-
210
- **10.03.2024** v3.5.5
211
-
212
- - Bugfix: Installer Path Env
213
- - Bugfix: file attributes
214
- - Video processing checks for presence of ffmpeg and displays warning if not found
215
- - Removed gender + age detection to speed up processing. Option removed from UI
216
- - Replaced restoreformer with restoreformer++
217
- - Live Cam recoded to run separate from virtual cam and without blocking controls
218
- - Swapping with only 1 target face allows selecting from several input faces
219
-
220
-
221
-
222
- **08.01.2024** v3.5.0
223
-
224
- - Bugfix: wrong access options when creating folders
225
- - New auto rotation of horizontal faces, fixing bad landmark positions (expanded on ![PR 364](https://github.com/C0untFloyd/roop-unleashed/pull/364))
226
- - Simple VR Option for stereo Images/Movies, best used in selected face mode
227
- - Added RestoreFormer Enhancer - https://github.com/wzhouxiff/RestoreFormer
228
- - Bumped up package versions for onnx/Torch etc.
229
-
230
-
231
- **16.10.2023** v3.3.4
232
-
233
- **11.8.2023** v2.7.0
234
-
235
- Initial Gradio Version - old TkInter Version now deprecated
236
-
237
- - Re-added unified padding to face enhancers
238
- - Fixed DMDNet for all resolutions
239
- - Selecting target face now automatically switches swapping mode to selected
240
- - GPU providers are correctly set using the GUI (needs restart currently)
241
- - Local output folder can be opened from page
242
- - Unfinished extras functions disabled for now
243
- - Installer checks out specific commit, allowing to go back to first install
244
- - Updated readme for new gradio version
245
- - Updated Colab
246
-
247
-
248
- # Acknowledgements
249
-
250
- Lots of ideas, code or pre-trained models borrowed from the following projects:
251
-
252
- https://github.com/deepinsight/insightface<br />
253
- https://github.com/s0md3v/roop<br />
254
- https://github.com/AUTOMATIC1111/stable-diffusion-webui<br />
255
- https://github.com/Hillobar/Rope<br />
256
- https://github.com/TencentARC/GFPGAN<br />
257
- https://github.com/kadirnar/codeformer-pip<br />
258
- https://github.com/csxmli2016/DMDNet<br />
259
- https://github.com/glucauze/sd-webui-faceswaplab<br />
260
- https://github.com/ykk648/face_power<br />
261
-
262
- <br />
263
- <br />
264
- Thanks to all developers!
 
1
  ---
2
+ title: roop-unleashed
3
  emoji: 😻
4
  colorFrom: blue
5
  colorTo: gray
 
7
  sdk_version: 5.38.0
8
  app_file: run.py
9
  pinned: false
10
+ short_description: FaceSwap tool_Image & Video
11
  ---
12
 
13
  # roop-unleashed
14