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

Get landmark points for Face mesh[ARCore and ARKit] #754

Closed
weacw opened this issue Mar 1, 2021 · 5 comments
Closed

Get landmark points for Face mesh[ARCore and ARKit] #754

weacw opened this issue Mar 1, 2021 · 5 comments
Labels
how to Explains how to accomplish something stale This issue has not had any activity in a while

Comments

@weacw
Copy link

weacw commented Mar 1, 2021

I want to get the landmark points of the face mesh and paste the 2D stickers to the corresponding places (for example: glasses try on, eyebrows, nose etc)

HBa8z

Or
Is there a better solution?

@weacw weacw added the how to Explains how to accomplish something label Mar 1, 2021
@tdmowrer
Copy link
Contributor

tdmowrer commented Mar 1, 2021

ARKit provides blend shapes and ARCore provides face regions.

However, those don't tell you exactly where the eyebrows and nose are, for example. Other people have used hard-coded indices for those. However, this approach will only work specific devices because the face mesh can vary across different devices. Others have used OpenCV to extract facial landmarks.

@weacw
Copy link
Author

weacw commented Mar 2, 2021

thank you for your reply.

@weacw weacw closed this as completed Mar 2, 2021
@weacw weacw reopened this Mar 2, 2021
@weacw
Copy link
Author

weacw commented Mar 2, 2021

Oh sorry. How to know whether the user is opening or closing the mouth (eye etc)

I have tried to put a texture on the face mesh but there is a problem with the UV mapping

@tdmowrer
Copy link
Contributor

tdmowrer commented Mar 2, 2021

On ARKit, you can use blend shapes for that. There is a sample in this repo that shows how to use them: https://github.com/Unity-Technologies/arfoundation-samples#arkitfaceblendshapes

@stale
Copy link

stale bot commented Mar 19, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale This issue has not had any activity in a while label Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
how to Explains how to accomplish something stale This issue has not had any activity in a while
Projects
None yet
Development

No branches or pull requests

2 participants