Next Article in Journal
Explainable Transformer-Based Deep Learning Model for the Detection of Malaria Parasites from Blood Cell Images
Previous Article in Journal
Development and Automation of a Bacterial Biosensor to the Targeting of the Pollutants Toxic Effects by Portable Raman Spectrometer
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

High-Accuracy 3D Gaze Estimation with Efficient Recalibration for Head-Mounted Gaze Tracking Systems

1
State Key Laboratory of Digital Manufacturing Equipment and Technology, School of Mechanical Science and Engineering, Huazhong University of Science and Technology, Wuhan 430074, China
2
National Research Center for Rehabilitation Technical Aids, Beijing 100176, China
*
Author to whom correspondence should be addressed.
Sensors 2022, 22(12), 4357; https://doi.org/10.3390/s22124357
Submission received: 18 May 2022 / Revised: 4 June 2022 / Accepted: 7 June 2022 / Published: 8 June 2022
(This article belongs to the Section Wearables)

Abstract

:
The problem of 3D gaze estimation can be viewed as inferring the visual axes from eye images. It remains a challenge especially for the head-mounted gaze tracker (HMGT) with a simple camera setup due to the complexity of the human visual system. Although the mainstream regression-based methods could establish the mapping relationship between eye image features and the gaze point to calculate the visual axes, it may lead to inadequate fitting performance and appreciable extrapolation errors. Moreover, regression-based methods suffer from a degraded user experience because of the increased burden in recalibration procedures when slippage occurs between HMGT and head. To address these issues, a high-accuracy 3D gaze estimation method along with an efficient recalibration approach is proposed with head pose tracking in this paper. The two key parameters, eyeball center and camera optical center, are estimated in head frame with geometry-based method, so that a mapping relationship between two direction features is proposed to calculate the direction of the visual axis. As the direction features are formulated with the accurately estimated parameters, the complexity of mapping relationship could be reduced and a better fitting performance can be achieved. To prevent the noticeable extrapolation errors, direction features with uniform angular intervals for fitting the mapping are retrieved over human’s field of view. Additionally, an efficient single-point recalibration method is proposed with an updated eyeball coordinate system, which reduces the burden of calibration procedures significantly. Our experiment results show that the calibration and recalibration methods could improve the gaze estimation accuracy by 35 percent (from a mean error of 2.00 degrees to 1.31 degrees) and 30 percent (from a mean error of 2.00 degrees to 1.41 degrees), respectively, compared with the state-of-the-art methods.

1. Introduction

As an effective way of revealing human intentions, gaze tracking technology has been widely applied in many areas, including marketing, ergonomics, rehabilitation robots and virtual reality [1,2]. Gaze tracking systems can be divided into remote and head-mounted gaze trackers (HMGT) [3]. The remote gaze tracker is typically placed on a fixed location such as a desktop, to capture images of the user’s eyes and face by a camera. The HMGT system is usually fixed to the user’s head, which includes the scene camera to capture the view of the scene and eye camera to observe eye movement. The feature of allowing users to move freely makes HMGT more flexible and suitable for tasks such as human–computer interaction in a real 3D environment. Therefore, HMGT has received extensive attention by many researchers in recent years.
The problem of 3D gaze estimation can be viewed as inferring visual axes from eye images captured by cameras. Typically, there are two different gaze estimation methods which are model-based and regression-based methods, respectively. The model-based methods utilize extracted features from eye images to build a geometric eye model and calculate the visual axis. Traditional model-based methods employed multiple eye cameras and infrared light sources to calculate optical axis, and then calculate the angle Kappa between the optical axis and the visual axis with single-point calibration [4,5]. The main merits are rapid calibration and robustness against system drift (the slippage of HMGT), but the complex setting of cameras and lights requirements limit its application. As the HMGT with simple camera setting can be developed more conveniently, it has a broader application prospect. Some research utilized inverse projection law to calculate the pupil pose with simple camera setting. The contour-based method in [6] designs a 3D eye model fitting method to compute a unique solution by fitting a set of eye images, but the gaze estimation accuracy is relatively low due to the corneal refraction of the pupil. The method in [7] models the corneal refraction by assuming the physiological parameters of the eyeball, but the performance is not stable because physiological parameters of the eyeball vary from person to person. In addition, it is challenging for these methods to extract the pupil’s contour accurately in the eye image due to the occlusion of eyelids and eyelashes. Therefore, it is difficult for model-based methods to get high-accuracy visual axes with a simple camera setting.
In contrast, the regression-based methods usually adopt single eye camera. The key idea of this kind of method is to establish a regression model to fit the mapping relationship between eye image features and gaze points in scene camera coordinate system [8,9]. This kind of method has two sources of error, namely parallax error and extrapolation error. The noticeable extrapolation error may occur due to the underfitting situation caused by improper regression models or calibration point sampling strategy. The parallax error is caused by the spatial displacement between the eyeball and the scene camera [10]. For instance, the corresponding eye image features of the points on visual axis are the same, but their coordinates in the scene camera coordinate system are different, which leads to one-to-many relationships.
To reduce extrapolation error, different mapping functions are investigated, in which the polynomial regression is the most common model. The method in [11] compares different polynomial functions and chooses the best performer to estimate the gaze point. However, the functions higher than two orders can not reduce extrapolation errors significantly [12]. In [1,13], the Gaussian process regression is investigated as an alternative mapping function, but the accuracy performance of the Gaussian process regression is unstable. To improve the estimation accuracy of gaze depth, some methods employ MLP neural network to estimate the depth with inputs of pupil centers or pupillary distance [14,15], but the gaze estimation models based on neural network require more training data, which causes a heavier burden of calibration procedures.
To prevent parallax error, some methods determine the depth of 3D gaze point by analyzing scene information. The method in [16] uses SLAM to extract environmental information. Then, the 3D gaze point is estimated by using the correspondence relationship between the triangles containing 2D gaze points in the scene camera image and triangles containing 3D gaze points in the real world. In [17], SFM (Structure from Motion) is utilized to estimate the 3D gaze point, with two different head positions to look at the same place. However, the performance of these methods gets worse when acquiring sparse feature points from scene image. A more common method is to calculate the visual axes of both eyes and intersect them to get 3D gaze point. The method in [18] sets calibration points on a screen with fixed depth and requires the user to keep the head still, then employs a polynomial function to fit the mapping relationship between 2D pupil center and 3D gaze point. The visual axis is determined by the fixed eyeball center and the estimated gaze point on the screen. As an improved method, the method in [19] requires two additional calibration points outside the mapping surface, then a more precise position of the eyeball center is calculated by triangulation. In [9], the calibration data are collected by staring at a fixed point while rotating head, the position of the eyeball center is set to an estimated initial value, and the loss function based on the angular error of the visual axis is employed to optimize parameters. Obviously, the above methods infer the visual axis by calculating the eyeball center and the direction of line of sight. However, the eyeball centers are usually estimated with data-fitting methods, which can be sample dependent and have limited generalization ability.
In summary, existing regression-based paradigms face three main issues. The first one is how to formulate an appropriate regression model. Most paradigms utilize the image pupil center and the gaze point as input and output features [9,19]. However, it may lead to inadequate fitting performance and appreciable extrapolation errors due to the complexity of the human visual system. The second one is how to define a proper calibration point distribution over the whole field of view. Existing paradigms sample the calibration points over a casual field of view [9,20]. However, a significant accuracy degradation would occur when the gaze direction is outside the calibration range due to the extrapolation error. The third one is the lack of an elegant recalibration strategy. The mapping relationship between input and output features would change as the HMGT slips. Without an efficient recalibration strategy, the user needs to repeat primary calibration procedures to rectify relative parameters of the gaze estimation model with a heavy burden [21,22].
To address these issues, a hybrid gaze estimation method is proposed with real-time head pose tracking in this paper. On one hand, it utilizes the human eye geometric model to analyze the parameters that influence the pose of visual axis and estimates the key parameters eyeball center and camera optical center in head frame. On the other hand, it employs a polynomial regression model to calculate the direction vector of the visual axis. The main contributions of this paper are summarized as follows:
(1)
A novel hybrid 3D gaze estimation method is proposed to achieve higher gaze estimation accuracy than the state-of-the-art methods. The two key parameters, eyeball center and camera optical center, are estimated in head frame with geometry-based method, so that a mapping relationship between two direction features is established to calculate the direction of the visual axis. As the direction features are formulated with the accurately estimated parameters, the complexity of mapping relationship is reduced and a better fitting performance can be achieved.
(2)
A calibration point sampling strategy is proposed to improve the uniformity of training set for fitting the polynomial mapping and prevent appreciable extrapolation errors. By estimating the pose of the eyeball coordinate system, the calibration points are retrieved with uniform angular intervals over human’s field of view for symbol recognition.
(3)
An efficient recalibration method is proposed to reduce the burden of recovering gaze estimation performance when slippage occurs. A rotation vector is introduced to our algorithm, and an iteration strategy is employed to find the optimal solution for the rotation vector and new regression parameters. With an updated eyeball coordinate system, only one extra recalibration point is enough for the algorithm to get comparable gaze estimation accuracy with primary calibration.
The rest of the paper is organized as follows. Section 2 describes the proposed methods in primary calibration and recalibration. Section 3 presents the experimental results. Section 4 is the discussion, and Section 5 is the conclusion.

2. Materials and Methods

2.1. Model Formulation

The key point of 3D gaze estimation is to estimate the visual axis in a scene camera coordinate system by analyzing images captured by the eye camera. To design a high-accuracy gaze estimation model to calculate the visual axis, the relationship between eye image features and visual axis is derived based on a geometric eye model [23].
As shown in Figure 1a, the optical axis passes through the eyeball center E 3 × 1 and actual pupil center P ac 3 × 1 . The visual axis is represented as the line formed by eyeball center E and gaze point P 3 × 1 . There is an angle κ between the optical axis and visual axis. Because of the corneal refractive power, the pupil captured by the eye camera is not actual pupil but virtual pupil. The 2D pupil center e x , e y can be connected with eye camera optical center P oc 3 × 1 to form one straight line passing through P vc 3 × 1 , whose direction vector is V pc . V pc can be calculated by
P 0 1 = T ec sc · K cam 1 e x e y 1 1 V pc = P 0 P oc P 0 P oc
where T ec sc is the transformation matrix between scene camera and eye camera, K cam is the intrinsic matrix of eye camera and P 0 is a point on the line formed by P oc and P vc . Then, the direction vector of visual axis, V gaze can be calculated by
P vc P oc = γ · V pc P ac 1 = T vp ap · P vc 1 V gaze = R oa va · P ac E P ac E
where T vp ap is the transformation matrix between actual pupil and virtual pupil and R oa va is the rotation matrix between the visual axis and optical axis. γ is the offset distance between eye camera optical center and virtual pupil center. Thus, the point P on the visual axis can be calculated by
P = E + λ · V gaze
where λ is a proportional coefficient. To calculate the visual axis, T ec sc , E , γ , R oa va , T vp ap need to be estimated. The flowchart of the calculation is shown as Figure 1b. For the key parameters T ec sc and E , the accurate values are estimated with proposed geometry-based method. The details are described in Section 2.2 and Section 2.3. For other parameters γ , R oa va and T vp ap that are related to corneal refraction, it is difficult to get accurate values. Because they are usually calculated with average eyeball physiological parameters which vary from person to person. By sampling calibration points, a quadratic polynomial model is employed to fit the nonlinear mapping from V pc to V gaze , which actually reflects the inherent impacts of these parameters as shown in formula (2). The details are described in Section 2.4.

2.2. Estimation of the Transformation Matrix T e c s c

The estimation method for calculating the transformation matrix between cameras and HMGT based on 6D pose trackers is shown in Figure 2. The left side is a calibration tool on which a checkerboard is fixed with a 6D pose tracker (Tracker-1). The right side is the developed HMGT. A 6D pose tracker (Tracker-0) is fixed with it to track the head pose. Noted that the transformation between different 6D pose trackers can be obtained in real time. During the calibration, we captured n images of checkerboard by the camera, saving the corresponding transformation matrix between Tracker-0 and Tracker-1 for each image frame. By utilizing the camera calibration toolbox in MATLAB, the transformation matrix T cb ec between the checkerboard and eye camera for each frame can be calculated. Then, the transformation matrix between Tracker-0 and the eye camera corresponding to the i th images can be calculated by:
T ec tra 0 i = T tra 1 tra 0 i · T tra 1 cb i 1 · T cb ec 1
The transformation matrix T ec tra 0 i can be decomposed into a translation vector t i and a rotation matrix R i . The rotation matrix R i can be converted to a quaternion q i . To calculate the average transformation, the average translation vector t ¯ is calculated by
t ¯ = 1 n i = 1 n t i
The average quaternion q ¯ is calculated by the proposed method in [24],
q ¯ = arg max q S 3 q T M q
where S 3 denotes the unit 3 sphere,
M = i = 1 n q i q i T
The average quaternion q ¯ is the eigenvector of M corresponding to the maximum eigenvalue. Then, T ec tra 0 can be calculated by combining q ¯ and t ¯ . Similarly, the transformation matrix T sc tra 0 between the scene camera and Tracker-0 can be calculated. Then, the transformation matrix T ec sc between the scene camera and eye camera can be calculated by
T ec sc = T ec tra 0 · T sc tra 0 1
As shown in Figure 2, cameras and Tracker-0 are fixed with the outer race, the inner race is fixed with the user’s head when the system is working, and the outer race can rotate relative to the inner race for suitable wearing. Therefore, the transformation between the cameras and Tracker-0 is constant, and the estimation for T ec sc is needed only once.

2.3. Estimation of the Eyeball Center E

Similar to most existing paradigms, the eyeball center E is assumed as the intersection of different visual axes. Figure 3 illustrates the estimation of the eyeball center by utilizing the developed calibration tools. The user is required to gaze at a point through a small hole with different head orientations, and the visual axis is regarded as the line formed by the gaze point and the center of the hole. Considering that the collected visual axes may be non-coplanar, the eyeball center E is calculated as the midpoint of the common perpendicular of two different visual axes. Although the eyeball center is estimated in the Tracker-0 coordinate system, it can be conveniently switched to the scene camera coordinate system with estimated T sc tra 0 in the previous section.
The error analysis of eyeball center calibration is shown in Figure 4a. There are two different visual axes collected in the Tracker-0 coordinate system. The maximum error between the collected line and the visual axis is determined by the diameter d of the hole. The two error cones formed by P 12 P 22 and P 21 P 22 intersect to form a yellow diamond-like error region on the r h plane. Assuming that R 1 represents the distance between the eyeball center and the center of the small hole, R 2 represents the distance between the eyeball center and the gaze point. Based on triangular similarity, the region width h 1 satisfies,
Δ h h 1 = P 11 P 12 E P 12 = R 2 R 1 R 2
where
Δ h = Δ d 2 cos arccos Δ d 2 ( R 2 R 1 ) π 2 θ 2
As Δ d 2 ( R 2 R 1 ) is small, arccos Δ d 2 ( R 2 R 1 ) π 2 , then
h 1 = Δ d 2 1 R 1 R 2 cos θ 2
Based on similar derivation, h 2 = h 1 ,   the region depth r 1 , r 2 satisfy
r 1 r 2 = Δ d 2 1 R 1 R 2 sin θ 2
Then, the area S of error region on the r h plane can be calculated by
S = 1 2 Δ 2 d ( 1 R 1 R 2 ) 2 sin θ 2 cos θ 2
Based on the above derivation, the strategies to improve the accuracy of eyeball center estimation can be concluded as:
(1)
Reducing Δ d , which is the inner diameter of the small hole;
(2)
Reducing R 1 R 2 , which means increasing the distance between the small hole and gaze point, and decreasing the distance between the small hole and the user (see Figure 4b);
(3)
Setting the angle between two collected visual axes, θ = 90 ° , considering the contradictory relation between region width and depth.

2.4. Regression Model Fitting

Utilizing estimated eyeball center E   sc and T ec sc in the scene camera coordinate system, the set of input feature V pc and output feature V gaze can be obtained from training set. Then, a quadratic polynomial regression function is employed to fit the mapping relationship between V pc and V gaze . Assuming   V pc = x 0 , y 0 , z 0 T ,   V gaze = x 1 , y 1 , z 1 T , then
V gaze = x 1 y 1 z 1 β x ψ V pc β y ψ V pc β z ψ V pc
where ψ V pc = x 0 2 , y 0 2 , z 0 2 , x 0 y 0 , x 0 z 0 , y 0 z 0 , x 0 , y 0 , z 0 , 1 T . β x , β y , β z are 1 × 10 matrices. Assuming β = β x ; β y ; β z , the aim is to calculate β by minimizing the average angle error between the estimated and real visual axis, which is given as
m i n β x , β y , β z 1 N i = 1 N arccos β · ψ V pc i · V gaze i β · ψ V pc i V gaze i
where N is the number of calibration points. For addressing the nonlinear optimization problem such as (15), it is paramount to initialize the parameters with reasonable values. Thus, the initial value of β is calculated by
β init = T gaze · ψ T ψ ψ T 1
where ψ is the matrix holding ψ V pc i in the whole training set and T gaze is the matrix holding V gaze i in the whole training set. In combination with the loss function given as formula (15), the value of β is iterated and optimized with the Levenberg–Marquardt method [25].

2.5. Sampling and Denoising of Calibration Points

2.5.1. Sampling Strategy of Calibration Points

To fit the regression model, some calibration points are sampled to build the training set. When the user gazes at each calibration point, the eye images and the coordinates of the gaze points are collected. They can be transformed to the pairs of input feature V pc and output feature V gaze . To prevent appreciable extrapolation errors and ensure the stable performance of HMGT, the calibration area should be determined by human’s field of view. In particular, for the horizontal field of view of a human, symbol recognition and 3D perception happen within 60 ° of the central field of view, and for the vertical field of view of human, the optimum eye rotation degrees range from 30 ° 25 ° [26]. Thus, the vector of visual axis is determined by eyeball horizontal rotation angle α , and vertical rotation angle β , where α   30 ° 30 ° , β 30 ° 25 ° . Assuming that the origin of the eyeball coordinate system is the eyeball center, the Z-axis points to the horizontally forward direction, the Y-axis points to the vertically upward direction. The vector of visual axis can be defined by
V   eb gaze   α , β = R y α R x β V 0
where V 0 is the unit direction vector of Z-axis. V 0 = 0 , 0 , 1 T , R x β and R y α denote rotation matrices around X-axis and Y-axis, respectively, and V   eb gaze   denotes the vector of visual axis in the eyeball coordinate system. Considering that the uniformity of training set has an influence on model fitting, the values of α and β should be uniformly distributed over their value range. To simplify the calibration procedures, the calibration points of both eyes are sampled together by defining the union eyeball coordinate system, as shown in Figure 5a. The midpoint of the left and right eyeball center is defined as the origin of the union eyeball coordinate system. The sampling points on calibration plane are calculated by intersecting the predefined visual axes and the plane.
Obviously, the pose of the eyeball coordinate system needs to be estimated for calibration point sampling. As shown in Figure 5b, the user is required to rotate the head in two different patterns (pitch and yaw) while looking straight ahead. When the user rotates the head, the coordinate of the eyeball center in the world coordinate system can be calculated by
E   world 1 = T tra 0 world · E   tra 0 1
where T tra 0 world is the transformation matrix between the Tracker-0 and world coordinate system which can be obtained in real time. E   tra 0 is the coordinate of eyeball center in the Tracker-0 coordinate system. Multiple values of E   world collected in pattern pitch can be used to create the horizontal rotation plane of eyeball, multiple values of E   world collected in pattern yaw can be used to create the vertical rotation plane of eyeball. In this way, the rotation matrix R eb world between the eyeball and the world coordinate system can be estimated. Additionally, the rotation matrix R eb sc between the eyeball and the scene camera coordinate system can be calculated by
R eb sc = R tra 0 world 1 · R eb world · R sc tra 0 1
where R tra 0 world is the collected rotation matrix between the Tracker-0 and world coordinate system when the user gazes straight ahead. The transformation matrix between the eyeball and scene camera coordinate system can be represented as
T eb sc = R eb sc E   sc 0 1
where E   sc is calculated in Section 2.4. The eyeball coordinate system calculated by this method is not accurate, but it is still acceptable because sampling the calibration points over the rough field of view is enough for preventing appreciable extrapolation errors. The estimated rotation matrix R eb sc for both eyes is the same, thus the union eyeball coordinate system is calculated as
T u eb sc = R eb sc E   sc u 0 1
where E   sc u = E   sc left + E   sc right 2 ,   T u eb sc represents the transformation between the union eyeball coordinate system and the scene camera coordinate system, which is employed for calibration point sampling.

2.5.2. Denoising Strategy of Calibration Points

In calibration point sampling, the 2D pupil center is extracted from eye image when the user gazes at each calibration point. However, the coordinates of the 2D pupil center may fluctuate because of the noise of the image and algorithm, especially when the pupil contour is partially obscured by the eyelid, which may lead to appreciable error of pupil center detection. In addition, the user may get distracted and not gaze calibration points, which results in the collection of outliers. Consequently, it is significant to denoise during data collection and remove outliers after data collection.
  • Denoising in Data Collection
For each calibration point, n eye image frames are sampled and processed to get the 2D pupil center, respectively. The set of pupil centers are denoted as Ω = p i , i = 1 , 2 , , n . The aggregation property of samples is used to denoise. The valid set is defined as
Ω valid = p i p i p median < r noise
where p median is the median value of the pupil centers’ coordinates in set Ω ,   r noise is the pupil centers’ noise radius, whose value is set empirically. The number of coordinates in set Ω valid is n valid . When the proportion calculated by n valid n is too small (e.g.,   n valid n < 0.5 ), collected data for this calibration point would be discarded, otherwise p median is regarded as the 2D pupil center for current calibration points.
  • Removing Outliers after Data Collection
Assuming that N calibration points are sampled, the collected data can be processed to a set = V pc i , V gaze i , where i = 1 , 2 , , N ; The set is utilized to fit the regression model described in Section 2.4, the angular error of visual axis for the k th data is calculated as
e r r k = arccos β · V pc k · V gaze k β · V pc k V gaze k
where β is the calculated regression parameters with the set . The value of e r r k would be relatively large if the k th data are an outlier, thus the k th data are regarded as an inlier when e r r k < τ , where τ is an acceptable error.

2.6. Recalibration Strategy

In practical application scenarios, the slippage between HMGT and head would inevitably occur. In this situation, the calibrated parameters in the gaze estimation model are inapplicable, and recalibration is needed for the system to recover gaze estimation performance. However, it is undoubtedly a burden for users to carry out recalibration procedures that are as complex as the primary calibration. Therefore, it is essential to design an easy and efficient recalibration method.
When the slippage occurs, the new eyeball center E   sc new and new rotation matrix R eb sc new between the eyeball and scene camera coordinate system can be estimated conveniently with the developed calibration tools as described in previous sections. In the new state, when a pair of data is collected and converted to input vector V pc new   and   output vector V gaze new , R eb sc new and R eb sc can be used to switch them from the scene camera coordinate system in the new state (after slippage) to the scene camera coordinate system in the old state (before slippage). The calculation is as follows:
V gaze old = β 0 · ψ V pc old V pc old = R eb sc · R eb sc new 1 · V pc new V gaze old = R eb sc · R eb sc new 1 · V gaze new
where β 0 is the calibrated regression parameter. However, formula (24) is not rigorous. Firstly, the estimated rotation matrix R eb sc and R eb sc new are not precise as mentioned in Section 2.5, which means the calculated V pc old and V gaze old are not accurate. Secondly, the slippage results in the change in relative position between the eye camera and eyeball, which means the V pc for the new state (after slippage) and old state (before slippage) are different, even if they are switched to the same reference coordinate system. Therefore, the calculated V pc old is different from the ground-truth V pc of the old state, and β 0 should be rectified. As a solution, a rotation vector V r is introduced to compensate for the orientation deviation, and a new regression parameter β 1 is employed. Assuming V r = r 1 , r 2 , r 3 T , the unit vector of V r , r = r 1 V r , r 2 V r , r 3 V r T , the rotation angle θ = V r , the modified formula is as follows,
V gaze old = β 1 · ψ V pc old V pc old = R error · R eb sc · R eb sc new 1 · V pc new V gaze old = R error · R eb sc · R eb sc new 1 · V gaze new R error = cos θ Ι + 1 cos θ r r T + sin θ r
where R error denotes the rotation matrix that is converted from the rotation vector V r and r denotes the antisymmetric matrix of r . β 1 denotes the new regression parameter. Based on the formula (15) and Levenberg–Marquardt iteration method [25], V r and β 1 are iterated as unknown variables to find the optimal solution. As the orientation deviation caused by R eb sc and R eb sc new is small, three components of V r can be initialized as a small value such as   0.01 , 0.01 , 0.01 T . The change in relative position between the eye camera and eyeball caused by slippage is small, so β 1 can be initialized as β 0 . Considering that V r and β 1 both have initial values which are close to the optimal solution, recalibration does not need many calibration points in different gaze directions such as primary calibration, but only one or several calibration points for parameter iteration.

3. Experiment and Results

To verify the effectiveness of our proposed method, the HMGT shown in Figure 2 is developed. This HMGT has two eye cameras (30 fps, 1280 × 720 pixels) to capture movement of eyes, two scene cameras (30 fps, 1280 × 720 pixels) to capture scene view and a 6D pose tracker (Tracker-0) to capture the head movement. Before the experiment, the intrinsic matrix parameters of eye cameras and scene cameras are calibrated by the MATLAB toolbox. The transformation matrix between eye cameras, scene cameras and Tracker-0 is estimated by the proposed method in Section 2.2. Five subjects participate in the experiment. Firstly, the subject needs to calibrate the eyeball coordinate system with the proposed method in Section 2.3 and Section 2.5. Then, the calibration points and test points for regression model fitting are sampled in union eyeball coordinate system. In order to evaluate the effects of calibration depth on gaze estimation performance and compare different methods, calibration points at three different planes distant from the eyeball center with 0.3 m, 0.4 m and 0.5 m are taken into consideration. At each depth, 42 calibration points and 30 test points are sampled with uniform angular intervals of visual axis. The positions of them are calculated by intersecting the pre-defined visual axes and the calibration plane.
As shown in Figure 6, two 6D pose trackers, Tracker-4 and Tracker-5, are fixed with the arm base and the end effector, respectively. The robot arm can move the end-effector with a marker to a predefined location in the eyeball coordinate system with real-time head pose tracking. The 2D pupil center in eye image is detected in real time by the algorithm investigated in [27]. When the subject gazes at the marker, the 2D pupil center and the position of the marker are collected in synchronization. The data collection is implemented by using programming in C++. To verify the effectiveness of recalibration method, all subjects wear the HMGT twice and repeat the entire calibration twice. The gaze estimation model is implemented by using programming in MATLAB with collected data. Data acquired in the first wearing are used to evaluate the gaze accuracy of primary calibration method, and data acquired in the second wearing are used to evaluate the gaze accuracy of the recalibration method and compare different methods. The common criterion for evaluating gaze estimation performance is the angular error between estimated visual axis and real visual axis. However, it is improper to compare the performances of different methods with the angular error of visual axis derived with the estimated eyeball center and the gaze point, considering that the estimated eyeball centers in different methods usually have different error distributions. Therefore, a more reasonable evaluation criterion, scene angular error (SAE), is defined as
S A E = arccos V s · V e V s · V e
where V s is the direction vector from the scene camera optical center to the real gaze point and V e is the direction vector from the scene camera optical center to the estimated gaze point. The estimated gaze point is the intersection of the estimated visual axes of two eyes.

3.1. Evaluation of Primary Calibration Method

The gaze estimation performance of the primary calibration method based on a training set at different depths is shown in Figure 7a. It can be found that each situation achieves better performance than other situations at corresponding calibration plane. For example, the method achieves the best gaze estimation performance at a depth of 0.3 m when Z C = 0.3   m . In addition, the mean and standard deviation of error in situation 1 ( Z C = 0.3   m ) are significantly high while there is no significant difference between situation 2 ( Z C = 0.4   m ) and situation 3 ( Z C = 0.5   m ) (paired-t test:   t s t a t = 1.56 ,   p = 0.1213 ). This may be caused by the extrapolation error. Because of the use of the union eyeball coordinate system, the field of view covered by calibration points at different depths is slightly different due to the depth-dependent parallax between the single and the union eye visual system (see Figure 7b). As the depth of calibration plane increases, the parallax becomes smaller, the difference in gaze estimation performance in different situations becomes smaller.

3.2. Evaluation of Recalibration Method

The proposed recalibration method re-estimates the transformation matrix between the eyeball and scene camera coordinate system with the proposed geometry-based method and utilizes calibration points to rectify the parameters of the gaze estimation model. To reveal the influence of the number of calibration points on gaze estimation performance in recalibration, two strategies are implemented and compared. One uses a single calibration point, and the other uses all calibration points at depth of 0.5 m. As mentioned in Section 2.5, the positions of calibration points on calibration plane are determined by eyeball horizontal rotation angle α , and vertical rotation angle β . Without loss of generality, the calibration point whose polar coordinate α , β is closest to (0,0) is selected to verify the single-point strategy. As shown in Figure 8, the mean and standard deviation of error in situation 1 (single calibration point) are slightly higher than the other two situations. The overall gaze accuracy performance of them is comparable (the paired-t test: t s t a t = 1.94 ,   p = 0.053 ).

3.3. Comparison with Other Methods

To compare our proposed method with other methods, we implemented and evaluated the following baseline methods.
  • Nonlinear optimization
The method in [9] formulated a constrained nonlinear optimization to calculate the eyeball center and the regression parameters that were used to map the eye image features to the gaze vector. The initial position of the eyeball center is assumed by 2D pupil center and scene camera intrinsic matrix. The constrained search range of the eyeball center is set as ± 0.05   m ,   0.05   m ,   0.02   m . This method needs two calibration planes, and the training set at depth of 0.3 m and 0.5 m is used for calculating.
  • Two mapping surfaces
The method based on mapping surfaces [19] mapped the eye image feature to 3D gaze point on a certain plane. This way, two calibration surfaces with different depths correspond to two different regression mapping functions. For a particular eye image, two different 3D gaze points on different planes can be calculated, then the visual axis can be obtained by connecting two points. This method also needs two calibration planes and the training set at a depth of 0.3 m and 0.5 m is used for calculation.
In comparison, our proposed primary recalibration method and recalibration method use the training set at a depth of 0.5 m. As shown in Figure 9, the proposed primary calibration method achieves the lowest mean error, followed by the proposed recalibration method. There is no significant difference between their overall gaze estimation performance (the paired-t test: t s t a t = 1.83 ,   p = 0.068 ). In addition, the mean error of the method with nonlinear optimization is slightly lower than the error of the method with two mapping surfaces. Compared to the method with nonlinear optimization, the proposed primary calibration and recalibration method improve accuracy by 35 percent (from a mean error of 2.00 degrees to 1.31 degrees) and 30 percent (from a mean error of 2.00 degrees to 1.41 degrees).
The scene angular error at each of the 90 test points for different methods is illustrated in Figure 10. The error of each test point is calculated by averaging the error of the same test point for all subjects. The primary calibration and recalibration method obtain better accuracy performance than the baseline method for the 81% of validation points. Although the accuracy performance of our proposed method at a few points is worse than the baseline method, the error at these points is relatively low (lower than 2.4 degree) which is acceptable. In terms of time cost, the baseline method cost 168 s on average while the proposed primary calibration and recalibration method cost 114 s and 32 s, respectively. Therefore, it can be concluded that the proposed methods can achieve better accuracy performance with less time cost of calibration procedures.

4. Discussion

As revealed by the comparison of different methods, the proposed gaze estimation method achieves better performance than the state-of-the-art methods. The main reason is that the eyeball and camera coordinate system are estimated accurately in advance so that they are used as known knowledge to simplify the mapping relationship in regression model. When slippage occurs, the proposed recalibration strategy can utilize the old regression parameters as initial value to optimize the new regression parameters with estimated eyeball coordinate system. That is why the recalibration can get comparable performance with primary calibration with a single calibration point. As a limitation, our proposed calibration and recalibration method both require the calibration procedure to estimate the transformation matrix between eyeball and scene camera coordinate system, but it is simple and it takes little time (30 s approximately).
To compare our proposed method with other methods which need multiple calibration depths, the robot arm is adopted in our experiments to sample calibration points at different depths. However, our proposed method has no requirement for multiple calibration depth, thus the robot arm is not necessary for practical use. For instance, the combination of display screen and trackers can be adopted to sample calibration points at a certain depth, which is more convenient. Noted that the use of the 6D pose tracker can help adjust the positions of calibration points with the movement of a human’s head. It is user friendly because there is no need to keep the head still when sampling calibration points. Benefits always come with costs. The main disadvantage of our proposed method is that the 6D pose tracker is necessary for calibration procedures. However, the head pose tracking based on the 6D pose tracker is beneficial for human–machine interaction because the estimated visual axis can be switched to the world coordinate system.

5. Conclusions

In this article, we propose a high-accuracy hybrid 3D gaze estimation model for HMGT with head pose tracking. The two key parameters, eyeball center and camera optical center, are accurately estimated in the head frame with a geometry-based method, so that a low-complexity mapping relationship between two direction features can be established with a quadratic polynomial model. The input feature is the unit direction vector from the eye camera optical center to virtual pupil center and the output feature is the unit direction vector of visual axis. The direction features for model fitting are sampled with uniform angular intervals over human’s field of view, which can help to acquire a high-quality training set and prevent appreciable extrapolation error. For the slippage between HMGT and the head, an efficient recalibration method is proposed with single calibration point after recalculating the eyeball coordinate system. The experiment results indicate that both the primary calibration method and recalibration method achieve higher gaze accuracy than state-of-the-art methods. Generally, the advantages of the proposed method are increasing the gaze estimation accuracy, improving the calibration point sampling strategy and reducing the burden of calibration procedures. The disadvantage is that the 6D pose tracker is necessary for calibration procedures. In future work, the robustness of the proposed gaze estimation model should be discussed and improved.

Author Contributions

Conceptualization, J.L. and Y.X.; Methodology, J.L., Y.X. and Q.L.; Project administration, J.L.; Software, Y.X., Q.L. and P.X.; Supervision, J.L.; Writing—original draft, Y.X.; Writing—review and editing, J.L. and N.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Key R&D Program of China 2020YFC2007800, the National Natural Science Foundation of China (52027806, 52005191) and the Hubei Provincial Natural Science Foundation 2020CFB424.

Institutional Review Board Statement

This study was approved by the ethics committee of the Tongji Medical College.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data that support the findings of this study are available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Su, D.; Li, Y.-F.; Chen, H. Toward Precise Gaze Estimation for Mobile Head-Mounted Gaze Tracking Systems. IEEE Trans. Ind. Inform. 2019, 15, 2660–2672. [Google Scholar] [CrossRef]
  2. Li, S.; Zhang, X. Implicit Intention Communication in Human–Robot Interaction Through Visual Behavior Studies. IEEE Trans. Hum.-Mach. Syst. 2017, 47, 437–448. [Google Scholar] [CrossRef]
  3. Hansen, D.W.; Ji, Q. In the eye of the beholder: A survey of models for eyes and gaze. IEEE Trans. Pattern Anal. Mach. Intell. 2010, 32, 478–500. [Google Scholar] [CrossRef] [PubMed]
  4. Santini, T.; Fuhl, W.; Kasneci, E. Calibme: Fast and unsupervised eye tracker calibration for gaze-based pervasive human-computer interaction. In Proceedings of the 2017 Chi Conference on Human Factors in Computing Systems, Denver, CO, USA, 6–11 May 2017; pp. 2594–2605. [Google Scholar]
  5. Villanueva, A.; Cabeza, R. A novel gaze estimation system with one calibration point. IEEE Trans. Syst. Man Cybern. B Cybern. 2008, 38, 1123–1138. [Google Scholar] [CrossRef] [PubMed]
  6. Swirski, L.; Dodgson, N. A fully-automatic, temporal approach to single camera, glint-free 3D eye model fitting. In Proceedings of the PETMEI, Lind, Sweden, 13–15 August 2013; pp. 1–10. [Google Scholar]
  7. Wan, Z.; Xiong, C.-H.; Chen, W.; Zhang, H.; Wu, S. Pupil-Contour-Based Gaze Estimation with Real Pupil Axes for Head-Mounted Eye Tracking. IEEE Trans. Ind. Inform. 2021, 18, 3640–3650. [Google Scholar] [CrossRef]
  8. Mansouryar, M.; Steil, J.; Sugano, Y.; Bulling, A. 3D gaze estimation from 2D pupil positions on monocular head-mounted eye trackers. In Proceedings of the Ninth Biennial ACM Symposium on Eye Tracking Research & Applications, Charleston, SC, USA, 14–17 March 2016; pp. 197–200. [Google Scholar]
  9. Su, D.; Li, Y.-F.; Chen, H. Cross-Validated Locally Polynomial Modeling for 2-D/3-D Gaze Tracking With Head-Worn Devices. IEEE Trans. Ind. Inform. 2020, 16, 510–521. [Google Scholar] [CrossRef]
  10. Mardanbegi, D.; Hansen, D.W. Parallax error in the monocular head-mounted eye trackers. In Proceedings of the 2012 ACM Conference on Ubiquitous Computing, Pittsburgh, PA, USA, 5–8 September 2012; pp. 689–694. [Google Scholar]
  11. Rattarom, S.; Aunsri, N.; Uttama, S. A framework for polynomial model with head pose in low cost gaze estimation. In Proceedings of the 2017 International Conference on Digital Arts, Media and Technology (ICDAMT), Chiang Mai, Thailand, 1–4 March 2017; pp. 24–27. [Google Scholar]
  12. Cerrolaza, J.J.; Villanueva, A.; Cabeza, R. Study of polynomial mapping functions in video-oculography eye trackers. ACM Trans. Comput.-Hum. Interact. 2012, 19, 1–25. [Google Scholar] [CrossRef]
  13. Sesma-Sanchez, L.; Zhang, Y.; Bulling, A.; Gellersen, H. Gaussian processes as an alternative to polynomial gaze estimation functions. In Proceedings of the Ninth Biennial ACM Symposium on Eye Tracking Research & Applications, Charleston, SC, USA, 14–17 March 2016; pp. 229–232. [Google Scholar]
  14. Lee, Y.; Shin, C.; Plopski, A.; Itoh, Y.; Piumsomboon, T.; Dey, A.; Lee, G.; Kim, S.; Billinghurst, M. Estimating Gaze Depth Using Multi-Layer Perceptron. In Proceedings of the 2017 International Symposium on Ubiquitous Virtual Reality (ISUVR), Nara, Japan, 27–29 June 2017; pp. 26–29. [Google Scholar]
  15. Li, S.; Zhang, X.; Webb, J.D. 3-D-Gaze-Based Robotic Grasping Through Mimicking Human Visuomotor Function for People With Motion Impairments. IEEE Trans. Biomed. Eng. 2017, 64, 2824–2835. [Google Scholar] [CrossRef] [PubMed]
  16. Takemura, K.; Takahashi, K.; Takamatsu, J.; Ogasawara, T. Estimating 3-D Point-of-Regard in a Real Environment Using a Head-Mounted Eye-Tracking System. IEEE Trans. Hum.-Mach. Syst. 2014, 44, 531–536. [Google Scholar] [CrossRef]
  17. Munn, S.M.; Pelz, J.B. 3D point-of-regard, position and head orientation from a portable monocular video-based eye tracker. In Proceedings of the 2008 Symposium on Eye Tracking Research & Applications, Savannah, GA, USA, 26–28 March 2008; pp. 181–188. [Google Scholar]
  18. Abbott, W.W.; Faisal, A.A. Ultra-low-cost 3D gaze estimation: An intuitive high information throughput compliment to direct brain-machine interfaces. J. Neural. Eng. 2012, 9, 046016. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  19. Wan, Z.; Xiong, C.; Li, Q.; Chen, W.; Wong, K.K.L.; Wu, S. Accurate Regression-Based 3D Gaze Estimation Using Multiple Mapping Surfaces. IEEE Access 2020, 8, 166460–166471. [Google Scholar] [CrossRef]
  20. Lee, K.F.; Chen, Y.L.; Yu, C.W.; Chin, K.Y.; Wu, C.H. Gaze Tracking and Point Estimation Using Low-Cost Head-Mounted Devices. Sensors 2020, 20, 1917. [Google Scholar] [CrossRef] [PubMed]
  21. Liu, M.; Li, Y.; Liu, H. Robust 3-D Gaze Estimation via Data Optimization and Saliency Aggregation for Mobile Eye-Tracking Systems. IEEE Trans. Instrum. Meas. 2021, 70, 5008010. [Google Scholar] [CrossRef]
  22. Niehorster, D.C.; Santini, T.; Hessels, R.S.; Hooge, I.T.C.; Kasneci, E.; Nystrom, M. The impact of slippage on the data quality of head-worn eye trackers. Behav. Res. Methods 2020, 52, 1140–1160. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  23. Atchison, D.A.; Smith, G.; Smith, G. Optics of the Human Eye; Butterworth-Heinemann Oxford: Oxford, UK, 2000; Volume 2. [Google Scholar]
  24. Markley, F.L.; Cheng, Y.; Crassidis, J.L.; Oshman, Y. Averaging Quaternions. J. Guid. Control. Dyn. 2007, 30, 1193–1197. [Google Scholar] [CrossRef]
  25. Marquardt, D.W. An algorithm for least-squares estimation of nonlinear parameters. J. Soc. Ind. Appl. Math. 1963, 11, 431–441. [Google Scholar] [CrossRef]
  26. Tara, A.; Lawson, G.; Renata, A. Measuring magnitude of change by high-rise buildings in visual amenity conflicts in Brisbane. Landsc. Urban Plan. 2021, 205, 103930. [Google Scholar] [CrossRef]
  27. Santini, T.; Fuhl, W.; Kasneci, E. PuRe: Robust pupil detection for real-time pervasive eye tracking. Comput. Vis. Image Underst. 2018, 170, 40–50. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Illustration of gaze estimation model. (a) Each eye image feature (2D pupil center) corresponds to a vector V pc which is used as the input feature to calculate the vector V gaze . Noted that   E is assumed as the intersection of all visual axes. (b) Flowchart of the model formulation.
Figure 1. Illustration of gaze estimation model. (a) Each eye image feature (2D pupil center) corresponds to a vector V pc which is used as the input feature to calculate the vector V gaze . Noted that   E is assumed as the intersection of all visual axes. (b) Flowchart of the model formulation.
Sensors 22 04357 g001
Figure 2. Illustration of estimation method for the cameras’ coordinate system. The left eye camera is taken for example.
Figure 2. Illustration of estimation method for the cameras’ coordinate system. The left eye camera is taken for example.
Sensors 22 04357 g002
Figure 3. Estimation of the eyeball center E with developed calibration tools. The transformation between Tracker-2 and the small hole is predefined, and the coordinate of gaze point in Tracker-3 coordinate system is predefined.
Figure 3. Estimation of the eyeball center E with developed calibration tools. The transformation between Tracker-2 and the small hole is predefined, and the coordinate of gaze point in Tracker-3 coordinate system is predefined.
Sensors 22 04357 g003
Figure 4. Error analysis of eyeball center estimation. (a) Error zone illustration. The distance between eyeball center and calibration tools are assumed as constant values. The r-axis refers to the line connecting E to the midpoint of P 12 P 22 . (b) The relationship between S and R 1 , R 2 when θ = 90 ° ,   Δ d = 10   mm . Note that the white region in the heat maps means the error is larger than 1000   mm 2 , and we do not show the detail for better observation.
Figure 4. Error analysis of eyeball center estimation. (a) Error zone illustration. The distance between eyeball center and calibration tools are assumed as constant values. The r-axis refers to the line connecting E to the midpoint of P 12 P 22 . (b) The relationship between S and R 1 , R 2 when θ = 90 ° ,   Δ d = 10   mm . Note that the white region in the heat maps means the error is larger than 1000   mm 2 , and we do not show the detail for better observation.
Sensors 22 04357 g004
Figure 5. Illustration of sampling strategy for calibration points. (a) The sampling range on calibration plane has four vertexes P 1 , P 2 , P 3 , P 4 as limits. The polar coordinate α , β of P 0 , P 1 , P 2 , P 3 , P 4 are 0 ° , 0 ° , 30 ° , 25 ° ,   30 ° , 25 ° , 30 ° , 30 ° ,   30 ° , 30 ° ,   respectively . (b) Calibration of the eyeball coordinate system. The left eye is taken as an example. The rotation pattern yaw and pitch are used to create horizontal rotation plane ( X Z plane) and vertical rotation plane ( Y Z plane).
Figure 5. Illustration of sampling strategy for calibration points. (a) The sampling range on calibration plane has four vertexes P 1 , P 2 , P 3 , P 4 as limits. The polar coordinate α , β of P 0 , P 1 , P 2 , P 3 , P 4 are 0 ° , 0 ° , 30 ° , 25 ° ,   30 ° , 25 ° , 30 ° , 30 ° ,   30 ° , 30 ° ,   respectively . (b) Calibration of the eyeball coordinate system. The left eye is taken as an example. The rotation pattern yaw and pitch are used to create horizontal rotation plane ( X Z plane) and vertical rotation plane ( Y Z plane).
Sensors 22 04357 g005
Figure 6. Calibration setup utilizing a UR robot arm and 6D pose trackers.
Figure 6. Calibration setup utilizing a UR robot arm and 6D pose trackers.
Sensors 22 04357 g006
Figure 7. Gaze estimation performance of the primary calibration method. (a) Gaze estimation performance based on training set at different depths.   Z c denotes the depth of the calibration plane. The bold black numbers at the bottom are the angular error in degrees (mean ± standard deviation). (b) The parallax between the single (left) and union eye visual system. As the depth of calibration plane increases, the parallax becomes smaller (e.g., θ 1 > θ 2 , θ 3 > θ 4 ).
Figure 7. Gaze estimation performance of the primary calibration method. (a) Gaze estimation performance based on training set at different depths.   Z c denotes the depth of the calibration plane. The bold black numbers at the bottom are the angular error in degrees (mean ± standard deviation). (b) The parallax between the single (left) and union eye visual system. As the depth of calibration plane increases, the parallax becomes smaller (e.g., θ 1 > θ 2 , θ 3 > θ 4 ).
Sensors 22 04357 g007
Figure 8. Comparison of primary calibration method and recalibration method with different number of calibration points. The bold numbers at the bottom are the angular error in degrees (mean ± standard deviation).
Figure 8. Comparison of primary calibration method and recalibration method with different number of calibration points. The bold numbers at the bottom are the angular error in degrees (mean ± standard deviation).
Sensors 22 04357 g008
Figure 9. Comparison of the proposed method and state-of-the-art methods at different depths. The bold numbers at the bottom are the angular error in degrees (mean ± standard deviation).
Figure 9. Comparison of the proposed method and state-of-the-art methods at different depths. The bold numbers at the bottom are the angular error in degrees (mean ± standard deviation).
Sensors 22 04357 g009
Figure 10. The scene angular error at each of the 90 test points for different methods. Noted that the error of each test point is calculated by averaging the error of the same test point for all subjects. The coordinates of these test points are represented in union eyeball coordinate system. (a) Nonlinear optimization. (b) Primary calibration method. (c) Recalibration method.
Figure 10. The scene angular error at each of the 90 test points for different methods. Noted that the error of each test point is calculated by averaging the error of the same test point for all subjects. The coordinates of these test points are represented in union eyeball coordinate system. (a) Nonlinear optimization. (b) Primary calibration method. (c) Recalibration method.
Sensors 22 04357 g010
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Xia, Y.; Liang, J.; Li, Q.; Xin, P.; Zhang, N. High-Accuracy 3D Gaze Estimation with Efficient Recalibration for Head-Mounted Gaze Tracking Systems. Sensors 2022, 22, 4357. https://doi.org/10.3390/s22124357

AMA Style

Xia Y, Liang J, Li Q, Xin P, Zhang N. High-Accuracy 3D Gaze Estimation with Efficient Recalibration for Head-Mounted Gaze Tracking Systems. Sensors. 2022; 22(12):4357. https://doi.org/10.3390/s22124357

Chicago/Turabian Style

Xia, Yang, Jiejunyi Liang, Quanlin Li, Peiyang Xin, and Ning Zhang. 2022. "High-Accuracy 3D Gaze Estimation with Efficient Recalibration for Head-Mounted Gaze Tracking Systems" Sensors 22, no. 12: 4357. https://doi.org/10.3390/s22124357

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop