MarekKowalski / FaceSwap

3D face swapping implemented in Python
MIT License
732 stars 206 forks source link

Overlay Transparency #14

Open devacode7 opened 6 years ago

devacode7 commented 6 years ago

Hello Mr. Kowalski,

First of all I have to say you made great work.

I have a question: Is there a way to make the overlay more transparent? What I would like to achieve is to not make a hard overlay of a other face onto the viewer but instead make the person look older. I thought of making the overlay a bit more transparent so the wrinkles etc. are still visible but achieve a more morphed version with the original face.

For support I would be very thankful.

Best regards

MarekKowalski commented 6 years ago

Hi,

Sorry for not answering for a while. You can just use a weighted sum of the mask and the image if you want transparency., I am however not sure whether this would produce a realistic aging effect.

Thanks,

Marek