cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding the Confidence property of OVREyeGaze

Sinfonia_VR_Team
Honored Guest

Hello, I am currently trying out eye tracking on the MetaQuest Pro.

I want to exclude data when my eyes are closed, so I thought of using the Confidence property of OVREyeGaze, but the value doesn't change at all.

I thought it would vary depending on the progress of the tracking, is that not the case?

I've added Debug.Log to OVREyeGaze.The value in the log remained constant.

private void Update()
{
    if (!OVRPlugin.GetEyeGazesState(OVRPlugin.Step.Render, -1, ref _currentEyeGazesState))
        return;

    var eyeGaze = _currentEyeGazesState.EyeGazes[(int)Eye];

    if (!eyeGaze.IsValid)
        return;

    Confidence = eyeGaze.Confidence;

    // ConfidenceLog
    Debug.Log($"Eye Tracking Confidence: {Confidence}");

    if (Confidence < ConfidenceThreshold)
        return;

    //~~~~~
}

 

2 REPLIES 2

mbb-vr
Honored Guest

Same here, the value seems to jump to 0.9960938 immediately and stay there irrespective of what they eye is actually doing. 

I think that is pretty misleading and hopefully just a temporary shortcut/hack. 

Is there any other way to query a confidence value of the eye tracking data? 

JensNimiqueta
Honored Guest

I have encountered the same problem, when trying to record eyetracking data for a behavioral science experiment. Did you ever find a solution?

Thankful for any tips!

 

BR

Jens