ar08 commited on
Commit
b61ee55
·
verified ·
1 Parent(s): cfbcf50

Update README.md

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