Construction site fire identification method and device based on deep model fusion framework

The deep model fusion framework combines the convolutional neural network and the long and short-term memory network to learn the global and sequence information of the construction site fire pictures, and performs weighted fusion through the adaptive feature fusion module to solve the problem of low fire recognition performance at the construction site and achieve To achieve efficient and accurate fire identification and reduce casualties.

CN116740630BActive Publication Date: 2024-09-03GUANGZHOU RAILWAY INVESTMENT & CONSTRUCTION GROUP CO LTD GUANGZHOU CITY +2
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202310542784.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-12
Publication Date
2024-09-03
Estimated Expiration
2043-05-12

AI Technical Summary

Technical Problem

In the complex environment of the construction site, traditional fire identification methods have problems such as low identification performance, high equipment costs, frequent missed and misjudgments, and low efficiency of personnel inspections, making it difficult to prevent fires in a timely manner.

Method used

A construction site fire identification method based on a deep model fusion framework is used to learn the global and sequence information of fire pictures through a combination of convolutional neural network and long short-term memory network, and weighted feature fusion is performed through the adaptive feature fusion module, and finally the support vector is input machine for fire identification.

Benefits of technology

It significantly improves the accuracy and efficiency of fire identification at construction sites, reduces casualties, avoids the degradation of feature fusion performance, and improves the identification performance and portability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116740630B
    Figure CN116740630B
Patent Text Reader

Abstract

In view of the complex construction site environment, in order to effectively improve the efficiency of fire identification on the construction site and reduce unnecessary casualties, the present invention provides a construction site fire identification method and device based on a deep model fusion framework, which uses artificial intelligence image recognition technology to extract robust fire image features, thereby improving the accuracy of automatic fire identification. First, by designing an independent loss function, each deep learning feature takes a channel for independent training to avoid mutual interference between channels and learn more fire-related information. Secondly, in the feature fusion stage, an adaptive feature fusion module is designed. By introducing the residual idea and attention mechanism, the attention fusion factor is generated by calculation, which effectively realizes the adaptive fusion of features between different channels, avoids the linear incoherence problem caused by direct feature splicing, and maximizes the representation ability of the features extracted by the model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image recognition, and in particular to a construction site fire recognition method and device based on a deep model fusion framework. Background Art

[0002] The actual construction site is complex and improper handling can easily cause fires, which will not only threaten the lives and health of workers, but also cause huge economic and property losses. Relying on personnel visits and inspections to prevent fires requires a lot of manpower and material resources, and the information transmission efficiency is not high, which often delays the best time for disaster relief. Traditional fire identification methods based on temperature sensors, smoke recognition fire alarms, and thermal sensors are not only expensive, but also require large maintenance costs in the later stage. In addition, there are also many missed and misjudgment situations.

[0003] The development of computer and network technology has provided a new opportunity for the transformation and upgrading of fire identification at construction sites. The intelligent fire identification method based on image recognition can not only effectively improve the recognition performance of the system, but also reduce personnel input and realize 24-hour intelligent fire identification that integrates supervision, shooting, analysis and discrimination. Due to its powerful feature extraction ability, convolutional neural network (CNN) has achieved excellent performance in autonomous driving, medical diagnosis, face recognition, age analysis and other aspects. Scholars have also tried to introduce CNN into the field of fire image recognition. Fu Tianju et al. proposed an improved CNN network framework in the face of the complex background of forest fires, and achieved a high recognition accuracy rate. Otabek et al. proposed a video fire early detection system combining CNN with principal component analysis. The system can not only make full use of traditional fire features such as fire color and motion feature information, but also give play to the excellent feature learning ability of deep learning, thereby designing a fire detection method based on deep neural network.

[0004] The deep learning method not only effectively improves the recognition efficiency of the system, but also effectively improves the performance of fire recognition. However, it greatly limits the performance of the system in construction site environments with complex application scenarios, such as dirty and messy construction sites and insufficient lighting. Summary of the invention

[0005] In view of the complex construction site environment, in order to effectively improve the efficiency of fire identification on the construction site and reduce unnecessary casualties, the present invention provides a construction site fire identification method and device based on a deep model fusion framework, which uses artificial intelligence image recognition technology to extract robust fire image features, thereby improving the accuracy of automatic fire identification.

[0006] To achieve the above object, the technical solution of the present invention is:

[0007] In a first aspect, the present invention provides a construction site fire identification method based on a deep model fusion framework, characterized in that it includes:

[0008] The obtained construction site fire pictures are used as input to the deep model fusion framework;

[0009] The construction site fire picture is input into the deep model fusion framework for convolution operation to obtain the abstract representation information conv of the picture;

[0010] The abstract representation information conv is sent to two parallel feature extraction channels for feature learning and iterative optimization. When the loss of the two feature extraction channels is less than the threshold, the outputs of the two feature learning channels are fused by splicing to obtain the splicing fusion result.

[0011] The splicing fusion result is input into the adaptive feature fusion module, and the attention fusion factor is calculated through the feature correlation learning of the adaptive feature fusion module, and the splicing fusion result is weightedly fused to obtain the weighted fusion result;

[0012] The weighted fusion results are input into the support vector machine for fire situation identification.

[0013] Furthermore, the two parallel feature extraction channels are a global feature learning channel and a sequence feature learning channel; the global feature learning channel adopts a convolutional neural network; the sequence feature learning channel adopts a long short-term memory network;

[0014] The convolutional neural network will be used to learn the global fire information of the construction site fire pictures;

[0015] The long short-term memory network is used to learn the sequence information of construction site fire pictures.

[0016] Furthermore, during the feature learning process, the convolutional neural network and the long short-term memory network use independent loss functions and model optimizers to perform their own iterative optimization.

[0017] Furthermore, the adaptive feature fusion module includes point multiplication convolution PWconv, global average pooling GAP and batch normalization BN; the splicing fusion result F(x) is input into the point multiplication convolution module to generate P(x), as shown in the following formula:

[0018] P(x)=PWconv(BN(GAP(PWconv(F(x)))));

[0019] The ReLu function is introduced to improve the nonlinear characteristics of P(x), and the Sigmoid function is used to generate the attention fusion factor Attention of each channel, as shown in the following formula:

[0020] Attention=Sigmoid(ReLu(P(x)));

[0021] Multiply the attention fusion factor Attention by F(x) to generate the adaptive fusion feature Output, as follows:

[0022] Output = F(x)*Attention.

[0023] Furthermore, the abstract representation information conv is sent to two parallel feature extraction channels for feature learning, and iterative optimization includes:

[0024] In the global feature learning channel, through the convolutional neural network, the convolutional neural network includes four convolution modules, each of which includes a 2*2 convolution operation, a batch normalization layer, a nonlinear function layer, and a maximum pooling layer;

[0025] In the sequence feature learning channel, conv will be input into the long short-term memory network, which has two long short-term neural units.

[0026] The global feature learning channel and the sequence feature learning channel are provided with separate softmax layers and optimizers, namely Softmax 1, Optimizer 1, Softmax 2, and Optimizer 2;

[0027] In the global feature learning channel, Softmax 1 will calculate the loss of this channel, Loss 1, and Optimizer 1 will iteratively optimize the convolutional neural network based on Loss 1;

[0028] In the sequence feature learning channel, the loss Loss 2 of this channel will be calculated after the Softmax 2 layer, and Optimizer 2 will iteratively optimize the long and short time neural network based on Loss 2.

[0029] Furthermore, the convolution operation is a 3*3 convolution operation.

[0030] Furthermore, before the construction site fire picture is input into the deep model fusion framework for convolution operation, the construction site fire picture is preprocessed to improve the visual effect of the image.

[0031] Furthermore, the preprocessing includes image grayscale, data normalization, and image enhancement.

[0032] In a second aspect, the present invention provides a construction site fire identification device based on a deep model fusion framework, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above methods when executing the computer program.

[0033] In a second aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.

[0034] Compared with the prior art, the present invention has the following beneficial effects:

[0035] In order to prevent fire safety hazards from occurring at construction sites and reduce unnecessary casualties, the present invention first proposes a deep model fusion framework, which consists of two parallel feature extraction channels, which are used to learn the global and temporal information of construction site pictures respectively. At the same time, with the help of the independent training mechanism of the model, the mutual interference of the deep model training of different channels is effectively avoided, and the feature learning ability of the model is improved; secondly, compared with the traditional channel splicing feature fusion method, this scheme proposes an adaptive feature fusion module, which uses the residual and attention ideas to effectively solve the problem of representation performance attenuation caused by feature fusion between different channels. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A flowchart of a construction site fire identification method based on a deep model fusion framework provided in Example 1 of the present invention;

[0037] Figure 2 This is a schematic diagram of the convolution module composition of the convolutional neural network;

[0038] Figure 3 This is a schematic diagram of the composition of the long short-term memory network;

[0039] Figure 4 It is a schematic diagram of the composition of the adaptive feature fusion module;

[0040] Figure 5 A schematic diagram of the composition of a construction site fire identification device based on a deep model fusion framework provided in Example 2 of the present invention. DETAILED DESCRIPTION

[0041] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0042] Embodiment 1:

[0043] See also Figure 1As shown, the construction site fire identification method based on the deep model fusion framework provided in this embodiment specifically includes the following steps:

[0044] 101. The fire pictures of the construction site taken by the camera are used as the input of the designed deep model fusion framework.

[0045] 102. The fire picture at the construction site is input into the deep model fusion framework, and a convolution operation is first performed, such as a convolution operation with a convolution kernel of 3*3, to obtain the abstract representation information conv of the picture.

[0046] 103. The abstract representation information conv is sent to two parallel feature extraction channels for feature learning and iterative optimization.

[0047] Specifically, in this step, the two parallel feature extraction channels are a global feature learning channel and a sequence feature learning channel, so as to fully learn the global information and sequence information of the fire photos; Figure 1 As shown in the figure, the global feature learning channel adopts the convolutional neural network Attention CNN based on the attention mechanism; the sequence feature learning channel adopts the long short-term memory network Attention LSTM based on the attention mechanism; the convolutional neural network based on the attention mechanism will be used to learn the global fire related information of the photos taken, and the introduction of the attention mechanism is conducive to the model focusing on the area with prominent local features for feature learning; in the long short-term memory network based on the attention mechanism, the model will learn the sequence related information related to the fire photos, and the attention mechanism is conducive to strengthening the model to learn the sequence related information. In particular, the designed Attention CNN and Attention LSTM models will adopt an independent training method in the process of feature learning, that is, by setting up independent loss functions and model optimizers, the deep model can use its own loss feedback to iteratively correct the model, and when the loss of each model tends to be stable (less than a certain threshold), the outputs of different channels will be fused. For example, the output F1 of the global feature learning channel and the output F2 of the sequence feature learning channel are fused into F (F = [F1, F2]). Compared with the traditional training method of using the same single loss function to correct different feature extraction channels, this method avoids mutual interference of models during training by introducing mutually independent loss functions, and effectively improves the feature learning ability of deep models.

[0048] 104. Input the spliced ​​and fused F into the adaptive feature fusion module, such as Figure 4 As shown, through the feature correlation learning of the adaptive feature fusion module, the attention fusion factor is calculated, and F is weightedly fused to obtain the weighted fusion result.

[0049] Traditional channel feature fusion solutions mostly use direct concatenation to fuse features, such as formula (1), where the fused feature is F(x), and Channel1 and Channel2 are the outputs of different channels. This method ignores the specificity between different features, and direct concatenation easily leads to feature performance degradation. To solve this problem, this method designs an adaptive feature fusion module. The structure of the adaptive feature fusion module is shown in the figure. Figure 4 As shown. First, the outputs of different channels are fused in the concat input layer to generate the feature F(x); in order to learn the linear correlation characteristics between features, the concatenated F(x) is input into the point-wise convolution of the adaptive feature fusion module to generate P(x), as shown in formula (2). The adaptive feature fusion module consists of point-wise convolution (PWconv), global average pooling (GAP) and batch normalization (BN); secondly, the ReLu function is introduced to improve the nonlinear characteristics of P(x), and the Sigmoid function is used to generate the attention fusion factor Attention of each channel, as shown in formula (3). Finally, the attention fusion factor Attention is multiplied by F(x) to generate the adaptive fusion feature Output, as shown in formula (4).

[0050] F(x)=[Channel1 Channel2] (1)

[0051] P(x)=PWconv(BN(GAP(PWconv(F(x))))) (2)

[0052] Attention=Sigmoid(ReLu(P(x))) (3)

[0053] Output=F(x)*Attention (4)

[0054] 105. The deep model fusion framework finally inputs the weighted fusion result of the adaptive fusion module into the support vector machine (SVM) for fire situation identification.

[0055] It can be seen that the present invention provides a deep model fusion framework that can effectively improve the on-site fire recognition performance for complex construction site environments. This framework can not only significantly improve the recognition performance of the system, but also the method has strong portability. Specifically, firstly, compared with the traditional deep model fusion scheme, which uses a common loss function for different feature extraction channels to optimize the model, the deep model fusion framework proposed in the present invention uses an independent loss function in each feature extraction channel to iteratively optimize the model, which effectively avoids mutual interference between models during the iterative optimization process and greatly improves the feature extraction capability of the designed deep model; secondly, in the feature fusion stage, an adaptive feature fusion module is designed. Compared with the traditional splicing feature fusion method, the method designed by the present invention, by introducing the idea of ​​residual and attention mechanism, fully considers the linear correlation characteristics between features of different channels, and further improves the performance of the designed model.

[0056] In a specific embodiment, in the above step 103, in the global feature learning channel, first, through a convolutional neural network, a convolutional module convolutional neural network such as Figure 2 As shown in Figure 1, a total of four convolution modules are set up, each of which includes a 2*2 convolution operation, a batch normalization layer, a nonlinear function layer, and a maximum pooling layer. In the sequence feature learning channel, conv will be input into the long-short time cell unit, and the structure is as follows: Figure 3 As shown in , the LSTM network sets two LSTM neural units. In particular, this method sets separate softmax layers and optimizers for different feature extraction channels, such as Figure 1 Softmax 1, Optimizer 1, Softmax 2, Optimizer 2. In the global feature learning channel, the loss Loss 1 of this channel will be calculated through Softmax 1, and Optimizer 1 will iteratively optimize the convolutional neural network based on Loss 1; similarly, in the sequence feature learning channel, the loss Loss 2 of this channel will be calculated through the Softmax 2 layer, and Optimizer 2 will iteratively optimize the long-short time neural network based on Loss 2.

[0057] In a preferred embodiment, the photo input into the deep model fusion framework is first subjected to preprocessing operations such as image grayscale conversion, data normalization, and image enhancement to improve the visual effect of the image; after the preprocessing, the picture is input into the deep model fusion framework.

[0058] In summary, compared with the prior art, the present invention has the following technical advantages:

[0059] In order to effectively improve the intelligent recognition performance of fires at construction sites, the present invention proposes a deep model fusion framework based on deep learning image recognition technology, which has the advantages of high efficiency and strong portability.

[0060] In the designed deep model fusion framework, first of all, unlike the traditional deep learning model fusion method (using the common loss of different channels to train the model), the deep model designed in this paper adopts an independent training mechanism. By designing an independent softmax layer and optimizer, the independent loss feedback of the model is realized. When the loss of each feature extraction channel tends to be stable, the output of different channels is fused. This method effectively avoids the mutual interference between different feature extraction channels and maximizes the feature extraction ability of the model. Secondly, in the feature fusion stage of different channels, compared with the traditional direct splicing feature fusion method, this method fully considers the contribution of different channel features to the final discrimination, and designs an adaptive feature fusion module. This module calculates the attention correlation coefficient by calculating the linear correlation characteristics of the output of each channel, and then performs weighted fusion of different channels, which is conducive to further improving the recognition performance of the system.

[0061] Embodiment 2:

[0062] See also Figure 5 As shown, the construction site fire identification device based on the deep model fusion framework provided in this embodiment includes a processor 51, a memory 52, and a computer program 53 stored in the memory 52 and executable on the processor 51, such as a construction site fire identification program based on the deep model fusion framework. When the processor 51 executes the computer program 53, the steps of the above-mentioned embodiment 1 are implemented.

[0063] Exemplarily, the computer program 53 may be divided into one or more modules / units, which are stored in the memory 52 and executed by the processor 51 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 53 in the construction site fire identification device based on the deep model fusion framework.

[0064] The construction site fire identification device based on the deep model fusion framework can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The construction site fire identification device based on the deep model fusion framework can include, but is not limited to, a processor 51 and a memory 52. ​​Those skilled in the art can understand that Figure 5It is merely an example of a construction site fire identification device based on a deep model fusion framework and does not constitute a limitation of the construction site fire identification device based on a deep model fusion framework. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the construction site fire identification device based on a deep model fusion framework may also include input and output devices, network access devices, buses, etc.

[0065] The processor 51 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0066] The memory 52 may be an internal storage unit of the construction site fire identification device based on the deep model fusion framework, such as a hard disk or memory of the construction site fire identification device based on the deep model fusion framework. The memory 52 may also be an external storage device of the construction site fire identification device based on the deep model fusion framework, such as a plug-in hard disk, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the construction site fire identification device based on the deep model fusion framework. Further, the memory 52 may also include both an internal storage unit of the construction site fire identification device based on the deep model fusion framework and an external storage device. The memory 52 is used to store the computer program and other programs and data required by the construction site fire identification device based on the deep model fusion framework. The memory 52 may also be used to temporarily store data that has been output or is to be output.

[0067] Embodiment 3:

[0068] This embodiment provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the method described in Embodiment 1 are implemented.

[0069] The computer-readable medium shown can be any device that can contain, store, communicate, propagate or transmit a program for use with an instruction execution system, device or apparatus or in conjunction with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium can even be paper or other suitable media on which the program can be printed, such as by optically scanning the paper or other medium, then editing, interpreting or processing in other suitable ways as necessary to obtain the program electronically, and then storing it in a computer memory.

[0070] The above embodiments are only for illustrating the technical concept and features of the present invention, and their purpose is to enable ordinary technicians in the field to understand the content of the present invention and implement it accordingly, and they cannot be used to limit the protection scope of the present invention. Any equivalent changes or modifications made based on the essence of the content of the present invention should be included in the protection scope of the present invention.

Claims

1. A construction site fire identification method based on a deep model fusion framework, characterized in that: include: The obtained construction site fire pictures are used as input to the deep model fusion framework; The construction site fire picture is input into the deep model fusion framework for convolution operation to obtain the abstract representation information conv of the picture; The abstract representation information conv is sent to two parallel feature extraction channels for feature learning and iterative optimization. When the loss of the two feature extraction channels is less than the threshold, the outputs of the two feature learning channels are fused by splicing to obtain the splicing fusion result. The splicing fusion result is input into the adaptive feature fusion module, and the attention fusion factor is calculated through the feature correlation learning of the adaptive feature fusion module, and the splicing fusion result is weightedly fused to obtain the weighted fusion result; The weighted fusion results are input into the support vector machine for fire situation identification; The two parallel feature extraction channels are a global feature learning channel and a sequence feature learning channel; The global feature learning channel adopts a convolutional neural network; the sequence feature learning channel adopts a long short-term memory network; The convolutional neural network will be used to learn the global fire information of the construction site fire pictures; The long short-term memory network is used to learn the sequence information of the construction site fire pictures; The adaptive feature fusion module includes point multiplication convolution PWconv, global average pooling GAP and batch normalization BN; the splicing fusion result F(x) is input into the point multiplication convolution module to generate P(x), as shown in the following formula: P(x)=PWconv(BN(GAP(PWconv(F(x))))); The ReLu function is introduced to improve the nonlinear characteristics of P(x), and the Sigmoid function is used to generate the attention fusion factor Attention of each channel, as shown in the following formula: Attention=Sigmoid(ReLu(P(x))); Multiply the attention fusion factor Attention by F(x) to generate the adaptive fusion feature Output, as follows: Output = F(x)*Attention.

2. The construction site fire identification method based on the deep model fusion framework as claimed in claim 1 is characterized in that: The convolutional neural network and the long short-term memory network use independent loss functions and model optimizers to perform their own iterative optimization during the feature learning process.

3. The construction site fire identification method based on the deep model fusion framework as claimed in claim 2 is characterized in that: The abstract representation information conv is sent to two parallel feature extraction channels for feature learning and iterative optimization, including: In the global feature learning channel, through the convolutional neural network, the convolutional neural network includes four convolution modules, each of which includes a 2*2 convolution operation, a batch normalization layer, a nonlinear function layer, and a maximum pooling layer; In the sequence feature learning channel, conv will be input into the long short-term memory network, which has two long short-term neural units. The global feature learning channel and the sequence feature learning channel are provided with separate softmax layers and optimizers, namely Softmax 1, Optimizer 1, Softmax 2, and Optimizer 2; In the global feature learning channel, Softmax 1 will calculate the loss of this channel, and Optimizer 1 will iteratively optimize the convolutional neural network based on Loss 1; In the sequence feature learning channel, the loss Loss 2 of this channel will be calculated after the Softmax 2 layer, and Optimizer 2 will iteratively optimize the long and short time neural network based on Loss 2.

4. The construction site fire identification method based on the deep model fusion framework as claimed in claim 1 is characterized in that: The convolution operation is a 3*3 convolution operation.

5. The construction site fire identification method based on the deep model fusion framework as claimed in claim 1 is characterized in that: Before the construction site fire picture is input into the deep model fusion framework for convolution operation, the construction site fire picture is preprocessed to improve the visual effect of the image.

6. The construction site fire identification method based on the deep model fusion framework as claimed in claim 5 is characterized in that: The preprocessing includes image grayscale, data normalization, and image enhancement.

7. A construction site fire identification device based on a deep model fusion framework, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Real-time fire monitoring method combining DCLRN and optical flow method

    CN108830305A

  • Fire video smoke identification method based on time-space domain dual channels

    CN114580541A

  • Fire detection algorithm based on improved YOLOv5

    CN114821266A

  • Converter fault diagnosis method and system based on attention mechanism and convolution NN

    CN115062538A

  • Fire smoke flame image recognition method

    CN115761627A