Facial feature-based controller fatigue monitoring method
The lightweight feature extraction network and Attention Mesh face 468 key point detection algorithm combined with depth separable convolution and Vision Transformer, combined with dynamic time window and EEG signal, solve the problem of face detection accuracy and real-time performance in the existing technology. The problem of insufficient balance and individual differences is addressed, achieving high-precision and robust controller fatigue monitoring.
Patent Information
- Application Number
- CN202410750072.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-12
AI Technical Summary
The existing technology is difficult to balance face detection accuracy and real-time performance, ignores spatial characteristics, and insufficiently handles individual differences, resulting in poor controller fatigue monitoring results, and does not take into account the characteristics of the work scene.
A lightweight feature extraction network that combines depthwise separable convolution and Vision Transformer is used for face detection. It is combined with Google's Attention Mesh face 468 key point detection algorithm to obtain three-dimensional coordinate information, calculates the aspect ratio of the eyes and mouth, and combines the dynamic time window Perform fatigue discrimination with EEG signals, design a dynamic attenuation time window mathematical model and threshold calibration, and integrate working situation characteristics for real-time monitoring.
It improves the accuracy and robustness of face detection, significantly improves the quality of downstream tasks, verifies the effectiveness of fatigue monitoring through dynamic time windows and EEG signal analysis, reduces misjudgment, and provides non-contact fatigue detection effective method.
Smart Images

Figure CN118692124A
Abstract
Description
Technical Field
[0001] The invention relates to the field of civil aviation air traffic human factors, and in particular to a controller fatigue monitoring method based on facial features. Background Art
[0002] With the continuous development of the economy and the continuous improvement of people's travel needs, the civil aviation field has also ushered in unprecedented development opportunities. As an important role in air traffic control, air traffic controllers are responsible for ensuring aviation safety and effective flight management. However, with the increase in the number of flights, the workload faced by air traffic controllers has also increased accordingly. Therefore, how to accurately determine and warn the fatigue state of air traffic controllers is of great significance for preventing the occurrence of unsafe air traffic control incidents. Monitoring the fatigue state of air traffic controllers through facial feature information has become an important research direction in the field of aviation transportation safety due to its real-time, non-invasive and contactless characteristics. However, the fatigue monitoring technology for air traffic controllers based on facial feature information is not mature enough at present, and it is difficult to implement it in actual scenarios with extremely accurate results. There are the following specific problems: ① The current research on the accuracy and real-time performance of face detection is difficult to achieve a good balance, which affects the effect of facial fatigue monitoring. ② Most of the current studies generally use 2D coordinate information when locating facial key points, ignoring some spatial features. At the same time, in the fatigue judgment process, the characteristics of the air traffic controller's work scene are rarely incorporated. ③ In previous studies, most of the methods used to determine the states of the eyes and mouth were machine learning-related methods, which classified different states by training neural network models. Although these methods have certain generalization capabilities, they are slightly insufficient in dealing with test errors caused by individual differences. In this technical field, the published paper "Research on the Method of Controller Fatigue Monitoring Based on Facial Feature Recognition", Journal of China Safety Science, 2012, Vol. 22, No. 7, uses the OpenCV open source computer vision library, combined with image binarization and module matching technologies to identify the fatigue status of controllers, but the fatigue detection effect of the template matching scheme used is poor; the published paper "Fatigue Driving Detection Based on Eye and Mouth State Recognition" Journal of Jilin University, 2017, Vol. 35, No. 2, uses the Adaboost algorithm to detect the driver's face, and then combines it with various prior knowledge including the geometric proportions of the facial features to locate the coordinates of the mouth and eyes, and then uses the grayscale integral projection method to extract the eye opening and mouth roundness, and use them as fatigue features to determine fatigue according to the PERCLOS principle, but its accuracy in face detection and key point positioning is low, affecting downstream tasks. The patent application "A method and system for monitoring the fatigue status of air traffic controllers" has been published with the application publication number of CN117152724A. Although the fatigue of air traffic controllers is detected based on sitting posture, eye and mouth features, it does not consider the impact of the voice load of the air traffic controller on the fatigue status, and the fact that the air traffic controller lowers his head when operating the keyboard will cause false detection. Therefore, designing a non-contact fatigue real-time monitoring method with good accuracy, high robustness and integration of air traffic controller working characteristics is of great significance to prevent the occurrence of unsafe air traffic control incidents. Summary of the invention
[0003] In view of the fact that the existing fatigue monitoring method based on the facial information of air traffic controllers rarely integrates the real control scene and the algorithm has low robustness, a real-time fatigue monitoring method integrating the relevant characteristics of control work is proposed. This method first performs face detection based on the input single-frame image, returns the face confidence and detection frame coordinates, performs non-maximum suppression on the detection results, and limits the detection of only one face in the picture; then the original image is cropped according to the determined face detection frame coordinates; the cropped image is input into the face 468 key point detection model, and the coordinate information of each key point is returned; the three-dimensional coordinate information of the 468 key points of the face obtained by model inference is used to calculate the three-dimensional Euclidean distance, and further reconstruct the aspect ratio function of the eyes and mouth; then the open eyes are selected for a single air traffic controller The eye-mouth aspect ratio of five state images, eyes closed, half-open eyes, open mouth, and closed mouth, was calculated, and the EAR_3D and MAR_3D thresholds corresponding to each subject were calibrated; the eye and mouth states of the controller were determined, and the results were written into the time series array. The continuous frame threshold was set according to the real-time reasoning performance of the computer or edge computing development board to detect severe fatigue behavior and issue an alarm; the dynamic attenuation time window mathematical model was designed by integrating the controller's work scenario; the controller's blinking frequency in the dynamic time window was calculated, and fatigue was judged and an alarm was issued in combination with the corresponding threshold; finally, SPSS was used to perform bivariate correlation analysis on the EEG processing results and facial video processing results of 30 controller samples one by one to verify the effectiveness of the algorithm. This provides relevant ideas for subsequent research on non-contact fatigue detection of controllers.
[0004] The technical solution adopted by the present invention is: a method for monitoring fatigue of controllers based on facial features, which is implemented based on a computer or an edge computing development board. A face detection module, a face key point detection module, an eye-mouth aspect ratio calculation module, a parameter calibration module for individual facial features, a severe fatigue behavior detection module, a fatigue discrimination algorithm design module based on a dynamic attenuation time window, and an algorithm effectiveness analysis module based on an electroencephalogram signal are set in the computer or development board. The steps are as follows:
[0005] Step A, face detection:
[0006] First, face detection is performed based on the input single-frame image, and the face confidence and detection frame coordinates are returned. Non-maximum suppression is performed on the detection results to limit the detection of only one face in the picture.
[0007] Step B, face key point detection:
[0008] After determining the face detection frame coordinates in step A, the original image is cropped according to the coordinates, the cropped image is input into the face 468 key point detection model, and the coordinate information of each key point is returned;
[0009] Step C, calculation of eye and mouth aspect ratio:
[0010] By using the 3D coordinate information of the 468 key points of the face obtained by model inference in step B, the 3D Euclidean distance is calculated to further reconstruct the aspect ratio function of the eyes and mouth;
[0011] Step D: threshold calibration for individual facial feature differences:
[0012] Using the eye-mouth aspect ratio calculation method in step C, select five state images of open eyes, closed eyes, half-open eyes, open mouth, and closed mouth for a single controller to calculate, and calibrate the EAR_3D and MAR_3D thresholds corresponding to each subject, where EAR_3D is the eye aspect ratio and MAR_3D is the mouth aspect ratio;
[0013] Step E, severe fatigue behavior detection:
[0014] The EAR_3D and MAR_3D thresholds obtained in step D are used to determine the eye and mouth states of the controller, and the results are written into the time series array. The continuous frame threshold is set according to the real-time reasoning performance of the computer or edge computing development board to achieve the effect of severe fatigue behavior detection;
[0015] Step F, design of fatigue discrimination algorithm based on dynamic decay time window:
[0016] Based on the fatigue behavior and eye and mouth status information obtained in step E, the dynamic attenuation time window mathematical model is designed by integrating the controller's work scenario. The controller's blinking frequency within the dynamic time window is calculated and combined with the fatigue threshold to perform fatigue identification and issue an alarm at the same time.
[0017] Step G, analysis of algorithm effectiveness based on EEG signals:
[0018] Use SPSS to perform correlation analysis between the controller's EEG signal processing results and the facial video processing results in step F to verify the effectiveness of the algorithm;
[0019] Through the above steps, the fatigue status of the controller is monitored accordingly, and an alarm is issued when the fatigue judgment conditions are met to prevent the occurrence of unsafe air traffic control incidents caused by physical fatigue.
[0020] The face detection model described in step A combines the depthwise separable convolution with the Vision Transformer to build a new lightweight feature extraction network, simplify the encoding method of global feature extraction, and balance the model reasoning accuracy and speed.
[0021] The facial key point detection algorithm described in step B performs second-stage reasoning based on the face detection result of step A, and uses Google's Attention Mesh face 468 key point detection algorithm improved based on Face Mesh to obtain the three-dimensional spatial coordinate information of facial features.
[0022] The eye-mouth aspect ratio calculation method described in step C uses the three-dimensional coordinate information of the face to further reconstruct the aspect ratio function of the eyes and mouth by calculating the three-dimensional Euclidean distance. The specific three-dimensional space Euclidean distance calculation formula is:
[0023]
[0024] Where (x i ,y i , z i ) and (x j ,y j , z j ) are the coordinate information of two points in space respectively; 10 key points of the eye are selected to reconstruct the three-dimensional aspect ratio function, the aspect ratios of the left and right eyes are calculated respectively and then the average is taken, and the final result EAR_3D is used as the basis for evaluating the characteristics of the eye status. Specifically, the aspect ratio of the left eye
[0025] EAR-3D left =P i=160,j=144 +P i=159,j=145 +P i=158,j=153 +P i=157,j=154 / 4×P i=33,j=133 ,
[0026] Right eye aspect ratio
[0027] EAR_3D right =P i=384,j=381 +P i=385,j=380 +P i=386,j=374 +P i=387,j=373 / 4×P i=363,j=263 ,
[0028] Eye aspect ratio
[0029]
[0030] In terms of mouth feature data acquisition, 8 key points are selected to reconstruct the 3D aspect ratio function.
[0031] MAR_3D=P i=81,j=178 +P i=13,j=14 +P i=311,j=402 / 3×P i=62,j=293 .
[0032] The threshold calibration method described in step D first selects five state images of open eyes, closed eyes, half-open eyes, open mouth, and closed mouth from the controller's facial video data; secondly, the key point detection model and the eye-mouth aspect ratio calculation formula are used to determine the EAR_3D and MAR_3D thresholds corresponding to each subject, and the above five states are judged by the threshold range.
[0033] The method for determining the eye and mouth states of the controller described in step E uses the EAR_3D and MAR_3D thresholds determined based on the differences of individual controllers to adjust the state determination interval; distinguishes five states: eyes open, eyes closed, eyes half open, mouth open, and mouth closed; sets continuous frame parameters to identify three severe fatigue behaviors: long-term eyes closed, long-term half-open eyes drowsiness, and yawning, and issue an alarm.
[0034] The method for identifying the three severe fatigue behaviors of long-term eye closure, long-term half-open eye drowsiness, and yawning is:
[0035] 1) Long-term eye closure: If three consecutive frames are less than the middle threshold, it is judged as blinking and blink counting is performed. If 50 consecutive frames are less than the middle threshold, it is judged as long-term eye closure and an alarm is issued;
[0036] 2) Long-term half-open eyes and sleepiness: A single frame is greater than the middle threshold and is judged as an open-eye state. If the eye aspect ratio is within the middle threshold for 50 consecutive frames and the middle threshold is fine-tuned upward, it is judged as a half-open eyes and sleepy state, and an alarm is issued;
[0037] 3) Yawning: If the aspect ratio of the mouth is greater than the closed mouth value for three consecutive frames, it is judged as an open mouth state and the mouth opening count is performed; if the mouth aspect ratio is greater than the open mouth threshold value for 120 consecutive frames, it is judged as a yawning state and an alarm is issued.
[0038] The method for designing a dynamic decay time window mathematical model by integrating the work scenario of the controller described in step F is to introduce three indicators as influencing factors: the controller's on-the-job time, real-time land-air call load, and the number of fatigue events; adopt a time window dynamic decay scheme, use nonlinear least squares method, and fit the decay process to an exponential decay form; assume that the controller's fatigue level will increase with the real-time increase of on-the-job time and voice frequency, and the decay coefficient λ of the dynamic time window W is affected by the above two factors and the bias term that characterizes the fatigue event; the specific formula is:
[0039] λ=kp / (τ-0.1b), W=αe -λt +β,
[0040] Where p represents the total voice frequency, which characterizes the real-time land-air call load; k is the scaling factor, which reasonably maps p, and is taken as 2e-6 here; τ is the decay rate; b is the fatigue event record value, and 0.1 is the mapping coefficient; t is the test time, in seconds / s; α is the function saturation value; β is the dynamic time window function bias term, which represents the lower limit of the time window size. Before the experiment starts, the initial time window is set to 15 minutes, the minimum time window is set to 2 minutes, and the average FPS is 55 to calculate the value of W as 49500; by using the nonlinear least squares method for function fitting, the parameters α are 43544.18, τ is 5.96, and β is 6600; the initial parameters are prior values, which provide an important reference for the subsequent dynamic time window decay calculation, and can be fine-tuned according to the results.
[0041] The fatigue judgment method in step F is to use the ratio of the number of blinks in the variable time window to the time window size F. δ As the final basis for fatigue judgment, F δ Affected by on-the-job time, real-time audio frequency, and the number of fatigue events, the specific formula is:
[0042] F δ =μN blink / W,
[0043] Where N blink is the blink frequency in the dynamic time window; μ is the scale adjustment coefficient, which is 1000 here, and is used to amplify the value of this indicator to the same scale as the subsequent EEG fatigue indicator. δ The indicator threshold is set at 6.5. Once this threshold is exceeded, the system will make a fatigue determination and issue a warning.
[0044] The algorithm effectiveness analysis method based on EEG signals described in step G is based on the F calculated in step F. δ Based on the fatigue index, a multichannel physiological instrument was used to collect four different frequency waves of EEG signals, namely, δ wave, θ wave, α wave and β wave, and the relative power spectrum ratio of slow wave to fast wave was used as the fatigue state judgment index F. ε The specific formula is
[0045] F ε =P′ θ / (P′ α +P′ β )
[0046] Where P′ α is the relative power spectrum of α wave, P′ β is the relative power spectrum of β wave, P′ θ is the relative power spectrum of theta wave; the two index data F δ With Fε The F values of 30 samples were aligned in the time dimension and analyzed using SPSS. δ With F ε The data are subjected to bivariate correlation analysis one by one, and the effectiveness of the controller fatigue discrimination method based on facial features is judged by observing the degree of correlation. The technical beneficial effects produced by the present invention are: the present invention integrates the deep separable convolution with the VisionTransformer in the face detection part, builds a new lightweight feature extraction network, and simplifies the encoding method of global feature extraction. The performance reaches AP values of 0.923, 0.902, and 0.813 at three difficulty levels of the WiderFace dataset; by adopting the Attention Mesh face key point detection algorithm, the three-dimensional coordinate information of 468 facial points is obtained, so that the algorithm performs well in stability, robustness and reasoning speed, and can significantly improve the quality of downstream tasks; by taking the controller's on-the-job time, real-time land-air call load, and the number of fatigue events as the influencing factors of the dynamic time window attenuation rate, the time window size is dynamically adjusted, thereby providing different detection sensitivities at different fatigue stages, effectively alleviating the misjudgment phenomenon caused by detection errors. The indicator F obtained by the algorithm detection is used as the influencing factors of the dynamic time window attenuation rate. δ , compared with the “gold standard” EEG signal indicator F for fatigue detection ε Correlation analysis was performed. In the results of the bivariate cross-correlation analysis of 30 samples, the Pearson correlation coefficient was between 0.462 and 0.785 overall, and the Sig two-tailed significance test was at the 0.01 level, indicating significant correlation, thus verifying the effectiveness and rationality of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A schematic diagram of a method for monitoring controller fatigue based on facial features according to the present invention;
[0048] Figure 2 Schematic diagram of the face detection network structure in the present invention;
[0049] Figure 3 This is a schematic diagram of the ideal time window attenuation trend in the present invention;
[0050] Figure 4 A graph showing the relationship between the speech frequency of a single subject sample and the size of the dynamic time window of the present invention;
[0051] Figure 5 This is a fatigue index relationship diagram of a single test sample of the present invention;
[0052] Figure 6 This is a data distribution diagram of fatigue index of a single test sample of the present invention. DETAILED DESCRIPTION
[0053] A controller fatigue monitoring method based on facial features is implemented on a computer or Jetson series edge computing development board that can run the NVIDIA TensorRT inference framework. It consists of a face detection module, a face key point detection module, an eye-mouth aspect ratio calculation module, a parameter calibration module for individual facial features, a severe fatigue behavior detection module, a fatigue discrimination algorithm design module based on a dynamic attenuation time window, and an algorithm effectiveness analysis module based on EEG signals.
[0054] Embodiment, this method determines the fatigue state of the controller through facial feature information, and uses EEG indicators to evaluate the acquired detection data, so as to verify the effectiveness of the proposed fatigue monitoring algorithm. To this end, the experiment collected facial video data and EEG data of 30 single-release controllers in a control unit during the 35-60 minute control test after the shift. The specific test end time is determined by the instructor based on the control situation. Among them, the video data is collected in high definition using the HP-w300 camera through OBS Studio. The Manglod-10 multi-channel physiological instrument is used for EEG data collection.
[0055] The present invention Figure 1 As shown, it includes five steps from step A to step G, and the specific implementation methods of each step are described in detail below.
[0056] Step A, face detection module: The deep separable convolution is integrated with the Vision Transformer, FPN is used for feature fusion, and the context module in SSH is introduced to expand the receptive field, thereby building a new lightweight feature extraction network and simplifying the encoding method of global feature extraction. The overall network structure is shown in Figure 2 Compared with traditional convolution operations, depthwise separable convolution can reduce the number of parameters and improve the model's computational efficiency. Transformer relies on the self-attention mechanism, which makes it better than CNN in extracting global semantic information. Combining the two can better balance detection performance and detection speed.
[0057] Step B, face key point detection module: The face key point detection algorithm in step B performs the second stage of reasoning based on the face detection result of step A, and uses Google's Attention Mesh face 468 key point detection algorithm based on Face Mesh to obtain the three-dimensional coordinate information of facial features, including x-axis, y-axis, and z-axis coordinates. This algorithm has unique advantages. Its characteristics are that it has made more detailed adjustments and positioning for different areas of the face, especially key areas such as lips, eyes, and eyebrows. This feature enables the algorithm to provide higher accuracy when modeling feature points in important areas in subsequent tasks. Through the application of this algorithm, more accurate detection and recognition of various parts of the face can be achieved, thereby improving the performance of the entire fatigue monitoring system.
[0058] Step C, eye-mouth aspect ratio calculation module: Considering that most previous studies use two-dimensional key point coordinates as variables to construct aspect ratio functions, spatial feature information is lost to a certain extent. To address the above problem, the three-dimensional coordinate information of the face is used to further reconstruct the aspect ratio functions of the eyes and mouth by calculating the three-dimensional Euclidean distance. This algorithm can significantly enhance the richness of spatial semantic features, thereby ensuring the quality of downstream tasks. The specific calculation formula is:
[0059]
[0060] Where (x i ,y i , z i ) and (x j ,y j , z j ) are the coordinate information of two points in space, i and j are the index values of 468 key points. In order to ensure the calculation accuracy and data smoothness, 10 key points of the eye are selected to reconstruct the three-dimensional aspect ratio function, and the aspect ratios of the left and right eyes are calculated and averaged. The final result EAR_3D is used as the basis for evaluating the eye status characteristics.
[0061] EAR_3D left =P i=160,j=144 +P i=159,j=145 +P i=158,j=153 +P i=157,j=154 / 4×P i=33,j=133 ,
[0062] Right eye aspect ratio
[0063] EAR_3D right =P i=384,j=381 +P i-385,j=380 +P i=386,j=374 +P i=387,j=373 / 4×P i=363,j=263,
[0064] Eye aspect ratio
[0065]
[0066] This method can more accurately reflect the state of the eyes and provide more reliable data support for subsequent fatigue monitoring tasks. In terms of mouth feature data acquisition, 8 key points are selected for three-dimensional aspect ratio function reconstruction.
[0067] MAR_3D=P i=81,j=178 +P i=13,j=14 +P i=311,j=402 / 3×P i=62,j=293 .
[0068] Step D, threshold calibration module for individual facial feature differences; considering that most of the previous research processes used machine learning related methods to determine the state of the eyes and mouth, different states were classified by training neural network models. Although these methods have certain generalization capabilities, their performance is slightly insufficient when dealing with test errors caused by individual differences in facial features. In response to the above problems, the feature matching method is used to perform threshold calibration sample by sample while ensuring the efficiency of video stream processing. First, five state images of open eyes, closed eyes, half-open eyes, open mouth, and closed mouth are selected from the facial data set of 30 controllers; secondly, the key point detection model and the eye-mouth aspect ratio calculation formula are used to determine the EAR_3D and MAR_3D thresholds corresponding to each subject, and the above five states are judged by the threshold range. The specific information is shown in Table 1. This calibration method can better solve the threshold detection error caused by individual differences in facial features. At the same time, due to the reduction in the number of related models involved in the calculation, the processing time of a single frame image is greatly reduced;
[0069] Table 1 shows the calibration results of the aspect ratio of the eyes and mouth
[0070]
[0071]
[0072] Step E, severe fatigue behavior detection module: Use the EAR_3D and MAR_3D thresholds obtained in step D to determine the eye and mouth states of the controller, and write the results into the time series array. The eye and mouth state determination is based on the two aspect ratio thresholds obtained in step D. Taking sample 1 as an example, for the eyes, specifically, the aspect ratio of the half-open eyes is taken as the middle threshold of 0.25 for floating up and down, and 0.3 is taken as the upper limit threshold. For the mouth, specifically, the aspect ratio of the closed mouth and the open mouth is taken to form a numerical range of 0.008-0.08. The specific scheme for determining severe fatigue behavior is as follows:
[0073] 1) Long-term eye closure: traverse the time series array, and if the value of three consecutive frames (which can be fine-tuned according to the test results) is less than the middle threshold of 0.25, it is determined as a blink, and the blink count is performed. If the value of 50 consecutive frames (which can be fine-tuned) is less than the middle threshold of 0.25, it is determined as a long-term eye closure state, and an alarm is issued;
[0074] 2) Long-term half-open eyes and sleepiness: traverse the time series array, and if a single frame is greater than the middle threshold, it is judged as an open-eye state. If the eye aspect ratio is within the middle threshold for 50 consecutive frames (fine-tunable), and the middle threshold is fine-tuned upward within the range of 0.25-0.3, it is judged as a half-open eyes and sleepy state, and an alarm prompt is issued;
[0075] 3) Yawning: Traverse the time series array, and if the mouth-closed aspect ratio is greater than 0.03 for three consecutive frames (fine-tunable), it is judged as an open mouth state. When setting this value, it is necessary to consider that some samples have the habit of slightly opening their mouths, and the mouth opening count is performed after filtering this behavior; because the mouth aspect ratio in the yawning state must be greater than the normal value, the mouth aspect ratio is set to be greater than the open mouth threshold value of 0.08 for 120 consecutive frames (fine-tunable), which is judged as a yawning state and an alarm prompt is issued.
[0076] Step F, fatigue discrimination algorithm design module based on dynamic decay time window: The algorithm design idea is to monitor the fatigue state of the controller in real time by dynamically adjusting the time window size, so as to provide different detection sensitivities in the early and late stages of fatigue, thereby alleviating the misjudgment phenomenon caused by detection errors. The dynamic time window mathematical model is designed by integrating the controller's work scenario. Taking into account the controller's scheduling in the actual work process, it is proposed to introduce the controller's on-the-job time, real-time ground-air communication load, and the number of fatigue events as influencing factors; the time window dynamic decay scheme is adopted to adjust the fatigue detection sensitivity in real time while ensuring the correlation of time series information; because the time window decay is a nonlinear process, after a large number of experiments, the nonlinear least squares method is selected to fit the decay process to an exponential decay form, which helps to adapt to changes in fatigue status. The exponential decay function is a function in which the dependent variable decreases exponentially as the independent variable increases. It can be used to deal with time series data, model parameter decay and other problems. In physics, it is often used to describe the decay rate of the kinetic energy of a moving object, such as the process in which the kinetic energy of an object decays over time when it moves. By migrating the scenario and assuming that the fatigue level of the controller will increase with the real-time increase in the on-the-job time and the frequency of voice, the decay coefficient λ of the dynamic time window W is affected by the above two factors, as well as the bias term that characterizes fatigue events (yawning, long-term half-open eyes and drowsiness).
[0077] The specific formula is
[0078] λ=kp / (τ-0.1b), W=αe -λt +β,
[0079] Where p represents the total voice frequency, which characterizes the real-time land and air call load; k is the scaling factor, which reasonably maps p, and is taken as 2e-6 here; τ is the decay rate; b is the fatigue event record value, and 0.1 is the mapping coefficient; t is the test time, in seconds / s; α is the function saturation value; β is the dynamic time window function bias term, which represents the lower limit of the time window size. Before the experiment started, the initial time window was set to 15 minutes and the minimum time window was set to 2 minutes. And use an average FPS of 55 (adjusted according to actual conditions) to calculate the value of W to be 49500. By using the nonlinear least squares method for function fitting, the parameters α are 43544.18, τ is 5.96, and β is 6600. The ideal time window decay curve is shown in Figure 3 , which can achieve the effect that the time window deceleration rate is slow in the early stage of fatigue, the deceleration rate is accelerated in the middle stage, and the curve approaches an asymptote in the late stage and stabilizes at a smaller value. The initial parameter is a priori value and provides an important reference basis for the subsequent dynamic time window attenuation calculation, and fine-tuning can be performed based on the results.
[0080] Fatigue discrimination method, specifically considering that the processing object of the fatigue discrimination task is a real-time video stream sequence with a temporal relationship, it is necessary to pay attention to both the spatial dimension information of a single frame image and the temporal dimension information between multiple frames. In view of the above problems, in order to better measure the fatigue state, it is proposed to use the ratio of the number of blinks in a variable time window to the time window size F δ As the final basis for fatigue judgment. δ Affected by on-the-job time, real-time audio frequency, and the number of fatigue events. The specific formula is:
[0081] F δ =μN blink / W,
[0082] Where N blink is the blink frequency in the dynamic time window; μ is the scale adjustment coefficient, which is 1000 here, and is used to amplify the value of this indicator to the same scale as the subsequent EEG fatigue indicator. Considering that in the awake state, the blink frequency of a person is usually between 15 and 20 times per minute, by converting time and frame rate, F δ The indicator threshold is set at 6.5. Once this threshold is exceeded, the system will make a fatigue determination and issue a warning.
[0083] Step G, EEG-based algorithm effectiveness analysis module: The F calculated in step F δBased on the index, the method of processing the EEG signal data collected synchronously with the facial video is to use a multi-channel physiological instrument to collect four different frequency waves of EEG signals, namely, δ wave, θ wave, α wave and β wave. Given that the EEG signal collection of the controller covers multiple time periods, there are certain changes in the mental state presented at these different time nodes. In order to make the characteristics of θ wave and β wave more comparable, the idea of transfer learning is used to analyze the EEG signal data of the controller using the method of relative power spectrum of EEG signals in the field of driver fatigue research. This method can improve the objectivity and accuracy of the fatigue index obtained. Since the subjects did not reach a deep sleep state in the experiment, δ waves usually appear when adults are anesthetized, asleep or hypoxic. Therefore, without considering the δ wave, the relative power spectrum ratio of slow waves to fast waves is used as the fatigue state judgment index F ε The specific formula is
[0084] F ε =P′ θ / (P′ α +P′ β ),
[0085] Where P′ α is the relative power spectrum of α wave, P′ β is the relative power spectrum of β wave, P′ θ is the relative power spectrum of theta wave. Algorithm validity verification method Considering that EEG signal is the “gold standard” for contact fatigue monitoring, the fatigue index F is obtained by analyzing the facial video data and EEG data. δ With F ε , and align the two indicator data in the time dimension, see Figure 4 The experiment was conducted using facial video data. By analyzing the data, the actual change curve of the voice frequency growth curve and the dynamic time window size was obtained. The specific single sample (subject) data is shown in Figure 2. Figure 5 ,It can be observed from the figure that during the process of control work, the number of voices gradually increases with the actual situation; at the same time, within the time range of 0-20 minutes, the time window size remains stable (the duration is affected by the single frame processing speed and has slight changes). This period is used for F δ The indicator data is originally accumulated. After the data accumulation is completed, the size of the dynamic time window is affected by the accumulation stage time and the voice frequency, and it drops sharply in a small range, and then shows a nonlinear decreasing trend. The lower limit of the window is set to 1 minute. Among them, the relevant parameters within the algorithm are fine-tuned based on the ideal parameters mentioned above. Due to the characteristics of the algorithm, the F in the data accumulation stage δ The value will inevitably show a monotonically increasing trend, so the data of this period will be ignored in the subsequent analysis. δ With F εThe data were subjected to bivariate correlation analysis one by one. Figure 6 The data distribution of fatigue indicators for a single subject is intuitively presented in the form of a violin plot. By observing the median position of the two sets of data and the width of the violin plot, it can be clearly found that the two variables show significant similarities in central trends, and the distribution of data on the horizontal axis is relatively balanced, without obvious skewness or clustering.
[0086] Table 2 is F δ With F ε Correlation analysis results
[0087]
[0088]
[0089] In Table 2, ** indicates that the correlation is significant at the 0.01 level (two-tailed).
[0090] By observing the complete calculation results in Table 2, it can be seen that in the bivariate cross-correlation analysis results of 30 samples, the Pearson correlation coefficient is between 0.462 and 0.785 as a whole, and the Sig two-tailed significance test is at the 0.01 level, and the correlation is significant. Therefore, it can be verified that the effect of the present invention in analyzing facial feature information for real-time fatigue monitoring is close to the fatigue monitoring results based on EEG data, which provides relevant ideas for subsequent non-contact fatigue monitoring research for controllers.
Claims
1. A method for monitoring controller fatigue based on facial features, implemented on a computer or edge computing development board, It is characterized in that Set up a face detection module, a face key point detection module, an eye-mouth aspect ratio calculation module, a parameter calibration module for individual facial features, a severe fatigue behavior detection module, a fatigue discrimination algorithm design module based on a dynamic attenuation time window, and an algorithm effectiveness analysis module based on EEG signals in a computer or development board. The steps are as follows: Step A, face detection: First, face detection is performed based on the input single-frame image, and the face confidence and detection frame coordinates are returned. Non-maximum suppression is performed on the detection results to limit the detection of only one face in the picture. Step B, face key point detection: After determining the face detection frame coordinates in step A, the original image is cropped according to the coordinates, the cropped image is input into the face 468 key point detection model, and the coordinate information of each key point is returned; Step C, calculation of eye and mouth aspect ratio: By using the 3D coordinate information of the 468 key points of the face obtained by model inference in step B, the 3D Euclidean distance is calculated to further reconstruct the aspect ratio function of the eyes and mouth; Step D: threshold calibration for individual facial feature differences: Using the eye-mouth aspect ratio calculation method in step C, select five state images of open eyes, closed eyes, half-open eyes, open mouth, and closed mouth for a single controller to calculate, and calibrate the EAR_3D and MAR_3D thresholds corresponding to each subject, where EAR_3D is the eye aspect ratio and MAR_3D is the mouth aspect ratio; Step E, severe fatigue behavior detection: The EAR_3D and MAR_3D thresholds obtained in step D are used to determine the eye and mouth states of the controller, and the results are written into the time series array. The continuous frame threshold is set according to the real-time reasoning performance of the computer or edge computing development board to achieve the effect of severe fatigue behavior detection; Step F, fatigue discrimination algorithm design based on dynamic decay time window: Based on the fatigue behavior and eye and mouth status information obtained in step E, the dynamic attenuation time window mathematical model is designed by integrating the controller's work scenario. The controller's blinking frequency within the dynamic time window is calculated and combined with the fatigue threshold to perform fatigue identification and issue an alarm at the same time. Step G, analysis of algorithm effectiveness based on EEG signals: Use SPSS to perform correlation analysis between the controller's EEG signal processing results and the facial video processing results in step F to verify the effectiveness of the algorithm; Through the above steps, the fatigue status of the controller is monitored accordingly, and an alarm is issued when the fatigue judgment conditions are met to prevent the occurrence of unsafe air traffic control incidents caused by physical fatigue.
2. The method for monitoring controller fatigue based on facial features according to claim 1, It is characterized in that The face detection model described in step A combines the depthwise separable convolution with the Vision Transformer to build a new lightweight feature extraction network, simplify the encoding method of global feature extraction, and balance the model reasoning accuracy and speed.
3. The method for monitoring controller fatigue based on facial features according to claim 1, It is characterized in that The facial key point detection algorithm described in step B performs second-stage reasoning based on the face detection result of step A, and uses Google's Attention Mesh face 468 key point detection algorithm improved based on Face Mesh to obtain the three-dimensional spatial coordinate information of facial features.
4. The method for monitoring controller fatigue based on facial features according to claim 1, It is characterized in that The eye-mouth aspect ratio calculation method described in step C uses the three-dimensional coordinate information of the face to further reconstruct the aspect ratio function of the eyes and mouth by calculating the three-dimensional Euclidean distance. The specific three-dimensional space Euclidean distance calculation formula is: Where (x i ,y i , z i ) and (x j ,y j , z j ) are the coordinate information of two points in space respectively; 10 key points of the eye are selected to reconstruct the three-dimensional aspect ratio function, the aspect ratios of the left and right eyes are calculated respectively and then the average is taken, and the final result EAR_3D is used as the basis for evaluating the characteristics of the eye status. Specifically, the aspect ratio of the left eye EAR_3D left =P i=160,j=144 +P i=159,j=145 +P i=158,j=153 +P i=157,j=154 / 4×P i=33,j=133 , Right eye aspect ratio EAR_3D right =P i=384,j=381 +P i=385,j=380 +P i=386,j=374 +P i=387,j=373 / 4×P i=363,j=263 , Eye aspect ratio In terms of mouth feature data acquisition, 8 key points are selected to reconstruct the 3D aspect ratio function. MAR_3D=P i=81,j=178 +P i=13,j=14 +P i=311,j=402 / 3×P i=62,j=293 。 5. The method for monitoring controller fatigue based on facial features according to claim 1, It is characterized in that The threshold calibration method described in step D first selects five state images of open eyes, closed eyes, half-open eyes, open mouth, and closed mouth from the controller's facial video data; secondly, the key point detection model and the eye-mouth aspect ratio calculation formula are used to determine the EAR_3D and MAR_3D thresholds corresponding to each subject, and the above five states are judged by the threshold range.
6. The method for monitoring controller fatigue based on facial features according to claim 1, It is characterized in that The method for determining the eye and mouth states of the controller described in step E uses the EAR_3D and MAR_3D thresholds determined based on the differences of individual controllers to adjust the state determination interval; distinguishes five states: eyes open, eyes closed, eyes half open, mouth open, and mouth closed; sets continuous frame parameters to identify three severe fatigue behaviors: long-term eyes closed, long-term half-open eyes drowsiness, and yawning, and issue an alarm.
7. The method for monitoring controller fatigue based on facial features according to claim 6, It is characterized in that The method for identifying the three severe fatigue behaviors of long-term eye closure, long-term half-open eye drowsiness, and yawning is: 1) Long-term eye closure: If three consecutive frames are less than the middle threshold, it is judged as blinking and blink counting is performed. If 50 consecutive frames are less than the middle threshold, it is judged as long-term eye closure and an alarm is issued; 2) Long-term half-open eyes and sleepiness: A single frame is greater than the middle threshold and is judged as an open-eye state. If the eye aspect ratio is within the middle threshold for 50 consecutive frames and the middle threshold is fine-tuned upward, it is judged as a half-open eyes and sleepy state, and an alarm is issued; 3) Yawning: If the aspect ratio of three consecutive frames is greater than the closed mouth aspect ratio, it is judged as an open mouth state and the mouth opening count is performed; If the mouth aspect ratio is greater than the mouth opening threshold for 120 consecutive frames, it is judged as a yawning state and an alarm is issued.
8. The method for monitoring controller fatigue based on facial features according to claim 1, It is characterized in that The method for designing a dynamic decay time window mathematical model integrating the controller's work scenario in step F is to introduce the controller's on-the-job time, real-time ground-air communication load, and the number of fatigue events as influencing factors; adopt a time window dynamic decay scheme, use nonlinear least squares method, and fit the decay process to an exponential decay form; Assuming that the fatigue level of the controller will increase with the real-time increase of on-duty time and voice frequency, the attenuation coefficient λ of the dynamic time window W is affected by the above two factors and the bias term that characterizes the fatigue event; The specific formula is λ=kp / (τ-0.1b), W=αe -λt +b, Where p represents the total voice frequency, which characterizes the real-time land-air call load; k is the scaling factor, which reasonably maps p, and is taken as 2e-6 here; τ is the decay rate; b is the fatigue event record value, and 0.1 is the mapping coefficient; t is the test time, in seconds / s; α is the function saturation value; β is the dynamic time window function bias term, which represents the lower limit of the time window size. Before the experiment starts, the initial time window is set to 15 minutes, the minimum time window is set to 2 minutes, and the average FPS is 55 to calculate the value of W as 49500; by using the nonlinear least squares method for function fitting, the parameters α are 43544.18, τ is 5.96, and β is 6600; the initial parameters are prior values, which provide an important reference for the subsequent dynamic time window decay calculation, and can be fine-tuned according to the results.
9. The method for monitoring controller fatigue based on facial features according to claim 1, It is characterized in that The fatigue judgment method in step F is to use the ratio of the number of blinks in the variable time window to the time window size F. δ As the final basis for fatigue judgment, F δ Affected by on-the-job time, real-time audio frequency, and the number of fatigue events, the specific formula is: F δ =μN blink / IN, Where N blink is the blink frequency in the dynamic time window; μ is the scale adjustment coefficient, which is 1000 here, and is used to amplify the value of this indicator to the same scale as the subsequent EEG fatigue indicator. δ The indicator threshold is set at 6.
5. Once this threshold is exceeded, the system will make a fatigue determination and issue a warning.
10. The method for judging controller fatigue based on facial features according to claim 1, It is characterized in that The algorithm effectiveness analysis method based on EEG signals described in step G is based on the F calculated in step F. δ Based on the fatigue index, a multichannel physiological instrument was used to collect four different frequency waves of EEG signals, namely, δ wave, θ wave, α wave and β wave, and the relative power spectrum ratio of slow wave to fast wave was used as the fatigue state judgment index F. ε The specific formula is F ε =P′ θ / (P′ α +P′ β ), Where P′ α is the relative power spectrum of α wave, P′ β is the relative power spectrum of β wave, P′ θ is the relative power spectrum of theta wave; the two index data F δ With F ε The F values of 30 samples were aligned in the time dimension and analyzed using SPSS. δ With F ε The data were subjected to bivariate correlation analysis one by one, and the effectiveness of the controller fatigue identification method based on facial features was judged by observing the degree of correlation.
Citation Information
Patent Citations
Control member state detection method, device and system
CN110069979A
Fatigue driving detection method based on train cab scene
CN112016429A
Bus driver fatigue parameter compensation and double-track parallel detection method
CN115359462A
Multi-person real-time fatigue detection method based on multi-modal information fusion
CN116612429A
Air traffic controller fatigue state monitoring method and system
CN117152724A
Cited By
Video driver fatigue detection method based on deep integrated network
CN119399740A
