Method and system for multi-target identification and tracking fire extinguishing

The deep learning model is used to identify and adjust the fire source and jet of the fire cannon, which solves the time lag and accuracy problems of traditional firefighting measures when extinguishing fires, realizes the rapid tracking of fire extinguishing by fire cannons, and improves the efficiency and accuracy of fire extinguishing. sex.

CN118750849AInactive Publication Date: 2024-10-11SHANGHAI GESHI FIRE SAFETY EQUIP CO LTD +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410609952.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-16
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional firefighting measures have time lags when putting out fires and cannot accurately identify fire sources in complex scenes. Intelligent firefighting systems have limitations in multi-target recognition and cannot ensure that fire cannons continue to track and extinguish fires.

Method used

The deep learning model is used to identify the fire source in the fire scene video data and the jet video data to identify the jet. By calculating the injection position and adjusting the injection parameters, the fire cannon can quickly track and extinguish the fire.

Benefits of technology

It improves the fire source positioning accuracy and fire extinguishing efficiency, ensures that the fire cannon accurately covers the fire source, realizes real-time monitoring and adjustment, and ensures the efficiency and accuracy of the fire extinguishing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118750849A_ABST
    Figure CN118750849A_ABST
Patent Text Reader

Abstract

The invention discloses a method and system for multi-target recognition and tracking fire extinguishing, and relates to the technical field of fire fighting, and the method comprises the following steps: collecting video data of a fire scene after a fire fighting task is received, and carrying out the fire source recognition of the video data through a deep learning model, and obtaining the position of a fire source; obtaining the spraying range and the position of the fire monitor, and determining the spraying position of the fire monitor according to the fire source position, the position of the fire monitor and the spraying range of the fire monitor; after the fire monitor moves to the spraying position, water flow is sprayed; collecting jet video data of water flow jetted by a fire monitor on a fire scene, and performing jet recognition on the jet video data by using the deep learning model to obtain a jet route; determining whether the jet flow route passes through the fire source position or not through the jet flow route and the fire source position; if not, determining position difference data of the fire source position and the jet flow route, and adjusting jet parameters of the fire monitor. Rapid tracking fire extinguishing of the fire monitor is achieved, and fire extinguishing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of fire fighting technology, and in particular to a method and system for multi-target identification and tracking fire fighting. Background Art

[0002] With the acceleration of urbanization and the increase in population density, the frequency and scale of fires are also on the rise. For fire departments, effective fire monitoring and fire fighting technologies are essential to minimize property losses and casualties.

[0003] At present, traditional fire-fighting measures rely on manual on-site control of fire cannons to extinguish fires, which has a certain time lag, and therefore often loses the best time to put out fires. In addition, traditional fire cannons indiscriminately control fire extinguishing agents to extinguish fires. For complex scenes, such as high-rise buildings and warehouses, it is impossible to accurately find the fire point for fire extinguishing. Most of the existing intelligent fire-fighting systems use image recognition technology to identify and extinguish fire sources. Although this method can identify the fire point more accurately, it still has limitations for multi-target recognition in complex environments. After identifying the fire point, it is still necessary to manually determine whether the fire cannon is aiming at the fire source, and it is impossible to ensure that the fire cannon continues to track and extinguish the fire. Summary of the invention

[0004] The purpose of the present invention is to provide a method and system for multi-target identification and tracking fire extinguishing. The technical problem to be solved is how to achieve rapid tracking and fire extinguishing by fire cannons and improve fire extinguishing efficiency.

[0005] The present invention is achieved through the following technical solutions:

[0006] A first aspect provides a method for multi-target identification and tracking fire extinguishing, comprising the following steps:

[0007] S100: After receiving the firefighting task, collect video data of the fire scene, use the deep learning model to identify the fire source of the video data, and obtain the location of the fire source;

[0008] S200, obtaining the spray range and the position of the fire monitor, and determining the spray position of the fire monitor according to the fire source position, the fire monitor position and the spray range of the fire monitor; after the fire monitor moves to the spray position, sprays water;

[0009] S300, collecting jet video data of water sprayed by a fire monitor at the fire scene, and using a deep learning model to perform jet recognition on the jet video data to obtain a jet route;

[0010] S400, determining whether the jet route passes through the fire source location based on the jet route and the fire source location;

[0011] S410. If the jet route does not pass through the fire source location, determine the position difference data between the fire source location and the jet route, and adjust the spray parameters of the fire monitor according to the position difference data.

[0012] The deep learning model is used to identify the fire source from the video data of the fire scene. Compared with the traditional manual search or simple rule-based identification method, the deep learning model provides higher accuracy and faster processing speed, thereby realizing the rapid positioning of the fire source. According to the location of the fire source, the location of the fire monitor and the spray range of the fire monitor, the spray position to which the fire monitor should be moved is calculated, which reduces human intervention and improves the accuracy and efficiency of decision-making. By collecting the jet video data of the water jet of the fire monitor, the jet is identified by using the deep learning model, the jet route is obtained, and the actual fire extinguishing effect is monitored in real time. By comparing the jet route and the fire source location, it is determined whether the jet effectively covers the fire source. If the jet does not pass through the fire source location, the spray parameters of the fire monitor (such as spray angle, water volume, etc.) are adjusted to ensure that the jet can accurately cover the fire source. The real-time feedback and adjustment mechanism ensures the efficiency and accuracy of the fire extinguishing process. The above method realizes the rapid tracking and extinguishing of the fire monitor and improves the fire extinguishing efficiency through the steps of rapid identification and positioning of the fire source, intelligent decision-making and positioning of the fire monitor, collection and identification of the jet video data, and matching and adjustment of the jet route and the fire source location.

[0013] Furthermore, after collecting the video data and jet video data of the fire scene, the video data and jet video data are preprocessed, and the preprocessing step includes: resizing and normalizing the pixel values ​​of each frame of the video data and jet video data.

[0014] By resizing and normalizing the pixel values ​​of the video images before preprocessing, we can ensure that the deep learning model has higher accuracy when processing video data and jet video data, which helps to accurately identify the location of the fire source and the jet route, thereby improving the efficiency of fire extinguishing. Resizing can reduce the size of the image, thereby reducing the computational burden of the model, which means that the deep learning model can process data and make decisions faster, further improving the efficiency of fire extinguishing. Pixel value normalization can help the deep learning model better adapt to different lighting conditions and image quality, enhance the generalization ability of the deep learning model, and make the deep learning model more robust and reliable when processing video data from actual fire scenes.

[0015] Furthermore, before identifying the fire source and jet, it is necessary to use a deep learning model to obtain an identification image, which specifically includes the following steps:

[0016] S110, performing patch embedding on the video image to obtain a high-dimensional feature image;

[0017] S120, performing feature conversion and mixing on the high-dimensional feature image to obtain a high-dimensional feature enhanced image;

[0018] S130, merging the adjacent high-dimensional feature-enhanced images to obtain a reduced-dimensional feature-enhanced image;

[0019] S140, jump to S120, replace the high-dimensional feature image with the reduced-dimensional feature-enhanced image, and loop through S120 to S130 twice; substitute the reduced-dimensional feature-enhanced image obtained after looping twice into S120, and jump to S150 after S120 is executed;

[0020] In the first cycle, the high-dimensional feature enhanced image obtained after executing S120 is used as the first-size feature image, and the reduced-dimensional feature enhanced image obtained after executing S130 is used as the second-size feature image;

[0021] S150, performing ScConv convolution on the high-dimensional feature enhanced image obtained in S140 to obtain a feature convolution image;

[0022] S160, performing spatial pyramid pooling on the feature convolution image to obtain a feature image of a third size;

[0023] S170, performing feature fusion and channel reconstruction on the first size feature image, the second size feature image and the third size feature image respectively to obtain a first recognition image, a second recognition image and a third recognition image.

[0024] Through feature enhancement loops and spatial pyramid pooling, feature information of different scales can be captured and fused. Operations such as feature conversion, mixing, and dimensionality reduction help to enhance and enrich feature representation, thereby improving the processing efficiency, recognition accuracy, and robustness of deep learning models. Multiple recognition images (first recognition image, second recognition image, and third recognition image) are generated through deep learning models, providing more choices and flexibility for subsequent recognition and tracking.

[0025] Furthermore, after the feature fusion and channel reconstruction are performed on the first-size feature image, ScConv convolution is performed on the first-size feature image after feature fusion and channel reconstruction to obtain a first recognition image.

[0026] Further extract and integrate feature information to generate a more representative recognition image. Fuse feature information from different sources or different levels to generate a feature representation containing richer information; channel reconstruction is performed after feature fusion, involving rearranging or combining channels of feature maps to optimize the performance of subsequent operations (such as convolution); after feature fusion and channel reconstruction, perform ScConv convolution on the first-size feature image, and through ScConv convolution, extract more refined and representative features from the feature image, which will be used for subsequent recognition and tracking tasks.

[0027] A second aspect provides a system for multi-target identification and tracking fire extinguishing, which is implemented using the above method;

[0028] The system includes:

[0029] The acquisition equipment is used to collect video data of the fire scene, obtain the spray range and position of the fire monitor, and collect the jet video data of the water sprayed by the fire monitor at the fire scene;

[0030] Fire monitor, which is used to set spray parameters and spray water flow;

[0031] Controller, the controller is connected to the fire monitor, and the controller is connected to the acquisition equipment through a pan / tilt;

[0032] The above controller is used to perform the following operations:

[0033] Send firefighting missions;

[0034] S100, after receiving the video data of the fire scene, using the deep learning model to identify the fire source of the video data to obtain the location of the fire source;

[0035] S200, after receiving the spraying range and the position of the fire monitor, determine the spraying position of the fire monitor according to the fire source position, the position of the fire monitor and the spraying range of the fire monitor; after the fire monitor moves to the spraying position, spray water;

[0036] S300, after receiving the jet video data of the water jet sprayed by the fire monitor at the fire scene, using the deep learning model to perform jet recognition on the jet video data to obtain the jet route;

[0037] S400, determining whether the jet route passes through the fire source location based on the jet route and the fire source location;

[0038] S410. If the jet route does not pass through the fire source location, determine the position difference data between the fire source location and the jet route, and adjust the spray parameters of the fire monitor according to the position difference data.

[0039] Furthermore, a deep learning model is built in the above controller;

[0040] The network structure of the above deep learning model includes an input layer, a backbone network layer, a neck network layer, and a head network layer connected in sequence;

[0041] The input layer is used to preprocess the video data and jet video data of the fire scene after they are collected. The preprocessing step includes: resizing and normalizing the pixel values ​​of each frame of the video data and jet video data.

[0042] Furthermore, the backbone network layer includes a PatchEmbed module, a BasicStage module group, a PatchMerging module group, a first ScConv convolution module and a SPPELAN module;

[0043] The above BasicStage module group consists of a first BasicStage module, a second BasicStage module, a third BasicStage module and a fourth BasicStage module;

[0044] The above-mentioned PatchMerging module group consists of a first PatchMerging module, a second PatchMerging module and a third PatchMerging module;

[0045] The connection relationship is: a PatchEmbed module, a first BasicStage module, a first PatchMerging module, two second BasicStage modules, a second PatchMerging module, eight third BasicStage modules, a third PatchMerging module, two fourth BasicStage modules, a first ScConv convolution module and a SPPELAN module are connected in sequence;

[0046] The above input layer is connected to the PatchEmbed module.

[0047] Furthermore, the PatchEmbed module is used to perform patch embedding on the video image to obtain a high-dimensional feature image;

[0048] Each BasicStage module in the BasicStage module group is used to perform feature conversion and mixing on the high-dimensional feature image to obtain a high-dimensional feature enhanced image;

[0049] Each PatchMerging module in the above PatchMerging module group is used to merge adjacent high-dimensional feature-enhanced images to obtain a reduced-dimensional feature-enhanced image;

[0050] The first ScConv convolution module is used to perform ScConv convolution on the high-dimensional feature enhanced image to obtain a feature convolution image;

[0051] The above SPPELAN module is used to perform spatial pyramid pooling on the feature convolution image to obtain a feature image of the third size.

[0052] Furthermore, the neck network layer includes a RepNCSPELAN4 module group, an Upsample convolution module group, an ADown convolution module group, a Concat module group and a second ScConv convolution module;

[0053] The above-mentioned RepNCSPELAN4 module group consists of a first RepNCSPELAN4 module, a second RepNCSPELAN4 module, a third RepNCSPELAN4 module and a fourth RepNCSPELAN4 module;

[0054] The above-mentioned Upsample convolution module group consists of a first Upsample convolution module and a second Upsample convolution module;

[0055] The above-mentioned ADown convolution module group consists of a first ADown convolution module and a second ADown convolution module;

[0056] The above-mentioned Concat module group consists of a first Concat module, a second Concat module, a third Concat module, a fourth Concat module and a fifth Concat module;

[0057] The connection relationship is as follows:

[0058] The first Concat module, the first RepNCSPELAN4 module and the second ScConv convolution module are connected in sequence; the second BasicStage module is connected to the first Concat module, and the second ScConv convolution module is connected to the head network layer;

[0059] The second Concat module, the second RepNCSPELAN4 module, the third Concat module, the fourth Concat module and the third RepNCSPELAN4 module are connected in sequence, the second RepNCSPELAN4 module is connected to the first Concat module through the first Upsample convolution module, and the first RepNCSPELAN4 module is connected to the third Concat module through the first ADown convolution module; the second Concat module is connected to the second PatchMerging module, and the third RepNCSPELAN4 module is connected to the head network layer;

[0060] The fifth Concat module is connected to the fourth RepNCSPELAN4 module, and the fifth Concat module is connected to the third RepNCSPELAN4 module through the second ADown convolution module; the fifth Concat module and the second Upsample convolution module are connected to the SPPELAN module, and the second Upsample convolution module is connected to the second Concat module; the fourth RepNCSPELAN4 module is connected to the head network layer.

[0061] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0062] The deep learning model is used to identify the fire source from the video data of the fire scene. Compared with the traditional manual search or simple rule-based identification method, the deep learning model provides higher accuracy and faster processing speed, thereby realizing the rapid positioning of the fire source. According to the location of the fire source, the location of the fire monitor and the spray range of the fire monitor, the spray position to which the fire monitor should be moved is calculated, which reduces human intervention and improves the accuracy and efficiency of decision-making. By collecting the jet video data of the water jet of the fire monitor, the jet is identified by using the deep learning model, the jet route is obtained, and the actual fire extinguishing effect is monitored in real time. By comparing the jet route and the fire source location, it is determined whether the jet effectively covers the fire source. If the jet does not pass through the fire source location, the spray parameters of the fire monitor (such as spray angle, water volume, etc.) are adjusted to ensure that the jet can accurately cover the fire source. The real-time feedback and adjustment mechanism ensures the efficiency and accuracy of the fire extinguishing process. The above method realizes the rapid tracking and extinguishing of the fire monitor and improves the fire extinguishing efficiency through the steps of rapid identification and positioning of the fire source, intelligent decision-making and positioning of the fire monitor, collection and identification of the jet video data, and matching and adjustment of the jet route and the fire source location. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without creative work. In the drawings:

[0064] Figure 1 As the main flow chart;

[0065] Figure 2 It is the system connection block diagram;

[0066] Figure 3 This is a schematic diagram of the network architecture of the deep learning model;

[0067] Figure 4 Schematic diagram comparing the training results of the FGI-YOLO model and the YOLOv8n model.

[0068] Marks and corresponding parts names in the attached drawings:

[0069] 1. Collection equipment; 2. PTZ; 3. Controller; 4. Fire monitor. DETAILED DESCRIPTION

[0070] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.

[0071] Example 1

[0072] Combination Figure 1 , this embodiment 1 provides a method for multi-target identification and tracking fire extinguishing, comprising the following steps:

[0073] S100: After receiving the firefighting task, collect video data of the fire scene, use the deep learning model to identify the fire source of the video data, and obtain the location of the fire source;

[0074] S200, obtaining the spraying range and the position of the fire monitor 4, and determining the spraying position of the fire monitor 4 according to the fire source position, the position of the fire monitor and the spraying range of the fire monitor 4; after the fire monitor 4 moves to the spraying position, spraying water;

[0075] S300, collecting jet video data of water sprayed by the fire monitor 4 at the fire scene, and using the deep learning model to perform jet recognition on the jet video data to obtain the jet route;

[0076] S400, determining whether the jet route passes through the fire source location based on the jet route and the fire source location;

[0077] S410. If the jet route does not pass through the fire source position, determine the position difference data between the fire source position and the jet route, and adjust the spray parameters of the fire monitor 4 according to the position difference data.

[0078] The deep learning model is used to identify the fire source from the video data of the fire scene. Compared with the traditional manual search or simple rule-based identification method, the deep learning model provides higher accuracy and faster processing speed, thereby realizing the rapid location of the fire source; according to the location of the fire source, the location of the fire monitor and the spray range of the fire monitor 4, the spray position to which the fire monitor 4 should be moved is calculated, which reduces human intervention and improves the accuracy and efficiency of decision-making; by collecting the jet video data of the water jet sprayed by the fire monitor 4, the deep learning model is used to identify the jet, and the jet route is obtained, and the actual fire extinguishing effect is analyzed. Real-time monitoring is performed; by comparing the jet route and the fire source position, it is determined whether the jet effectively covers the fire source. If the jet does not pass through the fire source position, the injection parameters of the fire monitor 4 (such as injection angle, water volume, etc.) are adjusted to ensure that the jet can accurately cover the fire source; the real-time feedback and adjustment mechanism ensures the efficiency and accuracy of the fire extinguishing process; the above method realizes the rapid tracking and extinguishing of the fire monitor 4 and improves the fire extinguishing efficiency through the steps of rapid identification and positioning of the fire source, intelligent decision-making and positioning of the fire monitor 4, collection and identification of jet video data, and matching and adjustment of the jet route and the fire source position.

[0079] Through deep learning models, the fire source and jet can be quickly identified and located, and the fire can be responded to in a short time. By real-time monitoring of the jet route and fire source location, it can ensure that the jet accurately covers the fire source and achieve tracked fire extinguishing, thereby improving fire extinguishing efficiency. According to the real-time data of the jet route and fire source location, the spray parameters of the fire monitor 4 are adjusted to adapt to different fire source locations and changes in fire intensity.

[0080] Example 2

[0081] Based on Example 1, after collecting the video data and jet video data of the fire scene, the above video data and jet video data are preprocessed, and the preprocessing step includes: resizing and normalizing the pixel values ​​of each frame of the video data and jet video data.

[0082] Adjusting the size of the video image can reduce the computational burden of the model. The reasons are: smaller image size means fewer pixels and less computation; pixel value normalization is to scale the pixel values ​​of the image to 0-1, so that the deep learning model converges faster and improves generalization ability, and converts the original pixel values ​​into a smaller range, making it easier for the model to find the optimal solution during training.

[0083] By resizing and normalizing the pixel values ​​of the video images before preprocessing, we can ensure that the deep learning model has higher accuracy when processing video data and jet video data, which helps to accurately identify the location of the fire source and the jet route, thereby improving the efficiency of fire extinguishing. Resizing can reduce the size of the image, thereby reducing the computational burden of the model, which means that the deep learning model can process data and make decisions faster, further improving the efficiency of fire extinguishing. Pixel value normalization can help the deep learning model better adapt to different lighting conditions and image quality, enhance the generalization ability of the deep learning model, and make the deep learning model more robust and reliable when processing video data from actual fire scenes.

[0084] Example 3

[0085] Based on any of the above embodiments, before identifying the fire source and the jet, it is necessary to use a deep learning model to obtain a recognition image, which specifically includes the following steps:

[0086] S110, performing patch embedding on the video image to obtain a high-dimensional feature image; performing operations on local areas (patches) of the video image to map each patch to a high-dimensional feature space, thereby obtaining a high-dimensional feature image, which is helpful to capture local details and texture information of the image;

[0087] S120, performing feature conversion and mixing on the high-dimensional feature image to obtain a high-dimensional feature enhanced image; the purpose of converting and mixing the high-dimensional feature image is to enhance and enrich the feature representation, which is usually achieved through operations such as convolution, pooling, and activation functions to improve the recognition ability of the model;

[0088] S130, merging the adjacent high-dimensional feature-enhanced images to obtain a reduced-dimensional feature-enhanced image; merging the adjacent high-dimensional feature-enhanced images to reduce the dimension of the feature map while retaining key information, and dimensionality reduction helps reduce the amount of calculation and improve the efficiency of the model;

[0089] S140, jump to S120, replace the high-dimensional feature image with the reduced-dimensional feature-enhanced image, and loop through S120 to S130 twice; substitute the reduced-dimensional feature-enhanced image obtained after looping twice into S120, and jump to S150 after S120 is executed;

[0090] Among them, in the first cycle, the high-dimensional feature enhanced image obtained after executing S120 is used as the first-size feature image, and the reduced-dimensional feature enhanced image obtained after executing S130 is used as the second-size feature image; this is an iterative process, and the feature representation is further enriched and enhanced by performing feature conversion and mixing and dimensionality reduction operations multiple times. In the first cycle, the results of S120 and S130 are used as the first-size feature image and the second-size feature image, respectively, for subsequent processing;

[0091] S150, performing ScConv convolution on the high-dimensional feature enhanced image obtained in S140 to obtain a feature convolution image; performing ScConv convolution on the cyclically enhanced feature image to further extract and integrate feature information to obtain a feature convolution image;

[0092] S160, performing spatial pyramid pooling on the above-mentioned feature convolution image to obtain a third-size feature image; this operation can aggregate feature information at different scales, thereby enhancing the model's ability to recognize objects of different scales. After spatial pyramid pooling, a third-size feature image is obtained;

[0093] S170, respectively perform feature fusion and channel reconstruction on the first size feature image, the second size feature image and the third size feature image to obtain a first recognition image, a second recognition image and a third recognition image; fuse feature information of different scales and levels to generate a more representative recognition image.

[0094] Through feature enhancement loops and spatial pyramid pooling, feature information of different scales can be captured and fused. Operations such as feature conversion, mixing, and dimensionality reduction help to enhance and enrich feature representation, thereby improving the processing efficiency, recognition accuracy, and robustness of deep learning models. Multiple recognition images (first recognition image, second recognition image, and third recognition image) are generated through deep learning models, providing more choices and flexibility for subsequent recognition and tracking.

[0095] In a specific embodiment, after the feature fusion and channel reconstruction are performed on the first-size feature image, ScConv convolution is performed on the first-size feature image after the feature fusion and channel reconstruction to obtain a first recognition image.

[0096] ScConv convolution is a specific convolution operation used to further extract and integrate feature information. Compared with traditional convolution operations, ScConv has specific parameters or structures to better adapt to specific tasks or data.

[0097] Further extract and integrate feature information to generate a more representative recognition image. Fuse feature information from different sources or different levels to generate a feature representation containing richer information; channel reconstruction is performed after feature fusion, involving rearranging or combining channels of feature maps to optimize the performance of subsequent operations (such as convolution); after feature fusion and channel reconstruction, perform ScConv convolution on the first-size feature image, and through ScConv convolution, extract more refined and representative features from the feature image, which will be used for subsequent recognition and tracking tasks.

[0098] Example 4

[0099] Combination Figure 2 , this embodiment 4 provides a system for multi-target identification and tracking fire extinguishing, which is implemented using the above method;

[0100] The system includes:

[0101] The acquisition device 1 (a camera may be used), the acquisition device 1 is used to acquire video data of the fire scene, obtain the spray range and position of the fire monitor 4, and acquire the jet video data of the water jet of the fire monitor 4 at the fire scene;

[0102] Fire monitor 4, the fire monitor 4 is used to set the spray parameters and spray water flow;

[0103] Controller 3, the controller 3 is connected to the fire monitor 4, and the controller 3 is connected to the acquisition device 1 through the pan / tilt 2;

[0104] The controller 3 is used to perform the following operations:

[0105] Send firefighting missions;

[0106] S100, after receiving the video data of the fire scene, using the deep learning model to identify the fire source of the video data to obtain the location of the fire source;

[0107] S200, after receiving the spraying range and the position of the fire monitor 4, the spraying position of the fire monitor 4 is determined according to the fire source position, the position of the fire monitor and the spraying range of the fire monitor 4; after the fire monitor 4 moves to the spraying position, it sprays water;

[0108] S300, after receiving the jet video data of the water jet from the fire monitor 4 at the fire scene, using the deep learning model to perform jet recognition on the jet video data to obtain the jet route;

[0109] S400, determining whether the jet route passes through the fire source location based on the jet route and the fire source location;

[0110] S410. If the jet route does not pass through the fire source position, determine the position difference data between the fire source position and the jet route, and adjust the spray parameters of the fire monitor 4 according to the position difference data.

[0111] Example 5

[0112] On the basis of Example 4, a deep learning model is built in the controller 3;

[0113] The network structure of the above deep learning model includes an input layer, a backbone network layer, a neck network layer, and a head network layer connected in sequence;

[0114] The input layer is used to preprocess the video data and jet video data of the fire scene after they are collected. The preprocessing step includes: resizing and normalizing the pixel values ​​of each frame of the video data and jet video data.

[0115] Example 6

[0116] Based on Example 5, in order to solve the specific challenges encountered in flame and smoke detection, such as the variable shape of smoke and the positioning problem of semi-transparent areas. Figure 3 , the above backbone network layer (FSCNet) includes PatchEmbed module, BasicStage module group, PatchMerging module group, the first ScConv convolution module and SPPELAN module;

[0117] The above BasicStage module group consists of a first BasicStage module, a second BasicStage module, a third BasicStage module and a fourth BasicStage module;

[0118] The above-mentioned PatchMerging module group consists of a first PatchMerging module, a second PatchMerging module and a third PatchMerging module;

[0119] The connection relationship is: a PatchEmbed module, a first BasicStage module, a first PatchMerging module, two second BasicStage modules, a second PatchMerging module, eight third BasicStage modules, a third PatchMerging module, two fourth BasicStage modules, a first ScConv convolution module and a SPPELAN module are connected in sequence;

[0120] The above input layer is connected to the PatchEmbed module.

[0121] In a specific embodiment, the PatchEmbed module divides the video image into small blocks through a 4x4 convolution kernel and maps the blocks to a high-dimensional feature space to obtain a high-dimensional feature image.

[0122] Each BasicStage module in the BasicStage module group is used to perform feature conversion and mixing on the high-dimensional feature image to enhance the feature expression ability, thereby obtaining a high-dimensional feature enhanced image; the BasicStage module includes a PConv layer and two 1x1 convolution layers to form an inverted residual block, which optimizes the network performance by expanding the number of channels of the intermediate layer and realizing feature reuse, while maintaining an efficient computing speed;

[0123] Each PatchMerging module in the above PatchMerging module group merges adjacent small patches through 2x2 convolution to obtain a dimension-reduced feature-enhanced image, which reduces the feature dimension and improves the abstractness of the feature map, helping the network capture a wider range of contextual information and improving the expressiveness of the features;

[0124] The first ScConv convolution module is a neural network module, which improves the representation ability of features by combining specific submodules and using compression transformation and selective weighting methods; the first ScConv convolution module is used to perform ScConv convolution on the high-dimensional feature enhanced image to obtain a feature convolution image;

[0125] The above SPPELAN module is used to perform spatial pyramid pooling on the feature convolution image to obtain a feature image of the third size.

[0126] Exemplarily, the backbone network is compared with MoblieNet, BiFormerBlock, InceptionNeXtBlock, and FasterNet networks, as shown in Table 1.

[0127] Table 1

[0128]

[0129] Compared with other networks, the FSCNet network shows the highest mAP50 and mAP50-95, indicating excellent performance at different IOU thresholds and 50% overlap, with only 2.1M parameters and 6.8GFLOPs of computation. At the same time, compared with the original FasterNet, there is also a certain improvement, indicating that the added ScConv module increases the accuracy while maintaining the same number of parameters and computation.

[0130] Example 7

[0131] Based on Example 6, Figure 3 ,The above neck network layer includes the RepNCSPELAN4 module group, the Upsample convolution module group, the ADown convolution module group, the Concat module group and the second ScConv convolution module. The core concept is to optimize the information transmission mode through the hierarchical aggregation mechanism, thereby improving the performance and efficiency of the model;

[0132] The above-mentioned RepNCSPELAN4 module group consists of a first RepNCSPELAN4 module, a second RepNCSPELAN4 module, a third RepNCSPELAN4 module and a fourth RepNCSPELAN4 module;

[0133] The above-mentioned Upsample convolution module group consists of a first Upsample convolution module and a second Upsample convolution module;

[0134] The above-mentioned ADown convolution module group consists of a first ADown convolution module and a second ADown convolution module;

[0135] The above-mentioned Concat module group consists of a first Concat module, a second Concat module, a third Concat module, a fourth Concat module and a fifth Concat module;

[0136] The connection relationship is as follows:

[0137] The first Concat module, the first RepNCSPELAN4 module and the second ScConv convolution module are connected in sequence; the second BasicStage module is connected to the first Concat module, and the second ScConv convolution module is connected to the head network layer;

[0138] The second Concat module, the second RepNCSPELAN4 module, the third Concat module, the fourth Concat module and the third RepNCSPELAN4 module are connected in sequence, the second RepNCSPELAN4 module is connected to the first Concat module through the first Upsample convolution module, and the first RepNCSPELAN4 module is connected to the third Concat module through the first ADown convolution module; the second Concat module is connected to the second PatchMerging module, and the third RepNCSPELAN4 module is connected to the head network layer;

[0139] The fifth Concat module is connected to the fourth RepNCSPELAN4 module, and the fifth Concat module is connected to the third RepNCSPELAN4 module through the second ADown convolution module; the fifth Concat module and the second Upsample convolution module are connected to the SPPELAN module, and the second Upsample convolution module is connected to the second Concat module; the fourth RepNCSPELAN4 module is connected to the head network layer.

[0140] The above-mentioned RepNCSPELAN4 module aims to enhance the expressiveness of features through specific hierarchical arrangement and combination, and improve the model's efficiency in utilizing spatial information through different feature channel segmentation and reorganization; the above-mentioned ADown convolution module is a structure for downsampling features, the purpose of which is to reduce feature resolution while retaining key information, thereby improving the efficiency and performance of the model. The ADown convolution module accepts the segmented input feature x, downsamples it through average pooling and maximum pooling, and processes these two parts through different Conv layers. Finally, the processed features are reassembled to form a downsampled feature output.

[0141] For example, a comparison chart of neck network (GScELAN) data is shown in Table 2.

[0142] Table 2

[0143]

[0144] It can be seen that adding GSCELAN to the neck network achieved a 3.2% increase in mAP50 and a 6% increase in mAP50-95. Finally, due to the large number of small targets in the sample, the ScConv module was added to the small target layer to further improve the detection accuracy, but its parameter amount and calculation amount increased to a certain extent compared with the original network.

[0145] Exemplarily, in the fire and smoke detection task, the size of the video image is adjusted to 640x640 at the input layer, the pixel value is normalized to between 0 and 1, and the processed video image is input into the backbone network layer to obtain a first-size feature image of 80x80x128, a second-size feature image of 40x40x256, and a third-size feature image of 20x20x128. The first-size feature image, the second-size feature image, and the third-size feature image are then sent to the neck network layer, and the RepNCSPELAN4 module and the ADown convolution module are used to optimize feature fusion and channel information reconstruction. Through the Upsample convolution module (a strategy of upsampling and feature layer merging), feature1 (80x80x128), feature2 (40x40x256) and feature3 (20x20x256) for object detection of different sizes are generated, which are finally used in the head network to generate fire and smoke detection results. This process ensures that the deep learning model (FGI-YOLO) can effectively process fire and smoke images from various sizes and optimize the detection performance.

[0146] When training a deep learning model (FGI-YOLO), the comparison with other model training results is as follows: Figure 4 It can be seen that as the number of training rounds reaches 300, the FGI-YOLO model gradually converges, and there is no sign of overfitting during the training process. The training and validation losses of FGI-YOLO are lower than those of YOLOv8n, and the downward trend is more obvious, indicating that FGI-YOLO has superior data fitting capabilities.

[0147] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for multi-target identification and tracking fire extinguishing, It is characterized in that The following steps are involved: S100, after receiving the firefighting task, collecting video data of the fire scene, using the deep learning model to identify the fire source of the video data, and obtaining the location of the fire source; S200, obtaining the spraying range and the position of the fire monitor (4), and determining the spraying position of the fire monitor (4) according to the fire source position, the fire monitor position and the spraying range of the fire monitor (4); after the fire monitor (4) moves to the spraying position, spraying water; S300, collecting jet video data of water jetted by a fire monitor (4) at the fire scene, and using a deep learning model to perform jet recognition on the jet video data to obtain a jet route; S400, determining whether the jet route passes through the fire source location based on the jet route and the fire source location; S410: If the jet route does not pass through the fire source position, determine the position difference data between the fire source position and the jet route, and adjust the spray parameters of the fire monitor (4) according to the position difference data.

2. A method for multi-target identification and tracking fire extinguishing according to claim 1, It is characterized in that After collecting the video data and jet video data of the fire scene, the video data and the jet video data are preprocessed, and the preprocessing step includes: resizing and normalizing the pixel values ​​of each frame of the video data and the jet video data.

3. A method for multi-target identification and tracking fire extinguishing according to claim 2, It is characterized in that Before identifying the fire source and jet, it is necessary to use a deep learning model to obtain an identification image, which includes the following steps: S110, performing patch embedding on the video image to obtain a high-dimensional feature image; S120, performing feature conversion and mixing on the high-dimensional feature image to obtain a high-dimensional feature enhanced image; S130, merging the adjacent high-dimensional feature-enhanced images to obtain a reduced-dimensional feature-enhanced image; S140, jump to S120, replace the high-dimensional feature image with a reduced-dimensional feature-enhanced image, and loop through S120 to S130 twice; substitute the reduced-dimensional feature-enhanced image obtained after looping twice into S120, and jump to S150 after S120 is executed; In the first cycle, the high-dimensional feature enhanced image obtained after executing S120 is used as the first-size feature image, and the reduced-dimensional feature enhanced image obtained after executing S130 is used as the second-size feature image; S150, performing ScConv convolution on the high-dimensional feature enhanced image obtained in S140 to obtain a feature convolution image; S160, performing spatial pyramid pooling on the feature convolution image to obtain a feature image of a third size; S170, performing feature fusion and channel reconstruction on the first size feature image, the second size feature image, and the third size feature image respectively to obtain a first recognition image, a second recognition image, and a third recognition image.

4. A method for multi-target identification and tracking fire extinguishing according to claim 3, It is characterized in that After the first-size feature image is subjected to feature fusion and channel reconstruction, ScConv convolution is performed on the first-size feature image after feature fusion and channel reconstruction to obtain a first recognition image.

5. A system for multi-target identification and tracking fire extinguishing, It is characterized in that The system is implemented by the method described in any one of claims 1 to 4; The system includes: A collection device (1), the collection device (1) is used to collect video data of a fire scene, obtain the spray range and position of a fire monitor (4), and collect jet video data of water sprayed by the fire monitor (4) at the fire scene; A fire monitor (4), wherein the fire monitor (4) is used to set spray parameters and spray water flow; A controller (3), wherein the controller (3) is connected to a fire monitor (4), and the controller (3) is connected to a collection device (1) via a pan / tilt platform (2); The controller (3) is used to perform the following operations: Send firefighting missions; S100, after receiving the video data of the fire scene, using the deep learning model to identify the fire source of the video data to obtain the location of the fire source; S200, after receiving the spraying range and the position of the fire monitor (4), the spraying position of the fire monitor (4) is determined according to the fire source position, the position of the fire monitor and the spraying range of the fire monitor (4); after the fire monitor (4) is moved to the spraying position, water is sprayed; S300, after receiving the jet video data of the water jet sprayed by the fire monitor (4) at the fire scene, using the deep learning model to perform jet recognition on the jet video data to obtain the jet route; S400, determining whether the jet route passes through the fire source location based on the jet route and the fire source location; S410: If the jet route does not pass through the fire source position, determine the position difference data between the fire source position and the jet route, and adjust the spray parameters of the fire monitor (4) according to the position difference data.

6. A system for multi-target identification and tracking fire extinguishing according to claim 5, It is characterized in that Building a deep learning model in the controller (3); The network structure of the deep learning model includes an input layer, a backbone network layer, a neck network layer and a head network layer connected in sequence; The input layer is used to preprocess the video data and jet video data of the fire scene after they are collected. The preprocessing step includes: resizing and normalizing the pixel values ​​of each frame of the video data and jet video data.

7. A system for multi-target identification and tracking fire extinguishing according to claim 6, It is characterized in that The backbone network layer includes a PatchEmbed module, a BasicStage module group, a PatchMerging module group, a first ScConv convolution module and a SPPELAN module; The BasicStage module group consists of a first BasicStage module, a second BasicStage module, a third BasicStage module and a fourth BasicStage module; The PatchMerging module group consists of a first PatchMerging module, a second PatchMerging module and a third PatchMerging module; The connection relationship is: a PatchEmbed module, a first BasicStage module, a first PatchMerging module, two second BasicStage modules, a second PatchMerging module, eight third BasicStage modules, a third PatchMerging module, two fourth BasicStage modules, a first ScConv convolution module and a SPPELAN module are connected in sequence; The input layer is connected to the PatchEmbed module.

8. A system for multi-target identification and tracking fire extinguishing according to claim 7, It is characterized in that The PatchEmbed module is used to perform patch embedding on the video image to obtain a high-dimensional feature image; Each BasicStage module in the BasicStage module group is used to perform feature conversion and mixing on the high-dimensional feature image to obtain a high-dimensional feature enhanced image; Each PatchMerging module in the PatchMerging module group is used to merge adjacent high-dimensional feature-enhanced images to obtain a reduced-dimensional feature-enhanced image; The first ScConv convolution module is used to perform ScConv convolution on the high-dimensional feature enhanced image to obtain a feature convolution image; The SPPELAN module is used to perform spatial pyramid pooling on the feature convolution image to obtain a feature image of a third size.

9. A system for multi-target identification and tracking fire extinguishing according to claim 7, It is characterized in that The neck network layer includes a RepNCSPELAN4 module group, an Upsample convolution module group, an ADown convolution module group, a Concat module group and a second ScConv convolution module; The RepNCSPELAN4 module group consists of a first RepNCSPELAN4 module, a second RepNCSPELAN4 module, a third RepNCSPELAN4 module and a fourth RepNCSPELAN4 module; The Upsample convolution module group consists of a first Upsample convolution module and a second Upsample convolution module; The ADown convolution module group consists of a first ADown convolution module and a second ADown convolution module; The Concat module group consists of a first Concat module, a second Concat module, a third Concat module, a fourth Concat module and a fifth Concat module; The connection relationship is as follows: The first Concat module, the first RepNCSPELAN4 module and the second ScConv convolution module are connected in sequence; the second BasicStage module is connected to the first Concat module, and the second ScConv convolution module is connected to the head network layer; The second Concat module, the second RepNCSPELAN4 module, the third Concat module, the fourth Concat module and the third RepNCSPELAN4 module are connected in sequence, the second RepNCSPELAN4 module is connected to the first Concat module through the first Upsample convolution module, the first RepNCSPELAN4 module is connected to the third Concat module through the first ADown convolution module; the second Concat module is connected to the second PatchMerging module, and the third RepNCSPELAN4 module is connected to the head network layer; The fifth Concat module is connected to the fourth RepNCSPELAN4 module, and the fifth Concat module is connected to the third RepNCSPELAN4 module through the second ADown convolution module; the fifth Concat module is connected to the SPPELAN module with the second Upsample convolution module, and the second Upsample convolution module is connected to the second Concat module; the fourth RepNCSPELAN4 module is connected to the head network layer.

Citation Information

Cited By

  • Fire extinguishing method and system based on laser radar and visual multi-mode perception

    CN121155075A

  • Bridge fire extinguishing method and system based on multi-field perception and trajectory prediction, and storage medium

    CN121846571A