Jump to content

Recording Eye-Tracking Data and API check focus

Recommended Posts


I have a HTC Vive Eye Pro and I am interested in recording eye tracking data as a way of seeing where the user's attention is focusing in the VR environment - for research purposes. So I am thinking being able to record the API check focus for example may be useful to this end. There would be different levels that the user would experience so the recording would need to be carried in such a way that displays what is being seen across the different levels of the simulated environment.

What is the best way to go about this? I have seen API check focus works for any object in the scene that has a collider on it but I could not find how this can be setup and recorded. Is there any tutorial available that explains the workflow to do it? (I am currently using UE but it would be useful to know how this would work for Unity as well).

I hope this makes sense and thanks so much for your help.

Link to comment
Share on other sites

I am not sure how to do this outside of Unity, but in Unity when you import SRanipal into your project you will see a ViveSR directory in your Assets. There is a sample scene called EyeSample (and also EyeSample_v2) that will show it in action. You can see a couple of dart boards at different distances and see how as you look around the different spots on the dart board light up because they are in focus. The example will show you how to use the GetFocus method from the API to do this.

I am sorry but I don't know the details for UE. Is anyone else familiar with that?

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...