I am trying to calculate the distance of the eyes to the eye tracker in centimeters. I am using the eye_position_in_track_box_normalized.z method, which returns me a value between 0.0 and 1.0. I was wondering how I can translate this value to actual centimeters. Is there a function for this?
If you check out the C# example MinimalEyePositionDataStream in the .NET EyeX SDK, we show how you can obtain the real distance from the eye tracker centre to the eyes in millimetres.
Bear in mind, these values should only be used for relative, not absolute positioning.