Skip to main content
New Participant
July 3, 2024

Meta Quest Pro Eye tracking - reading eye openness value

Hello,

I'm interested to know if there is a way to retrieve the value of the eyes openness or at least to detect if the eyes are opened or closed 

is there documentation of the SDK where I can look for such functionality

thanks,

nir

This topic has been closed for replies.

1 reply

VrDevMV
Up and Coming
July 18, 2024

Hi,

we're using XrEyeGazeFB.gazeConfidence that provides a limited reliability. On some users (more than half, in proportion) it will return a "clean" value.

// Provided by XR_FB_eye_tracking_social
typedef struct XrEyeGazeFB {
    XrBool32    isValid;
    XrPosef     gazePose;
    float       gazeConfidence;
} XrEyeGazeFB;

https://registry.khronos.org/OpenXR/specs/1.1/man/html/XrEyeGazeFB.html

Below a series of mathplotlib based on the data we receive from the Quest Pro. First ones are OK, later ones are less usable (depending on what you need to the `openness` value for...)

If someone has a better solution, I'm all ears ! 🙂