Interface: FaceLandmark
Defined in: src/world/faces/DetectedFace.ts:7
A single facial landmark point. MediaPipe's FaceLandmarker emits 478 of these per face (468 from the canonical face mesh + 10 iris points).
Properties
worldPosition?
optionalworldPosition:Vector3
Defined in: src/world/faces/DetectedFace.ts:28
The back-projected 3D position in WebXR world space, measured in meters. Null or undefined if depth projection was unsuccessful.
x
x:
number
Defined in: src/world/faces/DetectedFace.ts:12
Normalized horizontal coordinate [0.0, 1.0] in screen space, where 0.0 is the left edge and 1.0 is the right edge.
y
y:
number
Defined in: src/world/faces/DetectedFace.ts:17
Normalized vertical coordinate [0.0, 1.0] in screen space, where 0.0 is the top edge and 1.0 is the bottom edge.
z
z:
number
Defined in: src/world/faces/DetectedFace.ts:23
Raw estimated depth value relative to the camera. Smaller magnitude
means closer to the camera; the value is in the same arbitrary
normalized space as x and y.