Jump to content


Verified Members
  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About neomimiz

  • Rank
  1. Hi, I have a few questions about the eye tracker output which I was not able to deduce about from the sdk or the unity c# and sample example. I would greatly appreciated your feedback regarding the following topics: Validity of the data: I am currently using this condition (SRanipal_Eye_Framework.Status == SRanipal_Eye_Framework.FrameworkStatus.WORKING) within the update loop before colleting eyes data. Later, I am using the bitmask value (verboseData.left.eye_data_validata_bit_mask) as an indication of data validity (I use only frames in which the bitmask equals 31, as des
  2. Hi, I have recently started working with unity and Sranipal. I have tried to follow the steps described in the recent posts here but still have a few questions related to the conversion between gaze direction screen and world coordinates... 1. In what way gaze direction is related to the screen coordinates in unity? is this the correct conversion to pixels? Left_E_gaze_direction_normalized = verboseData.left.gaze_direction_normalized; x_pix_resolution=1440; y_pix_resolution=1600; left_eye_x_pixels = Left_E_gaze_direction_normalized.x / x_pix_resolution; left_e
  3. Is it possible to record a video of the eyes while they are being tracked ? If so what is the best way to do it? Thanks, Neomi
  4. You are right I didn't update verbosedata with v2 ( SRanipal_Eye_v2.GetVerboseData(out verboseData); // v2) I get non zero values now. Thank you
  5. Thanks for your help. I tried the code below but still only zero values are returned. Dose the code below implements your suggestion correctly? using ViveSR.anipal.Eye; public class save_eyes_tracking_v2 : MonoBehaviour { public VerboseData verboseData; public float pupil_diameter; void Start() { } void Update() { SRanipal_Eye.GetVerboseData(out verboseData); pupil_diameter = verboseData.left.pupil_diameter_mm; } }
  6. Do you mean the sample scene of unity? -yes when I press play , the avatar eyes are moving according to my eyes, and the sranipal icon eyes are green. This is my code: using System.Collections; using System.Collections.Generic; using UnityEngine; using ViveSR.anipal.Eye; public class save_eyes_tracking_v2 : MonoBehaviour { public ViveSR.anipal.Eye.EyeData_v2 eyeData= new ViveSR.anipal.Eye.EyeData_v2(); public float pupil_diameter; void Start() { } void Update() { pupil_diameter = eyeD
  7. I have recently started working with unity, vive and the SR anipal. I followed the steps described in the anipal sdk, but for some reason all eye tracking values (pupil diameter, eye openness, eye position etc) are returned as zero. The runtime version of the SR anipal is 1.13, the eye camera version is 2.41 and unity is 2019.4 . I tested it with both version 1 and 2 of the SR anipal, and I extract the data in the following way: public ViveSR.anipal.Eye.EyeData eyeData = new ViveSR.anipal.Eye.EyeData(); and within the update function: pupil_diameter = eyeData.verbose_data.left.pupil_
  • Create New...