pupil labs in gazecode
Opened this issue · 7 comments
I was able to open your demo pupil labs data in gazecode but encountered this issue when our pupil data was used. Can you help me through this? @jsbenjamins @royhessels
Dear Jiyad, the version of GazeCode that works with GlassesViewer works with the first release model of Pupil Labs. If you are using a newer model you probably need the update version which is on this tree on Github: https://github.com/jsbenjamins/gazecode/tree/g2g3-glassesviewer-integration Also with regards to your previous question about the number of categories: we have never designed an experiment where we needed more than nine categories as our research question could always be answered with nine or less categories. What is your research question and how many categories would you need? kind regards Jeroen
…
________________________________ Assistant Professor Experimental Psychology, Helmholtz Institute Social, Health and Organisational Psychology Utrecht University | Heidelberglaan 1 | 3584 CS Utrecht, room H1.03 | +31 30 253 1244 WWW: University - personal pagehttps://www.uu.nl/staff/JSBenjamins | LinkedINhttps://www.linkedin.com/in/jsbenjamins/ | Personal pagehttp://www.jsbenjamins.nl/ Disclaimer: This e-mail message, including any attachments, is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and/or confidential. Any use, dissemination, distribution and/or reproduction of this message and/or any attachments by unintended recipients is unauthorized and may be unlawful. Due to changed security policy, I will not be able to read email on my personal phone and responses might be delayed.
________________________________ From: Jiyadgafoor @.> Sent: Wednesday, June 21, 2023 7:33 To: jsbenjamins/gazecode @.> Cc: Benjamins, J.S. (Jeroen) @.>; Mention @.> Subject: [jsbenjamins/gazecode] pupil labs in gazecode (Issue #27) [Screenshot (46)]https://user-images.githubusercontent.com/136495845/247442077-2fb489a9-26f4-468d-b88f-ad6351e398b0.png I was able to open your demo pupil labs data in gazecode but encountered this issue when our pupil data was used. Can you help me through this? @jsbenjaminshttps://github.com/jsbenjamins @royhesselshttps://github.com/royhessels — Reply to this email directly, view it on GitHub<#27>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB23CR3F6QDLXTS6PVDEH3DXMKBSBANCNFSM6AAAAAAZOGVS4U. You are receiving this because you were mentioned.Message ID: @.***>
Thank you @jsbenjamins.
We are working on pedestrian behaviour. So we cannot limit our research with fixed AOIs numbers, it might differ for different situations. So, at present, we cannot say the number of AOIs. But we can assure you that at minimum we need 15 AOIs for data analysis.
With regards to the error. There was a small bug in the data read function for Pupil Labs legacy/firstgen where it mistakenly took timestamps from the third column rather than the first column. I just pushed a change to github to fix this issue. Downloading again should thus fix your issue.
If not, check whether in your gaze_positions.csv file data are in the expected columns; gazecode expects timestamps in column 1 and normaized x,y gaze coordinates in column 4 and 5. If those data are in other columns, you can simply edit it in the file leesgazedataPupFG.m on line 17 to 19.
@Jiyadgafoor with regards to the categories, why not have a small online meeting to discuss your choice of AOI and research question? Perhaps you do not need more than 9 categories, which would also make your analyses simpler.
With regards to the error. There was a small bug in the data read function for Pupil Labs legacy/firstgen where it mistakenly took timestamps from the third column rather than the first column. I just pushed a change to github to fix this issue. Downloading again should thus fix your issue.
If not, check whether in your gaze_positions.csv file data are in the expected columns; gazecode expects timestamps in column 1 and normaized x,y gaze coordinates in column 4 and 5. If those data are in other columns, you can simply edit it in the file leesgazedataPupFG.m on line 17 to 19.
We are using the pupil core eye tracker, and when we are trying to select the world video file it's showing this error. Is the pupil labs core eye tracker any different from the pupil labs (first gen) that you have mentioned? Moreover, we are able to open the demo file video you provided at http://tinyurl.com/gazecodedemodata, and it works perfectly, the problem occurs only when we use our data. I have crosschecked the CSV files and it's all the same as you recommended.
@Jiyadgafoor with regards to the categories, why not have a small online meeting to discuss your choice of AOI and research question? Perhaps you do not need more than 9 categories, which would also make your analyses simpler.
Thank you for your response, we would like to have a meeting with you. Are you available tomorrow? or please let me know when at the earliest can we meet.
Regards
Jiyadh