ddetommaso / TobiiGlassesPySuite

A Python based software suite for designing eye-tracking studies with the Tobii Pro Glasses 2
GNU General Public License v3.0
14 stars 8 forks source link

Gaze Data #7

Closed nit29sin closed 2 years ago

nit29sin commented 2 years ago

I am having the the following files: livedata.json recordings.json project.json segment.json participant.json fullstream.mp4

How can I used these files to get the Gaze Data as mentioned in GazeData.py ?

ddetommaso commented 2 years ago

Hi @nit29sin

GazeData is a class of the module gazedata.py used to model data extracted from recordings. You can find basic examples describing how to import recordings at the following repo:

https://github.com/ddetommaso/TobiiGlassesPySuite-Examples

nit29sin commented 2 years ago

How to input the values for filepath and filename in exporter.py? I am new to Python. See screenshot

Screenshot 2022-03-14 at 3 56 28 PM

.

ddetommaso commented 2 years ago

The snippet is about the constructor of the class CSVFile modelling the output CSV for eyetracking data. Specifically, filepath and filename refer to the information of the output file to be written with that specific dataframe.

@nit29sin if you are a naive user the best option is to start with the examples posted above.

nit29sin commented 2 years ago

Are the examples related to the recorded videos generated from Tobii or the live videos?

nit29sin commented 2 years ago

How to enter the arguments here for PROJECT_DIRNAME, root_dir etc.

Screenshot 2022-03-14 at 4 40 28 PM
ddetommaso commented 2 years ago

Hi @nit29sin

the examples are related to both recorded and live videos. The only information for processing the videos need to be provided at the Python examples level, not at the module level. Please refer to the code in the examples and provide those information as parameters of the scripts.