Giter Site home page Giter Site logo

leulfonseca / roop-unleashed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from c0untfloyd/roop-unleashed

0.0 0.0 0.0 103.99 MB

Evolved Fork of roop with Web Server and lots of additions

License: GNU Affero General Public License v3.0

Python 96.44% Batchfile 1.28% Jupyter Notebook 2.28%

roop-unleashed's Introduction

roop-unleashed

ChangelogUsageWiki

Uncensored Deepfakes for images and videos without training and an easy-to-use GUI.

Screen

Features

  • Platform-independant Browser GUI
  • Selection of multiple input/output faces in one go
  • Many different swapping modes, first detected, face selections, by gender
  • Batch processing of images/videos
  • Masking of face occluders using text prompts
  • Optional Face Restoration using different enhancers
  • Preview swapping from different video frames
  • Live Fake Cam using your webcam
  • Extras Tab for cutting videos etc.
  • Settings - storing configuration for next session
  • Theme Support

and lots more...

Disclaimer

This project is for technical and academic use only. 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. Please do not apply it to illegal and unethical scenarios.

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

Installation

Please refer to the Wiki.

Usage

  • Windows: run the windows_run.bat from the Installer.
  • Linux: python run.py
Open In Colab

Additional commandline arguments are currently unsupported and settings should be done via the UI.

Note: When you run this program for the first time, it will download some models roughly ~2Gb in size.

Changelog

22.03.2024 v3.6.5

  • Bugfix: Installer pulling latest update on first installation
  • Bugfix: Regression issue, blurring/erosion missing from face swap
  • Exposed erosion and blur amounts to UI
  • Using same values for manual masking too

20.03.2024 v3.6.3

  • Bugfix: Workaround for Gradio Slider Change Bug
  • Bugfix: CSS Styling to fix Gradio Image Height Bug
  • Made face swapping mask offsets resolution independant
  • Show offset mask as overlay
  • Changed layout for masking

18.03.2024 v3.6.0

  • Updated to Gradio 4.21.0 - requiring many changes under the hood
  • New manual masking (draw the mask yourself)
  • Extras Tab, streamlined cutting/joining videos
  • Re-added face selection by gender (on-demand loading, default turned off)
  • Removed unnecessary activate live-cam option
  • Added time info to preview frame and changed frame slider event to allow faster changes

10.03.2024 v3.5.5

  • Bugfix: Installer Path Env
  • Bugfix: file attributes
  • Video processing checks for presence of ffmpeg and displays warning if not found
  • Removed gender + age detection to speed up processing. Option removed from UI
  • Replaced restoreformer with restoreformer++
  • Live Cam recoded to run separate from virtual cam and without blocking controls
  • Swapping with only 1 target face allows selecting from several input faces

08.01.2024 v3.5.0

  • Bugfix: wrong access options when creating folders
  • New auto rotation of horizontal faces, fixing bad landmark positions (expanded on PR 364)
  • Simple VR Option for stereo Images/Movies, best used in selected face mode
  • Added RestoreFormer Enhancer - https://github.com/wzhouxiff/RestoreFormer
  • Bumped up package versions for onnx/Torch etc.

16.10.2023 v3.3.4

11.8.2023 v2.7.0

Initial Gradio Version - old TkInter Version now deprecated

  • Re-added unified padding to face enhancers
  • Fixed DMDNet for all resolutions
  • Selecting target face now automatically switches swapping mode to selected
  • GPU providers are correctly set using the GUI (needs restart currently)
  • Local output folder can be opened from page
  • Unfinished extras functions disabled for now
  • Installer checks out specific commit, allowing to go back to first install
  • Updated readme for new gradio version
  • Updated Colab

Acknowledgements

Lots of ideas, code or pre-trained models used from the following projects:

https://github.com/deepinsight/insightface
https://github.com/s0md3v/roop
https://github.com/AUTOMATIC1111/stable-diffusion-webui
https://github.com/Hillobar/Rope
https://github.com/janvarev/chain-img-processor
https://github.com/TencentARC/GFPGAN

https://github.com/kadirnar/codeformer-pip
https://github.com/csxmli2016/DMDNet


Thanks to all developers!

roop-unleashed's People

Contributors

aghil246 avatar artemkiyashko avatar c0untfloyd avatar ceebeeeh avatar christopherta54321 avatar couldnt-find-good-name avatar davidcutherell avatar debdutbiswas avatar eltociear avatar furkangozukara avatar hasanisaeed avatar henryruhs avatar jmp909 avatar justmaier avatar k1llman avatar lordmau5 avatar marat2509 avatar moeblack avatar osma avatar primeinc avatar realcalumplays avatar s0md3v avatar saqibama avatar shivamkumar2002 avatar skalskip avatar symbiomatrix avatar titasdas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.