public class GazeData extends Object
Modifier and Type | Class and Description |
---|---|
class |
GazeData.Eye
Contains tracking results of a single eye.
|
Modifier and Type | Field and Description |
---|---|
Boolean |
isFixated |
GazeData.Eye |
leftEye |
Point2D |
rawCoordinates |
GazeData.Eye |
rightEye |
Point2D |
smoothedCoordinates |
Integer |
state |
static int |
STATE_TRACKING_EYES
Set when engine has detected eyes.
|
static int |
STATE_TRACKING_FAIL
Set when tracking failed in the last process frame.
|
static int |
STATE_TRACKING_GAZE
Set when engine is calibrated and glint tracking successfully.
|
static int |
STATE_TRACKING_LOST
Set when tracking has failed consecutively over a period of time defined by engine.
|
static int |
STATE_TRACKING_PRESENCE
Set when engine has detected either face, eyes or glint.
|
Long |
timeStamp |
String |
timeStampString |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
boolean |
hasRawGazeCoordinates() |
boolean |
hasSmoothedGazeCoordinates() |
void |
set(GazeData other) |
String |
stateToString() |
public static final int STATE_TRACKING_GAZE
public static final int STATE_TRACKING_EYES
public static final int STATE_TRACKING_PRESENCE
public static final int STATE_TRACKING_FAIL
public static final int STATE_TRACKING_LOST
public Integer state
public Long timeStamp
public String timeStampString
public Point2D rawCoordinates
public Point2D smoothedCoordinates
public GazeData.Eye leftEye
public GazeData.Eye rightEye
public Boolean isFixated
public GazeData()
public GazeData(GazeData other)
Processing library EyeTribeProcessing by Jorge C. S. Cardoso. (c) 2015