A method for dealing with fire hazards
Through the machine learning algorithm that combines cameras and infrared cameras, it can identify items, fire points and debris in the factory, and build a comprehensive fire hazard value, which solves the problem of incomplete monitoring in the existing technology and achieves accurate identification of fire hazards in the factory. Identification and management improve fire risk prevention capabilities.
Patent Information
- Application Number
- CN202210583354.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-25
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2042-05-25
AI Technical Summary
The existing technology lacks a complete comprehensive monitoring platform for factory-level fire hazards at different locations. The monitoring quantity is small and inaccurate, and it is unable to effectively identify and evaluate the overall fire hazard situation in the factory.
Using a combination of cameras and infrared cameras, machine learning algorithms and expert algorithms are used to identify items, fire points and debris, and a comprehensive fire hazard value is constructed. A comprehensive monitoring platform is established based on safe electricity use, historical fire accidents and employee drills. , set thresholds for alerts and reminders.
It achieves accurate monitoring and identification of stacking of items, fire points and channel blockages at different locations in the factory, improves quantitative management of fire hazards, provides timely reminders and alarms, and reduces fire risks.
Smart Images

Figure CN114973133B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of fire protection, and in particular relates to a method for handling fire hazard hazards. Background Art
[0002] In recent years, with the expansion of the diversified scale of cities, the total number of fires is large, and the risk of major and above fire accidents still exists. With the acceleration of urban construction, the risk of fire continues to increase. With the continuous development of urban economy, the urbanization process continues to accelerate, industrial enterprises develop rapidly, the urban population grows rapidly, large-scale urban super-high-rise buildings, comprehensive development and utilization of underground space, and the criss-crossing layout of highway networks, urban construction development has shown the characteristics of area expansion, building diversification, functional diversification, and structural complexity, which has led to the continuous aggregation of traditional and non-traditional fire-causing factors, and the fire phenomenon has become more and more complex and diversified. Cities show a clustering effect, which is prone to major accidents. In order to prevent the occurrence of fire accidents, the most reliable approach is to eliminate fire hazards in a timely manner to prevent the expansion and aggravation of fire accidents.
[0003] Chinese patent publication number CN 113382204A discloses a method and device for intelligently processing fire hazards, including comparing images taken by the same camera at different times, judging whether the items that have changed before and after are flammable items or fire-fighting supplies, and calculating their hash values, and transmitting the hash values and item types in the form of P2P. However, the above patent only identifies the types of items, and does not monitor the obstacles in the factory's safety passages, does not use infrared monitoring to monitor fire points near combustibles, does not weight all suspected fire hazards to form an overall fire hazard value, and does not have an overall understanding of the overall fire hazards of the factory.
[0004] Thinking about existing technical problems: There is a lack of a complete factory-level comprehensive fire hazard monitoring platform for different locations. The number of monitoring is small and inaccurate, and the fire hazard value is comprehensively obtained based on the monitoring results of the fire hazard.
[0005] Based on the above technical problems, it is necessary to design a method for dealing with fire hazards. Summary of the invention
[0006] The purpose of the invention is to provide a method for handling fire hazard.
[0007] In order to solve the above technical problems, the first aspect of the present invention provides a method for handling fire hazards, and the specific steps of the method for handling fire hazards are:
[0008] S1: Monitor the stacking of items in factory warehouses, aisles, and workshops through cameras to obtain item monitoring images, and monitor suspicious fire points in factory warehouses, aisles, and workshops through infrared cameras to obtain fire point monitoring images; monitor items in corridors, hallways, safety passages, and fire passages through cameras to obtain debris monitoring images;
[0009] S2: recognizing the types of items and the placement of items in the item monitoring image and the sundries monitoring image by using an image recognition technology based on a machine learning algorithm, and obtaining the item fire hazard value of the item monitoring image at this time and the sundries fire hazard value of the sundries monitoring image at this time by using an expert algorithm according to the recognition result; recognizing the fire point monitoring image by using an infrared image recognition technology based on a machine learning algorithm, and obtaining the fire point fire hazard value of the fire point monitoring image at this time by using an expert algorithm according to the recognition result;
[0010] S3: Determine whether the fire hazard value of the item is greater than a first threshold, determine whether the fire hazard value of the sundries is greater than a second threshold, and determine whether the fire hazard value of the fire point is greater than a third threshold. When any one of them is greater than the threshold, output a fire hazard safety reminder. The fire hazard safety reminder will not be eliminated until all of them are less than or equal to the threshold.
[0011] S4: In combination with the safe use of electricity, historical fire accidents, and employee fire drills, a comprehensive fire hazard value is constructed based on the fire hazard values of items, miscellaneous items, and fire points, and a judgment is made as to whether the comprehensive fire hazard value is greater than a fourth threshold. When the value is greater than the fourth threshold, a fire hazard alarm is output. The safety hazard alarm will not disappear until the value is less than or equal to the threshold.
[0012] By using a camera to monitor the stacking of items in factory warehouses, aisles, and workshops to obtain item monitoring images, and using image recognition technology based on a machine learning algorithm to identify the types and placement of items in the item monitoring images, it is possible to obtain the safety hazards caused by irregular placement of items or placement of different types of items together, and obtain the fire hazard value of the items at this time based on the safety hazard situation, and set a first threshold value. When it is greater than the first threshold value, it means that the items are placed in a disorderly manner and there are many flammable items, which need to be rectified, and a safety reminder is issued. After the safety change is made, the reminder disappears; by using an infrared camera device to monitor suspicious fire points in factory warehouses, aisles, and workshops to obtain fire point monitoring images, and using the infrared image recognition technology of a machine learning algorithm to identify the fire point monitoring images, dynamically identify whether there is a fire point and the location of the fire point, so that the thermal power fire hazard value at this time can be obtained based on the recognition result of the fire point monitoring image, and set a third threshold value. When the value is greater than the third threshold, it means that there is a fire point or smoking that may cause items to catch fire, and immediate rectification is required; the items in the corridors, hallways, safety passages, and fire passages are monitored by cameras to obtain debris monitoring images, and the image recognition technology based on the machine learning algorithm is used to determine whether there is serious blockage of the corridors, hallways, safety passages, and fire passages. When it is greater than the second threshold, it means that the blockage is serious and immediate rectification is required; based on the above three hidden danger values, combined with other aspects such as historical fire accidents, a comprehensive fire hidden danger value can be obtained. When it is greater than the fourth threshold, it means that the safety situation of the entire factory is not optimistic and rectification is required from multiple aspects, thereby establishing a complete factory-level fire hidden danger comprehensive monitoring platform for different locations, with a large number of monitored items and accurate identification, and based on the monitoring results of fire hidden dangers, a comprehensive fire hidden danger value is obtained, which has guiding significance.
[0013] By using cameras and combining them with infrared cameras, the stacking of items at different locations in the factory, the fire points caused by smoking or electricity use, and the occupancy of safety passages and emergency passages are monitored and identified, making the monitoring of factory fire hazards more comprehensive. The collected images are identified through image recognition technology based on machine learning algorithms and infrared image recognition technology, and the types of items, stacking methods, fire points, and debris accumulation obstacles are identified, so that the situations that are prone to fire risks can be accurately identified from different angles in different spaces, so that the safety risks of the entire factory can be accurately controlled. By constructing the fire hazard value of items, the fire hazard value of debris, and the fire hazard value of fire points based on expert algorithms, and comparing them with the preset thresholds, the specific conditions of the fire hazards of the enterprise can be determined in a quantitative way, and the fire risks can be confirmed from a quantitative perspective based on the comparison with the threshold, so that the fire hazards can be further confirmed from the stacking of items, the fire point situation, the safety passage blockage and other conditions, thereby providing guidance for the rectification of safety hazards. By combining the above three hazard values with the safe electricity use situation, historical fire accident situation, and employee fire drill situation, a comprehensive fire hazard value can be obtained, so that the quantitative management of the overall fire hazard situation of the factory is not only based on the actual fire hazards, but also combined with the safety management situation, historical situation, and safe electricity use situation, and comprehensively considers various factors, so that the comprehensive fire hazard value at this time becomes more instructive, and a threshold is set. When it is greater than the set threshold, a warning is issued through various means, so that the safety hazard can be eliminated in the early stage, so that the fire hazard is eliminated in the early stage, improving the overall safety status of the factory.
[0014] A further technical solution is to also include a fire water pressure monitoring system to monitor the water pressure of fire water. When the water pressure is less than a certain threshold, an alarm is issued, and real-time data obtained from the fire water pressure monitoring is considered when the comprehensive fire hazard value is calculated.
[0015] By monitoring the water pressure of fire water through the fire water pressure monitoring system, the fire water pressure can be monitored in real time. When the water pressure is low, an alarm is issued to eliminate fire hazards at the initial stage and ensure the normal water pressure of fire water. Since the size of the fire water pressure is directly related to the actual processing speed when an actual fire occurs, the real-time data obtained by the fire water pressure monitoring is fully considered when setting the comprehensive fire hazard value, so that the comprehensive fire hazard value at this time can better reflect the actual fire hazard status of the entire factory.
[0016] A further technical solution is that the object monitoring images, fire point monitoring images, and debris monitoring images include both real-time images and images within a certain time threshold in the past.
[0017] By comparing the conditions before and after images within a certain period of time, the changes in the monitoring images before and after can be determined, so that there is a clearer understanding of the development and monitoring of the fire point, the development of the placement of items, etc.
[0018] A further technical solution is that the image recognition technology based on the machine learning algorithm adopts the Fast R-CNN algorithm;
[0019] When the Fast R-CNN algorithm processes data, if the background is chaotic and changeable, its convergence speed will be very slow. However, in the field of fire hazards, the image background of the factory is often fixed. Therefore, by using the Fast R-CNN algorithm for target recognition, its speed is significantly improved compared with the CNN algorithm. This is also combined with the suddenness and instantaneousness of fire, and has a better effect.
[0020] A further technical solution is that the loss function of the Fast R-CNN algorithm is:
[0021] L=e x L cls +(e x -1)L eg
[0022] Where L is the loss function, x is a constant greater than 0 and less than 1, L cls is the classification loss, L eg is the regression loss.
[0023] Because in the process of fire hazard real image recognition, the requirement for classification accuracy of different data is higher than convergence, by adding the constant term of ex to the traditional loss function, the proportion of classification loss in the loss function is increased, thereby improving the accuracy of the final classification.
[0024] A further technical solution is to combine the fire point fire hazard value and the article fire hazard value to jointly form the article combustion fire hazard value, and the specific formula is:
[0025]
[0026] Among them, T1 is the fire hazard value of article combustion, T2 and T3 are the fire hazard value of fire point and article fire hazard value respectively, and both are greater than zero and less than 1.
[0027] Since the fire point fire hazard value and the item fire hazard value are both obtained on the basis of monitoring the items in the factory warehouse, aisles, workshops and surrounding conditions, the item fire hazard value is represented by the degree of disorder and quantity of the items at that time, while the fire point fire hazard value is represented by the fire hazard situation next to the items. Combining the two can more accurately reflect the possibility of fire and whether a fire has occurred.
[0028] A further technical solution is that the comprehensive fire hazard value is constructed on the basis of the fire hazard value of burning objects, the fire hazard value of fire points, the fire hazard value of objects, and the fire hazard value of miscellaneous items.
[0029] By comprehensively considering the fire hazard value of burning items, the fire hazard value of fire points, the fire hazard value of items, and the fire hazard value of miscellaneous items, considering the fire hazard value of burning items makes it possible to more accurately grasp the possibility of fire occurrence, and considering the fire hazard value of fire points, the fire hazard value of items, and the fire hazard value of miscellaneous items can make the comprehensive fire hazard value take into account various factors that cause fire, making the overall evaluation effect more accurate.
[0030] A further technical solution is that it also includes a fifth threshold, a sixth threshold, and a seventh threshold. When the comprehensive fire hazard value is less than or equal to the fifth threshold, it is in a low risk state; when it is greater than the fifth threshold, it is in a general risk state; when it is greater than the sixth threshold, it is in a greater risk state; when it is greater than the seventh threshold, it is in a major risk state. The fifth threshold is less than the sixth threshold, the sixth threshold is less than the seventh threshold, and the seventh threshold is less than the fourth threshold.
[0031] A further technical solution is that the safety hazard alarm and comprehensive fire hazard value will be automatically transmitted to the government safety management department, which will provide remote or on-site guidance and coordinate with the fire department and hospital based on the size of the comprehensive fire hazard value.
[0032] By automatically transmitting safety hazard alarms and comprehensive fire hazard values to government safety management departments, government departments can more accurately control the fire hazard situation of enterprises, provide guidance based on the specific circumstances of the fire hazards, increase the frequency of on-site guidance, and enhance enterprises' awareness of safety hazard prevention. If there is an emergency, coordinate with the fire department and hospital to minimize the losses.
[0033] On the other hand, the present invention provides a fire hazard processing system, which adopts the above-mentioned fire hazard processing method, including an image data extraction module, an image data recognition module, and a result judgment and output module; the image data extraction module is responsible for monitoring the stacking of items in factory warehouses, aisles, and workshops through cameras to obtain item monitoring images, and monitoring suspicious fire points in factory warehouses, aisles, and workshops through infrared cameras to obtain fire point monitoring images; monitoring items in corridors, hallways, safety passages, and fire passages through cameras to obtain debris monitoring images; the image data recognition module is responsible for recognizing the type of items and the way in which they are placed in the item monitoring images and debris monitoring images through image recognition technology based on machine learning algorithms, and using an expert algorithm to obtain the item fire hazard value of the item monitoring image at this time according to the recognition result, and obtaining the debris fire hazard value of the debris monitoring image at this time, and using a basic The fire point monitoring image is identified by the infrared image recognition technology based on the machine learning algorithm, and the fire point fire hazard value of the fire point monitoring image at this time is obtained by using the expert algorithm according to the identification result; the result judgment and output module is responsible for judging whether the fire hazard value of the item is greater than the first threshold, judging whether the fire hazard value of the sundries is greater than the second threshold, judging whether the fire point fire hazard value is greater than the third threshold, and when any one of them is greater than the threshold, a fire hazard safety reminder is output, and the fire hazard safety reminder will not be eliminated until all are less than or equal to the threshold; in combination with the safe use of electricity, historical fire accidents, and employee fire drills, a comprehensive fire hazard value is constructed at this time based on the fire hazard value of the item, the fire hazard value of the sundries, and the fire point fire hazard value, and it is judged whether the comprehensive fire hazard value is greater than the fourth threshold. When it is greater than the fourth threshold, a fire hazard alarm is output, and the safety hazard alarm will not disappear until it is less than or equal to the threshold.
[0034] Other features and advantages will be described in the following description, and partly become apparent from the description, or understood by practicing the invention. The purpose and other advantages of the invention are realized and obtained by the structures particularly pointed out in the description and the drawings.
[0035] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
[0037] Figure 1 A flow chart of a method for handling fire hazards of the present invention;
[0038] Figure 2A system diagram of a fire hazard treatment system of the present invention; DETAILED DESCRIPTION
[0039] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that the present invention will be comprehensive and complete and fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar structures, and thus their detailed description will be omitted.
[0040] The terms "a", "an", "the", and "said" are used to indicate the presence of one or more elements / components / etc.; the terms "comprising" and "having" are used to express an open-ended inclusive meaning and mean that additional elements / components / etc. may be present in addition to the listed elements / components / etc.
[0041] In recent years, with the expansion of the diversified scale of cities, the total number of fires is large, and the risk of major and above fire accidents still exists. With the acceleration of urban construction, the risk of fire continues to increase. With the continuous development of urban economy, the urbanization process continues to accelerate, industrial enterprises develop rapidly, the urban population grows rapidly, large-scale urban super-high-rise buildings, comprehensive development and utilization of underground space, and the criss-crossing layout of highway networks, urban construction development has shown the characteristics of area expansion, building diversification, functional diversification, and structural complexity, which has led to the continuous aggregation of traditional and non-traditional fire-causing factors, and the fire phenomenon has become more and more complex and diversified. Cities show a clustering effect, which is prone to major accidents. In order to prevent the occurrence of fire accidents, the most reliable approach is to eliminate fire hazards in a timely manner to prevent the expansion and aggravation of fire accidents.
[0042] Chinese patent publication number CN 113382204A discloses a method and device for intelligently processing fire hazards, including comparing images taken by the same camera at different times, judging whether the items that have changed before and after are flammable items or fire-fighting supplies, and calculating their hash values, and transmitting the hash values and item types in the form of P2P. However, the above patent only identifies the types of items, and does not monitor the obstacles in the factory's safety passages, does not use infrared monitoring to monitor fire points near combustibles, does not weight all suspected fire hazards to form an overall fire hazard value, and does not have an overall understanding of the overall fire hazards of the factory.
[0043] Thinking about existing technical problems: There is a lack of a complete factory-level comprehensive fire hazard monitoring platform for different locations. The number of monitoring is small and inaccurate, and the fire hazard value is comprehensively obtained based on the monitoring results of the fire hazard.
[0044] Example 1
[0045] like Figure 1 As shown, this embodiment 1 provides a method for handling fire hazards, and the specific steps of the method for handling fire hazards are:
[0046] S1: Monitor the stacking of items in factory warehouses, aisles, and workshops through cameras to obtain item monitoring images, and monitor suspicious fire points in factory warehouses, aisles, and workshops through infrared cameras to obtain fire point monitoring images; monitor items in corridors, hallways, safety passages, and fire passages through cameras to obtain debris monitoring images;
[0047] S2: recognizing the types of items and the placement of items in the item monitoring image and the sundries monitoring image by using an image recognition technology based on a machine learning algorithm, and obtaining the item fire hazard value of the item monitoring image at this time and the sundries fire hazard value of the sundries monitoring image at this time by using an expert algorithm according to the recognition result; recognizing the fire point monitoring image by using an infrared image recognition technology based on a machine learning algorithm, and obtaining the fire point fire hazard value of the fire point monitoring image at this time by using an expert algorithm according to the recognition result;
[0048] S3: Determine whether the fire hazard value of the item is greater than a first threshold, determine whether the fire hazard value of the sundries is greater than a second threshold, and determine whether the fire hazard value of the fire point is greater than a third threshold. When any one of them is greater than the threshold, output a fire hazard safety reminder. The fire hazard safety reminder will not be eliminated until all of them are less than or equal to the threshold.
[0049] In another possible embodiment, when any two of the fire hazard value of items, the fire hazard value of miscellaneous items, and the fire hazard value of fire points are greater than the set thresholds, the state is in a major safety hazard state, a fire hazard safety warning is output, and the fire hazard needs to be dealt with immediately; when the fire hazard value of items, the fire hazard value of miscellaneous items, and the fire point fire hazard value are all greater than the set thresholds, the state is in an emergency state, and the fire hazard value of miscellaneous items needs to be eliminated first, personnel need to be evacuated, and the government safety management department needs to be contacted for on-site emergency handling.
[0050] S4: In combination with the safe use of electricity, historical fire accidents, and employee fire drills, a comprehensive fire hazard value is constructed based on the fire hazard values of items, miscellaneous items, and fire points, and a judgment is made as to whether the comprehensive fire hazard value is greater than a fourth threshold. When the value is greater than the fourth threshold, a fire hazard alarm is output. The safety hazard alarm will not disappear until the value is less than or equal to the threshold.
[0051] By using a camera to monitor the stacking of items in factory warehouses, aisles, and workshops to obtain item monitoring images, and using image recognition technology based on a machine learning algorithm to identify the types and placement of items in the item monitoring images, it is possible to obtain the safety hazards caused by irregular placement of items or placement of different types of items together, and obtain the fire hazard value of the items at this time based on the safety hazard situation, and set a first threshold value. When it is greater than the first threshold value, it means that the items are placed in a disorderly manner and there are many flammable items, which need to be rectified, and a safety reminder is issued. After the safety change is made, the reminder disappears; by using an infrared camera device to monitor suspicious fire points in factory warehouses, aisles, and workshops to obtain fire point monitoring images, and using the infrared image recognition technology of a machine learning algorithm to identify the fire point monitoring images, dynamically identify whether there is a fire point and the location of the fire point, so that the thermal power fire hazard value at this time can be obtained based on the recognition result of the fire point monitoring image, and set a third threshold value. When the value is greater than the third threshold, it means that there is a fire point or smoking that may cause items to catch fire, and immediate rectification is required; the items in the corridors, hallways, safety passages, and fire passages are monitored by cameras to obtain debris monitoring images, and the image recognition technology based on the machine learning algorithm is used to determine whether there is serious blockage of the corridors, hallways, safety passages, and fire passages. When it is greater than the second threshold, it means that the blockage is serious and immediate rectification is required; based on the above three hidden danger values, combined with other aspects such as historical fire accidents, a comprehensive fire hidden danger value can be obtained. When it is greater than the fourth threshold, it means that the safety situation of the entire factory is not optimistic and rectification is required from multiple aspects, thereby establishing a complete factory-level fire hidden danger comprehensive monitoring platform for different locations, with a large number of monitored items and accurate identification, and based on the monitoring results of fire hidden dangers, a comprehensive fire hidden danger value is obtained, which has guiding significance.
[0052] By using cameras and combining them with infrared cameras, the stacking of items at different locations in the factory, the fire points caused by smoking or electricity use, and the occupancy of safety passages and emergency passages are monitored and identified, making the monitoring of factory fire hazards more comprehensive. The collected images are identified through image recognition technology based on machine learning algorithms and infrared image recognition technology, and the types of items, stacking methods, fire points, and debris accumulation obstacles are identified, so that the situations that are prone to fire risks can be accurately identified from different angles in different spaces, so that the safety risks of the entire factory can be accurately controlled. By constructing the fire hazard value of items, the fire hazard value of debris, and the fire hazard value of fire points based on expert algorithms, and comparing them with the preset thresholds, the specific conditions of the fire hazards of the enterprise can be determined in a quantitative way, and the fire risks can be confirmed from a quantitative perspective based on the comparison with the threshold, so that the fire hazards can be further confirmed from the stacking of items, the fire point situation, the safety passage blockage and other conditions, thereby providing guidance for the rectification of safety hazards. By combining the above three hazard values with the safe electricity use situation, historical fire accident situation, and employee fire drill situation, a comprehensive fire hazard value can be obtained, so that the quantitative management of the overall fire hazard situation of the factory is not only based on the actual fire hazards, but also combined with the safety management situation, historical situation, and safe electricity use situation, and comprehensively considers various factors, so that the comprehensive fire hazard value at this time becomes more instructive, and a threshold is set. When it is greater than the set threshold, a warning is issued through various means, so that the safety hazard can be eliminated in the early stage, so that the fire hazard is eliminated in the early stage, improving the overall safety status of the factory.
[0053] In another possible embodiment, it also includes a fire water pressure monitoring system to monitor the water pressure of fire water. When the water pressure is less than a certain threshold, an alarm is issued, and the real-time data obtained by the fire water pressure monitoring is considered when calculating the comprehensive fire hazard value.
[0054] By monitoring the water pressure of fire water through the fire water pressure monitoring system, the fire water pressure can be monitored in real time. When the water pressure is low, an alarm is issued to eliminate fire hazards at the initial stage and ensure the normal water pressure of fire water. Since the size of the fire water pressure is directly related to the actual processing speed when an actual fire occurs, the real-time data obtained by the fire water pressure monitoring is fully considered when setting the comprehensive fire hazard value, so that the comprehensive fire hazard value at this time can better reflect the actual fire hazard status of the entire factory.
[0055] In another possible embodiment, the object monitoring images, the fire point monitoring images, and the sundries monitoring images include both real-time images and images within a certain time threshold in the past.
[0056] By comparing the conditions before and after images within a certain period of time, the changes in the monitoring images before and after can be determined, so that there is a clearer understanding of the development and monitoring of the fire point, the development of the placement of items, etc.
[0057] In another possible embodiment, the image recognition technology based on the machine learning algorithm adopts the Fast R-CNN algorithm;
[0058] When the Fast R-CNN algorithm processes data, if the background is chaotic and changeable, its convergence speed will be very slow. However, in the field of fire hazards, the image background of the factory is often fixed. Therefore, by using the Fast R-CNN algorithm for target recognition, its speed is significantly improved compared with the CNN algorithm. This is also combined with the suddenness and instantaneousness of fire, and has a better effect.
[0059] The input of Fast R-CNN consists of two parts: one is the entire image to be processed; the other is the candidate region (region proposal). The first step of Fast R-CNN processing is to perform multiple convolution kernel pooling on the image to obtain a convolution feature map. Since there are multiple candidate regions, the system will have a screening to determine the region of interest, that is, Region of Interest, RoI. The RoI pooling layer is a special case of the SSP (Spatial Pyramid Pooling) layer, which can extract a fixed-length feature vector from the feature map. Each feature vector will be fed into a sequence of fully connected (FC) layers, which branches into two output layers of the same level. The function of one layer is to classify and output the probability distribution of each RoI for the target with respect to K object classes (including all "background" classes), that is, to generate a softmax probability estimate; the other layer is to output four real values (bbox regression) for each class in the K objects. Every 4 values encode the precise bounding box position of each class in the K classes. The entire structure is trained end-to-end with a multi-task loss (excluding the Region Proposal extraction stage).
[0060] In another possible embodiment, the loss function of the Fast R-CNN algorithm is:
[0061] L=e x L cls +(e x -1)L eg
[0062] Where L is the loss function, x is a constant greater than 0 and less than 1, L cls is the classification loss, L eg is the regression loss.
[0063] Because in the process of fire hazard real image recognition, the requirement for classification accuracy of different data is higher than convergence, by adding the constant term of ex to the traditional loss function, the proportion of classification loss in the loss function is increased, thereby improving the accuracy of the final classification.
[0064] In another possible embodiment, the fire point fire hazard value and the article fire hazard value are combined to form an article combustion fire hazard value, and the specific formula is:
[0065]
[0066] Among them, T1 is the fire hazard value of article combustion, T2 and T3 are the fire hazard value of fire point and article fire hazard value respectively, and both are greater than zero and less than 1.
[0067] Since the fire point fire hazard value and the item fire hazard value are both obtained on the basis of monitoring the items in the factory warehouse, aisles, workshops and surrounding conditions, the item fire hazard value is represented by the degree of disorder and quantity of the items at that time, while the fire point fire hazard value is represented by the fire hazard situation next to the items. Combining the two can more accurately reflect the possibility of fire and whether a fire has occurred.
[0068] In another possible embodiment, the comprehensive fire hazard value is constructed based on the fire hazard value of object combustion, the fire hazard value of fire point, the fire hazard value of object, and the fire hazard value of sundries.
[0069] By comprehensively considering the fire hazard value of burning items, the fire hazard value of fire points, the fire hazard value of items, and the fire hazard value of miscellaneous items, considering the fire hazard value of burning items makes it possible to more accurately grasp the possibility of fire occurrence, and considering the fire hazard value of fire points, the fire hazard value of items, and the fire hazard value of miscellaneous items can make the comprehensive fire hazard value take into account various factors that cause fire, making the overall evaluation effect more accurate.
[0070] In another possible embodiment, it also includes a fifth threshold, a sixth threshold, and a seventh threshold. When the comprehensive fire hazard value is less than or equal to the fifth threshold, it is in a low risk state; when it is greater than the fifth threshold, it is in a general risk state; when it is greater than the sixth threshold, it is in a greater risk state; when it is greater than the seventh threshold, it is in a major risk state, and the fifth threshold is less than the sixth threshold, the sixth threshold is less than the seventh threshold, and the seventh threshold is less than the fourth threshold.
[0071] In another possible embodiment, the safety hazard alarm and comprehensive fire hazard value will also be automatically transmitted to the government safety management department, which will provide remote or on-site guidance and coordinate with the fire department and hospital based on the size of the comprehensive fire hazard value.
[0072] By automatically transmitting safety hazard alarms and comprehensive fire hazard values to government safety management departments, government departments can more accurately control the fire hazard situation of enterprises, provide guidance based on the specific circumstances of the fire hazards, increase the frequency of on-site guidance, and enhance enterprises' awareness of safety hazard prevention. If there is an emergency, coordinate with the fire department and hospital to minimize the losses.
[0073] Example 2
[0074] like Figure 2As shown, the present invention provides a fire hazard processing system, which adopts the above-mentioned fire hazard processing method, including an image data extraction module, an image data recognition module, and a result judgment and output module; the image data extraction module is responsible for monitoring the stacking of items in factory warehouses, aisles, and workshops through cameras to obtain item monitoring images, and monitoring suspicious fire points in factory warehouses, aisles, and workshops through infrared cameras to obtain fire point monitoring images; monitoring items in corridors, hallways, safety passages, and fire passages through cameras to obtain debris monitoring images; the image data recognition module is responsible for recognizing the types of items and the placement of items in the item monitoring images and debris monitoring images through image recognition technology based on machine learning algorithms, and using an expert algorithm to obtain the item fire hazard value of the item monitoring image at this time according to the recognition result, and obtaining the debris fire hazard value of the debris monitoring image at this time, and using a computer-based image recognition algorithm to obtain the debris fire hazard value of the debris monitoring image at this time. The infrared image recognition technology of the machine learning algorithm identifies the fire point monitoring image, and uses the expert algorithm to obtain the fire point fire hazard value of the fire point monitoring image at this time based on the identification result; the result judgment and output module is responsible for judging whether the fire hazard value of the item is greater than the first threshold, judging whether the fire hazard value of the sundries is greater than the second threshold, and judging whether the fire point fire hazard value is greater than the third threshold. When any one of them is greater than the threshold, a fire hazard safety reminder is output. The fire hazard safety reminder will not be eliminated until all are less than or equal to the threshold. Combined with the safe use of electricity, historical fire accidents, and employee fire drills, the comprehensive fire hazard value at this time is constructed based on the fire hazard value of the item, the fire hazard value of the sundries, and the fire point fire hazard value, and it is judged whether the comprehensive fire hazard value is greater than the fourth threshold. When it is greater than the fourth threshold, a fire hazard alarm is output. The safety hazard alarm will disappear only when it is less than or equal to the threshold.
[0075] In several embodiments provided in the present application, it should be understood that the disclosed system and method can also be implemented in other ways. The system embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0076] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0077] If the function is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0078] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.
[0079] In the embodiments of the present invention, the term "plurality" refers to two or more than two, unless otherwise clearly defined. The terms "installation", "connection", "fixation" and the like should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection. For those skilled in the art, the specific meanings of the above terms in the embodiments of the present invention can be understood according to the specific circumstances.
[0080] In the description of the embodiments of the present invention, it needs to be understood that the directions or positional relationships indicated by the terms "upper" and "lower" are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, rather than indicating or implying that the device or unit referred to must have a specific direction, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the embodiments of the present invention.
[0081] In the description of this specification, the description of the terms "one embodiment", "a preferred embodiment", 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 embodiment of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0082] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for handling fire hazards, characterized in that: The specific steps of the fire hazard treatment method are: S1: Monitor the stacking of items in factory warehouses, aisles, and workshops through cameras to obtain item monitoring images, and monitor suspicious fire points in factory warehouses, aisles, and workshops through infrared cameras to obtain fire point monitoring images; monitor items in corridors, hallways, safety passages, and fire passages through cameras to obtain debris monitoring images; S2: recognizing the types of items and the placement of items in the item monitoring image and the sundries monitoring image by using an image recognition technology based on a machine learning algorithm, and obtaining the item fire hazard value of the item monitoring image at this time and the sundries fire hazard value of the sundries monitoring image at this time by using an expert algorithm according to the recognition result; recognizing the fire point monitoring image by using an infrared image recognition technology based on a machine learning algorithm, and obtaining the fire point fire hazard value of the fire point monitoring image at this time by using an expert algorithm according to the recognition result; S3: Determine whether the fire hazard value of the item is greater than a first threshold, determine whether the fire hazard value of the sundries is greater than a second threshold, and determine whether the fire hazard value of the fire point is greater than a third threshold. When any one of them is greater than the threshold, output a fire hazard safety reminder. The fire hazard safety reminder will not be eliminated until all of them are less than or equal to the threshold. S4: In combination with the safe use of electricity, historical fire accidents, and employee fire drills, the comprehensive fire hazard value is constructed on the basis of the fire hazard value of burning items, the fire hazard value of fire points, the fire hazard value of items, and the fire hazard value of sundries, and it is determined whether the comprehensive fire hazard value is greater than a fourth threshold value. When it is greater than the fourth threshold value, a fire hazard alarm is output. The safety hazard alarm will not disappear until it is less than or equal to the threshold value. Monitor the water pressure of fire-fighting water. When it is less than a certain water pressure threshold, an alarm is issued. The real-time data obtained from fire-fighting water pressure monitoring is also considered when calculating the comprehensive fire hazard value. The object monitoring images, fire point monitoring images, and sundries monitoring images include both real-time images and images within a certain time threshold in the past; The image recognition technology based on the machine learning algorithm adopts the Fast R-CNN algorithm; The loss function of the Fast R-CNN algorithm is: ; Where L is the loss function, x is a constant greater than 0 and less than 1, L cls is the classification loss, L eg is the regression loss; The fire point fire hazard value and the article fire hazard value are combined to form the article combustion fire hazard value, and the specific formula is: ; Among them, T1 is the fire hazard value of article combustion, T2 and T3 are the fire hazard value of fire point and article fire hazard value respectively, and T2 and T3 are both greater than zero and less than 1.
2. The method for handling fire hazards according to claim 1, characterized in that: It also includes a fifth threshold, a sixth threshold, and a seventh threshold. When the comprehensive fire hazard value is less than or equal to the fifth threshold, it is in a low risk state; when it is greater than the fifth threshold, it is in a general risk state; when it is greater than the sixth threshold, it is in a greater risk state; when it is greater than the seventh threshold, it is in a major risk state. The fifth threshold is less than the sixth threshold, the sixth threshold is less than the seventh threshold, and the seventh threshold is less than the fourth threshold.
3. The method for handling fire hazards according to claim 1, characterized in that: The safety hazard alarm and comprehensive fire hazard value will also be automatically transmitted to the government safety management department, which will provide remote or on-site guidance and coordinate with the fire department and hospital based on the size of the comprehensive fire hazard value.
4. A fire hazard processing system, adopting a fire hazard processing method according to any one of claims 1 to 3, comprising an image data extraction module, an image data recognition module, and a result judgment and output module; the image data extraction module is responsible for monitoring the stacking of items in factory warehouses, aisles, and workshops through cameras to obtain item monitoring images, and monitoring suspicious fire points in factory warehouses, aisles, and workshops through infrared cameras to obtain fire point monitoring images; monitoring items in corridors, hallways, safety passages, and fire passages through cameras to obtain debris monitoring images; the image data recognition module is responsible for recognizing the types of items and the placement of items in the item monitoring images and debris monitoring images through image recognition technology based on machine learning algorithms, and obtaining the item fire hazard value of the item monitoring image at this time according to the recognition result by using an expert algorithm, obtaining the debris fire hazard value of the debris monitoring image at this time, and The infrared image recognition technology of the method is used to identify the fire point monitoring image, and the expert algorithm is used to obtain the fire point fire hazard value of the fire point monitoring image at this time according to the recognition result; the result judgment and output module is responsible for judging whether the fire hazard value of the item is greater than the first threshold, judging whether the fire hazard value of the sundries is greater than the second threshold, and judging whether the fire point fire hazard value is greater than the third threshold. When any one of them is greater than the threshold, a fire hazard safety reminder is output. The fire hazard safety reminder will not be eliminated until all are less than or equal to the threshold. In combination with the safe use of electricity, historical fire accidents, and employee fire drills, the comprehensive fire hazard value is constructed on the basis of the fire hazard value of item combustion, the fire point fire hazard value, the item fire hazard value, and the sundries fire hazard value. It is judged whether the comprehensive fire hazard value is greater than the fourth threshold. When it is greater than the fourth threshold, a fire hazard alarm is output. The safety hazard alarm will not disappear until it is less than or equal to the threshold.
