neuralchen / SimSwap

An arbitrary face-swapping framework on images and videos with one single trained model!
Other
4.57k stars 899 forks source link

How to retain glasses of source? #125

Open Xunius opened 3 years ago

Xunius commented 3 years ago

Hi,

Thanks for creating this tool. I'm trying to swap Harry Potter and noticed that he losses his glasses after swapping. Is there a way to retain the glasses of the source face? Thanks.

dXDb commented 2 years ago

Did you solve this problem??

Xunius commented 2 years ago

Did you solve this problem??

@dXDb No. I believe this is because glasses are not regarded as part of the "identity" of a person. To change this, I guess it may require a re-training where the same person with and without glasses are treated as different persons. Or use another network to add a pair afterwards. But I didn't manage to achieve either one.