Home › Forums › Community Projects › [Solved] Tobii EyeX measure pupil
Tagged: C# Tobii EyeX, pupil diameter
- This topic has 10 replies, 3 voices, and was last updated 3 years, 6 months ago by Grant [Tobii].
- AuthorPosts
- 19/07/2017 at 17:47 #7168FjordaParticipant
Hi, I am using Tobii EyeX and I wanted to measure pupil diameter. Is this possible with this Tobii device?
19/07/2017 at 18:11 #7169FjordaParticipantThank you for your reply. What about tobii REX? Does it give any information about the pupil?
19/07/2017 at 23:07 #7171Grant [Tobii]KeymasterHi @fk22, I am afraid that neither the REX, EyeX or C4 products have the pupil size exposed using the Gaze Interaction SDK.
If you require to measure pupil size, you will need to request a special licence to use the Tobii Pro SDK in conjunction with your eye tracker.
Further information is available @ http://developer.tobii.com/tobii-sdk-guide/
21/07/2017 at 17:02 #7179FjordaParticipantThank you for your reply. Now I am using Tobii EyeX and I wanted to extract the number of blinks. Is there any way to do that? Right now I am getting the gaze points (x,y) on the screen.
21/07/2017 at 17:22 #7180FjordaParticipantI can use MinimalGazeDataStream for get fixations but when I try to install the EyeX.Framework in visual studion it says:
Could not install package ‘Tobii.EyeX.Framework 1.8.503’. You are trying to install this package into a project that targets ‘.NETFramework,Version=v3.5,Profile=Unity Full v3.5’, but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
What can be the use? How can I change the framework?
22/07/2017 at 13:29 #7188Grant [Tobii]KeymasterHi @fk22, If you are just getting started in using the eye tracker and the EyeX SDK then I suggest you may find it simpler to get up and running with the new Tobii Core SDK which not only contain a number of different samples which may be useful to you, but also provides support for the NuGet package installer to make running your first samples quickly.
You can find further information online @ https://tobii.github.io/CoreSDK/articles/getting_started.htmlThere is no function straight out of the box that logs the number of blinks during tracking however you do of course have access to the Gaze data stream and could measure period for which no tracking was recorded.. however you would need to consider this might also be as a result of the user looking away from the screen or environmental factors. A degree of of filtering based upon duration of data loss would be necessary.
However, please bear in mind that if you intended to store the gaze data for analytic or scientific usage, this would again necessitate the acquisition of a special Tobii Pro licence to do so.
22/07/2017 at 15:36 #7189Alex [Tobii]ParticipantI’m affraid the only option for Unity is Tobii Unity SDK. We also don’t recommend using blinking as control input, since human eyes get tired very fast from intentional blinking.
Currently the only way to get information sbout eye openness in Tobii Unity SDK is to check IsRecent on GazePoint.
15/06/2020 at 17:18 #18193asishParticipantHi @Fjorda, Did you get pupil diameter?
I used VRGazeData script and found the diameter.
PupilDiameter = eye.Pupil.PupilDiameter / 1000f;
PupilDiameterValid = eye.Pupil.Validity.Valid();eye.Pupil.PupilDiameter = 2.572433 mm
So, I got 2.572433 mm diameter of my eye.20/02/2021 at 04:01 #19912SimonParticipantCan someone please tell me:
a) What is required to get the pupil diameter using a Tobii 4C, regarding licence, SDK’s, etc.
b) Where is any sample code that does this?Thanks
Simon22/02/2021 at 09:51 #19927ZoeSutherlandParticipantI join the question. What about it?
22/02/2021 at 11:10 #19935Grant [Tobii]KeymasterHi @simonsmith, the pupil size and separate eye gaze streams are advanced metrics which are only available with the Tobii Pro SDK
In order to use the Tobii Pro SDK with the 4C Tracker you must purchase a Research development license.
To obtain a quote, please get in touch with the licencing team @ https://developer.tobii.com/license-agreement/contact/
Best Wishes.
- AuthorPosts
- You must be logged in to reply to this topic.