simswap-inference-pytorch icon indicating copy to clipboard operation
simswap-inference-pytorch copied to clipboard

Anyway to remove 'Deepfake' watermark?

Open mbeytekin opened this issue 1 year ago • 7 comments

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

mbeytekin avatar Mar 11 '23 12:03 mbeytekin

Have you solved this problem now?

dertriumph avatar Apr 13 '23 09:04 dertriumph

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

ketakachono avatar Apr 14 '23 22:04 ketakachono

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

mbeytekin avatar Apr 16 '23 09:04 mbeytekin

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.

mike9251 avatar Apr 17 '23 15:04 mike9251

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

mitya12342 avatar Apr 18 '23 13:04 mitya12342

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!

dertriumph avatar Apr 19 '23 08:04 dertriumph

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.

Cacha21 avatar Nov 16 '23 19:11 Cacha21