dfaker / df

Larger resolution face masked, weirdly warped, deepfake,
Mozilla Public License 2.0
476 stars 134 forks source link

Why not utilize blur/kernel size #31

Closed HelpSeeker closed 6 years ago

HelpSeeker commented 6 years ago

I'm just curious why you don't utilize blur/kernel size settings during the merging process. Opencv's seamlessClone can produce decent results, but in my experience it leads to flickering faces more often than not and isn't concealing the boundary of the output face as effectively as the right blur/kernel size settings.

fuzun commented 6 years ago

There is also color mismatch & bigger face problem (Loss not 0 around the face). Altering with blur / kernel settings may improve quality when dealing with these kind of issues.

dfaker commented 6 years ago

Yes, I wrote the original face masking and blurring implementations. I never saw it as important to implement in this version but if I find some time I may patch it back in.