microsoft / MixedRealityToolkit

The MixedRealityToolkit is a collection of scripts and components intended to accelerate the development of mixed reality applications targeting Windows Mixed Reality.
MIT License
856 stars 275 forks source link

Requesting access to Extended Eye Tracking API and enabling the custom capability. #276

Closed zhimin-wang closed 1 year ago

zhimin-wang commented 2 years ago

Describe the problem

Hi! I'm currently working on a project that requires left and right eye gaze vectors for obtaining eye gaze depth. Current Eye tracking SDK of HoloLens 2 doesn't provide left and right eye gaze vectors, only offering the single (cyclopean) eye gaze direction and hit position.

Describe the solution you'd like

We found Extended Eye Tracking SDK provides TryGetLeftEyeGazeInTrackerSpace and TryGetRightEyeGazeInTrackerSpace functions for calculating left eye gaze and right eye gaze. The extended ET API is a custom capability. So I need to request access to the API, if I want to publish my uwp to the Microsoft Store. However, I just want to run my application on HoloLens 2 in developer mode. The document states running in developer mode doesn't need to custom capability. So I try to use the EyeGazeTrackerWatcher class of Extended Eye Tracking SDK in the Unity script, but the unity reports that "The type or namespace name 'EyeGazeTrackerWatcher' could not be found (are you missing a using directive or an assembly reference?)".

In brief, my questions can be three-fold as follows:

I really appreciate any help you can provide.

Describe alternatives you've considered

Additionally, for our use case, falling back to single (cyclopean) eye gaze tracking is not an option. Thank you very much.

Additional context

image

Bowen-MS commented 1 year ago

Hello, the extended eye tracking SDK was made public to all developers now and you don't need to request any custom capability. Just follow this site and sample app here to get the individual eye gaze vectors in Unity.