janfreyberg / tobii-psychopy

A package to use Tobii Eyetrackers with psychopy in python
GNU General Public License v3.0
17 stars 6 forks source link

⚠️ THIS LIBRARY IS NO LONGER MAINTAINED. ⚠️

Unfortunately, I no longer work in psychology and therefore don't have access to tobii devices. If you'd like to take the project forward, please do!

tobii psychopy

This is a port, with some modifications, of a script written by @SogoHiroyuki, to make it easier to use tobiis from psychopy.

The original is located here: http://www.s12600.net/psy/etc/python.html#TobiiController

I have taken the Psychopy version of his script and adapted it to:

Installation

Install by typing: pip install git+https://github.com/janfreyberg/tobii-psychopy.git

Dependencies

You will need:

Usage

You can try out the controller by running tobiicontroller.py as a script rather than importing it: enter python tobiicontroller.py in a commandline in the same directory as the file.

When using it as part of a PsychoPy experiment, import it first, and then create a "controller" class by calling myController = tobiicontroller.TobiiController(window), where window is the handle of an open psychopy window.

The following functions of the controller can be used for calibrating and tracking: