- This topic has 2 replies, 2 voices, and was last updated 8 years, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Software Development › .NET Check If Gaze Coordinates are Negative
Tagged: .NET, c++, coordinates, MinimalGazeDataStream
I’m looking at the MinimalGazeDataStream sample for .NET and I can’t figure out how to use these coordinates.
How would you check whether the gaze coordinates are within a certain range?
Thanks,
ccg123
I figured it out – change the code to:
lightlyFilteredGazeDataStream.Next += (s, e) => { if (e.Y < 0) Console.WriteLine("Y is negative"); };
Hi,
Glad you solved it.
Please note that the Gaze Point coordinates will always be negative on monitors to the left and/or above the monitor set as the primary screen in Windows’ display settings. This might be the case if the display set up to be used with EyeX is not the primary but a secondary monitor. (0,0) is the top left corner of the primary screen.