Safety helmet identification method and system in coal mine working face spray dust removal scene

By obtaining the density difference information of the coal mine working face and embedding the sinusoidal position encoding vector, combined with the neural network model to identify the safety helmet, the problem of image blur and low recognition accuracy in the spray dust removal scenario of the coal mine working face is solved, and an efficient and accurate safety helmet is realized. Identify.

CN118658113AInactive Publication Date: 2024-09-17XIAN UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410702377.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-02
Publication Date
2024-09-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The image in the spray dust removal scenario of the coal mine working face is blurry and low-definition, resulting in low accuracy of helmet recognition. In addition, the traditional algorithm feature calculation is large and slow, and cannot adapt to complex scenes.

Method used

By obtaining the density difference information at the same location on the work surface, embedding it in the sinusoidal position encoding vector, using the preset neural network model to identify the helmet, including edge detection algorithms to identify haze areas, calculating density differences, and supervising attention units and void spaces Convolutional pooling pyramid units accelerate feature extraction.

Benefits of technology

It improves the clarity and recognition accuracy of the safety helmet in the image, can quickly and accurately identify whether coal miners are wearing safety helmets, and improves the efficiency and accuracy of the recognition system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658113A
    Figure CN118658113A
Patent Text Reader

Abstract

The invention discloses a safety helmet identification method and system in a coal mine working face spray dedusting scene, and the method comprises the steps: obtaining a first state image and a second state image of a preset position of a coal mine working face, and obtaining the density information of the preset position based on the first state image and the second state image; for an image to be identified, increasing the density difference information in a corresponding dimension of sine position coding to obtain a corrected sine position coding vector; and carrying out safety helmet identification by adopting a preset neural network model based on the corrected sine position coding vector. According to the safety helmet identification method in the coal mine working face spray dust removal scene, aiming at the problems that pictures collected by a monitoring system in the coal mine working face spray dust removal scene are fuzzy and low in definition, density difference information of a working time scene and a non-working time scene of the same place of the coal mine working face is embedded into a sine position coding vector; and density perception is realized by using the density difference to improve the definition of personnel helmets in the image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of coal mine safety, and in particular relates to a safety helmet recognition method and system in a coal mine working face spray dust removal scenario. Background Art

[0002] As a typical high-risk industry, the safety of coal mining has always been the focus of industry development. With the advancement of industrialization and urbanization, the demand for coal continues to grow, and the production efficiency and safety requirements of coal mines have also increased. Therefore, it is particularly important to identify the helmets of personnel in coal mine working face scenarios. Traditional helmet recognition algorithms manually select features for classification and recognition, but their feature calculation is large, the inspection speed is slow, and the accuracy is not high. At the same time, the recognition environment is relatively simple and cannot adapt to the current complex coal mine working face scenarios.

[0003] However, in the dust and water mist environment inside the mine, the quality of the collected images is affected, resulting in low recognition accuracy of the safety helmet. Summary of the invention

[0004] In order to solve the above problems existing in the prior art, the present invention provides a method and system for identifying a safety helmet in a coal mine working face spray dust removal scenario. The technical problem to be solved by the present invention is achieved through the following technical solutions: A method for identifying a safety helmet in a coal mine working face spray dust removal scenario, comprising: Acquire a first state image and a second state image of a preset position of a coal mine working face, so as to obtain density information of the preset position based on the first state image and the second state image; For the image to be recognized, the density difference information is added to the corresponding dimension of the sinusoidal position code to obtain a modified sinusoidal position code vector; A preset neural network model is used to identify the helmet based on the modified sinusoidal position encoding vector.

[0005] In a specific implementation, obtaining density difference information of a preset position based on the first state image and the second state image includes: Using an edge detection algorithm to identify haze areas in the first state image and the second state image; Calculating the pixel density and color gradient of the haze area to obtain the density of the haze area in the first state image and the second state image; Obtaining a haze density difference according to the density of the haze area in the first state image and the second state image; The haze density difference is normalized to obtain density information.

[0006] In a specific implementation, for the image to be recognized, the density difference information is added to the corresponding dimension of the sinusoidal position coding to obtain a modified sinusoidal position coding vector, including: Obtaining position information of each image block in the image to be identified so as to embed each position information into a vector representation of the corresponding image block to obtain an original sinusoidal position encoding vector; The density information of the preset position is inserted into the original sinusoidal position coding vector of the corresponding position in the image to be identified to obtain a modified sinusoidal position coding vector.

[0007] In a specific embodiment, the preset neural network model includes: A supervised attention unit for generating feature images based on the modified sinusoidal position encoding vector; A first convolution unit, connected to the supervisory attention unit, configured to generate a first residual image according to the feature image; A second convolution unit, connected to the supervisory attention unit, for generating a second residual image according to the feature image; an adding unit, connected to the atrous spatial convolution pooling pyramid unit and the first convolution unit, and configured to add the feature image output by the atrous spatial convolution pooling pyramid unit and the residual image to obtain a predicted image; An activation function unit, connected to the adding unit, for classifying and marking the predicted image to obtain a feature mark; A multiplication unit is connected to the activation function unit and the second convolution unit, and is used to perform multiplication and calibration on each pixel of the second residual image according to the feature mark and then output it.

[0008] In a specific embodiment, the atrous spatial convolution pooling pyramid module includes: four atrous convolution units and ASPP pooling units arranged in parallel, and the ASPP pooling unit includes a 1×1 pooling layer, a 1×1 convolution layer and an upsampling layer.

[0009] The present invention also provides a safety helmet recognition system in a coal mine working face spray dust removal scenario, comprising: A density information calculation module, used to obtain a first state image and a second state image of a preset position of a coal mine working face, so as to obtain density information of the preset position based on the first state image and the second state image; A position coding vector correction module, for adding the density difference information in the corresponding dimension of the sinusoidal position coding to obtain a corrected sinusoidal position coding vector for the image to be identified; The recognition module is used to recognize the helmet using a preset neural network model based on the modified sinusoidal position encoding vector.

[0010] In a specific embodiment, the density information calculation module includes: A haze region identification unit, configured to identify haze regions in the first state image and the second state image by using an edge detection algorithm; A haze region density calculation unit, used to calculate the pixel density and color gradient of the haze region to obtain the density of the haze region in the first state image and the second state image; A haze density difference calculation unit, configured to obtain a haze density difference according to the density of the haze area in the first state image and the second state image; The normalization unit is used to perform normalization processing on the haze density difference to obtain density information.

[0011] In a specific implementation, the position encoding vector correction module includes: An original position coding vector calculation unit, used for obtaining the position information of each image block in the image to be identified so as to embed each position information into the vector representation of the corresponding image block to obtain an original sinusoidal position coding vector; The position coding vector correction unit is used to insert the density information of the preset position into the original sinusoidal position coding vector of the corresponding position in the image to be identified to obtain a corrected sinusoidal position coding vector.

[0012] In a specific embodiment, the preset neural network model includes: A supervised attention unit for generating feature images based on the modified sinusoidal position encoding vector; A first convolution unit, connected to the supervisory attention unit, configured to generate a first residual image according to the feature image; A second convolution unit, connected to the supervisory attention unit, for generating a second residual image according to the feature image; an adding unit, connected to the atrous spatial convolution pooling pyramid unit and the first convolution unit, and configured to add the feature image output by the atrous spatial convolution pooling pyramid unit and the residual image to obtain a predicted image; An activation function unit, connected to the adding unit, for classifying and marking the predicted image to obtain a feature mark; A multiplication unit is connected to the activation function unit and the second convolution unit, and is used to perform multiplication and calibration on each pixel of the second residual image according to the feature mark and then output it.

[0013] In a specific embodiment, the atrous spatial convolution pooling pyramid unit includes: four atrous convolution units and ASPP pooling units arranged in parallel, and the ASPP pooling unit includes a 1×1 pooling layer, a 1×1 convolution layer and an upsampling layer.

[0014] Beneficial effects of the present invention: 1. The safety helmet recognition method in the coal mine working face spray dust removal scene of the present invention aims at the problem that the pictures collected by the monitoring system in the coal mine working face spray dust removal scene are blurred and have low definition. The density difference information of the working time scene and the non-working time scene at the same location of the coal mine working face is embedded in the sinusoidal position coding vector, and the density difference is used to realize density perception to improve the clarity of the personnel safety helmet in the image; 2. The safety helmet recognition method in the coal mine working face spray dust removal scenario of the present invention aims to solve the problem that it is difficult for the coal mine working face monitoring system to quickly and accurately identify whether the coal miners are wearing safety helmets. The supervised attention unit and the void space convolution pooling pyramid unit are introduced to speed up feature extraction and improve the accuracy of safety helmet recognition.

[0015] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a flowchart of a method for identifying a safety helmet in a coal mine working face spray dust removal scenario provided by an embodiment of the present invention; Figure 2 It is a block diagram of a safety helmet recognition system module in a coal mine working face spray dust removal scenario provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto. Example

[0018] See also Figure 1 , Figure 1 The present invention provides a flowchart of a method for identifying a safety helmet in a coal mine working face spray dust removal scenario, including: S1. Obtain a first state image and a second state image of a preset position of a coal mine working face, and obtain density information of the preset position based on the first state image and the second state image; it should be noted that when a coal mining machine is working on a coal mine working face, water mist and coal dust will increase the concentration of particles in the air, causing light scattering and refraction, making the monitoring image blurred and reducing the image contrast. The first state image may be a scene image during working time, and the second state image may be a scene image during non-working time.

[0019] S2. For the image to be identified, add the density difference information in the corresponding dimension of the sinusoidal position code to obtain a modified sinusoidal position code vector; S3. Using a preset neural network model to identify a safety helmet based on the modified sinusoidal position encoding vector.

[0020] In a specific implementation, obtaining density difference information of a preset position based on the first state image and the second state image includes: Using an edge detection algorithm to identify haze areas in the first state image and the second state image; Calculating the pixel density and color gradient of the haze area to obtain the density of the haze area in the first state image and the second state image; Obtaining a haze density difference according to the density of the haze area in the first state image and the second state image; The haze density difference is normalized to obtain density information.

[0021] In a specific implementation, for the image to be recognized, the density difference information is added to the corresponding dimension of the sinusoidal position coding to obtain a modified sinusoidal position coding vector, including: Obtaining position information of each image block in the image to be identified so as to embed each position information into a vector representation of the corresponding image block to obtain an original sinusoidal position encoding vector; The density information of the preset position is inserted into the original sinusoidal position coding vector of the corresponding position in the image to be identified to obtain a modified sinusoidal position coding vector.

[0022] That is to say, firstly, the Canny edge detection algorithm is used to identify the haze area in the images of working time scenes and non-working time scenes at the same location of the coal mine working face; secondly, in the identified haze area, the density of the haze area is measured by pixel density and color gradient, and the haze density difference is calculated, and a higher density difference indicates thicker haze; the haze density difference information is then normalized to ensure that it can be consistent with other features when the position encoding vector is added; finally, the normalized haze density information is proportionally added to the specific dimension of the generated sinusoidal position encoding to adjust the model's perception and processing capabilities of the haze situation.

[0023] For each image block at each position, the normalized haze density information is proportionally added to the specific dimension of the sinusoidal position coding vector in the corresponding dimension of the sinusoidal position coding, as shown in formula (1).

[0024] (1) in, represents the original sinusoidal position encoding vector, Indicates the haze density difference information, represents the scale factor. The sinusoidal position encoding vector of the positions , it is necessary to transfer the haze density information Add in proportion.

[0025] An activation function unit, connected to the adding unit, for classifying and marking the predicted image to obtain a feature mark; A multiplication unit is connected to the activation function unit and the second convolution unit, and is used to perform multiplication and calibration on each pixel of the second residual image according to the feature mark and then output it.

[0026] The supervised attention unit SAM takes the previous layer features As input, where H×W is the spatial dimension and C is the number of channels, a residual image is first generated by a simple 1×1 convolution , add the residual image to the feature image processed by the dilated spatial convolutional pooling pyramid unit ASPP to get the predicted image , for this predicted image, the real image is used to provide supervision. Second, the attention Masks of each pixel The predicted image Generated using 1×1 convolution and sigmoid activation. Third, these masks recalibrate the transformed residual image, resulting in attention-guided features that are added to the identity mapping path. Finally, the enhanced feature representation generated by the supervised dilated convolution Passed to the next stage for further processing.

[0027] In a specific embodiment, the atrous spatial convolution pooling pyramid module includes: four atrous convolution units and ASPP pooling units arranged in parallel, and the ASPP pooling unit includes a 1×1 pooling layer, a 1×1 convolution layer and an upsampling layer.

[0028] Specifically, the convolution rates of the four parallel-set atrous convolution units are all different, namely 1, 4, 8, and 16. The difference between the atrous convolution layer and the general convolution is the convolution rate, which controls the padding and expansion during convolution. Through different padding and expansion, receptive fields of different scales can be obtained and multi-scale information can be extracted, but the convolution kernel size always remains unchanged at 3×3. The ASPP pooling unit performs adaptive average pooling operations, and does not need to specify the convolution kernel size and step size, but only needs to specify the final output size as 1×1. By compressing the feature maps of each channel to 1×1 respectively, the features of each channel are extracted, and then the global features are obtained; followed by a 1×1 convolution layer, the features obtained in the previous step are further extracted and reduced in dimension, and finally the feature map is upsampled from 1×1 back to the original size.

[0029] In one example, the method of this embodiment is implemented using Pytorch on an RTX 4090 (24GB) GPU, and the optimizer used is ADAM. The initial learning rate of the image dehazing algorithm is set to 0.0001, and the cosine annealing strategy is used to adjust the learning rate until convergence. The L1 loss function used is used to optimize the network, and the image blocks are randomly cropped for training. During the training process, the size of the image blocks is gradually expanded from 128*128 to the full size. The number of iterations of the helmet recognition algorithm is 400, the weight decay coefficient is 0.0005, and the maximum training batch is 16. The loss function value drops sharply from the 1st epoch to the 50th epoch, and then begins to slowly drop to the 400th epoch. After 350 epochs, the loss function value stabilizes at around 0.015, and the model reaches the maximum excellent state.

[0030] For the data set, this embodiment collects multiple surveillance videos of working time scenes and non-working time at the same location of the coal mine working face, and frames and crops the videos as the data set Braize-Haze, which also includes the public data sets Dense-Haze and NH-HAZE, to evaluate the performance of the coal mine working face image dehazing algorithm based on DeDi-Transformer proposed in this paper. The Braize-Haze data set includes 10,000 pairs of paired data, which are used as training sets, validation sets, and test sets in an 8:1:1 manner. The helmet data set Dehaze-Helmet selects 6,000 images that have been processed by the image dehazing algorithm and rotation, flipping, translation, cropping, etc., and uses labelimg to annotate these images. The class of wearing a helmet is hat, and the class of not wearing a helmet is person. This experiment converts them into the txt format of YOLO. It is used as the training set, validation set, and test set in an 8:1:1 manner.

[0031] After comparison, the recognition method of this application is 0.9% more accurate than YOLOv9, and the average precision is 39.6% higher than Faster R-CNN, 17.1% higher than SSD, 6.3% higher than YOLOv7, 3.8% higher than YOLOv8, and 2.3% higher than YOLOv9. In addition, for the confidence index, in the recognition of one sample, the confidence of Faster R-CNN is 0.74, the confidence of SSD is 0.79, the confidence of YOLOv7 is 0.85, the confidence of YOLOv8 is 0.87, the confidence of YOLOv9 is 0.90, and the confidence of this application is 0.92.

[0032] The safety helmet recognition method in the coal mine working face spray dust removal scenario of this embodiment aims to solve the problem that it is difficult for the coal mine working face monitoring system to quickly and accurately identify whether the coal miners are wearing safety helmets. The supervised attention unit and the void space convolution pooling pyramid unit are introduced to speed up feature extraction and improve the accuracy of safety helmet recognition.

[0033] The present invention also provides a safety helmet recognition system in a coal mine working face spray dust removal scenario, comprising: A density information calculation module, used to obtain a first state image and a second state image of a preset position of a coal mine working face, so as to obtain density information of the preset position based on the first state image and the second state image; A position coding vector correction module, for adding the density difference information in the corresponding dimension of the sinusoidal position coding to obtain a corrected sinusoidal position coding vector for the image to be identified; The recognition module is used to recognize the helmet using a preset neural network model based on the modified sinusoidal position encoding vector.

[0034] In a specific embodiment, the density information calculation module includes: A haze region identification unit, configured to identify haze regions in the first state image and the second state image by using an edge detection algorithm; A haze region density calculation unit, used to calculate the pixel density and color gradient of the haze region to obtain the density of the haze region in the first state image and the second state image; A haze density difference calculation unit, configured to obtain a haze density difference according to the density of the haze area in the first state image and the second state image; The normalization unit is used to perform normalization processing on the haze density difference to obtain density information.

[0035] In a specific implementation, the position encoding vector correction module includes: An original position coding vector calculation unit, used for obtaining the position information of each image block in the image to be identified so as to embed each position information into the vector representation of the corresponding image block to obtain an original sinusoidal position coding vector; The position coding vector correction unit is used to insert the density information of the preset position into the original sinusoidal position coding vector of the corresponding position in the image to be identified to obtain a corrected sinusoidal position coding vector.

[0036] In a specific embodiment, the preset neural network model includes: A supervised attention unit for generating feature images based on the modified sinusoidal position encoding vector; A first convolution unit, connected to the supervisory attention unit, configured to generate a first residual image according to the feature image; A second convolution unit, connected to the supervisory attention unit, for generating a second residual image according to the feature image; an adding unit, connected to the atrous spatial convolution pooling pyramid unit and the first convolution unit, and configured to add the feature image output by the atrous spatial convolution pooling pyramid unit and the residual image to obtain a predicted image; An activation function unit, connected to the adding unit, for classifying and marking the predicted image to obtain a feature mark; A multiplication unit is connected to the activation function unit and the second convolution unit, and is used to perform multiplication and calibration on each pixel of the second residual image according to the feature mark and then output it.

[0037] In a specific embodiment, the atrous spatial convolution pooling pyramid unit includes: four atrous convolution units and an ASPP pooling unit arranged in parallel, and the ASPP pooling unit includes a 1×1 pooling layer, a 1×1 convolution layer and an upsampling layer.

[0038] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0039] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.

[0040] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0041] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices (equipment), or computer program products. Therefore, the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware, which are collectively referred to as "modules" or "systems" herein. Moreover, the present application may adopt the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program codes. The computer program is stored / distributed in a suitable medium, provided together with other hardware or as a part of hardware, or may adopt other distribution forms, such as by Internet or other wired or wireless telecommunication systems.

[0042] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatuses (devices) and computer program products of the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0043] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0044] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0045] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A method for identifying safety helmets in a coal mine working face spray dust removal scenario, characterized in that: include: Acquire a first state image and a second state image of a preset position of a coal mine working face, so as to obtain density information of the preset position based on the first state image and the second state image; For the image to be recognized, the density difference information is added to the corresponding dimension of the sinusoidal position code to obtain a modified sinusoidal position code vector; A preset neural network model is used to identify the helmet based on the modified sinusoidal position encoding vector.

2. The method for identifying safety helmets in a coal mine working face spray dust removal scenario according to claim 1 is characterized in that: Obtaining density difference information of a preset position based on the first state image and the second state image includes: Using an edge detection algorithm to identify haze areas in the first state image and the second state image; Calculating the pixel density and color gradient of the haze area to obtain the density of the haze area in the first state image and the second state image; Obtaining a haze density difference according to the density of the haze area in the first state image and the second state image; The haze density difference is normalized to obtain density information.

3. The method for identifying safety helmets in a coal mine working face spray dust removal scenario according to claim 1, characterized in that: For the image to be recognized, the density difference information is added to the corresponding dimension of the sinusoidal position coding to obtain a modified sinusoidal position coding vector, including: Obtaining position information of each image block in the image to be identified so as to embed each position information into a vector representation of the corresponding image block to obtain an original sinusoidal position encoding vector; The density information of the preset position is inserted into the original sinusoidal position coding vector of the corresponding position in the image to be identified to obtain a modified sinusoidal position coding vector.

4. The method for identifying safety helmets in a coal mine working face spray dust removal scenario according to claim 1, characterized in that: The preset neural network model includes: A supervised attention unit for generating feature images based on the modified sinusoidal position encoding vector; A first convolution unit, connected to the supervisory attention unit, configured to generate a first residual image according to the feature image; A second convolution unit, connected to the supervisory attention unit, for generating a second residual image according to the feature image; an adding unit, connected to the atrous spatial convolution pooling pyramid unit and the first convolution unit, and configured to add the feature image output by the atrous spatial convolution pooling pyramid unit and the residual image to obtain a predicted image; A third convolution unit and an activation function unit are connected to the addition unit and are used to classify and mark the predicted image to obtain a feature mark; A multiplication unit is connected to the activation function unit and the second convolution unit, and is used to perform multiplication and calibration on each pixel of the second residual image according to the feature mark and then output it.

5. The method for identifying safety helmets in a coal mine working face spray dust removal scenario according to claim 1, characterized in that: The atrous spatial convolution pooling pyramid module includes: four atrous convolution units and ASPP pooling units arranged in parallel, and the ASPP pooling unit includes a 1×1 pooling layer, a 1×1 convolution layer and an upsampling layer.

6. A safety helmet recognition system for coal mine working face spray dust removal scenarios, characterized in that: include: A density information calculation module, used to obtain a first state image and a second state image of a preset position of a coal mine working face, so as to obtain density information of the preset position based on the first state image and the second state image; A position coding vector correction module, for adding the density difference information in the corresponding dimension of the sinusoidal position coding to obtain a corrected sinusoidal position coding vector for the image to be identified; The recognition module is used to recognize the helmet using a preset neural network model based on the modified sinusoidal position encoding vector.

7. The safety helmet recognition system in the coal mine working face spray dust removal scene according to claim 6 is characterized in that: The density information calculation module includes: A haze region identification unit, configured to identify haze regions in the first state image and the second state image by using an edge detection algorithm; A haze region density calculation unit, used to calculate the pixel density and color gradient of the haze region to obtain the density of the haze region in the first state image and the second state image; A haze density difference calculation unit, configured to obtain a haze density difference according to the density of the haze area in the first state image and the second state image; The normalization unit is used to perform normalization processing on the haze density difference to obtain density information.

8. The method for identifying safety helmets in a coal mine working face spray dust removal scenario according to claim 6, characterized in that: The position encoding vector correction module comprises: An original position coding vector calculation unit, used for obtaining the position information of each image block in the image to be identified so as to embed each position information into the vector representation of the corresponding image block to obtain an original sinusoidal position coding vector; The position coding vector correction unit is used to insert the density information of the preset position into the original sinusoidal position coding vector of the corresponding position in the image to be identified to obtain a corrected sinusoidal position coding vector.

9. The safety helmet recognition system in the coal mine working face spray dust removal scene according to claim 6 is characterized in that: The preset neural network model includes: A supervised attention unit for generating feature images based on the modified sinusoidal position encoding vector; A first convolution unit, connected to the supervisory attention unit, configured to generate a first residual image according to the feature image; A second convolution unit, connected to the supervisory attention unit, for generating a second residual image according to the feature image; an adding unit, connected to the atrous spatial convolution pooling pyramid unit and the first convolution unit, and configured to add the feature image output by the atrous spatial convolution pooling pyramid unit and the residual image to obtain a predicted image; An activation function unit, connected to the adding unit, for classifying and marking the predicted image to obtain a feature mark; A multiplication unit is connected to the activation function unit and the second convolution unit, and is used to perform multiplication and calibration on each pixel of the second residual image according to the feature mark and then output it.

10. The safety helmet recognition system in the coal mine working face spray dust removal scene according to claim 6, characterized in that: The atrous spatial convolutional pooling pyramid unit includes: four atrous convolutional units and an ASPP pooling unit arranged in parallel, and the ASPP pooling unit includes a 1×1 pooling layer, a 1×1 convolutional layer and an upsampling layer.