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

Semantic Diffusion : Irregular foreground with aribitray coordinates #31

Open
venuv opened this issue Aug 13, 2022 · 2 comments
Open

Semantic Diffusion : Irregular foreground with aribitray coordinates #31

venuv opened this issue Aug 13, 2022 · 2 comments

Comments

@venuv
Copy link

venuv commented Aug 13, 2022

Is there a way to modify the source code to blend skin defects (say a birthmark on to a face) that are non-rectangular and on arbitrary coordinates on the face. Could you provide any high level thoughts parts of the code that would change?

@venuv
Copy link
Author

venuv commented Aug 13, 2022

would I have to write a version of diffuse in utils/inverter.py that accepts a mask instead of x/y coordinates of the rectangular foreground bounding box?

@zhujiapeng
Copy link
Collaborator

Yes

would I have to write a version of diffuse in utils/inverter.py that accepts a mask instead of x/y coordinates of the rectangular foreground bounding box?

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

2 participants