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 convert STAR 98 landmarks to Face alignment 68 landmarks #30

Open
Droliven opened this issue May 11, 2024 · 3 comments
Open

How to convert STAR 98 landmarks to Face alignment 68 landmarks #30

Droliven opened this issue May 11, 2024 · 3 comments

Comments

@Droliven
Copy link

Thanks for your great job. Could I convert the STAR 98 landmarks to Face alignment 68 landmarks?

@ZhenglinZhou
Copy link
Owner

Hi @Droliven, thanks for your interest!

Yes, but the corresponding between 98pt (WFLW format) and 68pt (300W format) is not explicit (some discussion can be found here). On the other hand, we also provide the 68pt landmark detector (google / baidu). It can be used in demo.py.

If you have further question, feel free to leave comments.

@Droliven
Copy link
Author

Thks, Although we can calculate 68 key points using dlib as shown in the demo.py, I initially chose the STAR model because its network is transparent. I can use STAR to calculate the landmark gradient of my generated image for supervision , but dlib seems to be inconvenient for calculating gradients

@ZhenglinZhou
Copy link
Owner

I got it.

The absence of a transparent face detector in existing pipeline hinders the further application of STAR?
I will consider retraining a new face detector. Thanks for your suggestion!

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