Page 1 of 1

An idea for improving swapping differing face sizes

Posted: Thu Jul 01, 2021 4:43 pm
by swapration

Was reading this post - viewtopic.php?f=27&t=1647 - of someone trying to replace a large face with a smaller face and it got me thinking, more believable swaps could probably be made if a 'heal' pass (take some of the surrounding background around a face and drawn inward) was run over the old face prior to drawing in the new face.
Here is an example of heal being run on GIMP to remove a chicken from a photo - .
Heal isn't perfect but it should look much better than the grey background produced when a smaller face is replacing a larger face.


Re: An idea for improving swapping differing face sizes

Posted: Fri Jul 02, 2021 8:08 am
by torzdf

It would be great to have something like this "automagically" included in Faceswap, but I can't see it being anything I'll be looking into any time soon.

Ultimately (for the time being at least) these kind of fixes are best done with post-editing tools.