FaceTracking, get face mesh sizes


Hey guys,
I’m working on a face try-on app for the web and want to adjust the size of the model according to the face sizes of the user.
Is there a way to get the face size of the current user?
Or do you have any other suggestions regarding this subject?

Thanks in advance!

Sorry for not specifying, I was looking for a solution with React Three Fiber


Hi, there is not a unique ‘size’ value of the facemesh I believe but you could use the anchors of the face tracker instead to either place object to specific position or with some simple math determine the width and height of the user’s face.
For reference: https://docs.zap.works/universal-ar/threejs/face-tracking/