- This topic has 1 reply, 2 voices, and was last updated 5 years, 10 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Software Development › polling 4C?
I am currently using eyeXHost.Streams.CreateGazePointDataStream(GazePointDataMode.LightlyFiltered) to respond to gaze; but the stream only updates on eye movement, and not when the gaze is paused or exits detection. Is there a way to detect the loss of gaze detection?
What I’d really like is, instead of attaching a callback to the gazepointdatastream, to be able to poll the 4C whenever necessary, and get: 1. is gaze tracked or not; and 2. if so, what are the coordinates?
Hi @cleojones, you can use the “userPresenceState” state found
within the Tobii Core SDK with sample code and detailed
instruction @ https://tobii.github.io/CoreSDK/articles/states.html
This should allow you to detect the presence of a user, and
act accordingly within your program.
For the capture of gaze co-ordinates, you can run the
sample program, “Interaction_Streams_101” available @
https://github.com/Tobii/CoreSDK
which shows how this is done.
Please let us know if we can be of further assistance.