cancel
Showing results for 
Search instead for 
Did you mean: 

Meta Quest Pro Eye tracking - reading eye openness value

nirhere
Honored Guest

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

1 REPLY 1

VrDevMV
Protege

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 ! 🙂

OK_1.pngOK_2.pngKO_1.pngKO_2.png