Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
nirhere's avatar
nirhere
Honored Guest
1 year ago

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

1 Reply

Replies have been turned off for this discussion
  • 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 ! 🙂