Skip to main content
Version: 14 Oct 2024

MLEyeTrackingStateEx

Module: Eye Tracking

Information about the state of the eye tracking system. More...

#include <ml_eye_tracking.h>

Public Attributes

TypeName
uint32_tversion
floatvergence_confidence
A quality metric confidence value 0.0 - 1.0 to indicate accuracy of vergence.
floatleft_center_confidence
A quality metric confidence value 0.0 - 1.0 to indicate accuracy of left eye center.
floatright_center_confidence
A quality metric confidence value 0.0 - 1.0 to indicate accuracy of right eye center.
boolleft_blink
boolright_blink
MLEyeTrackingErrorerror
MLTimetimestamp
The timestamp for all the data fields in this struct.
floatleft_eye_openness
Openness of the left eye.
floatright_eye_openness
Openness of the right eye.

Detailed Description

struct MLEyeTrackingStateEx;

Information about the state of the eye tracking system.

This structure must be initialized by calling MLEyeTrackingStateInit() before use.

API Level:

  • 26

Public Attributes Documentation

version

uint32_t version;

Version of this structure.


vergence_confidence

float vergence_confidence;

A quality metric confidence value 0.0 - 1.0 to indicate accuracy of vergence.

Output may be arbitrary if confidence == 0.


left_center_confidence

float left_center_confidence;

A quality metric confidence value 0.0 - 1.0 to indicate accuracy of left eye center.

Output may be arbitrary if confidence == 0.


right_center_confidence

float right_center_confidence;

A quality metric confidence value 0.0 - 1.0 to indicate accuracy of right eye center.

Output may be arbitrary if confidence == 0.


bool left_blink;

Returns true if eyes are inside a blink. When not wearing the device, values can be arbitrary.


bool right_blink;

error

MLEyeTrackingError error;

Represents what eye tracking error (if any) is present.


timestamp

MLTime timestamp;

The timestamp for all the data fields in this struct.


left_eye_openness

float left_eye_openness;

Openness of the left eye.

Output is 0.0 - 1.0, with 0.0 being fully closed and 1.0 fully open.


right_eye_openness

float right_eye_openness;

Openness of the right eye.

Output is 0.0 - 1.0, with 0.0 being fully closed and 1.0 fully open.