Home › Forums › Software Development › Possibility of getting eye tracker data from a web browser plugin
- This topic has 7 replies, 6 voices, and was last updated 6 years, 9 months ago by Mostafa.
- AuthorPosts
- 09/12/2014 at 03:40 #2174Cheng GuoParticipant
Hello,
I am currently trying to read the eye tracker data (x & y) from a chrome web browser plugin. I would like to know if this is technically feasible?
I can only think of two work arounds right now:
1) hook the eye tracker data with the mouse pointer so that DOM elements can detect mouse hover (this is not ideal because users cannot use the mouse anymore)
2) somehow make a virtual mouse pointer, so that I have two mouse pointers (one default and one hidden virual pointer). By binding the eye tracker data to the virtual pointer, I can get the eye tracker data without taking over the existing mouse pointer.
I saw an official chrome plugin for the Tobii eye tracker. I wonder if that plugin can read x,y data from the eye tracker. If so, could someone from Tobii provide more detail about it?
Thanks!
10/12/2014 at 17:53 #2183Jenny [Tobii]ParticipantHi Cheng,
We have an almost finished Web API that keeps getting pushed down in priority on the backlog. So, at the moment, I’m afraid I can’t offer you a straightforward solution, and I don’t know when the Web API could get high enough priority.
In the meantime, you might be able to use or take inspiration from Overwolf and the Tobii EyeX for Overwolf API in some way. It’s a long shot, I know. The Overwolf Browsers are based on Chromium, and the Tobii EyeX for Overwolf API is accessible from javascript using the Overwolf Development Kit (ODK). You can find more info here:
http://developers.overwolf.com/eye-tracker-getting-started/
http://developers.overwolf.com/tobii-api-references/11/12/2014 at 02:43 #2186Cheng GuoParticipantHi Jenny,
This is great! I am going to look into this solution. Since the Overwolf browser is based on Chromium, I assume it is going to work on Chrome as well?? Anyways, I am going to give it a try.
Just in case if this solution does not work, here is another solution that I can think of:
– use the visual studio web api template to write a mini server that outputs the eye tracker’s x & y
– let the browser plugin to connect to this service to read data from it08/04/2015 at 09:18 #2822Kristoffer NolgrenParticipant+1 on javascript API!
01/07/2015 at 08:32 #3184JonathanParticipantYeah, a js API would be perfect! Any news regarding that? Since I am a web developer I would prefer that a lot over having to code with .NET etc.
Even better would be a possibility to retrieve the tracker’s data within node.js, but also within the browser would be neat!01/06/2016 at 10:50 #5272JonathanParticipantI have developed some stuff with https://github.com/jiahansu/GazeJS – works well, but it makes use of the Gaze SDK, which I find a bit problematic license-wise.
27/06/2017 at 09:09 #7091shihoParticipant+1 on javascript API, too.
04/02/2018 at 22:50 #7875MostafaParticipantI was able to stream gaze data to javascript via Node and C#/Edge.js https://warm-dawn-72382.herokuapp.com/note/how-to-stream-gaze-data-from-tobii-eyex-to-javascript-via-node
- AuthorPosts
- You must be logged in to reply to this topic.