Home › Forums › Software Development › I have a problem with winking(c#)
Tagged: c# tobi core sdk, c++
- This topic has 1 reply, 2 voices, and was last updated 5 years, 9 months ago by
Grant [Tobii].
Viewing 2 posts - 1 through 2 (of 2 total)
- AuthorPosts
- 13/08/2017 at 16:05 #7267
Mustafa UNLU
ParticipantWith the following code I can find the eyes are closed or open but what I want is if the left eye is closed.The click event occur. How can I do this?
public static void Main(string[] args) { EyeXHost host = new EyeXHost(); host.Start(); EyePositionDataStream eyePosition = host.CreateEyePositionDataStream(); eyePosition.Next += (s, e) => { Noktalama.solBakis = (bool)(e.LeftEye.IsValid); Noktalama.sagBakis = (bool)(e.RightEye.IsValid); }; Console.In.Read(); }
14/08/2017 at 10:50 #7270Grant [Tobii]
KeymasterHi @munlu, if you check out the Tobii Core API reference guide with respect to the Eye Position Data class, herein
we describe the methodology for obtain validity codes for each eyeFor example,
HasLeftEyePosition
Gets a value indicating the validity of the left eye position.
Declarationpublic bool HasLeftEyePosition { get; }
Further details online @
https://tobii.github.io/CoreSDK/api/Tobii.Interaction.EyePositionData.html
- AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.