Intelligent fire-fighting monitoring method based on intelligent algorithm, medium and terminal
By adding the attention module and the Involution module to the fire monitoring network model, combined with artificial intelligence technology, it solves the problem that traditional fire monitoring methods cannot cover and adapt, and achieves efficient and intelligent fire monitoring and disaster prevention.
Patent Information
- Application Number
- CN202410892521.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-09-17
AI Technical Summary
Traditional fire monitoring methods rely on fixed sensor networks, which cannot cover the entire site and have limited adaptability, resulting in low intelligence in fire monitoring and poor monitoring effects.
Adopting a smart fire monitoring method based on intelligent algorithms, by adding the CBAM attention module, Involution module and CA attention module to the network model, the feature attention method and information sharing of the convolutional neural network are optimized, and advanced artificial intelligence technology is used for data processing. Analysis and intelligent decision-making.
It improves the intelligence level and response speed of fire monitoring, enhances the adaptability and feature expression ability to complex scenes, and achieves more accurate and timely fire identification and disaster prevention processing.
Smart Images

Figure CN118658121A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of fire safety technology, and in particular relates to a smart fire monitoring method, medium and terminal based on intelligent algorithm. Background Art
[0002] With the continuous development of cities and the increase in population, efficient and intelligent fire monitoring methods are becoming increasingly important for the safety of people's lives and property. Traditional fire monitoring methods often rely on fixed sensor networks. These sensors are usually deployed in specific locations within buildings. They detect smoke, temperature rise and other indicators to identify signs of fire. They can only monitor in specific areas and cannot cover the entire site. In addition, they have limited adaptability to different environments and complex scenarios, resulting in low intelligence in fire monitoring and poor monitoring results.
[0003] The patent application with publication number CN115035674A provides a smart building fire intelligent monitoring and early warning management system, including a fire equipment setting module, a fire floor judgment and identification module, a fire database, a fire early warning module, a fire evacuation mode dynamic guidance module and an optimal escape fire channel intelligent screening module. This patent application sets up fire monitoring units, sound and light alarms and fire broadcasts in set areas on each floor of the smart building, and then in the event of a fire, the floor number corresponding to the fire floor is voice broadcasted to the people on each floor through the fire broadcast. From the above, it can be seen that this patent application also relies on a fixed sensor network, and realizes fire monitoring by arranging sensors in specific areas, so it has the same disadvantages as the existing technology.
[0004] Therefore, how to provide a fire monitoring method with high intelligence and good monitoring effect to improve the efficiency of urban fire safety is an urgent problem to be solved by personnel in this technical field. Summary of the invention
[0005] In view of the shortcomings of the prior art, the purpose of the present invention is to provide a smart fire monitoring method based on intelligent algorithms to solve the problems of low intelligence level and poor monitoring effect of fire monitoring in the prior art; in addition, the present invention also provides a smart fire monitoring medium and terminal based on intelligent algorithms.
[0006] In order to solve the above technical problems, the present invention adopts the following technical solutions:
[0007] In a first aspect, the present invention provides a smart fire monitoring method based on an intelligent algorithm, comprising the following steps:
[0008] S10. Obtain image data of flame, smoke and fire passage occupancy through on-site collection or network crawling;
[0009] S20, uploading the image data obtained in step S10 to the CVAT data processing platform, cleaning and marking the collected image data, and exporting the corresponding data set;
[0010] S30, constructing an image data enhancement module through image processing technology;
[0011] S40. Based on the YOLOv8 model, an Involution module is added between the backbone network and the feature fusion network to build an improved network model.
[0012] S50, inputting the data set obtained in step S20 into the image data enhancement model constructed in step S30 for data enhancement, and then inputting the obtained data into the network model constructed in step S40 for iterative training to obtain an optimal model;
[0013] S60. Use the optimal model file obtained through training to build a fire intelligent monitoring service platform.
[0014] Furthermore, the specific steps of step S40 are as follows:
[0015] S401. Build the backbone network: The backbone network includes 5 CBS modules, 4 C2F modules, 1 CBAM attention module and 1 SPFF module;
[0016] S402, constructing an Involution module: The Involution module is located between the backbone network and the feature fusion network, and can improve and share the channel information of the network. It includes an Unfold module, a Conv convolution module, and an AvgPool pooling module;
[0017] S403, construct feature fusion network: The feature fusion network includes 4 CBS modules, 2 Upsample modules, 4 Concat modules, 4 C2F modules, and 3 CA attention modules;
[0018] S404, constructing a detection head network: the detection head network includes three output branches, each of which includes classification and regression.
[0019] Furthermore, in step S401, the CBS module includes a Conv convolution operation, a BatchNorm normalization process, and a SiLU activation operation; the C2F module includes a CBS convolution operation, a split operation, a Bottleneck residual connection operation, and a Concat splicing operation; the CBAM module includes a channel attention module and a spatial attention module; the SPFF module includes a CBS convolution operation, three Maxpooling operations, and a Concat splicing operation.
[0020] Furthermore, the specific steps of step S50 are as follows:
[0021] S501, performing data enhancement using a data enhancement module;
[0022] S502, input the enhanced data into the network for forward reasoning, use the backbone network with the CBAM attention module to extract features, use the Involution module to improve and share sufficient channel information, use the feature fusion network with the CA attention module to perform feature fusion, and input the results of the three CA attention modules into the detection head network for target classification and regression;
[0023] S503: Construct a loss function and perform iterative training.
[0024] Furthermore, in step S10, on-site collection is to collect data in multiple different places, including parks, apartments and shopping malls, through collection equipment; web crawling is to design an intelligent search algorithm, perform intelligent search through keywords and geographic locations, and obtain diverse image samples.
[0025] Furthermore, the step S20 specifically includes performing a quality check on the image data, deleting low-quality images, and performing a deduplication process. After the cleaning is completed, the image data is labeled, and finally the data is divided into a training set, a validation set, and a test set.
[0026] Furthermore, in step S30, the image processing technology includes random cropping, mosaic, noise, color transformation, brightness adjustment, and geometric transformation.
[0027] Furthermore, in step S60, the fire intelligent monitoring service platform includes a front end and a back end. The front end includes video stream management, alarm management, algorithm management, and control management. The back end responds to the request of the front end accordingly to perform control identification and sends the alarm information to the front end for display.
[0028] In a second aspect, the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program implements the above method when executed by a processor.
[0029] In a third aspect, the present invention further provides an electronic terminal, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes the method as described above.
[0030] Compared with the prior art, the intelligent fire monitoring method, medium and terminal based on intelligent algorithm provided by the present invention have at least the following beneficial effects:
[0031] Traditional fire monitoring methods often rely on fixed sensor networks. These sensors are usually deployed in specific locations within buildings and identify signs of fire by detecting indicators such as smoke and temperature rise. They can only monitor specific areas and cannot cover the entire site. They also have limited adaptability to different environments and complex scenarios, resulting in a low level of intelligence in fire monitoring and poor monitoring results. The present invention adds a CBAM attention module to the backbone network of the network model, and optimizes the way in which the convolutional neural network pays attention to features through the two modules of channel attention and spatial attention. The channel attention improves the network's attention to important channels, while the spatial attention strengthens the network's perception of key areas in the image. By integrating channel and spatial attention, not only the network's feature expression ability is improved, but also the calculation of redundant features is reduced, thereby improving the calculation efficiency; the present invention adds an Involution module between the backbone network and the feature fusion network, and the module improves and shares channel information, thereby reducing the information loss in the initial stage of the feature fusion network; the present invention adds a CA attention module to the feature fusion network, so that the network can more effectively select and strengthen channels that have significant contributions to the current task. This attention mechanism helps to improve the network's feature expression ability, make it more adaptable to complex data features, and more accurately capture key information in the task, which not only optimizes the network's processing of channel features, but also improves the network's learning ability and generalization ability; the present invention combines advanced artificial intelligence technology to perform data analysis and intelligent decision-making to more accurately and timely identify various risks, which not only improves the intelligent level of fire monitoring and response, but also provides a more advanced and efficient solution for disaster prevention and treatment. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the scheme of the present invention, a brief introduction is given below to the figures required for use in the description of the embodiments. Obviously, the figures described below are some embodiments of the present invention. For ordinary technicians in this field, other figures can be obtained based on these figures without paying any creative work.
[0033] Figure 1 A flowchart of a smart fire monitoring method based on an intelligent algorithm provided in an embodiment of the present invention;
[0034] Figure 2 An algorithm model structure diagram of a smart fire monitoring method based on an intelligent algorithm provided in an embodiment of the present invention;
[0035] Figure 3 A C2F module structure diagram of a smart fire monitoring method based on an intelligent algorithm provided in an embodiment of the present invention;
[0036] Figure 4A CBAM module structure diagram of a smart fire monitoring method based on an intelligent algorithm provided in an embodiment of the present invention;
[0037] Figure 5 A SPPF module structure diagram of a smart fire monitoring method based on an intelligent algorithm provided in an embodiment of the present invention;
[0038] Figure 6 An Involution module structure diagram of a smart fire monitoring method based on an intelligent algorithm provided in an embodiment of the present invention;
[0039] Figure 7 A CA attention structure diagram of a smart fire monitoring method based on an intelligent algorithm provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0040] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. The preferred embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.
[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0042] The present invention provides a smart fire monitoring method based on an intelligent algorithm, which is applied to the monitoring process of fire signs in the field of fire safety. The smart fire monitoring method based on an intelligent algorithm includes the following steps:
[0043] S10. Obtain image data of flame, smoke and fire passage occupancy through on-site collection or network crawling;
[0044] S20, uploading the image data obtained in step S10 to the CVAT data processing platform, cleaning and marking the collected image data, and exporting the corresponding data set;
[0045] S30, constructing an image data enhancement module through image processing technology;
[0046] S40. Based on the YOLOv8 model, an Involution module is added between the backbone network and the feature fusion network to build an improved network model.
[0047] S50, inputting the data set obtained in step S20 into the image data enhancement model constructed in step S30 for data enhancement, and then inputting the obtained data into the network model constructed in step S40 for iterative training to obtain the optimal model;
[0048] S60. Use the optimal model file obtained through training to build a fire intelligent monitoring service platform.
[0049] The present invention can provide an efficient and reliable fire monitoring method, making the fire protection system more intelligent and responsive.
[0050] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.
[0051] The present invention provides a smart fire monitoring method based on intelligent algorithm, which is applied to the monitoring process of fire signs in the field of fire safety. Figures 1 to 7 In this embodiment, the intelligent fire monitoring method based on intelligent algorithm includes the following steps:
[0052] S10. Obtain image data of flame, smoke and fire passage occupancy through on-site collection or network crawling;
[0053] Specifically, data is collected in various places such as parks, apartments and shopping malls through collection equipment. In order to cope with changes in different lighting and environment, data collection is carried out in different time periods and weather conditions to ensure that the image data is representative and diverse. In terms of web crawling, network image data is obtained through web crawler technology to supplement the insufficient data of on-site collection equipment. By designing search algorithms, diverse image samples are searched and obtained through keywords, geographic location and other conditions. After acquiring the data, data filtering and cleaning are performed to remove images that do not meet the requirements to ensure that the acquired image data is representative and of high quality. Finally, the image data collected by the above two schemes are packaged together to construct the original data.
[0054] S20, uploading the image data obtained in step S10 to the CVAT data processing platform, cleaning and marking the collected image data, and exporting the corresponding data set;
[0055] Specifically, the raw data DATA collected in step S10 is uploaded to the data processing platform CVAT for comprehensive cleaning and effective data labeling. The data processing platform is a professional and efficient tool that can process image data with high quality, and the processed data can meet the training, verification and testing requirements of subsequent models. The image data is quality checked to eliminate low-quality images caused by equipment failure, poor lighting conditions and other factors. Secondly, deduplication is performed to prevent similar or identical images from existing in the data set, thereby ensuring the independence of the training set, verification set and test set. After the cleaning is completed, the image data is labeled. Finally, the data is divided into the training set DATA according to a certain ratio (8:1:1 is used in this embodiment) train , validation set DATA val and the test set DATA test .
[0056] S30, constructing an image data enhancement module through image processing technology;
[0057] Specifically, an image data enhancement module is constructed by introducing mosaics, noise, color transformation, brightness adjustment, geometric transformation and other means. The application of these methods in the data processing stage helps to expand the diversity of training data, reduce the risk of overfitting, and enhance the model's adaptability to various scenarios and changes, thereby improving the model's robustness and generalization.
[0058] S40. Based on the YOLOv8 model, an Involution module is added between the backbone network and the feature fusion network to build an improved network model.
[0059] Specifically, an improved YOLOv8 model is designed. First, the CBAM module is added to the backbone network. It is an effective model based on the attention mechanism, including a channel attention module and a spatial attention module. These two modules generate channel and spatial attention maps, respectively, which are then multiplied with the input feature map to facilitate adaptive feature refinement. Therefore, meaningful features along the channel and spatial directions are emphasized, while redundant features are suppressed; an Involution module is added between the backbone network and the feature fusion network. The channel information of this module is improved and shared, thereby reducing the information loss in the initial stage of the feature fusion network. In addition, the Involution module has better adaptability to various visual modes in terms of different spatial positions; the CA module is introduced in the feature fusion network. The CA module decomposes the channel attention into two one-dimensional feature encoding processes, aggregating features along two spatial directions respectively. This allows capturing long-range dependencies in one spatial direction while maintaining accurate position information in the other spatial direction. Then, the resulting feature maps are encoded as a pair of direction-aware and position-sensitive attention maps, respectively, which can be applied to the input feature map complementarily to enhance the representation of the region of interest.
[0060] Furthermore, in this embodiment, the specific steps of the network model construction method are as follows:
[0061] S401, build a backbone network, such as Figure 2 As shown in Figure 1, the backbone network consists of 11 parts in total, including 5 CBS modules, 4 C2F modules, 1 CBAM attention module and 1 SPFF module. The CBS module consists of Conv convolution operation, BatchNorm normalization processing and SiLU activation operation. The C2F module consists of CBS convolution operation, split operation, residual connection operation and feature fusion operation, as shown in Figure 1. Figure 3 The C2F module structure is shown in Figure 2. The CBAM module consists of a channel attention module and a spatial attention module. Figure 4 The CBAM module structure is shown in Figure 2. SPFF consists of CBS convolution operation, three Maxpooling operations and Concat concatenation, as shown in Figure 2. Figure 5 Shown is the SPFF module structure diagram.
[0062] Furthermore, the CBAM attention mechanism consists of the input feature map F in , channel attention M c , spatial attention M s And the output feature map F out ,in C is the input channel, H is the input height, and W is the input width. The CBAM operation calculation process is:
[0063]
[0064] in is the convolution operation, F tmp To calculate the intermediate feature map.
[0065] For channel attention M c The calculation process is:
[0066]
[0067] Where σ represents the activation function, W0 and W1 represent the weights, is the result after feature map mean pooling, It is the result after the maximum pooling of the feature map.
[0068] For spatial attention M s The calculation process is:
[0069]
[0070] Where σ represents the activation function, 7×7 represents the size of the convolution kernel, is the result after feature map mean pooling, It is the result after the maximum pooling of the feature map.
[0071] S402, construct the Involution module, which is located between the backbone network and the feature fusion network, and can improve and share the channel information of the network. It mainly includes Unfold operation, Conv convolution operation and AvgPool pooling operation, such as Figure 6 Shown is the Involution module structure diagram.
[0072] Furthermore, regarding the Involution module, a set of Involution kernels is represented as Where H and W represent the height and width of the feature map, respectively, K represents the size of the convolution kernel, and G represents the number of groups, where each group shares the same convolution kernel. Its Involution core g=1,2,...,G, g is the number of groups of Involution cores, and the Involution cores are shared within the group. Then the output of the Involution operation is:
[0073]
[0074] Where u and v are return vectors, and k is the channel number.
[0075] S403, construct a feature fusion network, which consists of 17 parts in total, including 4 CBS modules, 2 Upsample modules, 4 Concat modules, 4 C2F modules, and 3 CA attention modules. Figure 7 Shown is the structure diagram of the CA attention module.
[0076] Furthermore, regarding the CA attention mechanism, in order to obtain the attention of the image in the horizontal and vertical directions and encode the precise position information. First, for the input feature map X, a pooling kernel of size (1, W) is used in the horizontal direction, and a pooling kernel of size (H, 1) is used in the vertical direction, and global average pooling is performed to obtain the attention maps in the horizontal and vertical directions respectively. Then, the attention maps in the vertical and horizontal directions are as follows:
[0077]
[0078] Then the vertical and horizontal attention maps are concatenated, a 1×1 convolution operation is performed on them, and then an activation function is used to operate them, and finally the feature map f is obtained.
[0079] f=δ(F1([z h ,z w ]))
[0080] in The intermediate features contain horizontal and vertical spatial information, r is the reduction factor, f is the convolution operation, and δ is the activation function.
[0081] Then split f into independent features and Then use convolution and activation function to transform the features so that its dimension is consistent with the input feature map X, and get g h and g w , the formula is as follows:
[0082] g h =σ(F h (f h ))
[0083] g w =σ(F w (f w ))
[0084] Among them, F h is the vertical convolution operation, F w is the horizontal convolution operation, and σ is the activation function.
[0085] Finally, g h and g wMultiply the input feature map X by weighted calculation to obtain the output feature map with attention weights in the vertical and horizontal directions, as shown below:
[0086]
[0087] S404, construct a detection head network, which includes three output branches, each of which consists of two parts: classification and regression. The classification part outputs the category information of the target, and the regression part uses an integral form representation to output the coordinate information of the target.
[0088] S50, inputting the data set obtained in step S20 into the image data enhancement model constructed in step S30 for data enhancement, and then inputting the obtained data into the network model constructed in step S40 for iterative training to obtain the optimal model;
[0089] Specifically, the training method steps are as follows:
[0090] S501, perform data enhancement using a data enhancement module: put the training set data obtained in step S20 into the data enhancement model constructed in step S30, and introduce enhancement methods such as mosaic, noise, color change, brightness adjustment, geometric transformation, etc. to the data;
[0091] S502, input the enhanced data into the network for forward reasoning, use the backbone network with the CBAM attention module to extract features, use the Involution module to improve and share sufficient channel information, use the feature fusion network with the CA attention module to perform feature fusion, and input the results of the three CA attention modules into the detection head network for target classification and regression;
[0092] S503. Construct a loss function. The loss function of the network model consists of two parts, namely classification loss and regression loss. The classification loss is BCE Loss, and the regression loss is Distribution Focal Loss and CIoU Loss. These three Losses are weighted and summed using a certain weight ratio.
[0093] S60. Use the optimal model file obtained through training to build a fire intelligent monitoring service platform.
[0094] Specifically, the optimal model file is obtained to build a fire intelligent monitoring service platform, which consists of a front-end and a back-end. The front-end includes functions such as video stream management, alarm management, algorithm management, and control management. The back-end responds to the front-end's request to perform control identification and send the alarm information to the front-end for display.
[0095] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, any one of the methods in the present embodiment is implemented.
[0096] An embodiment of the present invention further provides an electronic terminal, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes any one of the methods in this embodiment.
[0097] The computer-readable storage medium in this embodiment can be understood by ordinary technicians in this field: all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.
[0098] The electronic terminal provided in this embodiment includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run computer programs so that the electronic terminal executes each step of the above method.
[0099] Compared with the prior art, the smart fire monitoring method, medium and terminal based on intelligent algorithms described in the above embodiments are traditional fire monitoring methods that often rely on fixed sensor networks. These sensors are usually arranged in specific locations within buildings and identify signs of fire by detecting indicators such as smoke and temperature rise. They can only monitor specific areas and cannot cover the entire site. Moreover, they have limited adaptability to different environments and complex scenarios, resulting in a low degree of intelligence in fire monitoring and poor monitoring effects. The present invention adds a CBAM attention module to the backbone network of the network model, and optimizes the way in which the convolutional neural network pays attention to features through the two modules of channel attention and spatial attention. The channel attention improves the network's attention to important channels, while the spatial attention strengthens the network's perception of key areas in the image. By integrating channel and spatial attention, not only the network's feature expression ability is improved, but also the calculation of redundant features is reduced, thereby improving the calculation efficiency; the present invention adds an Involution module between the backbone network and the feature fusion network, and the module improves and shares channel information, thereby reducing the information loss in the initial stage of the feature fusion network; the present invention adds a CA attention module to the feature fusion network, so that the network can more effectively select and strengthen channels that have significant contributions to the current task. This attention mechanism helps to improve the network's feature expression ability, make it more adaptable to complex data features, and more accurately capture key information in the task, which not only optimizes the network's processing of channel features, but also improves the network's learning ability and generalization ability; the present invention combines advanced artificial intelligence technology to perform data analysis and intelligent decision-making to more accurately and timely identify various risks, which not only improves the intelligent level of fire monitoring and response, but also provides a more advanced and efficient solution for disaster prevention and treatment.
[0100] Obviously, the embodiments described above are only preferred embodiments of the present invention, rather than all embodiments. The preferred embodiments of the present invention are shown in the accompanying drawings, but they do not limit the patent scope of the present invention. The present invention can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive. Although the present invention has been described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific embodiments, or to perform equivalent replacements for some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of the present invention, directly or indirectly used in other related technical fields, is also within the scope of patent protection of the present invention.
Claims
1. A smart fire monitoring method based on intelligent algorithm, characterized in that: The following steps are involved: S10. Obtain image data of flame, smoke and fire passage occupancy through on-site collection or network crawling; S20, uploading the image data obtained in step S10 to the CVAT data processing platform, cleaning and marking the collected image data, and exporting the corresponding data set; S30, constructing an image data enhancement module through image processing technology; S40. Based on the YOLOv8 model, an Involution module is added between the backbone network and the feature fusion network to build an improved network model. S50, inputting the data set obtained in step S20 into the image data enhancement model constructed in step S30 for data enhancement, and then inputting the obtained data into the network model constructed in step S40 for iterative training to obtain an optimal model; S60. Use the optimal model file obtained through training to build a fire intelligent monitoring service platform.
2. According to claim 1, a smart fire monitoring method based on intelligent algorithm is characterized in that: The specific steps of step S40 are as follows: S401. Build the backbone network: The backbone network includes 5 CBS modules, 4 C2F modules, 1 CBAM attention module and 1 SPFF module; S402, constructing an Involution module: The Involution module is located between the backbone network and the feature fusion network, and can improve and share the channel information of the network. It includes an Unfold module, a Conv convolution module, and an AvgPool pooling module; S403, construct feature fusion network: The feature fusion network includes 4 CBS modules, 2 Upsample modules, 4 Concat modules, 4 C2F modules, and 3 CA attention modules; S404, constructing a detection head network: the detection head network includes three output branches, each of which includes classification and regression.
3. According to claim 2, a smart fire monitoring method based on intelligent algorithm is characterized in that: In step S401, the CBS module includes a Conv convolution operation, a BatchNorm normalization process, and a SiLU activation operation; the C2F module includes a CBS convolution operation, a split operation, a Bottleneck residual connection operation, and a Concat splicing operation; the CBAM module includes a channel attention module and a spatial attention module; the SPFF module includes a CBS convolution operation, three Maxpooling operations, and a Concat splicing operation.
4. The intelligent fire monitoring method based on intelligent algorithm according to claim 1 is characterized in that: The specific steps of step S50 are as follows: S501, performing data enhancement using a data enhancement module; S502, input the enhanced data into the network for forward reasoning, use the backbone network with the CBAM attention module to extract features, use the Involution module to improve and share sufficient channel information, use the feature fusion network with the CA attention module to perform feature fusion, and input the results of the three CA attention modules into the detection head network for target classification and regression; S503: Construct a loss function and perform iterative training.
5. The intelligent fire monitoring method based on intelligent algorithm according to claim 1 is characterized in that: In step S10, on-site collection is to collect data in multiple different places, including parks, apartments and shopping malls, through collection equipment; network crawling is to design an intelligent search algorithm, perform intelligent search through keywords and geographic locations, and obtain diverse image samples.
6. The intelligent fire monitoring method based on intelligent algorithm according to claim 1 is characterized in that: The step S20 specifically includes performing a quality check on the image data, deleting low-quality images, and performing a deduplication process. After the cleaning is completed, the image data is labeled, and finally the data is divided into a training set, a validation set, and a test set.
7. The intelligent fire monitoring method based on intelligent algorithm according to claim 1 is characterized in that: In step S30, the image processing techniques include random cropping, mosaic, noise, color transformation, brightness adjustment, and geometric transformation.
8. The intelligent fire monitoring method based on intelligent algorithm according to claim 1 is characterized in that: In step S60, the fire intelligent monitoring service platform includes a front end and a back end. The front end includes video stream management, alarm management, algorithm management, and control management. The back end responds to the request of the front end accordingly to perform control identification and send the alarm information to the front end for display.
9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
10. An electronic terminal, characterized in that: include: Processor and memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the terminal executes the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Pomegranate fruit detection method before fruit thinning based on improved YOLOv8s
CN116958962A
Fire inspection early warning method based on unmanned aerial vehicle and improved YOLOv8 target detection algorithm
CN117409191A
Lightweight target learning detection method based on improved YOLOv8
CN118212588A
Cited By
Gas station fire control method and system, readable storage medium and computer
CN119723274A
Gas station fire control method, system, readable storage medium and computer
CN119723274B
Multi-objective constraint solving method for fire-fighting monitoring and generator set collaborative optimization
CN120357455A
Fire detection edge node and multi-probe linkage control system and method
CN122929697A
