Coal mine underground safety detection method and system based on three-dimensional face image recognition
By combining 3D face image recognition technology with fire and geological monitoring, the problem of data isolation and response lag in the coal mine safety monitoring system is solved, the real-time nature of mine safety monitoring and the improvement of emergency response efficiency are achieved, and the location and behavioral status of miners are ensured. Accurate monitoring and safe handling.
Patent Information
- Application Number
- CN202411017170.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-29
AI Technical Summary
The existing coal mine safety monitoring system lacks intelligence and comprehensive analysis capabilities and cannot integrate multiple sensor data in real time, resulting in isolated data and delayed response. It is difficult to accurately identify and warn potential safety hazards, and it is difficult to accurately obtain the location and behavioral status of miners, which affects Emergency response efficiency.
An underground coal mine safety detection method based on three-dimensional face image recognition is adopted. Data is collected through fire monitoring equipment and geological monitoring equipment. The YOLO model and optical flow method are combined for fire monitoring. Geological monitoring equipment is used to extract geological structural features, combined with three-dimensional face recognition technology. Determine the location and behavioral status of miners and make multi-factor decisions to optimize safety decisions.
It realizes the real-time performance of mine safety monitoring and the improvement of emergency response efficiency, can accurately identify the location and behavioral status of miners, improves the comprehensiveness and early warning capabilities of the monitoring system, and ensures timely processing of mine safety.
Smart Images

Figure CN118552911B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of coal mine safety detection, and in particular to a coal mine underground safety detection method and system based on three-dimensional face image recognition. Background Art
[0002] With the rapid development of coal mining industry, safety monitoring system of underground coal mines has gradually become an important technology to protect the lives of miners and improve the production efficiency of mines. However, the current safety monitoring technology of many underground coal mines is still relatively backward, mainly relying on traditional sensor networks and manual monitoring. These systems usually use a single sensor type, such as temperature sensor, gas sensor and geological stress sensor, to monitor the fire risk and geological stability in the mine respectively.
[0003] The main problems of existing technologies are data isolation, delayed response, and lack of comprehensive safety assessment methods. However, these systems cannot integrate multiple sensor data in real time, making it difficult to timely identify and warn potential safety hazards, and the location and behavior of miners are often not accurately obtained, resulting in inefficient emergency response in emergencies. Currently, most existing solutions are independent monitoring and alarm systems, which cannot achieve multi-source data fusion and analysis of fire and geological anomalies, resulting in the inability to quickly and accurately locate miners and conduct effective emergency response when danger occurs. Therefore, the technical backwardness of these systems lies in their lack of intelligence and comprehensive analysis capabilities, and cannot meet the needs of modern coal mine safety monitoring. Summary of the invention
[0004] The purpose of the present invention is to provide a coal mine underground safety detection 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 a first aspect, the present invention provides a coal mine underground safety detection method based on three-dimensional face image recognition, comprising:
[0006] Fire monitoring equipment is used to collect image data from underground coal mines in real time. After preprocessing the image data, the open fire in the image is identified and located based on the YOLO model. If an open fire is detected, the dense trajectory of the image containing the open fire is analyzed using the optical flow method, the movement of the pixels in the image is tracked, the movement trajectory of the object is generated, and the spread direction and speed of the fire are determined based on the movement trajectory to obtain fire monitoring data. If no open fire is detected, identification and location are continued. The fire monitoring equipment includes smoke sensors and infrared cameras.
[0007] Use geological monitoring equipment to collect geological data underground in coal mines, extract features and perform morphological analysis on the geological structures in the collected geological data to obtain characteristic morphologies, compare the characteristic morphologies with preset geological models to evaluate the stability and safety factor of the current geological structure, and obtain geological monitoring data, where the safety factor includes the influence of the strength, inclination and groundwater level of the geological layer. The geological monitoring equipment includes ground stress sensors and geological radars;
[0008] The fire monitoring data and the geological monitoring data are associated and integrated through timestamps to obtain first associated information, and the fire monitoring data and the geological monitoring data are associated and integrated through spatial location information to obtain second associated information; wherein the association through timestamps ensures that the records of the fire monitoring data and the geological monitoring data are matched at the same time or time period, and the association through spatial location information determines the spatial position of each data point, and associates the fire monitoring data and the geological monitoring data into the same spatial area using a spatial distance or area division method;
[0009] By acquiring three-dimensional face recognition data, the real-time location and behavior status of each miner are determined; according to the timestamp, the first associated information of fire and geological monitoring is associated with the three-dimensional face recognition data to determine whether the behavior status of the miner is abnormal during the time period when the fire or geological danger occurs; at the same time, according to the spatial position information, the second associated information of fire and geological monitoring is associated with the spatial position of the miner to determine whether the miner is in a dangerous area and determine his specific location;
[0010] By integrating the behavioral status and location information of miners, combined with preset safety standards and rules, and through a multi-factor decision-making algorithm, safety decisions in coal mines are formulated and optimized.
[0011] Preferably, the method of using fire monitoring equipment to collect image data of underground coal mines in real time, preprocessing the image data, and identifying and locating open fires in the image based on a YOLO model includes:
[0012] According to the collected image data of the coal mine, the pre-processed image data is obtained through image denoising and histogram equalization processing; the pre-processed image data is input into the YOLO model, and the convolution operation is performed on the pre-processed image data through the convolution kernel to extract features at different levels to obtain a preliminary feature map of the coal mine, in which the features include the shape, color and smoke distribution pattern of the flame in the mine;
[0013] Based on the preliminary feature map of the coal mine, the maximum pooling operation is performed through the pooling layer to achieve spatial downsampling, retain the most obvious flame features, and generate the sampled feature map; the convolutional neural network in the YOLO model is used to extract high-level features from the sampled feature map to obtain a high-level feature map, where the high-level features include the complex shape and motion characteristics of the flame;
[0014] According to the high-level feature map, after being processed by the fully connected layer of the YOLO model, the bounding box, category confidence and position confidence corresponding to each feature map unit are obtained, and the bounding box, category confidence and position confidence are combined to form a candidate region and the corresponding detection confidence, where each candidate region includes a bounding box and the detection confidence of whether there is an open fire in the candidate region;
[0015] Based on the candidate areas and detection confidence, non-maximum suppression processing is applied to filter out overlapping candidate areas to obtain the final candidate box, i.e., the open fire detection result. The open fire detection result includes the specific location of the open fire and the detection score. The specific location is represented by a bounding box defined by four coordinate values, and the detection score is used to indicate the confidence or credibility of the YOLO model for the open fire detection result.
[0016] Preferably, if an open fire is detected, the dense trajectory of the image containing the open fire is analyzed using the optical flow method, the movement of the pixels in the image is tracked, the movement trajectory of the object is generated, and the spread direction and speed of the fire are determined according to the movement trajectory to obtain fire monitoring data, including:
[0017] Extract the image frame sequence containing the open flame from the continuous image sequence, use the Lucas-Kanad optical flow algorithm to calculate the motion vector of each pixel in the flame area, and obtain the motion speed and direction of each pixel in the time series;
[0018] Based on the calculated movement speed and direction of each pixel point in the time series, a movement trajectory of the flame object in the flame area is generated, where the movement trajectory is the movement path and speed change of the flame object over time;
[0019] The spatial and temporal characteristics of the motion trajectory of the flame object are analyzed to determine the direction and speed of the fire spread and obtain fire monitoring data, which includes the direction vector and speed value of the fire spread.
[0020] Preferably, the geological data of the underground coal mine is collected by using geological monitoring equipment, and the geological structure in the collected geological data is subjected to feature extraction and morphological analysis to obtain characteristic morphology, and the characteristic morphology is compared with a preset geological model to evaluate the stability and safety factor of the current geological structure to obtain geological monitoring data, wherein the safety factor includes the influence of the strength, inclination and groundwater level of the geological layer, wherein the geological monitoring equipment includes a ground stress sensor and a geological radar, including:
[0021] The underground geological data of coal mines are collected by using ground stress sensors and geological radars, and the median filter algorithm and standard score detection method are used to clean and preprocess the data to remove noise and outliers to obtain cleaned geological data;
[0022] Based on the cleaned geological data, wavelet transform is used to perform multi-scale analysis on the cleaned geological data. The key features of the geological structure are extracted by decomposing the frequency components of the signal to obtain the geological structure characteristics, among which the key features include the shape, thickness and distribution pattern of the geological layer;
[0023] The spatial distribution of geological data in geological structural features is analyzed using spatial analysis algorithms and density estimation methods, the shape and thickness information of geological layers are extracted, and the horizontal and tilt distribution characteristics of geological layers are determined to obtain geological structural features. The analysis of spatial distribution is performed using Kriging interpolation or spatial autocorrelation analysis methods; the calculation method of tilt angle is used to analyze the tilt and change trend of geological layers, and then the geological interface is identified;
[0024] The geological structural features and geological interfaces are spatially integrated and morphologically processed to generate a complete geological feature morphology; the complete geological feature morphology is matched and similarity analyzed with the preset geological model through a morphological matching algorithm, and the stability and safety factor of the current geological structure are evaluated based on the similarity, and finally the geological monitoring data is obtained; the safety factor includes the influence of the strength, inclination and groundwater level of the geological layer, the similarity analysis includes comparing the spatial position, morphology and inclination angle of the characteristics of each geological layer, and the geological monitoring equipment includes ground stress sensors and geological radars.
[0025] Preferably, the geological structural features and geological interfaces are spatially integrated and morphologically processed to generate a complete geological feature morphology; the complete geological feature morphology is matched and similarity analyzed with a preset geological model through a morphological matching algorithm, and the stability and safety factor of the current geological structure are evaluated based on the similarity, and finally the geological monitoring data is obtained; wherein the safety factor includes the influence of the strength, inclination and groundwater level of the geological layer, and the similarity analysis includes comparing the spatial position, morphology and inclination angle of the characteristics of each geological layer, including:
[0026] Extract feature points of geological structure features and geological interfaces, and use image local feature extraction algorithm to match the extracted feature points, find corresponding point pairs, use the matched point pairs to calculate the space transformation matrix, and convert the data of the geological interface into the coordinate system of the geological structure features through the calculated transformation matrix, complete the spatial registration, and obtain the geological structure features and geological interfaces after spatial registration, where the feature points include junction points and inflection points;
[0027] Perform edge detection on the geological structural features and geological interfaces after spatial registration, extract the first boundary line and the second boundary line, fuse the first boundary line and the second boundary line through morphological operations to obtain morphological fusion, and use the weighted average method to synthesize the morphological fusion to generate a complete geological feature morphology, wherein the morphological operations include expansion, erosion, opening operation and closing operation;
[0028] According to the historical data of the coal mine and the geological exploration results, a preset geological model is constructed, wherein the preset geological model includes geological features under an ideal state, and the Hausdorff distance matching algorithm is used to optimally align the complete geological feature morphology with the preset geological model in terms of spatial position, morphology and inclination angle, so as to obtain the first feature morphology after alignment;
[0029] Calculate the similarity between the first characteristic form and the preset geological model to obtain the similarity analysis result, combine the strength, inclination and groundwater level data of the geological layer to evaluate the stability of the current geological structure, and calculate the safety factor of the geological structure through the stability evaluation result;
[0030] By integrating the first characteristic morphology and similarity analysis results, stability assessment results and safety factors, a comprehensive geological monitoring data report is generated, and ultimately the geological monitoring data is obtained.
[0031] Preferably, the similarity between the first characteristic form and the preset geological model is calculated to obtain a similarity analysis result, which includes:
[0032] Calculating the cosine similarity between the first characteristic form and the preset geological model, and obtaining the directional similarity value between the first characteristic form and the preset geological model through the cosine similarity;
[0033] Calculating the Jaccard similarity coefficient between the first characteristic form and the preset geological model, and obtaining the overlap value between the first characteristic form and the preset geological model by calculating the Jaccard similarity coefficient;
[0034] The direction similarity value and the overlap value are weighted averaged to obtain the comprehensive similarity, which is recorded as the similarity analysis result.
[0035] Preferably, the stability of the current geological structure is evaluated by combining the strength, inclination and groundwater level data of the geological layer, and the safety factor of the geological structure is calculated based on the stability evaluation result, which includes:
[0036] The geological engineering data are obtained through field tests, and are input into the stress-strain relationship model of the geological layer as input parameters, the boundary conditions of the model are set, and a finite element model of the geological structure is established, wherein the geological engineering data include the compressive strength and shear strength data of the geological layer, the inclination angle data of the geological layer, and the groundwater level data;
[0037] Through finite element analysis, simulate the response of geological structures under actual working conditions, calculate the stress distribution and deformation of geological structures, and evaluate the stability of geological structures based on the results of finite element analysis; calculate the safety factor based on the stability evaluation results of geological structures;
[0038] Preferably, the real-time position and behavior status of each miner are determined by acquiring three-dimensional face recognition data; the first associated information of fire and geological monitoring is associated with the three-dimensional face recognition data according to the timestamp to determine whether the behavior status of the miner is abnormal during the time period when the fire or geological danger occurs, and if abnormal, the corresponding first processing measures are called, including:
[0039] The algorithm based on deep neural network processes the 3D face recognition data, extracts the facial feature points of the miners, and uses the position matching algorithm to align the facial feature points of the miners with the 3D spatial model of the mine, thereby determining the miners’ real-time location;
[0040] Analyze 3D face recognition data based on a hybrid model of convolutional neural networks and long short-term memory networks to determine the behavior status of miners;
[0041] The first associated information is synchronized with the three-dimensional face recognition data using a timestamp matching algorithm, and the second associated information is matched with the real-time position of the miner using a spatial position matching algorithm, so as to obtain the associated fire and geological monitoring data and the real-time position and behavior status of the miner;
[0042] Based on the associated fire and geological monitoring data and the real-time location and behavior status of the miners, the anomaly detection algorithm based on the hidden Markov model analyzes the behavior status of the miners during the period of fire or geological danger, and determines whether there is abnormal behavior. If abnormal, the behavior anomaly handling mechanism is called, a notification is sent to the control center, and the abnormal behavior is recorded and analyzed.
[0043] Preferably, the second associated information of fire and geological monitoring is associated with the spatial position of the miner according to the spatial position information to determine whether the miner is in a dangerous area. If the miner is in a dangerous area, the specific position of the miner is determined and the corresponding second treatment measure is retrieved, which includes:
[0044] According to the second correlation information of fire and geological monitoring and the real-time position of the miners obtained, the fire danger area and the geological danger area are defined as the first danger area and the second danger area respectively, and it is judged whether the miners are in the first danger area and the second danger area respectively, and the danger sign of each miner is obtained, wherein the first danger area is a spherical area within a fixed radius around the fire occurrence point, and the second danger area is a spherical area within a fixed radius around the geological anomaly point;
[0045] Based on the danger sign and real-time position of each miner, determine whether the miner is in a danger zone, and obtain a determination result, wherein the status includes the miner being in a first danger zone, the miner being in a second danger zone, the miner being in a double danger zone of the first danger zone and the second danger zone, and the miner being not in any danger zone;
[0046] Combined with the behavior status of the miner and based on the judgment result, an assessment is performed to determine the current position, and the corresponding second processing measures are called according to the assessment result, where the second processing measures include triggering an emergency response mechanism, sending an emergency evacuation order and path guidance.
[0047] In a second aspect, the present invention also provides a coal mine underground safety detection system based on three-dimensional face image recognition, comprising:
[0048] The first acquisition module is used to collect image data of coal mines in real time using fire monitoring equipment, and after preprocessing the image data, identify and locate the open fire in the image based on the YOLO model; if an open fire is detected, the dense trajectory of the image containing the open fire is analyzed using the optical flow method, the movement of the pixels in the image is tracked, the movement trajectory of the object is generated, and the spread direction and speed of the fire are determined according to the movement trajectory to obtain the fire monitoring data; if no open fire is detected, the identification and positioning are continued, wherein the fire monitoring equipment includes a smoke sensor and an infrared camera;
[0049] The second acquisition module is used to collect geological data underground in coal mines using geological monitoring equipment, extract features and perform morphological analysis on the geological structures in the collected geological data to obtain characteristic morphologies, and compare the characteristic morphologies with preset geological models to evaluate the stability and safety factor of the current geological structure to obtain geological monitoring data, wherein the safety factor includes the influence of the strength, inclination and groundwater level of the geological layer, wherein the geological monitoring equipment includes ground stress sensors and geological radars;
[0050] Association module: used for associating and integrating fire monitoring data and geological monitoring data through timestamps to obtain first association information, and associating and integrating fire monitoring data and geological monitoring data through spatial location information to obtain second association information; wherein associating through timestamps ensures that the records of fire monitoring data and geological monitoring data are matched at the same time or time period, and associating through spatial location information determines the spatial position of each data point, and associates the fire monitoring data and geological monitoring data into the same spatial area using spatial distance or area division method;
[0051] Identification and detection module: used to determine the real-time position and behavior status of each miner by acquiring three-dimensional face recognition data; according to the timestamp, the first associated information of fire and geological monitoring is associated with the three-dimensional face recognition data to determine whether the behavior status of the miner is abnormal during the time period when the fire or geological danger occurs. If it is abnormal, the corresponding first treatment measure is called; at the same time, according to the spatial position information, the second associated information of fire and geological monitoring is associated with the spatial position of the miner to determine whether the miner is in a dangerous area. If he is in a dangerous area, the corresponding second treatment measure is called and his specific position is determined;
[0052] Comprehensive optimization module: It is used to integrate the miners' first treatment measures, second treatment measures, real-time location and behavior status, combined with preset safety standards and rules, and through a multi-factor decision-making algorithm, formulate and optimize safety decisions underground in coal mines.
[0053] The beneficial effects of the present invention are:
[0054] The present invention combines fire monitoring, geological monitoring and three-dimensional face recognition technology, aiming to comprehensively improve the safety monitoring capabilities and emergency response efficiency of mines. By acquiring three-dimensional face recognition data, the system can accurately determine the real-time location and behavior status of each miner, thereby realizing real-time monitoring of the miner's location and behavior status, ensuring that the miner's location and status can be quickly found and confirmed in an emergency, thereby improving the efficiency and accuracy of emergency response.
[0055] The present invention combines fire and geological monitoring data. The system uses timestamps to correlate miners' behaviors with potential fire and geological hazards, and identifies whether miners' behavior is abnormal during the dangerous time period. It realizes the multi-source fusion of fire and geological monitoring data, and can comprehensively judge the behavior of miners when potential dangers occur, thus improving the comprehensiveness and early warning capabilities of the monitoring system.
[0056] The present invention uses morphological matching algorithms and similarity analysis to evaluate the stability of geological structures and calculate safety factors, and also conducts comprehensive analysis based on parameters such as the strength, inclination and groundwater level of the geological layer. By analyzing the stability of geological structures through scientific algorithms, it ensures that geological anomalies can be discovered and handled in a timely manner, thus improving the safety level of mines.
[0057] The present invention targets the real-time location data of miners and fire and geological danger areas. The system can instantly determine whether the miners are in the danger area. When it is detected that the miners are in the danger area, the system can immediately trigger emergency evacuation instructions and safe path guidance, and notify the emergency response team to achieve rapid and accurate emergency response. It also improves the accuracy and real-time nature of safety monitoring through multi-source data fusion and intelligent analysis, and can respond quickly in emergencies to effectively ensure the safety of miners.
[0058] The present invention uses three-dimensional face image recognition technology to accurately determine the position of miners in real time. This method is not only accurate to the specific spatial position, but also can track the movement of miners in the working area, thereby helping to monitor and manage the safety status of miners; using advanced technologies such as deep neural networks to analyze the behavioral status of miners, the system can identify and warn of possible safety risks in real time, such as abnormal walking posture or staying in dangerous areas for a long time; the recognition of facial feature points of each miner can help customize personalized safety management strategies, for example, adjust the safety level of the miner's area or provide specific safety recommendations based on the recognition results to ensure the safety and efficiency of each miner at work; through real-time position and behavior status monitoring, the system can quickly identify situations where safety risks occur and quickly initiate an emergency response mechanism, which includes automatically sending emergency evacuation instructions, notifying the control center and recording abnormal behavior, effectively reducing the possibility and impact of accidents.
[0059] The present invention collects and analyzes three-dimensional face recognition data to help management formulate more accurate and effective safety strategies and preventive measures. The system can not only reflect the current safety situation, but also provide valuable data support and decision-making basis for long-term safety management. It not only improves the personal safety protection level of miners, but also improves the overall mine safety management efficiency and capabilities. It is an important technological innovation in modern coal mine safety management.
[0060] 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
[0061] 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.
[0062] Figure 1 It is a schematic flow chart of a coal mine underground safety detection method based on three-dimensional face image recognition described in an embodiment of the present invention;
[0063] Figure 2 It is a schematic diagram of the structure of a coal mine underground safety detection system based on three-dimensional face image recognition described in an embodiment of the present invention.
[0064] In the figure: 701, first acquisition module; 7011, processing and extraction unit; 7012, feature extraction unit; 7013, combination unit; 7014, filtering unit; 7015, first calculation unit; 7016, trajectory generation unit; 7017, first judgment unit; 702, second acquisition module; 7021, cleaning unit; 7022, analysis unit; 7023, recognition unit; 7024, comprehensive processing unit; 70241, registration unit; 70242, morphological fusion unit; 70243, alignment unit; 70244, second calculation unit; 702441, similarity calculation unit; 702442, similarity coefficient calculation unit; 702443, recording unit; 702444, model building unit; 702445, stability evaluation unit; 70245, comprehensive report unit; 703, association module; 704, identification and detection module; 7041, first determination unit; 7042, second determination unit; 7043, matching unit; 7044, second judgment unit; 7045, definition unit; 7046, third judgment unit; 7047, evaluation and optimization unit; 705, comprehensive optimization module. DETAILED DESCRIPTION
[0065] 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.
[0066] 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.
[0067] Embodiment 1:
[0068] This embodiment provides a coal mine underground safety detection method based on three-dimensional face image recognition.
[0069] See also Figure 1 , the figure shows that the method includes step S100, step S200, step S300, step S400 and step S500.
[0070] S100. Use fire monitoring equipment to collect image data from underground coal mines in real time. After preprocessing the image data, identify and locate open flames in the image based on the YOLO model. If an open flame is detected, use the optical flow method to analyze the dense trajectory of the image containing the open flame, track the movement of pixels in the image, generate the movement trajectory of the object, and determine the direction and speed of the spread of the fire based on the movement trajectory to obtain fire monitoring data. If no open flame is detected, continue to identify and locate. The fire monitoring equipment includes a smoke sensor and an infrared camera.
[0071] It can be understood that the step S100 includes S101, S102, S103 and S104, wherein:
[0072] S101, according to the collected image data of the coal mine, after image denoising and histogram equalization, obtain pre-processed image data; input the pre-processed image data into the YOLO model, perform convolution operation on the pre-processed image data through the convolution kernel, extract features at different levels, and obtain a preliminary feature map of the coal mine, wherein the features include information on the shape and color of the flame in the mine and the distribution pattern of the smoke;
[0073] It should be noted that the image data collected in the coal mine is processed by denoising algorithms such as Gaussian filtering and median filtering to eliminate random noise and small interference in the image and improve the image quality; remove image noise, improve the clarity and detail performance of the image, and ensure the accuracy of subsequent feature extraction. The use of histogram equalization can enhance the contrast of the image, making features such as flames and smoke more obvious. By improving the contrast and brightness difference of the image, the flame shape, color and smoke distribution are more prominent, which is convenient for subsequent feature extraction. In this step, the pre-processed image data is input into the YOLO model, and the different levels of features of the image are extracted by a multi-layer convolutional neural network. The convolution operation can capture the local patterns in the image, such as the shape, color and distribution of the flame and smoke. Extract the preliminary feature map of the mine from the pre-processed image data, which contains the preliminary shape, color and other feature information of the flame and smoke, laying the foundation for further feature extraction and recognition.
[0074] In practical applications, the underground environment of coal mines is complex and the lighting conditions are poor. De-noising and histogram equalization can significantly improve the image quality. The advantages of the YOLO model in real-time and accuracy make it very suitable for mine safety monitoring.
[0075] S102. Based on the preliminary feature map of the coal mine, a maximum pooling operation is performed through a pooling layer to achieve spatial downsampling, retain the most obvious flame features, and generate a sampled feature map; a convolutional neural network in a YOLO model is used to extract high-level features from the sampled feature map to obtain a high-level feature map, wherein the high-level features include complex shapes and motion features of the flame;
[0076] It should be noted that the maximum pooling operation is performed in the pooling layer of the YOLO model. By selecting the maximum value in the local area for spatial downsampling, the size of the feature map is reduced while retaining the most significant flame features. The pooling operation reduces the amount of data, enhances the translation invariance of the feature map, and retains the most significant flame features, so that subsequent feature extraction is more focused on key areas. Specifically, the pooled feature map is further convolved to extract advanced features. These advanced features can capture the complex shape, edge, texture and motion characteristics of the flame, and improve the accuracy of the model for flame detection. Advanced feature extraction further enriches the expressive power of the feature map, enabling the system to identify more complex and subtle flame features, and improve the accuracy and reliability of flame detection. In practical applications, the shape and motion characteristics of the flame in the mine are complex and changeable. Through advanced feature extraction, flames of different shapes and motion states can be more accurately identified, improving the timeliness of fire warnings.
[0077] S103, according to the high-level feature map, after being processed by the fully connected layer of the YOLO model, a bounding box, a category confidence, and a position confidence corresponding to each feature map unit are obtained, and the bounding box, the category confidence, and the position confidence are combined to form a candidate region and a corresponding detection confidence, wherein each candidate region includes a bounding box and a detection confidence of whether there is an open fire in the candidate region;
[0078] It should be noted that the high-level feature map is input into the fully connected layer of the YOLO model, and the bounding box, category confidence, and position confidence corresponding to each feature map unit are calculated through the fully connected layer. The processing of the fully connected layer establishes a direct connection between the feature map unit and the actual flame detection result, providing a basis for the subsequent candidate region generation and detection confidence assessment. In the formation of the candidate region, the bounding box, category confidence, and position confidence are combined to form a candidate region and the corresponding detection confidence. Each candidate region includes a bounding box and the detection confidence of whether there is an open flame in it. Therefore, the generation of the candidate region ensures the preliminary results of flame detection and provides a basis for further region filtering and confirmation.
[0079] S104. Based on the candidate areas and the detection confidence, non-maximum suppression processing is applied to filter out overlapping candidate areas to obtain the final candidate box, i.e., the open fire detection result, wherein the open fire detection result includes the specific location of the open fire and the detection score, wherein the specific location is represented by a bounding box defined by four coordinate values, and the detection score is used to represent the confidence or credibility of the YOLO model for the open fire detection result.
[0080] It should be noted that non-maximum suppression processing is used to filter overlapping candidate areas, only retaining the candidate boxes with the highest confidence, removing redundant overlapping areas, and reducing repeated detections through NMS processing, improving the accuracy and clarity of the detection results, and ensuring that each open fire area is only identified once. In this step, the candidate box after NMS processing is the final open fire detection result. Each detection result includes the specific location of the open fire (the bounding box represented by four coordinate values) and the detection score (confidence). The clarification and precision of the final detection result make the flame detection result more reliable and can provide accurate location information for subsequent emergency response. Therefore, through clear bounding boxes and detection scores, the flame can be located quickly and accurately, and emergency measures can be taken in time.
[0081] It can be understood that step S100 also includes S105, S106 and S107, wherein:
[0082] S105, extracting an image frame sequence containing an open flame from the continuous image sequence, and using the Lucas-Kanade optical flow algorithm to calculate the motion vector of each pixel in the flame area, to obtain the motion speed and direction of each pixel in the time series, wherein the Lucas-Kanade optical flow calculation formula is as follows:
[0083]
[0084] Where (u, v) is the pixel point The motion vector of , For the image at point The gradient at For the image at point The time derivative (grayscale change) at ;
[0085] S106, generating a motion trajectory of the flame object in the flame area based on the calculated motion speed and direction of each pixel point in the time series, wherein the motion trajectory is the movement path and speed change of the flame object over time;
[0086] It should be noted that the flame object in the coal mine can be shown as a bright area in the image, representing the specific flame at the fire scene, and the flame object is composed of a group of pixels in the image, and these pixels may have changes in position and brightness in consecutive image frames. Moreover, according to the displacement vector calculated by the optical flow algorithm, the position of each pixel in the future image frame can be predicted, and these position points can be connected in time order to form the movement path or motion trajectory of the flame object in time. The movement path describes the position change of the flame object from the beginning to the end of the detection, thereby showing the movement trajectory of the flame in space, and the ratio of the displacement vector of each time step to time reflects the movement speed of the flame object in time. The greater the speed change, the faster the flame may move.
[0087] S107, analyzing the spatial and temporal characteristics of the motion trajectory of the flame object, and then determining the direction and speed of fire spread, and obtaining fire monitoring data, wherein the fire monitoring data includes a direction vector and a speed value of fire spread.
[0088] It should be noted that the position and shape changes of the flame in different time frames are analyzed to estimate the movement path of the flame and the possible diffusion area. The movement path and speed change information of the flame object in time are obtained by comparing the position and shape changes of the flame in consecutive image frames. The position change and time interval of the flame object in consecutive image frames are used, and then the formula of Euclidean distance divided by the time interval is applied to calculate the average speed of the flame. The average movement speed of the flame object is used as the estimated value of the fire diffusion speed.
[0089] S200. Use geological monitoring equipment to collect geological data underground in the coal mine, perform feature extraction and morphological analysis on the geological structure in the collected geological data to obtain characteristic morphology, compare the characteristic morphology with a preset geological model to evaluate the stability and safety factor of the current geological structure, and obtain geological monitoring data, wherein the safety factor includes consideration of the strength, inclination and groundwater level of the geological layer, wherein the geological monitoring equipment includes a ground stress sensor and a geological radar.
[0090] It can be understood that step S200 includes S201, S202, S203 and S204, wherein:
[0091] S201, using ground stress sensors and geological radars to collect underground geological data of coal mines, and using median filtering algorithms and standard score detection methods to clean and preprocess the data, remove noise and outliers, and obtain cleaned geological data;
[0092] S202, based on the cleaned geological data, using wavelet transform to perform multi-scale analysis on the cleaned geological data, extracting key features of the geological structure by decomposing the frequency components of the signal, and obtaining geological structure features, wherein the key features include the shape, thickness and distribution pattern of the geological layer;
[0093] It is understandable that in this step, ground stress sensors and geological radars are used to collect geological data underground in coal mines, wherein the sensors measure the stress state of underground rocks, and the geological radars detect underground geological structures by sending and receiving electromagnetic waves. Therefore, the ground stress sensors provide numerical information of rock stress, while the geological radars can provide the distribution and morphology of different underground geological layers. Combining these data can fully understand the geological conditions underground in coal mines. In step S201, the median filtering algorithm performs denoising on the collected data, eliminates random noise in the data through the median filtering algorithm, and retains the true geological information; the standard score detection method is used to identify and remove outliers in the data to ensure the authenticity and reliability of the data. Through effective denoising and outlier detection, the credibility and effectiveness of the data can be greatly improved, and the errors in the analysis process can be reduced.
[0094] In step S202, wavelet transform is used to perform multi-scale analysis on the cleaned geological data. Wavelet transform can decompose geological data into frequency components of different scales and capture various characteristics of geological structures. This is a prior art and will not be described in detail here. Key features such as the shape, thickness and distribution pattern of the geological layer are extracted from the multi-scale analysis. The shape feature reflects the geometric morphology of the geological layer, the thickness feature reflects the depth change of the geological layer, and the distribution pattern describes the spatial distribution of the geological layer. By extracting the key features of the geological structure, the geological environment under the coal mine can be more accurately evaluated.
[0095] S203, using a spatial analysis algorithm and a density estimation method to analyze the spatial distribution of geological data in the geological structure characteristics, extracting the shape and thickness information of the geological layer, and determining the horizontal and tilt distribution characteristics of the geological layer to obtain the geological structure characteristics, wherein the analysis of the spatial distribution is performed by using a Kriging interpolation method or a spatial autocorrelation analysis method; using a tilt angle calculation method to analyze the inclination and change trend of the geological layer, and then identifying the geological interface;
[0096] S204. The geological structural features and geological interfaces are spatially integrated and morphologically processed to generate a complete geological feature morphology; the complete geological feature morphology is matched and similarity analyzed with the preset geological model through a morphological matching algorithm, and the stability and safety factor of the current geological structure are evaluated based on the similarity, and finally the geological monitoring data is obtained; wherein the safety factor includes the influence of the strength, inclination and groundwater level of the geological layer, and the similarity analysis includes comparing the spatial position, morphology and inclination angle of the characteristics of each geological layer, and the geological monitoring equipment includes ground stress sensors and geological radars.
[0097] It should be noted that in this step S203, the spatial distribution of geological data is analyzed by applying the Kriging interpolation method and the spatial autocorrelation analysis method, wherein the Kriging interpolation method can estimate the geological data of unsampled points, and the spatial autocorrelation analysis reveals the spatial correlation of geological data. The spatial coordinates (xi, yi) of the sampling points and the corresponding geological data values Z (xi, yi) are collected. The Kriging system equation is established to solve the Kriging weights :
[0098]
[0099] In the formula, is the semivariogram value between known points, is the semivariogram value between the known point and the point to be estimated, μ is the Lagrange multiplier, n is the total number of known points, j is the index of the known point, ranging from 1 to n, is the Kriging weight of the jth known point;
[0100] Then, the obtained weight vector λ is used to calculate the geological data value of the point to be estimated.
[0101] Specifically, the inclination angle calculation method is used to analyze the inclination and change trend of the geological layer and identify the geological interface. The inclination angle calculation method includes geometric analysis method and numerical analysis method, which will not be described in detail here. Therefore, in actual applications underground in coal mines, spatial analysis and inclination angle analysis can provide detailed geological layer distribution and structural information, helping coal mine engineers make more accurate geological assessments and safety decisions. Among them, the spatial coordinates (x, y, z) of the geological layer and the corresponding elevation data Z (x, y) are collected, and the geological layer data is plane fitted. Assuming that the geological layer is a plane, the inclination angle θ of the geological layer is calculated, where:
[0102]
[0103] In the formula, θ is the tilt angle, and a and b are the coefficients of the plane equation, which represent the tilt of the geological layer. Then, the changing trend of the geological layer is analyzed, and the geological interface is identified by comparing the tilt angles and changing trends at different locations. Determining the tilt angle and changing trend of the geological layer provides a basis for subsequent morphological matching.
[0104] In step S204, the extracted geological structural features and geological interface information are spatially fused and morphologically integrated to generate a complete geological feature morphology, and the spatial fusion method includes spatial interpolation and data fusion algorithms. The generated geological feature morphology can fully describe the geological structure of the coal mine shaft, providing a basis for model matching and similarity analysis. The generated geological feature morphology is used to perform morphological matching and similarity analysis with the preset geological model, wherein the morphological matching algorithm includes cosine similarity and Jaccard coefficient, etc. Through morphological matching and similarity analysis, the similarity between the current geological structure and the preset model can be evaluated, thereby judging the stability of the geological structure. Moreover, based on the similarity analysis results, combined with the strength, inclination and groundwater level of the geological layer, the stability of the geological structure is evaluated by finite element analysis or other stability analysis methods, and the safety factor is calculated, wherein the finite element analysis can simulate the response of the geological structure under different stress conditions and determine its stability.
[0105] It should be noted that step S204 includes S2041, S2042, S2043, S2044 and S2045, wherein:
[0106] S2041, extracting feature points of geological structure features and geological interfaces, and matching the extracted feature points using an image local feature extraction algorithm, finding corresponding point pairs, using the matched point pairs to calculate a spatial transformation matrix, and converting the data of the geological interface into a coordinate system of the geological structure features through the calculated transformation matrix, completing spatial registration, and obtaining the geological structure features and geological interfaces after spatial registration, wherein the feature points include junction points and inflection points;
[0107] S2042, performing edge detection on the geological structural features and geological interfaces after spatial registration, extracting a first boundary line and a second boundary line, fusing the first boundary line and the second boundary line through morphological operations to obtain morphological fusion, and synthesizing the morphological fusion using a weighted average method to generate a complete geological feature morphology, wherein the morphological operations include expansion, erosion, opening operation, and closing operation;
[0108] It should be noted that feature points are extracted from geological structure features and geological interface data, and feature points include intersection points and inflection points. Feature points are usually extracted using corner detection algorithms (such as Harris corner detection) or image local feature extraction algorithms such as SIFT. Then, algorithms such as SIFT and SURF are used to match the extracted feature points to find corresponding point pairs of feature points in geological structure features and geological interfaces. The formula is as follows:
[0109]
[0110] Where D is the Euclidean distance, n is the dimension of the vector, and i is the i-th feature or element in the vector. and Represent the SIFT descriptors of two feature points respectively;
[0111] Specifically, the matched point pairs are then used to calculate the spatial transformation matrix. Usually, the least squares-based affine transformation or perspective transformation is used for registration. The data of the geological interface is converted into the coordinate system of the geological structure features through the calculated transformation matrix to complete the spatial registration, and the geological structure features and geological interface after spatial registration are obtained.
[0112] Specifically, in step S2042, edge detection is performed on the geological structural features and geological interfaces after spatial registration, and the first boundary line and the second boundary line are extracted. The Canny edge detection algorithm is usually used. The steps of Canny edge detection include Gaussian filtering, gradient calculation, non-maximum suppression and double threshold detection, which are not described here. Then, morphological operations are performed on the first boundary line and the second boundary line, including expansion, corrosion, opening and closing operations, and the weighted average method is used to integrate the morphological fusion to generate a complete geological feature morphology. The weighted average method is integrated by assigning different weights to different feature lines, and its calculation formula is as follows:
[0113]
[0114] In the formula, α is the weight coefficient, F1 and F2 are the features of the first boundary line and the second boundary line respectively. Therefore, morphological fusion ensures the integrity and continuity of geological feature morphology and provides accurate basic data for subsequent similarity analysis and stability assessment.
[0115] S2043, constructing a preset geological model based on historical data of the coal mine and geological exploration results, wherein the preset geological model includes geological features under an ideal state, and using a Hausdorff distance matching algorithm to optimally align the complete geological feature morphology with the preset geological model in terms of spatial position, morphology and inclination angle, to obtain a first feature morphology after alignment;
[0116] It should be noted that a preset geological model is constructed based on the historical data of coal mines and geological exploration results. The preset model includes geological features under ideal conditions. Among them, the data sources are historical geological data, geological exploration reports, geological radar images, etc. The Hausdorff distance calculation formula is used to optimally align the complete geological feature morphology with the preset geological model in terms of spatial position, morphology and inclination angle. By aligning the geological feature morphology with the preset geological model, the spatial unification of different geological data is achieved, providing a reliable data basis for similarity analysis.
[0117] S2044, calculating the similarity between the first characteristic form and the preset geological model, obtaining a similarity analysis result, combining the strength, inclination and groundwater level data of the geological layer, evaluating the stability of the current geological structure, and calculating the safety factor of the geological structure based on the stability evaluation result;
[0118] It should be noted that the stability of the current geological structure is evaluated by the finite element analysis (FEA) method, combining the strength, inclination and groundwater level data of the geological layer. The basic equation of the finite element analysis is:
[0119]
[0120] In the formula, is the stiffness matrix, is the displacement vector, is the external force vector.
[0121] According to the stability assessment results, the safety factor of the geological structure is calculated, where the safety factor is usually defined as the ratio of the bearing capacity under the limit state to the actual stress. Therefore, similarity analysis and stability assessment provide a quantitative assessment of the stability and safety of the current geological structure, providing a scientific basis for mine safety monitoring and decision-making.
[0122] S2045. Comprehensively analyze the first characteristic form and similarity analysis results, stability assessment results and safety factors to generate a comprehensive geological monitoring data report, and finally obtain geological monitoring data.
[0123] It should be noted that a comprehensive geological monitoring data report is generated by integrating the first characteristic morphology and similarity analysis results, stability assessment results and safety factors. The report includes information such as geological characteristic morphology, geological structure stability assessment results, similarity analysis results and safety factors, provides comprehensive monitoring and assessment of geological conditions, and provides detailed and comprehensive decision-making basis for underground geological monitoring and safety management of coal mines by generating a comprehensive geological monitoring data report. Combined with the current construction of intelligent mines, the system can be integrated into the overall monitoring platform of intelligent mines to realize automated and intelligent mine geological monitoring and early warning.
[0124] It should be noted that step S2044 includes S20441, S20442 and S20443, wherein:
[0125] S20441, calculating the cosine similarity between the first characteristic form and the preset geological model, and obtaining the directional similarity value between the first characteristic form and the preset geological model through the cosine similarity. The calculation formula of the cosine similarity is as follows:
[0126]
[0127] In the formula, represents the dot product of P′ and M, and represents the modulus length of P′ and M;
[0128] S20442, calculating the Jaccard similarity coefficient between the first characteristic form and the preset geological model, and obtaining the overlap value between the first characteristic form and the preset geological model by calculating the Jaccard similarity coefficient. The calculation formula of the Jaccard similarity coefficient is as follows:
[0129]
[0130] In the formula, represents the size of the intersection of P′ and M, represents the size of the union of P′ and M;
[0131] S20443. Perform weighted average of the directional similarity values and the overlap values to obtain a comprehensive similarity, which is recorded as a similarity analysis result.
[0132] The direction similarity value and the overlap value are weighted averaged to obtain the comprehensive similarity, which is recorded as the similarity analysis result.
[0133] It should be noted that the similarity between two sets of geological features is measured by calculating the angular difference between them. The calculation formula for directional similarity is usually cosine similarity. Then, the similarity between the two sets of geological features is measured by calculating the overlapping area. The calculation formula for the overlap value is usually based on the Jaccard coefficient. The directional similarity value and the overlap value are weighted averaged to obtain the comprehensive similarity. The weighted average formula is as follows:
[0134]
[0135] In the formula, S is the comprehensive similarity, and is the weight coefficient of the directional similarity value and the overlap value, and they add up to 1. is the direction similarity value, is the overlap value; then the directional similarity value is calculated according to the directional similarity calculation formula, and the overlap value is calculated according to the overlap calculation formula, and is determined according to the specific application scenario and For example, if directional similarity is more important than overlap, you can set Greater than , and calculate the comprehensive similarity. In practical applications, the calculation of comprehensive similarity can help identify and evaluate changes in geological structures, thereby more accurately judging the stability and safety of geological structures. For example, in mine geological monitoring, through comprehensive similarity, potential geological disasters can be better identified and preventive measures can be taken in advance.
[0136] It should be noted that step S2044 also includes S20444 and S20445, wherein:
[0137] S20444. Obtaining geological engineering data through field tests, and inputting the geological engineering data as input parameters into a stress-strain relationship model of the geological layer, setting the boundary conditions of the model, and establishing a finite element model of the geological structure, wherein the geological engineering data includes data on compressive strength and shear strength of the geological layer, data on the inclination angle of the geological layer, and groundwater level data;
[0138] S20445. Through finite element analysis, simulate the response of geological structures under actual working conditions, calculate the stress distribution and deformation of geological structures, and evaluate the stability of geological structures based on the results of finite element analysis; based on the stability evaluation results of geological structures, calculate the safety factor, and the calculation formula is as follows:
[0139]
[0140] In the formula, SF is the safety factor, R is the resistance of the geological structure, and S is the force of the geological structure.
[0141] It should be noted that specific geological engineering data, including compressive strength, shear strength, inclination angle and groundwater level data of geological layers, are obtained through field measurements and tests. Then, based on the geological engineering data, a stress-strain relationship model of geological materials is established, usually using an elastic or plastic model to describe the deformation response of the geological layer under external forces, and then determine the boundary conditions of the model, including external force loading conditions and support constraints, to ensure that the simulation results reflect the actual working conditions.
[0142] Specifically, the stress distribution, strain distribution and deformation of geological structures under actual working conditions are simulated through finite element analysis software. Based on the simulation results, the stability of the geological structure is evaluated, including the bearing capacity, deformation and possible forms of failure. Finite element analysis can quantitatively evaluate the stability of geological structures and provide a scientific basis and safety factor calculation for engineering practice.
[0143] S300. Associating and integrating the fire monitoring data and the geological monitoring data through timestamps to obtain first associated information, and associating and integrating the fire monitoring data and the geological monitoring data through spatial location information to obtain second associated information; wherein associating through timestamps ensures matching of records of fire monitoring data and geological monitoring data at the same time or time period, and associating through spatial location information determines the spatial location of each data point, and associates the fire monitoring data and geological monitoring data within the same spatial area using spatial distance or area division methods.
[0144] It is understandable that in this step, the timestamp of each record is accurately compared to find the fire monitoring data and geological monitoring data at the same or approximate timestamp, and to deal with possible timestamp deviations or the time range of data records to ensure effective association of data. In acquiring spatial location information, the specific location of each data point is determined by geographic coordinates or specific spatial positioning methods, and the fire monitoring data and geological monitoring data are associated with the same geographic area using spatial distance metrics or regional division methods. For example, regional division is performed based on the map coordinate system to ensure that the fire and geological monitoring data come from the same mining area or mine range.
[0145] In summary, the precise matching of timestamp and spatial location information ensures the effective association between fire monitoring data and geological monitoring data, reduces mismatching and data inconsistency, and the first associated information and the second associated information obtained reflect the fire monitoring and geological monitoring conditions at the same time and space, providing a reliable basis for subsequent data analysis and decision-making.
[0146] S400. Determine the real-time position and behavior status of each miner by acquiring three-dimensional face recognition data; associate the first associated information of fire and geological monitoring with the three-dimensional face recognition data according to the timestamp, and judge whether the behavior status of the miner is abnormal during the time period when the fire or geological danger occurs. If it is abnormal, call the corresponding first processing measure; at the same time, according to the spatial position information, associate the second associated information of fire and geological monitoring with the spatial position of the miner, and judge whether the miner is in a dangerous area. If so, call the corresponding second processing measure and determine its specific position.
[0147] It can be understood that step S400 includes S401, S402, S403 and S404, wherein:
[0148] S401, processing the three-dimensional face recognition data based on a deep neural network algorithm, extracting the facial feature points of the miner, and aligning the facial feature points of the miner with the three-dimensional spatial model of the mine using a position matching algorithm, thereby determining the real-time position of the miner;
[0149] It should be noted that deep learning techniques, such as convolutional neural networks (CNN), are used to extract facial feature points of miners from 3D face recognition data, where these feature points may include key positions such as eyes, mouth, and nose. The extracted facial feature points are aligned with the pre-built 3D spatial model of the mine through a position matching algorithm. Possible algorithms include minimizing the spatial distance between the feature points and the model, or using an iterative closest point (ICP) algorithm to optimize alignment accuracy. Therefore, through the precise extraction and position matching of facial feature points, the real-time positioning of miners in the 3D space of the mine is achieved.
[0150] S402, analyzing the three-dimensional face recognition data according to the hybrid model of the convolutional neural network and the long short-term memory network to determine the behavior state of the miner, and the calculation formula is as follows:
[0151]
[0152] In the formula, is the behavior state of miner i, h is the behavior recognition algorithm, is the 3D face data of miner i;
[0153] It should be noted that the three-dimensional face recognition data is deeply analyzed by combining convolutional neural network (CNN) and long short-term memory network (LSTM), where CNN is used to extract static features and LSTM is used to capture dynamic changes in time series. In this step, the behavior state analysis is to determine the behavior state of the miners, such as standing, walking, and transporting, based on the model output. The static and dynamic features are comprehensively considered to more accurately judge the real-time behavior state of the miners.
[0154] S403, using a timestamp matching algorithm to synchronize the first association information with the three-dimensional face recognition data, and using a spatial position matching algorithm to match the second association information with the real-time position of the miner, to obtain the associated fire and geological monitoring data and the real-time position and behavior status of the miner;
[0155] It can be understood that timestamp matching ensures that the first associated information (fire and geological monitoring data) matches the three-dimensional face recognition data in the same time period, and spatial position matching uses spatial position information to accurately match the second associated information (fire and geological monitoring data) with the miner's real-time position data to obtain synchronized monitoring data. Data integration ensures the consistency of information from different data sources in time and space, providing a comprehensive monitoring and analysis basis.
[0156] S404. Based on the associated fire and geological monitoring data and the real-time location and behavior status of the miners, the anomaly detection algorithm based on the hidden Markov model analyzes the behavior status of the miners during the time period when the fire or geological danger occurs, and determines whether there is abnormal behavior. If abnormal, the behavior anomaly handling mechanism is called, a notification is sent to the control center, and the abnormal behavior is recorded and analyzed.
[0157] It should be noted that the hidden Markov model is used to analyze the behavior of miners during the fire or geological hazard period. When abnormal behavior is detected, the preset abnormal handling mechanism is called, which may include sending an alarm to the control center, starting the safety emergency procedure, etc. The technical effect of this step is to timely discover and respond to the abnormal behavior of miners based on real-time data analysis, improve the efficiency and safety of accident handling, record abnormal events and conduct in-depth analysis, and help optimize safety management strategies and preventive measures.
[0158] In summary, through these steps, coal mines can achieve real-time monitoring and management of staff behavior and mine status, thereby effectively preventing accidents and improving production safety levels.
[0159] It can be understood that step S400 also includes S405, S406 and S407, wherein:
[0160] S405. According to the second correlation information of fire and geological monitoring and the real-time position of the miner obtained, the fire danger area and the geological danger area are defined as the first danger area and the second danger area respectively, and whether the miner is in the first danger area and the second danger area is determined respectively, and a danger sign of each miner is obtained, wherein the first danger area is a spherical area within a fixed radius around the fire occurrence point, and the second danger area is a spherical area within a fixed radius around the geological anomaly point;
[0161] S406, based on the danger sign and real-time position of each miner, determine whether the miner is in a danger zone, and obtain a determination result, wherein the status includes the miner being in a first danger zone, the miner being in a second danger zone, the miner being in a dual danger zone of the first danger zone and the second danger zone, and the miner being not in any danger zone;
[0162] S407, combining the behavior status of the miner and evaluating based on the judgment result, determining the current position, and calling the corresponding second processing measure according to the evaluation result, wherein the second processing measure includes triggering the emergency response mechanism, sending emergency evacuation instructions and path guidance.
[0163] It should be noted that two types of danger zones are defined according to the fire occurrence point and the geological anomaly point: the first danger zone: a spherical area with a fixed radius centered on the fire occurrence point; the second danger zone: a spherical area with a fixed radius centered on the geological anomaly point. The spherical area formed, calculate the coordinates of the fire occurrence point and the conditions that meet the first danger zone; take the geological anomaly point as the center and a fixed radius The spherical area formed, calculate the coordinates of the geological anomaly points and the conditions that meet the second danger zone; then the real-time position of the miners The first and second danger areas are compared with the definitions of the two danger areas, and the first and second danger areas are judged, wherein the Euclidean distance method is used, and the judgment results are obtained, wherein the second treatment measure includes four situations, corresponding to the four judgment results, namely:
[0164] 1. If a miner is in the first danger zone: Mark as in the first danger zone: Trigger the emergency response mechanism, which may include issuing an emergency evacuation order, notifying other miners to evacuate safely, and sending an alarm to the control center;
[0165] 2. If the miner is in the second danger zone: Mark as in the second danger zone: Send path guidance and safety warnings to help miners avoid dangerous areas near geological anomalies and ensure safe operations;
[0166] 3. If miners are in two areas at the same time: Mark as being in a double-hazard area: Combine the treatment methods of the first and second areas, implement more urgent and detailed safety measures, give priority to the choice of evacuation routes, and provide more frequent warnings and guidance;
[0167] 4. If the miner is not in any dangerous area: Mark as safe state: Maintain normal working state, in this state, the system can check regularly to ensure that the miner is still in a safe state and ready to deal with any emergency.
[0168] Through the above steps, it is possible to determine in detail whether the miners are in the danger zone and determine their specific location. The danger zone is defined using fire and geological monitoring data, and the position matching algorithm is used to determine whether the miner's position is in the danger zone. A comprehensive assessment is performed in combination with the miner's behavior status, and finally detailed miner location and comprehensive danger status information is generated. The above processing methods are based on the different safety measures required by miners in different danger states, with the aim of ensuring the safety of miners and minimizing potential accident risks.
[0169] In summary, the spatial relationship between the miner's real-time location and the two dangerous areas is used to determine whether the miner is located in one of them, and the miner's dangerous state is determined based on the dangerous areas and real-time locations defined above: the miner is in the first dangerous area; the miner is in the second dangerous area; the miner is in both the first and second dangerous areas; and the miner is not in any dangerous area. Through the four states, the current safety status of each miner is clearly reflected, providing an accurate basis for subsequent safety management decisions, and being able to identify and deal with multiple dangerous situations faced by miners at the same time, and strengthen safety emergency response capabilities.
[0170] Specifically, the miners' current location and possible safety risks are determined by comprehensively considering their behavior and risk assessment results. According to the assessment results, corresponding emergency response measures are taken: triggering the emergency response mechanism: starting the mine's emergency emergency procedures; sending emergency evacuation instructions: sending evacuation instructions to miners in the affected area; path guidance: providing safe path guidance to help miners quickly evacuate dangerous areas.
[0171] These steps not only process and judge the data, but also integrate real-time monitoring, hazard warning and emergency response mechanisms, providing comprehensive technical support for coal mine safety management. By combining multiple data sources and complex algorithms, they can effectively prevent accidents, improve miners' safety awareness, and take emergency measures quickly and accurately in times of crisis to ensure the safety of personnel and stable production.
[0172] S500 integrates the miners' first treatment measures, second treatment measures, real-time location and behavior status, combined with preset safety standards and rules, and formulates and optimizes safety decisions underground in coal mines through a multi-factor decision-making algorithm.
[0173] It can be understood that in this step, anomaly detection algorithms are used to monitor and identify possible abnormal behavior patterns of miners, such as sudden behavioral changes, long periods of stillness, etc., and compare them with preset safety rules. Combined with the miners' behavioral status and location information, the potential safety risks they face in their current location and state are evaluated. Taking into account possible fires, geological disasters and other factors, based on preset safety standards and rules, a decision support system (such as an expert system or a rule engine) is used to generate safety recommendations or emergency response measures for specific situations, which may involve automated decision-making logic, such as triggering alarms, guiding evacuation or emergency rescue, etc.
[0174] It should be noted that the obtained behavior status and location information of the miners are compared and analyzed with the preset safety standards and rules, and algorithms and calculation processes, such as machine learning models or rule engines, are used to evaluate whether the miners' behavior meets the safety operation requirements and analyze whether the miners are in dangerous areas or performing potentially dangerous behaviors, such as being close to open fire areas or operating in geologically unstable areas.
[0175] Embodiment 2:
[0176] like Figure 2 As shown, this embodiment provides a coal mine underground safety detection system based on three-dimensional face image recognition, see Figure 2 The system comprises:
[0177] The first acquisition module 701 is used to collect image data of the coal mine in real time using the fire monitoring equipment, and after preprocessing the image data, identify and locate the open fire in the image based on the YOLO model; if an open fire is detected, the dense trajectory of the image containing the open fire is analyzed by the optical flow method, the movement of the pixels in the image is tracked, the movement trajectory of the object is generated, and the diffusion direction and speed of the fire are determined according to the movement trajectory to obtain the fire monitoring data; if no open fire is detected, the identification and positioning are continued, wherein the fire monitoring equipment includes a smoke sensor and an infrared camera;
[0178] The second acquisition module 702 is used to collect geological data underground in the coal mine using geological monitoring equipment, perform feature extraction and morphological analysis on the geological structure in the collected geological data to obtain characteristic morphology, compare the characteristic morphology with a preset geological model to evaluate the stability and safety factor of the current geological structure, and obtain geological monitoring data, wherein the safety factor includes the influence of the strength, inclination and groundwater level of the geological layer, wherein the geological monitoring equipment includes a ground stress sensor and a geological radar;
[0179] Association module 703: used to associate and integrate the fire monitoring data and the geological monitoring data through timestamps to obtain first association information, and associate and integrate the fire monitoring data and the geological monitoring data through spatial location information to obtain second association information; wherein the association through timestamps ensures that the records of the fire monitoring data and the geological monitoring data are matched at the same time or time period, and the association through spatial location information determines the spatial position of each data point, and associates the fire monitoring data and the geological monitoring data into the same spatial area using a spatial distance or area division method;
[0180] Identification and detection module 704: used to determine the real-time position and behavior status of each miner by acquiring three-dimensional face recognition data; according to the timestamp, associate the first associated information of fire and geological monitoring with the three-dimensional face recognition data to determine whether the behavior status of the miner is abnormal during the time period when the fire or geological danger occurs, and if so, call the corresponding first treatment measure; at the same time, according to the spatial position information, associate the second associated information of fire and geological monitoring with the spatial position of the miner to determine whether the miner is in a dangerous area, and if so, call the corresponding second treatment measure and determine its specific position;
[0181] Comprehensive optimization module 705: used to integrate the first treatment measure, second treatment measure, real-time location and behavior status of the miners, combined with preset safety standards and rules, and through a multi-factor decision-making algorithm, formulate and optimize safety decisions underground in the coal mine.
[0182] Specifically, the first obtaining module 701 includes:
[0183] Processing and extraction unit 7011: used to obtain pre-processed image data according to the collected image data of the coal mine, through image denoising and histogram equalization processing; input the pre-processed image data into the YOLO model, perform convolution operation on the pre-processed image data through the convolution kernel, extract features at different levels, and obtain a preliminary feature map of the coal mine, wherein the features include information on the shape, color and smoke distribution pattern of the flame in the mine;
[0184] Feature extraction unit 7012: used to perform maximum pooling operation through pooling layer based on preliminary feature map of coal mine underground, realize spatial downsampling, retain the most obvious flame features, and generate sampled feature map; use convolutional neural network in YOLO model to extract high-level features from the sampled feature map to obtain high-level feature map, where high-level features include complex shape and motion features of flame;
[0185] Combining unit 7013: used to obtain the bounding box, category confidence and position confidence corresponding to each feature map unit according to the high-level feature map after being processed by the fully connected layer of the YOLO model, and combine the bounding box, category confidence and position confidence to form a candidate region and the corresponding detection confidence, wherein each candidate region includes a bounding box and the detection confidence of whether there is an open fire in the candidate region;
[0186] Filtering unit 7014: used to apply non-maximum suppression processing based on candidate areas and detection confidence, filter out overlapping candidate areas, and obtain the final candidate box, that is, the open fire detection result, wherein the open fire detection result includes the specific location of the open fire and the detection score, wherein the specific location is represented by a bounding box defined by four coordinate values, and the detection score is used to represent the confidence or credibility of the YOLO model for the open fire detection result.
[0187] Specifically, the first obtaining module 701 further includes:
[0188] The first calculation unit 7015 is used to extract the image frame sequence containing the open flame from the continuous image sequence, and use the Lucas-Kanade optical flow algorithm to calculate the motion vector of each pixel in the flame area to obtain the motion speed and direction of each pixel in the time series, wherein the Lucas-Kanade optical flow calculation formula is as follows:
[0189]
[0190] Where (u, v) is the pixel point The motion vector of and For the image at point The gradient at For the image at point Grayscale changes at
[0191] The trajectory generating unit 7016 is used to generate the motion trajectory of the flame object in the flame area based on the calculated motion speed and direction of each pixel point in the time series, wherein the motion trajectory is the movement path and speed change of the flame object in time;
[0192] The first judgment unit 7017 is used to analyze the spatial and temporal characteristics of the motion trajectory of the flame object, and then judge the direction and speed of the fire spread to obtain fire monitoring data, wherein the fire monitoring data includes the direction vector and speed value of the fire spread.
[0193] Specifically, the second obtaining module 702 includes:
[0194] Cleaning unit 7021: used to collect underground geological data of coal mines using ground stress sensors and geological radars, and use median filtering algorithm and standard score detection method to clean and preprocess the data, remove noise and outliers, and obtain cleaned geological data;
[0195] Analysis unit 7022: used for performing multi-scale analysis on the cleaned geological data by wavelet transform, extracting key features of geological structure by decomposing the frequency components of the signal, and obtaining geological structure features, wherein the key features include the shape, thickness and distribution pattern of the geological layer;
[0196] Identification unit 7023: used to analyze the spatial distribution of geological data in geological structure characteristics by using spatial analysis algorithm and density estimation method, extract the shape and thickness information of geological layer, and determine the horizontal and inclined distribution characteristics of geological layer to obtain geological structure characteristics, wherein the analysis of spatial distribution is carried out by using Kriging interpolation method or spatial autocorrelation analysis method; the calculation method of inclination angle is used to analyze the inclination and change trend of geological layer, and then identify the geological interface;
[0197] Comprehensive processing unit 7024: used to generate a complete geological feature morphology by spatially integrating and morphologically synthesizing geological structural features and geological interfaces; to perform morphological matching and similarity analysis on the complete geological feature morphology and the preset geological model through a morphological matching algorithm, and to evaluate the stability and safety factor of the current geological structure based on the similarity, and finally obtain geological monitoring data; wherein the safety factor includes consideration of the strength, inclination and groundwater level of the geological layer, and the similarity analysis includes comparison of the spatial position, morphology and inclination angle of the characteristics of each geological layer, and the geological monitoring equipment includes ground stress sensors and geological radars.
[0198] Specifically, the comprehensive processing unit 7024 includes:
[0199] Registration unit 70241: used to extract feature points of geological structure features and geological interfaces, and use image local feature extraction algorithm to match the extracted feature points, find corresponding point pairs, use the matched point pairs to calculate the space transformation matrix, and convert the data of the geological interface into the coordinate system of the geological structure features through the calculated transformation matrix, complete the spatial registration, and obtain the geological structure features and geological interfaces after spatial registration, wherein the feature points include junction points and inflection points;
[0200] Morphological fusion unit 70242: used for edge detection of geological structural features and geological interfaces after spatial registration, extracting the first boundary line and the second boundary line, fusing the first boundary line and the second boundary line through morphological operation to obtain morphological fusion, and synthesizing the morphological fusion using weighted average method to generate a complete geological feature morphology, wherein the morphological operation includes expansion, erosion, opening operation and closing operation;
[0201] Alignment unit 70243: used to construct a preset geological model according to historical data of the coal mine and geological exploration results, wherein the preset geological model includes geological features under an ideal state, and uses a Hausdorff distance matching algorithm to optimally align the complete geological feature form with the preset geological model in terms of spatial position, form and inclination angle to obtain a first feature form after alignment;
[0202] The second calculation unit 70244 is used to calculate the similarity between the first characteristic form and the preset geological model, obtain the similarity analysis result, combine the strength, inclination and groundwater level data of the geological layer, evaluate the stability of the current geological structure, and calculate the safety factor of the geological structure through the stability evaluation result;
[0203] Comprehensive report unit 70245: used to integrate the first characteristic morphology and similarity analysis results, stability assessment results and safety factors to generate a comprehensive geological monitoring data report, and ultimately obtain geological monitoring data.
[0204] Specifically, the second computing unit 70244 includes:
[0205] The similarity calculation unit 702441 is used to calculate the cosine similarity between the first characteristic form and the preset geological model, and obtain the directional similarity value between the first characteristic form and the preset geological model through the cosine similarity. The calculation formula of the cosine similarity is as follows:
[0206]
[0207] In the formula, represents the dot product of P′ and M, and represents the modulus length of P′ and M;
[0208] The similarity coefficient calculation unit 702442 is used to calculate the Jaccard similarity coefficient between the first characteristic form and the preset geological model. By calculating the Jaccard similarity coefficient, the overlap value between the first characteristic form and the preset geological model is obtained. The calculation formula of the Jaccard similarity coefficient is as follows:
[0209]
[0210] In the formula, represents the size of the intersection of P′ and M, represents the size of the union of P′ and M;
[0211] Unit 702443 is used to perform weighted averaging of the directional similarity value and the overlap value to obtain a comprehensive similarity, which is recorded as a similarity analysis result.
[0212] Specifically, the second calculation unit 70244 further includes:
[0213] Model building unit 702444: used to obtain geological engineering data through field tests, and input the geological engineering data as input parameters into the stress-strain relationship model of the geological layer, set the boundary conditions of the model, and establish a finite element model of the geological structure, wherein the geological engineering data includes the compressive strength and shear strength data of the geological layer, the inclination angle data of the geological layer, and the groundwater level data;
[0214] Stability Assessment Unit 702445: It is used to simulate the response of geological structures under actual working conditions through finite element analysis, calculate the stress distribution and deformation of geological structures, and assess the stability of geological structures based on the results of finite element analysis; based on the stability assessment results of geological structures, calculate the safety factor, and the calculation formula is as follows:
[0215]
[0216] In the formula, SF is the safety factor, R is the resistance of the geological structure, and S is the force of the geological structure.
[0217] Specifically, the identification and detection module 704 includes:
[0218] The first determination unit 7041 is used to process the three-dimensional face recognition data based on the algorithm of the deep neural network, extract the facial feature points of the miner, and align the facial feature points of the miner with the three-dimensional space model of the mine using the position matching algorithm, so as to determine the real-time position of the miner;
[0219] The second determination unit 7042 is used to analyze the three-dimensional face recognition data according to the hybrid model of the convolutional neural network and the long short-term memory network to determine the behavior state of the miner, and the calculation formula is as follows:
[0220]
[0221] In the formula, is the behavior state of miner i, h is the behavior recognition algorithm, is the 3D face data of miner i;
[0222] Matching unit 7043: used to synchronize the first association information with the three-dimensional face recognition data by using a timestamp matching algorithm, and to match the second association information with the real-time position of the miner by using a spatial position matching algorithm, so as to obtain the associated fire and geological monitoring data and the real-time position and behavior status of the miner;
[0223] The second judgment unit 7044 is used to analyze the behavior of miners during the time period when fire or geological hazards occur based on the associated fire and geological monitoring data and the real-time location and behavior of the miners, and the anomaly detection algorithm based on the hidden Markov model, to determine whether there is abnormal behavior. If so, the behavior anomaly handling mechanism is called, a notification is sent to the control center, and the abnormal behavior is recorded and analyzed.
[0224] Specifically, the identification and detection module 704 further includes:
[0225] Definition unit 7045: used to define the fire hazard area and the geological hazard area as the first hazard area and the second hazard area respectively according to the second associated information of the fire and geological monitoring and the real-time position of the miner obtained, judge whether the miner is in the first hazard area and the second hazard area respectively, and obtain the hazard sign of each miner, wherein the first hazard area is a spherical area within a fixed radius around the fire occurrence point, and the second hazard area is a spherical area within a fixed radius around the geological anomaly point;
[0226] The third judgment unit 7046 is used to judge whether the miner is in a dangerous area based on the danger sign and real-time position of each miner, and obtain a judgment result, wherein the status includes the miner being in a first dangerous area, the miner being in a second dangerous area, the miner being in a double dangerous area of the first dangerous area and the second dangerous area, and the miner not being in any dangerous area;
[0227] Evaluation and optimization unit 7047: used to evaluate based on the judgment result in combination with the behavior state of the miner, determine the current position, and call the corresponding second processing measure according to the evaluation result, wherein the second processing measure includes triggering the emergency response mechanism, sending emergency evacuation instructions and path guidance.
[0228] Therefore, in summary, through three-dimensional face image recognition technology, the position of miners can be accurately determined in real time. This method is not only accurate to the specific spatial position, but also can track the movement of miners in the working area, thereby helping to monitor and manage the safety status of miners; using advanced technologies such as deep neural networks to analyze the behavioral status of miners, such as miners' posture, activity patterns and abnormal behaviors, the system can identify and warn of possible safety risks in real time, such as abnormal walking posture or staying in dangerous areas for a long time; facial feature point recognition of each miner can help customize personalized safety management strategies, for example, adjust the safety level of the miner's area or provide specific safety recommendations based on the recognition results to ensure the safety and efficiency of each miner at work; through real-time location and behavior status monitoring, the system can quickly identify situations where safety risks occur and quickly initiate emergency response mechanisms, which include automatically sending emergency evacuation instructions, notifying the control center and recording abnormal behaviors, effectively reducing the possibility and impact of accidents.
[0229] Therefore, collecting and analyzing 3D face recognition data can help management formulate more accurate and effective safety strategies and preventive measures. The system can not only reflect the current safety situation, but also provide valuable data support and decision-making basis for long-term safety management. The underground safety detection method of coal mines based on 3D face image recognition not only improves the personal safety level of miners, but also improves the overall mine safety management efficiency and capabilities. It is an important technological innovation in modern coal mine safety management.
[0230] 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.
[0231] 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.
[0232] 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 underground safety detection method based on three-dimensional face image recognition, characterized in that: include: Use fire monitoring equipment to collect image data from underground coal mines in real time. After preprocessing the image data, use the YOLO model to identify and locate open fires in the image. If an open fire is detected, the optical flow method is used to analyze the dense trajectory of the image containing the open fire, track the movement of the pixels in the image, generate the movement trajectory of the object, and determine the spread direction and speed of the fire based on the movement trajectory to obtain fire monitoring data; if no open fire is detected, identification and positioning will continue, and the fire monitoring equipment includes smoke sensors and infrared cameras; Use geological monitoring equipment to collect geological data underground in coal mines, extract features and perform morphological analysis on the geological structures in the collected geological data to obtain characteristic morphologies, compare the characteristic morphologies with preset geological models to evaluate the stability and safety factor of the current geological structure, and obtain geological monitoring data, where the safety factor includes the influence of the strength, inclination and groundwater level of the geological layer. The geological monitoring equipment includes ground stress sensors and geological radars; The fire monitoring data and the geological monitoring data are associated and integrated through timestamps to obtain first associated information, and the fire monitoring data and the geological monitoring data are associated and integrated through spatial location information to obtain second associated information; The association is performed by using timestamps to ensure that the records of fire monitoring data and geological monitoring data are matched at the same time or time period, and the association is performed by using spatial location information to determine the spatial location of each data point and to associate the fire monitoring data and geological monitoring data into the same spatial area using spatial distance or area division methods; By acquiring 3D face recognition data, the real-time location and behavior status of each miner can be determined; According to the timestamp, the first associated information of fire and geological monitoring is associated with the three-dimensional face recognition data to determine whether the behavior of the miner is abnormal during the time period when the fire or geological danger occurs. If it is abnormal, the corresponding first treatment measure is called; at the same time, according to the spatial position information, the second associated information of fire and geological monitoring is associated with the spatial position of the miner to determine whether the miner is in a dangerous area. If he is in a dangerous area, the corresponding second treatment measure is called and his specific position is determined; By integrating the miners' first treatment measures, second treatment measures, real-time location and behavioral status, combined with preset safety standards and rules, and through a multi-factor decision-making algorithm, safety decisions underground in coal mines are formulated and optimized.
2. The method for underground coal mine safety detection based on three-dimensional face image recognition according to claim 1, characterized in that: The method uses fire monitoring equipment to collect image data from underground coal mines in real time, pre-processes the image data, and identifies and locates open fires in the image based on the YOLO model, including: According to the collected image data of the coal mine, the pre-processed image data is obtained through image denoising and histogram equalization processing; the pre-processed image data is input into the YOLO model, and the convolution operation is performed on the pre-processed image data through the convolution kernel to extract features at different levels to obtain a preliminary feature map of the coal mine, in which the features include the shape, color and smoke distribution pattern of the flame in the mine; Based on the preliminary feature map of the coal mine, the maximum pooling operation is performed through the pooling layer to achieve spatial downsampling, retain the most obvious flame features, and generate the sampled feature map; the convolutional neural network in the YOLO model is used to extract high-level features from the sampled feature map to obtain a high-level feature map, where the high-level features include the complex shape and motion characteristics of the flame; According to the high-level feature map, after being processed by the fully connected layer of the YOLO model, the bounding box, category confidence and position confidence corresponding to each feature map unit are obtained, and the bounding box, category confidence and position confidence are combined to form a candidate region and the corresponding detection confidence, where each candidate region includes a bounding box and the detection confidence of whether there is an open fire in the candidate region; Based on the candidate areas and detection confidence, non-maximum suppression processing is applied to filter out overlapping candidate areas to obtain the final candidate box, i.e., the open fire detection result. The open fire detection result includes the specific location of the open fire and the detection score. The specific location is represented by a bounding box defined by four coordinate values, and the detection score is used to indicate the confidence or credibility of the YOLO model for the open fire detection result.
3. The method for underground coal mine safety detection based on three-dimensional face image recognition according to claim 1, characterized in that: If an open fire is detected, the optical flow method is used to analyze the dense trajectory of the image containing the open fire, track the movement of the pixels in the image, generate the movement trajectory of the object, and determine the spread direction and speed of the fire based on the movement trajectory to obtain fire monitoring data, including: The image frame sequence containing the open flame is extracted from the continuous image sequence, and the Lucas-Kanade optical flow algorithm is used to calculate the motion vector of each pixel in the flame area to obtain the motion speed and direction of each pixel in the time series. The Lucas-Kanade optical flow calculation formula is as follows: Where (u, v) is the pixel point The motion vector of and For the image at point The gradient at For the image at point Grayscale changes at Based on the calculated movement speed and direction of each pixel point in the time series, a movement trajectory of the flame object in the flame area is generated, where the movement trajectory is the movement path and speed change of the flame object over time; The spatial and temporal characteristics of the motion trajectory of the flame object are analyzed to determine the direction and speed of the fire spread and obtain fire monitoring data, which includes the direction vector and speed value of the fire spread.
4. The method for underground coal mine safety detection based on three-dimensional face image recognition according to claim 1, characterized in that: The geological data of the underground coal mine are collected by using geological monitoring equipment, and the geological structure in the collected geological data is extracted and analyzed to obtain characteristic morphology, and the characteristic morphology is compared with the preset geological model to evaluate the stability and safety factor of the current geological structure to obtain geological monitoring data, wherein the safety factor includes the influence of the strength, inclination and groundwater level of the geological layer, wherein the geological monitoring equipment includes a ground stress sensor and a geological radar, including: The underground geological data of coal mines are collected by using ground stress sensors and geological radars, and the median filter algorithm and standard score detection method are used to clean and preprocess the data to remove noise and outliers to obtain cleaned geological data; Based on the cleaned geological data, wavelet transform is used to perform multi-scale analysis on the cleaned geological data. The key features of the geological structure are extracted by decomposing the frequency components of the signal to obtain the geological structure characteristics, among which the key features include the shape, thickness and distribution pattern of the geological layer; The spatial distribution of geological data in geological structural features is analyzed using spatial analysis algorithms and density estimation methods, the shape and thickness information of geological layers are extracted, and the horizontal and tilt distribution characteristics of geological layers are determined to obtain geological structural features. The analysis of spatial distribution is performed using Kriging interpolation or spatial autocorrelation analysis methods; the calculation method of tilt angle is used to analyze the tilt and change trend of geological layers, and then the geological interface is identified; The geological structural features and geological interfaces are spatially integrated and morphologically processed to generate a complete geological feature morphology; the complete geological feature morphology is matched and similarity analyzed with the preset geological model through a morphological matching algorithm, and the stability and safety factor of the current geological structure are evaluated based on the similarity, and finally the geological monitoring data is obtained; the safety factor includes the influence of the strength, inclination and groundwater level of the geological layer, the similarity analysis includes comparing the spatial position, morphology and inclination angle of the characteristics of each geological layer, and the geological monitoring equipment includes ground stress sensors and geological radars.
5. The method for underground coal mine safety detection based on three-dimensional face image recognition according to claim 4 is characterized in that: The geological structural features and geological interfaces are spatially integrated and morphologically processed to generate a complete geological feature morphology; The complete geological feature morphology is matched and analyzed with the preset geological model through the morphology matching algorithm. The stability and safety factor of the current geological structure are evaluated based on the similarity, and the geological monitoring data is finally obtained. The safety factor includes the influence of the strength, inclination and groundwater level of the geological layer. The similarity analysis includes the comparison of the spatial position, morphology and inclination angle of the characteristics of each geological layer, including: Extract feature points of geological structure features and geological interfaces, and use image local feature extraction algorithm to match the extracted feature points, find corresponding point pairs, use the matched point pairs to calculate the space transformation matrix, and convert the data of the geological interface into the coordinate system of the geological structure features through the calculated transformation matrix, complete the spatial registration, and obtain the geological structure features and geological interfaces after spatial registration, where the feature points include junction points and inflection points; Perform edge detection on the geological structural features and geological interfaces after spatial registration, extract the first boundary line and the second boundary line, fuse the first boundary line and the second boundary line through morphological operations to obtain morphological fusion, and use the weighted average method to synthesize the morphological fusion to generate a complete geological feature morphology, wherein the morphological operations include expansion, erosion, opening operation and closing operation; According to the historical data of the coal mine and the geological exploration results, a preset geological model is constructed, wherein the preset geological model includes geological features under an ideal state, and the Hausdorff distance matching algorithm is used to optimally align the complete geological feature morphology with the preset geological model in terms of spatial position, morphology and inclination angle, so as to obtain the first feature morphology after alignment; Calculate the similarity between the first characteristic form and the preset geological model to obtain the similarity analysis result, combine the strength, inclination and groundwater level data of the geological layer to evaluate the stability of the current geological structure, and calculate the safety factor of the geological structure through the stability evaluation result; By integrating the first characteristic morphology and similarity analysis results, stability assessment results and safety factors, a comprehensive geological monitoring data report is generated, and ultimately the geological monitoring data is obtained.
6. The method for underground coal mine safety detection based on three-dimensional face image recognition according to claim 5, characterized in that: The similarity between the first characteristic form and the preset geological model is calculated to obtain a similarity analysis result, which includes: The cosine similarity between the first characteristic form and the preset geological model is calculated, and the directional similarity value between the first characteristic form and the preset geological model is obtained through the cosine similarity. The calculation formula of the cosine similarity is as follows: In the formula, represents the dot product of P′ and M, and represents the modulus length of P′ and M; The Jaccard similarity coefficient between the first characteristic form and the preset geological model is calculated. By calculating the Jaccard similarity coefficient, the overlap value between the first characteristic form and the preset geological model is obtained. The calculation formula of the Jaccard similarity coefficient is as follows: In the formula, represents the size of the intersection of P′ and M, represents the size of the union of P′ and M; The direction similarity value and the overlap value are weighted averaged to obtain the comprehensive similarity, which is recorded as the similarity analysis result.
7. The method for underground coal mine safety detection based on three-dimensional face image recognition according to claim 5, characterized in that: The stability of the current geological structure is evaluated by combining the strength, inclination and groundwater level data of the geological layer, and the safety factor of the geological structure is calculated based on the stability evaluation results, including: The geological engineering data are obtained through field tests, and are input into the stress-strain relationship model of the geological layer as input parameters, the boundary conditions of the model are set, and a finite element model of the geological structure is established, wherein the geological engineering data include the compressive strength and shear strength data of the geological layer, the inclination angle data of the geological layer, and the groundwater level data; Finite element analysis is used to simulate the response of geological structures under actual working conditions, calculate the stress distribution and deformation of geological structures, and evaluate the stability of geological structures based on the results of finite element analysis. Based on the stability evaluation results of geological structures, the safety factor is calculated, and the calculation formula is as follows: In the formula, SF is the safety factor, R is the resistance of the geological structure, and S is the force of the geological structure.
8. The method for underground coal mine safety detection based on three-dimensional face image recognition according to claim 1, characterized in that: The real-time location and behavior status of each miner are determined by acquiring three-dimensional face recognition data; According to the timestamp, the first associated information of fire and geological monitoring is associated with the three-dimensional face recognition data to determine whether the miner's behavior is abnormal during the time period of fire or geological danger. If abnormal, the corresponding first processing measures are called, including: The algorithm based on deep neural network processes the 3D face recognition data, extracts the facial feature points of the miners, and uses the position matching algorithm to align the facial feature points of the miners with the 3D spatial model of the mine, thereby determining the miners’ real-time location; The three-dimensional face recognition data is analyzed based on the hybrid model of convolutional neural network and long short-term memory network to determine the behavior status of the miners. The calculation formula is as follows: In the formula, is the behavior state of miner i, h is the behavior recognition algorithm, is the 3D face data of miner i; The first associated information is synchronized with the three-dimensional face recognition data using a timestamp matching algorithm, and the second associated information is matched with the real-time position of the miner using a spatial position matching algorithm, so as to obtain the associated fire and geological monitoring data and the real-time position and behavior status of the miner; Based on the associated fire and geological monitoring data and the real-time location and behavior status of the miners, the anomaly detection algorithm based on the hidden Markov model analyzes the behavior status of the miners during the period of fire or geological danger, and determines whether there is abnormal behavior. If abnormal, the behavior anomaly handling mechanism is called, a notification is sent to the control center, and the abnormal behavior is recorded and analyzed.
9. The method for underground coal mine safety detection based on three-dimensional face image recognition according to claim 1, characterized in that: According to the spatial position information, the second associated information of the fire and geological monitoring is associated with the spatial position of the miner to determine whether the miner is in a dangerous area. If the miner is in a dangerous area, the corresponding second treatment measure is retrieved and its specific position is determined, including: According to the second correlation information of fire and geological monitoring and the real-time position of the miners obtained, the fire danger area and the geological danger area are defined as the first danger area and the second danger area respectively, and it is judged whether the miners are in the first danger area and the second danger area respectively, and the danger sign of each miner is obtained, wherein the first danger area is a spherical area within a fixed radius around the fire occurrence point, and the second danger area is a spherical area within a fixed radius around the geological anomaly point; Based on the danger sign and real-time position of each miner, determine whether the miner is in a danger zone, and obtain a determination result, wherein the status includes the miner being in a first danger zone, the miner being in a second danger zone, the miner being in a double danger zone of the first danger zone and the second danger zone, and the miner being not in any danger zone; An assessment is performed based on the judgment result in combination with the behavior status of the miner, and the corresponding second processing measure is retrieved according to the evaluation result to determine the current position, wherein the second processing measure includes triggering an emergency response mechanism, sending an emergency evacuation order and path guidance.
10. A coal mine underground safety detection system based on three-dimensional face image recognition, based on the coal mine underground safety detection method based on three-dimensional face image recognition according to claim 1, characterized in that: include: The first acquisition module is used to collect image data of coal mines in real time using fire monitoring equipment, and after preprocessing the image data, identify and locate the open fire in the image based on the YOLO model; If an open fire is detected, the optical flow method is used to analyze the dense trajectory of the image containing the open fire, track the movement of the pixels in the image, generate the movement trajectory of the object, and determine the spread direction and speed of the fire based on the movement trajectory to obtain fire monitoring data; if no open fire is detected, identification and positioning will continue, and the fire monitoring equipment includes smoke sensors and infrared cameras; The second acquisition module is used to collect geological data underground in coal mines using geological monitoring equipment, extract features and perform morphological analysis on the geological structures in the collected geological data to obtain characteristic morphologies, and compare the characteristic morphologies with preset geological models to evaluate the stability and safety factor of the current geological structure to obtain geological monitoring data, wherein the safety factor includes the influence of the strength, inclination and groundwater level of the geological layer, wherein the geological monitoring equipment includes ground stress sensors and geological radars; Correlation module: Correlate and integrate the fire monitoring data and the geological monitoring data through timestamps to obtain first correlation information, and correlate and integrate the fire monitoring data and the geological monitoring data through spatial location information to obtain second correlation information; The association is performed by using timestamps to ensure that the records of fire monitoring data and geological monitoring data are matched at the same time or time period, and the association is performed by using spatial location information to determine the spatial location of each data point and to associate the fire monitoring data and geological monitoring data into the same spatial area using spatial distance or area division methods; Identification and detection module: used to determine the real-time location and behavior status of each miner by obtaining three-dimensional face recognition data; According to the timestamp, the first associated information of fire and geological monitoring is associated with the three-dimensional face recognition data to determine whether the behavior of the miner is abnormal during the time period when the fire or geological danger occurs. If it is abnormal, the corresponding first treatment measure is called; at the same time, according to the spatial position information, the second associated information of fire and geological monitoring is associated with the spatial position of the miner to determine whether the miner is in a dangerous area. If he is in a dangerous area, the corresponding second treatment measure is called and his specific position is determined; Comprehensive optimization module: It is used to integrate the miners' first treatment measures, second treatment measures, real-time location and behavior status, combined with preset safety standards and rules, and through a multi-factor decision-making algorithm, formulate and optimize safety decisions underground in coal mines.
