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
    link
    fedilink
    914 days 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.