[Resolved] Unit of PupilSize
Posted: 16 Jan 2014, 11:15
If I may ask a quite technical question here,
could you tell me what the unit of PupilSize actually is?
I think the unit of PupilSize is not the same as
that of either PupilCenterCoordinates or RawCoordinates
because I tried to WriteLine the actual values
with the following code in GazeDot::OnGazeUpdate().
An example line of the output is like this.
The two pupil sizes are written in a clearly different scale from the other ones.
> 22.993221282959 22.993221282959 0.169162213802338 6.513671875 -7.025146484375
In GazeEye.cs, I found the following comments,
which probably mean the unit of pupil size is the same as that of pupil center.
On the other hand, I found another description about pupil size
in the tutorial page http://dev.theeyetribe.com/tutorial/.
This means pupil size is represented by the on-screen unit.
Do you know the actual unit of pupil size or how to calibrate it?
could you tell me what the unit of PupilSize actually is?
I think the unit of PupilSize is not the same as
that of either PupilCenterCoordinates or RawCoordinates
because I tried to WriteLine the actual values
with the following code in GazeDot::OnGazeUpdate().
- Code: Select all
System.Console.WriteLine("{0} {1} {2} {3} {4}",
gazeData.LeftEye.PupilSize, gazeData.RightEye.PupilSize,
//Pupil Distance
gazeData.RightEye.PupilCenterCoordinates.X - gazeData.LeftEye.PupilCenterCoordinates.X,
gazeData.RightEye.SmoothedCoordinates.X - gazeData.LeftEye.SmoothedCoordinates.X,
gazeData.RightEye.RawCoordinates.X - gazeData.LeftEye.RawCoordinates.X
);
An example line of the output is like this.
The two pupil sizes are written in a clearly different scale from the other ones.
> 22.993221282959 22.993221282959 0.169162213802338 6.513671875 -7.025146484375
In GazeEye.cs, I found the following comments,
which probably mean the unit of pupil size is the same as that of pupil center.
- Code: Select all
/// <summary>
/// Pupil center coordinates in normalized values
/// </summary>
[JsonProperty(PropertyName = Protocol.FRAME_PUPIL_CENTER)]
public Point2D PupilCenterCoordinates { get; set; }
/// <summary>
/// Pupil size in normalized value
/// </summary>
[JsonProperty(PropertyName = Protocol.FRAME_PUPIL_SIZE)]
public double PupilSize { get; set; }
On the other hand, I found another description about pupil size
in the tutorial page http://dev.theeyetribe.com/tutorial/.
This means pupil size is represented by the on-screen unit.
... where the OnGazeUpdate is of most interest since it contains the coordinates of
the estimated on-screen gaze position, size of the pupils, position relative to the sensor etc.
Do you know the actual unit of pupil size or how to calibrate it?