Home › Forums › Software Development › Checking gaze position
Tagged: .NET
- This topic has 3 replies, 2 voices, and was last updated 8 years, 11 months ago by
Robert [Tobii].
- AuthorPosts
- 07/10/2014 at 07:44 #1808
Manuel
ParticipantIs there any way to check or consult (in anytime) the gaze position through code? In SDK .NET
I cannot see this in Developer’s documentation.Thanks in advance.
08/10/2014 at 07:37 #1817Robert [Tobii]
ParticipantHi Manuel,
There are a number of code samples available within the EyeX SDK for .NET package, that you can use by opening the \source\EyeXDotNet.sln file in Visual Studio (2012+). I’m not sure I understood what you want to achieve, but the MinimalGazeDataStream code sample should be a good starting point.
08/10/2014 at 08:12 #1820Manuel
ParticipantI am trying to create a visible “focus” to show the place that is being seen by the user. So, I think about get gaze-coordinate for doing this.
Have you got any idea o better solution to reach this?
Thanks in advance.
08/10/2014 at 08:28 #1821Robert [Tobii]
ParticipantOk, I see. Then it sounds reasonable to look at the MinimalGazeDataStream code sample, but instead of just showing the X and Y coordinates in the console you can move around some sort of semi-transparent window based on these coordinates. You probably would want to do some sort of filtering on the signal to make it smoother. Also, beware of the “mouse chase” effect: When you have a visual element moving close to where you look, the eye’s natural behavior is to follow the moving target. If you make your “focus” indicator large and discrete, it should be ok.
- AuthorPosts
- You must be logged in to reply to this topic.