Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple face swap #29

Closed
arianaa30 opened this issue Nov 26, 2020 · 4 comments
Closed

Simple face swap #29

arianaa30 opened this issue Nov 26, 2020 · 4 comments

Comments

@arianaa30
Copy link

arianaa30 commented Nov 26, 2020

Very interesting and easy to use work!
I was wondering, is there any ways not to transform the reference face? I'm simply looking for a replacement of the original face with of course clean edges and colors. But no transformation in the original face.

Is there a way to do it within the code?

image

@wuhuikai
Copy link
Owner

Nope,because the sizes of faces are different, this will cause several problems.

@arianaa30
Copy link
Author

arianaa30 commented Nov 26, 2020 via email

@wuhuikai
Copy link
Owner

There's no easy way to do so with the current code.

@ashbeats
Copy link

ashbeats commented Nov 27, 2020

Based on your original reference image, Face Swap may not be right.

What you need is a pipeline of different models similar to this:

object extraction → **bg isolation → edge refinement** → coordinate transformation of the feature points → global pixel normalization (artifact removal)

Very interesting and easy to use work!
I was wondering, is there any ways not to transform the reference face? I'm simply looking for a replacement of the original face with of course clean edges and colors. But no transformation in the original face.

Is there a way to do it within the code?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants