Home › Forums › Software Development › How to get absolute Gaze coordinates with Unity?
Tagged: gazepoint coordinates, Unity
- This topic has 3 replies, 2 voices, and was last updated 5 years, 11 months ago by Alex [Tobii].
- 10/04/2017 at 09:47 #6651AnonymousInactive
I’m a hobby/amateur developer and stumbled across the EyeX Unity SDK a few days ago.
As a test, I’d like to create an App which tracks the coordinates of my gazepoints and writes it into an .csv file. This app shall also be able to work in the background, e.g. when I minimize the window.
int x = (int) Eyetracking.GetGazePoint().Screen.x; int y = (int) Eyetracking.GetGazePoint().Screen.y;
…but unfortunately it only gives me the gaze point in Unity screen space pixels -> the output is very weird and not consistent whenever I vary the screen size while the app is running.
Is there a way to get the absolute coordinates of the screen, not within the game window?
Michael10/04/2017 at 12:14 #6653Alex [Tobii]Participant
Storing and transferring gaze data is strongly prohibited by the SDK license agreement.
If you want to store the data please contact Tobii Pro for a separate license.10/04/2017 at 14:22 #6658AnonymousInactive
Alright, thanks for the fast reply! 🙂
Seems like I missed that point in the license agreement somehow10/04/2017 at 14:28 #6659Alex [Tobii]Participant
If you tell me a bit more about your usecase, I might be able to help you to find a solution.
- You must be logged in to reply to this topic.