Skip to content

labstreaminglayer/App-PupilLabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Pupil LSL Relay Plugin

Plugin for Pupil Capture that relays pupil and gaze data, as well as notification, to the lab streaming layer.

Installation

  1. Build the LSL Python bindings.
    1. Download liblsl-Python-1.11.zip
    2. Extract the zip file
    3. Execute python setup.py build in the extracted folder. This should generate a build folder.
    4. build should include another folder called lib that includes a folder called pylsl.
  2. Copy the pylsl with all its content to the user plugin directory*.
  3. Copy pupil_lsl_relay.py to the user plugin directory*.

Usage

  1. Start Pupil Capture.
  2. Open the Pupil LSL Relay plugin.
  3. Optional: Deselect relaying for pupil data, gaze data, or notifications.
  4. Now the LSL outlets are ready to provide data to other inlets in the network.

LSL Outlets

All stream outlets are of type Pupil Capture.

Primitive data streams consist of 5 channels (lsl.cf_double64): - diameter (-1.0 for gaze streams) - confidence - timestamp - norm_pos.x - norm_pos.y

Python Representation streams consist of 1 channel containing the Python repr() string of the datum.

The plugin provides following outlets:

  • When relaying pupil data:
    • Pupil Primitive Data - Eye 0
    • Pupil Primitive Data - Eye 1
    • Pupil Python Representation - Eye 0
    • Pupil Python Representation - Eye 1
  • When relaying gaze data:
    • Gaze Primitive Data
    • Gaze Python Representation
  • When relaying notifications:
    • Notifications

About

Implementations of LSL relays for Pupil Labs eye trackers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 9

Languages