Rope implements the insightface inswapper_128 model with a helpful GUI.
- (feature) Selectable model swapping output resolution - 128, 256, 512
- (feature) Better selection of input images (ctrl and shift modifiers work mostly like windows behavior)
- (feature) Toggle between mean and median merging withou having to save to compare
- (feature) Added back keyboard controls (q, w, a, s, d, space)
- (feature) Gamma slider
Machine: 3090Ti (24GB), i5-13600K
![](https://private-user-images.githubusercontent.com/63615199/268525793-3e3505db-bc76-48df-b8ac-1e7e86c8d751.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2ODUyNzYsIm5iZiI6MTcyNDY4NDk3NiwicGF0aCI6Ii82MzYxNTE5OS8yNjg1MjU3OTMtM2UzNTA1ZGItYmM3Ni00OGRmLWI4YWMtMWU3ZTg2YzhkNzUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDE1MDkzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI2MDM1M2RkZmU3MDBiYzJiMTM0YWQ5ODcyNmI0ZTVkYjRjYTIyMTFhYjhhOTI5MmVkYTBmOTI1OTA2ZDQyOTkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.RP0fqT2Oy5AK0TfqTEla8xDqreaXUBFOyriRUnGAF5w)
File: benchmark/target-1080p.mp4, 2048x1080, 269 frames, 25 fps, 10s
Rendering time in seconds (5 threads):
Option | Crystal | Sapphire | Ruby | Opal | Pearl |
---|---|---|---|---|---|
Only Swap (128) | 7.3 | 7.5 | 4.4 | 4.3 | 4.4 |
Swap (256) | --- | --- | --- | --- | 8.6 |
Swap (512) | --- | --- | --- | --- | 28.6 |
Swap+GFPGAN | 10.7 | 11.0 | 9.0 | 9.8 | 9.3 |
Swap+Codeformer | 12.4 | 13.5 | 11.1 | 11.1 | 11.3 |
Swap+one word CLIP | 10.4 | 11.2 | 9.1 | 9.3 | 9.3 |
Swap+Occluder | 7.8 | 7.8 | 4.4 | 4.7 | 4.7 |
Swap+MouthParser | 13.9 | 12.1 | 5.0 | 4.9 | 5.1 |
Rope is a personal project that I'm making available to the community as a thank you for all of the contributors ahead of me. I've copied the disclaimer from Swap-Mukham here since it is well-written and applies 100% to this repo.
I would like to emphasize that our swapping software is intended for responsible and ethical use only. I must stress that users are solely responsible for their actions when using our software.
Intended Usage: This software is designed to assist users in creating realistic and entertaining content, such as movies, visual effects, virtual reality experiences, and other creative applications. I encourage users to explore these possibilities within the boundaries of legality, ethical considerations, and respect for others' privacy.
Ethical Guidelines: Users are expected to adhere to a set of ethical guidelines when using our software. These guidelines include, but are not limited to:
Not creating or sharing content that could harm, defame, or harass individuals. Obtaining proper consent and permissions from individuals featured in the content before using their likeness. Avoiding the use of this technology for deceptive purposes, including misinformation or malicious intent. Respecting and abiding by applicable laws, regulations, and copyright restrictions.
Privacy and Consent: Users are responsible for ensuring that they have the necessary permissions and consents from individuals whose likeness they intend to use in their creations. We strongly discourage the creation of content without explicit consent, particularly if it involves non-consensual or private content. It is essential to respect the privacy and dignity of all individuals involved.
Legal Considerations: Users must understand and comply with all relevant local, regional, and international laws pertaining to this technology. This includes laws related to privacy, defamation, intellectual property rights, and other relevant legislation. Users should consult legal professionals if they have any doubts regarding the legal implications of their creations.
Liability and Responsibility: We, as the creators and providers of the deep fake software, cannot be held responsible for the actions or consequences resulting from the usage of our software. Users assume full liability and responsibility for any misuse, unintended effects, or abusive behavior associated with the content they create.
By using this software, users acknowledge that they have read, understood, and agreed to abide by the above guidelines and disclaimers. We strongly encourage users to approach this technology with caution, integrity, and respect for the well-being and rights of others.
Remember, technology should be used to empower and inspire, not to harm or deceive. Let's strive for ethical and responsible use of deep fake technology for the betterment of society.