![]() IsRecordingEnabled returns the recording state from the eye tracking If the eye tracker is not currently recording data.ĮyeSample: If the eye tracker is recording in a monocular tracking mode, the latest sample event of this event type is returned.īinocularEyeSample: If the eye tracker is recording in a binocular tracking mode, the latest sample event of this event type is returned. System always using the BinocularSample Event type. Returns the latest sample retrieved from the Tobii device. Tuple: Latest (gaze_x,gaze_y) position of the eye(s) Return type If the eye tracker is not currently recording data or no eye samples have been received. If no samples have been received from the eye tracker, or theĮye tracker is not currently recording data, None is returned. If binocular recording is being performed, the average position of both The units are in the units in use by the Display device. This is the position on theĬalibrated 2D surface that the eye tracker is reporting as the currentĮye position. The getLastGazePosition method returns the most recent eye gaze position The above remarks are true for any eye tracker in general. User is not focussing at the calibrated depth, or that there is error in the eye data. When a user is looking at theĬalibration surface, the x component of the two eyes gaze position should be the same.ĭifferences between the x value for each eye either indicates that the Indicate that the participant is being reported as looking behind or Two eyes in the y dimension is likely due to eye tracker error.ĭifferences between the x, or horizontal component of the gaze position, In general, the y or vertical component of each eyes gaze position shouldīe the same value, since in typical user populations the two eyes are ![]() ![]() Gaze vector is intersecting the calibrated surface. This represents where the eye tracker is reporting each eye Returns the latest 2D eye gaze position retrieved from the Tobiiĭevice. By default a namedtuple object is returned for each event. The event object type is determined by the asType parameter passed to the method. Events are ordered by the ioHub time of each event, older event at index 0. New events that the ioHub has received since the last getEvents() or clearEvents() call to the device. Valid values are ‘namedtuple’ (the default), ‘dict’, ‘list’, or ‘object’. False results in events being left in the device event buffer.ĪsType ( str) – Optional kwarg giving the object type to return events as. True (the default) indicates to remove events being returned. ![]() Event type ID’s can be accessed via the EventConstants class all available event types are class attributes of EventConstants.ĬlearEvents ( int) – Can be used to indicate if the events being returned should also be removed from the device event buffer. Events that have occurred but do not match the event ID specified are ignored. Note that calling getEvents() at a device level does not change the Global Event Buffer’sĮvent_type_id ( int) – If specified, provides the ioHub DeviceEvent ID for which events should be returned for. The device’s getEvents() or clearEvents() methods. Retrieve any DeviceEvents that have occurred since the last call to ( dict) getEvents ( * args, ** kwargs ) ¶ The dictionary of the device configuration settings used With any device settings provided via launchHubServer(…).Ĭhanging any values in the returned dictionary has no effect stime = getTime () while getTime () - stime. # Check for and print current eye position every 100 msec. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |