brownhci / WebGazer

WebGazer.js: Scalable Webcam EyeTracking Using User Interactions
https://webgazer.cs.brown.edu
Other
3.54k stars 536 forks source link

Tobii normalized coordinates #288

Closed Lotemn102 closed 1 year ago

Lotemn102 commented 1 year ago

Hi,

How the Tobii coordinates were normalized? I'm getting values that exceed the range [0, 1] (e.g 1.05860948562622, 1.06244945526123 etc.) which is weird.

I'm reading the data from the colums 'tobiiLeftScreenGazeX', 'tobiiLeftScreenGazeY', 'tobiiRightScreenGazeX', 'tobiiRightScreenGazeY' in the data extractor's CSV file. According to the docs , it is normalized: Tobii prediction closest in time; normalized to screen coordinates.

Thanks

jeffhuang commented 1 year ago

I believe [0, 1] are coordinates that map to the screen, so values outside that range just indicate eye gaze outside the screen, which is pretty normal especially when the user is not focused on a task. Does that seem right to you when you notice that in the data?

Lotemn102 commented 1 year ago

Sorry for the late answer It does seem like that's the case. Thank you!

foolishortalent commented 1 year ago

Sorry for the late answer It does seem like that's the case. Thank you!

Which version of webgazer do you use? I tried to use the extractor to extract the dataset, but I never got the result. I would appreciate it if you could take the time to reply to me.