Home Forums Software Development dev polling 4C?

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Grant [Tobii] Grant [Tobii] 2 days, 23 hours ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7582
    Profile photo of cleo jones
    cleo jones
    Participant

    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?

    #7592
    Profile photo of Grant [Tobii]
    Grant [Tobii]
    Moderator

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.