Line of sight estimation method, head-mounted display device, and computer-readable storage medium

By introducing constraints based on the physiological structural features of the human eye into head-mounted display devices, the problem of gaze estimation accuracy under single-source and single-camera conditions is solved, achieving high-precision and low-power gaze estimation, which is suitable for the miniaturization design of head-mounted display devices.

CN123161284APending Publication Date: 2026-11-24XIAN GOERTEK VISUAL DISPLAY TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611184022.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-05
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing head-mounted display devices, multi-source, multi-camera systems are complex in structure, large in size, and consume a lot of power. Furthermore, the accuracy and stability of gaze estimation are affected by hardware synchronization deviations. Under single-source, single-camera conditions, gaze estimation errors are large, making it difficult to meet the requirements of high-precision interaction and rendering.

Method used

By introducing physiological structural features of the human eye, such as the consistency of the eye rotation centers in the depth direction and the matching of the distance between the eye rotation centers and the distance between the pupil centers, as additional constraints, a gaze estimation method under monocular single light source is constructed. The optimal combination of eye rotation center positions is selected, and high-precision gaze information is determined by combining parameters such as the Kappa angle.

Benefits of technology

While reducing hardware configuration requirements, it achieves gaze estimation accuracy and robustness similar to multi-light source systems, while taking into account device miniaturization and low power consumption, thus meeting the needs of high-precision gaze interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123161284A_ABST
    Figure CN123161284A_ABST
Patent Text Reader

Abstract

This application discloses a gaze estimation method, a head-mounted display device, and a computer-readable storage medium, relating to the field of head-mounted display device technology. This application incorporates physiological structural characteristics of the human eye, particularly the consistency of the eye rotation centers in the depth direction and the matching of the eye rotation center distance with the pupil center distance, as constraints into gaze estimation using a pupil center-corneal reflection algorithm under monocular single-light source conditions. This achieves accurate gaze estimation even when only a single light source illuminates each eye and only the pixel position of a single corneal reflection point is extracted from each eye.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of head-mounted display technology, and more particularly to a gaze estimation method, a head-mounted display device, and a computer-readable storage medium. Background Technology

[0002] Eye gaze estimation (also known as gaze tracking or eye movement tracking) is a key technology in head-mounted displays, widely used in virtual reality (VR), augmented reality (AR), mixed reality (MR), and extended reality (XR). In head-mounted displays, accurately capturing the user's gaze direction enables crucial functions such as foveated interaction, foveated rendering, user attention analysis, and adaptive optics adjustment, playing a vital role in improving the naturalness of interaction, reducing rendering power consumption, and enhancing the user experience. Therefore, achieving high-precision, low-latency, and stable and reliable eye gaze estimation within the limited space and hardware constraints of head-mounted displays has always been a key focus of the industry.

[0003] Currently, gaze estimation methods based on the Pupil Center Corneal Reflection (PCCR) algorithm have become the mainstream solution for head-mounted display devices due to their non-invasiveness and high accuracy. These methods typically use near-infrared light sources to illuminate the eye, forming a corneal reflection spot (Pulchin spot, also known as a corneal reflection point) on the anterior surface of the cornea. An eye image is captured by a camera, and the pixel positions corresponding to the pupil center and the corneal reflection spot are extracted from the image. Then, an eye geometry model is used to determine the gaze direction. To obtain sufficient spatial constraints to accurately solve for the three-dimensional position of the corneal curvature center (also known as the corneal center), and thus ensure high gaze estimation accuracy, most existing solutions require multiple light sources (such as two or more infrared light sources) to generate multiple corneal reflection points in a single eye, and some even require combining multiple cameras for multi-view measurements. However, this multi-source, multi-camera system faces several shortcomings in head-mounted display devices: Firstly, the system structure is complex, increasing size, weight, and power consumption, posing significant challenges to device integration, miniaturization, and wearing comfort. Furthermore, the precise layout and assembly of multiple sources and cameras within a compact frame requires advanced technology and is costly. Secondly, in applications relying on multiple sources and cameras operating simultaneously or in a specific sequence, the system must ensure precise timing synchronization between each source and camera. Even minor deviations in driving timing can lead to positioning errors in corneal reflection spots, thus affecting the accuracy and stability of gaze estimation. If simplified to a single-source, single-phase structure to reduce hardware complexity and space requirements, traditional algorithms often lack sufficient constraints to accurately determine the corneal curvature center, typically only providing a rough estimate. This results in significantly increased gaze estimation errors, making it difficult to meet the demands of high-precision interactive and rendering applications.

[0004] Therefore, how to effectively reduce the dependence of gaze estimation on hardware configuration, especially how to achieve accurate gaze estimation while using only a single light source and a single camera for each eye, has become a technical problem that urgently needs to be solved in this field. Summary of the Invention

[0005] The main objective of this application is to provide a gaze estimation method, a head-mounted display device, and a computer-readable storage medium, aiming to solve the technical problem of how to achieve accurate gaze estimation while effectively reducing the dependence of gaze estimation on hardware configuration.

[0006] To achieve the above objectives, this application proposes a gaze estimation method, which is applied to a head-mounted display device, the head-mounted display device including a target light source, and the method includes: When the target light source illuminates the wearer's target eye, an image of the target eye is captured, wherein the target eye is the left eye or the right eye; Based on the first pixel position of a target corneal reflection point and the second pixel position of the pupil center in the eye image, multiple candidate corneal center positions of the target eye and multiple candidate pupil center positions corresponding to each of the candidate corneal center positions are determined. Based on each candidate corneal center position and its corresponding candidate pupil center position, multiple candidate eye rotation center positions corresponding to each of the candidate corneal center positions are determined. The target corneal reflection point is the corneal reflection point corresponding to the target light source on the anterior surface of the cornea of ​​the target eye. From multiple candidate eye-turn center positions corresponding to the left and right eyes respectively, the left and right eye-turn center positions that minimize the function value of the preset objective function are selected. Based on the left and right eye-turn center positions, the binocular gaze information of the wearer is determined. The smaller the positional deviation of the left and right eye-turn center positions in the depth direction, the smaller the function value. The smaller the deviation between the distance between the pupil centers and the distance between the eye-turn centers, the smaller the function value. The distance between the eye-turn centers is the distance between the left and right eye-turn center positions.

[0007] In one embodiment, the step of determining multiple candidate corneal center positions of the target eye and multiple candidate pupil center positions corresponding one-to-one with each of the candidate corneal center positions, based on the first pixel position of a target corneal reflection point and the second pixel position of the pupil center in the eye image, includes: Based on the first pixel position, the preset reflection point position constraints, and the preset corneal radius, multiple candidate corneal center positions of the target eye are determined. Based on the second pixel position, the corneal radius, the preset distance between the corneal center and the pupil center, and the positions of each candidate corneal center, a plurality of candidate pupil center positions are determined that correspond one-to-one with each candidate corneal center position.

[0008] In one embodiment, the step of determining multiple candidate corneal center positions of the target eye based on the first pixel position, preset reflection point position constraints, and preset corneal radius includes: Based on the first pixel position, the preset reflection point position constraints, and the pre-calibrated camera parameters, multiple candidate reflection point positions of the target corneal reflection point are obtained, wherein the camera parameters include the optical center position of the camera optical center; Based on the corneal radius, the optical center position of the camera, the light source position of the target light source, and the positions of each candidate reflection point, multiple candidate corneal center positions of the target eye are obtained, wherein each candidate corneal center position corresponds one-to-one with the candidate reflection point position.

[0009] In one embodiment, the step of obtaining multiple candidate reflection point positions of the target corneal reflection point based on the first pixel position, preset reflection point position constraints, and pre-calibrated camera parameters includes: Based on the first pixel position and the pre-calibrated camera parameters, a first direction is determined in which the optical center of the camera points to the target corneal reflection point; Based on the optical center position of the camera, the first direction, and the preset reflection point position constraints, multiple candidate reflection point positions of the target corneal reflection point are obtained.

[0010] In one embodiment, the step of determining multiple candidate pupil center positions corresponding one-to-one with each of the candidate corneal center positions based on the second pixel position, the corneal radius, a preset distance between the corneal center and the pupil center, and each of the candidate corneal center positions includes: Based on the second pixel position, the pre-calibrated camera parameters, the corneal radius, and the center positions of each candidate cornea, multiple candidate refractive point positions of the target corneal refractive point are obtained. The camera parameters include the optical center position of the camera, the target corneal refractive point is the corneal refractive point corresponding to the center of the pupil of the target eye on the anterior surface of the cornea, and the center positions of the candidate corneas correspond one-to-one with the positions of the candidate refractive points. Based on the optical center position of the camera, the preset air refractive index, the preset intraocular medium refractive index, the preset distance between the corneal center and the pupil center, and the positions of each candidate corneal center and its corresponding candidate refractive point, multiple candidate pupil center positions corresponding one-to-one with each candidate corneal center position are obtained.

[0011] In one embodiment, the step of obtaining multiple candidate refractive point positions of the target corneal refractive point based on the second pixel position, pre-calibrated camera parameters, the corneal radius, and the center positions of each candidate cornea includes: Based on the second pixel position and the pre-calibrated camera parameters, a second direction is determined in which the optical center of the camera points to the refractive point of the target cornea; Based on the optical center position of the camera, the second direction, the corneal radius, and the center positions of each candidate cornea, multiple candidate refractive point positions of the target corneal refractive point are obtained.

[0012] In one embodiment, the step of determining a plurality of candidate eye rotation center positions corresponding one-to-one with each of the candidate corneal center positions and their corresponding candidate pupil center positions includes: Based on the candidate corneal center positions and their corresponding candidate pupil center positions, multiple candidate directions of a third direction are determined, wherein the third direction is the direction from the pupil center of the target eye to the corneal center of the target eye, and the candidate corneal center positions correspond one-to-one with the candidate directions; Based on the preset distance between the corneal center and the eye rotation center, the position of each candidate corneal center and its corresponding candidate direction, multiple candidate eye rotation center positions are obtained that correspond one-to-one with each candidate corneal center position.

[0013] In one embodiment, the step of determining the wearer's binocular gaze information based on the center positions of the left and right eye rotations includes: The candidate corneal center position corresponding to the center position of the left eye rotation is determined as the center position of the wearer's left eye cornea, and the candidate corneal center position corresponding to the center position of the right eye rotation is determined as the center position of the wearer's right eye cornea. The candidate pupil center position corresponding to the left eye rotation center position is determined as the left eye pupil center position of the wearer, and the candidate pupil center position corresponding to the right eye rotation center position is determined as the right eye pupil center position of the wearer.

[0014] Based on the center position of the left cornea, the center position of the right cornea, the center position of the left pupil, the center position of the right pupil, and the wearer's Capa angle, the wearer's binocular gaze information is determined.

[0015] In addition, to achieve the above objectives, this application also proposes a head-mounted display device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the gaze estimation method as described above.

[0016] In one embodiment, the head-mounted display device includes a target light source, the target light source comprising: A first light source is positioned on the left eye side to illuminate the wearer's left eye, so that in the captured image of the left eye, there is one and only one corneal reflection point corresponding to the first light source on the anterior surface of the cornea of ​​the left eye. A second light source is positioned on the right eye side to illuminate the wearer's right eye, so that in the captured image of the right eye, there is one and only one corneal reflection point corresponding to the second light source on the anterior surface of the cornea of ​​the right eye.

[0017] In one embodiment, the head-mounted display device further includes: A first camera is provided corresponding to the first light source, and the first camera is used to capture an image of the left eye; A second camera is provided corresponding to the second light source, and the second camera is used to capture an image of the right eye.

[0018] In addition, to achieve the above objectives, this application also proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the line-of-sight estimation method described above.

[0019] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the gaze estimation method described above.

[0020] This application provides a gaze estimation method, a head-mounted display device, and a computer-readable storage medium, relating to the field of head-mounted display device technology. The gaze estimation method is applied to a head-mounted display device, which includes a target light source. The method includes: capturing an eye image of the target eye when the target light source illuminates the target eye of a wearer, wherein the target eye is either the left or right eye; determining multiple candidate corneal center positions and multiple candidate pupil center positions corresponding one-to-one with each candidate corneal center position based on a first pixel position of a target corneal reflection point and a second pixel position of the pupil center in the eye image; and determining the relationship between each candidate corneal center position and its corresponding candidate pupil center position. Multiple candidate eye-turn center positions are assigned one-to-one, where the target corneal reflection point is the corneal reflection point corresponding to the target light source on the anterior surface of the cornea of ​​the target eye. From the multiple candidate eye-turn center positions corresponding to the left and right eyes respectively, the left and right eye-turn center positions that minimize the function value of the preset objective function are selected. Based on the left and right eye-turn center positions, the wearer's binocular gaze information is determined. The smaller the positional deviation of the left and right eye-turn center positions in the depth direction, the smaller the function value. The smaller the deviation between the wearer's pupil center distance and the eye-turn center distance, the smaller the function value. The eye-turn center distance is the distance between the left and right eye-turn center positions.

[0021] This application's embodiments introduce the physiological structural characteristics of the human eye, particularly the consistency of the eye rotation centers of the left and right eyes in the depth direction and the matching of the eye rotation center distance with the pupil center distance, as additional independent constraints into the solution framework for visual estimation using the pupil center-corneal reflection algorithm under monocular single-light source conditions. Thus, under the premise that a single eye is illuminated by only a single light source and only the pixel position of a single corneal reflection point is extracted from a single eye, the problem of solving the corneal center position and pupil center position, which was originally underdetermined due to insufficient equations, is transformed into a solvable or even overdetermined optimization problem.

[0022] Specifically, this application's embodiments generate multiple candidate corneal center positions and their corresponding candidate pupil center positions and candidate eye rotation center positions for the left and right eyes through enumeration or optimization. Then, a preset objective function is constructed using a binocular pairing method to simultaneously penalize the difference in depth coordinates of the eye rotation centers of the left and right eyes, as well as the deviation between the distance between the eye rotation centers and the distance between the pupil centers. This allows for the selection of the globally optimal combination of the left and right eye rotation center positions from all candidates, thereby inversely determining the unique corneal center position, pupil center position, and optical axis direction. Finally, by combining personalized parameters such as the Kappa angle, high-precision binocular gaze information can be obtained. This technical concept fundamentally breaks through the traditional multi-light source solution's reliance on hardware redundancy to provide geometric constraints. Instead, it compensates for the loss of light source information with biometric constraints. While significantly reducing the requirements of head-mounted display devices on the number of light sources, system power consumption, hardware space, and timing synchronization, it still achieves gaze estimation accuracy and robustness similar to multi-light source systems, taking into account the practical needs of device miniaturization, low power consumption, and high-precision gaze estimation. Attached Figure Description

[0023] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0024] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a flowchart illustrating the first embodiment of the line-of-sight estimation method of this application; Figure 2 This is a schematic diagram of the process for determining the center position of a candidate pupil in the line of sight estimation method of this application; Figure 3 This is a flowchart illustrating the process of determining the candidate eye movement center position in the gaze estimation method of this application. Figure 4A schematic diagram of the scene for estimating the line of sight in this application; Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the line-of-sight estimation method in the embodiments of this application.

[0026] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0027] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0028] Currently, gaze estimation in head-mounted displays primarily relies on pupil-corneal reflection algorithms. These algorithms typically employ target light sources or a configuration of target light sources, using multiple infrared target light sources to form distinguishable reflected light spots on the corneal surface. Combined with the pupil center position, a geometric optical model is constructed to determine the gaze direction. While this method is technically mature and highly accurate, it depends on the simultaneous operation and precise timing synchronization of the target light sources, resulting in high system complexity. Furthermore, multiple target light sources significantly increase the device's power consumption and hardware layout space, hindering the development of thinner and smaller head-mounted displays. In addition, minute driving deviations or installation errors between target light sources can easily lead to inaccurate spot positioning, thus affecting the robustness and accuracy of gaze estimation and limiting its widespread application in low-power, highly integrated near-eye display devices.

[0029] To address this, the solution provided in this application is a gaze estimation method applied to a head-mounted display device, comprising: capturing an eye image of the target eye when a target light source illuminates the target eye of the wearer, wherein the target eye is either the left or right eye; determining multiple candidate corneal center positions and multiple candidate pupil center positions corresponding one-to-one with each candidate corneal center position based on the first pixel position of a target corneal reflection point and the second pixel position of the pupil center in the eye image; and determining multiple candidate eye rotation center positions corresponding one-to-one with each candidate corneal center position based on each candidate corneal center position and its corresponding candidate pupil center position, wherein the target eye... The corneal reflection point is the corneal reflection point corresponding to the target light source on the anterior surface of the cornea of ​​the target eye. From multiple candidate eye rotation center positions corresponding to the left and right eyes respectively, the left and right eye rotation center positions that minimize the function value of the preset objective function are selected. Based on the left and right eye rotation center positions, the wearer's binocular gaze information is determined. The smaller the positional deviation of the left and right eye rotation center positions in the depth direction, the smaller the function value. The smaller the deviation between the wearer's pupil center distance and the eye rotation center distance, the smaller the function value. The eye rotation center distance is the distance between the left and right eye rotation center positions.

[0030] This application's embodiments introduce the physiological structural characteristics of the human eye, particularly the consistency of the eye rotation centers of the left and right eyes in the depth direction and the matching of the eye rotation center distance with the pupil center distance, as additional independent constraints into the solution framework for visual estimation using the pupil center-corneal reflection algorithm under monocular single-light source conditions. Thus, under the premise that a single eye is illuminated by only a single light source and only the pixel position of a single corneal reflection point is extracted from a single eye, the problem of solving the corneal center position and pupil center position, which was originally underdetermined due to insufficient equations, is transformed into a solvable or even overdetermined optimization problem.

[0031] Specifically, this application's embodiments generate multiple candidate corneal center positions and their corresponding candidate pupil center positions and candidate eye rotation center positions for the left and right eyes through enumeration or optimization. Then, a preset objective function is constructed using a binocular pairing method to simultaneously penalize the difference in depth coordinates of the eye rotation centers of the left and right eyes, as well as the deviation between the distance between the eye rotation centers and the distance between the pupil centers. This allows for the selection of the globally optimal combination of the left and right eye rotation center positions from all candidates, thereby inversely determining the unique corneal center position, pupil center position, and optical axis direction. Finally, by combining personalized parameters such as the Kappa angle, high-precision binocular gaze information can be obtained. This technical concept fundamentally breaks through the traditional multi-light source solution's reliance on hardware redundancy to provide geometric constraints. Instead, it compensates for the loss of light source information with biometric constraints. While significantly reducing the requirements of head-mounted display devices on the number of light sources, system power consumption, hardware space, and timing synchronization, it still achieves gaze estimation accuracy and robustness similar to multi-light source systems, taking into account the practical needs of device miniaturization, low power consumption, and high-precision gaze estimation.

[0032] The head-mounted display device in this application embodiment may include, but is not limited to, mixed reality (MR) devices (e.g., MR glasses or MR helmets), augmented reality (AR) devices (e.g., AR glasses or AR helmets), virtual reality (VR) devices (e.g., VR glasses or VR helmets), extended reality (XR) devices (e.g., XR glasses or XR helmets), or some combination thereof. In this embodiment, for ease of description, the head-mounted display device will be used as the execution subject in the following description.

[0033] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0034] To facilitate understanding of the technical solution of this application, some terms involved in this application are defined below: The pupil center refers to the geometric center of the pupil plane (i.e., the iris plane).

[0035] The eye rotation center refers to the center of rotation of the eyeball, that is, the approximate center of rotation around which the eyeball rotates.

[0036] The corneal center refers to the center of curvature of the anterior surface of the cornea, that is, the center of the sphere corresponding to the anterior surface of the cornea when the anterior surface of the cornea is approximately spherical.

[0037] The corneal radius refers to the radius of curvature of the anterior surface of the cornea, that is, the radius of the sphere when the anterior surface of the cornea is approximated as a sphere.

[0038] Pupil center distance refers to the straight-line distance between the centers of the pupils of both eyes.

[0039] The distance between the centers of eye rotation refers to the straight-line distance between the centers of eye rotation of both eyes.

[0040] The distance between the center of the cornea and the center of the pupil is the straight-line distance between the center of the cornea and the center of the pupil.

[0041] The distance between the corneal center and the center of eye rotation refers to the straight-line distance between the corneal center and the center of eye rotation.

[0042] The pupil center-corneal reflection algorithm is an algorithm that calculates the positions of the corneal center and pupil center in three-dimensional space based on the pixel positions of the pupil center and corneal reflection point in a two-dimensional image to determine the optical axis direction, and then combines the Kappa angle to convert the optical axis direction into the visual axis direction, thereby determining the user's binocular gaze information.

[0043] Based on the relative positional relationship between the pupil center and the corneal reflection point, and combined with the eye's geometric model, an algorithm is used to calculate the eye's three-dimensional spatial pose and the coordinates of the gaze point.

[0044] A corneal reflector is a point on the anterior surface of the cornea where light is reflected when it shines on the cornea.

[0045] The corneal refraction point is the point on the anterior surface of the cornea where light refracts as it passes through.

[0046] The air refractive index refers to the refractive index of light as it travels through the air medium.

[0047] The refractive index of the intraocular medium refers to the equivalent refractive index of light as it propagates through the aqueous humor and cornea.

[0048] The optical axis is the straight line connecting the center of the cornea and the center of the pupil, representing the axis of symmetry of the eye's optical system. In this application, the center of eye rotation can be approximated as being located on this optical axis.

[0049] The visual axis is the straight line connecting the fixation point and the fovea centralis, representing the actual visual direction.

[0050] The Kappa angle is the angle between the optical axis and the visual axis.

[0051] like Figure 1 As shown, this application proposes a line-of-sight estimation method according to an embodiment.

[0052] In this embodiment, the gaze estimation method is applied to a head-mounted display device, which includes a target light source. The gaze estimation method includes steps S100-S300: Step S100: When the target light source illuminates the wearer's target eye, an image of the target eye is captured, wherein the target eye is the left eye or the right eye; It should be noted that a target light source refers to a light-emitting device that can emit a light beam of a specific wavelength (usually in the near-infrared band) toward the wearer's target eye. Its function is to form a high-contrast, easily identifiable reflected light spot on the surface of the human cornea.

[0053] In this embodiment, the target light source is generally an infrared light-emitting diode or a vertical-cavity surface-emitting laser, because it has good visibility in low-light environments and does not interfere with the human eye. The target light source can be integrated into the frame or nose pad area of ​​the head-mounted display device, and positioned close to the eye area to ensure that light can effectively enter the cornea.

[0054] It should also be noted that, in this embodiment, the head-mounted display device also integrates a camera for acquiring eye images, and when the target light source is an infrared light source, the camera should have the characteristic of being sensitive to infrared light in order to clearly capture the corneal reflection point and pupil outline generated by the infrared light source.

[0055] In this embodiment, for a head-mounted display device that is structurally unobstructed and whose field of view can be completely covered by both eyes, a single-camera single-light source solution can be adopted. That is, only one camera with a field of view sufficient to cover the area of ​​both eyes is set up (to acquire eye images of both eyes at the same time), and a global illumination light source is used (to illuminate the wearer's left and right eyes at the same time).

[0056] For head-mounted displays with structural obstructions that prevent complete coverage of the left and right eye fields of view (e.g., those employing independent binocular channels similar to binoculars, or optical systems with mechanical physical separation between the left and right eyes), a single camera cannot simultaneously capture images of both eyes due to the independent and physically obstructed fields of view. Similarly, a single light source cannot simultaneously illuminate both eyes. To address this, a separate light source and camera can be configured on each side of the head-mounted display, one for each eye. In this "single-eye, single-light-source, single-camera" configuration, when the target eye is the left eye, the single light source configured for the left eye becomes the target light source, and the single camera configured for the left eye captures the image of the left eye. Likewise, when the target eye is the right eye, the single light source configured for the right eye becomes the target light source, and the single camera configured for the right eye captures the image of the right eye.

[0057] In this embodiment, when the target light source illuminates the wearer's target eye, due to the smooth spherical curvature and high refractive index of the cornea, the incident light undergoes specular reflection on the anterior surface of the cornea, forming a bright highlight area (also called a spot), the center of which is the target corneal reflection point. This target corneal reflection point is located on the anterior surface of the cornea, and its spatial position is one of the key visual features for gaze estimation. At this time, the system controls the camera to simultaneously capture an eye image containing the target corneal reflection point and the pupil outline of the target eye, so that the first pixel coordinates of the target corneal reflection point and the second pixel coordinates of the pupil center of the target eye can be extracted subsequently using image processing algorithms.

[0058] Step S200: Based on the first pixel position of a target corneal reflection point and the second pixel position of the pupil center in the eye image, determine multiple candidate corneal center positions of the target eye and multiple candidate pupil center positions corresponding to each candidate corneal center position. Based on each candidate corneal center position and its corresponding candidate pupil center position, determine multiple candidate eye rotation center positions corresponding to each candidate corneal center position. The target corneal reflection point is the corneal reflection point corresponding to the target light source on the anterior surface of the cornea of ​​the target eye. It should be noted that, in this embodiment, the corneal center position refers to the spatial position of the corneal center, and the candidate corneal center position refers to the candidate spatial position of the corneal center. The pupil center position refers to the spatial position of the pupil center, and the candidate pupil center position refers to the candidate spatial position of the pupil center. The eye rotation center position refers to the spatial position of the eye rotation center, and the candidate eye rotation center position refers to the candidate spatial position of the eye rotation center.

[0059] In this embodiment, as Figure 2 As shown, the step S200 above, which determines multiple candidate corneal center positions of the target eye and multiple candidate pupil center positions corresponding one-to-one with each candidate corneal center position, based on the first pixel position of a target corneal reflection point and the second pixel position of the pupil center in the eye image, may include steps S210~S220: Step S210: Based on the first pixel position, the preset reflection point position constraints, and the preset corneal radius, determine multiple candidate corneal center positions of the target eye. It should be noted that, in this embodiment, the reflection point position constraint refers to a set of prior range restrictions used to constrain the spatial position of the target corneal reflection point. Due to limitations imposed by objective factors such as the anatomical structure of the human eye, the installation positions of the camera and target light source in the head-mounted display device, and the fixed illumination direction of the target light source, in practical applications, the target corneal reflection point must necessarily be located within a certain finite spatial range, or in other words, the distance from the target corneal reflection point to the optical center of the camera must be within a certain finite distance interval. Through extensive experiments and tests, this finite spatial range or distance interval can be clearly defined as the constraint condition that the reflection point position of the target corneal reflection point must satisfy (i.e., the reflection point position constraint condition), thereby ensuring that the reflection point position of the target corneal reflection point conforms to real physical laws during the line-of-sight estimation process.

[0060] In this embodiment, step S210 may include steps S211-S212: Step S211: Based on the first pixel position, the pre-calibrated camera parameters, and the preset reflection point position constraints, obtain multiple candidate reflection point positions for the target corneal reflection point, wherein the camera parameters include the optical center position of the camera optical center. It should be noted that in this embodiment, the camera parameters include two parts: intrinsic parameters and extrinsic parameters. Intrinsic parameters refer to the camera's own optical characteristics, such as focal length, principal point coordinates, and distortion coefficients. Extrinsic parameters refer to the camera's position and orientation (rotation matrix and translation vector) in a reference coordinate system (usually the device coordinate system of the head-mounted display device). The camera parameters can be pre-calibrated using a calibration board or structured cursor calibration method to accurately map the pixel positions on the image plane to their spatial positions in the reference coordinate system.

[0061] In this embodiment, the connection between the camera optical center and the target corneal reflection point can be determined by combining the first pixel position with the camera parameters. Then, by combining the reflection point position constraint condition, it can be further determined that the target corneal reflection point is located within a certain finite line segment of the connection. Then, multiple points are selected from the finite line segment as candidate reflection point coordinates of the target corneal reflection point.

[0062] In one feasible implementation, step S211 above may include steps A10 to A20: Step A10: Based on the position of the first pixel and the pre-calibrated camera parameters, determine the first direction in which the camera optical center points to the target corneal reflection point; Step A20: Based on the optical center position of the camera, the first direction, and the preset reflection point position constraints, obtain multiple candidate reflection point positions for the target corneal reflection point.

[0063] In this embodiment, the system determines which interval of the ray the target corneal reflection point should be located on based on the reflection point position constraint condition, according to the ray determined by the optical center position and the first direction. Then, it performs uniform discrete sampling within the interval with a preset step size to obtain a set of candidate reflection point positions.

[0064] Step S212: Based on the corneal radius, the optical center position of the camera, the light source position of the target light source, and the positions of each candidate reflection point, multiple candidate corneal center positions of the target eye are obtained, wherein the candidate corneal center positions correspond one-to-one with the candidate reflection point positions.

[0065] In this embodiment, since the target corneal reflection point, the target light source, the camera optical center, and the corneal center are coplanar, the reflection at the target corneal reflection point satisfies the law of reflection, and the distance from the target corneal reflection point to the corneal center is equal to the corneal radius, three equations can be established. By solving these three equations simultaneously, for each candidate reflection point position, the unique corresponding candidate corneal center position can be obtained.

[0066] Step S220: Based on the second pixel position, corneal radius, preset distance between corneal center and pupil center, and the position of each candidate corneal center, determine multiple candidate pupil center positions that correspond one-to-one with each candidate corneal center position.

[0067] In this embodiment, step S220 may include steps S221-S222: Step S221: Based on the second pixel position, pre-calibrated camera parameters, corneal radius, and the center positions of each candidate cornea, obtain multiple candidate refraction point positions of the target corneal refraction point. The camera parameters include the optical center position of the camera optical center, and the target corneal refraction point is the corneal refraction point corresponding to the center of the pupil of the target eye on the anterior surface of the cornea. The center positions of the candidate corneas correspond one-to-one with the positions of the candidate refraction points. In one feasible implementation, step S221 above may include steps B10 to B20: Step B10: Based on the second pixel position and the pre-calibrated camera parameters, determine the second direction in which the camera optical center points to the target corneal refraction point; The operation logic and implementation principle of this step are the same as those of step A10 above. Please refer to step A10. This embodiment will not repeat the details here.

[0068] Step B20: Based on the position of the optical center of the camera, the second direction, the corneal radius, and the position of each candidate corneal center, obtain the positions of multiple candidate refraction points of the target corneal refraction point.

[0069] In this embodiment, the target corneal refraction point is located on the anterior surface of the cornea (i.e., the distance between the target corneal refraction point and the corneal center is equal to the corneal radius R). Therefore, for each candidate corneal center position C_i, the system determines the intersection point of the ray emitted from the camera's optical center along the second direction and a sphere with the candidate corneal center position as its center and R as its radius. This intersection point is the candidate refraction point position F_i corresponding to C_i. Since the ray and the sphere usually have two intersection points, the correct intersection point needs to be selected based on the geometric position (located on the anterior corneal surface closer to the camera). Thus, each candidate corneal center position C_i corresponds to a unique candidate refraction point position F_i.

[0070] This step transforms the two-dimensional projection of the pupil center in the image into a three-dimensional candidate location of the corneal refraction point by using the spherical constraints and collinearity conditions of the anterior corneal surface, providing an intermediate bridge for the subsequent reverse solution of the pupil center.

[0071] Step S222: Based on the optical center position of the camera, the preset air refractive index, the preset intraocular medium refractive index, the preset distance between the corneal center and the pupil center, and the positions of each candidate corneal center and its corresponding candidate refractive point, obtain multiple candidate pupil center positions that correspond one-to-one with each candidate corneal center position.

[0072] In this embodiment, since the target corneal refraction point, pupil center, camera optical center, and corneal center are coplanar, the refraction at the target corneal refraction point satisfies the law of refraction, and the distance between the corneal center and pupil center (i.e., the distance between the corneal center and pupil center) can be determined through prior knowledge, three equations can be established. By simultaneously solving these three equations, for each candidate corneal center position and its corresponding candidate refraction point position, the unique corresponding candidate pupil center position can be obtained.

[0073] In this embodiment, as Figure 3 As shown, step S200 above, which involves determining multiple candidate eye rotation center positions that correspond one-to-one with each candidate corneal center position based on each candidate corneal center position and its corresponding candidate pupil center position, may include steps S230 to S240: Step S230: Based on each candidate corneal center position and its corresponding candidate pupil center position, determine multiple candidate directions for the third direction, wherein the third direction is the direction from the pupil center of the target eye to the corneal center of the target eye, and the candidate corneal center positions correspond one-to-one with the candidate directions; In this step, for each candidate corneal center position C_i and the corresponding candidate pupil center position P_i, the system determines the unit direction vector. This direction is the direction of the optical axis (from the center of the pupil to the center of the cornea, that is, from the inside of the eyeball to the outside). This direction represents the spatial orientation of the eye's optical axis in the current candidate posture.

[0074] Step S240: Based on the preset distance between the corneal center and the eye rotation center, the position of each candidate corneal center and its corresponding candidate direction, obtain multiple candidate eye rotation center positions that correspond one-to-one with each candidate corneal center position.

[0075] In this embodiment, since the corneal center, pupil center, and eye rotation center are collinear, and the distance between the eye rotation center and the corneal center (i.e., the distance between the corneal center and the eye rotation center) can be obtained through prior knowledge, a unique candidate eye rotation center position can be obtained for each candidate corneal center position and its corresponding candidate direction.

[0076] This embodiment combines the optical axis direction with a preset eye rotation center distance to further expand the candidate corneal center position into a candidate eye rotation center position, thereby completely constructing the eyeball geometric model for each candidate pose. Thus, for a single target eye (left or right eye), the system obtains a set of candidate solutions. Each candidate solution includes a candidate corneal center position C_i, a candidate pupil center position P_i, and a candidate eye rotation center position E_i, which together constitute a complete eyeball pose hypothesis.

[0077] Step S300: From multiple candidate eye-turning center positions corresponding to the left and right eyes respectively, select the left eye-turning center position and the right eye-turning center position that minimize the function value of the preset objective function, and determine the wearer's binocular gaze information based on the left eye-turning center position and the right eye-turning center position.

[0078] Among them, the smaller the positional deviation of the left eye rotation center position and the right eye rotation center position in the depth direction, the smaller the function value; and the smaller the deviation between the pupil center distance and the eye rotation center distance, the smaller the function value. The eye rotation center distance is the distance between the left eye rotation center position and the right eye rotation center position.

[0079] It should be noted that in this embodiment, the center position of the left eye rotation refers to the center position of the left eye rotation, and the center position of the right eye rotation refers to the center position of the right eye rotation.

[0080] The depth direction, in the device coordinate system of a head-mounted display, refers to the direction perpendicular to the front plane of the head-mounted display and pointing towards the wearer's face. In a typical coordinate system definition, it is usually the Z-axis direction. In the usage scenarios of head-mounted displays, the depth direction usually corresponds to the direction of the user's gaze when looking straight ahead.

[0081] The predefined objective function is a quantitative indicator function used to evaluate the "reasonableness" of any combination of candidate left-eye rotation center positions (i.e., candidate left-eye rotation center positions) and candidate right-eye rotation center positions (i.e., candidate right-eye rotation center positions). The core design of this function lies in quantifying whether a set of candidate positions (including one left-eye and one right-eye rotation center position) satisfies the rigidity and symmetry constraints of the human eye's physiological structure. Specifically, the function includes two penalty terms: the first penalizes the positional deviation of the left and right eye rotation centers in the depth direction—experimental observation and anatomical statistics show that most ordinary people have symmetrically distributed eyes. When a user correctly wears a head-mounted display device, the coordinate values ​​of the left and right eye rotation centers in the depth direction (Z-axis) should be nearly identical; the greater the deviation, the greater the penalty value. The second penalizes the deviation between the distance between the eye rotation centers and the distance between the pupil centers—experimental observation shows that the distance between the eye rotation centers and the distance between the pupil centers are nearly equal in most ordinary people; the greater the deviation, the greater the penalty value.

[0082] Therefore, an exemplary form of the predefined objective function is as follows: ; Where E_L represents the three-dimensional coordinates of the left eye's eye rotation center, E_R represents the three-dimensional coordinates of the right eye's eye rotation center, E_L_Z represents the coordinate components of the left eye's eye rotation center in the depth direction, E_R_Z represents the coordinate components of the right eye's eye rotation center in the depth direction, α represents the weighting coefficient corresponding to the first penalty, and β represents the weighting coefficient corresponding to the second penalty. Both α and β are greater than 0, and these two weighting coefficients are used to balance the relative importance of the two penalty terms. It is easy to understand that the values ​​of α and β can be flexibly set according to actual needs, and this embodiment does not impose specific limitations on them. When the combination of candidate eye rotation center positions of the left and right eyes satisfies the two physiological constraints of "same depth" and "matching spacing," the function obtains a smaller value; conversely, if either constraint is violated, the function value will increase significantly.

[0083] In this embodiment, the system iterates through all possible combinations of multiple candidate eye rotation center positions for the left and right eyes, determines the preset objective function value corresponding to each combination, and selects the combination that minimizes the function value as the optimal solution. The candidate corneal center positions and candidate pupil center positions corresponding to this optimal solution are the finally determined corneal center positions and pupil center positions for the left and right eyes.

[0084] This embodiment effectively solves the problem of multiple solutions caused by underdetermined equations under monocular single-light source conditions by introducing physiological structural constraints of the human eye at the binocular pairing level. Specifically, when solving with one eye, it is impossible to uniquely determine the depth position of the corneal center along the optical axis. However, when comparing multiple candidate solutions from the left and right eyes in pairs, a large number of candidate combinations that do not meet the requirements of "consistent depth between the two eyes" and "eye rotation distance matching pupillary distance" are naturally eliminated. The only combination that simultaneously satisfies these two physiological constraints is the globally optimal solution. This transformation from monocular underdetermined to binocular overdetermined is the key technological breakthrough that enables this embodiment to achieve a similar level of accuracy to multi-light source solutions under single-light source conditions.

[0085] It should also be noted that, in this embodiment, the binocular gaze information can be the gaze direction of the wearer's left and right eyes, or the three-dimensional coordinates of the wearer's gaze point in virtual or real space, or the two-dimensional coordinates of the wearer's gaze point on the display screen of the head-mounted display device.

[0086] It is worth mentioning that in this embodiment, when the binocular gaze information is the direction of gaze of both eyes, the starting point of the gaze is the center of the cornea or the center of the pupil of both eyes. Therefore, the binocular gaze information should also include the position of the center of the cornea or the center of the pupil of both eyes.

[0087] In this embodiment, the step of determining the wearer's binocular gaze information based on the center positions of the left and right eye rotations in step S300 may include steps S310 to S330: Step S310: The candidate corneal center position corresponding to the center position of the left eye rotation is determined as the center position of the wearer's left cornea, and the candidate corneal center position corresponding to the center position of the right eye rotation is determined as the center position of the wearer's right cornea. It should be noted that in this embodiment, the center position of the left cornea refers to the center position of the cornea of ​​the left eye, and the center position of the right cornea refers to the center position of the cornea of ​​the right eye.

[0088] Step S320: The candidate pupil center position corresponding to the center position of the left eye rotation is determined as the center position of the wearer's left pupil, and the candidate pupil center position corresponding to the center position of the right eye rotation is determined as the center position of the wearer's right pupil. It should be noted that in this embodiment, the center position of the left pupil refers to the center position of the pupil of the left eye, and the center position of the right pupil refers to the center position of the pupil of the right eye.

[0089] Step S330: Determine the wearer's binocular vision information based on the center position of the left cornea, the center position of the right cornea, the center position of the left pupil, the center position of the right pupil, and the wearer's Capa angle.

[0090] In this embodiment, the system first determines the optical axis direction vector of the left eye (pointing from the center of the pupil to the center of the cornea, i.e., from the inside out) based on the center position of the left cornea and the center position of the left pupil. Then, according to the Kappa angle pre-calibrated by the wearer, the optical axis direction vector of the left eye is rotated around the horizontal axis (or a three-dimensional rotation based on the spatial direction of the Kappa angle) to obtain the visual axis direction vector of the left eye. Similarly, the above process is repeated for the right eye to obtain the visual axis direction vector of the right eye.

[0091] This embodiment combines the selected optimal corneal center and pupil center positions of the left and right eyes with individualized Kappa angle parameters to perform optical axis to visual axis correction and conversion, ultimately generating binocular gaze information with high physiological realism. This provides accurate and reliable basic data for upper-level applications such as gaze point rendering, eye-tracking interaction, and user behavior analysis of head-mounted display devices.

[0092] This embodiment introduces the physiological structural features of the human eye, especially the consistency of the eye rotation centers of the left and right eyes in the depth direction and the matching of the distance between the eye rotation centers and the distance between the pupil centers, as additional independent constraints into the solution framework for estimating the line of sight using the pupil center-corneal reflection algorithm under monocular single light source conditions. Thus, under the premise that a single eye is illuminated by only a single light source and the pixel position of a single corneal reflection point is extracted from a single eye, the problem of solving the corneal center position and pupil center position, which was originally underdetermined due to insufficient equations, is transformed into a solvable or even overdetermined optimization problem.

[0093] Specifically, this embodiment generates multiple candidate corneal center positions and their corresponding candidate pupil center positions and candidate eye rotation center positions for the left and right eyes through enumeration or optimization. Then, a preset objective function is constructed using a binocular pairing method to simultaneously penalize the difference in depth coordinates of the eye rotation centers of the left and right eyes, as well as the deviation between the distance between the eye rotation centers and the distance between the pupil centers. This allows for the selection of the globally optimal combination of left and right eye rotation center positions from all candidates, thereby inversely determining the unique corneal center position, pupil center position, and optical axis direction. Finally, by combining personalized parameters such as the Kappa angle, high-precision binocular gaze information can be obtained. This technical concept fundamentally breaks through the traditional multi-light source solution's reliance on hardware redundancy to provide geometric constraints. Instead, it compensates for the loss of light source information with biometric constraints. While significantly reducing the requirements of head-mounted display devices on the number of light sources, system power consumption, hardware space, and timing synchronization, it still achieves gaze estimation accuracy and robustness similar to multi-light source systems, taking into account the practical needs of device miniaturization, low power consumption, and high-precision gaze estimation.

[0094] To facilitate understanding of the above embodiments of this application, please refer to... Figure 4 : exist Figure 4In the diagram, E is the eye rotation center of the target eye; C is the corneal center of the target eye; P is the pupil center of the target eye; L is the target light source; O is the camera optical center; G is the target corneal reflection point; F is the target corneal refraction point, i.e., the corneal refraction point corresponding to the pupil center P on the anterior surface of the cornea of ​​the target eye; g is the imaging point of G on the image sensor plane; p is the imaging point of P on the image sensor image plane; S is the gaze point of the target eye on the screen of the head-mounted display device; κ is the Kappa angle; n1 is the refractive index of the intraocular medium; n2 is the refractive index of air; R is the corneal radius; the eye rotation center E, the corneal center C, and the pupil center P are all located on the optical axis.

[0095] In the above, the three-dimensional coordinates of the eye rotation center E, corneal center C, pupil center P, target corneal reflection point G, and target corneal refraction point F are unknown; the three-dimensional coordinates of the target light source L and camera optical center O can be obtained through pre-calibration; parameters such as corneal radius R, intraocular refractive index n1, air refractive index n2, and Kappa angle κ can also be pre-calibrated or assigned values ​​through prior knowledge; The imaging point g corresponding to the target corneal reflection point G and the imaging point p corresponding to the target corneal refraction point F can both have their corresponding three-dimensional coordinates derived from their pixel coordinates in the eye image of the target eye, combined with camera parameters.

[0096] Since the target corneal reflection point G, the camera optical center O, and the imaging point g are collinear, given that the camera optical center O and the imaging point g are known, and combined with the preset reflection point position constraints, the three-dimensional coordinates of the target corneal reflection point G can be determined to a certain line segment of ray gO. This allows us to obtain multiple candidate reflection point positions for the target corneal reflection point G. In other words, based on the first pixel position, the pre-calibrated camera parameters, and the preset reflection point position constraints, we can obtain multiple candidate reflection point positions for the target corneal reflection point.

[0097] Next, since the target corneal reflection point G, the target light source L, the camera optical center O, and the corneal center C are coplanar, equation (I) can be established: ; Light rays travel from the target light source L to the anterior surface of the cornea of ​​the target eye, are reflected at the corneal reflection point G, and finally enter the optical center O of the camera. This satisfies the law of reflection, with the angle of incidence equal to the angle of reflection. Therefore, equation (II) can be established: ; The distance from the target corneal reflection point G to the corneal center C is the corneal radius R, from which equation (III) can be established: ; By combining the above three equations with the positions of multiple candidate reflection points of the target corneal reflection point G, we can obtain the positions of multiple candidate corneal centers C. In other words, based on the corneal radius, the position of the optical center of the camera, the position of the light source of the target light source, and the positions of each candidate reflection point, we can obtain the positions of multiple candidate corneal centers of the target eye.

[0098] After obtaining multiple candidate corneal center locations for corneal center C, since the target corneal refraction point F, pupil center P, camera optical center O, and corneal center C are coplanar, equation (IV) can be established: ; Light rays travel from the center P of the pupil to the anterior surface of the cornea of ​​the target eye, and are refracted at the refraction point F of the target cornea before finally entering the optical center O of the camera. This satisfies the law of refraction, and equation (V) can be established: ; The distance from the target corneal refraction point F to the corneal center C is the corneal radius R, from which equation (VI) can be established: ; The distance from the corneal center C to the pupillary center P is the distance a between the corneal center and the pupillary center. This distance a can be obtained through prior knowledge, thus allowing us to establish equation (VII): ; Since the target corneal refraction point F, the camera optical center O, and the imaging point p are collinear, given that the camera optical center O and the imaging point p are known, by combining equation (vi) with multiple candidate corneal center positions of the corneal center C, for each candidate corneal center position of the corneal center C, a candidate corneal refraction point position of the target corneal refraction point F located between the corneal center C and the camera optical center O can be determined. That is, based on the second pixel position and the pre-calibrated camera parameters, the second direction of the camera optical center pointing to the target corneal refraction point is determined; according to the optical center position of the camera optical center, the second direction, the corneal radius, and the positions of each candidate corneal center, multiple candidate refraction point positions of the target corneal refraction point are obtained.

[0099] By using equations (iv), (v), and (vii), and for each candidate corneal center position C and its corresponding candidate corneal refractive point position, a candidate pupil center position P can be determined for each candidate corneal center position C. That is, based on the optical center position of the camera, the preset air refractive index, the preset intraocular media refractive index, the preset distance between the corneal center and the pupil center, and each candidate corneal center position and its corresponding candidate refractive point position, multiple candidate pupil center positions corresponding one-to-one with each candidate corneal center position can be obtained.

[0100] In this embodiment, since the corneal center C, pupil center P, and eye rotation center E are collinear, and the distance between the eye rotation center and the corneal center is the distance b between the corneal center and the eye rotation center, which can be obtained through prior knowledge, equations (viii) and (ix) can be established: ; ; Where V is the direction vector pointing from the center of the pupil to the center of the pupil, which is also the direction vector of the third direction.

[0101] By combining the above two equations with each candidate corneal center position of corneal center C and its corresponding candidate pupil center position, a candidate eye rotation center position can be determined for each candidate corneal center position of corneal center C. That is, based on each candidate corneal center position and its corresponding candidate pupil center position, multiple candidate directions of a third direction are determined. The third direction is the direction from the pupil center of the target eye to the corneal center of the target eye. The candidate corneal center positions and candidate directions correspond one-to-one. According to the preset distance between the corneal center and the eye rotation center, each candidate corneal center position and its corresponding candidate direction, multiple candidate eye rotation center positions corresponding one-to-one with each candidate corneal center position are obtained.

[0102] Using the above method, multiple candidate corneal center positions, as well as multiple candidate pupil center positions and multiple candidate eye rotation center positions corresponding to each candidate corneal center position can be determined for the wearer's left eye. At the same time, multiple candidate corneal center positions, as well as multiple candidate pupil center positions and multiple candidate eye rotation center positions corresponding to each candidate corneal center position can be determined for the wearer's right eye.

[0103] Next, iterate through all candidate eye-turning center positions for the left eye and all candidate eye-turning center positions for the right eye, and select the left and right eye-turning center positions that minimize the function value of the preset objective function f.

[0104] ; in, The center position of the left eye's rotation. The center position of the right eye's rotation. This represents the coordinates of the center of left eye rotation along the depth direction. The coordinates of the right eye rotation center position in the depth direction are given by , and IPD is the pupil center distance. This pupil center distance can be pre-calibrated, measured from the binocular images by image processing algorithms, or determined by the candidate pupil center positions corresponding to the left eye rotation center position and the candidate pupil center positions corresponding to the right eye rotation center position.

[0105] Finally, the candidate corneal center position corresponding to the left eye rotation center position is determined as the wearer's left corneal center position, the candidate corneal center position corresponding to the right eye rotation center position is determined as the wearer's right corneal center position, the candidate pupil center position corresponding to the left eye rotation center position is determined as the wearer's left pupil center position, and the candidate pupil center position corresponding to the right eye rotation center position is determined as the wearer's right pupil center position. Thus, based on the left corneal center position and the left pupil center position, the optical axis direction of the left eye is determined, and based on the right corneal center position and the right pupil center position, the optical axis direction of the right eye is determined. Then, combined with the wearer's Kappa angle, the visual axis direction of each eye is determined, and finally, the wearer's binocular vision information is obtained.

[0106] It should be noted that the above embodiments / implementations are only used to assist in understanding this application and do not constitute a limitation on the line-of-sight estimation method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0107] In addition, please refer to Figure 5 , Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the line-of-sight estimation method in the embodiments of this application.

[0108] This application also provides a head-mounted display device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the steps of the gaze estimation method in the above embodiments.

[0109] The following is for reference. Figure 5 It shows a schematic diagram of a structure suitable for implementing the head-mounted display device of the present application embodiments. Figure 5 The head-mounted display device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments of this application.

[0110] like Figure 5As shown, the head-mounted display device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory 1002 or a program loaded from a storage device 1003 into a random access memory 1004. The random access memory 1004 also stores various programs and data required for the operation of the head-mounted display device. The processing unit 1001, the read-only memory 1002, and the random access memory 1004 are interconnected via a bus 1005. An input / output interface 1006 is also connected to the bus. Typically, the following systems can be connected to the input / output interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display, speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the head-mounted display device to exchange data with other devices wirelessly or via wired communication. Although the figures show head-mounted display devices with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented alternatively.

[0111] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from read-only memory 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0112] The head-mounted display device provided in this application employs the gaze estimation method in the above embodiments, which can effectively reduce the dependence of gaze estimation on hardware configuration while achieving accurate gaze estimation. Compared with the prior art, the beneficial effects of the head-mounted display device provided in this application are the same as those of the gaze estimation method provided in the above embodiments, and other technical features in this head-mounted display device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0113] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0114] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of protection of the above claims.

[0115] In one embodiment, the head-mounted display device includes a target light source, the target light source comprising: The first light source is set on the left eye side and is used to illuminate the wearer's left eye so that in the captured image of the left eye, there is one and only one corneal reflection point corresponding to the anterior surface of the cornea of ​​the left eye. The second light source is positioned on the right eye side to illuminate the wearer's right eye, so that in the captured image of the right eye, there is one and only one corneal reflection point corresponding to the anterior surface of the right cornea.

[0116] For example, in this embodiment, the left eye side of the head-mounted display device is provided with only one first light source for illuminating the wearer's left eye, and the right eye side is also provided with only one second light source for illuminating the wearer's right eye.

[0117] In this embodiment, independent light sources are provided on both sides of the left and right eyes of the head-mounted display device to illuminate the wearer's left and right eyes respectively, so as to form a corneal reflection point in the wearer's left and right eyes respectively, ensuring that the gaze estimation method provided in the aforementioned embodiment can be executed normally in the head-mounted display device. The relevant description can be referred to the description of step S100 in the aforementioned embodiment, and will not be repeated here.

[0118] In one embodiment, the head-mounted display device further includes: A first camera is set up corresponding to the first light source, and the first camera is used to capture an image of the left eye; A second camera is set up corresponding to the second light source, and the second camera is used to capture an image of the right eye.

[0119] For example, in this embodiment, only one first camera is provided on the left eye side of the head-mounted display device for capturing the wearer's left eye, and similarly, only one second camera is provided on the right eye side for capturing the wearer's right eye.

[0120] In this embodiment, independent cameras are respectively provided on both sides of the left and right eyes of the head-mounted display device to capture images of the wearer's left and right eyes, thereby obtaining eye images of the left and right eyes. This ensures that the gaze estimation method provided in the aforementioned embodiment can be executed normally in the head-mounted display device. The relevant description can be found in the description of step S100 in the aforementioned embodiment, and will not be repeated here.

[0121] In one example, the head-mounted display device has only one light source and one camera on the left eye side, and similarly only one light source and one camera on the right eye side. In this case, the only light source on the left eye side is the first light source used to illuminate the wearer's left eye, the only light source on the right eye side is the second light source used to illuminate the wearer's right eye, the only camera on the left eye side is the first camera used to photograph the wearer's left eye, and the only camera on the right eye side is the second camera used to photograph the wearer's right eye.

[0122] In addition, this application also provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to perform the steps of the line-of-sight estimation method in the above embodiments.

[0123] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory, read-only memory, erasable programmable read-only memory, optical fibers, portable compact disk read-only memory, optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (Radio Frequency), etc., or any suitable combination thereof.

[0124] The aforementioned computer-readable storage medium may be included in the head-mounted display device; or it may exist independently and not assembled into the head-mounted display device.

[0125] The aforementioned computer-readable storage medium carries one or more programs that, when executed by a head-mounted display device including a target light source, cause the head-mounted display device to: capture an image of the target eye (left or right eye) when the target light source illuminates the wearer's target eye; obtain multiple candidate corneal center positions and multiple candidate pupil center positions corresponding one-to-one with each candidate corneal center position based on a first pixel position of a target corneal reflection point and a second pixel position of the pupil center in the eye image; and determine multiple candidate eye rotation center positions corresponding one-to-one with each candidate corneal center position based on each candidate corneal center position and its corresponding candidate pupil center position, wherein the target corneal reflection point is the target eye. The target light source is located at the corneal reflection point on the anterior surface of the cornea of ​​the target eye. From multiple candidate eye rotation center positions corresponding to the left and right eyes respectively, the left and right eye rotation center positions that minimize the function value of the preset objective function are selected. Based on the left and right eye rotation center positions, the wearer's binocular gaze information is determined. The function value of the preset objective function is positively correlated with the target position deviation and the target distance deviation. The target position deviation is the positional deviation of the left and right eye rotation center positions in the depth direction. The target distance deviation is the deviation between the wearer's pupil center distance and the eye rotation center distance. The eye rotation center distance is the distance between the left and right eye rotation center positions.

[0126] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0127] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0128] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0129] The computer-readable storage medium provided in this application stores computer-readable program instructions (i.e., a computer program) for performing the steps of the above-described line-of-sight estimation method, which can effectively reduce the dependence of line-of-sight estimation on hardware configuration while achieving accurate line-of-sight estimation. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the line-of-sight estimation method provided in the above embodiments, and will not be repeated here.

[0130] Furthermore, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the gaze estimation method in the above embodiments.

[0131] The computer program product provided in this application can achieve accurate line-of-sight estimation while effectively reducing the dependence of line-of-sight estimation on hardware configuration. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the line-of-sight estimation method provided in the above embodiments, and will not be repeated here.

[0132] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A line of sight estimation method, characterized by, The method is applied to a head-mounted display device, the head-mounted display device including a target light source, the method comprising: When the target light source illuminates the wearer's target eye, an image of the target eye is captured, wherein the target eye is the left eye or the right eye; Based on the first pixel position of a target corneal reflection point and the second pixel position of the pupil center in the eye image, multiple candidate corneal center positions of the target eye and multiple candidate pupil center positions corresponding to each of the candidate corneal center positions are determined. Based on each candidate corneal center position and its corresponding candidate pupil center position, multiple candidate eye rotation center positions corresponding to each of the candidate corneal center positions are determined. The target corneal reflection point is the corneal reflection point corresponding to the target light source on the anterior surface of the cornea of ​​the target eye. From multiple candidate eye-turn center positions corresponding to the left and right eyes respectively, the left and right eye-turn center positions that minimize the function value of the preset objective function are selected. Based on the left and right eye-turn center positions, the binocular gaze information of the wearer is determined. The smaller the positional deviation of the left and right eye-turn center positions in the depth direction, the smaller the function value. The smaller the deviation between the distance between the pupil centers and the distance between the eye-turn centers, the smaller the function value. The distance between the eye-turn centers is the distance between the left and right eye-turn center positions.

2. The line-of-sight estimation method of claim 1, wherein, The step of determining multiple candidate corneal center positions of the target eye and multiple candidate pupil center positions corresponding one-to-one with each of the candidate corneal center positions, based on the first pixel position of a target corneal reflection point and the second pixel position of the pupil center in the eye image, includes: Based on the first pixel position, the preset reflection point position constraints, and the preset corneal radius, multiple candidate corneal center positions of the target eye are determined. Based on the second pixel position, the corneal radius, the preset distance between the corneal center and the pupil center, and the positions of each candidate corneal center, a plurality of candidate pupil center positions are determined that correspond one-to-one with each candidate corneal center position.

3. The line-of-sight estimation method of claim 2, wherein, The step of determining multiple candidate corneal center positions of the target eye based on the first pixel position, preset reflection point position constraints, and preset corneal radius includes: Based on the first pixel position, the pre-calibrated camera parameters, and the preset reflection point position constraints, multiple candidate reflection point positions of the target corneal reflection point are obtained, wherein the camera parameters include the optical center position of the camera optical center; Based on the corneal radius, the optical center position of the camera, the light source position of the target light source, and the positions of each candidate reflection point, multiple candidate corneal center positions of the target eye are obtained, wherein each candidate corneal center position corresponds one-to-one with the candidate reflection point position.

4. The line-of-sight estimation method of claim 3, wherein, The step of obtaining multiple candidate reflection point positions of the target corneal reflection point based on the first pixel position, pre-calibrated camera parameters, and preset reflection point position constraints includes: Based on the first pixel position and the pre-calibrated camera parameters, a first direction is determined in which the optical center of the camera points to the target corneal reflection point; Based on the optical center position of the camera, the first direction, and the preset reflection point position constraints, multiple candidate reflection point positions of the target corneal reflection point are obtained.

5. The line-of-sight estimation method of claim 2, wherein, The step of determining multiple candidate pupil center positions corresponding one-to-one with each of the candidate corneal center positions based on the second pixel position, the corneal radius, the preset distance between the corneal center and the pupil center, and the positions of each candidate corneal center includes: Based on the second pixel position, the pre-calibrated camera parameters, the corneal radius, and the center positions of each candidate cornea, multiple candidate refractive point positions of the target corneal refractive point are obtained. The camera parameters include the optical center position of the camera, the target corneal refractive point is the corneal refractive point corresponding to the center of the pupil of the target eye on the anterior surface of the cornea, and the center positions of the candidate corneas correspond one-to-one with the positions of the candidate refractive points. Based on the optical center position of the camera, the preset air refractive index, the preset intraocular medium refractive index, the preset distance between the corneal center and the pupil center, and the positions of each candidate corneal center and its corresponding candidate refractive point, multiple candidate pupil center positions corresponding one-to-one with each candidate corneal center position are obtained.

6. The line-of-sight estimation method of claim 5, wherein, The step of obtaining multiple candidate refractive point positions of the target corneal refractive point based on the second pixel position, pre-calibrated camera parameters, the corneal radius, and the center positions of each candidate cornea includes: Based on the second pixel position and the pre-calibrated camera parameters, a second direction is determined in which the optical center of the camera points to the refractive point of the target cornea; Based on the optical center position of the camera, the second direction, the corneal radius, and the center positions of each candidate cornea, multiple candidate refractive point positions of the target corneal refractive point are obtained.

7. The line-of-sight estimation method of claim 1, wherein, The step of determining multiple candidate eye rotation center positions corresponding one-to-one with each candidate corneal center position based on each candidate corneal center position and its corresponding candidate pupil center position includes: Based on the candidate corneal center positions and their corresponding candidate pupil center positions, multiple candidate directions of a third direction are determined, wherein the third direction is the direction from the pupil center of the target eye to the corneal center of the target eye, and the candidate corneal center positions correspond one-to-one with the candidate directions; Based on the preset distance between the corneal center and the eye rotation center, the position of each candidate corneal center and its corresponding candidate direction, multiple candidate eye rotation center positions are obtained that correspond one-to-one with each candidate corneal center position.

8. The line-of-sight estimation method of claim 1, wherein, The step of determining the wearer's binocular gaze information based on the center positions of the left and right eye rotations includes: The candidate corneal center position corresponding to the center position of the left eye rotation is determined as the center position of the wearer's left eye cornea, and the candidate corneal center position corresponding to the center position of the right eye rotation is determined as the center position of the wearer's right eye cornea. The candidate pupil center position corresponding to the left eye rotation center position is determined as the left eye pupil center position of the wearer, and the candidate pupil center position corresponding to the right eye rotation center position is determined as the right eye pupil center position of the wearer. Based on the center position of the left cornea, the center position of the right cornea, the center position of the left pupil, the center position of the right pupil, and the wearer's Capa angle, the wearer's binocular gaze information is determined.

9. A head-mounted display device, comprising: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the line-of-sight estimation method as described in any one of claims 1 to 8.

10. The head-mounted display device of claim 9, wherein, The head-mounted display device includes a target light source, the target light source comprising: A first light source is positioned on the left eye side to illuminate the wearer's left eye, so that in the captured image of the left eye, there is one and only one corneal reflection point corresponding to the first light source on the anterior surface of the cornea of ​​the left eye. A second light source is positioned on the right eye side to illuminate the wearer's right eye, so that in the captured image of the right eye, there is one and only one corneal reflection point corresponding to the second light source on the anterior surface of the cornea of ​​the right eye.

11. The head-mounted display device of claim 10, wherein, The head-mounted display device also includes: A first camera is provided corresponding to the first light source, and the first camera is used to capture an image of the left eye; A second camera is provided corresponding to the second light source, and the second camera is used to capture an image of the right eye.

12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a line-of-sight estimation program, which, when executed by a processor, implements the steps of the line-of-sight estimation method as described in any one of claims 1 to 8.