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 7 years, 6 months ago by Alex [Tobii].
- AuthorPosts
- 10/04/2017 at 09:47 #6651AnonymousInactive
Hey,
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.
I used…
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?
Thanks,
Michael10/04/2017 at 12:14 #6653Alex [Tobii]ParticipantHi!
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 #6658AnonymousInactiveAlright, thanks for the fast reply! 🙂
Seems like I missed that point in the license agreement somehow
10/04/2017 at 14:28 #6659Alex [Tobii]ParticipantIf you tell me a bit more about your usecase, I might be able to help you to find a solution.
- AuthorPosts
- You must be logged in to reply to this topic.