iTrace-Dev / iTrace-Core

iTrace Engine that interfaces with an eye tracker
http://www.i-trace.org/
GNU General Public License v3.0
6 stars 0 forks source link

Eye status window #5

Closed shbonita closed 5 years ago

shbonita commented 7 years ago

From iTrace-Core's interface there needs to be a eye status window that shows the eyes valid and the cm the user is from the screen. This can be a separate window from Core's UI. We can get the distance information from the Tobii Pro SDK.

The status window should have two circles indicating eye status. If no circle is visible then no eyes are tracked.

https://www.tobiipro.com/siteassets/tobii-pro/user-manuals/tobii-pro-studio-user-manual.pdf

dtg3 commented 6 years ago

Example from the PDF eyewindow

ashwin9999 commented 6 years ago

I think these will be helpful for retrieving eye images:

http://devtobiipro.azurewebsites.net/tobii.research/c/reference/1.3.0.36-alpha-g7db606fa/eye_images_as_gif_8c-example.html#a2

http://devtobiipro.azurewebsites.net/tobii.research/c/reference/1.3.0.36-alpha-g7db606fa/structTobiiResearchEyeImageGif.html

http://devtobiipro.azurewebsites.net/tobii.research/c/reference/1.3.0.36-alpha-g7db606fa/eye_images_8c-example.html

shbonita commented 6 years ago

http://developer.tobiipro.com/c/c-sdk-reference-guide.html Click on data structures, then TobiiResearchGazePoint.

There are 2 sets of coordinates the sdks provide, the screen coordinates and the user coordinates. The user coordinates would provide distance. Thank to Ben for the above info.

dtg3 commented 6 years ago

GazeData now holds user position x, y, and z. Code is in development, but has NOT been tested with tracker.

dtg3 commented 6 years ago

Bump to June demo unless priority drops further.

jmaletic commented 6 years ago

This is dependent on finishing #22

jmaletic commented 6 years ago

Need eye status window in Qt widgets

dtg3 commented 6 years ago

Have both eye color change and color bar on side. Use an indicator on color bar to indicate quality.

dtg3 commented 6 years ago

Is this a known bug with the eye status window? Latest commit: 8da695f196f8f30d5d4de72a2b05367eb9177f34

eyestatus

Windows 10 / QT 5.11.1 / Tobii Tracker (connected via USB 3)

dtg3 commented 6 years ago

The color flickering screen issue is still present even after commit 0cde1fc2571657321475d0b6e3166e2ea21d3f80.

dtg3 commented 6 years ago

Since the solution utilizes openGL, I tested on systems with Nvidia and AMD GPUs and the results are the same as of commit bce9352d0fdd9225d726544fd71a5125f347f2f7

jmaletic commented 6 years ago

Blocked until new core is working.

jmaletic commented 6 years ago

No longer blocked in C# versions

dtg3 commented 5 years ago

Support for the different trackers:

vzyrianov commented 5 years ago

The 3-D view of the eyes is being shown now. The distance slider still needs to be implemented.

shbonita commented 5 years ago

can you put a screen shot here?

vzyrianov commented 5 years ago

I don't have access to an eye tracker currently. But here's a screen shot of the window without it being updated with user position data.

Capture

shbonita commented 5 years ago

I think you can reduce the size of the window. no reason for it to be this big.

vzyrianov commented 5 years ago

Is this better? Capture

shbonita commented 5 years ago

yes

vzyrianov commented 5 years ago

image image image

Latest version of the eye status window. There is only a single eye because I am using the mouse tracker.

Is this a good range of values on the slider (between 0cm and 100cm)? Should I adjust the red/green gradient?

shbonita commented 5 years ago

yes it is. I was caught off guard with the one-eyed person for a second.

vzyrianov commented 5 years ago

Eye status window is now complete.

image

image

image

shbonita commented 5 years ago

what do you mean by the view is 3d?

vzyrianov commented 5 years ago

What I mean is that a perspective projection is done on the eye positions before they are drawn.

When the person moves back the distance between the circles is smaller. If the person moves closer the distance increases. etc.

So as you move your head around it looks like the eyes are in 3D.