GIS-based intelligent smoke and fire identification early warning method and system

CN119741796AActive Publication Date: 2025-04-01SHANDONG PORT TECHNOLOGY GROUP QINGDAO CO LTD
5 Cites 0 Cited by

Patent Information

Application Number
CN202510244734.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-04
Publication Date
2025-04-01
Estimated Expiration
2045-03-04

Smart Images

  • Figure CN119741796A_ABST
    Figure CN119741796A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of smoke and fire identification and early warning, and discloses a GIS-based intelligent smoke and fire identification and early warning method and system, and the method comprises the steps: collecting a real-time region image based on an image collection device, and obtaining a region image gray value sequence; generating an initial smoke and fire analysis mark according to the regional image gray value sequence and the comparison regional image gray value sequence; randomly dividing the real-time area image into a plurality of sub-real-time area images, and determining a gray value sequence of the sub-area images; calculating sub smoke and fire identification early warning coefficients, and determining a plurality of sub smoke and fire identification early warning coefficient arrays; analyzing the sub smoke and fire identification early warning coefficient array, calculating a smoke and fire identification early warning coefficient, judging whether to send out early warning or not, and if yes, generating fire report information according to the smoke and fire identification early warning coefficient and a GIS geographic information system, so that the smoke and fire identification efficiency and accuracy can be remarkably improved, and accurate identification and instant early warning are realized; the problems of low manual naked eye recognition efficiency and insufficient fire situation reporting accuracy are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fire and smoke identification and early warning, and in particular to a GIS-based intelligent fire and smoke identification and early warning method and system. Background Art

[0002] Ports are key areas with inestimable value. However, fire risks affect the safe development of ports at any time. Fire prevention, especially rapid detection and early warning of fires, is particularly critical.

[0003] In the existing technology, the identification of fireworks is mainly based on drone technology. The drone is equipped with a high-definition camera. By transmitting images in real time, ground monitoring personnel can view the situation in the monitoring area in real time. However, this monitoring method has significant shortcomings: relying solely on the naked eye to identify fireworks is not only inefficient, but also cannot guarantee accuracy; once fireworks are found, monitoring personnel need to report manually. Due to the influence of various factors such as the complex on-site environment, limited means of information acquisition, and human subjective judgment, relevant personnel can often only make a general descriptive report on the fire situation, which is difficult to accurately and comprehensively reflect the actual situation of the fire, and miss the best time to extinguish the fire. Summary of the invention

[0004] The embodiment of the present invention provides a GIS-based intelligent fire and smoke identification and early warning method and system, which can significantly improve the efficiency and accuracy of fire and smoke identification, intelligently analyze the fire information in the real-time picture, realize accurate identification and instant early warning, and overcome the problems of low efficiency of manual naked eye identification and insufficient accuracy of fire situation reporting.

[0005] In order to achieve the above object, the present invention provides a GIS-based intelligent fire and smoke identification and early warning method, comprising: An image acquisition device is pre-deployed in the fireworks recognition and warning area, and the corresponding real-time regional image is acquired based on the image acquisition device, and the image pixel value of the real-time regional image is extracted and grayscale conversion is performed to obtain a grayscale value sequence of the regional image; Determine a gray value sequence of the comparison area image, and generate an initial fireworks analysis mark for the fireworks identification and warning area according to the area image gray value sequence and the comparison area image gray value sequence, wherein the initial fireworks analysis mark includes an area no fireworks mark and an area fireworks to be identified mark; When generating the regional fireworks to-be-recognized mark, the real-time regional image is randomly divided into a plurality of sub-real-time regional images, and a sub-region image grayscale value sequence corresponding to each sub-real-time regional image is determined according to the regional image grayscale value sequence; Analyzing the gray value sequence of the sub-region image, and calculating the sub-fireworks recognition warning coefficient of the sub-real-time region image based on the analysis result, and determining a plurality of sub-fireworks recognition warning coefficient arrays according to all the sub-fireworks recognition warning coefficients; Analyze all sub-fireworks recognition and warning coefficient arrays, calculate the firework recognition and warning coefficient of the firework recognition and warning area, and determine whether to issue a warning based on the firework recognition and warning coefficient. If so, generate fire report information based on the firework recognition and warning coefficient and the GIS geographic information system.

[0006] Further, when determining the gray value sequence of the contrasting region image, generating an initial fireworks analysis mark for the fireworks recognition and warning region according to the region image gray value sequence and the contrasting region image gray value sequence, it includes: Acquire a smoke and fire free area image corresponding to the smoke and fire identification and warning area, and perform grayscale conversion on the smoke and fire free area image to obtain a grayscale value sequence of the comparison area image; Determine whether the regional image grayscale values ​​in the regional image grayscale value sequence are all equal to the comparison regional image grayscale value sequence, and if so, generate a no-smoke and fire mark for the fireworks recognition and warning area; If not, a regional fireworks to be identified mark is generated for the fireworks identification warning area.

[0007] Furthermore, when analyzing the gray value sequence of the sub-region image and calculating the sub-fireworks recognition warning coefficient of the sub-real-time region image based on the analysis result, it includes: Comparing the sub-region image grayscale value sequence with the comparison region image grayscale value sequence, extracting the sub-region image grayscale value that is equal to the comparison region image grayscale value in the sub-region image grayscale value sequence, and generating an equal sub-region image grayscale value sequence; Generating an identification sub-region image grayscale value sequence according to the remaining sub-region image grayscale values ​​in the sub-region image grayscale value sequence; Calculating the image grayscale difference between the grayscale value sequence of the identified sub-region image and the grayscale value of the contrast region image to generate the grayscale difference sequence of the identified sub-region image; Presetting a first preset image grayscale difference value and a second preset image grayscale difference value; Mapping the first preset image grayscale difference and the second preset image grayscale difference to the recognition sub-region image grayscale difference sequence; Determine a minimum image grayscale difference value and a maximum image grayscale difference value in the identified sub-region image grayscale difference value sequence, and count the number of first image grayscale difference values ​​between the minimum image grayscale difference value and the first preset image grayscale difference value; Counting the number of second image grayscale difference values ​​between the first preset image grayscale difference value and the second preset image grayscale difference value; Counting the number of third image grayscale difference values ​​between the maximum image grayscale difference value and the second preset image grayscale difference value; The sub-fireworks recognition warning coefficient of the sub-real-time area image is calculated according to the grayscale difference quantity of the first image, the grayscale difference quantity of the second image, and the grayscale difference quantity of the third image.

[0008] Further, when calculating the sub-fireworks recognition warning coefficient of the sub-real-time area image according to the grayscale difference quantity of the first image, the grayscale difference quantity of the second image and the grayscale difference quantity of the third image, it includes: The sub-fireworks recognition warning coefficient of the sub-real-time area image is calculated according to the following formula: ; Among them, q is the sub-fireworks recognition warning coefficient of the sub-real-time area image, w is the number of image grayscale differences in the grayscale difference sequence of the identified sub-area image, and r e To identify the e-th image grayscale difference in the sub-region image grayscale difference sequence, t1 is the first preset image grayscale difference, t2 is the second preset image grayscale difference, y1 is the number of first image grayscale differences, y2 is the number of second image grayscale differences, y3 is the number of third image grayscale differences, u is the image grayscale difference variance corresponding to the identified sub-region image grayscale difference sequence, and p is the adjustment coefficient.

[0009] Furthermore, the adjustment coefficient p is calculated according to the following method: Normalizing the sub-region image grayscale value sequence, and constructing a sub-region image grayscale value curve according to the normalization result; Determine the inflection points of the sub-region image grayscale value curve, and determine the image grayscale value corresponding to each inflection point of the curve; Counting the number of equal image grayscale values ​​of the equal sub-region image grayscale value sequence, and counting the number of identified image grayscale values ​​of the identified sub-region image grayscale value sequence; The adjustment coefficient p is calculated according to the following formula: ; Among them, d1 is the average value of all image gray values ​​on the sub-region image gray value curve, a is the number of inflection points of the curve, and s i is the inflection point slope corresponding to the i-th curve inflection point, f1 is the number of equal image gray values, f2 is the number of identified image gray values, d2 is the average of the image gray values ​​corresponding to all curve inflection points, and e is a constant.

[0010] Furthermore, when a plurality of sub-fireworks recognition warning coefficient arrays are determined according to all the sub-fireworks recognition warning coefficients, it includes: Randomly extracting a first sub-fireworks recognition warning coefficient and a second sub-fireworks recognition warning coefficient from all sub-fireworks recognition warning coefficients, and using the first sub-fireworks recognition warning coefficient and the second sub-fireworks recognition warning coefficient as an initial sub-fireworks recognition warning coefficient array; Calculate the first coefficient and value of two sub-fireworks recognition warning coefficients in the initial sub-fireworks recognition warning coefficient array; Randomly extracting a third sub-fireworks recognition warning coefficient, calculating a first difference absolute value between the third sub-fireworks recognition warning coefficient and the sum of the first coefficients, determining whether the first difference absolute value is less than a preset difference absolute value, and if so, updating the third sub-fireworks recognition warning coefficient to the initial sub-fireworks recognition warning coefficient array; If not, taking the initial sub-fireworks recognition warning coefficient array as a sub-fireworks recognition warning coefficient array, randomly extracting the fourth sub-fireworks recognition warning coefficient, and taking the fourth sub-fireworks recognition warning coefficient and the third sub-fireworks recognition warning coefficient as the second initial sub-fireworks recognition warning coefficient array; Randomly extract the fifth sub-fireworks recognition warning coefficient, calculate the second coefficient sum of the two sub-fireworks recognition warning coefficients in the second initial sub-fireworks recognition warning coefficient array, and calculate the second absolute value of the difference between the second coefficient sum and the fifth sub-fireworks recognition warning coefficient, determine whether the second absolute value of the difference is less than a preset absolute value of the difference, and if so, update the fifth sub-fireworks recognition warning coefficient to the second initial sub-fireworks recognition warning coefficient array; If not, taking the second initial sub-fireworks recognition warning coefficient array as a sub-fireworks recognition warning coefficient array; Repeat the above steps to obtain multiple sub-fireworks recognition warning coefficient arrays.

[0011] Furthermore, when analyzing all the sub-fireworks recognition warning coefficient arrays and calculating the firework recognition warning coefficient of the firework recognition warning area, it includes: Calculate the sub-fireworks recognition warning coefficient and value corresponding to each sub-fireworks recognition warning coefficient array; Determine the mean of the sub-fireworks identification warning coefficients and values ​​corresponding to all the sub-fireworks identification warning coefficients and values; Allocate all sub-fireworks recognition warning coefficients and values ​​that are less than the mean value of the sub-fireworks recognition warning coefficients and values ​​to a first sub-fireworks recognition warning coefficient and value array, and all sub-fireworks recognition warning coefficients and values ​​that are greater than or equal to the mean value of the sub-fireworks recognition warning coefficients and values ​​to a second sub-fireworks recognition warning coefficient and value array; respectively sorting the first sub-pyrotechnics recognition warning coefficient and value array and the second sub-pyrotechnics recognition warning coefficient and value array from small to large; Determine a first initial sub-fireworks recognition warning coefficient and value and a first final sub-fireworks recognition warning coefficient and value of the first sub-fireworks recognition warning coefficient and value array; Determine a second initial sub-fireworks recognition warning coefficient and value and a second final sub-fireworks recognition warning coefficient and value of the second sub-fireworks recognition warning coefficient and value array; Calculate a first mean value of the first sub-fireworks recognition warning coefficient and value array, and determine the number g1 of first sub-fireworks recognition warning coefficient and value between the first mean value and the first initial sub-fireworks recognition warning coefficient and value; Calculate a second mean value of the second sub-fireworks identification warning coefficient and value array, and determine the number g2 of second sub-fireworks identification warning coefficient and value between the second mean value and the second last sub-fireworks identification warning coefficient and value; Calculate a first quantity ratio k1 according to the first sub-fireworks identification warning coefficient and value quantity g1 and the second sub-fireworks identification warning coefficient and value quantity g2, and use it as a first calculation coefficient; ; Determine a third sub-fireworks identification warning coefficient and value quantity g3 between the first mean value and the first last sub-fireworks identification warning coefficient and value; Determine a fourth sub-fireworks identification warning coefficient and value quantity g4 between the second mean value and the first initial sub-fireworks identification warning coefficient and value; Calculate a second quantity ratio k2 according to the third sub-fireworks identification warning coefficient and value quantity g3 and the fourth sub-fireworks identification warning coefficient and value quantity g4, and use it as a second calculation coefficient; ; A fireworks recognition and warning coefficient of the fireworks recognition and warning area is calculated according to the first calculation coefficient and the second calculation coefficient.

[0012] Further, when calculating the fireworks recognition and warning coefficient of the fireworks recognition and warning area according to the first calculation coefficient and the second calculation coefficient, it includes: Calculating an absolute value of a coefficient difference between the first calculation coefficient and the second calculation coefficient, and calculating a coefficient sum of the first calculation coefficient and the second calculation coefficient; The coefficient ratio of the absolute value of the coefficient difference to the coefficient sum is used as the fireworks recognition and warning coefficient of the fireworks recognition and warning area.

[0013] Further, when judging whether to issue a warning according to the fireworks recognition warning coefficient, it includes: Determining whether to issue a warning based on the relationship between the fireworks recognition warning coefficient and a preset fireworks recognition warning coefficient; When the fireworks recognition warning coefficient is less than the preset fireworks recognition warning coefficient, it is determined that there are no fireworks in the fireworks recognition warning area, and no warning is issued; When the fireworks recognition warning coefficient is greater than or equal to the preset fireworks recognition warning coefficient, it is determined that fireworks exist in the fireworks recognition warning area and a warning is issued.

[0014] In order to achieve the above object, the present invention also provides a GIS-based intelligent fire and smoke recognition and early warning system, comprising: An image acquisition module is used to pre-deploy an image acquisition device in the fireworks recognition and warning area, acquire a corresponding real-time regional image based on the image acquisition device, extract image pixel values ​​of the real-time regional image, and perform grayscale conversion to obtain a regional image grayscale value sequence; a mark generation module, used to determine a gray value sequence of a comparison area image, and generate an initial fireworks analysis mark for the fireworks identification and warning area according to the gray value sequence of the area image and the gray value sequence of the comparison area image, wherein the initial fireworks analysis mark includes an area no fireworks mark and an area fireworks to be identified mark; An image division module, used for randomly dividing the real-time regional image into a plurality of sub-real-time regional images when generating the regional fireworks to-be-recognized mark, and determining a sub-region image grayscale value sequence corresponding to each sub-real-time regional image according to the regional image grayscale value sequence; A data calculation module, used for analyzing the gray value sequence of the sub-region image, and calculating the sub-fireworks recognition warning coefficient of the sub-real-time region image based on the analysis result, and determining a plurality of sub-fireworks recognition warning coefficient arrays according to all the sub-fireworks recognition warning coefficients; The identification and warning module is used to analyze all the sub-fireworks identification and warning coefficient arrays, calculate the firework identification and warning coefficient of the firework identification and warning area, and determine whether to issue a warning based on the firework identification and warning coefficient. If so, generate fire report information based on the firework identification and warning coefficient and the GIS geographic information system.

[0015] Compared with the prior art, the present invention has the following beneficial effects: The invention discloses an intelligent fireworks recognition and early warning method and system based on GIS. The method comprises the following steps: collecting real-time regional images based on an image acquisition device to obtain a regional image grayscale value sequence; generating an initial fireworks analysis mark according to the regional image grayscale value sequence and a comparison regional image grayscale value sequence; randomly dividing the real-time regional image into a plurality of sub-real-time regional images to determine the sub-regional image grayscale value sequence; calculating sub-fireworks recognition and early warning coefficients to determine a plurality of sub-fireworks recognition and early warning coefficient arrays; analyzing the sub-fireworks recognition and early warning coefficient arrays to calculate the fireworks recognition and early warning coefficients to determine whether to issue an early warning, and if so, generating fire situation report information according to the fireworks recognition and early warning coefficients and a GIS geographic information system, which can significantly improve the efficiency and accuracy of fireworks recognition, realize accurate recognition and immediate early warning, and overcome the problems of low efficiency of manual naked eye recognition and insufficient accuracy of fire situation report. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings: Figure 1 A schematic diagram of a flow chart of a GIS-based intelligent fireworks recognition and early warning method in an embodiment of the present invention is shown; Figure 2 A structural schematic diagram of a GIS-based intelligent fireworks recognition and early warning system in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0017] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0018] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0019] The following is a description of preferred embodiments of the present invention with reference to the accompanying drawings.

[0020] like Figure 1 As shown, the embodiment of the present invention discloses a GIS-based intelligent fire and smoke identification and early warning method, comprising: S110: pre-deploy an image acquisition device in the fireworks recognition and warning area, acquire a corresponding real-time regional image based on the image acquisition device, extract image pixel values ​​of the real-time regional image, and perform grayscale conversion to obtain a regional image grayscale value sequence; In this embodiment, the image acquisition device includes a drone and a high-definition camera, and the drone carries the high-definition camera to acquire real-time regional images of the fireworks recognition and warning area.

[0021] In this embodiment, grayscale conversion is performed on the real-time regional image to obtain corresponding regional image grayscale values, and a regional image grayscale value sequence is constructed. The image grayscale conversion method will not be introduced in detail.

[0022] S120: Determine a gray value sequence of the comparison region image, and generate an initial fireworks analysis mark for the fireworks recognition and warning region according to the region image gray value sequence and the comparison region image gray value sequence, wherein the initial fireworks analysis mark includes a region no fireworks mark and a region fireworks to be recognized mark; In some embodiments of the present application, when determining the gray value sequence of the contrasting region image, generating an initial fireworks analysis mark for the fireworks identification and warning region according to the region image gray value sequence and the contrasting region image gray value sequence, the method includes: Acquire a smoke and fire free area image corresponding to the smoke and fire identification and warning area, and perform grayscale conversion on the smoke and fire free area image to obtain a grayscale value sequence of the comparison area image; Determine whether the regional image grayscale values ​​in the regional image grayscale value sequence are all equal to the comparison regional image grayscale value sequence, and if so, generate a no-smoke and fire mark for the fireworks recognition and warning area; If not, a regional fireworks to be identified mark is generated for the fireworks identification warning area.

[0023] In this embodiment, the smoke and fire-free area image refers to an image taken when there is no smoke and fire in the smoke and fire identification and warning area.

[0024] In this embodiment, the grayscale value sequence of the comparison region image corresponds to the grayscale value sequence of the region image one by one.

[0025] The beneficial effect of the above technical solution is that the present invention can realize the initial judgment of the fireworks recognition warning area. When the regional image grayscale values ​​in the regional image grayscale value sequence are all equal to the comparison regional image grayscale value sequence, it is directly judged that there are no fireworks in the fireworks recognition warning area, thereby improving the judgment efficiency.

[0026] S130: when generating the regional fireworks to be identified mark, randomly dividing the real-time regional image into a plurality of sub-real-time regional images, and determining a sub-region image gray value sequence corresponding to each sub-real-time regional image according to the regional image gray value sequence; In this embodiment, the number of divisions of the sub-real-time area images is preferably 20, which can be adjusted according to actual conditions.

[0027] In this embodiment, the gray value sequence of the regional image is analyzed to obtain the gray value sequence of the sub-regional image corresponding to each sub-real-time regional image.

[0028] S140: Analyze the gray value sequence of the sub-region image, and calculate the sub-fireworks recognition warning coefficient of the sub-real-time region image based on the analysis result, and determine multiple sub-fireworks recognition warning coefficient arrays according to all the sub-fireworks recognition warning coefficients; In some embodiments of the present application, when analyzing the gray value sequence of the sub-region image and calculating the sub-fireworks recognition warning coefficient of the sub-real-time region image based on the analysis result, it includes: Comparing the sub-region image grayscale value sequence with the comparison region image grayscale value sequence, extracting the sub-region image grayscale value that is equal to the comparison region image grayscale value in the sub-region image grayscale value sequence, and generating an equal sub-region image grayscale value sequence; Generating an identification sub-region image grayscale value sequence according to the remaining sub-region image grayscale values ​​in the sub-region image grayscale value sequence; Calculating the image grayscale difference between the grayscale value sequence of the identified sub-region image and the grayscale value of the contrast region image to generate the grayscale difference sequence of the identified sub-region image; Presetting a first preset image grayscale difference value and a second preset image grayscale difference value; Mapping the first preset image grayscale difference and the second preset image grayscale difference to the recognition sub-region image grayscale difference sequence; Determine a minimum image grayscale difference value and a maximum image grayscale difference value in the identified sub-region image grayscale difference value sequence, and count the number of first image grayscale difference values ​​between the minimum image grayscale difference value and the first preset image grayscale difference value; Counting the number of second image grayscale difference values ​​between the first preset image grayscale difference value and the second preset image grayscale difference value; Counting the number of third image grayscale difference values ​​between the maximum image grayscale difference value and the second preset image grayscale difference value; The sub-fireworks recognition warning coefficient of the sub-real-time area image is calculated according to the grayscale difference quantity of the first image, the grayscale difference quantity of the second image, and the grayscale difference quantity of the third image.

[0029] In this embodiment, the numerical values ​​in the sub-region image gray value sequence are named as sub-region image gray values, and the numerical values ​​in the contrast region image gray value sequence are named as contrast region image gray values.

[0030] In this embodiment, the numerical value in the sequence of grayscale difference values ​​of the identified sub-region images is named as image grayscale difference value.

[0031] In this embodiment, the grayscale difference of the first preset image is smaller than the grayscale difference of the second preset image. Here, the grayscale difference of the first preset image is preferably 40, and the grayscale difference of the second preset image is preferably 60, which can be adjusted according to actual conditions.

[0032] In this embodiment, before mapping the first preset image grayscale difference and the second preset image grayscale difference to the identification sub-region image grayscale difference sequence, the image grayscale differences in the identification sub-region image grayscale difference sequence are sorted from small to large.

[0033] In this embodiment, when counting the number of grayscale differences of the first image, the first preset image grayscale difference is not counted, when counting the number of grayscale differences of the second image, the first preset image grayscale difference and the second preset image grayscale difference are not counted, and when counting the number of grayscale differences of the third image, the second preset image grayscale difference is not counted. If there are image grayscale differences that are equal to the first preset image grayscale difference and the second preset image grayscale difference, these image grayscale differences are also not counted.

[0034] The beneficial effect of the above technical solution is: the present invention calculates the sub-fireworks recognition warning coefficient of the sub-real-time area image according to the number of grayscale differences of the first image, the number of grayscale differences of the second image and the number of grayscale differences of the third image. The present invention can realize the accurate calculation of the sub-fireworks recognition warning coefficient, obtain the sub-fireworks recognition warning coefficient of each sub-real-time area image, and then reflect the existence of fireworks in each sub-real-time area image, realize refined calculation, and ensure the accuracy of subsequent fireworks recognition warning.

[0035] In some embodiments of the present application, when calculating the sub-fireworks recognition warning coefficient of the sub-real-time area image according to the grayscale difference number of the first image, the grayscale difference number of the second image, and the grayscale difference number of the third image, it includes: The sub-fireworks recognition warning coefficient of the sub-real-time area image is calculated according to the following formula: ; Among them, q is the sub-fireworks recognition warning coefficient of the sub-real-time area image, w is the number of image grayscale differences in the grayscale difference sequence of the identified sub-area image, and r eTo identify the e-th image grayscale difference in the sub-region image grayscale difference sequence, t1 is the first preset image grayscale difference, t2 is the second preset image grayscale difference, y1 is the number of first image grayscale differences, y2 is the number of second image grayscale differences, y3 is the number of third image grayscale differences, u is the image grayscale difference variance corresponding to the identified sub-region image grayscale difference sequence, and p is the adjustment coefficient.

[0036] In some embodiments of the present application, the adjustment coefficient p is calculated according to the following method: Normalizing the sub-region image grayscale value sequence, and constructing a sub-region image grayscale value curve according to the normalization result; Determine the inflection points of the sub-region image grayscale value curve, and determine the image grayscale value corresponding to each inflection point of the curve; Counting the number of equal image grayscale values ​​of the equal sub-region image grayscale value sequence, and counting the number of identified image grayscale values ​​of the identified sub-region image grayscale value sequence; The adjustment coefficient p is calculated according to the following formula: ; Among them, d1 is the average value of all image gray values ​​on the sub-region image gray value curve, a is the number of inflection points of the curve, and s i is the inflection point slope corresponding to the i-th curve inflection point, f1 is the number of equal image gray values, f2 is the number of identified image gray values, d2 is the average of the image gray values ​​corresponding to all curve inflection points, and e is a constant.

[0037] In this embodiment, the normalization processing method will not be introduced in detail here.

[0038] In this embodiment, when determining the sub-region image gray value curve, the normalized image gray value is used as the ordinate, and the abscissa defaults to 1, 2, 3, 4, 5, ..., m, where m is the number of image gray values.

[0039] In this embodiment, the inflection point of the curve is a point where the concavity and convexity of the curve changes, and can be determined in combination with the gray value curve of the sub-region image.

[0040] The beneficial effect of the above technical solution is: the present invention calculates the adjustment coefficient p according to the number of grayscale values ​​of the equal image and the number of grayscale values ​​of the recognized image, thereby realizing dynamic adjustment of the sub-fireworks recognition warning coefficient, further ensuring the calculation accuracy of the sub-fireworks recognition warning coefficient, eliminating calculation errors, and comprehensively considering the grayscale value sequence of the equal sub-region image and the grayscale value sequence of the recognized sub-region image, which can further ensure the calculation accuracy of the sub-fireworks recognition warning coefficient.

[0041] In some embodiments of the present application, when a plurality of sub-fireworks recognition warning coefficient arrays are determined according to all sub-fireworks recognition warning coefficients, the method includes: Randomly extracting a first sub-fireworks recognition warning coefficient and a second sub-fireworks recognition warning coefficient from all sub-fireworks recognition warning coefficients, and using the first sub-fireworks recognition warning coefficient and the second sub-fireworks recognition warning coefficient as an initial sub-fireworks recognition warning coefficient array; Calculate the first coefficient and value of two sub-fireworks recognition warning coefficients in the initial sub-fireworks recognition warning coefficient array; Randomly extracting a third sub-fireworks recognition warning coefficient, calculating a first difference absolute value between the third sub-fireworks recognition warning coefficient and the sum of the first coefficients, determining whether the first difference absolute value is less than a preset difference absolute value, and if so, updating the third sub-fireworks recognition warning coefficient to the initial sub-fireworks recognition warning coefficient array; If not, taking the initial sub-fireworks recognition warning coefficient array as a sub-fireworks recognition warning coefficient array, randomly extracting the fourth sub-fireworks recognition warning coefficient, and taking the fourth sub-fireworks recognition warning coefficient and the third sub-fireworks recognition warning coefficient as the second initial sub-fireworks recognition warning coefficient array; Randomly extract the fifth sub-fireworks recognition warning coefficient, calculate the second coefficient sum of the two sub-fireworks recognition warning coefficients in the second initial sub-fireworks recognition warning coefficient array, and calculate the second absolute value of the difference between the second coefficient sum and the fifth sub-fireworks recognition warning coefficient, determine whether the second absolute value of the difference is less than a preset absolute value of the difference, and if so, update the fifth sub-fireworks recognition warning coefficient to the second initial sub-fireworks recognition warning coefficient array; If not, taking the second initial sub-fireworks recognition warning coefficient array as a sub-fireworks recognition warning coefficient array; Repeat the above steps to obtain multiple sub-fireworks recognition warning coefficient arrays.

[0042] In this embodiment, the preset absolute value of the difference is preferably 5, and can be adjusted according to actual conditions.

[0043] In this embodiment, if the absolute value of the first difference is less than the preset absolute value of the difference, the third sub-fireworks recognition warning coefficient is updated to the initial sub-fireworks recognition warning coefficient array, and the fourth sub-fireworks recognition warning coefficient is randomly extracted, and the above steps are repeated until the absolute value of the difference is greater than or equal to the preset absolute value of the difference.

[0044] The beneficial effect of the above technical solution is: the present invention determines multiple sub-fireworks recognition warning coefficient arrays according to all sub-fireworks recognition warning coefficients, realizes the division of all sub-fireworks recognition warning coefficients, and provides a basis for calculating the fireworks recognition warning coefficient by obtaining multiple sub-fireworks recognition warning coefficient arrays.

[0045] S150: Analyze all the sub-fireworks recognition and warning coefficient arrays, calculate the firework recognition and warning coefficient of the firework recognition and warning area, and determine whether to issue a warning based on the firework recognition and warning coefficient. If so, generate fire report information based on the firework recognition and warning coefficient and the GIS geographic information system.

[0046] In this embodiment, when the fire identification warning coefficient is larger, it means that the scale of the fire is larger; conversely, when the fire identification warning coefficient is smaller, it means that the scale of the fire is smaller, or even there is no fire. The fire identification warning coefficient can provide an accurate numerical basis for fire alarms and fire extinguishing strategies to ensure the accuracy of response measures. Combined with the GIS geographic information system, the specific location of the fire can be quickly located, thereby guiding fire extinguishing operations more efficiently.

[0047] In this embodiment, the fire report information refers to the fireworks recognition warning coefficient and the specific location of the fireworks.

[0048] In some embodiments of the present application, when analyzing all the sub-fireworks recognition warning coefficient arrays and calculating the firework recognition warning coefficient of the firework recognition warning area, it includes: Calculate the sub-fireworks recognition warning coefficient and value corresponding to each sub-fireworks recognition warning coefficient array; Determine the mean of the sub-fireworks identification warning coefficients and values ​​corresponding to all the sub-fireworks identification warning coefficients and values; Allocate all sub-fireworks recognition warning coefficients and values ​​that are less than the mean value of the sub-fireworks recognition warning coefficients and values ​​to a first sub-fireworks recognition warning coefficient and value array, and all sub-fireworks recognition warning coefficients and values ​​that are greater than or equal to the mean value of the sub-fireworks recognition warning coefficients and values ​​to a second sub-fireworks recognition warning coefficient and value array; respectively sorting the first sub-pyrotechnics recognition warning coefficient and value array and the second sub-pyrotechnics recognition warning coefficient and value array from small to large; Determine a first initial sub-fireworks recognition warning coefficient and value and a first final sub-fireworks recognition warning coefficient and value of the first sub-fireworks recognition warning coefficient and value array; Determine a second initial sub-fireworks recognition warning coefficient and value and a second final sub-fireworks recognition warning coefficient and value of the second sub-fireworks recognition warning coefficient and value array; Calculate a first mean value of the first sub-fireworks recognition warning coefficient and value array, and determine the number g1 of first sub-fireworks recognition warning coefficient and value between the first mean value and the first initial sub-fireworks recognition warning coefficient and value; Calculate a second mean value of the second sub-fireworks identification warning coefficient and value array, and determine the number g2 of second sub-fireworks identification warning coefficient and value between the second mean value and the second last sub-fireworks identification warning coefficient and value; Calculate a first quantity ratio k1 according to the first sub-fireworks identification warning coefficient and value quantity g1 and the second sub-fireworks identification warning coefficient and value quantity g2, and use it as a first calculation coefficient; ; Determine a third sub-fireworks identification warning coefficient and value quantity g3 between the first mean value and the first last sub-fireworks identification warning coefficient and value; Determine a fourth sub-fireworks identification warning coefficient and value quantity g4 between the second mean value and the first initial sub-fireworks identification warning coefficient and value; Calculate a second quantity ratio k2 according to the third sub-fireworks identification warning coefficient and value quantity g3 and the fourth sub-fireworks identification warning coefficient and value quantity g4, and use it as a second calculation coefficient; ; A fireworks recognition and warning coefficient of the fireworks recognition and warning area is calculated according to the first calculation coefficient and the second calculation coefficient.

[0049] In this embodiment, the first initial sub-fireworks identification warning coefficient and value refers to the minimum sub-fireworks identification warning coefficient and value in the first sub-fireworks identification warning coefficient and value array, and the first last sub-fireworks identification warning coefficient and value refers to the maximum sub-fireworks identification warning coefficient and value in the first sub-fireworks identification warning coefficient and value array.

[0050] In this embodiment, the second initial sub-fireworks identification warning coefficient and value refers to the minimum sub-fireworks identification warning coefficient and value in the second sub-fireworks identification warning coefficient and value array, and the second last sub-fireworks identification warning coefficient and value refers to the maximum sub-fireworks identification warning coefficient and value in the second sub-fireworks identification warning coefficient and value array.

[0051] In this embodiment, when determining the first sub-fireworks identification warning coefficient and value quantity g1, it is determined whether there is a sub-fireworks identification warning coefficient and value equal to the first mean value in the first sub-fireworks identification warning coefficient and value array. If so, the equal sub-fireworks identification warning coefficient and value is included in the first sub-fireworks identification warning coefficient and value quantity g1.

[0052] In this embodiment, when determining the second sub-fireworks identification warning coefficient and value quantity g2, it is determined whether there is a sub-fireworks identification warning coefficient and value equal to the second mean in the second sub-fireworks identification warning coefficient and value array. If so, the equal sub-fireworks identification warning coefficient and value is included in the second sub-fireworks identification warning coefficient and value quantity g2.

[0053] In this embodiment, when determining the third sub-fireworks identification warning coefficient and value quantity g3, it is determined whether there is a sub-fireworks identification warning coefficient and value equal to the first mean in the first sub-fireworks identification warning coefficient and value array. If so, the equal sub-fireworks identification warning coefficient and value are repeatedly counted into the third sub-fireworks identification warning coefficient and value quantity g3.

[0054] In this embodiment, when determining the fourth sub-fireworks identification warning coefficient and value quantity g4, it is determined whether there is a sub-fireworks identification warning coefficient and value equal to the second mean in the second sub-fireworks identification warning coefficient and value array. If so, the equal sub-fireworks identification warning coefficient and value are repeatedly counted into the fourth sub-fireworks identification warning coefficient and value quantity g4.

[0055] The beneficial effect of the above technical solution is: the present invention determines the first sub-fireworks identification warning coefficient and value quantity g1 and the second sub-fireworks identification warning coefficient and value quantity g2, and then calculates the first calculation coefficient, determines the third sub-fireworks identification warning coefficient and value quantity g3 and the fourth sub-fireworks identification warning coefficient and value quantity g4, and then determines the second calculation coefficient, realizes the division and quantity judgment of all sub-fireworks identification warning coefficients and values, and realizes cross-array calculation, cross-analyzes the first sub-fireworks identification warning coefficient and value array and the second sub-fireworks identification warning coefficient and value array, ensures the adequacy of the analysis, avoids errors, and lays a foundation for the calculation of the fireworks identification warning coefficient through the first calculation coefficient and the second calculation coefficient.

[0056] In some embodiments of the present application, when calculating the fireworks recognition and warning coefficient of the fireworks recognition and warning area according to the first calculation coefficient and the second calculation coefficient, it includes: Calculating an absolute value of a coefficient difference between the first calculation coefficient and the second calculation coefficient, and calculating a coefficient sum of the first calculation coefficient and the second calculation coefficient; The coefficient ratio of the absolute value of the coefficient difference to the coefficient sum is used as the fireworks recognition and warning coefficient of the fireworks recognition and warning area.

[0057] The beneficial effect of the above technical solution is: the present invention calculates the fireworks and fire identification warning coefficient of the fireworks and fire identification warning area according to the first calculation coefficient and the second calculation coefficient. The fireworks and fire identification warning coefficient can reflect whether there are fireworks and fire in the fireworks and fire identification warning area, as well as the specific fire situation. No human participation in judgment is required, which ensures the efficiency and accuracy of fireworks and fire identification and eliminates subjectivity.

[0058] In some embodiments of the present application, when judging whether to issue a warning according to the fireworks recognition warning coefficient, it includes: Determining whether to issue a warning based on the relationship between the fireworks recognition warning coefficient and a preset fireworks recognition warning coefficient; When the fireworks recognition warning coefficient is less than the preset fireworks recognition warning coefficient, it is determined that there are no fireworks in the fireworks recognition warning area, and no warning is issued; When the fireworks recognition warning coefficient is greater than or equal to the preset fireworks recognition warning coefficient, it is determined that fireworks exist in the fireworks recognition warning area and a warning is issued.

[0059] In this embodiment, the preset fireworks recognition warning coefficient is preferably 0.4, and can be adjusted according to actual needs. The preset fireworks recognition warning coefficient can determine whether there are fireworks in the fireworks recognition warning area.

[0060] The beneficial effect of the above technical solution is that the present invention determines whether to issue a warning based on the relationship between the fireworks recognition warning coefficient and the preset fireworks recognition warning coefficient, which can significantly improve the efficiency and accuracy of fireworks recognition, achieve accurate recognition and immediate warning, and overcome the problems of low efficiency of manual eye recognition and insufficient accuracy of fire situation reporting.

[0061] In order to further explain the technical idea of ​​the present invention, the technical solution of the present invention is now described in combination with specific application scenarios.

[0062] Correspondingly, such as Figure 2 As shown, the present application also provides a GIS-based intelligent fireworks recognition and warning system, including: An image acquisition module is used to pre-deploy an image acquisition device in the fireworks recognition and warning area, acquire a corresponding real-time regional image based on the image acquisition device, extract image pixel values ​​of the real-time regional image, and perform grayscale conversion to obtain a regional image grayscale value sequence; a mark generation module, used to determine a gray value sequence of a comparison area image, and generate an initial fireworks analysis mark for the fireworks identification and warning area according to the gray value sequence of the area image and the gray value sequence of the comparison area image, wherein the initial fireworks analysis mark includes an area no fireworks mark and an area fireworks to be identified mark; An image division module, used for randomly dividing the real-time regional image into a plurality of sub-real-time regional images when generating the regional fireworks to-be-recognized mark, and determining a sub-region image grayscale value sequence corresponding to each sub-real-time regional image according to the regional image grayscale value sequence; A data calculation module, used for analyzing the gray value sequence of the sub-region image, and calculating the sub-fireworks recognition warning coefficient of the sub-real-time region image based on the analysis result, and determining a plurality of sub-fireworks recognition warning coefficient arrays according to all the sub-fireworks recognition warning coefficients; The identification and warning module is used to analyze all the sub-fireworks identification and warning coefficient arrays, calculate the firework identification and warning coefficient of the firework identification and warning area, and determine whether to issue a warning based on the firework identification and warning coefficient. If so, generate fire report information based on the firework identification and warning coefficient and the GIS geographic information system.

[0063] In the description of the above embodiments, specific features, structures, materials or characteristics may be combined in a suitable manner in any one or more embodiments or examples.

[0064] Although the present invention has been described above with reference to the embodiments, various modifications may be made thereto and parts thereof may be replaced with equivalents without departing from the scope of the present invention. In particular, as long as there is no structural conflict, the various features in the embodiments disclosed by the present invention may be used in combination with each other in any manner, and the fact that these combinations are not fully described in this specification is only for the sake of omitting space and saving resources.

[0065] Those skilled in the art can understand that the above are only preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions recorded in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A GIS-based intelligent fireworks recognition and early warning method, characterized in that: include: An image acquisition device is pre-deployed in the fireworks recognition and warning area, and the corresponding real-time regional image is acquired based on the image acquisition device, and the image pixel value of the real-time regional image is extracted and grayscale conversion is performed to obtain a grayscale value sequence of the regional image; Determine a gray value sequence of the comparison area image, and generate an initial fireworks analysis mark for the fireworks identification and warning area according to the area image gray value sequence and the comparison area image gray value sequence, wherein the initial fireworks analysis mark includes an area no fireworks mark and an area fireworks to be identified mark; When generating the regional fireworks to-be-recognized mark, the real-time regional image is randomly divided into a plurality of sub-real-time regional images, and a sub-region image grayscale value sequence corresponding to each sub-real-time regional image is determined according to the regional image grayscale value sequence; Analyzing the gray value sequence of the sub-region image, and calculating the sub-fireworks recognition warning coefficient of the sub-real-time region image based on the analysis result, and determining a plurality of sub-fireworks recognition warning coefficient arrays according to all the sub-fireworks recognition warning coefficients; Analyze all sub-fireworks recognition and warning coefficient arrays, calculate the firework recognition and warning coefficient of the firework recognition and warning area, and determine whether to issue a warning based on the firework recognition and warning coefficient. If so, generate fire report information based on the firework recognition and warning coefficient and the GIS geographic information system.

2. The GIS-based intelligent fireworks recognition and early warning method according to claim 1 is characterized in that: When determining the gray value sequence of the contrasting region image, and generating an initial fireworks analysis mark for the fireworks recognition and warning region according to the region image gray value sequence and the contrasting region image gray value sequence, the method includes: Acquire a smoke and fire free area image corresponding to the smoke and fire identification and warning area, and perform grayscale conversion on the smoke and fire free area image to obtain a grayscale value sequence of the comparison area image; Determine whether the regional image grayscale values ​​in the regional image grayscale value sequence are all equal to the comparison regional image grayscale value sequence, and if so, generate a no-smoke and fire mark for the fireworks recognition and warning area; If not, a regional fireworks to be identified mark is generated for the fireworks identification warning area.

3. The GIS-based intelligent fireworks recognition and early warning method according to claim 1 is characterized in that: When analyzing the gray value sequence of the sub-region image and calculating the sub-fireworks recognition warning coefficient of the sub-real-time region image based on the analysis result, it includes: Comparing the sub-region image grayscale value sequence with the comparison region image grayscale value sequence, extracting the sub-region image grayscale value that is equal to the comparison region image grayscale value in the sub-region image grayscale value sequence, and generating an equal sub-region image grayscale value sequence; Generating an identification sub-region image grayscale value sequence according to the remaining sub-region image grayscale values ​​in the sub-region image grayscale value sequence; Calculating the image grayscale difference between the grayscale value sequence of the identified sub-region image and the grayscale value of the contrast region image to generate the grayscale difference sequence of the identified sub-region image; Presetting a first preset image grayscale difference value and a second preset image grayscale difference value; Mapping the first preset image grayscale difference and the second preset image grayscale difference to the recognition sub-region image grayscale difference sequence; Determine a minimum image grayscale difference value and a maximum image grayscale difference value in the identified sub-region image grayscale difference value sequence, and count the number of first image grayscale difference values ​​between the minimum image grayscale difference value and the first preset image grayscale difference value; Counting the number of second image grayscale difference values ​​between the first preset image grayscale difference value and the second preset image grayscale difference value; Counting the number of third image grayscale difference values ​​between the maximum image grayscale difference value and the second preset image grayscale difference value; The sub-fireworks recognition warning coefficient of the sub-real-time area image is calculated according to the grayscale difference quantity of the first image, the grayscale difference quantity of the second image, and the grayscale difference quantity of the third image.

4. The GIS-based intelligent fireworks recognition and early warning method according to claim 3 is characterized in that: When calculating the sub-fireworks recognition warning coefficient of the sub-real-time area image according to the grayscale difference quantity of the first image, the grayscale difference quantity of the second image, and the grayscale difference quantity of the third image, the method includes: The sub-fireworks recognition warning coefficient of the sub-real-time area image is calculated according to the following formula: ; Among them, q is the sub-fireworks recognition warning coefficient of the sub-real-time area image, w is the number of image grayscale differences in the grayscale difference sequence of the identified sub-area image, and r e To identify the e-th image grayscale difference in the sub-region image grayscale difference sequence, t1 is the first preset image grayscale difference, t2 is the second preset image grayscale difference, y1 is the number of first image grayscale differences, y2 is the number of second image grayscale differences, y3 is the number of third image grayscale differences, u is the image grayscale difference variance corresponding to the identified sub-region image grayscale difference sequence, and p is the adjustment coefficient.

5. The GIS-based intelligent fireworks recognition and early warning method according to claim 4 is characterized in that: The adjustment factor p is calculated according to the following method: Normalizing the sub-region image grayscale value sequence, and constructing a sub-region image grayscale value curve according to the normalization result; Determine the inflection points of the sub-region image grayscale value curve, and determine the image grayscale value corresponding to each inflection point of the curve; Counting the number of equal image grayscale values ​​of the equal sub-region image grayscale value sequence, and counting the number of identified image grayscale values ​​of the identified sub-region image grayscale value sequence; The adjustment coefficient p is calculated according to the following formula: ; Among them, d1 is the average value of all image gray values ​​on the sub-region image gray value curve, a is the number of inflection points of the curve, and s i is the inflection point slope corresponding to the i-th curve inflection point, f1 is the number of equal image gray values, f2 is the number of identified image gray values, d2 is the average of the image gray values ​​corresponding to all curve inflection points, and e is a constant.

6. The GIS-based intelligent fireworks recognition and early warning method according to claim 1 is characterized in that: When multiple sub-fireworks identification warning coefficient arrays are determined according to all sub-fireworks identification warning coefficients, it includes: Randomly extracting a first sub-fireworks recognition warning coefficient and a second sub-fireworks recognition warning coefficient from all sub-fireworks recognition warning coefficients, and using the first sub-fireworks recognition warning coefficient and the second sub-fireworks recognition warning coefficient as an initial sub-fireworks recognition warning coefficient array; Calculate the first coefficient and value of two sub-fireworks recognition warning coefficients in the initial sub-fireworks recognition warning coefficient array; Randomly extracting a third sub-fireworks recognition warning coefficient, calculating a first difference absolute value between the third sub-fireworks recognition warning coefficient and the sum of the first coefficients, determining whether the first difference absolute value is less than a preset difference absolute value, and if so, updating the third sub-fireworks recognition warning coefficient to the initial sub-fireworks recognition warning coefficient array; If not, taking the initial sub-fireworks recognition warning coefficient array as a sub-fireworks recognition warning coefficient array, randomly extracting the fourth sub-fireworks recognition warning coefficient, and taking the fourth sub-fireworks recognition warning coefficient and the third sub-fireworks recognition warning coefficient as the second initial sub-fireworks recognition warning coefficient array; Randomly extract the fifth sub-fireworks recognition warning coefficient, calculate the second coefficient sum of the two sub-fireworks recognition warning coefficients in the second initial sub-fireworks recognition warning coefficient array, and calculate the second absolute value of the difference between the second coefficient sum and the fifth sub-fireworks recognition warning coefficient, determine whether the second absolute value of the difference is less than a preset absolute value of the difference, and if so, update the fifth sub-fireworks recognition warning coefficient to the second initial sub-fireworks recognition warning coefficient array; If not, taking the second initial sub-fireworks recognition warning coefficient array as a sub-fireworks recognition warning coefficient array; Repeat the above steps to obtain multiple sub-fireworks recognition warning coefficient arrays.

7. The GIS-based intelligent fireworks recognition and early warning method according to claim 1 is characterized in that: When analyzing all the sub-fireworks recognition warning coefficient arrays and calculating the firework recognition warning coefficient of the firework recognition warning area, it includes: Calculate the sub-fireworks recognition warning coefficient and value corresponding to each sub-fireworks recognition warning coefficient array; Determine the mean of the sub-fireworks identification warning coefficients and values ​​corresponding to all the sub-fireworks identification warning coefficients and values; Allocate all sub-fireworks recognition warning coefficients and values ​​that are less than the mean value of the sub-fireworks recognition warning coefficients and values ​​to a first sub-fireworks recognition warning coefficient and value array, and all sub-fireworks recognition warning coefficients and values ​​that are greater than or equal to the mean value of the sub-fireworks recognition warning coefficients and values ​​to a second sub-fireworks recognition warning coefficient and value array; respectively sorting the first sub-pyrotechnics recognition warning coefficient and value array and the second sub-pyrotechnics recognition warning coefficient and value array from small to large; Determine a first initial sub-fireworks recognition warning coefficient and value and a first final sub-fireworks recognition warning coefficient and value of the first sub-fireworks recognition warning coefficient and value array; Determine a second initial sub-fireworks recognition warning coefficient and value and a second final sub-fireworks recognition warning coefficient and value of the second sub-fireworks recognition warning coefficient and value array; Calculate a first mean value of the first sub-fireworks recognition warning coefficient and value array, and determine the number g1 of first sub-fireworks recognition warning coefficient and value between the first mean value and the first initial sub-fireworks recognition warning coefficient and value; Calculate a second mean value of the second sub-fireworks identification warning coefficient and value array, and determine the number g2 of second sub-fireworks identification warning coefficient and value between the second mean value and the second last sub-fireworks identification warning coefficient and value; Calculate a first quantity ratio k1 according to the first sub-fireworks identification warning coefficient and value quantity g1 and the second sub-fireworks identification warning coefficient and value quantity g2, and use it as a first calculation coefficient; ; Determine a third sub-fireworks identification warning coefficient and value quantity g3 between the first mean value and the first last sub-fireworks identification warning coefficient and value; Determine a fourth sub-fireworks identification warning coefficient and value quantity g4 between the second mean value and the first initial sub-fireworks identification warning coefficient and value; Calculate a second quantity ratio k2 according to the third sub-fireworks identification warning coefficient and value quantity g3 and the fourth sub-fireworks identification warning coefficient and value quantity g4, and use it as a second calculation coefficient; ; A fireworks recognition and warning coefficient of the fireworks recognition and warning area is calculated according to the first calculation coefficient and the second calculation coefficient.

8. The GIS-based intelligent fireworks recognition and early warning method according to claim 7 is characterized in that: When calculating the fireworks recognition and warning coefficient of the fireworks recognition and warning area according to the first calculation coefficient and the second calculation coefficient, the method includes: Calculating an absolute value of a coefficient difference between the first calculation coefficient and the second calculation coefficient, and calculating a coefficient sum of the first calculation coefficient and the second calculation coefficient; The coefficient ratio of the absolute value of the coefficient difference to the coefficient sum is used as the fireworks recognition and warning coefficient of the fireworks recognition and warning area.

9. The GIS-based intelligent fireworks recognition and early warning method according to claim 1 is characterized in that: When judging whether to issue an early warning according to the fireworks recognition early warning coefficient, it includes: Determining whether to issue a warning based on the relationship between the fireworks recognition warning coefficient and a preset fireworks recognition warning coefficient; When the fireworks recognition warning coefficient is less than the preset fireworks recognition warning coefficient, it is determined that there are no fireworks in the fireworks recognition warning area, and no warning is issued; When the fireworks recognition warning coefficient is greater than or equal to the preset fireworks recognition warning coefficient, it is determined that fireworks exist in the fireworks recognition warning area and a warning is issued.

10. A GIS-based intelligent fire and smoke identification and early warning system, applied to the GIS-based intelligent fire and smoke identification and early warning method according to any one of claims 1 to 9, characterized in that: include: An image acquisition module is used to pre-deploy an image acquisition device in the fireworks recognition and warning area, acquire a corresponding real-time regional image based on the image acquisition device, extract image pixel values ​​of the real-time regional image, and perform grayscale conversion to obtain a regional image grayscale value sequence; a mark generation module, used to determine a gray value sequence of a comparison area image, and generate an initial fireworks analysis mark for the fireworks identification and warning area according to the gray value sequence of the area image and the gray value sequence of the comparison area image, wherein the initial fireworks analysis mark includes an area no fireworks mark and an area fireworks to be identified mark; An image division module, used for randomly dividing the real-time regional image into a plurality of sub-real-time regional images when generating the regional fireworks to-be-recognized mark, and determining a sub-region image grayscale value sequence corresponding to each sub-real-time regional image according to the regional image grayscale value sequence; A data calculation module, used for analyzing the gray value sequence of the sub-region image, and calculating the sub-fireworks recognition warning coefficient of the sub-real-time region image based on the analysis result, and determining a plurality of sub-fireworks recognition warning coefficient arrays according to all the sub-fireworks recognition warning coefficients; The identification and warning module is used to analyze all the sub-fireworks identification and warning coefficient arrays, calculate the firework identification and warning coefficient of the firework identification and warning area, and determine whether to issue a warning based on the firework identification and warning coefficient. If so, generate fire report information based on the firework identification and warning coefficient and the GIS geographic information system.

Citation Information

Patent Citations

  • Tunnel fire monitor, tunnel fire monitoring system and tunnel fire monitoring method

    CN107798811A

  • Smoke and fire identification method and device, computer equipment and storage medium

    CN112560657A

  • Forest fire identification method based on thermal imaging analysis technology, equipment and computer storage medium

    CN114005237A

  • Forest fire monitoring and early warning system based on unmanned aerial vehicle image analysis

    CN118280054A

  • Smoke detection device and smoke detection method

    JP2016110262A