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 create face masks based on the face mesh scene #931

Open
dilnuryuldashev opened this issue Jun 22, 2023 · 1 comment
Open

How to create face masks based on the face mesh scene #931

dilnuryuldashev opened this issue Jun 22, 2023 · 1 comment

Comments

@dilnuryuldashev
Copy link

Description

Hi,

I want to create full face masks based on the 468 landmarks from the sample face mesh scene.
This article contains the steps for creating a face mask based on mediapipe's face_geometry obj face mask model: https://qiita.com/yamatohkd/items/b2d9a6055761b0b2c369
It's in Japanese, just Translate the page to English.
It is very simple.
We just get the normalized values(NormalizedLandmarkList) from the Draw Method.
After that, we apply the values obtained from there to the mesh vertices of the obj file above.
The face_geometry obj model can be downloaded from here: https://github.com/google/mediapipe/blob/master/mediapipe/modules/face_geometry/data/canonical_face_model.obj

Are there better solutions?
In general, how should I go about solving this problem?
I tried some solutions by merging dlib algorithms with Mediapipe, but the face mask is extremely unstable. It keeps moving along with the camera. I need a production ready solution for a commercial app.

Thanks.

@Avatarchik
Copy link

Hi! you can send an example (source)
articles
https://qiita.com/yamatohkd/items/b2d9a6055761b0b2c369,
My mesh is distorted, it’s not working correctly

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