Screen Based Eye Trackers
Overview
Demonstrates how to integrate screen based eye trackers from Tobii and Eyelogic.
Found in ExampleScripts\Screen Based Eyetrackers
.
Installation
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
For Eye Logic
- Download server and SDK zip file https://www.eyelogicsolutions.com/downloads/
- Install server software, then plug in eyeLogic device via USB
- Place unzipped eyeLogic SDK next to project file (eyelogic folder with
ELApi.py
)
Running the Template
- Run
Screen_Based_Tobii.py
orScreen_Based_Tobii_GUI.py
for Tobii screen based eye trackers - For eyelogic use
Screen_Based_EyeLogic.py
orScreen_Based_Eyelogic_GUI.py
- 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).