This toolbox provides a realtime visualization of eye tracking data to be used for designing passive BCI system.
Project description
IMPORTANT
In case, this toolbox doesn't works as intended or you find some issues, create an issue in the tracker (https://github.com/VinayIN/pyETA-toolbox/issues) and I will try to resolve it. (Please attach errors & log)
pyETA-toolbox (Eye Tracker Analyzer)
- This provides a real-time eyetracking metric (especially fixation & Saccades).
- This tool also provides for validation of the eye-tracker performance on a user.
- The tool provides
22 channels, following table describes the EEG channel information in order:
| No. | Channel Name | Type | Unit |
|---|---|---|---|
| Left Eye | |||
| 1 | left_gaze_x |
gaze | normalized |
| 2 | left_gaze_y |
gaze | normalized |
| 3 | left_pupil_diameter |
pupil | mm |
| 4 | left_fixated |
fixation | boolean |
| 5 | left_velocity |
velocity | px |
| 6 | left_fixation_timestamp |
timestamp | s |
| 7 | left_fixation_elapsed |
duration | s |
| 8 | left_filtered_gaze_x |
filtered_gaze | normalized |
| 9 | left_filtered_gaze_y |
filtered_gaze | normalized |
| Right Eye | |||
| 10 | right_gaze_x |
gaze | normalized |
| 11 | right_gaze_y |
gaze | normalized |
| 12 | right_pupil_diameter |
pupil | mm |
| 13 | right_fixated |
fixation | boolean |
| 14 | right_velocity |
velocity | px |
| 15 | right_fixation_timestamp |
timestamp | s |
| 16 | right_fixation_elapsed |
duration | s |
| 17 | right_filtered_gaze_x |
filtered_gaze | normalized |
| 18 | right_filtered_gaze_y |
filtered_gaze | normalized |
| Screen Data | |||
| 19 | screen_width |
screen | px |
| 20 | screen_height |
screen | px |
| 21 | timestamp |
timestamp | s |
| 22 | local_clock |
timestamp | s |
Alternative Installations
Download the pyeta-toolbox-<version>-py3-none-any.whl file from here: https://github.com/VinayIN/pyETA-toolbox/releases and install using pip
# move the .whl file to your workspace
# once moved verify using ls bash command, if found
# replace .whl file with the one just downloaded. it should have this format with a different <version>
pip install pyeta-toolbox-<version>-py3-none-any.whl
or
CAUTION: This below method installs the development version and might have bugs
pip install git+https://github.com/VinayIN/pyETA-toolbox.git
Usage
There are 2 ways this tool can be used (CLI - track/window/validate & GUI - browser/application), both are shown below:
prerequisite: pyETA-toolbox needs to be installed
1. CLI
Command:
pyETA track
Parameters:
--push_stream:Pushes the data to an LSL stream.--data_rate:Specifies the rate of the data stream.--use_mock:Uses a mock service for the eye tracker.--fixation:Adds fixation duration to the data stream.--velocity:Specifies the velocity threshold for fixation.--accept_screen_nans:Avoids correcting for NaNs.--save_data:Saves the data to a file.--verbose:Displays debug statements.--duration:Specifies the duration for which to track the data.--screen_index:for multi-screen execution, use the index to capture the data from a specific screen with the resolution
An example with tracker running with fixation and a mock service that runs for a duration of 10sec and stops (if --use_mock is not provided, it searches for the eye tracker)
pyETA track --fixation --use_mock --duration 10
Command:
pyETA window
Parameters:
--use_mock:Use mockup tracker--screen_index:Screen index to display the validation window--verbose:Enable verbose logging
Example with parameters to run the validation window
pyETA window --use_mock --screen_index=0
Command:
pyETA validate
Parameters:
--csv:Name of the output CSV file. (example: myfile.csv)
Example with parameters to fetch the metrics
pyETA validate --csv=myfile.csv
2. GUI
Command:
pyETA application
or execute the pyETA.exe(To be implemented)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyeta_toolbox-0.1.0.tar.gz.
File metadata
- Download URL: pyeta_toolbox-0.1.0.tar.gz
- Upload date:
- Size: 34.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.16 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a1a6a30e86950e3f8455529625c56d25f5c7c37e18198144c68677453c7245a
|
|
| MD5 |
cc1bebeddb474daf697979ff64da70b9
|
|
| BLAKE2b-256 |
c8f424c6f888a3b296cac6d3952a82fcfc8aa37f67c44000368911ccf5295df3
|
File details
Details for the file pyeta_toolbox-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyeta_toolbox-0.1.0-py3-none-any.whl
- Upload date:
- Size: 36.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.16 Darwin/24.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b178fc752ecfc7d7123aa8d36c8036a6e1ab5861750723a0de536575822aebb
|
|
| MD5 |
42566bd6dab77df2a29b75f6323075b6
|
|
| BLAKE2b-256 |
0721a544bf1f0f7001555c86f27e71c852d9a4b78ade023e135c86d3743839e5
|