Hi! I’m sometimes handling photos of people who wouldn’t like their real faces shown. But pixellation isn’t a very PR-friendly practice if you want to publish the images (e.g. photos of a protest).
So I remembered that ages ago, back when I used snapchat that they had this simple faceswap feature that was able to run on a simple smartphone and I was wondering:
Is there a simple, easy to set up program that takes the faces of a picture and faceswaps them with another, available face?
I was thinking of getting a random face from this-person-does-not-exist.com and superimpose it on the faces of the photo. This way, it’s protecting the identity of the people on the photos, while keeping the photo easy to look at (plus, no one else’s likeness will be used unconsentually).
After a quick google, I found faceswap.dev, but then I read stuff about extracting, training and converting and deemed it overkill. The feature I was thinking of was done for two people swapping their faces on a live video feed on a phone. I don’t want to go broke by throwing a GTX 5090 on that problem.
Do you know any problem on Desktop (or maybe on android, or a selfhosted service) that can do that kind of thing? IMHO, it shouldn’t be too hard.
Björn Tantau ( @bjoern_tantau@swg-empire.de ) 9•11 days agoKrita has an AI plugin that allows you to paint seamlessly into your picture. You can control how much it uses from the original and how much it generates itself.
It’s better if you have a powerful graphics card. But in a pinch just the CPU will do, you will just have to be patient.
IDew ( @IDew@lemm.ee ) 7•11 days agohttps://github.com/hacksider/Deep-Live-Cam has worked for me, can be quite heavy on resources, but should be able to run on most machines with a Nvidia GPU
For images it shouldn’t be very heavy and totally doable. Not sure if you can do multiple faces at once though
FiveMacs ( @Fiivemacs@lemmy.ca ) 1•11 days agoPaint works…I’ve done it many times. Literally just paint.
… for faceswapping? O.o
I’d rather not create something like this
Megaman_EXE ( @Megaman_EXE@beehaw.org ) 1•8 days agoLol, but that face is so beautiful
FartsWithAnAccent ( @FartsWithAnAccent@fedia.io ) 1•11 days agoGIMP could do it manually, might be able to figure out automaton if you were clever and resourceful but IDK