Cross-platform fixation point real-time tracking method and apparatus, and intelligent terminal

Obtaining face image data through the browser interface and processing it using a deep learning model solves the problems of real-time processing and network bandwidth delay in the existing technology, realizes real-time eye tracking in cross-platform devices and networks, and is suitable for a wide range of applications Application scenarios.

WO2024198121A1PCT designated stage expired Publication Date: 2024-10-03SHENZHEN UNIV

Patent Information

Application Number
PCT/CN2023/103170
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2023-06-28
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

In the existing technology, front-end processing cannot process video data online in real time, and the high network bandwidth delay problem caused by back-end processing limits the application scenarios of eye tracking technology.

Method used

Obtain face image data through the browser interface, use the face detection network model and face key point positioning model for training, obtain the face detection rectangular frame and facial key point position coordinates, and then predict the gaze point position to achieve cross-platform Real-time eye tracking.

Benefits of technology

Real-time eye tracking in cross-platform devices and networks can be achieved without special hardware, which reduces network bandwidth requirements, improves processing efficiency, and is suitable for a wide range of application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023103170_03102024_PF_FP_ABST
    Figure CN2023103170_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present invention are a cross-platform fixation point real-time tracking method and apparatus, and an intelligent terminal. The method comprises: acquiring face image data by means of a browser interface; inputting the face image data into a face detection network model for training to obtain a face detection rectangular box; inputting the face detection rectangular box into a face key point positioning model for training to obtain face key point position coordinates; and obtaining sight line fixation point prediction position coordinates according to the face key point position coordinates. According to the present invention, eye pupil characteristics are obtained to predict fixation point coordinates, an eye movement tracking method can run in real time in a cross-platform device and network, extra hardware is not needed, cross-platform running is supported, and wide application prospects are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

A cross-platform real-time gaze tracking method, device and intelligent terminal Technical Field

[0001] The present invention relates to the field of artificial intelligence, and in particular to a cross-platform gaze point real-time tracking method, device and intelligent terminal. Background Art

[0002] Eye tracking is a method for measuring where people are looking and for how long. It is a common method for understanding human attention in psychology experiments, human-computer interaction research, and medical research. Eye tracking technology tracks eye gaze, or eye movement relative to the head, and reflects how humans visually explore the world.

[0003] Existing research methods primarily focus on offline analysis of eye movement videos, or on exporting the videos to a server for back-end processing. The former requires processing the captured video, which may yield higher accuracy but lacks real-time online image data, limiting the application scenarios of eye movement technology. The latter requires the front-end to export the video to a back-end server for analysis, which places high demands on network bandwidth, incurring high traffic costs and incurring high latency.

[0004] Therefore, the existing technology still needs to be improved and developed.

[0005] Summary of the Invention

[0006] The technical problem to be solved by the present invention is to provide a cross-platform real-time gaze tracking method, device and intelligent terminal in response to the above-mentioned defects of the existing technology, aiming to solve the problems in the existing technology that the front-end processing cannot process video data online in real time, and the back-end processing has a high latency caused by the network bandwidth.

[0007] The technical solutions adopted by the present invention to solve the technical problems are as follows:

[0008] In a first aspect, the present invention provides a cross-platform real-time gaze tracking method, wherein the method comprises:

[0009] Obtain facial image data through the browser interface;

[0010] Inputting the face image data into a face detection network model for training to obtain a face detection rectangular frame;

[0011] Inputting the face detection rectangle into the face key point positioning model for training to obtain the position coordinates of the facial key points;

[0012] According to the position coordinates of the facial key points, the predicted position coordinates of the gaze point are obtained.

[0013] In one implementation, obtaining facial image data through a browser interface includes:

[0014] The image acquisition device on the network is remotely accessed through the getUserMedia / Stream interface of the browser, and the face image data collected by the image acquisition device is obtained in real time.

[0015] In one implementation, inputting the facial image data into a face detection network model for training to obtain a face detection rectangular frame includes:

[0016] Inputting the facial image data into a face detection network model for training to obtain a first detection result;

[0017] A non-maximum suppression post-processing operation is performed on the first detection result to obtain the face detection rectangular frame.

[0018] In one implementation, the face detection network model is a MobileFaceNet model; wherein, the MobileFaceNet model includes a first separable convolution module and a second separable convolution module; the first separable convolution module includes a 5×5 convolution kernel for the shallow layer of the network; the second separable convolution module includes two 5×5 convolution kernels for the deep layer of the network.

[0019] In one implementation, inputting the face detection rectangle into a facial key point positioning model for training to obtain facial key point position coordinates includes:

[0020] Input the face image in the face detection rectangle into the MobileMeshNet network model; wherein the MobileMeshNet network model includes a 2D convolution layer and a residual module; the residual module includes two 3×3 2D convolution layers; the convolution kernel size of the 2D convolution layer is 3×3;

[0021] Using a downsampled residual module to train the face image to obtain dependencies between key point features;

[0022] According to the dependency relationship between the key point features, the face image is decoded using a convolution layer-residual module-convolution layer head to obtain the position coordinates of the facial key points.

[0023] In one implementation, obtaining the predicted position coordinates of the gaze point based on the position coordinates of the facial key points includes:

[0024] By clicking on the gaze point position coordinates, the corresponding calibration facial key point position coordinates are obtained;

[0025] Obtaining corrected coordinate data of eye key point features based on the calibrated facial key point position coordinates; wherein the eye key point features include the pupil center, the left edge point of the pupil, the right edge point of the pupil, the left corner of the eye, and the right corner of the eye; and the corrected coordinate data includes a mapping relationship between the facial key point position coordinates and the gaze point position coordinates;

[0026] Obtaining a gaze coordinate regression model based on the corrected coordinate data of the eye key point features;

[0027] The position coordinates of the facial key points are input into the calibrated gaze coordinate regression model to obtain the predicted position coordinates of the gaze point.

[0028] In one implementation, the gaze coordinate regression model includes an X-axis ridge regression function model and a Y-axis ridge regression function model.

[0029] In a second aspect, an embodiment of the present invention further provides a cross-platform real-time gaze tracking device, wherein the device includes:

[0030] A face image data acquisition module is used to acquire face image data through a browser interface;

[0031] A face detection rectangular frame acquisition module is used to input the face image data into a face detection network model for training to obtain a face detection rectangular frame;

[0032] A facial key point position coordinate acquisition module is used to input the face detection rectangular frame into the facial key point positioning model for training to obtain the facial key point position coordinates;

[0033] The gaze point predicted position coordinate acquisition module is used to obtain the gaze point predicted position coordinates based on the facial key point position coordinates.

[0034] In a third aspect, an embodiment of the present invention further provides an intelligent terminal, wherein the intelligent terminal includes a memory, a processor, and a cross-platform real-time gaze tracking program stored in the memory and runnable on the processor. When the processor executes the cross-platform real-time gaze tracking program, the steps of the cross-platform real-time gaze tracking method as described in any one of the above items are implemented.

[0035] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein a cross-platform real-time gaze tracking program is stored on the computer-readable storage medium, and when the cross-platform real-time gaze tracking program is executed by a processor, the steps of the cross-platform real-time gaze tracking method as described in any one of the above items are implemented.

[0036] Beneficial effects: Compared with the prior art, the present invention provides a cross-platform gaze point real-time tracking method, device and intelligent terminal. The present invention first obtains facial image data through a browser interface, so that the facial image data collected by the terminal device can be obtained through common image acquisition equipment without special hardware. Then, the facial image data is input into the face detection network model for training to obtain a face detection rectangular frame. The super real-time performance enables it to be applied to any face detection rectangular frame that requires an accurate facial region of interest as the input of the next facial key point estimation task model. Next, the face detection rectangular frame is input into the facial key point positioning model for training to obtain the position coordinates of the facial key points, realizing the use of a deep learning model to infer the three-dimensional facial surface without the need for a dedicated depth sensor. Finally, based on the position coordinates of the facial key points, the predicted position coordinates of the gaze point are obtained, thereby realizing real-time eye tracking in cross-platform devices and networks. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0038] FIG1 is a schematic flow chart of a cross-platform real-time gaze tracking method provided by an embodiment of the present invention.

[0039] FIG2 is a schematic diagram of a module of a separation convolution provided by an embodiment of the present invention.

[0040] FIG3 is a schematic diagram of the MobileFaceNet network structure provided by an embodiment of the present invention.

[0041] FIG4 is a schematic diagram of the MobileMeshNet network structure provided by an embodiment of the present invention.

[0042] FIG5 is a block diagram showing the principle of a cross-platform real-time gaze tracking device according to an embodiment of the present invention.

[0043] FIG6 is a block diagram of the internal structure of the smart terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0045] It will be understood by those skilled in the art that, unless expressly stated otherwise, the singular forms "a", "an", "said" and "the" used herein may also include the plural forms. It should be further understood that the term "comprising" used in the description of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, "connected" or "coupled" as used herein may include wireless connections or wireless couplings. The term "and / or" used herein includes all or any units and all combinations of one or more associated listed items.

[0046] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in common dictionaries should be understood to have meanings consistent with their meanings in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless specifically defined as herein.

[0047] Eye tracking is a common method for understanding human attention in psychology experiments, human-computer interaction research, and medical research. Eye tracking technology is a method of tracking eye gaze or eye movement relative to the head, reflecting how humans visually explore the world. Current studies have shown that eye movements can reflect age differences in reading and correlations with age-related diseases; similarly, related studies have shown that gaze focus area preferences can reveal online consumers' purchasing intentions or serve as early developmental biomarkers for autism spectrum disorders. Therefore, research based on eye gaze tracking is of great significance for online browsing behavior and early screening of related geriatric diseases.

[0048] Eye tracking technology has made some progress. Eye trackers, for example, use a near-infrared light source to generate a reflected image on the user's cornea and pupil. Two image sensors are then used to capture the eye and reflected images, creating a three-dimensional eye model to accurately calculate the eye's position in space and the location of gaze. Alternatively, machine learning can be used to analyze gaze points in eye movement videos. Based on a deep learning convolutional neural network, Zhang et al. proposed a method that uses only full facial images as input and employs three-dimensional gaze estimation to assess gaze points. Wong et al. used a residual neural network to predict eye gaze on mobile devices. This method uses image histogram normalization, head pose, and facial mesh features for offline gaze tracking. Other scholars have proposed combining appearance-based gaze estimation with optical flow to improve the accuracy of gaze estimation.

[0049] However, eye trackers use infrared cameras placed at a fixed distance from the user to build a three-dimensional eye model. While they can accurately locate eye gaze, they require precise calibration and setup, are expensive, and are primarily limited to specialized laboratories with human supervision. This makes them difficult to use and difficult to popularize. Traditional image processing methods, such as linear regression and optical flow, rely on appearance and geometric models with high image quality requirements and cannot effectively handle changes in head posture, resulting in low accuracy in predicted eye gaze points. Offline analysis of eye movement videos or exporting the videos to a server for back-end processing are other possible solutions. The former requires processing the captured video, which may yield higher accuracy but lacks real-time online image data, limiting the application scenarios of eye tracking technology. The latter requires the front-end to export the video to a back-end server for analysis, which places high demands on network bandwidth, incurring high traffic costs and introducing high latency. Existing models and methods based on deep learning methods can effectively address the issue of reduced accuracy caused by head movement. However, due to the increased model parameters, they can only be processed offline and tested locally, failing to meet the requirements of real-time execution in a web browser. This limits their application scenarios and practicality.

[0050] To address the above problems, the present invention proposes a real-time gaze tracking system that does not rely on specific hardware, is lightweight, and can run on cross-platform devices and networks. By obtaining the pupil characteristics of the eye to predict the gaze point coordinates, it can adapt to different head postures to accurately complete the prediction of the gaze point. This eye tracking method can run in real time on cross-platform devices and networks, does not require additional hardware, and has broad application prospects.

[0051] Exemplary Methods

[0052] This embodiment provides a cross-platform real-time gaze tracking method. As shown in Figure 1, the method includes the following steps:

[0053] Step S100: Acquire facial image data through a browser interface;

[0054] Specifically, when collecting facial image data, this embodiment does not require the deployment of additional equipment such as eye trackers. It only needs to connect to existing image acquisition equipment through a browser interface to obtain facial image data online, which can better collaborate between the front and back ends.

[0055] In one implementation, step S100 in this embodiment includes the following steps:

[0056] Step S101: remotely access an image acquisition device on the network through the getUserMedia / Stream interface of the browser, and obtain the facial image data acquired by the image acquisition device in real time.

[0057] Specifically, getUserMedia / Stream is a universal web API used to request camera access permissions on image acquisition devices to retrieve local images, videos, and media data. Facial image data is collected through the browser's getUserMedia / Stream API, accessing devices and webcams that support this API. Currently, the getUserMedia / Stream API is compatible with 95% of current computers and mobile devices and networks, requiring no specialized hardware and enabling the capture of terminal camera images on common displays.

[0058] Step S200: inputting the face image data into a face detection network model for training to obtain a face detection rectangular frame;

[0059] Specifically, in this embodiment, face detection is performed on the collected facial image data to obtain a face detection rectangle. The face detection rectangle includes the face image, thus successfully extracting the face image from the terminal camera image obtained via the getUserMedia / Stream interface for use in eye movement detection.

[0060] In one implementation, step S200 in this embodiment includes the following steps:

[0061] Step S201: input the facial image data into a face detection network model for training to obtain a first detection result; the face detection network model is a MobileFaceNet model; wherein the MobileFaceNet model includes a first separable convolution module and a second separable convolution module; the first separable convolution module includes a 5×5 convolution kernel for the shallow layer of the network; the second separable convolution module includes two 5×5 convolution kernels for the deep layer of the network.

[0062] Specifically, this embodiment proposes a face detection solution, MobileFaceNet, as shown in Figure 2. It is a lightweight and high-performance face detector based on the improved and optimized MobileNet, specifically tailored for mobile terminal inference. The detector's ultra-real-time performance enables its application in any real-time viewfinder that requires an accurate facial region of interest as input to the next facial landmark estimation task model. In Figure 2, the left side shows a single-layer FaceBlock, and the right side shows a designed double-layer DoubleFaceBlock that is first up-converted and then down-converted. We use a 5×5 convolution kernel to increase the network's receptive field size while reducing network depth, optimizing real-time inference speed.

[0063] FaceBlock is suitable for shallow network layers, while DoubleFaceblock is suitable for deep network layers. We configured the optimized depthwise separable convolutional module in the SSD detection network. Furthermore, to improve GPU computing efficiency, we used six 8×8 feature maps instead of the original two 2×2, 4×4, and 8×8 feature maps, improving the default anchor mechanism. The specific network architecture is shown in Figure 3. In Figure 3, the model's backbone network consists of a stack of depthwise separable convolutional modules: FaceBlock and DoubleFaceBlock. The last two outputs are used for candidate box proposal.

[0064] Step S202: Perform a non-maximum suppression post-processing operation on the first detection result to obtain the face detection rectangular frame.

[0065] Specifically, the MobileFaceNet model takes a 128×128 image as input and the corresponding face detection bounding box (x, y, w, h). It then applies non-maximum suppression (NMS) to remove overlapping detection bounding boxes. In this example, we set the face confidence threshold to 0.5 and only require the result of a single face detection bounding box to be returned.

[0066] Step S300: inputting the face detection rectangle into a facial key point positioning model for training to obtain the position coordinates of facial key points;

[0067] Specifically, this embodiment uses a deep learning model, namely a facial landmark localization model, to infer the 3D facial surface, using only a face detection rectangle as input, without the need for a dedicated depth sensor. The facial landmark localization model is bundled with a face transformation module to establish a metric 3D space, and the on-screen positions of facial landmarks are used to estimate facial transformations within this space.

[0068] In one implementation, step S300 in this embodiment includes the following steps:

[0069] Step S301: Input the face image in the face detection rectangle into the MobileMeshNet network model; wherein the MobileMeshNet network model includes a 2D convolution layer and a residual module; the residual module includes two 3×3 2D convolution layers; the convolution kernel size of the 2D convolution layer is 3×3;

[0070] Step S302: training the facial image using a downsampled residual module to obtain dependency relationships between key point features;

[0071] Step S303: Decode the facial image based on the dependency relationship between the key point features and the head of the convolution layer-residual module-convolution layer to obtain the position coordinates of the facial key points.

[0072] Specifically, in this embodiment, the face image in the face detection rectangular box is used as input, and a face key point positioning model approximating the three-dimensional surface is predicted through regression, namely, the MobileMeshNet network model. This embodiment uses more downsampling in the input of the neural network training, and devotes most of the calculation to its shallow part, so that the neuron perception begins to cover a large area of ​​the input image relatively early, and can better capture the location information of different key points and the dependency between the key point features, and is only converted into coordinates in the last few layers of the network. The specific network architecture is shown in Figure 4 below.

[0073] Specifically, as shown in Figure 4, the MobileMeshNet network adopts an asymmetric network structure. The backbone network uses more downsampled residual modules to capture the dependencies between key point features. The convolutional layer-residual module-convolutional layer head then decodes the coordinates of the facial key point positions. The model input is a face image within the face detection rectangle of MobileFaceNet, and outputs the coordinates of the facial key point positions. Among them, the convolution kernel size of the 2D convolutional layer (Convolutional2DLayer, Conv2D) is 3×3, the stride is set to 1, and the padding size is set to 1; the residual module is a standard residual module, consisting of two 3×3 convolutional layers (Conv2D) stacked together, implementing residual learning of y = F(x) + x; the maximum value pooling (MaxPooling2DLayer, MaxPool2D) on the connection is set to 2×2.

[0074] Step S400: Obtain the predicted position coordinates of the gaze point based on the position coordinates of the facial key points.

[0075] Specifically, the pupil position can reflect the coordinates of the predicted gaze point. In this embodiment, to match the pupil position and eye features, a mapping relationship between the coordinates of facial key points and the predicted gaze point is required. The gaze point can be located using this mapping relationship.

[0076] In one implementation, step S400 in this embodiment includes the following steps:

[0077] Step S401: Click on the gaze point position coordinates to obtain the corresponding calibration facial key point position coordinates;

[0078] Step S402: Obtaining corrected coordinate data of eye key point features based on the calibrated facial key point position coordinates; wherein the eye key point features include the pupil center, the left edge point of the pupil, the right edge point of the pupil, the left corner of the eye, and the right corner of the eye; and the corrected coordinate data includes a mapping relationship between the facial key point position coordinates and the gaze point position coordinates;

[0079] Step S403: obtaining a gaze coordinate regression model based on the corrected coordinate data of the eye key point features; the gaze coordinate regression model includes an X-axis ridge regression function model and a Y-axis ridge regression function model.

[0080] Specifically, the patent of this invention will adopt the interactive click calibration at 9 points on the test screen. The specific 9 positions on the screen are: upper left, middle left, lower left, upper middle, middle, lower middle, upper right, middle right, and lower right. Each point is clicked 5 times, and the tester is asked to look at the click position to collect the coordinates of the calibrated facial key points. Based on the calibration process, we obtained a series of training correction data. Without losing versatility, we studied the X-axis estimation, and we incorporated the 5 key point features of the facial key point MobileMeshNet model in the eye as input features, including: pupil center, pupil left edge point, pupil right edge point, left corner of the eye, and right corner of the eye. During the user calibration process, N pupil position training examples were obtained as x=(x1,x2..,x N ) and the corresponding click position on the screen display t=(D x1 ,D x2 ,…,D xN ), use a simple linear regression model to learn the relationship between features and the predicted position coordinates of the gaze point, and finally get a function model f(v)→D x It is given a pupil feature vector v and predicts the position of the gaze on the screen along the X-axis. The corresponding optimization objective is expressed as formula (1):

[0081] Where w is the weight of the function f(v). At the same time, its linearity maintains its simplicity and avoids overfitting, resulting in fast evaluation at runtime; without losing generality, we consider the ridge regression function model for X-axis coordinate prediction: f(v)→D x , a regularization constraint is imposed on the model weights, and the optimization objective is evolved into formula (2):

[0082] Among them, λ is a regularization coefficient to avoid overfitting. We empirically set it to λ = 10 -5 In the same way, the same mapping relationship can be established for predicting the gaze point's predicted position coordinates in the Y-axis direction.

[0083] Step S404: input the facial key point position coordinates into the calibrated gaze coordinate regression model to obtain the predicted gaze point position coordinates.

[0084] Specifically, the calibrated gaze coordinate regression model can directly input the five key point features of the eye during the prediction stage and predict the output of the current gaze point position coordinates.

[0085] It should be noted that in order to enable the method in this embodiment to run on cross-platform devices and networks, this embodiment uses TensorFlow.js to convert the deep learning model into a JSON file of the model structure and a BIN file of the model weights, supporting the model to run online on cross-platform devices and networks such as browsers, allowing eye tracking analysis to be migrated to a platform that is scalable to web browsers so that it can run on mobile terminals, actively promoting the development of online and real-time eye tracking.

[0086] For example, facial image data was acquired and the coordinates of the gaze point were predicted on an i5 CPU Windows device, an iPad Mini 2017, and an iPhone XS. Table 1 below shows the prediction accuracy for nine screen locations. The entire system process was tested on three different devices. Table 2 shows the accuracy of the nine gaze points on the screen. This demonstrates that the eye movement analysis system developed using deep learning methods and deployed using TensorFlow.js in this embodiment ensures accurate and timely gaze point prediction.

[0087] Table 1. Time consumption values

[0088] Table 2. Accuracy information of the 9 fixation points on the screen

[0089] Exemplary devices

[0090] As shown in FIG5 , this embodiment further provides a cross-platform gaze point real-time tracking device, the device comprising:

[0091] The facial image data acquisition module 10 is used to acquire facial image data through a browser interface;

[0092] A face detection rectangular frame acquisition module 20 is used to input the face image data into a face detection network model for training to obtain a face detection rectangular frame;

[0093] The facial key point position coordinate acquisition module 30 is used to input the face detection rectangular frame into the facial key point positioning model for training to obtain the facial key point position coordinates;

[0094] The gaze point predicted position coordinate acquisition module 40 is used to obtain the gaze point predicted position coordinates according to the facial key point position coordinates.

[0095] In one implementation, the facial image data acquisition module 10 includes:

[0096] The facial image data acquisition unit is used to remotely access the image acquisition device on the network through the getUserMedia / Stream interface of the browser, and acquire the facial image data collected by the image acquisition device in real time.

[0097] In one implementation, the face detection rectangular frame acquisition module 20 includes:

[0098] The first training unit is used to input the facial image data into the face detection network model for training to obtain a first detection result; the face detection network model is a MobileFaceNet model; wherein the MobileFaceNet model includes a first separable convolution module and a second separable convolution module; the first separable convolution module includes a 5×5 convolution kernel for the shallow layer of the network; the second separable convolution module includes two 5×5 convolution kernels for the deep layer of the network.

[0099] The face detection rectangular frame acquisition unit is used to perform a non-maximum suppression post-processing operation on the first detection result to obtain the face detection rectangular frame.

[0100] In one implementation, the facial key point position coordinate acquisition module 30 of this embodiment includes:

[0101] An image input unit, configured to input the face image in the face detection rectangular frame into the MobileMeshNet network model; wherein the MobileMeshNet network model includes a 2D convolution layer and a residual module; the residual module includes two 3×3 2D convolution layers; the convolution kernel size of the 2D convolution layer is 3×3;

[0102] A second training unit is configured to train the facial image using a downsampled residual module to obtain dependency relationships between key point features;

[0103] The facial key point position coordinate acquisition unit is used to decode the face image according to the dependency relationship between the key point features and adopt the head of the convolution layer-residual module-convolution layer to obtain the facial key point position coordinates.

[0104] In one implementation, the gaze point predicted position coordinate acquisition module 40 of this embodiment includes:

[0105] A calibration facial key point position coordinate acquisition unit is used to acquire the corresponding calibration facial key point position coordinates by clicking the gaze point position coordinates;

[0106] a correction coordinate data acquisition unit for eye key point features, configured to obtain correction coordinate data for eye key point features based on the calibrated facial key point position coordinates; wherein the eye key point features include the pupil center, the left edge point of the pupil, the right edge point of the pupil, the left corner of the eye, and the right corner of the eye; and the correction coordinate data includes a mapping relationship between the facial key point position coordinates and the gaze point position coordinates;

[0107] The gaze coordinate regression model acquisition unit is used to obtain a gaze coordinate regression model according to the corrected coordinate data of the eye key point features; the gaze coordinate regression model includes an X-axis ridge regression function model and a Y-axis ridge regression function model.

[0108] The gaze point predicted position coordinate acquisition unit is used to input the facial key point position coordinates into the calibrated gaze coordinate regression model to obtain the gaze point predicted position coordinates.

[0109] Based on the above embodiments, the present invention also provides an intelligent terminal, whose principle block diagram can be shown in Figure 6. The intelligent terminal includes a processor, a memory, a network interface, a display screen, and a temperature sensor connected via a system bus. Among them, the processor of the intelligent terminal is used to provide computing and control capabilities. The memory of the intelligent terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the intelligent terminal is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a cross-platform real-time tracking method for gaze points is implemented. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the intelligent terminal is pre-set inside the intelligent terminal to detect the operating temperature of the internal device.

[0110] Those skilled in the art will understand that the principle block diagram shown in Figure 6 is only a block diagram of a partial structure related to the solution of the present invention, and does not constitute a limitation on the smart terminal to which the solution of the present invention is applied. The specific smart terminal may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0111] In one embodiment, a smart terminal is provided. The smart terminal includes a memory, a processor, and a cross-platform real-time gaze tracking program stored in the memory and executable on the processor. When the processor executes the cross-platform real-time gaze tracking program, the processor implements the following operating instructions:

[0112] Obtain facial image data through the browser interface;

[0113] Inputting the face image data into a face detection network model for training to obtain a face detection rectangular frame;

[0114] Inputting the face detection rectangle into the face key point positioning model for training to obtain the position coordinates of the facial key points;

[0115] According to the position coordinates of the facial key points, the predicted position coordinates of the gaze point are obtained.

[0116] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, operating database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0117] In summary, the present invention discloses a cross-platform real-time gaze tracking method, device, and intelligent terminal. The method comprises: obtaining facial image data through a browser interface; inputting the facial image data into a face detection network model for training to obtain a face detection rectangle; inputting the face detection rectangle into a face key point positioning model for training to obtain the position coordinates of the facial key points; and obtaining the predicted position coordinates of the gaze point based on the facial key point position coordinates. The present invention predicts the gaze point coordinates by obtaining pupil features, and can run in real time on cross-platform devices and networks. It does not require additional hardware, supports cross-platform operation, and has broad application prospects.

[0118] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A cross-platform real-time gaze tracking method, It is characterized in that The method comprises: Obtain facial image data through the browser interface; Inputting the face image data into a face detection network model for training to obtain a face detection rectangular frame; Inputting the face detection rectangular frame into the face key point positioning model for training to obtain the position coordinates of the facial key points; According to the facial key point position coordinates, the gaze point prediction position coordinates are obtained.

2. The cross-platform real-time gaze tracking method according to claim 1, It is characterized in that The step of obtaining facial image data through a browser interface includes: The image acquisition device on the network is remotely accessed through the getUserMedia / Stream interface of the browser, and the face image data collected by the image acquisition device is obtained in real time.

3. The cross-platform real-time gaze tracking method according to claim 1, It is characterized in that The step of inputting the face image data into a face detection network model for training to obtain a face detection rectangular frame includes: Inputting the face image data into a face detection network model for training to obtain a first detection result; A non-maximum suppression post-processing operation is performed on the first detection result to obtain the face detection rectangular frame.

4. The cross-platform real-time gaze tracking method according to claim 3, It is characterized in that The face detection network model is a MobileFaceNet model; wherein the MobileFaceNet model includes a first separable convolution module and a second separable convolution module; the first separable convolution module includes a 5×5 convolution kernel for a shallow network layer; the second separable convolution module includes two 5×5 convolution kernels for a deep network layer.

5. The cross-platform real-time gaze tracking method according to claim 1, It is characterized in that The step of inputting the face detection rectangular frame into a face key point positioning model for training to obtain the position coordinates of the face key points includes: Input the face image in the face detection rectangular frame into the MobileMeshNet network model; wherein the MobileMeshNet network model includes a 2D convolution layer and a residual module; the residual module includes two 3×3 2D convolution layers; the convolution kernel size of the 2D convolution layer is 3×3; Using a downsampled residual module to train the face image to obtain a dependency relationship between key point features; According to the dependency relationship between the key point features, the face image is decoded using a convolution layer-residual module-convolution layer head to obtain the position coordinates of the facial key points.

6. The cross-platform real-time gaze tracking method according to claim 1, It is characterized in that The step of obtaining the predicted position coordinates of the gaze point according to the position coordinates of the facial key points includes: By clicking the gaze point position coordinates, obtain the corresponding calibration facial key point position coordinates; According to the calibrated facial key point position coordinates, corrected coordinate data of eye key point features are obtained; wherein the eye key point features include the pupil center, the left edge point of the pupil, the right edge point of the pupil, the left corner of the eye and the right corner of the eye; the corrected coordinate data includes a mapping relationship between the facial key point position coordinates and the line of sight gaze point position coordinates; Obtaining a gaze coordinate regression model according to the corrected coordinate data of the eye key point features; The position coordinates of the facial key points are input into a calibrated gaze coordinate regression model to obtain the predicted position coordinates of the gaze point.

7. The cross-platform real-time gaze tracking method according to claim 6, It is characterized in that The gaze coordinate regression model includes an X-axis ridge regression function model and a Y-axis ridge regression function model.

8. A cross-platform real-time gaze tracking device, It is characterized in that The device comprises: A face image data acquisition module is used to acquire face image data through a browser interface; A face detection rectangular frame acquisition module is used to input the face image data into a face detection network model for training to obtain a face detection rectangular frame; A facial key point position coordinate acquisition module is used to input the face detection rectangular frame into the facial key point positioning model for training to obtain the facial key point position coordinates; The gaze point prediction position coordinate acquisition module is used to obtain the gaze point prediction position coordinates according to the facial key point position coordinates.

9. A smart terminal, It is characterized in that The intelligent terminal includes a memory, a processor, and a cross-platform gaze point real-time tracking program stored in the memory and executable on the processor. When the processor executes the cross-platform gaze point real-time tracking program, the steps of the cross-platform gaze point real-time tracking method as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a cross-platform gaze point real-time tracking program. When the cross-platform gaze point real-time tracking program is executed by the processor, the steps of the cross-platform gaze point real-time tracking method as described in any one of claims 1-7 are implemented.

Citation Information

Patent Citations

  • Electronic book reader control method and system based on human eye fixation point detection

    CN110531853A

  • Image-based eye movement tracking method and system

    CN113177515A

  • Man-machine interaction method and device based on sight tracking and computer equipment

    CN113505694A

  • Eye tracking device calibration

    US10884494B1

Cited By

  • Eye movement tracking method and system based on stacked hourglass network and homography transformation

    CN121635683A

  • Eye movement tracking method and system based on mixed attention mechanism

    CN122157345A