|
visageSDK
|
Objective-C wrapper of the native VisageSDK::ScreenSpaceGazeData class. More...
#import <objc_ScreenSpaceGazeData.h>
Inherits NSObject.
Properties | |
| int | index |
| Index of the video frame. More... | |
| float | x |
| X coordinate of screen space gaze normalized to screen width. More... | |
| float | y |
| Y coordinate of screen space gaze normalized to screen height. More... | |
| int | inState |
| Flag indicating the state of the gaze estimator for the current frame. More... | |
| float | quality |
| The frame level gaze tracking quality. More... | |
Objective-C wrapper of the native VisageSDK::ScreenSpaceGazeData class.
Definition at line 19 of file objc_ScreenSpaceGazeData.h.
|
readatomicassign |
Index of the video frame.
In online mode the frame index corresponds to the sum of the number of calibration frames passed to the tracker and the number of frames processed in the estimation phase.
In offline mode the index is the frame number in the processed video sequence.
Definition at line 34 of file objc_ScreenSpaceGazeData.h.
|
readatomicassign |
Flag indicating the state of the gaze estimator for the current frame.
If inState is 0 the estimator is off and position is default.
If inState is 1 the estimator is calibrating and returns calibration data for the current frame.
If inState is 2 the estimator is estimating and returns the estimated screen space gaze coordinates.
If inState is -1 the estimator is calibrating but the tracking/screen space gaze estimation failed for the current frame (position is default)
If inState is -2 the estimator is estimating but the tracking/screen space gaze estimation failed for the current frame (position is default)
Definition at line 58 of file objc_ScreenSpaceGazeData.h.
|
readatomicassign |
The frame level gaze tracking quality.
Quality is returned as a value from 0 to 1, where 0 is the worst and 1 is the best quality. The quality is 0 also when the gaze tracking is off or calibrating.
Definition at line 64 of file objc_ScreenSpaceGazeData.h.
|
readatomicassign |
X coordinate of screen space gaze normalized to screen width.
0 corresponds to the left-most point and 1 to the right-most points of the screen. Defaults to 0.5.
Definition at line 39 of file objc_ScreenSpaceGazeData.h.
|
readatomicassign |
Y coordinate of screen space gaze normalized to screen height.
0 corresponds to the top-most point and 1 to the bottom-most points of the screen. Defaults to 0.5.
Definition at line 44 of file objc_ScreenSpaceGazeData.h.
1.8.15