Fire big data remote detection and early warning system
Technical Field
The invention relates to the technical field of fire disaster early warning, in particular to a fire disaster big data remote detection and early warning system.
Background
The use of fire is an important sign of the progress of human civilization, and the daily life of people is still closely related to fire today. However, the accompanying fire causes problems. The sudden nature, complexity and universality of fire disaster make the fire disaster become one of main disasters threatening public safety and social development, and the damage degree is lower than that of disasters such as earthquake, flood, drought and the like, but the occurrence frequency of the fire disaster is extremely high, so that the fire disaster is directly lost by several times of earthquake disasters and the like. Especially at present, the substances are extremely abundant, the degree of automation is higher and higher, the social labor division is more and more definite, and once a fire disaster occurs, the life and property security of people can be threatened, and even the ecological environment for people to live is seriously damaged. Especially in some special occasions, such as stations, gardens and other places, once a fire disaster occurs, the normal operation of the whole associated system can be influenced, and the loss caused by the fire disaster can not be estimated easily.
In order to perform fire early warning, a smoke alarm is generally installed in a monitoring area in the traditional method, or a single sensor is adopted to detect the fire, and a threshold value is set empirically to perform early warning. However, in a large-scale area, the area is large, the environmental condition is complex, the detection area of the sensor cannot be comprehensively and effectively covered, so that the fire cannot be accurately positioned when the fire occurs, meanwhile, a single detection mode is easy to generate monitoring omission, the fire cannot be accurately found, and the detection and early warning effects on the fire are affected.
Therefore, the invention provides a fire big data remote detection and early warning system for solving the related technical problems.
Disclosure of Invention
The invention aims to provide a fire big data remote detection and early warning system, which can acquire an infrared image and a visible light image in a monitoring area, encode and mark the acquired infrared image and visible light image according to unique codes and position coordinate identification marks, perform contour extraction after denoising the infrared image to form a processed infrared image, fuse the visible light image and the infrared image, extract judgment factors, compare the judgment factors with prestored judgment data, and judge whether a fire disaster happens or not.
In order to achieve the above purpose, the present invention provides the following technical solutions:
the invention provides a fire big data remote detection and early warning system, which comprises an information acquisition unit, a fire detection unit and a fire early warning unit, wherein:
the information acquisition unit is used for acquiring image information of infrared detection and image information of visible light, and numbering and time marking the acquired image information;
the fire detection unit is used for respectively preprocessing images according to the acquired infrared detection image information and visible light image information, dividing the images and judging whether fire exists or not, and is connected with the information acquisition unit;
the fire disaster early warning unit classifies fire disasters according to the acquired judging results and triggers early warning reminding based on the classified grades, and the fire disaster early warning unit is connected with the information acquisition unit.
The invention is further provided with: the information acquisition unit comprises a first image module, a second image module and a first communication module, wherein:
the first image module is used for acquiring infrared image information in the monitoring area;
the second image module is used for acquiring visible light image information of the monitoring area;
the first communication module is used for realizing information interaction between the information acquisition unit and the fire detection unit, and is connected with the first image module and the second image module.
The invention is further provided with: the fire detection unit comprises a second communication module, an image preprocessing module and an image reprocessing module, wherein:
the second communication module is used for realizing information interaction between the fire detection unit and the information acquisition unit and between the fire early warning unit;
the image preprocessing module is used for denoising the acquired infrared image and is connected with the second communication module;
the image reprocessing module acquires outline information of the target area according to the preprocessed infrared image information, and the image reprocessing module is connected with the image preprocessing module.
The invention is further provided with: the process of denoising the acquired infrared image is as follows:
taking the current pixel point and the field thereof as a window;
and (3) making the width of the window be odd, taking the gray values of the rows and columns where the center points (i and j) are located and the pixel points in the two diagonal directions, and taking the maximum value of the four median values to replace the gray value of the original center point, thereby completing denoising.
The invention is further provided with: the process of obtaining the contour information of the target area is as follows:
randomly selecting n pixel points from the preprocessed infrared image information to serve as clustering centers;
calculating the distance between each pixel point in the infrared image and each clustering center, and clustering the pixel point with the shortest distance to the corresponding clustering center;
and then acquiring the outline of the target area.
The invention is further provided with: the fire detection unit further comprises a fire determination module and a database module, wherein:
the fire disaster judging module fuses the infrared image and the visible light image according to the processed infrared image information and the visible light image information and judges whether fire disaster exists or not, and the fire disaster judging module is connected with the second communication module and the image reprocessing module;
the database module is used for storing the received image information and pre-storing the set judging data, and is connected with the second communication module and the fire disaster judging module.
The invention is further provided with: the process of fusing the infrared ray graph and the visible light image and judging whether fire disaster exists or not is as follows:
rotating the visible image to an angle that corresponds to the infrared light image;
translating the visible light image to the position of the infrared light image;
then, overlapping and fusing the visible light image and the infrared light image;
and acquiring the filling rate characteristics and the edge roughness characteristics of the front and rear overlapped fusion images, respectively comparing the filling rate characteristics and the edge roughness characteristics with prestored judgment data, and determining that fire disaster occurs if at least one judgment is fire disaster, or else, determining that the fire disaster does not occur.
The invention is further provided with: the fire disaster early warning unit comprises a third communication module, an early warning and reminding module and a grading module, wherein:
the third communication module is used for realizing information interaction between the fire early-warning unit and the fire detection unit;
the early warning and reminding module is used for giving out fire early warning and reminding, and is connected with the third communication module;
the grading module grades the fire disaster according to the fire situation of the fire disaster, and is connected with the third communication module and the early warning and reminding module.
The invention is further provided with: the fire disaster early warning unit further comprises a memory module, wherein the memory module is used for storing fire disaster division standard information and fire disaster early warning information, and is connected with the early warning reminding module and the grading module.
Compared with the prior art, the invention has the beneficial effects that:
according to the invention, at least one information acquisition unit is arranged in a monitored area, each information acquisition unit is provided with a unique code and a position coordinate identification mark, the information acquisition unit acquires an infrared image and a visible light image in the monitored area, the acquired infrared image and visible light image are coded and marked according to the unique code and the position coordinate identification mark, the acquired image is transmitted to a fire detection unit, the image preprocessing module denoises the infrared image, the image reprocessing module extracts the outline of a target area of the image to form a processed infrared image, and finally, the fire judgment module combines the visible light image to obtain a fused image, so that the acquired image is compared with prestored judgment data, if at least one judgment is fire, the fire is determined, otherwise, the fire is not happened, the judgment result and the fused image are transmitted to the fire early warning unit through the second communication module, and the early warning module sends out corresponding early warning information according to the mark of the fire happening position, and finally, the fire judgment module combines the visible light image to obtain the fused image, so that fire information can be accurately processed, and fire information can be conveniently processed after the fire is processed.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a system diagram of a fire big data remote detection and early warning system of the present invention;
FIG. 2 is a system diagram of an information acquisition unit in a fire big data remote detection and early warning system according to the present invention;
FIG. 3 is a system diagram of a fire detection unit in a fire big data remote detection and early warning system according to the present invention;
fig. 4 is a system diagram of a fire early-warning unit in the fire big data remote detection and early-warning system of the present invention.
The reference numerals in the figures illustrate:
100. an information acquisition unit; 110. a first image module; 120. a second image module; 130. a first communication module; 200. a fire detection unit; 210. a second communication module; 220. an image preprocessing module; 230. an image reprocessing module; 240. a fire judgment module; 250. a database module; 300. a fire early warning unit; 310. a third communication module; 320. an early warning and reminding module; 330. a grading module; 340. a memory module.
Detailed Description
The following description of the technical solutions in the embodiments of the present invention will be clear and complete, and it is obvious that the described embodiments are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Examples:
as shown in fig. 1 to 4, the present embodiment provides a fire big data remote detection and early warning system, which includes an information acquisition unit 100, a fire detection unit 200, and a fire early warning unit 300, wherein: the information acquisition unit 100 is configured to acquire image information of infrared detection and image information of visible light, and number and time stamp the acquired image information; the fire detection unit 200 respectively pre-processes the image according to the acquired image information of the infrared detection and the image information of the visible light, and divides the image to determine whether a fire exists, and the fire detection unit 200 is connected with the information acquisition unit 100; the fire early-warning unit 300 classifies fire according to the acquisition determination result, and triggers an early-warning reminder based on the classified classification, and the fire early-warning unit 300 is connected with the information acquisition unit 100.
In this embodiment, it should be noted that at least one information acquisition unit 100 is provided, for each of the plurality of information acquisition units 100, there are unique codes and position coordinate identification marks, the information acquisition unit 100 acquires an infrared image and a visible light image in the monitored area, and encodes and marks the acquired infrared image and visible light image according to the unique codes and position coordinate identification marks, so that the position of the acquired image and the matching of the infrared image and the visible light image can be accurately known when the image is processed subsequently, the infrared image and the visible light image acquired by the information acquisition unit 100 are transmitted to the fire detection unit 200, the fire detection unit 200 performs image preprocessing, that is, denoising the infrared image, because the noise point in the infrared image is more, the target area to be detected is easy to be covered by strong noise, so that denoising treatment is needed to be carried out on the infrared image, after denoising is finished, the fire detection unit 200 carries out contour extraction on the target area of the image to form a processed infrared image, and combines the visible light image to obtain a fused image, so that the acquired image can exclude interference, accurately reflects the condition of the monitoring area, and extracts judgment factors, namely filling rate characteristics and edge roughness characteristics, to be compared with prestored judgment data, if at least one judgment is fire, the fire is determined to happen, otherwise, the fire is not happened, the judgment is completed, meanwhile, the judgment result and the fused image are transmitted to the fire early-warning unit 300, the fire early-warning unit 300 receives fire information, and sends corresponding fire early-warning information according to the mark of the fire occurrence position, meanwhile, the fire early-warning unit 300 also classifies fire grades according to the number of fire occurrence positions, the filling rate characteristics, the edge roughness characteristics and the like, and also sends out fire grade early-warning information, so that fire treatment personnel can accurately determine fire position information and fire intensity information, and follow-up fire treatment is facilitated.
In the present invention, the information acquisition unit 100 includes a first image module 110, a second image module 120, and a first communication module 130, wherein: the first image module 110 is configured to obtain infrared image information in a monitoring area; the second image module 120 is configured to acquire visible light image information of the monitoring area; the first communication module 130 is configured to implement information interaction between the information acquisition unit 100 and the fire detection unit 200, and the first communication module 130 is connected to both the first image module 110 and the second image module 120.
In this embodiment, it should be noted that, the first image module 110 and the second image module 120 may respectively acquire an infrared image and a visible light image of the monitored area, and in addition, each information acquisition unit 100 has a unique code and a position coordinate identification mark, and may encode and mark the acquired infrared image and visible light image when acquiring the infrared image and the visible light image, so that when image fusion is performed subsequently, matching of the infrared image and the visible light image can be accurately performed, and when a fire is transmitted subsequently, the fire area can be accurately positioned.
In the present invention, the fire detection unit 200 includes a second communication module 210, an image preprocessing module 220, and an image reprocessing module 230, wherein: the second communication module 210 is configured to implement information interaction between the fire detection unit 200 and the information acquisition unit 100 and the fire early warning unit 300; the image preprocessing module 220 is used for denoising the acquired infrared image, and the image preprocessing module 220 is connected with the second communication module 210; the image reprocessing module 230 obtains the contour information of the target area according to the preprocessed infrared image information, and the image reprocessing module 230 is connected with the image preprocessing module 220.
The process of denoising the acquired infrared image is as follows:
taking the current pixel point and the field thereof as a window;
and (3) making the width of the window be odd, taking the gray values of the rows and columns where the center points (i and j) are located and the pixel points in the two diagonal directions, and taking the maximum value of the four median values to replace the gray value of the original center point, thereby completing denoising.
The process of acquiring the contour information of the target area is as follows:
randomly selecting n pixel points from the preprocessed infrared image information to serve as clustering centers;
calculating the distance between each pixel point in the infrared image and each clustering center, and clustering the pixel point with the shortest distance to the corresponding clustering center;
and then acquiring the outline of the target area.
In this embodiment, it should be noted that, the second communication module 210 receives the information of the information acquisition unit 100, and then transmits the information to the image preprocessing module 220, the image preprocessing module 220 processes the acquired infrared image by adopting a median filtering method, so as to obtain a denoised infrared image, and then transmits the denoised infrared image to the image reprocessing module 230, the image reprocessing module 230 performs distance on the pixel points by adopting a clustering mode, and supposedly selects two pixel points randomly, then uses the two pixel points as clustering centers, calculates the distance between each pixel point in the image and the two clustering centers (performs distance distribution according to the shortest distance), and clusters each pixel point to the two clustering centers, so that the outline of the target area can be obtained, that is, the processed infrared image can be fused onto the visible light image when the image is fused subsequently.
In the present invention, the fire detection unit 200 further includes a fire determination module 240 and a database module 250, wherein: the fire judgment module 240 fuses the infrared image and the visible image according to the processed infrared image information and the visible image information, and judges whether a fire exists or not, and the fire judgment module 240 is connected with the second communication module 210 and the image reprocessing module 230; the database module 250 is used for storing the received image information and pre-storing the set determination data, and the database module 250 is connected with the second communication module 210 and the fire determination module 240.
The process of fusing the infrared ray graph and the visible light image and judging whether fire exists or not is as follows:
rotating the visible image to an angle that corresponds to the infrared light image;
translating the visible light image to the position of the infrared light image;
then, overlapping and fusing the visible light image and the infrared light image;
and acquiring the filling rate characteristics and the edge roughness characteristics of the front and rear overlapped fusion images, respectively comparing the filling rate characteristics and the edge roughness characteristics with prestored judgment data, and determining that fire disaster occurs if at least one judgment is fire disaster, or else, determining that the fire disaster does not occur.
In this embodiment, it should be noted that, the image reprocessing module 230 transmits the infrared image to the fire disaster judging module 240, and meanwhile, the encoding of the infrared image matches the corresponding visible light image, and then the fire disaster judging module 240 obtains the filling rate characteristic and the edge roughness characteristic of the front and rear two overlapped and fused images, wherein the calculation formula of the filling rate characteristic is as follows:wherein H is 1 Is the area of the suspected region, H 2 The calculation formula of the edge roughness characteristic is as follows:wherein A is the perimeter of the region, A c For the perimeter of the external convex hull, the filling rate characteristic value and the edge roughness characteristic value are respectively compared with a prestored standard judgment value, namely judgment data, so that two judgment results based on the filling rate characteristic and the edge roughness characteristic can be obtained, if at least one judgment is fire, the fire is determined to happen, otherwise, the fire is not happened, and the judgment effect on the fire can be achieved.
In the present invention, the fire early warning unit 300 includes a third communication module 310, an early warning reminding module 320, and a classification module 330, wherein: the third communication module 310 is configured to implement information interaction between the fire early-warning unit 300 and the fire detection unit 200; the early warning reminding module 320 is used for sending out fire early warning reminding, and the early warning reminding module 320 is connected with the third communication module 310; the classification module 330 classifies the fire according to the fire condition of the fire, and the classification module 330 is connected with the third communication module 310 and the early warning reminding module 320.
In addition, the fire early-warning unit 300 further includes a memory module 340, the memory module 340 is used for storing fire dividing standard information and fire early-warning information, and the memory module 340 is connected with the early-warning reminding module 320 and the grading module 330.
In this embodiment, it should be noted that, the third communication module 310 may obtain the determination result of the fire detection unit 200, so that the early warning reminding module 320 may send out fire early warning, and according to the location information and the coding information obtained by the information, may send out early warning of the fire location, and meanwhile, the grading module 330 may receive the fused image information, the filling rate feature and the edge roughness feature information, grade the fire according to the fire situation of the fire, obtain fire grade information, and transmit the fire grade information to the early warning reminding module 320, and the early warning reminding module 320 may also send out corresponding fire grade information, so that the fire processor may accurately determine the fire location information and the fire intensity information, so as to facilitate subsequent fire treatment.
In the description of the present specification, the descriptions of the terms "one embodiment," "example," "specific example," and the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The preferred embodiments of the invention disclosed above are intended only to assist in the explanation of the invention. The preferred embodiments are not exhaustive or to limit the invention to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best understand and utilize the invention. The invention is limited only by the claims and the full scope and equivalents thereof.