Skip to content

Collecting data from eyetracker Tobii Pro Spark, studying psychopy using webcam, audio and video components, besides the eyetracker. Tech Stack: Tobii Pro SDK kit, Psychopy and Python.

License

Notifications You must be signed in to change notification settings

julianapequeno/eye_data

Repository files navigation

Working and studying EyeTracking with Tobii Pro Spark.

Project's development.

I've been keeping my thoughts 💡, important links and daily improvements in these files: project_development.md and notes.md

🌷 Updates (08-30-24)

Hey, It's kind messy around here. This is the repo that contains a lot of my trials with the Eyetracker using differents components, frameworks and python scripts. Also, there's my thoughts and development throughout the research. Hopely something here helps you!

Tobii Pro SDK

Before I got started I've got to install Tobii Pro SDK Kit and Tobii Pro EyeTracker Manager. For this project, I've imported all the files from SDK KIT, but you can choose other way to go.

Virtual Environment

I had to create a virtual environment for my project due to Debian's Linux distro adopting PEP 668 - Marking Python base environments as “externally managed”.

  • Here's how:
    python3 -m venv .venv
    source .venv/bin/activate

Installing Psychopy

For this, I had to install wxPython package before. As I'm using a Ubuntu 23.04 distro, I couldnt install directly from the page wxPython/extras. It didnt exist any version that I could use from the moment that I did this. Then I simply built my own wxPython, following this instructions: Building wxPython for Linux.

Though they recommend you installing all that packages before, I just had to install gtk. Like this:

sudo apt-get install libgtk-3-dev

After, I've runned the command:

pip install wxpython

Lastly and finally, the one:

pip install psychopy

Outdoors - Psychopy

I suggest you installing TobiiProManager, it is free and you can get it in Tobii's site. It is very easy to install and to use. The manager could be very helpful for quick calibrations and verifications.

Indoors - Psychopy

In order to connect Tobii Pro Spark Eyetracker with Psychopy, I installed tobii plug-in. The newest release of psychopy changed it from being built-in to being a plug-in. Here is package github's repository: psychopy-eyetracker-tobii. Or you can just download on the application itself, here's a discussion about this that can help: https://discourse.psychopy.org/t/connect-to-eye-tracking-device/36423.

Learning - Psychopy

For initial studies I've decided to learn more about Psychopy through this course: Psychopy and Python

About

Collecting data from eyetracker Tobii Pro Spark, studying psychopy using webcam, audio and video components, besides the eyetracker. Tech Stack: Tobii Pro SDK kit, Psychopy and Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published