Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
2.99k stars 1.11k forks source link

Instantiate a 3D model on face detection #1019

Closed Sterling-Malory-Archer closed 1 year ago

Sterling-Malory-Archer commented 1 year ago

As the title suggests, I want to make a 3D model as a mask over the user's face, is this achievable on both iOS and Android?

I do not need blendshapes, it would just be a model that covers the face and moves as it moves.

Any help is kindly appreciated as I am just starting with Face Tracking,

tdmowrer commented 1 year ago

Both ARKit (iOS) and ARCore (Android) provide a pose for the face (usually near the center of the head) and a mesh that represents the face. Some caveats for making it cross-platform:

There are some samples in this repo that should get you started:

ankur-unity commented 1 year ago

Closing this issue as it has been resolved. Feel free to reopen it if you have follow-up questions.