26
submitted 2 weeks ago* (last edited 2 weeks ago) by Prunebutt@slrpnk.net to c/foss@beehaw.org

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.

top 9 comments
sorted by: hot top controversial new old
[-] bjoern_tantau@swg-empire.de 9 points 2 weeks ago

Krita 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@lemm.ee 7 points 2 weeks ago* (last edited 2 weeks ago)

https://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

[-] ErsatzCoalButter@beehaw.org 3 points 2 weeks ago

What you want to do is get yourself a Nintendo 3ds

[-] Prunebutt@slrpnk.net 1 points 2 weeks ago

That's the one that's really easy to hack, isn't it? Now what?

[-] ErsatzCoalButter@beehaw.org 2 points 2 weeks ago

It shipped with face swap software

[-] Fiivemacs@lemmy.ca 1 points 2 weeks ago

Paint works...I've done it many times. Literally just paint.

[-] Prunebutt@slrpnk.net 2 points 2 weeks ago* (last edited 2 weeks ago)

... for faceswapping? O.o

I'd rather not create something like this

[-] Megaman_EXE@beehaw.org 1 points 2 weeks ago

Lol, but that face is so beautiful

[-] FartsWithAnAccent@fedia.io 1 points 2 weeks ago

GIMP could do it manually, might be able to figure out automaton if you were clever and resourceful but IDK

this post was submitted on 14 Mar 2025
26 points (100.0% liked)

Free and Open Source Software

18085 readers
60 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS