MLEyeTrackingStateEx
Module: Eye Tracking
Information about the state of the eye tracking system. More...
#include <ml_eye_tracking.h>
Public Attributes
Type | Name |
---|---|
uint32_t | version |
float | vergence_confidence A quality metric confidence value 0.0 - 1.0 to indicate accuracy of vergence. |
float | left_center_confidence A quality metric confidence value 0.0 - 1.0 to indicate accuracy of left eye center. |
float | right_center_confidence A quality metric confidence value 0.0 - 1.0 to indicate accuracy of right eye center. |
bool | left_blink |
bool | right_blink |
MLEyeTrackingError | error |
MLTime | timestamp The timestamp for all the data fields in this struct. |
float | left_eye_openness Openness of the left eye. |
float | right_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.
left_blink
bool left_blink;
Returns true if eyes are inside a blink. When not wearing the device, values can be arbitrary.
right_blink
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.