Home › Forums › Software Development › How to Connect Tobii 4C to Customized Program
Tagged: c++; Tobii 4C; API
- This topic has 3 replies, 2 voices, and was last updated 3 years, 6 months ago by Grant [Tobii].
- 15/11/2019 at 02:13 #12311Zhenyi HeParticipant
I am new to Tobii. I tried some VR product and found it impressive. I wonder if I just use Tobii 4C, how to connect the output of Tobii 4C to my personal project? Let’s say I want to use Tobii 4C for selection tasks on web pages. Do I need to manually connect the output to mouse event or?
I quickly went through the C++ SDK and found some code like ‘focus.id’ ‘focus.count’. I don’t know if it is a good way to start since I am more used to use C++.
Thanks.15/11/2019 at 09:38 #12314Grant [Tobii]Keymaster
Hi @snowymo and thanks for your query. There are a couple of ways you can use the Tobii 4C for Interaction. Firstly, have you already tried use the Eye Control Software that now comes as standard with Windows 10 (Fall Creators Update)?
This article explains in greater detail how to get up and running with this feature @ https://help.tobii.com/hc/en-us/articles/115002768173-Get-started-with-Windows-Eye-Control
An alternate avenue is of course to develop your own application using our SDKs. As you accustomed to C++ already, then we can recommend the new Interaction Library API @ https://developer.tobii.com/consumer-eye-trackers-interaction-library/
Unfortunately, we do not right now have support for tracking use an API on a web browser. However, we have the older Core SDK which has some samples with WPF forms, which should enable you to get up and running faster.
You can download the Core SDK @ https://developer.tobii.com/consumer-eye-trackers/core-sdk/
with samples @ https://github.com/Tobii/CoreSDK
Please have a look over the information I have sent over and do let us know if we can be of any further assistance.18/11/2019 at 23:22 #12331Zhenyi HeParticipant
I tried some eye tracker demo. That is really impressive. I think it is really accurate as I expected.
Also, I downloaded c++ SDK. I successfully ran the sample code. Based on my understanding, I can get the windows coordinate system of my gaze/focus. This is exactly the information I want to retrieve.
My question is how to connect that information to my personal program? Shall I issue a mouse/keyboard event, like how the windows 10 eye control? Is there any recommended way to visualize where my gaze is?
I haven’t tried C# core SDK. Does it have different features?19/11/2019 at 09:35 #12333Grant [Tobii]Keymaster
Hi @snowymo, if you are new to the concepts of eye tracking programming, then indeed it might be worth you looking at the Core SDK samples as we demonstrate in several different contexts how to create gaze aware components, specifically for the WPF framework.. which may be what you are looking for?
Although there are no extra ‘features’ per se in the Core SDK, our samples are more explicit and should ideally help you get up and running quickly and to understand how to easily create gaze aware component within your program.
have a look at the ‘WPF’ samples which should hopefully make things clear and let us know if we assist further. Best Wishes.
- You must be logged in to reply to this topic.