Hi, you could give the open source tool that i created for faceswapping into videos a try. It should take around 3 minutes to do a 15 second video. This is build on top of the reactor extension which is build on top of insightface.
Yes that is possible in theory but at that point i would much rather build a complete interface with buttons for every step. The current way to do this is kinda hacky, you comment out the second and third function call in main.py and run it to create the frames, then do your sorting then go back into main.py uncomment function call 2 and 3 and comment out function call 1.
If this projects sees a lot more use than i anticipate i can build an interface like that.
I have never used Roop Unleashed, so I can't really compare the two tools, but here is a way to get a significant speedup using this tool in certain scenarios:
Assume you have a video where about 50% of the frames contain the face you want to swap, and the others contain other faces or no face at all. You split the video into frames, then go into the extracted_frames folder and move all the files with no/other faces into the finished_frames folder. That way, Reactor does not have to look at these images at all, and you get a 2x speedup. This is worth it when videos are quite long.
I have no idea how Roop Unleashed would handle this, but detecting faces in images takes a little bit of time, so I imagine it would be slower.
Hi, you could give the open source tool that i created for faceswapping into videos a try. It should take around 3 minutes to do a 15 second video. This is build on top of the reactor extension which is build on top of insightface.
https://github.com/Arminius-Software/face2video
Thanks! Results depend a lot on how much movment happens in/on the face.
That does indeed sound awesome. I will check that out!
Yes that is possible in theory but at that point i would much rather build a complete interface with buttons for every step. The current way to do this is kinda hacky, you comment out the second and third function call in main.py and run it to create the frames, then do your sorting then go back into main.py uncomment function call 2 and 3 and comment out function call 1.
If this projects sees a lot more use than i anticipate i can build an interface like that.
You dont need to train the faces at all. Simply change the path the file of the new face. There is an explanation on GitHub on how to use the tool.
I have not tried FaceSwapLab yet, but definitly want to give it a try in the future.
I have never used Roop Unleashed, so I can't really compare the two tools, but here is a way to get a significant speedup using this tool in certain scenarios:
Assume you have a video where about 50% of the frames contain the face you want to swap, and the others contain other faces or no face at all. You split the video into frames, then go into the extracted_frames folder and move all the files with no/other faces into the finished_frames folder. That way, Reactor does not have to look at these images at all, and you get a 2x speedup. This is worth it when videos are quite long.
I have no idea how Roop Unleashed would handle this, but detecting faces in images takes a little bit of time, so I imagine it would be slower.
Here is a super quick example with Legolas/Jack Black. I mostly made stuff with my own face which i dont really want to put on reddit.
https://i.redd.it/qgqsqa5jsn1c1.gif
Here is a super quick example with Legolas/Jack Black. I mostly made stuff with my own face which i dont really want to put on reddit.
https://i.redd.it/kdq4qdb4sn1c1.gif
Thanks! Let me know if you have any issues.
End of this list.
Back to top