Jump to content

Eye expression data


Recommended Posts

Hi imarin:

 

First, you can check you SR_Runtime version by right click the system tray icon, we support eye expression since version 1.1.0.1.

Second, you can check you are initial the right eye tracking version in Unity or Unreal. (SRanipal_Eye_v2)

The origin eye tracking do not support eye expression.

 

Regards,

Jason

Link to comment
Share on other sites

Hi @VIVE_Jason_Lu,

 

Thank you very much for your reply and the guidance.

The version of my SR_Runtime is 1.1.0.1. I used SRanipal_Eye_v2 (version two) on Unity 2019.2.5f1 to try to get the data of eye expression. However, when I used SRanipal_Eye_v2, the measured values of the other parameters (i.e. pupil diameter, eye positions, etc.) as well as eye expression in VerboseData were 0. On the other hand, when I used SRanipal_Eye (original version), I could observe the proper values of these other parameters.

Could you please confirm whether SRanipal_Eye_v2 works properly?

The following are the basic scripts I use to measure the values of  VerboseData.

 

public ViveSR.anipal.Eye.EyeData_v2 eye_data = new ViveSR.anipal.Eye.EyeData_v2();

ViveSR.anipal.Eye.SRanipal_Eye_API.GetEyeData(ref eye_data);

ViveSR.anipal.Eye.SRanipal_Eye_v2.GetVerboseData(out vive.VerboseData verbose_data);

pupil_diameter_L = verbose_data.left.pupil_diameter_mm;    // read pupil diameter of left eye.

 

Thank you very much for your support.

 

Best regards,

imarin18

Link to comment
Share on other sites

Hi imarin:

 

 

According to your symptom, perhaps the problem is on your framework GameObject setting.

The SRanipalEyeFramework game object has an option to choose enable which version's framework.

I have test with the latest SDK,  the prefab's default enable version will be set to "Version1". So you can get proper value in original version eye framework.

You can checkout the "Enable Eye Version" first in the game object's inspector.

 

If it still not working, maybe you can check if our sample scene: EyeSample_v2 can works properly or not.

If the sample is not working either, please let me know. Thanks!

framework_setting.PNG.d5dce87885988df2687e1eeb51a5c3b9.PNG

Expression.PNG.0ab7105944445384217f6b42174f8262.PNG

 

Best Regards,

Jason

 

Edited by VIVE_Jason_Lu
Link to comment
Share on other sites

Dear @VIVE_Jason_Lu,

 

Thank you very much for your support and the information.

Following your guideline above, I checked "Enable Eye Data Callback" and selected Version 2. The following are what I have found from my debugging.

  • Single eye data of VerboseData is measured properly if "Enable Eye Data Callback" is checked. If it is not checked, all the measured values are 0.
  • Regarding eye expression data, it looks that "eye_wide" is measured successfully, though "eye_frown" and "eye_squeeze" data can not be obtainted. These two parameters still show 0.
  • VerboseData is sampled at the frequency of 120Hz when callback function is used. However, SRanipal_Eye_v2 does not work in the callback function since it should be used in Unity main function?
  • Combined data of VerboseData are still not measured properly as you said they were not supported at this point.

Could you please double confirm if you can get "eye_frown" and "eye_squeeze" data?

 

Best regards,

imarin

@Daniel_Y

Link to comment
Share on other sites

  • 3 months later...

@imarin18

I am unable to get the eye tracking data (pupil dia) from the Vive Pro Eye. I am using SRanipal SDK 1.1.0.1, TobiiXR SDK 1.7.0.160 and Unity 2018.3.14. I using various code segment from the community. It always show pupil dia as 0. Can you please help?

Link to comment
Share on other sites

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...