Thomas De

Results 58 comments of Thomas De

Sorry, but just another stupid question: Messing around with ./util/reverse2original.py I found out that in line 11 swaped_img = swaped_img.cpu().detach().numpy().transpose((1, 2, 0)) is the "swapped" result image As an absolute...

Ok. But I was thinking about a simple, fixed mask around the square image that contains the swapped face before blending it to the whole frame. ? Soft border for...

Resize and blur I only did to clarify what I mean. Of course that doesn't make sense. I'll check line 34/35 But why do we see sharp edges when you...

Sorry again. Maybe I don't understand the code completly. What I'm trying to achieve is a mask like this for the whole square image whit the face and the background:...

Yes. You have to use all other values as a pair (640,640 or 320,320 or.....) Searched the net so far but couldn't find more information so I asked

As described above. Change value in test_video_swapsingle.py

It's still a work in progress. I switched to insightface/onnx for detection and alignment. Code is really chaotic. But I can make a package with everything additionally needed.

@Zhang-Xiaoyi sent you the script. Here you can find some older version examples of headswap/partswap https://www.youtube.com/@heinzelmann1963

@andrewkuo I've sent you a link to a package including all files including checkpoints for face_parsing and insightface. Hopefully it's complete this time and you get it working (anaconda win10...