Screen Based Eye Trackers
Overview
Demonstrates how to integrate screen based eye trackers from Eyelogic and Tobii.
Hardware tested:
Found in ExampleScripts\Screen Based Eyetrackers
.
Installation
For Eye Logic
- Download server https://www.eyelogicsolutions.com/downloads/
- Install server software, then plug in eyeLogic device via USB
- For more information see this page https://www.eyelogicsolutions.com/download/doc_sdk_py/index.html
For Tobii Based Eye Trackers
- Install
tobii_research
python library (install via the Package Manager, currently only available for Vizard 7) - Install or update to the latest version of Tobii Pro Eye Tracker Manager
- Plug in device via USB
- Follow instructions at this page to continue setup
Running the Template
- For eyelogic use
Screen_Based_EyeLogic.py
orScreen_Based_Eyelogic_GUI.py
- Run
Screen_Based_Tobii.py
orScreen_Based_Tobii_GUI.py
for Tobii screen based eye trackers - For prototyping can also run
Screen_Based_Simulate.py
(usei,j,k,l
keys to move the simulated eyetracker) - Check options, such as sending signals to BIOPAC
- Script will run in full screen (if screen is just black, there is an error in your setup)
- Press the period key ""
.
"" to toggle on or off the gaze point - Afterwards you can view the replay by running
SightLabVR_Replay_Follow_Mode.py
orSightLabVR_Replay_Follow_Mode_EyeLogic.py
. You can also runSightLabVR_Replay.py
for a mode in third person, but the accuracy of the gaze point may vary depending on the z-axis value (can adjust an offset in the code).
Note: If the gaze point is not spanning the full window you can adjust this line (make the value larger to cover a larger screen or smaller if going off the edges)
PIXEL_SCALE = 0.00042