mike9251 / simswap-inference-pytorch

Unofficial Pytorch implementation (inference only) of the SimSwap: An Efficient Framework For High Fidelity Face Swapping
93 stars 20 forks source link

Anyway to remove 'Deepfake' watermark? #26

Open mbeytekin opened 1 year ago

mbeytekin commented 1 year ago

I realized that after updating to latest version it puts a watermark at right bottom corner. Anyway to remove it?

dertriumph commented 1 year ago

Have you solved this problem now?

ketakachono commented 1 year ago

Still struggling with this. Have you solved it @dertriumph ?

mbeytekin commented 1 year ago

I guess he doesn't want the codes to be used. my guess is 'deepfake' watermak is embedded in 'blend_module.jit'.

mike9251 commented 1 year ago

I imbedded this functionality into one of the modules, so you can't remove it with configuration. If you really want to remove it - crop the frame and keep only the part without the watermark.

mitya12342 commented 1 year ago

I "imbedded" return tensor2img(soft_face_mask * target_image + (1 - soft_face_mask) * att_image) into line 322 of simswap.py commenting lines 96-101 and 320 Seems ok

dertriumph commented 1 year ago

I "imbedded" return tensor2img(soft_face_mask * target_image + (1 - soft_face_mask) * att_image) into line 322 of simswap.py commenting lines 96-101 and 320 Seems ok

It really works! Bro, you're awesome!Thx!

Cacha21 commented 11 months ago

I "imbedded" return tensor2img(soft_face_mask * target_image + (1 - soft_face_mask) * att_image) into line 322 of simswap.py commenting lines 96-101 and 320 Seems ok

Doesn't seem to work when swapping multiple faces. I mean, the watermark is removed but now it only swaps 1 face.