triadamarks.blogg.se

Tobi itracking
Tobi itracking




Gaze vector is intersecting the calibrated surface. This represents where the eye tracker is reporting each eye

tobi itracking

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

tobi itracking

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.






Tobi itracking