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

How to ensure the consistency between input and output images #71

Open
kobevv5 opened this issue Nov 4, 2024 · 5 comments
Open

How to ensure the consistency between input and output images #71

kobevv5 opened this issue Nov 4, 2024 · 5 comments

Comments

@kobevv5
Copy link

kobevv5 commented Nov 4, 2024

Because of the built-in node cropping(facecrop_ratio) set, when inputting 512X512 images with different face ratios (for example 0.1-0.9), different facecrop_ratios value will affect the position and ratio of faces in the output image. How should the facecrop_ratio parameter be set to ensure the stability of the output? That mean that, the output image can strictly maintain the same face size ratio and position as the input image.
As shown in the following example, the face ratio in the output image is obviously smaller than the input image, and the position has also changed.
@
face_test
https://github.com/user-attachments/assets/c83fed18-8c9f-457c-b6cb-cf3cbf0a376d

@smthemex
Copy link
Owner

smthemex commented Nov 5, 2024

you can try pose-drived

@ahkimkoo
Copy link

同问,为啥crop face设为true,还是把面部截取了呢。截出来的如何安回去呢。

@kobevv5
Copy link
Author

kobevv5 commented Nov 14, 2024

sorry, pose-drived methd doesn't work. It is still influenced by facecrop_ratio and crop_face (True/False)

@smthemex
Copy link
Owner

sorry, pose-drived methd doesn't work. It is still influenced by facecrop_ratio and crop_face (True/False)

try use default pose,keep drivepath at “none”

@leihaolei
Copy link

I have the same problem

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

4 participants