Event camera eye movement tracking system based on frequency self-adaption ultra-low power consumption point cloud representation
Through the combination of frequency-adaptive sliding window expansion and feature extraction module, the problem of insufficient frame rate and power consumption of traditional eye tracking technology is solved, efficient and low-power eye tracking is achieved, and the frame rate and accuracy are improved.
Patent Information
- Application Number
- CN202410708800.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-08-27
AI Technical Summary
Traditional eye tracking technology has shortcomings in terms of frame rate and power consumption, especially in high-speed eye movement scenarios. It is difficult to effectively follow, and the sparse asynchronous characteristics of event-based cameras cannot be fully utilized, resulting in limited applications on mobile devices.
Frequency-adaptive sliding window expansion technology and feature extraction module are used to extract features of event sequences through local and global extractors, attention mechanisms and bidirectional LSTM networks. Combined with the inter-sample feature extraction module, efficient pupil position regression is achieved.
It achieves high equivalent frame rate (more than 240FPS), low computing resource consumption (0.29M parameters, 58.7M FLOPs), and improves the accuracy and efficiency of eye tracking.
Smart Images

Figure CN118550413A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision, and in particular to an eye tracking method and device. Background Art
[0002] Eye tracking technology is crucial in various human-computer interaction applications. Eye tracking is a basic and important task for the AR / VR field. Since AR / VR devices are sensitive to power consumption, size, cost, accuracy, latency, etc., eye tracking is also a challenging task.
[0003] Eye tracking is not just about detecting the position of the eye, but also about accurately locating the pupil and capturing complex eye movement trajectories. From a biological point of view, the characteristics of the human eye enable it to move very quickly, often at speeds exceeding 300° / s, which poses a challenge to capturing and analyzing the tiny but rapid movements of the eye. Even more striking is that the acceleration of the eye in some cases can even reach 24,000° / s. 2 This shows the amazing ability of eye muscles to perform strong and high-frequency movements. Therefore, in order to accurately capture and analyze these complex eye movements, high-speed and high-precision eye tracking systems have become a hot research direction and have received extensive attention and research.
[0004] Eye tracking based on traditional frame cameras, although there are relatively mature image processing technologies, often cannot adapt to the requirements of latency, power consumption, etc. Traditional cameras have some limitations in eye tracking, especially in capturing frame rates. Their maximum frame rate can only reach 120 frames per second, and in high-speed eye movement scenarios, blurring often occurs, which may cause traditional cameras to be unable to effectively follow rapidly moving eyeballs. Although high-speed cameras can provide higher frame rates, they are expensive and consume a lot of power, making them less suitable for deployment on mobile or wearable devices with limited battery resources.
[0005] A new type of sensor called an event camera (also called a dynamic vision sensor) has event-driven characteristics, can respond quickly to changes in spatial light, and has extremely high temporal resolution.
[0006] Although current eye tracking solutions based on event cameras attempt to overcome some of the shortcomings of traditional cameras, they ignore the sparse asynchronous characteristics of these cameras and usually use dense neural network feature extraction, which leads to high power consumption and limits their practical application on mobile devices. How to use the sparse asynchronous characteristics of event cameras to build networks and reduce network calculations is one of the technical challenges in this field.
[0007] The purpose of the present invention is to provide an eye tracking method and device having at least one of the technical effects of low resource consumption, low delay (or high equivalent frame rate), and high precision. Summary of the invention
[0008] In order to alleviate or partially alleviate the above technical problems, the solution of the present invention is as follows:
[0009] An eye tracking device receives an event sequence output by an event camera, comprising: a preprocessing module configured to: if the number of events in a predetermined time window does not reach a threshold, expand the predetermined time window until the number of events in the new time window reaches the threshold, and then sample in the expanded window to obtain a first number of events;
[0010] A first feature extraction module is configured to: extract local spatial features, global spatial features and local temporal features using at least a local extractor, an attention mechanism and a global extractor according to a first number of events;
[0011] The second feature extraction module includes an inter-group aggregation module and an inter-sample feature extraction module, and is configured to: receive the extraction result of the first feature extraction module, then extract the short-term dependency feature of the event sequence according to the inter-group aggregation module, and extract the long-term dependency feature of the event sequence according to the inter-sample feature extraction module; and,
[0012] The regressor is configured to take the long-term dependency feature as input and obtain the pupil position through coordinate regression.
[0013] In some embodiments, the preprocessing module is further configured to: if the number of events in a predetermined time window reaches a threshold, the window size remains unchanged, and then a first number of events are sampled in the window.
[0014] In certain embodiments, when extending the predetermined time window, the following methods are included: extending the time window forward and / or backward.
[0015] In certain embodiments, if the time length of the expanded window reaches a preset length, the expansion of the length of the event window is stopped.
[0016] In certain embodiments, the inter-sample feature extraction module includes one of the following networks: LSTM, transformer, dilated convolutional network or Mamba network.
[0017] In a certain class of embodiments, the first feature extraction module includes a grouping and sampling module and an intra-group aggregation module; the grouping and sampling module implements event sampling and grouping through farthest point sampling and KNN method according to the preprocessed event sequence output by the preprocessing module; the intra-group aggregation module includes a local extractor, an attention mechanism and a global extractor connected in sequence to extract local spatial features, global spatial features and local time features.
[0018] In certain embodiments, the inter-group aggregation module integrates the global temporal information between groups through a bidirectional LSTM and an attention mechanism.
[0019] In certain embodiments, the grouping and sampling module and the intra-group aggregation module are executed in sequence several times in a loop.
[0020] An eye tracking method comprises: receiving an event sequence output by an event camera; if the number of events in a predetermined time window does not reach a threshold, expanding the predetermined time window until the number of events in the new time window reaches the threshold, and then sampling in the expanded window to obtain a first number of events; based on the first number of events, extracting local spatial features, global spatial features and local temporal features using at least a local extractor, an attention mechanism and a global extractor; receiving an extraction result of a first feature extraction module, and then extracting short-time dependency features of the event sequence according to an inter-group aggregation module, and extracting long-time dependency features of the event sequence according to an inter-sample feature extraction module; using the long-time dependency features as input, and obtaining a pupil position through coordinate regression.
[0021] In certain embodiments, if the number of events in a window of predetermined duration reaches a threshold, the window size remains unchanged, and then sampling is performed within the window to obtain a first number of events.
[0022] In certain embodiments, when extending the predetermined time window, the following methods are included: extending the time window forward and / or backward.
[0023] In certain embodiments, if the time length of the expanded window reaches a preset length, the expansion of the length of the event window is stopped.
[0024] In a certain class of embodiments, event sampling and grouping are achieved through farthest point sampling and KNN methods according to the preprocessed event sequence output by the preprocessing module; local spatial features and local temporal features are extracted through sequentially connected local extractors, attention mechanisms and global extractors.
[0025] In certain embodiments, global temporal information between groups is integrated via bidirectional LSTM and attention mechanism.
[0026] The technical solution of the present invention has one or more of the following beneficial technical effects:
[0027] (1) It has a higher equivalent tracking frame rate, far exceeding that of traditional cameras. In one embodiment, the equivalent frame rate exceeds 240FPS.
[0028] (2) Low computing resource consumption: In one embodiment, only 0.29M parameters and 58.7M FLOPs of computing resources are consumed.
[0029] (3) Fully extract local and global spatial features, as well as short-term and long-term temporal features, and the tracking accuracy reaches the current leading level.
[0030] In addition, other beneficial effects of the present invention will be mentioned in the specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 is a schematic diagram of an eye tracking device of the present invention;
[0032] Figure 2 is a further schematic diagram of the eye tracking device of the present invention;
[0033] Figure 3 is a detailed schematic diagram of the eye tracking device of the present invention;
[0034] Figure 4 is a schematic diagram of event density and sliding window;
[0035] Figure 5 It is a performance comparison chart of the present invention and the prior art. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0037] In order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order.
[0038] Figure 1 Schematic diagram of the eye tracking device of the present invention, which includes a preprocessing module, a first feature extraction module, a second feature extraction module and a regressor.
[0039] Preferably, the preprocessing module of the present invention is a frequency-adaptive sampling module, which can balance regions with uneven event numbers.
[0040] Preferably, the second feature extraction module of the present invention is based on an inter-sample feature extraction module, such as an LSTM network, to extract time-dependent characteristics of a long time interval.
[0041] Figure 2 It is a further schematic diagram of the eye tracking device of the present invention. In the present invention, the first feature extraction module includes a sampling and grouping module and an intra-group aggregation module, and the second feature extraction module includes an inter-group aggregation module and an inter-sample feature extraction module.
[0042] For the first feature extraction module and the inter-group aggregation module of the present invention, the technical details can refer to the prior art 1 disclosed by the inventor, which proposed PEPNet. The present invention hereby uses the entire content of the prior art 1 as part of the technical content of the present invention by reference. The technical improvements of the present invention are mainly concentrated on the preprocessing module, and the application of the inter-sample feature extraction module based on the prior art 1.
[0043] Prior art 1 exploits the high temporal resolution and inherent sparsity of events by using raw point clouds directly as network input. The proposed PEPNet excels in extracting spatial and implicit temporal features through a hierarchical structure, and extracting explicit temporal features through Attention Bidirectional Long Short-Term Memory (A-Bi-LSTM).
[0044] PEPNet is a simple and effective point-based network designed to regress the pose of a six-degree-of-freedom (6-DOFs) event camera, which exploits the high temporal resolution and inherent sparsity of events by directly using the raw point cloud as network input. PEPNet excels at extracting spatial and implicit temporal features through a hierarchical structure, and abstracting explicit temporal features through an attention bidirectional long short-term memory (A-Bi-LSTM).
[0045] Prior Art 1: Ren, Hongwei et al. "A Simple and Effective Point-based Network for Event Camera 6-DOFs Pose Relocalization." ArXiv abs / 2403.19412 (2024-Mar 28)
[0046] In the prior art 1, in order to preserve the fine-grained temporal information of the event cloud and the original data distribution properties, the 2D spatial and 1D temporal event information is constructed into a 3D representation for processing in the point cloud. For a given pose in the dataset, the ground truth resolution is limited to 5 milliseconds, while the event resolution is 1 microsecond. By obtaining the events that occur within a time period, i.e., a sliding window corresponding to the pose, these events within a window P i Will be used as the input of the network as shown below:
[0047] P i ={e j→l |t l -t j =R}i=1,...,M
[0048] Symbol R represents the time interval of the sliding window, where j and l represent the start event and end event indexes of the event sequence respectively, and variable M represents the number of sliding windows into which the event sequence is divided. In other words, the time period or time interval corresponding to each window is equal to R. This solution is feasible in the prior art 1, but it has defects in the field of eye tracking: the variance of the number of events in different windows is large, which will affect the performance of eye tracking.
[0049] Figure 3 A detailed schematic diagram of the eye tracking device of the present invention is shown. An event-based sensor, such as an event camera, outputs a number of events. These events have certain differences in sparsity in the time dimension. When the eyeball moves quickly, it is easier to generate more events, while when the eyeball is fixed in one place, fewer events are generated.
[0050] A common way to process event streams is to compress events, that is, to select events within a fixed time range and compress them into a burst of images. However, the sparsity of events in the time dimension varies greatly, and this solution will result in poor performance.
[0051] Another common way to process event streams is to trigger based on the number of events. Set a set number of events, and when the number of newly generated events reaches this number, these events are processed as a burst of images. However, this solution is easily affected by noise, and the waiting time for sparse event streams will be longer, which increases the latency of the system.
[0052] Another processing method is to set the time length of a specific window in the prior art 1. However, no matter which of the above solutions is used, there are certain defects in realizing eye tracking.
[0053] In order to achieve frequency adaptation, the preprocessor module of the present invention adopts a frequency adaptation processing method. First, the event stream is divided into time periods of equal length, for example, 10 ms is a time period.
[0054] During the training phase, in order to fully utilize the high temporal resolution of event data and annotation information, the training data processing splits the motion into 10ms samples and uses non-overlapping 10ms sliding windows, with each sample associated with a 100Hz label.
[0055] The present invention innovatively proposes a frequency adaptive window expansion technology. By designing a frequency adaptive window, the tracking frequency is adaptively adjusted according to the event density. Specifically, if the number of events in a 10ms (example) time window exceeds a predetermined threshold, the window size remains unchanged. Otherwise, the window will gradually and evenly expand to both sides (example) until its number of events reaches the threshold. In other words, in a time period with more events, the time window length is smaller. When the number of events is limited, the time window length will be larger.
[0056] Optionally, the window is gradually and evenly expanded to both sides (for example) until a maximum window length (for example, 100 milliseconds) is reached.
[0057] For example, if the eyeball moves violently in a time period, causing the sensor to generate a large number of events, such as 50,000 events, then 6144 events are selected from these 50,000 events. In another time period, the eyeball is fixed on a certain point or area, and the sensor only outputs 200 events, then the time window can be extended forward and / or backward until the extended time period includes 6144 events.
[0058] For example, the selection method may be random selection.
[0059] In the present invention, only 6144 events are used as a preferred example, which is a hyperparameter. The present invention is not limited to this and is not limited to this.
[0060] That is to say, the events input into the network of the present invention are no longer time windows of fixed duration, but frequency adaptively processed input events. The method of the present invention can avoid the defect that the aforementioned processing methods cannot achieve frequency adaptiveness.
[0061] For the aforementioned 6144 events, N (for example, N=1024) events are then sampled. The sampling method here is, for example, to obtain 1024 events by random sampling.
[0062] The present invention achieves significant reduction in error by adopting an adaptive sliding window, especially in windows with low event density.
[0063] Preferably, eye movement trajectories are diverse in real-world applications such as VR and AR. In order to enrich the diversity of data and the complexity of trajectories, data augmentation techniques such as trajectory inversion can also be applied to avoid overfitting the network to a specific trajectory. This step is crucial to optimize the learning efficiency of the model on different motion trajectories. It can give the network stronger generalization ability and better perform efficient and accurate eye tracking in practical applications.
[0064] After the above frequency-adaptive expansion window design, sampling (N points), normalization and other processes performed in the preprocessing module, a preprocessed point cloud (output denoted as PN) is obtained.
[0065] Before entering the neural network, the events P in the window i Sampling and normalization are also required. Sampling is to unify the number of points N as network input, and N=1024 is set in PEPNet.
[0066] In the training phase of the present invention, N points are randomly selected from each sample to unify the number of points, and each of the S samples is fed into the network as a sequence. Normalization is performed by the spatiotemporal dimensions. In the spatial dimension, the coordinates are normalized by the resolution w and h of the input. Normalization in the temporal dimension is achieved by subtracting the minimum timestamp of each sample and dividing by the length of the timestamp between the start and end events.
[0067]
[0068] Among them, S i ′ and T′ i are the normalized spatial coordinates and time stamp of an event in the ith sample. x and y are the original coordinates, T i Represents the raw timestamp of the midpoint of the ith sample.
[0069] The processing flow of the sampling and grouping module and the intra-group aggregation module involved in the post-processing flow can refer to the prior art 1, which is incorporated into the present application by reference. The present invention is summarized as follows:
[0070] In the sampling and grouping module, the preprocessed data or event sequence will be fed into the sampling and grouping module to obtain the necessary spatiotemporal information. The use of farthest point sampling (FPS) and k-nearest neighbor (KNN) effectively helps to extract local spatial information and (local) temporal information.
[0071] Specifically, the farthest point sampling (FPS) method (output denoted as PS) and the KNN method (output denoted as PG) are first used to promote the effective extraction of local information:
[0072] PS i =FPS(PN i )PG i =KNN(PN i , P.S. i )
[0073] The input dimension PN i is [N, 3+D], the centroid dimension PS i is [N', 3+D], the group dimension PGi is [N', K, 3+2D], K represents the center point (centroid) of the K point; D is the feature dimension of the current stage point, and 3 represents the original (X, Y, T) coordinates. The order of all points in the grouping and sampling process strictly follows the timestamp order. The 2D dimension of the point in the group is the result of connecting to the centroid.
[0074] For example, the farthest point sampling method downsamples 1024 events (points) to obtain 512 (=N') events (points), and K=24 represents the 24 points closest to the 512 points.
[0075] Next, each group goes through a normalization process to ensure consistent variability across points within the group:
[0076]
[0077] g = [x0, y0, t0, ..., x n ,y n , t n ]
[0078] Among them, PG i and PS i It is a subset of PG and PS, g is the coordinate set of all points in PG, std(.) is the standard deviation function, and PGS is the standardized output result.
[0079] The intra-group aggregation module includes a local extractor, an attention mechanism, and a global extractor. The sampling and grouping module and the intra-group aggregation module are executed as a cycle for a total of S num times. For example, S num =3.
[0080] In order to enhance the extraction and integration of features, the intra-group aggregation module designed in the present invention is used to extract local spatial features, global spatial features and local temporal features. The information integration within each group is achieved through the attention mechanism. The intra-group aggregation module combines the extractor and the attention mechanism to effectively extract and integrate local spatiotemporal information.
[0081] For the local extractor (also called local feature extractor), it receives the standardized output result (set as x), and includes the first multi-layer perceptron (MLP1), batch normalization (BN), nonlinear activation (for example, ReLu activation), and the second multi-layer perceptron (MLP2). After batch normalization, O(I(x)) is obtained. For the above modules, after residual connection, nonlinear activation is performed again. The above process can be described by the following formula:
[0082] I(x)=f(BN(MLP1(x)))
[0083] O(x)=BN(MLP2(x))
[0084] Ext(x)=f(x+O(I(x)))
[0085] Among them, f(.) represents the nonlinear activation function.
[0086] The local extractor and the subsequent global extractor maintain the same input and output dimensions. After the specific extractor, the attention mechanism is applied to achieve aggregation and obtain the aggregated feature map. Regarding the attention mechanism, in order to provide a more comprehensive explanation, the present invention adopts a direct attention mechanism in K time dimensions to effectively aggregate features. This mechanism supports the explicit integration of temporal attributes and exploits the inherent strict order of K points.
[0087] In the global extractor (also called global feature extractor), it receives the aggregated feature map and completes the feature extraction of the current stage. For example, the global extractor and the local extractor in the present invention have the same architecture, which will not be described here.
[0088] For the inter-group aggregation module, the temporal features extracted through the hierarchical structure are independent and parallel, lacking a loop mechanism within the network. This unique property is called "implicit", a process that contrasts sharply with the traditional processing method that uses temporal information as an index. The local temporal features extracted from the intra-group aggregation module are independent and parallel between different groups. Therefore, implicit temporal features cannot fully capture the interrelationships between events on the timeline.
[0089] To explicitly capture temporal patterns, the present invention introduces an LSTM network, which has been shown to be effective in learning temporal dependencies. The present invention employs an inter-group aggregation module to integrate global temporal information between groups along the timestamp dimension. The present invention's bidirectional LSTM network works in conjunction with an attention mechanism to elucidate the temporal relationships between different event groups.
[0090] In order to optimize network performance, control feature dimensions, and fully capture bidirectional relationships in the pose context, this paper adopts a lightweight bidirectional LSTM network. The regressor focuses on the output of the bidirectional LSTM network at each time step, preferring the start and end features. Integrating the bidirectional connection into the recurrent neural network can be concisely expressed by the following formula:
[0091] h t =f(W h ·x t +U h ·h t-1 +b h )
[0092] h′ t =f(W′ h ·x t +U′ h ·h′ t+1 +b′ h )
[0093] y t =V·h t +b y y′ t =V′·h′ t +b′ y
[0094] x t represents the feature vector of the t-th time step of the input sequence, h t-1 and h' t+1 The matrix W corresponds to the hidden state of the forward and backward RNN units in the previous time step. h , U h 、b h Represents the weight matrix and bias vector of the forward RNN unit, V and b y represents the weight matrix and bias vector of its output layer. Similarly, W h ′、U′ h , b′ h is the weight matrix and bias vector of the backward RNN unit, V′, b′ y is the weight matrix and bias vector of the output layer of the backward RNN unit. The activation function is denoted by f(.), which can be selected as sigmoid, tanh or other functions.
[0095] The attention mechanism output Y in the final group aggregation module a is the result of aggregation using the attention mechanism at each moment, where Indicates the connection operation, y t is the result of feedforward, y' t This is the result obtained in reverse:
[0096]
[0097] A=SoftMax(MLP(Y t ))
[0098] Y a =A·Y t
[0099] The inter-group aggregation module of the present invention adopts a lightweight design to achieve accurate pupil position regression, which is of great significance for achieving low power consumption and high precision in eye tracking tasks.
[0100] Finally, as another innovation of the present invention, based on the prior art 1, the inter-sample feature extraction module added by the present invention captures the long-term dependency / dependency features of event sequences or sequence samples through an LSTM network to better process and analyze time series event samples, where each sequence contains S samples.
[0101] In the present invention, the long-term correlation characteristics / dependence features can be described as follows:
[0102] h t =f(W h ·x t +U h ·h t-1 +b h ),
[0103] y t =V·h t +b y ,
[0104] Where W h , U h , b h Represents the weight matrix and bias vector, V and b y They represent the weight matrix and bias vector of the output layer respectively, and f(.) is the activation function, which can be selected as sigmoid or other functions. t is the point cloud feature of the sample at time t. Finally, use y t As the input of the regressor, and coordinate regression is performed.
[0105] By combining the short-term correlation / dependence features at the group level and the long-term dependence / dependence features at the sample level, the features of these samples are integrated to predict the corresponding S pupil positions, revealing the temporal connection between sequence samples. The present invention significantly improves the accuracy and efficiency of eye tracking.
[0106] Alternatively, the modules for extracting time series features based on LSTM in the present invention can all be replaced by transformers, dilated convolutional networks, or Mamba networks. The present invention is not limited to LSTM and is not limited to this.
[0107] Figure 4 The statistics of the number of events in different sliding windows over time in the eye tracking task are shown. The frequency adaptive sampling scheme designed by the present invention focuses on samples of different time lengths. The horizontal arrows in the figure are sample / event sequences of different time lengths. The sampling frequency adaptation means that the frequency is uncertain, but the number of events is certain. The number of events is set as a hyperparameter. In the example, the number of events is 6144.
[0108] Figure 5 The performance comparison between the present invention and the prior art is shown. By verifying on the SEET dataset, the present invention achieves excellent accuracy with a relatively low number of parameters and relatively low amount of calculation.
[0109] In summary, the present invention creatively transforms the disclosed solution for camera pose estimation into an eye tracking solution, and achieves the advantages of frequency adaptation, high-precision eye tracking, and lightweight.
[0110] In order to better illustrate the present invention, numerous specific details are provided in the above specific embodiments. It should be understood by those skilled in the art that the present invention can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present invention.
[0111] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An eye tracking device, receiving an event sequence output by an event camera, characterized in that: include: The preprocessing module is configured to: if the number of events in the predetermined time window does not reach the threshold, expand the predetermined time window until the number of events in the new time window reaches the threshold, and then sample the expanded window to obtain the first number of events; A first feature extraction module is configured to: extract local spatial features, global spatial features and local temporal features using at least a local extractor, an attention mechanism and a global extractor according to a first number of events; The second feature extraction module includes an inter-group aggregation module and an inter-sample feature extraction module, and is configured to: receive the extraction result of the first feature extraction module, then extract the short-term dependency feature of the event sequence according to the inter-group aggregation module, and extract the long-term dependency feature of the event sequence according to the inter-sample feature extraction module; and, The regressor is configured to take the long-term dependency feature as input and obtain the pupil position through coordinate regression.
2. The eye tracking device according to claim 1, characterized in that: The preprocessing module is further configured to: if the number of events in a predetermined time window reaches a threshold, keep the window size unchanged, and then sample the window to obtain a first number of events.
3. The eye tracking device according to claim 2, characterized in that: When extending the predetermined time window, the following methods are included: extending the time window forward or / and backward.
4. The eye tracking device according to claim 3, characterized in that: If the time length of the expanded window reaches the preset length, the length of the event window is stopped from being expanded.
5. The eye tracking device according to any one of claims 1 to 4, characterized in that: The inter-sample feature extraction module includes one of the following networks: LSTM, transformer, dilated convolutional network or Mamba network.
6. The eye tracking device according to claim 5, characterized in that: The first feature extraction module includes a grouping and sampling module and an intra-group aggregation module; The grouping and sampling module implements event sampling and grouping through farthest point sampling and KNN method according to the preprocessed event sequence output by the preprocessing module; The intra-group aggregation module includes a local extractor, an attention mechanism and a global extractor connected in sequence to extract local spatial features, global spatial features and local temporal features.
7. The eye tracking device according to claim 6, characterized in that: The inter-group aggregation module integrates the global temporal information between groups through a bidirectional LSTM and an attention mechanism.
8. An eye tracking method, characterized in that: include: Receive the event sequence output by the event camera; If the number of events in the predetermined time window does not reach the threshold, the predetermined time window is extended until the number of events in the new time window reaches the threshold, and then the first number of events is sampled in the extended window; Extracting local spatial features, global spatial features, and local temporal features using at least a local extractor, an attention mechanism, and a global extractor according to the first number of events; Receive the extraction result of the first feature extraction module, then extract the short-term dependency features of the event sequence according to the inter-group aggregation module, and extract the long-term dependency features of the event sequence according to the inter-sample feature extraction module; Taking the long-term dependent features as input, the pupil position is obtained through coordinate regression.
9. The eye tracking method according to claim 8, characterized in that: If the number of events reaches a threshold within a predetermined time window, the window size remains unchanged, and then sampling is performed within the window to obtain a first number of events.
10. The eye tracking method according to claim 9, characterized in that: The global temporal information between groups is integrated via bidirectional LSTM and attention mechanism.
Citation Information
Cited By
Pedestrian detection method, system, chip and equipment based on event camera
CN118762348A
