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

Calculate center pose given face mesh vertex positions in augmented faces #50

Open
jakehockman opened this issue Jan 16, 2022 · 0 comments

Comments

@jakehockman
Copy link

I would like to manually calculate the center pose given the 3D positions of all the vertices.

From the iOS GARAugmentedFace documentation is says the center pose is "The transform from camera to the center of the face, defined to have the origin located behind the nose and between the two cheek bones."

I was hoping the center pose would correspond to the relative positions of a few vertices but it seems this is not the case. The vertical component appears about half-way between vertices [4, 5] and the depth is approximately between [227, 137] and [447, 366] but I imagine the actual calculation is more complex than that.

Thanks for all your hard work!

https://developers.google.com/ar/reference/ios/interface_g_a_r_augmented_face#a0c13e14623a118cf46dfb1c67b6bc31b
https://developers.google.com/ar/develop/unity-arf/augmented-faces/developer-guide

front-view
left-view

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

1 participant