Coal mine safety estimation and analysis method and system based on three-dimensional face image recognition

Through three-dimensional face image recognition and multi-sensor data fusion, a coal mine safety estimation and analysis system is constructed, which solves the problems of insufficient worker status monitoring and data integration and analysis capabilities in the existing technology, and achieves real-time and accurate prediction and early warning of coal mine safety monitoring. .

CN118397685BActive Publication Date: 2024-09-20成都科瑞特电气自动化有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410867670.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-20
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

Existing coal mine safety monitoring technology lacks real-time monitoring of worker status, cannot integrate and analyze multiple sensor data and historical safety data, lacks effective prediction models, and fails to fully utilize the potential of big data and artificial intelligence technology.

Method used

A coal mine safety estimation and analysis method based on three-dimensional face image recognition is used to conduct real-time monitoring and emotion recognition of workers' facial expressions through sparse representation algorithms and emotion analysis models. It combines sound sensors and motion sensors to monitor voice and posture action features, and fuses comprehensive features. information, and construct time series data sets for dynamic prediction.

Benefits of technology

Real-time monitoring of the emotions and behaviors of coal miners is achieved, the accuracy of safety monitoring and the ability to predict potential hazards are improved, more accurate safety warnings and intervention measures are provided, and the comprehensiveness of coal mine safety management is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118397685B
    Figure CN118397685B
Patent Text Reader

Abstract

The present invention provides a coal mine safety estimation and analysis method and system based on three-dimensional face image recognition, which relates to the technical field of coal mine safety estimation and analysis, including obtaining coal mine safety history data and face image data in coal mines, using an emotion analysis model to perform emotion recognition on the recognized facial expression information to obtain the emotional state of the workers; using an acoustic feature extraction method to extract speech features to obtain a first feature vector; using a motion sensor to monitor posture and motion data to obtain a second feature vector; constructing a time series data set, using time series data samples as input data sources to train a coal mine safety prediction model and estimate the future trend of changes in coal mine safety status. The beneficial effects of the present invention are that by real-time monitoring and comprehensive analysis of the emotional state and behavioral characteristics of workers, the accuracy of safety monitoring is improved, the ability to predict potential safety hazards is enhanced, and a new technical means is provided for coal mine safety management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of coal mine safety estimation and analysis, and in particular to a coal mine safety estimation and analysis method and system based on three-dimensional face image recognition. Background Art

[0002] The coal mining industry plays an important role in the global energy supply, but it is also one of the high-risk industries. The coal mine operating environment is complex and there are various safety hazards, such as gas explosions, landslides, poisoning and other accidents. These safety hazards not only pose a major threat to the life safety of miners, but also cause serious economic losses. Therefore, improving the safety level of coal mines has always been an important direction of research and technological development. At present, coal mine safety monitoring technology mainly focuses on environmental parameter monitoring, equipment status monitoring and personnel positioning.

[0003] However, the existing technology has obvious defects in the following aspects: first, there is a lack of real-time monitoring of workers' status. The existing system mainly relies on environmental sensors and equipment monitoring, and pays less attention to workers' emotions and behavioral status; second, the existing system usually operates independently, lacks a comprehensive data analysis platform, and cannot integrate and analyze multiple sensor data and historical safety data; and the existing coal mine safety monitoring system mostly stays at the monitoring and early warning level, lacks an effective prediction model, and therefore cannot perform dynamic analysis and trend prediction based on historical data and real-time data, and fails to give full play to the potential of big data and artificial intelligence technology. Therefore, coal mine managers urgently need a comprehensive safety estimation and analysis method to improve miners' safety awareness and reduce the possibility of accidents. Summary of the invention

[0004] The purpose of the present invention is to provide a coal mine safety estimation and analysis method and system based on three-dimensional face image recognition to improve the above problems. In order to achieve the above purpose, the technical solution adopted by the present invention is as follows:

[0005] In the first aspect, the present application provides a coal mine safety estimation and analysis method based on three-dimensional face image recognition, including:

[0006] Obtain coal mine safety history data and face image data of underground coal mines, wherein the coal mine safety history data includes historical safety records of coal mines, accident data, coal mine operation status and environmental parameters; extract and recognize emotions from face image data of underground coal mine workers based on sparse representation algorithm, and use emotion analysis model to perform emotion recognition on the recognized facial expression information to obtain the emotional state of the workers, wherein the extraction process is to represent the face image data as a sparse vector, and use the sparse representation method to extract the facial expression features of underground coal mine workers, wherein the face image data includes facial expression, expression intensity and eye expression;

[0007] The voice data of the workers are monitored by a sound sensor, and the voice features are extracted by an acoustic feature extraction method. The extracted voice features are used as the input of the model. Combined with the preset annotated emotion tags, a sound emotion recognition model is established and trained to obtain the first feature vector, where the voice data includes the workers' voice content, pitch and speaking speed;

[0008] Use motion sensors to monitor posture action data and extract the posture action features of workers. Use the extracted posture action features as the input of the model. Combined with preset annotated behavior labels, establish and train a behavior evaluation and recognition model to obtain a second feature vector, where the posture action data includes the worker's joint angles and motion trajectories.

[0009] The emotional state of the workers, the first eigenvector and the second eigenvector are integrated to obtain comprehensive feature information; the coal mine safety history data is sorted in chronological order to construct a time series data set, in which each time point corresponds to a data sample, and the comprehensive feature information is input as an input feature into the time series data set to form a complete time series data sample;

[0010] Time series data samples are used as the input data source to train the preset coal mine safety prediction model and estimate the changing trend of future coal mine safety status.

[0011] Preferably, the facial image data of coal mine workers are extracted and emotion recognized based on the sparse representation algorithm, and the emotion recognition is performed on the recognized facial expression information using the emotion analysis model to obtain the emotional state of the workers, which includes:

[0012] The collected face image data of coal mine workers are subjected to face alignment and image normalization, and the processed images are sparsely encoded, a dictionary is constructed using the K-SVD algorithm, and a sparse coefficient vector is obtained through the orthogonal matching pursuit algorithm, and the sparse coefficient vector is recorded as the facial features of the face image;

[0013] Based on the facial features of the face image and the preset emotional labels, the sentiment analysis model is trained using the support vector machine, and the parameters of the sentiment analysis model are adjusted by optimizing the loss function of the support vector machine to obtain the trained sentiment analysis model:

[0014] The sparse representation feature extraction is performed on the real-time facial image data of coal mine workers to obtain the sparse vector X 实时 , using the trained sentiment analysis model to analyze the sparse vector X 实时 Classify and get the workers' emotional state.

[0015] Preferably, the voice data of the workers is monitored by a sound sensor, and the voice features are extracted by an acoustic feature extraction method, and the extracted voice features are used as the input of the model, combined with the preset annotated emotion tags, to establish and train a sound emotion recognition model to obtain a first feature vector, which includes:

[0016] Acquire voice data of workers in a coal mine, and pre-process the voice data to obtain first voice data;

[0017] Extracting key features from the first speech data using a Mel-frequency cepstral coefficient method to obtain a first speech feature vector;

[0018] Based on the first speech feature vector and the preset annotated emotion label, a long short-term memory network is used for training, and the emotion is recognized by learning the time series characteristics of the speech features, thereby obtaining a trained sound emotion recognition model;

[0019] Based on the trained voice emotion recognition model, a new speech feature vector is input for forward propagation to recognize the speech emotion and generate the first feature vector.

[0020] Preferably, the motion sensor is used to monitor the posture action data and extract the posture action features of the worker, and the extracted posture action features are used as the input of the model, combined with the preset annotated behavior labels, to establish and train the behavior evaluation and recognition model to obtain the second feature vector, which includes:

[0021] Using motion sensors to collect and pre-process the posture and motion data of workers to obtain pre-processed posture and motion data;

[0022] Extracting the preprocessed posture and motion data according to the wavelet transform method to obtain a first posture motion feature vector;

[0023] Based on the first posture action feature vector and the preset annotated behavior label, the Markov model is used for training, and the behavior is identified by learning the time series characteristics of posture and action features to obtain a behavior evaluation and recognition model:

[0024] Based on the trained behavior evaluation and recognition model, a new posture action feature vector is input for a forward algorithm to recognize the behavior and generate a second feature vector, wherein the forward algorithm calculates the most credible state sequence corresponding to the new posture action feature vector.

[0025] Preferably, the worker's emotional state, the first feature vector and the second feature vector are fused to obtain comprehensive feature information; the coal mine safety history data is sorted in chronological order to construct a time series data set, in which each time point corresponds to a data sample, and the comprehensive feature information is input as an input feature into the time series data set to form a complete time series data sample, which includes:

[0026] The worker's emotional state characteristics, the first characteristic vector and the second characteristic vector are cut at the same time point to obtain comprehensive characteristic information;

[0027] The coal mine safety historical data is interpolated according to the synchronization and sorting of timestamps to obtain a time series data set arranged in chronological order;

[0028] The comprehensive feature information and time series data set are time aligned and trimmed, and the results are input into the time series data set to obtain a complete time series data sample, and each time series data sample is added with a corresponding label, where the label is assigned a corresponding safety label to each time point according to the accident record or safety level in the coal mine safety history data.

[0029] In the second aspect, the present application also provides a coal mine safety estimation and analysis system based on three-dimensional face image recognition, including:

[0030] Emotion acquisition module: used to obtain coal mine safety history data and face image data of underground coal mines, where the coal mine safety history data includes historical safety records, accident data, coal mine operation status and environmental parameters; extract and recognize emotions from face image data of underground coal mine workers based on sparse representation algorithm, and use emotion analysis model to perform emotion recognition on the recognized facial expression information to obtain the emotional state of the workers, where the extraction process is to represent the face image data as a sparse vector, and use the sparse representation method to extract the facial expression features of underground coal mine workers, where the face image data includes facial expression, expression intensity and eye expression;

[0031] The first extraction module is used to monitor the voice data of the workers using the sound sensor, extract the voice features using the acoustic feature extraction method, and use the extracted voice features as the input of the model, and combine the preset annotated emotion tags to establish and train the voice emotion recognition model to obtain the first feature vector, wherein the voice data includes the voice content, pitch and speaking speed of the workers;

[0032] The second extraction module is used to monitor the posture action data using the motion sensor and extract the posture action features of the worker, and use the extracted posture action features as the input of the model, and combine with the preset annotated behavior labels to establish and train the behavior evaluation and recognition model to obtain the second feature vector, wherein the posture action data includes the joint angle and motion trajectory of the worker;

[0033] Fusion construction module: used to fuse the worker's emotional state, the first feature vector and the second feature vector to obtain comprehensive feature information; sort the coal mine safety history data in chronological order to construct a time series data set, in which each time point corresponds to a data sample, and input the comprehensive feature information as input features into the time series data set to form a complete time series data sample;

[0034] Prediction and estimation module: It is used to train the preset coal mine safety prediction model using time series data samples as input data source and estimate the changing trend of future coal mine safety status.

[0035] The beneficial effects of the present invention are:

[0036] The present invention utilizes three-dimensional face image recognition technology to monitor the facial expressions of coal miners in real time and extract facial expression features; combines sparse representation algorithm and sentiment analysis model to identify and evaluate the emotional state of workers and detect emotional abnormalities in a timely manner.

[0037] The present invention also monitors the voice and behavioral characteristics of workers through sound sensors and motion sensors, establishes a sound emotion recognition model and a behavior assessment model, integrates the workers' emotional state, voice characteristics and behavioral characteristics, obtains comprehensive feature information, and improves the comprehensiveness of data integration and analysis.

[0038] The present invention integrates coal mine safety historical data and comprehensive characteristic information in chronological order, constructs a time series data set, and adopts a time series prediction model to dynamically predict the future coal mine safety status, providing more accurate safety warnings and intervention measures. By real-time monitoring and comprehensive analysis of workers' emotional states and behavioral characteristics, it not only improves the accuracy of safety monitoring, but also enhances the ability to predict potential safety hazards, making up for the shortcomings of existing technologies and providing new technical means for coal mine safety management.

[0039] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or be understood by implementing the embodiments of the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 It is a schematic flow chart of a coal mine safety estimation and analysis method based on three-dimensional face image recognition described in an embodiment of the present invention;

[0042] Figure 2 It is a schematic diagram of the structure of a coal mine safety estimation and analysis system based on three-dimensional face image recognition described in an embodiment of the present invention.

[0043] In the figure: 701, emotion acquisition module; 7011, first processing unit; 7012, training unit; 7013, classification unit; 702, first extraction module; 7021, first preprocessing unit; 7022, feature extraction unit; 7023, first recognition unit; 7024, first generation unit; 703, second extraction module; 7031, second preprocessing unit; 7032, vector acquisition unit; 7033, second recognition unit; 7034, second generation unit; 704, fusion construction module; 7041, cutting unit; 7042, interpolation processing unit; 7043, sample acquisition unit; 705, prediction estimation module. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0045] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0046] Embodiment 1:

[0047] This embodiment provides a coal mine safety estimation and analysis method based on three-dimensional face image recognition.

[0048] See also Figure 1 , the figure shows that the method includes step S100, step S200, step S300, step S400 and step S500.

[0049] S100. Obtain coal mine safety history data and facial image data of workers in underground coal mines, wherein the coal mine safety history data includes historical safety records of coal mines, accident data, coal mine operating status and environmental parameters; extract and recognize emotions from facial image data of workers in underground coal mines based on a sparse representation algorithm, and use a sentiment analysis model to perform emotion recognition on the identified facial expression information to obtain the workers' emotional state, wherein the extraction process is to represent the facial image data as a sparse vector, and use a sparse representation method to extract facial expression features of workers in underground coal mines, wherein the facial image data includes facial expressions, expression intensity and eye expressions.

[0050] It should be noted that in coal mine safety management, emotion recognition based on three-dimensional face image recognition technology is an important and creative means to capture and analyze the facial expressions of underground workers and evaluate their emotional state in real time. First, the facial images of workers collected by high-definition cameras are preprocessed, including face detection, alignment, normalization, etc., to ensure the quality and consistency of the images. Then, the sparse representation algorithm is used to extract features from the preprocessed images. Specifically, the face image is converted into a sparse vector, and the key point changes of eyebrows, eyes, and mouth are selectively highlighted by the L1 norm minimization method. These feature vectors can effectively capture the slight changes in facial expressions, thereby forming a high-dimensional sparse feature space. Subsequently, these sparse features are used to classify emotions using a pre-trained convolutional neural network (CNN) or a deep residual network (ResNet), and specific emotional states such as happiness, anger, and sadness are identified. Through a well-trained emotion recognition model (such as a Haar cascade classifier combined with a deep learning model), the sparse features are associated with the emotion labels, and multi-category emotion prediction is performed using a soft maximization function. Ultimately, the system analyzes continuous emotional state data, combines historical safety records and current environmental parameters, evaluates workers' psychological stress and potential risks, and forms a comprehensive coal mine safety early warning mechanism. This approach not only enhances the real-time and accuracy of safety management, but also improves the overall safety level of coal mine production through big data analysis and artificial intelligence technology.

[0051] It can be understood that step S100 includes S101, S102 and S103, wherein:

[0052] S101, performing face alignment and image normalization processing on the collected face image data of the coal mine workers, and performing sparse coding on the processed image, constructing a dictionary using the K-SVD algorithm, and obtaining a sparse coefficient vector through an orthogonal matching pursuit algorithm, and recording the sparse coefficient vector as the facial feature of the face image;

[0053] It should be noted that by detecting key points of the face (such as eyes, nose, mouth, etc.), the face is rotated, scaled and moved to a unified reference coordinate system to eliminate the influence of angle and position, the image is scaled to the same size, and the brightness and brightness are normalized to reduce the influence of brightness and brightness. The image is represented as sparse, that is, the image is approximated by a linear combination of a small number of basis processes. The advantage of sparse coding is that it can capture the key features in the image while ignoring unimportant information. The dictionary matrix D is iteratively optimized through the K-SVD algorithm, so that the image X can be approximately represented using the sparse matrix A, that is, X≈DA. That is, through the K-SVD algorithm, a dictionary is constructed to better capture the sparse representation of the sparse features of underground coal mine workers, thereby improving the effect of feature extraction.

[0054] S102, based on the facial features of the face image and the preset emotional labels, the sentiment analysis model is trained using a support vector machine, and the parameters of the sentiment analysis model are adjusted by optimizing the loss function of the support vector machine to obtain a trained sentiment analysis model, and the calculation formula is as follows:

[0055]

[0056] Where L(w, b) is the loss function of the support vector machine, w is the weight vector, b is the bias term, C is the complexity of the control sentiment analysis model, N is the number of training samples, and y is i is the sentiment label of the i-th training sample, x i is the feature vector of the i-th training sample, is the weight vector w and the feature vector x i The dot product of

[0057] It should be noted that, according to the facial image features (sparse factors) and the inner emotional labels (such as happiness, sadness, tension, etc.), compared with the emotional labels, the facial expressions and emotional states of employees are responded to through the expert core or default rules to form a training data set, and the labeled data is adjusted to ensure the consistency and quality of the data. According to the training data set with emotional labels, the SVM supervised learning model is used to classify the data by finding the optimal decision boundary (hyperplane). During the training process, the SVM optimizes its loss function, maximizes the distance between classes, and minimizes the classification tray. The SVM hyperparameters, such as the regularization parameter C and the kernel function parameters, are optimized through grid search or random search, and the model is evaluated using the cross-validation method. The model performance is tested using an independent validation set to evaluate its performance on unseen data. Through the above steps, an efficient sentiment analysis model is finally obtained, which can identify the emotional state of underground coal mine workers in real time and accurately, and provide a scientific basis and decision support for coal mine safety management.

[0058] S103, extracting sparse representation features from the face image data of underground coal mine workers obtained in real time to obtain a sparse vector X 实时 , using the trained sentiment analysis model to analyze the sparse vector X 实时 Classify and get the workers' emotional state, the calculation formula is as follows:

[0059]

[0060] Where Emotion is the predicted emotional state, For the emotion recognition model i A confidence scoring function for a sentiment.

[0061] Specifically, in this step, the standardized face image is represented as a sparse vector, and the sparse coefficient vector X is solved by the orthogonal matching pursuit algorithm using the pre-built dictionary D. 实时 ,The facial feature vector extracted by sparse coding can effectively capture the key information in the facial image. The SVM sentiment analysis model has learned the feature patterns corresponding to different emotional states during the training process, so it can accurately identify the emotional state of the workers through the input sparse vector. The real-time emotion recognition system can timely detect the emotional fluctuations of workers in the underground working environment of coal mines and provide early warning signals, which helps to take measures in advance to prevent safety accidents caused by emotional fluctuations and improve the safety and efficiency of coal mine production; at the same time, the accumulation and analysis of emotional state data can also provide a reference for further mental health management.

[0062] S200. Use a sound sensor to monitor the worker's voice data, use an acoustic feature extraction method to extract voice features, and use the extracted voice features as the input of the model. Combined with preset annotated emotion tags, a sound emotion recognition model is established and trained to obtain a first feature vector, wherein the voice data includes the worker's voice content, pitch, and speaking speed.

[0063] It should be noted that, firstly, the workers' voice data are collected in real time through high-sensitivity microphones arranged in the mine, which include multi-dimensional information such as voice content, pitch and speaking speed. Then, the collected voice data is processed by acoustic feature extraction method. Specifically, the characteristics of voice signals are extracted using technologies such as Mel-frequency cepstral coefficients (MFCC), linear predictive coding (LPC) and constant Q transform (CQT). These features can effectively capture the frequency, amplitude and time characteristics of voice, reflect the emotional state and tone changes of workers, and extract vector features. Subsequently, these feature vectors are used as input data, combined with preset annotated emotional labels, to establish and train the sound emotion recognition model. During the training process, the supervised learning method is used to input the data set with emotional labels into the model, and the model parameters are adjusted through the back propagation algorithm to optimize the model performance. The specific model can use traditional machine learning algorithms such as hidden Markov models or support vector machines, or deep learning models such as long short-term memory networks (LSTM), which can capture the dynamic changes of voice features over time. During the training process, the optimization objective function is to minimize the classification error, and the cross entropy loss function is usually used. Finally, the trained voice emotion recognition model can output the first feature vector, which contains the emotional state information corresponding to the worker's voice data. By combining these voice emotion features with facial expression features, the emotional state and psychological pressure of workers can be more comprehensively evaluated, thereby providing real-time emotion monitoring and risk warning for coal mine safety management, improving the accuracy and robustness of emotion recognition, and further enhancing the safety assurance capability of coal mine production.

[0064] It can be understood that step S200 includes S201, S202, S203 and S204, wherein:

[0065] S201, acquiring voice data of a coal mine worker, and preprocessing the voice data to obtain first voice data;

[0066] S202, using the Mel frequency cepstral coefficient method to extract key features in the first speech data, and obtain a first speech feature vector, the calculation formula of which is as follows:

[0067]

[0068] In the formula, MFCC is the first speech feature vector, DCT is discrete cosine transform, and FFT is fast Fourier transform;

[0069] It should be noted that the voice data of the workers is collected using a sound sensor, and the collected voice data is preprocessed, including noise removal, downsampling and other operations to ensure data quality. After preprocessing, the first voice data is obtained, that is, the prepared voice data is used for feature extraction. The Mel frequency cepstral coefficient method is used to convert the first voice data into Mel frequency cepstral coefficients to represent voice features, and the MFCC coefficients are used as voice feature vectors for subsequent training and recognition of sentiment analysis models.

[0070] S203, based on the first speech feature vector and the preset annotated emotion label, using the long short-term memory network for training, identifying emotions by learning the time series characteristics of speech features, and obtaining a trained sound emotion recognition model;

[0071] It should be noted that the noise in the coal mine environment is relatively high, so the collection and preprocessing of voice data is particularly important. First, the voice data of workers is collected using highly sensitive sound sensors. These data include information such as the voice content, pitch, and speaking speed of workers in different working scenarios. The collected original voice signals need to undergo preprocessing steps such as noise reduction and removal of silent segments to improve the effect of subsequent feature extraction and model training. The Mel Frequency Cepstral Coefficient (MFCC) method is used to extract key features from the preprocessed voice data. MFCC is a commonly used method in speech signal processing. It simulates the human ear's perception mechanism of sound and can effectively capture the voice features in the voice signal. The features extracted by MFCC include the spectral features, pitch, and rhythm of the voice.

[0072] It is understandable that the collected voice data is matched with the preset annotated emotional labels. These labels are annotated according to the voice performance of the workers in different emotional states, such as anger, happiness, sadness, tension, etc. The annotation process needs to rely on professional listening analysis or be assisted by a pre-trained emotion recognition model. Among them, the long short-term memory network (LSTM) is a special recursive neural network (RNN) that can effectively learn and capture long-range dependencies in time series data. It is very suitable for processing time series data of voice features. The LSTM network structure consists of multiple LSTM units, each of which contains an input gate, a forget gate and an output gate. These gating mechanisms are used to control the flow of information. In this step, the training process is to use the extracted first voice feature vector as the input of the LSTM model and the annotated emotional label as the target output of the LSTM model; input the first voice feature vector into the LSTM model and perform forward propagation calculation. Through the synergistic effect of the input gate, the forget gate and the output gate, the LSTM model can effectively capture the time series characteristics in the voice data, and through the back-propagation algorithm, calculate the gradient of the loss function (usually the mean square error MSE), and the calculation formula is:

[0073]

[0074] Where N is the number of samples, y i is the actual sentiment label, The sentiment label predicted by the model;

[0075] The weights and biases of the LSTM model are adjusted using optimization algorithms (such as the Adam optimizer) to minimize the loss function, thereby improving the model's emotion recognition ability.

[0076] Through the above training process, the trained sound emotion recognition model can recognize the workers' voice emotional state in real time and accurately. The creativity of this method lies in using the LSTM model to perform deep learning on the time series characteristics of speech features, so that the model can capture subtle changes in the workers' emotional state. Compared with traditional emotion recognition methods, this model has higher robustness and recognition accuracy in complex environments, and can better ensure the safety of coal mine operations and the work efficiency of workers.

[0077] S204: Based on the trained voice emotion recognition model, a new speech feature vector is input for forward propagation, speech emotion is recognized, and a first feature vector is generated.

[0078] It should be noted that in the forward propagation process, the input new speech feature vector is processed through the following steps: forget gate calculation, input gate calculation, output gate calculation, and hidden state update. The input layer receives the new speech feature vector and passes it to the hidden layer. The hidden layer is composed of multiple LSTM units. Each LSTM unit processes the input information through the input gate, forget gate, and output gate to capture the time series characteristics of the speech features. The output layer processes the output of the hidden layer to generate the emotion recognition result, which will not be described in detail here. Through the above steps, the new speech feature vector is processed in the LSTM model, and finally the emotion recognition result is generated in the output layer.

[0079] Through this step, the system can identify and monitor the emotional state of workers in coal mines in real time, with the following beneficial effects: using real-time collected voice data and trained emotion recognition models, the emotional state of workers can be detected in real time, providing immediate feedback for on-site safety management; the LSTM model can effectively capture the time series characteristics of voice features, improve the accuracy of emotion recognition, and reduce false positives and negatives; timely identification of workers' negative emotions, such as tension, anxiety or anger, can prevent possible safety accidents and improve the safety of underground operations; by monitoring and analyzing the emotional state of workers, managers can understand the mental health of workers, take measures to improve the working environment, and improve worker satisfaction and work efficiency.

[0080] S300, using motion sensors to monitor posture action data and extract posture action features of workers, using the extracted posture action features as input to the model, combining with preset annotated behavior labels, establishing and training a behavior assessment and recognition model, and obtaining a second feature vector, wherein the posture action data includes the joint angles and motion trajectories of the workers.

[0081] It can be understood that step S300 includes S301, S302, S303 and S304, wherein:

[0082] S301, using a motion sensor to collect and pre-process the posture and motion data of the worker to obtain the pre-processed posture and motion data;

[0083] S302, extracting the preprocessed posture and motion data according to the wavelet transform method to obtain a first posture motion feature vector;

[0084] S303: Based on the first posture action feature vector and the preset annotated behavior label, the Markov model is used for training, and the behavior is identified by learning the time series characteristics of the posture and action features to obtain a behavior evaluation and recognition model:

[0085] It should be noted that the hidden Markov model is selected for sentiment analysis and behavior evaluation of posture and action features. Each posture and action feature vector is represented as time series data, annotated with the corresponding sentiment state and behavior label. The hidden Markov model consists of the initial state probability distribution (π), the state transition probability matrix (A), and the observation probability matrix (B). These parameters are estimated by the forward-backward algorithm: the initial state probability distribution π = {πi}, where πi is the probability of the model in the initial state i; the state transition probability matrix A = {aij}, where aij is the probability of transitioning from state i to state j; the observation probability matrix B = {bj(k)}, where bj(k) is the probability of observing feature k in state j; the hidden Markov model is trained using the training data through the Baum-Welch algorithm. The Baum-Welch algorithm is a special case of the expectation-maximization algorithm. It maximizes the likelihood function of the observed posture and action feature sequence by iteratively optimizing the model parameters. In each iteration, the algorithm estimates the probability distribution of the hidden state sequence and updates the model parameters to maximize the likelihood value of the feature data in the model.

[0086] S304. Based on the trained behavior evaluation and recognition model, a new posture action feature vector is input to perform a forward algorithm to recognize the behavior and generate a second feature vector, wherein the forward algorithm calculates the most credible state sequence corresponding to the new posture action feature vector.

[0087] It should be noted that real-time data input: the posture and action feature vectors acquired in real time are input into the trained hidden Markov model to identify emotional states and behaviors; forward algorithm application: the input feature vectors are processed using the forward algorithm to calculate the probability distribution of the input data in each hidden state, so as to identify the emotional state and behavioral characteristics at the current moment: αt(j) = P(O1, O2..., Ot, qt = Sj | λ), where αt(j) represents the probability of observing state j at time t, O is the observation sequence, qt is the hidden state at time t, and λ is the hidden Markov model parameter; emotion recognition and behavior evaluation: the emotional state and behavioral characteristics of the worker are determined by calculating the probability of the current input feature vector in different emotional states. For example, the model may identify the worker's current emotional state as "fatigue" or "tension"; generate a second feature vector: convert the identified emotional state and behavioral characteristics into a feature vector as the second feature vector for further coal mine safety analysis and prediction.

[0088] Therefore, the use of hidden Markov models can effectively process time series data, accurately identify the emotional state and behavioral characteristics of workers, improve the accuracy and reliability of identification, and timely detect and identify abnormal emotional states of workers, such as fatigue or tension, so that corresponding measures can be taken to prevent accidents and improve the safety of coal mine operations.

[0089] S400. The emotional state of the workers, the first feature vector and the second feature vector are integrated to obtain comprehensive feature information. The coal mine safety history data is sorted in chronological order to construct a time series data set, in which each time point corresponds to a data sample, and the comprehensive feature information is input as an input feature into the time series data set to form a complete time series data sample.

[0090] It can be understood that the step S400 includes S401, S402 and S403, wherein:

[0091] S401, cutting the worker's emotional state feature, the first feature vector and the second feature vector at the same time point to obtain comprehensive feature information, the calculation formula of which is as follows:

[0092] In the formula, F t is the integrated feature information after fusion, E t is the emotional characteristics of the worker representative at time point t, S t is the first feature vector of the worker representative’s speech management at time point t, B t A second feature vector representing the posture and action feature management of the worker at time point t;

[0093] It should be noted that the emotional state is detected by the worker’s facial expression, voice emotion, etc., and the worker’s emotional state feature vector E is obtained. t , by extracting the workers' voice data, we get the first feature vector synchronized with time, and by using the motion sensor to monitor the workers' posture and movements, we get the second feature vector synchronized with time; all feature vectors are synchronized and aligned according to the timestamp to ensure that at the same time point t, the emotional state features, the first feature vector and the second feature vector can be obtained. The feature vectors are aligned using the timestamp to ensure the synchronization of each feature data at the same time point. If the sampling frequency is different, the low-frequency features are interpolated by the interpolation method to align them with the high-frequency features.

[0094] It should be understood that each feature vector is cut according to the time point so that the feature vector corresponding to each time point contains the emotional state, voice features and posture and movement features within the same time period. The emotional state features, the first feature vector and the second feature vector are then spliced ​​to form a comprehensive feature vector. In other words, the standardized feature vectors are spliced ​​in chronological order to form a comprehensive feature vector, ensuring that the spliced ​​comprehensive feature vector can fully reflect the status of the worker at each time point.

[0095] It should be noted that the workers' emotional state, voice characteristics and posture movement characteristics are integrated to comprehensively reflect the workers' overall state; the workers' multi-dimensional characteristics are monitored and processed in real time to promptly reflect the workers' current state; through feature synchronization and fusion, the consistency and accuracy of the data are improved, providing reliable data support for subsequent safety prediction and analysis; the workers' abnormal state is identified in advance, providing early warning information for coal mine safety management, helping to take preventive measures and reduce safety risks.

[0096] S402, performing interpolation processing on the coal mine safety history data according to timestamp synchronization and sorting to obtain a time series data set arranged in chronological order;

[0097] It should be noted that the historical safety data of coal mines, including historical safety records, accident data, coal mine operating status and environmental parameters, are obtained and the data is cleaned, including removing missing values ​​and outliers, and performing data standardization. All historical data are synchronized according to timestamps to ensure the consistency of each data source at the same time point; the synchronized data are sorted according to timestamps to form a preliminary time series data set. In this step, linear interpolation, spline interpolation and other methods are used to fill in the missing values ​​or uneven sampling points in the time series data. Among them, the calculation formula for interpolation processing is as follows:

[0098]

[0099] In the formula, is time point t i The data value, t is the time point that needs to be interpolated, t i+1 is time point t i+1 , is time point t i+1 The data value of

[0100] Finally, after the interpolation process is completed, a complete time series data set arranged in chronological order is obtained.

[0101] S403, time-align and trim the comprehensive feature information and the time series data set, and input the results into the time series data set to obtain a complete time series data sample, and add a corresponding label to each time series data sample, where the label is assigned a corresponding safety label to each time point based on the accident record or safety level in the coal mine safety history data.

[0102] It should be noted that the comprehensive feature information and the time series data set are aligned according to the timestamp to ensure that the data at the same time point is consistent. During the alignment process, interpolation or other smoothing methods can be used to handle inconsistent time points. According to the time period selection and alignment results, the time series data is trimmed to remove redundant or invalid data segments. The aligned and trimmed comprehensive feature information is integrated with the time series data set to form a complete time series data sample containing emotional state, voice features, action features and historical safety data. During the calculation process of this step, the safety label for each time point is defined according to the accident record or safety level in the coal mine safety history data. For example, 0 means safety, 1 means warning, and 2 means danger. According to the defined labeling rules, the corresponding safety label is added to each time series data sample to ensure that each sample not only contains comprehensive feature information, but also corresponds to a clear safety label.

[0103] Specifically, it can be understood that through the above steps, we synchronize, align and fuse the coal mine safety historical data and the multi-dimensional feature information collected in real time to construct a complete and continuous time series data sample; these data samples contain the workers' emotional state, voice characteristics and action characteristics, and are combined with historical safety records, providing a comprehensive and accurate data foundation for subsequent coal mine safety prediction models; by adding clear safety labels, the model can be effectively trained to improve the model's prediction accuracy and practicality.

[0104] S500, using the time series data samples as input data sources to train the preset coal mine safety prediction model and estimate the changing trend of the future coal mine safety status.

[0105] It can be understood that in this step, in coal mine safety management, in order to predict and estimate the future trend of safety status changes, it is necessary to select a coal mine safety prediction model, and effectively train and apply it. First, based on the time series data samples obtained in the previous step, these samples include the workers' emotional state, the first eigenvector (speech emotion feature), the second eigenvector (behavioral feature), and other relevant coal mine safety history data, such as historical safety records, accident data, coal mine operation status, and environmental parameters. These data are sorted in time series to form a complete time series data set; next, select a suitable coal mine safety prediction model, such as an autoregressive integrated moving average model, a long short-term memory network, or a time series convolutional neural network, which can process time series data and capture the dynamic changes and potential patterns of data over time. For example, the LSTM network, due to its special gating mechanism, can effectively memorize information over a long time span, and is very suitable for processing time series data with long dependencies. Specifically, in this step, the structure of the LSTM model includes an input gate, a forget gate, and an output gate. These gating mechanisms are used to control the flow of information, and the time series data samples are input into the selected prediction model for model training. During the training process, the model learns the characteristics and patterns of the time series data and optimizes the model parameters. The mean square error (MSE) is usually used as the loss function:

[0106]

[0107] In the formula, MSE stands for mean square error, n is the number of samples, is the true value of the i-th sample, is the predicted value of the i-th sample;

[0108] The trained model can be used to predict the trend of changes in the safety status of coal mines in the future. Specifically, by inputting the latest comprehensive feature information into the model, the future safety status indicators, such as the probability of accidents and changes in safety levels, are predicted, and the future coal mine safety status estimation results are obtained, where is the prediction time step. These prediction results can help coal mine managers take preventive measures in advance, reduce safety risks, and ensure safe operation of mines.

[0109] In summary, by fusing the workers' emotional state, voice features, and posture and motion features into comprehensive feature information and combining them with historical coal mine safety data, a multi-dimensional data set is constructed. This data fusion method can fully reflect the workers' physiological and psychological states and the dynamic changes of the environment, providing a more comprehensive basis for safety status assessment; using time series prediction models, such as LSTM (Long Short-Term Memory Network) or Hidden Markov Model (HMM), can capture the time dependency and sequence features in the data, so as to more accurately predict the future coal mine safety status, especially LSTM, because of its effective processing of long-term dependencies, it can capture potential trends and patterns in complex time series data; by real-time monitoring of workers' emotions, voice and motion features, and comparing and analyzing these features with historical data, it is possible to evaluate the current safety status in real time and issue early warnings, which is very important for prediction. It plays an important role in preventing potential safety accidents and improving the overall safety management level. By analyzing the emotional and behavioral characteristics of individual workers, personalized safety management measures can be formulated for different workers. For example, for workers who often show negative emotions or abnormal behaviors, special care and intervention measures can be taken to improve their safety awareness and work enthusiasm. As time goes by, the model can continuously learn and adapt to new data. Through continuous updating and training, the prediction model has dynamic adaptability. This ability can help mines maintain efficient safety status prediction capabilities when facing new situations and new challenges. By integrating multi-source data, the model can not only provide single-dimensional prediction results, but also provide managers with comprehensive decision-making support. For example, by comprehensively considering the workers' emotional state, behavioral characteristics and environmental parameters, managers can formulate safety production plans and emergency plans more scientifically.

[0110] By using time series data samples as the input data source to train the coal mine safety prediction model and estimate the changing trend of the future coal mine safety status, it not only improves the accuracy and real-time performance of the prediction, but also provides scientific decision-making support for coal mine safety management, which has significant creativity and practical application value.

[0111] Embodiment 2:

[0112] like Figure 2 As shown, this embodiment provides a coal mine safety estimation and analysis system based on three-dimensional face image recognition, see Figure 2 The system comprises:

[0113] Acquiring emotion module 701: used to acquire coal mine safety history data and face image data of underground coal mines, wherein the coal mine safety history data includes historical safety records of coal mines, accident data, coal mine operation status and environmental parameters; extracting and emotion recognition of face image data of underground coal mine workers based on sparse representation algorithm, and using emotion analysis model to perform emotion recognition on the recognized facial expression information to obtain the emotional state of the workers, wherein the extraction process is to represent the face image data as a sparse vector, and use the sparse representation method to extract the facial expression features of the underground coal mine workers, wherein the face image data includes facial expression, expression intensity and eye expression;

[0114] The first extraction module 702 is used to monitor the voice data of the worker using the sound sensor, extract the voice features using the acoustic feature extraction method, and use the extracted voice features as the input of the model, and combine the preset annotated emotion tags to establish and train the voice emotion recognition model to obtain the first feature vector, wherein the voice data includes the voice content, pitch and speech speed of the worker;

[0115] The second extraction module 703 is used to monitor the posture action data using the motion sensor and extract the posture action features of the worker, use the extracted posture action features as the input of the model, combine with the preset annotated behavior labels, establish and train the behavior evaluation and recognition model, and obtain the second feature vector, wherein the posture action data includes the joint angle and motion trajectory of the worker;

[0116] Fusion construction module 704: used to fuse the worker's emotional state, the first feature vector and the second feature vector to obtain comprehensive feature information; sort the coal mine safety history data in chronological order to construct a time series data set, in which each time point corresponds to a data sample, and input the comprehensive feature information as an input feature into the time series data set to form a complete time series data sample;

[0117] Prediction and estimation module 705: used to train a preset coal mine safety prediction model using time series data samples as input data sources and estimate the changing trend of the future coal mine safety status.

[0118] Specifically, the emotion acquisition module 701 includes:

[0119] The first processing unit 7011 is used to perform face alignment and image normalization processing on the collected face image data of the coal mine workers, and perform sparse coding on the processed image, construct a dictionary using the K-SVD algorithm, and obtain a sparse coefficient vector through an orthogonal matching pursuit algorithm, and record the sparse coefficient vector as the facial feature of the face image;

[0120] The training unit 7012 is used to train the sentiment analysis model using a support vector machine based on the facial features of the face image and the preset emotional labels, and to adjust the parameters of the sentiment analysis model by optimizing the loss function of the support vector machine to obtain a trained sentiment analysis model. The calculation formula is as follows:

[0121]

[0122] Where L(w, b) is the loss function of the support vector machine, w is the weight vector, b is the bias term, C is the complexity of the control sentiment analysis model, N is the number of training samples, and y is i is the sentiment label of the i-th training sample, x i is the feature vector of the i-th training sample, is the weight vector w and the feature vector x i The dot product of

[0123] Classification unit 7013: used to extract sparse representation features from the real-time facial image data of coal mine workers to obtain a sparse vector X 实时 , using the trained sentiment analysis model to analyze the sparse vector X 实时 Classify and get the workers' emotional state, the calculation formula is as follows:

[0124]

[0125] Where Emotion is the predicted emotional state, For the emotion recognition model i A confidence scoring function for a sentiment.

[0126] Specifically, the first extraction module 702 includes:

[0127] The first preprocessing unit 7021 is used to obtain voice data of coal mine workers and preprocess the voice data to obtain first voice data;

[0128] The feature extraction unit 7022 is used to extract key features in the first speech data by using the Mel frequency cepstral coefficient method to obtain a first speech feature vector, and the calculation formula is as follows:

[0129]

[0130] In the formula, MFCC is the first speech feature vector, DCT is discrete cosine transform, and FFT is fast Fourier transform;

[0131] The first recognition unit 7023 is used to train the long short-term memory network based on the first speech feature vector and the preset annotated emotion label, recognize the emotion by learning the time series characteristics of the speech feature, and obtain a trained sound emotion recognition model;

[0132] The first generating unit 7024 is used to input a new speech feature vector for forward propagation based on the trained sound emotion recognition model, recognize the speech emotion, and generate a first feature vector.

[0133] Specifically, the second extraction module 703 includes:

[0134] The second preprocessing unit 7031 is used to collect the posture and motion data of the worker by using the motion sensor and perform preprocessing to obtain the preprocessed posture and motion data;

[0135] The vector obtaining unit 7032 is used to extract the pre-processed posture and action data according to the wavelet transform method to obtain the first posture action feature vector;

[0136] The second recognition unit 7033 is used to train the Markov model based on the first posture action feature vector and the preset annotated behavior label, and recognize the behavior by learning the time series characteristics of the posture and action features to obtain a behavior evaluation recognition model:

[0137] The second generation unit 7034 is used to input a new posture action feature vector for a forward algorithm based on a trained behavior evaluation and recognition model, identify the behavior, and generate a second feature vector, wherein the forward algorithm is to calculate the most credible state sequence corresponding to the new posture action feature vector.

[0138] Specifically, the fusion construction module 704 includes:

[0139] Cutting unit 7041: used to cut the worker's emotional state feature, the first feature vector and the second feature vector at the same time point to obtain comprehensive feature information, and its calculation formula is as follows:

[0140]

[0141] In the formula, F t is the integrated feature information after fusion, E t is the emotional characteristics of the worker representative at time point t, S t is the first feature vector B of the worker representative’s speech management at time point t t A second feature vector representing the posture and action feature management of the worker at time point t;

[0142] Interpolation processing unit 7042: used to perform interpolation processing on the coal mine safety history data according to the synchronization and sorting of the timestamps, so as to obtain a time series data set arranged in chronological order;

[0143] Obtaining sample unit 7043: used to time align and trim the comprehensive feature information and the time series data set, and input the results into the time series data set to obtain a complete time series data sample, and add a corresponding label to each time series data sample, wherein the label is assigned a corresponding safety label to each time point according to the accident record or safety level in the coal mine safety history data.

[0144] It should be noted that, regarding the system in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0145] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

[0146] 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. A coal mine safety estimation and analysis method based on three-dimensional face image recognition, characterized in that: include: Obtain coal mine safety history data and face image data of people in coal mines, where the coal mine safety history data includes historical safety records, accident data, coal mine operation status and environmental parameters; The facial image data of coal mine workers are extracted based on the sparse representation algorithm, and the emotional analysis model is used to perform emotion recognition on the extracted facial expression information to obtain the emotional state of the workers. The extraction process is to represent the facial image data as a sparse vector and use the sparse representation method to extract the facial expression features of the coal mine workers. The facial image data includes facial expression, expression intensity and eye expression. The voice data of the workers are monitored by a sound sensor, and the voice features are extracted by an acoustic feature extraction method. The extracted voice features are used as the input of the model. Combined with the preset annotated emotion tags, a sound emotion recognition model is established and trained to obtain the first feature vector, where the voice data includes the workers' voice content, pitch and speaking speed; Use motion sensors to monitor posture action data and extract the posture action features of workers. Use the extracted posture action features as the input of the model. Combined with preset annotated behavior labels, establish and train a behavior evaluation and recognition model to obtain a second feature vector, where the posture action data includes the worker's joint angles and motion trajectories. The emotional state of the workers, the first eigenvector and the second eigenvector are integrated to obtain comprehensive feature information; the coal mine safety history data is sorted in chronological order to construct a time series data set, in which each time point corresponds to a data sample, and the comprehensive feature information is input as an input feature into the time series data set to form a complete time series data sample; The time series data samples are used as the input data source to train the preset coal mine safety prediction model and estimate the changing trend of the future coal mine safety status; The facial image data of coal mine workers are extracted based on the sparse representation algorithm, and the emotional analysis model is used to perform emotion recognition on the extracted facial expression information to obtain the emotional state of the workers, including: The collected face image data of coal mine workers are subjected to face alignment and image normalization, and the processed images are sparsely encoded, a dictionary is constructed using the K-SVD algorithm, and a sparse coefficient vector is obtained through the orthogonal matching pursuit algorithm, and the sparse coefficient vector is recorded as the facial features of the face image; Among them, by detecting the key points of the face, the face is rotated, scaled and moved to a unified reference coordinate system, the image is scaled to the same size, and the brightness and restoration are standardized, and the image is represented as sparse, that is, the image is approximated by a linear combination of basis processing, that is, the dictionary matrix D is iteratively optimized through the K-SVD algorithm, so that the image X can be approximately represented by the sparse matrix A; Based on the facial features of the face image and the preset emotional labels, the sentiment analysis model is trained using the support vector machine, and the parameters of the sentiment analysis model are adjusted by optimizing the loss function of the support vector machine to obtain the trained sentiment analysis model. The calculation formula is as follows: Where L(w, b) is the loss function of the support vector machine, w is the weight vector, b is the bias term, C is the complexity of the control sentiment analysis model, N is the number of training samples, and y is i is the sentiment label of the i-th training sample, x i is the feature vector of the i-th training sample, w·x i is the weight vector w and the feature vector x i The dot product of Among them, a training data set is formed according to the facial image features and the inner emotional labels, and the labeled data is adjusted. According to the training data set with emotional labels, the SVM supervised learning model is used to classify the data by finding the optimal decision boundary. During the training process, the SVM optimizes its loss function, optimizes the hyperparameters of the SVM through grid search or random search methods, and uses the cross-validation method to evaluate the model and its performance on the data. Through the above steps, a sentiment analysis model is finally obtained; The sparse representation feature extraction is performed on the real-time facial image data of coal mine workers to obtain the sparse vector x 实时 , using the trained sentiment analysis model to analyze the sparse vector x 实时 Classify and get the workers' emotional state, the calculation formula is as follows: Where Emotion is the predicted emotional state, f i (x 实时 ) is the confidence scoring function of the emotion recognition model for the i-th emotion; The worker's emotional state, the first feature vector and the second feature vector are fused to obtain comprehensive feature information; The coal mine safety history data is sorted in chronological order to construct a time series data set, in which each time point corresponds to a data sample, and the comprehensive feature information is input into the time series data set as an input feature to form a complete time series data sample, which includes: The worker's emotional state characteristics, the first eigenvector and the second eigenvector are cut at the same time point to obtain comprehensive feature information, and the calculation formula is as follows: F t =[E t , S t , B t ] In the formula, F t is the integrated feature information after fusion, E t is the emotional characteristics of the worker representative at time point t, S t is the first feature vector of the worker representative’s speech management at time point t, B t A second feature vector representing the posture and action feature management of the worker at time point t; The emotional state is detected through the worker's facial expression and voice emotion, and the worker's emotional state feature vector E is obtained. t , by extracting the workers' voice data, a first feature vector synchronized with time is obtained, and the workers' postures and movements are monitored by motion sensors to obtain a second feature vector synchronized with time; all feature vectors are synchronized and aligned according to timestamps to ensure that at the same time point t, the emotional state features, the first feature vector and the second feature vector can be obtained, and the feature vectors are aligned using timestamps. If the sampling frequencies are different, the low-frequency features are interpolated by the interpolation method to align them with the high-frequency features; each feature vector is cut according to the time point, so that the feature vector corresponding to each time point contains the emotional state, voice features and posture and movement features within the same time period, and then the emotional state features, the first feature vector and the second feature vector are spliced ​​to form a comprehensive feature vector; The coal mine safety historical data is interpolated according to the synchronization and sorting of timestamps to obtain a time series data set arranged in chronological order; Among them, the historical safety data of coal mines is obtained, including historical safety records, accident data, coal mine operation status and environmental parameters, and the data is cleaned, in which missing values ​​and outliers are removed, and data standardization is performed. All historical data are synchronized according to timestamps, and the synchronized data are sorted according to timestamps to form a preliminary time series data set. In this step, linear interpolation and spline interpolation methods are used to fill in the missing values ​​or uneven sampling points in the time series data. The calculation formula for interpolation processing is as follows: In the formula, x(t i ) is the time point t i The data value, t is the time point that needs to be interpolated, t i+1 is time point t i+1 ,x(t i+1 ) is the time point t i+1 The data value of Finally, after completing the interpolation process, a time series data set arranged in chronological order is obtained; The comprehensive feature information and time series data set are time aligned and trimmed, and the results are input into the time series data set to obtain a complete time series data sample, and each time series data sample is added with a corresponding label, where the label is assigned a corresponding safety label to each time point according to the accident record or safety level in the coal mine safety history data.

2. The method for coal mine safety estimation and analysis based on three-dimensional face image recognition according to claim 1 is characterized in that: The method uses a sound sensor to monitor the voice data of the workers, uses an acoustic feature extraction method to extract voice features, and uses the extracted voice features as the input of the model. Combined with the preset annotated emotion tags, a sound emotion recognition model is established and trained to obtain a first feature vector, which includes: Acquire voice data of workers in a coal mine, and pre-process the voice data to obtain first voice data; The key features in the first speech data are extracted using the Mel frequency cepstral coefficient method to obtain the first speech feature vector, which is calculated as follows: MFCC = DCT(log(|FFT(windowed signal)| 2 ))In the formula, MFCC is the first speech feature vector, DCT is discrete cosine transform, and FFT is fast Fourier transform; Based on the first speech feature vector and the preset annotated emotion label, a long short-term memory network is used for training, and the emotion is recognized by learning the time series characteristics of the speech features, thereby obtaining a trained sound emotion recognition model; Based on the trained voice emotion recognition model, a new speech feature vector is input for forward propagation to recognize the speech emotion and generate the first feature vector.

3. The method for coal mine safety estimation and analysis based on three-dimensional face image recognition according to claim 1 is characterized in that: The motion sensor is used to monitor the posture action data and extract the posture action features of the worker. The extracted posture action features are used as the input of the model. Combined with the preset annotated behavior labels, the behavior evaluation and recognition model is established and trained to obtain the second feature vector, which includes: Using motion sensors to collect and pre-process the posture and motion data of workers to obtain pre-processed posture and motion data; Extracting the preprocessed posture and motion data according to the wavelet transform method to obtain a first posture motion feature vector; Based on the first posture action feature vector and the preset annotated behavior label, the Markov model is used for training, and the behavior is identified by learning the time series characteristics of posture and action features to obtain a behavior evaluation and recognition model: Based on the trained behavior evaluation and recognition model, a new posture action feature vector is input for a forward algorithm to recognize the behavior and generate a second feature vector, wherein the forward algorithm calculates the most credible state sequence corresponding to the new posture action feature vector.

4. A coal mine safety estimation and analysis system based on three-dimensional face image recognition, based on the coal mine safety estimation and analysis method based on three-dimensional face image recognition according to claim 1, characterized in that: include: Emotion acquisition module: used to obtain coal mine safety history data and face image data in coal mines, where the coal mine safety history data includes historical safety records, accident data, coal mine operation status and environmental parameters; The facial image data of coal mine workers are extracted based on the sparse representation algorithm, and the emotional analysis model is used to perform emotion recognition on the extracted facial expression information to obtain the emotional state of the workers. The extraction process is to represent the facial image data as a sparse vector and use the sparse representation method to extract the facial expression features of the coal mine workers. The facial image data includes facial expression, expression intensity and eye expression. The first extraction module is used to monitor the voice data of the workers using the sound sensor, extract the voice features using the acoustic feature extraction method, and use the extracted voice features as the input of the model, and combine the preset annotated emotion tags to establish and train the voice emotion recognition model to obtain the first feature vector, wherein the voice data includes the voice content, pitch and speaking speed of the workers; The second extraction module is used to monitor the posture action data using the motion sensor and extract the posture action features of the worker, and use the extracted posture action features as the input of the model, and combine with the preset annotated behavior labels to establish and train the behavior evaluation and recognition model to obtain the second feature vector, wherein the posture action data includes the joint angle and motion trajectory of the worker; Fusion construction module: used to fuse the worker's emotional state, the first feature vector and the second feature vector to obtain comprehensive feature information; The coal mine safety history data is sorted in chronological order to construct a time series data set, in which each time point corresponds to a data sample, and the comprehensive feature information is input into the time series data set as an input feature to form a complete time series data sample; Prediction and estimation module: uses time series data samples as input data sources to train the preset coal mine safety prediction model and estimate the changing trend of future coal mine safety status; The emotion acquisition module includes: The first processing unit is used to perform face alignment and image normalization processing on the collected face image data of the coal mine workers, and perform sparse coding on the processed image, construct a dictionary using the K-SVD algorithm, and obtain a sparse coefficient vector through an orthogonal matching pursuit algorithm, and record the sparse coefficient vector as the facial feature of the face image; Among them, by detecting the key points of the face, the face is rotated, scaled and moved to a unified reference coordinate system, the image is scaled to the same size, and the brightness and restoration are standardized, and the image is represented as sparse, that is, the image is approximated by a linear combination of basis processing, that is, the dictionary matrix D is iteratively optimized through the K-SVD algorithm, so that the image X can be approximately represented by the sparse matrix A; The training unit is used to train the sentiment analysis model based on the facial features of the face image and the preset emotional labels using the support vector machine, and adjust the parameters of the sentiment analysis model by optimizing the loss function of the support vector machine to obtain the trained sentiment analysis model. The calculation formula is as follows: Where L(w, b) is the loss function of the support vector machine, w is the weight vector, b is the bias term, C is the complexity of the control sentiment analysis model, N is the number of training samples, and y is i is the sentiment label of the i-th training sample, x i is the feature vector of the i-th training sample, w·x i is the weight vector w and the feature vector x i The dot product of Among them, a training data set is formed according to the facial image features and the inner emotional labels, and the labeled data is adjusted. According to the training data set with emotional labels, the SVM supervised learning model is used to classify the data by finding the optimal decision boundary. During the training process, the SVM optimizes its loss function, optimizes the hyperparameters of the SVM through grid search or random search methods, and uses the cross-validation method to evaluate the model and its performance on the data. Through the above steps, a sentiment analysis model is finally obtained; Classification unit: used to extract sparse representation features from real-time facial image data of coal mine workers to obtain a sparse vector X 实时 , using the trained sentiment analysis model to analyze the sparse vector X 实时 Classify and get the workers' emotional state, the calculation formula is as follows: Where Emotion is the predicted emotional state, f i (X 实时 ) is the confidence scoring function of the emotion recognition model for the i-th emotion; The fusion building block includes: Cutting unit: used to cut the worker's emotional state characteristics, the first feature vector and the second feature vector at the same time point to obtain comprehensive feature information. The calculation formula is as follows: F t =[E t , S t , B t ] In the formula, F t is the integrated feature information after fusion, E t is the emotional characteristics of the worker representative at time point t, S t is the first feature vector of the worker representative’s speech management at time point t, B t is the second eigenvector representing the worker’s posture-action management at time point t; The emotional state is detected through the worker's facial expression and voice emotion, and the worker's emotional state feature vector E is obtained. t , by extracting the workers' voice data, a first feature vector synchronized with time is obtained, and the workers' postures and movements are monitored by motion sensors to obtain a second feature vector synchronized with time; all feature vectors are synchronized and aligned according to timestamps to ensure that at the same time point t, the emotional state features, the first feature vector and the second feature vector can be obtained, and the feature vectors are aligned using timestamps. If the sampling frequencies are different, the low-frequency features are interpolated by the interpolation method to align them with the high-frequency features; each feature vector is cut according to the time point, so that the feature vector corresponding to each time point contains the emotional state, voice features and posture and movement features within the same time period, and then the emotional state features, the first feature vector and the second feature vector are spliced ​​to form a comprehensive feature vector; Interpolation processing unit: used to perform interpolation processing on coal mine safety history data according to timestamp synchronization and sorting, and obtain a time series data set arranged in chronological order; Among them, the historical safety data of coal mines is obtained, including historical safety records, accident data, coal mine operation status and environmental parameters, and the data is cleaned, in which missing values ​​and outliers are removed, and data standardization is performed. All historical data are synchronized according to timestamps, and the synchronized data are sorted according to timestamps to form a preliminary time series data set. In this step, linear interpolation and spline interpolation methods are used to fill in the missing values ​​or uneven sampling points in the time series data. The calculation formula for interpolation processing is as follows: In the formula, x(t i ) is the time point t i The data value, t is the time point that needs to be interpolated, t i+1 is time point t i+1 ,x(t i+1 ) is the time point t i+1 The data value of Finally, after the interpolation process is completed, a time series data set arranged in chronological order is obtained; the sample unit is obtained: it is used to time align and trim the comprehensive feature information and the time series data set, and input the result into the time series data set to obtain a complete time series data sample, and add corresponding labels to each time series data sample, where the label is assigned to each time point according to the accident record or safety level in the coal mine safety history data.

5. The coal mine safety estimation and analysis system based on three-dimensional face image recognition according to claim 4 is characterized in that: The first extraction module includes: The first preprocessing unit is used to obtain voice data of underground coal mine workers and preprocess the voice data to obtain first voice data; The feature extraction unit is used to extract key features from the first speech data by using the Mel frequency cepstral coefficient method to obtain a first speech feature vector, and the calculation formula is as follows: MFCC = DCT(log(|FFT(windowed signal)| 2 ))In the formula, MFCC is the first speech feature vector, DCT is discrete cosine transform, and FFT is fast Fourier transform; The first recognition unit is used to train the long short-term memory network based on the first speech feature vector and the preset annotated emotion label, recognize the emotion by learning the time series characteristics of the speech feature, and obtain a trained sound emotion recognition model; The first generating unit is used to input a new speech feature vector for forward propagation based on the trained sound emotion recognition model, recognize the speech emotion, and generate a first feature vector.

6. The coal mine safety estimation and analysis system based on three-dimensional face image recognition according to claim 4 is characterized in that: The second extraction module includes: A second preprocessing unit is used to collect the posture and motion data of the worker using the motion sensor and perform preprocessing to obtain the preprocessed posture and motion data; A vector obtaining unit: used for extracting the preprocessed posture and motion data according to the wavelet transform method to obtain a first posture motion feature vector; The second recognition unit is used to train the Markov model based on the first posture action feature vector and the preset annotated behavior label, and recognize the behavior by learning the time series characteristics of the posture and action features to obtain a behavior evaluation recognition model: The second generation unit is used to input a new posture action feature vector for a forward algorithm based on a trained behavior evaluation and recognition model, identify the behavior, and generate a second feature vector, wherein the forward algorithm is to calculate the most credible state sequence corresponding to the new posture action feature vector.