Eye movement tracking method, device and system and storage medium

By determining the pupil candidate area based on the pupil position of the previous frame in the human eye image sequence, and quickly locating the pupil position, the problem of low efficiency of eye movement data tracking under high frame rates in the existing technology is solved, and rapid tracking under high frame rates is achieved. and accurate eye movement data tracking.

CN118799359AInactive Publication Date: 2024-10-18CHENGDU JISI MINGZHI TECH CO LTD

Patent Information

Application Number
CN202410875218.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing eye tracking technology is difficult to accurately capture rapid eye movements at high frame rates. When the frame rate is too high, the image analysis algorithm cannot meet the needs of fast tracking, resulting in eye movement data that is not smooth and delicate enough.

Method used

By determining the pupil candidate area based on the pupil position of the previous frame in the human eye image sequence, narrowing the search range and quickly locating the pupil position, thereby achieving fast eye movement data tracking at high frame rates.

Benefits of technology

It greatly shortens the search time for pupil positioning, improves the tracking efficiency of eye movement data, meets the demand for fast tracking under high frame rates, and improves the accuracy of eye movement data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799359A_ABST
    Figure CN118799359A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an eye movement tracking method, device and system and a storage medium, and the method comprises the steps: obtaining multiple frames of human eye images when a target object observes a target scene, determining the pupil position of the human eye in the first frame of human eye image, and for each non-first frame of human eye image, according to the pupil position of the human eye in the preorder image of the frame of human eye image, tracking the eye movement of the target object according to the pupil position of the human eye in the preorder image of the frame of human eye image; and determining a first reference position, determining a pupil candidate region in the frame of human eye image according to the first reference position and the first region range, determining a pupil position of the human eye in the frame of human eye image from the pupil candidate region, and determining a fixation point position of the human eye in each frame of human eye image according to the pupil position of the human eye in each frame of human eye image. Based on the method, the searching range of the pupils is greatly reduced, the searching time of the pupils is shortened, the purpose of rapidly positioning the pupils is achieved, and rapid tracking of the eye movement data under the high frame rate is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology and may relate to the field of eye tracking. Specifically, the present application relates to an eye tracking method, device, system and storage medium. Background Art

[0002] Eye tracking is a technology used to analyze and record the gaze point and line of sight of human eyes. In the process of eye tracking, it is often necessary to quickly locate and track the position of the pupil from the collected human eye image, so as to calculate the gaze point based on the position of the pupil and form an eye movement trajectory.

[0003] The frame rates commonly used by eye trackers on the market are often 30fps, 60fps, 90fps or 120fps, and the highest can reach 200fps. If the frame rate is low, it is often impossible to accurately capture the actual eye movement. For example, a frame rate of 30fps, 60fps or 90fps cannot track rapid eye movements (such as rapid eye movement, blinking, nystagmus, etc.); if the frame rate reaches 120fps, it can only barely capture some rapid eye movements, but the captured eye data is not smooth and delicate, and often shows large fluctuations; if the frame rate reaches 200fps, the analysis time left for each frame of the image is less than 5ms. If a higher frame rate (such as 1000fps) is used, higher requirements will be placed on the algorithm.

[0004] However, current image analysis algorithms (such as OpenCV) can usually only process dozens or hundreds of frames per second, which cannot meet the needs of fast tracking of eye movement data at high frame rates. Summary of the invention

[0005] The embodiments of the present application provide an eye tracking method, device, system and storage medium, which can quickly locate the pupil and realize fast tracking of eye movement data at a high frame rate. To achieve this purpose, the technical solutions provided by the embodiments of the present application are as follows: On the one hand, an embodiment of the present application provides an eye tracking method, the method comprising: Acquire a sequence of human eye images when a target object observes a target scene, wherein the sequence of human eye images includes multiple frames of human eye images; Determining the pupil position of a human eye in a first frame of a human eye image in the sequence of human eye images; For each non-first frame of the human eye image in the human eye image sequence, determining the pupil position of the human eye in the frame of the human eye image by performing a first operation; For each frame of the human eye image in the multiple frames of human eye images, determining a gaze point position of the human eye in the frame of the human eye image according to a pupil position of the human eye in the frame of the human eye image; Wherein, for each non-first frame human eye image, the first operation includes the following steps: Determine a first reference position of a pupil candidate region in the frame of human eye image according to a pupil position of a human eye in a preceding image of the frame of human eye image, wherein the preceding image includes at least one frame of human eye image in the sequence of human eye images acquired before the frame of human eye image; According to the first reference position and the first area range, the pupil candidate area in the frame of human eye image is determined, and the pupil position of the human eye in the frame of human eye image is determined from the pupil candidate area; wherein the first area range is smaller than the area size of the human eye image.

[0006] On the other hand, an embodiment of the present application provides an eye tracking device, the device comprising: An image acquisition module, used to acquire a sequence of human eye images when a target object observes a target scene, wherein the sequence of human eye images includes multiple frames of human eye images; A first pupil positioning module, used to determine the pupil position of the human eye in the first frame of the human eye image in the human eye image sequence; A second pupil positioning module is used to determine the pupil position of the human eye in each non-first frame of the human eye image in the human eye image sequence by performing a first operation; wherein, for each non-first frame of the human eye image, it is used to determine a first reference position of a pupil candidate area in the frame of the human eye image according to the pupil position of the human eye in a preceding image of the frame of the human eye image, wherein the preceding image includes at least one frame of the human eye image in the human eye image sequence that is collected before the frame of the human eye image; according to the first reference position and a first area range, determine the pupil candidate area in the frame of the human eye image, and determine the pupil position of the human eye in the frame of the human eye image from the pupil candidate area; wherein the first area range is smaller than the area size of the human eye image; The gaze point determination module is used to determine the gaze point position of the human eye in each frame of the multiple frames of human eye images according to the pupil position of the human eye in the frame of human eye image.

[0007] Optionally, the multiple frames of human eye images in the human eye image sequence are collected when the human eye is irradiated with infrared light; The gaze point determination module can also be used for: The position of the gaze point of the human eye in the frame of the human eye image is determined according to the position of the pupil of the human eye and the position of the target reflection point in the frame of the human eye image.

[0008] Optionally, the eye tracking device further includes a reflective point positioning module, and the reflective point positioning module can be used to: Determine the position of the target reflective point of the human eye in the first frame of the human eye image in the human eye image sequence; For each non-first frame of the human eye image in the human eye image sequence, the second reference position of the candidate area of ​​the reflection points in the frame of the human eye image is determined according to the position of the target reflection points of the human eye in the previous image of the frame of the human eye image; the candidate area of ​​the reflection points in the frame of the human eye image is determined according to the second reference position and the second area range, and the target reflection point position of the human eye in the frame of the human eye image is determined from the candidate area of ​​the reflection points.

[0009] Optionally, the gaze point determination module may also be used for: Determine the offset between the pupil position and the target reflective point position according to the pupil position of the human eye and the target reflective point position in the frame of human eye image; The gaze point position of the human eye in the frame of human eye image is determined according to the offset between the pupil position and the target reflection point position.

[0010] Optionally, the reflective point positioning module can be used for: Performing reflective point detection on the reflective point candidate area; If no reflective point is detected, the position of the target reflective point of the human eye in the frame of human eye image is determined according to the position of the target reflective point of the human eye in the previous image of the frame of human eye image; If a reflective point is detected, the position of the reflective point is used as the target reflective point position of the human eye; If multiple reflective points are detected, a target reflective point is determined from among the reflective points according to the associated attributes of the reflective points, and the position of the target reflective point is determined; The associated attributes of the reflective point include at least one of the following: The size of the reflective spot; Gray value of the reflective point; The relative position between the reflective point and the pupil The relative position between the reflection points of both eyes.

[0011] Optionally, the reflective point positioning module can be used for: Determine the weight of each reflective point according to the associated attributes of each reflective point; The reflective point with the largest weight is taken as the target reflective point.

[0012] Optionally, the target scene includes a number of calibration stimulation points; The eye tracking device further comprises a calibration module, which can be used to: For each calibration stimulus point, according to the pupil position of each human eye and the position of the target reflection point in the human eye image when the target object observes the calibration stimulus point, respectively determine the left eye offset and the right eye offset when the target object observes the calibration stimulus point; Eye tracking calibration is performed based on the left eye offset and the right eye offset when the target object observes each calibration stimulus point, and the position of each calibration stimulus point.

[0013] On the other hand, the present invention also provides an eye tracking method, which includes: Acquire a sequence of human eye images when a target object observes a target scene, wherein the sequence of human eye images includes multiple frames of human eye images; For each frame of human eye image, determining the pupil position in the frame of human eye image; For each frame of the human eye image, according to the associated attributes of the multiple reflective points in the human eye area of ​​the frame of the human eye image, a target reflective point is determined from the multiple reflective points, and the position of the target reflective point is determined; Based on the pupil position of the human eye and the position of the target reflection point in each frame of the human eye image, determine the gaze point position of the human eye in each frame of the human eye image; The associated attributes of the reflective point include at least one of the following: The size of the reflective spot; Gray value of the reflective point; The relative position between the reflective point and the pupil; The relative position between the reflection points of both eyes.

[0014] On the other hand, an embodiment of the present application further provides an eye tracking device, which includes An image acquisition module, used to acquire a sequence of human eye images when a target object observes a target scene, wherein the sequence of human eye images includes multiple frames of human eye images; A pupil positioning module is used to determine the pupil position in each frame of human eye image; A target reflective point positioning module is used to determine a target reflective point from a plurality of reflective points in the human eye region of each frame of human eye image according to the associated attributes of the plurality of reflective points in the human eye region of the frame of human eye image, and determine the position of the target reflective point; wherein the associated attributes of the reflective point include at least one of the following: the size of the reflective point, the gray value of the reflective point, the relative position between the reflective point and the pupil, and the relative position between the reflective points of both eyes; The gaze point positioning module determines the gaze point position of the human eye in each frame of the human eye image based on the pupil position of the human eye and the position of the target reflection point in each frame of the human eye image.

[0015] On the other hand, an embodiment of the present application also provides an eye tracking system, which includes an image collector, a memory and a processor. The image collector is used to collect human eye images, the memory stores a computer program, and the processor executes the computer program to implement the method provided in any optional embodiment of the present application.

[0016] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method provided in any optional embodiment of the present application is implemented.

[0017] On the other hand, an embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the method provided in any optional embodiment of the present application.

[0018] The beneficial effects of the technical solution provided by the embodiment of the present application are as follows: The eye tracking method provided in the embodiment of the present application determines the first reference position based on the pupil position of the human eye in the previous image of the frame of the human eye image when locating the pupil position in the human eye image, determines the pupil candidate area in the frame of the human eye image based on the first reference position and the first area range, and then uses the pupil candidate area as the search range to quickly locate the pupil position. Based on this method, the search range of the pupil is greatly reduced, the search time is shortened, the purpose of quickly locating the pupil is achieved, and the rapid tracking of eye movement data at a high frame rate is realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.

[0020] Figure 1 A schematic diagram of the structure of an eye tracking system applicable to an embodiment of the present application; Figure 2 A schematic diagram of an application scenario provided by an embodiment of the present application; Figure 3 A flowchart of an eye tracking method provided in an embodiment of the present application; Figure 4 A schematic diagram of an interface with a prompt area provided in an embodiment of the present application; Figure 5 A schematic diagram of the display of pupil candidate areas provided in an embodiment of the present application; Figure 6a-6d A schematic diagram of a human eye with multiple reflective points provided in an embodiment of the present application; Figure 7 A flowchart of another eye tracking method provided in an embodiment of the present application; Figure 8 A schematic diagram of the structure of an eye tracking device provided in an embodiment of the present application; Fig. 9 A schematic diagram of the structure of another eye tracking device provided in an embodiment of the present application; Fig.10A schematic diagram of the structure of an eye tracking system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.

[0022] It will be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation as other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the technical field. It should be understood that when we say that an element is "connected" or "coupled" to another element, the one element may be directly connected or coupled to the other element, or it may refer to that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein indicates at least one of the items defined by the term, for example, "A and / or B" may be implemented as "A", or as "B", or as "A and B". When describing multiple (two or more) items, if the relationship between the multiple items is not clearly defined, the multiple items may refer to one, multiple or all of the multiple items. For example, the description of "parameter A includes A1, A2, A3" can be implemented as parameter A including A1 or A2 or A3, and can also be implemented as parameter A including at least two of the three items A1, A2, A3.

[0023] Eye tracking is to track and record the eye movements of users when they observe the interface. If the frame rate is low, it is often impossible to accurately capture the actual eye movement and extract accurate eye movement parameters (such as saccade latency, saccade speed, saccade landing point, saccade amplitude, etc.) to establish an accurate eye movement analysis model. The requirements for algorithms are higher at high frame rates. Taking 1000fps as an example, up to 1000 frames of images will need to be processed per second. The image analysis algorithm used in related technologies (such as OpenCV) takes at least tens or even hundreds of milliseconds to analyze a frame of image. Such an analysis speed cannot meet the processing requirements of 1000fps.

[0024] Based on the above problems, the embodiments of the present application provide an eye tracking method, device, system and storage medium. When locating the pupil position in a human eye image, the method determines a first reference position based on the pupil position of the human eye in the previous image of the frame of the human eye image, determines a pupil candidate area in the frame of the human eye image based on the first reference position and the first area range, and then uses the pupil candidate area as the search range to quickly locate the pupil position, and determines the gaze point position according to the pupil position. Based on this method, when detecting the pupil position of the human eye, the search range of the pupil is greatly reduced, the search time is shortened, the purpose of quickly locating the pupil is achieved, and the rapid tracking of eye movement data at a high frame rate is realized.

[0025] The eye tracking method provided in the embodiments of the present application can be applied to the eye tracking process in any scenario, such as virtual reality technology (VR), screen interactive control, etc., and can also be applied to the eye tracking calibration process, which is not limited by the present application.

[0026] In order to avoid being affected by other light (such as natural light) during eye movement, the eye tracking system often uses an external infrared light source to illuminate the human eye when capturing the pupil, and uses an infrared camera to capture the human eye image. In this way, the captured image will not be affected by external natural light, but a small light spot (i.e., a reflective spot, also known as a Purkinje spot) will be left on the human cornea. As an example, Figure 1 A schematic diagram of an eye tracking system applicable to an embodiment of the present application is shown, and the eye tracking system 10 includes an infrared camera 101, a display 102, and an infrared light source 103. The display 102 is used to display an observed object (such as a target image, a target point, etc.) in a target scene, and the infrared camera 101 is used to collect a human eye image of a subject when the subject observes the content displayed on the display 102.

[0027] When the subject uses the eye tracking system 10 for eye tracking, the subject can observe the content displayed on the display 102 under the irradiation of the infrared light source 103, and continuously collect multiple frames of human eye images of the subject through the infrared camera 101. For the first frame of human eye image collected, the entire human eye image is used as the retrieval area, and the pupil position of the human eye is retrieved therefrom. Among them, the pupil position refers to the position of the center of the pupil. For each non-first frame of human eye image, based on the pupil position of the human eye in the previous image of the frame of human eye image, the first reference position is determined, and the pupil candidate area in the frame of human eye image is determined according to the first reference position and the first area range, and the determined pupil candidate area is used as the search area, and the pupil of the human eye is searched therefrom, and the pupil position is located. Among them, the previous image of the frame of human eye image includes at least one frame of human eye image between the frame of human eye image in the sequence of human eye images. For each frame of human eye image, based on the pupil position of the human eye in the frame of human eye image, the gaze point position of the human eye in the frame of human eye image is determined.

[0028] based on Figure 1 The eye tracking system shown sets the pupil region of interest (ROI), i.e., the pupil candidate region, through the pupil position of the human eye determined in the previous image, and searches for the pupil in the current frame human eye image from the pupil candidate region. Since the search area becomes smaller, the search time is greatly shortened, the search efficiency is improved, and the pupil is quickly located, meeting the needs of fast tracking of eye movement data at a high frame rate.

[0029] Optionally, the human eye image captured by the infrared camera 101 includes the binocular images (left eye and right eye) of the subject. When locating the pupil position of the human eye, the pupil position in each eye of the subject is located. Alternatively, the eye tracking system 10 may also be configured with two infrared cameras, which are used to capture the left eye image and the right eye image respectively, and the pupil position in the eye is located according to the captured left eye image or right eye image.

[0030] Furthermore, the infrared light source may be a near-infrared light source, which can enhance the image more sensitively.

[0031] In the actual detection process, if only the pupil position is used for calibration or eye tracking task detection, then the slightest head movement of the subject will cause the spatial position relationship between the human pupil and the eye movement detection device to change, resulting in a large deviation in positioning.

[0032] In an embodiment of the present application, positioning can be further performed based on the pupil position and the reflective point position. Specifically, for the first frame of the human eye image collected, the entire human eye image is used as the search area, the pupil of the human eye and the target reflective point are searched therefrom, and the pupil position and the target reflective point position are located. For each non-first frame of the human eye image, based on the pupil position of the human eye in the previous image of the frame of the human eye image, a first reference position is determined, and according to the first reference position and the first area range, the pupil candidate area in the frame of the human eye image is determined, and the determined pupil candidate area is used as the search area, and the pupil of the human eye is searched therefrom, and the pupil position is located. Based on the target reflective point position of the human eye in the previous image of the frame of the human eye image, a second reference position is determined, and according to the second reference position and the second area range, the reflective point candidate area in the frame of the human eye image is determined, and the determined reflective point candidate area is used as the search area, and the target reflective point of the human eye is searched therefrom, and the target reflective point position is located.

[0033] For each frame of human eye image, based on the pupil position of the human eye and the position of the target reflective point in the frame of human eye image, the offset between the pupil position and the target reflective point position is determined, and the position of the gaze point of the human eye in the frame of human eye image is determined according to the offset between the pupil position and the target reflective point position. Among them, when the infrared light source and the head of the subject are relatively stable, the spatial position of the target reflective point is also relatively stable. Even if the subject moves his head, the change in the spatial position of the target reflective point is relatively small relative to the change in the pupil position, which can reduce the impact of the subject's head movement to a certain extent.

[0034] In an embodiment of the present application, based on the pupil position of the human eye and the position of the target reflective point determined in the previous image, the pupil region of interest (ROI), i.e., the pupil candidate region, and the reflective point ROI, i.e., the reflective point candidate region, are set, and the pupil in the current frame human eye image is searched from the pupil candidate region, and the target reflective point in the current frame human eye image is searched from the reflective point candidate region. Based on the pupil position and the target reflective point position, the gaze point position is determined. Since the search area becomes smaller, the search time for the pupil and the target reflective point is greatly shortened, the search efficiency is improved, and the pupil and the target reflective point are quickly located, which meets the needs of fast tracking of eye movement data at high frame rates and improves the accuracy of eye movement tracking.

[0035] Figure 2 The structural diagram of an application scenario provided in an embodiment of the present application, the eye tracking system includes a main device and an auxiliary device. Among them, the main device includes a computer, a display screen, a near-infrared light source, and a near-infrared camera, and the auxiliary device includes a display screen and an input device. The main device in the main device is used to display the content of the target scene (such as the target picture, target point, etc.), and the display screen in the auxiliary device is used to display relevant information of the human eye image.

[0036] The test subjects can fix the head position and perform eye tracking tasks by observing the display screen of the main device. The testers can observe the relevant information of eye tracking, such as human eye image, eye saccade speed, (pupil, reflective point) retrieval time, etc. through auxiliary equipment.

[0037] The following describes several embodiments to illustrate the technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application. It should be noted that the following embodiments can refer to, draw on or combine with each other, and the same terms, similar features and similar implementation steps in different embodiments will not be described repeatedly.

[0038] Figure 3 The flowchart of an eye tracking method provided by an embodiment of the present application is shown, and the method can be executed by any electronic device, such as a terminal device. The terminal device can be an eye tracker (such as a head-mounted eye tracker, a desktop eye tracker, etc.), a smart phone, etc.

[0039] like Figure 3 As shown, the eye tracking method provided in the embodiment of the present application may include the following steps S110 to S140.

[0040] S110: Acquire a sequence of human eye images when the target object observes the target scene.

[0041] The target object may be any user performing eye tracking task detection, the target scene may be any scene performing eye tracking, and may also be used in the calibration process before eye tracking.

[0042] Optionally, the human eye image sequence may be a plurality of frames of human eye images acquired continuously, or an image sequence consisting of at least part of the plurality of frames of human eye images acquired continuously, for example, an image sequence obtained by extracting frames from a continuously acquired original image sequence.

[0043] S120: Determine the pupil position of the human eye in the first frame of the human eye image in the human eye image sequence.

[0044] For the first frame of human eye image in the human eye image sequence, the entire image area of ​​the frame of human eye image can be used as the search area, and the pupil position of the human eye in the frame of human eye image can be determined through a fast positioning algorithm.

[0045] Optionally, when the acquired human eye image includes both eyes, for each eye in the frame of the human eye image, the image area where the eye is located is used as the search area to determine the pupil position of the eye. For example, for the acquired binocular images, the pupil position of the left eye is searched from the left eye image area, and the pupil position of the right eye is searched from the right eye image area.

[0046] Optionally, when the user observes the target scene through the display, a prompt area is also provided on the display interface to prompt the user to place both eyes within the corresponding area, such as Figure 4 When locating the pupil position of the human eye in the first frame of the human eye image, the prompt area in the first frame of the human eye image can also be used as the search area to locate the pupil position of the human eye.

[0047] Optionally, the present application embodiment does not limit the method for locating / retrieving the pupil position, and the existing image processing method can be used to locate the pupil from the human eye image. For example, the human eye image can be binarized by using the image threshold segmentation method, and the pupil center position can be determined based on the pupil area obtained by segmentation.

[0048] S130: For each non-first frame of the human eye image in the human eye image sequence, determine the pupil position of the human eye in the frame of the human eye image by performing a first operation.

[0049] The first operation includes the following steps S1301 and S1302.

[0050] Step S1301: determining a first reference position of a pupil candidate region in the frame of the human eye image according to the position of the pupil of the human eye in the preceding image of the frame of the human eye image.

[0051] The preceding image of the frame of human eye image includes at least one frame of human eye image of the frame of human eye image in the sequence of human eye images.

[0052] Optionally, the pupil position of the human eye in the previous frame of the human eye image can be used as the first reference position corresponding to the frame of the human eye image. Alternatively, the average value of the pupil position in each frame of the human eye image in the previous image of the frame of the human eye image can be used as the first reference position corresponding to the frame of the human eye image. The position where the pupil position is offset up, down, left, and right by a certain threshold value can also be set as the first reference position corresponding to the frame of the human eye image. The embodiment of the present application does not limit this and can be set as needed.

[0053] Step S1302: Determine a pupil candidate region in the frame of human eye image according to the first reference position and the first area range, and determine the pupil position of the human eye in the frame of human eye image from the pupil candidate region.

[0054] Optionally, the first area range may be an area range determined based on the pupil diameter, such as a circle with the pupil diameter as a diameter, or a rectangular range with a side length of a preset multiple of the pupil diameter, or a preset area range. Specifically, with the first reference position as the center and based on the first area range, a pupil candidate area is determined in the frame of human eye image. That is, the pupil candidate area in the frame of human eye image changes with the change of the human eye pupil position in the previous image. For example, Figure 5 As shown in the figure, the white frame lines on the left and right eyes are the pupil candidate area (ROI area) of the left eye and the ROI area of ​​the right eye in the current frame human eye image, respectively.

[0055] Afterwards, the pupil candidate area is used as the search range, and the pupil is searched and located using a fast positioning algorithm.

[0056] For example, taking the location of the pupil of a single eye as an example, assuming that the acquired sequence of human eye images includes human eye image 1, human eye image 2 and human eye image 3, for the first frame of human eye image 1, the entire human eye image is used as the search range to quickly locate the pupil position A1; for human eye image 2, the pupil position A1 of the previous frame is used as the first reference position, and the pupil candidate area S is determined based on the first area range. A1 (representing the ROI area centered on A1), and from the pupil candidate area S A1 The pupil position A2 in the human eye image 2 is located; for the human eye image 3, according to the pupil positions of the human eye images 1 and 2, the first reference position is determined to be (A1+A2) / 2, and the pupil candidate area S is determined based on the first area range. A2 (representing the ROI area centered at (A1+A2) / 2), and from the pupil candidate area S A2 Search for the pupil position of the human eye image 3.

[0057] The fast positioning algorithm supports anti-interference mode, which can prevent pupil misidentification caused by interference factors such as eyelashes and eye edges. In addition, even if pupil positioning is wrong, the algorithm also supports automatic resetting to re-search the pupil candidate area.

[0058] It should be noted that the pupil candidate area will not exceed the size of the human eye image area, and the boundary of the human eye image area is the limit position of the boundary line of the pupil candidate area. For example, if the pupil position in the current frame of the human eye image is the boundary position of the left eye image area, then the pupil position is used as the first reference position, and the boundary of the left side of the pupil candidate area determined is also the position of one pixel in the leftmost area of ​​the human eye image (at this time, the area range of the pupil candidate area becomes smaller).

[0059] Optional, when applied to Figure 2 When the application scenario is shown, it can be displayed on the display of the auxiliary device Figure 5In the human eye image shown, in order to avoid severe jittering of the display interface caused by real-time update of the white frame line, an anti-jitter threshold (such as 5 pixels) can be set. Below this threshold, the frame line boundary can be kept unchanged. The white frame line boundary position will only be updated when it exceeds the anti-jitter threshold.

[0060] S140: For each frame of the human eye image in the multiple frames of the human eye image, determine the gaze point position of the human eye in the frame of the human eye image according to the pupil position of the human eye in the frame of the human eye image.

[0061] When calculating the position of the human eye gaze point, for each frame of the human eye image, the position of the human eye gaze point in the frame of the human eye image can be calculated based on the position of the human eye pupil in the frame of the human eye image and the established first mapping relationship. The first mapping relationship can be established during the eye tracking calibration process, and the first mapping relationship reflects the mapping relationship between the position coordinates of the pupil position and the gaze point on the display.

[0062] The existing image analysis algorithms (such as OpenCV) take at least tens or even hundreds of milliseconds to analyze a frame of image. Such an analysis speed cannot meet the frame rate requirements of 1000fps or higher. Figure 3 The eye tracking method shown sets the pupil region of interest (ROI), i.e., the pupil candidate region, based on the pupil position of the human eye determined in the previous image, and searches for the pupil in the current frame human eye image from the pupil candidate region, thereby greatly narrowing the search range and solving the problem of time-consuming analysis of high frame rate search algorithms.

[0063] Moreover, experiments have shown that the search for the pupil of a single eye takes less than 100 microseconds, and the search for the reflection point of a single eye takes less than 50 microseconds. Thus, the time spent searching the entire image to find the pupils of both eyes and the reflection points of both eyes is about 300 microseconds, and can even reach less than 200 microseconds. The eye tracking method provided in the embodiment of the present application can realize the requirement of fast searching up to 1000 frames of human eye images within 1 second (1000 milliseconds), which is more in line with the need for fast tracking of eye movement data at high frame rates.

[0064] Since only the pupil position is used to locate the gaze point, it is easily affected by the user's head movement, resulting in a large positioning deviation. In an embodiment of the present application, for each frame of the human eye image in the human eye image sequence, the position of the gaze point of the human eye in the frame of the human eye image is determined based on the offset between the pupil position of the human eye in the frame of the human eye image and the position of the target reflective point. Among them, the multiple frames of human eye images in the human eye image sequence are collected when the human eye is irradiated with infrared light, and the target reflective point is the light spot formed by the human eye cornea reflecting the infrared light.

[0065] When calculating the position of the human eye's gaze point, for each frame of the human eye image, the position of the human eye's gaze point in the frame of the human eye image can be calculated based on the position of the human eye's pupil in the frame of the human eye image and the established second mapping relationship. The second mapping relationship can be established during the eye tracking calibration process, and the second mapping relationship reflects the mapping relationship between the position coordinates of the pupil-corneal reflection vector (the starting point is the pupil position and the end point is the target reflection point position) and the gaze point on the display. The position of the infrared light source in the eye tracking system is fixed.

[0066] Based on the same principle as the rapid positioning of the pupil, the target reflective point can also be rapidly positioned in the embodiments of the present application. Specifically, for the first frame of the human eye image in the human eye image sequence, the entire image area is used as the search range, and the position of the target reflective point of the human eye in the first frame of the human eye image is determined by a rapid positioning algorithm. For each non-first frame of the human eye image in the human eye image sequence, the second reference position of the candidate area of ​​the reflective point in the frame of the human eye image is determined based on the position of the target reflective point of the human eye in the previous image of the frame of the human eye image (the center of the target reflective point), and the candidate area of ​​the reflective point in the frame of the human eye image is determined based on the second reference position and the second area range, and the position of the target reflective point of the human eye in the frame of the human eye image is determined from the candidate area of ​​the reflective point.

[0067] The first area range and the second area range may have the same range size, and since the first area range and the second area range are both areas divided in the human eye image, the first area range and the second area range are both smaller than the area size of the human eye image.

[0068] Optionally, the target reflective point position of the human eye in the preceding image of the frame of human eye image can be used as the second reference position corresponding to the frame of human eye image. Alternatively, the position of the target reflective point position offset up, down, left, and right by a certain threshold value can be set as the second reference position corresponding to the frame of human eye image. The embodiment of the present application does not limit this and can be set as needed.

[0069] Optionally, when calculating the gaze point position of each frame of the human eye image, the offset between the pupil position and the target reflective point position is determined based on the pupil position of the human eye and the target reflective point position in the frame of the human eye image, and the gaze point position of the human eye in the frame of the human eye image is determined based on the offset between the pupil position and the target reflective point position.

[0070] Optionally, in order to avoid loss of data accuracy in subsequent calculations, after determining the position coordinates of the pupil and the target reflective point, the position coordinates of the pupil and the target reflective point can be magnified 100 times before subsequent calculations.

[0071] In addition, since the human eye pupil cornea is not completely smooth and is easily affected by tears, the reflection points on the cornea may appear as multiple small spots or even connected into a large area, which will cause certain interference to the positioning of the reflection points, resulting in a large deviation in the positioning of the reflection points. Figure 6a-6d As shown, Figure 6a The reflective spot in the middle right eye is stretched to become a larger spot. Figure 6b The reflective spot in the middle left eye is divided into two reflective spots. Figure 6c The reflective spot in the middle right eye is elongated into a larger spot, and a smaller reflective spot appears below. Figure 6d There are 3 reflective spots in the left eye and 4 reflective spots in the right eye.

[0072] Of course, in some cases, when the eyes move to certain angles, the brightness of the light spot of the reflective point will decrease or even disappear. Therefore, when detecting reflective points in the candidate area of ​​reflective points, an interpolation algorithm can be used to interpolate the position of the target reflective point.

[0073] Therefore, when locating the target reflective point position from the reflective point candidate area, the reflective point detection can be performed on the reflective point candidate area first. If no reflective point is detected, the target reflective point position of the human eye in the frame of human eye image is determined based on the target reflective point position of the human eye in the previous image of the frame of human eye image. If one reflective point is detected, the reflective point is used as the target reflective point and the position of the target reflective point is located; if multiple (suspected) reflective points are detected, the target reflective point (real reflective point) is determined from each (suspected) reflective point based on the associated attributes of each reflective point, and the position of the target reflective point is determined.

[0074] The associated attributes of the reflective point include at least one of the size of the reflective point, the grayscale value, the relative position between the reflective point and the pupil (in the same eye), and the relative position between the reflective points of both eyes. The size of the real reflective point should be within a certain range, and the distance between the real reflective points of both eyes should also be within a certain range, which can be set based on experience; the larger the grayscale value of the reflective point, the greater the probability that the reflective point is the target reflective point.

[0075] Optionally, when no reflective point is detected, the target reflective point position of the human eye in the previous image can be used as the target reflective point position of the human eye in this frame of human eye image, or the target reflective point position of the human eye in the previous image can be offset up, down, left, and right by a certain threshold and used as the target reflective point position of the human eye in this frame of human eye image. The embodiments of the present application do not impose any restrictions on this and can be set as needed.

[0076] Optionally, when determining a target reflective point from a plurality of reflective points, the weight of each reflective point may be determined according to associated attributes of each reflective point, and the reflective point with the largest weight may be used as the target reflective point.

[0077] Among them, when determining the target reflective point, the distance algorithm, centroid algorithm, weight algorithm, outlier algorithm and other algorithms can be used to determine the target reflective point from the detected multiple reflective points. Taking the distance algorithm as an example, assuming that the center of the pupil is point A, and the multiple reflective points detected are B1, B2, B3, etc., for each suspected reflective point, the formula , the distance between the suspected reflection point and the pupil is converted into the weight corresponding to the reflection point. represents the distance between the pupil center and the reflective point, Bn represents the nth reflective point, and D is a preset distance threshold, which can be set to the pupil diameter.

[0078] The embodiment of the present application analyzes the associated properties of all suspected reflective points, determines the most likely target reflective point from multiple detected reflective points, reduces interference from erroneous reflective points, and improves the accuracy of gaze point positioning.

[0079] The eye tracking method provided in the embodiment of the present application can be applied to any eye movement detection task, and can also be applied to the calibration process before performing the eye movement detection task. If only the position coordinates of the pupil are used for calibration during the calibration process, then the subject's slight head movement will change the spatial relationship between the human pupil and the eye movement detection device, resulting in a large deviation, and the current calibration result (actual gaze point) no longer matches the previously calibrated position (calibration stimulus point).

[0080] Therefore, during the calibration process, the pupil-corneal reflection method can be used to irradiate the eyes with infrared light to form a reflective point on the human cornea, and the image of the human eye with the reflective point is captured by the image collector. For each frame of the human eye image obtained, the left eye offset and the right eye offset are determined respectively according to the pupil position of each human eye and the target reflective point position in the frame of the human eye image. Based on the left eye offset and the right eye offset of each frame of the human eye image, the eye tracking calibration is performed to establish a second mapping relationship. The second mapping relationship reflects the mapping relationship between the offset between the pupil and the reflective point and the position coordinates of the gaze point on the display.

[0081] Since the position of the reflective point is relatively stable relative to the position of the pupil, calculating the gaze point based on the offset between the pupil position and the target reflective point position can effectively eliminate the impact of slight head movements (5-10 degrees) of the subjects. Even if the subjects leave the eye movement detection equipment and sit back for detection again, they can still pass the calibration verification. Slight head movements will not have a great impact on the data, and can also ensure that the subjects can successfully complete subsequent tests, which greatly improves the subject experience and avoids repeated calibration of the subjects.

[0082] The present application also provides an eye tracking method. Figure 7 As shown, the following steps S310 to S340 may be included.

[0083] Step S310: obtaining a sequence of human eye images of a target object observing a target scene.

[0084] The human eye image sequence includes multiple frames of human eye images collected continuously when the target object observes the target scene.

[0085] Step S320: for each frame of human eye image, determine the pupil position in the frame of human eye image.

[0086] Optionally, when performing pupil positioning, the entire human eye image may be used as a search area, and the pupil position of the human eye in the frame of the human eye image may be determined therefrom by a fast positioning algorithm.

[0087] Optionally, the above Figure 3 The eye tracking method shown in the figure determines the pupil candidate area (ROI area of ​​the pupil) based on the pupil position of the human eye in the previous image, and uses the pupil candidate area in the human eye image of the frame as the search area to quickly locate the pupil. For details, please refer to the details in the above step S130, which will not be repeated in this embodiment of the present application.

[0088] Step S330: for each frame of the human eye image, determine the target reflective point from the multiple reflective points according to the respective associated attributes of the multiple reflective points in the human eye area of ​​the frame of the human eye image, and determine the position of the target reflective point.

[0089] Since the human eye's pupil cornea is not completely smooth and is affected by factors such as easy tearing, multiple suspected reflective spots may appear on the human eye's cornea.

[0090] Therefore, in an embodiment of the present application, for each frame of human eye image, when there are multiple reflective points in the human eye area of ​​the frame of human eye image, the target reflective point is determined from the multiple reflective points according to the associated attributes of each reflective point, and the position of the target reflective point is determined.

[0091] Optionally, when determining a target reflective point from a plurality of reflective points, the weight of each reflective point may be determined according to associated attributes of each reflective point, and the reflective point with the largest weight may be used as the target reflective point.

[0092] The associated attributes of the reflective point include at least one of the following: the size of the reflective point, the gray value of the reflective point, the relative position between the reflective point and the pupil, and the relative position between the reflective points of the human eye. The details of determining the target reflective point based on the associated attributes of the reflective point can be found in the above description, and the embodiments of the present application will not be repeated here.

[0093] Optionally, when locating the position of the target reflective point, the reflective point candidate area (ROI area of ​​the reflective point) can also be determined based on the position of the target reflective point in the previous image, and the reflective point candidate area is used as the search area to quickly locate the target reflective point. For details, please refer to the above content, and the embodiments of this application will not be repeated here.

[0094] Optionally, in some cases, when the eye moves to certain angles, the brightness of the light spot of the reflective point will decrease or even disappear. Therefore, when detecting the reflective point in the candidate reflective point area, an interpolation algorithm can be used to interpolate the position of the target reflective point. If the reflective point is not detected, the position of the target reflective point of the human eye in the frame of the human eye image is determined based on the position of the target reflective point of the human eye in the previous image of the frame of the human eye image.

[0095] Step S340: Determine the gaze point position of the human eye in each frame of the human eye image based on the pupil position of the human eye and the target reflection point position in each frame of the human eye image.

[0096] For each frame of human eye image, the gaze point position of the human eye in the frame of human eye image can be calculated based on the pupil position of the human eye in the frame of human eye image and the established second mapping relationship. The second mapping relationship can be established during the eye tracking calibration process, and the second mapping relationship reflects the mapping relationship between the pupil-cornea reflection vector and the position coordinates of the gaze point on the display.

[0097] based on Figure 7 The eye tracking method shown determines the real target reflective point according to the associated attributes of each reflective point, greatly reduces the interference of erroneous reflective points, shields multiple other suspected reflective points, avoids deviation in the positioning of reflective points, provides a guarantee for eliminating the influence of head movement, and improves the accuracy of eye tracking.

[0098] Moreover, even if the reflective point is lost, the position of the reflective point in the current frame human eye image can be interpolated based on the reflective point in the previous image, which provides a guarantee for eliminating the influence of head movement.

[0099] Based on the same principle as the eye tracking method provided in the embodiment of the present application, the embodiment of the present application provides an eye tracking device, such as Figure 8 As shown, the eye tracking device 200 may include an image acquisition module 210 , a first pupil positioning module 220 , a second pupil positioning module 230 , and a gaze point determination module 240 .

[0100] An image acquisition module 210 is used to acquire a sequence of human eye images when a target object observes a target scene, wherein the sequence of human eye images includes multiple frames of human eye images; A first pupil positioning module 220, used to determine the pupil position of the human eye in the first frame of the human eye image in the sequence of human eye images; A second pupil positioning module 230 is used to determine the pupil position of the human eye in each non-first frame of the human eye image in the human eye image sequence by performing a first operation; A gaze point determination module 240 is used to determine the gaze point position of the human eye in each frame of the multiple frames of human eye images according to the pupil position of the human eye in the frame of human eye image; Wherein, for each non-first frame human eye image, the first operation includes the following steps: Determine a first reference position of a pupil candidate region in the frame of human eye image according to a pupil position of a human eye in a preceding image of the frame of human eye image, wherein the preceding image includes at least one frame of human eye image in the sequence of human eye images acquired before the frame of human eye image; According to the first reference position and the first area range, the pupil candidate area in the frame of human eye image is determined, and the pupil position of the human eye in the frame of human eye image is determined from the pupil candidate area; wherein the first area range is smaller than the area size of the human eye image.

[0101] Optionally, the multiple frames of human eye images in the human eye image sequence are collected when the human eye is irradiated with infrared light; The gaze point determination module 240 may also be used for: The position of the gaze point of the human eye in the frame of the human eye image is determined according to the position of the pupil of the human eye and the position of the target reflection point in the frame of the human eye image.

[0102] Optionally, the eye tracking device 200 further includes a reflective point positioning module, and the reflective point positioning module can be used to: Determine the position of the target reflective point of the human eye in the first frame of the human eye image in the human eye image sequence; For each non-first frame of the human eye image in the human eye image sequence, the second reference position of the candidate area of ​​the reflection points in the frame of the human eye image is determined according to the position of the target reflection points of the human eye in the previous image of the frame of the human eye image; the candidate area of ​​the reflection points in the frame of the human eye image is determined according to the second reference position and the second area range, and the target reflection point position of the human eye in the frame of the human eye image is determined from the candidate area of ​​the reflection points.

[0103] Optionally, the gaze point determination module 240 may also be used for: Determine the offset between the pupil position and the target reflective point position according to the pupil position of the human eye and the target reflective point position in the frame of human eye image; wherein when the target image moves, the change in the spatial position of the target reflective point is smaller than the change in the pupil position; The gaze point position of the human eye in the frame of human eye image is determined according to the offset between the pupil position and the target reflection point position.

[0104] Optionally, the reflective point positioning module can be used for: Performing reflective point detection on the reflective point candidate area; If no reflective point is detected, the position of the target reflective point of the human eye in the frame of human eye image is determined according to the position of the target reflective point of the human eye in the previous image of the frame of human eye image; If a reflective point is detected, the position of the reflective point is used as the target reflective point position of the human eye; If multiple reflective points are detected, a target reflective point is determined from among the reflective points according to the associated attributes of the reflective points, and the position of the target reflective point is determined; The associated attributes of the reflective point include at least one of the following: The size of the reflective spot; Gray value of the reflective point; The relative position between the reflective point and the pupil The relative position between the reflection points of both eyes.

[0105] Optionally, the target scene includes a number of calibration stimulation points; The eye tracking device 200 further includes a calibration module, which can be used to: For each calibration stimulus point, according to the pupil position of each human eye and the position of the target reflection point in the human eye image when the target object observes the calibration stimulus point, respectively determine the left eye offset and the right eye offset when the target object observes the calibration stimulus point; Eye tracking calibration is performed based on the left eye offset and the right eye offset when the target object observes each calibration stimulus point, and the position of each calibration stimulus point.

[0106] Based on the same principle as the eye tracking method provided in the embodiment of the present application, the embodiment of the present application provides an eye tracking device, such as Fig. 9 As shown, the eye tracking device 400 may include an image acquisition module 410, a pupil positioning module 420, a target reflection point positioning module 430 and a gaze point positioning module 440. Among them: An image acquisition module 410 is used to acquire a sequence of human eye images when a target object observes a target scene, wherein the sequence of human eye images includes multiple frames of human eye images; The pupil positioning module 420 is used to determine the pupil position in each frame of the human eye image; The target reflective point positioning module 430 is used to determine the target reflective point from the multiple reflective points in the human eye area of ​​each frame of the human eye image according to the associated attributes of the multiple reflective points in the human eye area of ​​the frame of the human eye image, and determine the position of the target reflective point; wherein the associated attributes of the reflective point include at least one of the following: the size of the reflective point, the gray value of the reflective point, the relative position between the reflective point and the pupil, and the relative position between the reflective points of both eyes; The gaze point positioning module 440 determines the gaze point position of the human eye in each frame of the human eye image based on the pupil position of the human eye and the target reflection point position in each frame of the human eye image.

[0107] The device of the embodiments of the present application can execute the method provided by the embodiments of the present application, and the implementation principles are similar. The actions performed by each module in the device of each embodiment of the present application correspond to the steps in the method of each embodiment of the present application. For the detailed functional description of each module of the device, please refer to the description in the corresponding method shown in the previous text, which will not be repeated here.

[0108] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0109] An embodiment of the present application provides an eye tracking system, including an image collector, a memory, a processor, and a computer program stored in the memory. When the processor executes the computer program stored in the memory, the method in any optional embodiment of the present application can be implemented.

[0110] Fig.10 FIG. 4 shows a schematic diagram of the structure of an eye tracking system applicable to an embodiment of the present invention. Fig.10 As shown, the system can be used to implement the method provided in any embodiment of the present invention.

[0111] like Fig.10 As shown in FIG. , the eye tracking system 2000 may mainly include at least one processor 2001 ( Fig.10 ), memory 2002, communication module 2003, input / output interface 2004 and image collector 2006 and other components. Optionally, the components can be connected and communicated through bus 2005. It should be noted that, Fig.10The structure of the eye tracking system 2000 shown in the figure is merely illustrative and does not constitute a limitation on the eye tracking system to which the method provided in the embodiment of the present application is applicable.

[0112] The memory 2002 may be used to store an operating system and an application program, etc. The application program may include a computer program that implements the method shown in the embodiment of the present invention when called by the processor 2001, and may also include a program for implementing other functions or services. The memory 2002 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and computer programs, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compact optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0113] The processor 2001 is connected to the memory 2002 via the bus 2005, and implements corresponding functions by calling the application program stored in the memory 2002. The processor 2001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. The processor 2001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.

[0114] The eye tracking system 2000 can be connected to a network through a communication module 2003 (which may include but is not limited to components such as a network interface) to communicate with other devices (such as a user terminal or a server, etc.) through the network to achieve data interaction, such as sending data to other devices or receiving data from other devices. Among them, the communication module 2003 may include a wired network interface and / or a wireless network interface, etc., that is, the communication module may include at least one of a wired communication module or a wireless communication module.

[0115] The eye tracking system 2000 can be connected to the required input / output devices, such as a keyboard, a display device, etc., through the input / output interface 2004. The eye tracking system 2000 itself can have a display device, and can also be connected to other display devices through the interface 2004. Optionally, a storage device, such as a hard disk, can also be connected through the interface 2004, so that the data in the eye tracking system 2000 can be stored in the storage device, or the data in the storage device can be read, and the data in the storage device can also be stored in the memory 2002. It can be understood that the input / output interface 2004 can be a wired interface or a wireless interface. Depending on the actual application scenario, the device connected to the input / output interface 2004 can be a component of the eye tracking system 2000, or it can be an external device connected to the eye tracking system 2000 when needed.

[0116] The bus 2005 for connecting the components may include a path for transmitting information between the above components. The bus 2005 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. According to different functions, the bus 2005 may be divided into an address bus, a data bus, a control bus, etc.

[0117] Optionally, for the solution provided by the embodiment of the present invention, the memory 2002 can be used to store a computer program for executing the solution of the present invention, and run by the processor 2001. When the processor 2001 runs the computer program, the action of the method or device provided by the embodiment of the present invention is implemented.

[0118] Based on the same principle as the method provided in the embodiment of the present application, the embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the corresponding content of the aforementioned method embodiment can be implemented.

[0119] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the corresponding content of the aforementioned method embodiment can be implemented.

[0120] It should be noted that the terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the application described herein can be implemented in an order other than that shown in the figure or described in the text.

[0121] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage in these sub-steps or stages may also be executed at different times respectively. In different scenarios of execution time, the execution order of these sub-steps or stages may be flexibly configured according to demand, and the embodiment of the present application does not limit this.

[0122] The above is only an optional implementation method for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the solution of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.

Claims

1. An eye tracking method, characterized in that: include: Acquire a sequence of human eye images when a target object observes a target scene, wherein the sequence of human eye images includes multiple frames of human eye images; Determining the pupil position of a human eye in a first frame of a human eye image in the sequence of human eye images; For each non-first frame of the human eye image in the human eye image sequence, determining the pupil position of the human eye in the frame of the human eye image by performing a first operation; For each frame of the human eye image in the multiple frames of human eye images, determining a gaze point position of the human eye in the frame of the human eye image according to a pupil position of the human eye in the frame of the human eye image; Wherein, for each non-first frame human eye image, the first operation includes the following steps: Determine a first reference position of a pupil candidate region in the frame of human eye image according to a pupil position of a human eye in a preceding image of the frame of human eye image, wherein the preceding image includes at least one frame of human eye image in the sequence of human eye images acquired before the frame of human eye image; A pupil candidate area in the frame of human eye image is determined according to the first reference position and the first area range, and a pupil position of the human eye in the frame of human eye image is determined from the pupil candidate area.

2. The method according to claim 1, characterized in that The multiple frames of human eye images in the human eye image sequence are collected when the human eye is irradiated with infrared light; The step of determining the gaze point position of the human eye in the frame of the human eye image according to the pupil position of the human eye in the frame of the human eye image comprises: The position of the gaze point of the human eye in the frame of the human eye image is determined according to the position of the pupil of the human eye and the position of the target reflection point in the frame of the human eye image.

3. The method according to claim 2, characterized in that The target reflective point position is determined by: Determine the position of the target reflective point of the human eye in the first frame of the human eye image in the human eye image sequence; For each non-first frame of the human eye image in the sequence of human eye images, determining a second reference position of a candidate region of a reflective point in the frame of the human eye image according to a position of a target reflective point of the human eye in a preceding image of the frame of the human eye image; According to the second reference position and the second area range, a candidate area of ​​reflecting points in the frame of human eye image is determined, and from the candidate area of ​​reflecting points, a target reflecting point position of the human eye in the frame of human eye image is determined.

4. The method according to claim 2, characterized in that: The step of determining the gaze point position of the human eye in the frame of the human eye image according to the pupil position of the human eye and the target reflection point position in the frame of the human eye image comprises: Determine the offset between the pupil position and the target reflective point position according to the pupil position of the human eye and the target reflective point position in the frame of human eye image; The gaze point position of the human eye in the frame of human eye image is determined according to the offset between the pupil position and the target reflection point position.

5. The method according to claim 3, characterized in that: The step of determining the position of a target reflective point of a human eye in the frame of human eye image from the reflective point candidate area includes: Performing reflective point detection on the reflective point candidate area; If no reflective point is detected, the position of the target reflective point of the human eye in the frame of human eye image is determined according to the position of the target reflective point of the human eye in the previous image of the frame of human eye image; If a reflective point is detected, the position of the reflective point is used as the target reflective point position of the human eye; If multiple reflective points are detected, a target reflective point is determined from among the reflective points according to the associated attributes of the reflective points, and the position of the target reflective point is determined; The associated attributes of the reflective point include at least one of the following: The size of the reflective spot; Gray value of the reflective point; The relative position between the reflective point and the pupil The relative position between the reflection points of both eyes.

6. The method according to any one of claims 1 to 5, characterized in that: The target scene includes a number of calibration stimulation points; The method further comprises: For each calibration stimulus point, according to the pupil position of each human eye and the position of the target reflection point in the human eye image when the target object observes the calibration stimulus point, respectively determine the left eye offset and the right eye offset when the target object observes the calibration stimulus point; Eye tracking calibration is performed based on the left eye offset and the right eye offset when the target object observes each calibration stimulus point, and the position of each calibration stimulus point.

7. An eye tracking method, characterized in that: include: Acquire a sequence of human eye images when a target object observes a target scene, wherein the sequence of human eye images includes multiple frames of human eye images; For each frame of human eye image, determining the pupil position in the frame of human eye image; For each frame of the human eye image, according to the associated attributes of the multiple reflective points in the human eye area of ​​the frame of the human eye image, a target reflective point is determined from the multiple reflective points, and the position of the target reflective point is determined; Based on the pupil position of the human eye and the position of the target reflection point in each frame of the human eye image, determine the gaze point position of the human eye in each frame of the human eye image; The associated attributes of the reflective point include at least one of the following: The size of the reflective spot; Gray value of the reflective point; The relative position between the reflective point and the pupil; The relative position between the reflection points of both eyes.

8. An eye tracking device, characterized in that: include: An image acquisition module, used to acquire a sequence of human eye images when a target object observes a target scene, wherein the sequence of human eye images includes multiple frames of human eye images; A first pupil positioning module, used to determine the pupil position of the human eye in the first frame of the human eye image in the human eye image sequence; A second pupil positioning module is used to determine the pupil position of the human eye in each non-first frame of the human eye image in the human eye image sequence by performing a first operation; A gaze point determination module, used for determining the gaze point position of the human eye in each frame of the multiple frames of human eye images according to the pupil position of the human eye in the frame of human eye image; Wherein, for each non-first frame human eye image, the first operation includes the following steps: Determine a first reference position of a pupil candidate region in the frame of human eye image according to a pupil position of a human eye in a preceding image of the frame of human eye image, wherein the preceding image includes at least one frame of human eye image in the sequence of human eye images acquired before the frame of human eye image; A pupil candidate area in the frame of human eye image is determined according to the first reference position and the first area range, and a pupil position of the human eye in the frame of human eye image is determined from the pupil candidate area.

9. An eye tracking device, characterized in that: include: An image acquisition module, used to acquire a sequence of human eye images when a target object observes a target scene, wherein the sequence of human eye images includes multiple frames of human eye images; A pupil positioning module is used to determine the pupil position in each frame of human eye image; A target reflective point positioning module is used to determine a target reflective point from a plurality of reflective points in the human eye region of each frame of human eye image according to the associated attributes of the plurality of reflective points in the human eye region of the frame of human eye image, and determine the position of the target reflective point; wherein the associated attributes of the reflective point include at least one of the following: the size of the reflective point, the gray value of the reflective point, the relative position between the reflective point and the pupil, and the relative position between the reflective points of both eyes; The gaze point positioning module determines the gaze point position of the human eye in each frame of the human eye image based on the pupil position of the human eye and the position of the target reflection point in each frame of the human eye image.

10. An eye tracking system, characterized in that: The eye tracking system includes an image collector, a memory and a processor, the image collector is used to collect human eye images, the memory stores a computer program, and the processor executes the computer program to implement the method described in any one of claims 1 to 6 or claim 7.

11. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 or claim 7 is implemented.

12. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 or claim 7 is implemented.

Citation Information

Patent Citations

  • Self-adaptive eye movement tracking method

    CN107609516A

  • Infrared light-based human-eye action trajectory tracking method and device

    CN107729871A

  • Multi-channel interaction control system of air-defense antimissile weapon

    CN111290575A

  • Pupil motion tracking method and device, equipment and storage medium

    CN116630371A

  • Apparatus and method of gaze tracking based on camera array

    KR1020140125713A

Cited By

  • Eye movement tracking method and device for detecting head movement and removing head movement

    CN119580337A

  • An eye tracking method and apparatus for detecting head motion, removing head motion

    CN119580337B