Method and equipment for identifying damage degree of fire hose and medium
By acquiring images of the fire hose surface and correcting the temperature difference using the color-temperature mapping relationship, real-time and accurate detection of the degree of damage to thermochromic fire hoses is achieved. This solves the problem of difficulty in identifying the degree of damage in existing technologies and improves detection efficiency and safety.
Patent Information
- Application Number
- CN202510809361.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-17
- Publication Date
- 2025-10-21
- Estimated Expiration
- 2045-06-17
AI Technical Summary
Existing technologies struggle to identify the extent of damage to fire hoses in real time and accurately, especially for thermochromic fire hoses in fire applications. Traditional methods are inefficient, lack real-time performance, and cannot accurately locate the damaged area.
By acquiring images of the fire hose surface, using a preset color and temperature mapping relationship, the mapped temperature of preset feature pixels is obtained, and the actual temperature of each pixel is calculated through temperature difference correction, ultimately determining the degree of damage.
It enables real-time and accurate detection of the damage level of thermochromic fire hoses, improving the accuracy and convenience of the judgment results. It can promptly detect high-temperature danger areas, avoid problems such as hose rupture and leakage, extend the service life of hoses, and improve the safety and fire extinguishing efficiency of firefighting operations.
Smart Images

Figure CN120823152A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fire hoses, and in particular to a method, equipment and medium for identifying the damage degree of a fire hose. Background Art
[0002] Fire hoses are critical components of firefighting systems, and their integrity directly impacts firefighting and rescue effectiveness. Traditional fire hoses are often made of materials such as rubber and synthetic fibers. Over long-term use, they are susceptible to internal structural damage, such as fiber breakage and adhesive peeling, due to wear, aging, and high-temperature burns. These initial signs of damage typically manifest as a localized degradation of physical properties, but this is difficult to detect through visual inspection or touch. Failure to promptly replace hoses can lead to a sudden drop in their pressure-bearing capacity or even rupture, seriously threatening firefighting safety.
[0003] Existing methods for detecting hose damage primarily rely on periodic manual disassembly and inspection, or offline methods such as pressure testing. These methods suffer from low detection efficiency, poor real-time performance, and the inability to accurately locate damaged areas. Traditional methods are even more difficult to effectively identify hidden damage, such as aging of the internal adhesive layer. In recent years, the application of thermochromic materials in industrial inspection has gradually gained traction. Thermochromic fire hoses can intuitively display their internal temperature in real time. Therefore, how to detect the extent of damage to thermochromic fire hoses in fire scenarios is a pressing issue. Summary of the Invention
[0004] The object of the present invention is to provide a method, device and medium for identifying the damage degree of a fire hose, so as to detect the damage degree of a thermochromic fire hose in a fire application scenario.
[0005] According to a first aspect of the present invention, a method for identifying the degree of damage to a fire hose is provided, wherein the fire hose is a thermochromic fire hose, and the method comprises the following steps: S100: Acquire a surface image of a fire hose.
[0006] S200 , obtaining a mapping temperature of a preset characteristic pixel point in a surface image of the fire hose according to a preset mapping relationship between the color and temperature corresponding to the fire hose.
[0007] S300 , obtaining a correspondence between a mapped temperature and a temperature difference according to a mapped temperature and an actual temperature of a preset characteristic pixel point; the temperature difference is a difference between the actual temperature and the mapped temperature.
[0008] S400 , obtaining the actual temperature corresponding to each pixel point in the surface image of the fire hose according to the corresponding relationship between the mapped temperature and the temperature difference.
[0009] S500: Determine the damage degree of the fire hose according to the actual temperature corresponding to each pixel point in the surface image of the fire hose.
[0010] According to a second aspect of the present invention, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for identifying the degree of damage to a fire hose when executing the computer program.
[0011] According to a third aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for identifying the degree of damage to a fire hose is implemented.
[0012] The present invention has at least the following beneficial effects: The present invention obtains the mapped temperature of a preset characteristic pixel point in the fire hose surface image by pre-establishing a preset mapping relationship between the color and temperature of the fire hose. Based on the actual temperature of the mapped temperature of the preset characteristic pixel point, a corresponding relationship between the mapped temperature and the temperature difference is obtained. Based on this corresponding relationship, the mapped temperature of any pixel point in the fire hose surface image can be corrected to obtain the actual temperature of that pixel point. The actual temperature is more accurate than the mapped temperature, and judging the degree of hose damage based on the actual temperature can improve the accuracy of the judgment result. The present invention can complete damage assessment by obtaining the hose surface image, and can realize automatic detection of the degree of damage of thermochromic fire hose in fire application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0014] Figure 1 This is a flow chart of a method for identifying the degree of damage to a fire hose provided in Example 1 of the present invention; Figure 2 A schematic diagram of a thermochromic visual fire hose provided in Example 1 of the present invention; In the figure, 1 is the outer protective layer, 2 is the thermochromic coating, 3 is the reinforcement layer, and 4 is the inner lining layer. DETAILED DESCRIPTION
[0015] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.
[0016] Example 1: According to the present invention, a method for identifying the degree of damage to a fire hose is provided, wherein the fire hose is a thermochromic fire hose, such as Figure 1 As shown, the method for identifying the damage degree of a fire hose in this embodiment includes the following steps: S100: Acquire a surface image of a fire hose.
[0017] In this embodiment, the fire hose is a thermochromic fire hose, which is a fire hose whose color changes with temperature.
[0018] As a specific embodiment, an image acquisition device is used to capture the surface of a thermochromic fire hose, producing a two-dimensional image containing its color distribution. The color of the thermochromic fire hose changes with temperature, and the pixel color values in the image are mapped to the temperature of the thermochromic fire hose. Through image acquisition, physical temperature information can be converted into visually recognizable color information.
[0019] S200 , obtaining a mapping temperature of a preset characteristic pixel point in a surface image of the fire hose according to a preset mapping relationship between the color and temperature corresponding to the fire hose.
[0020] In this embodiment, the preset mapping relationship between the color and temperature corresponding to the fire hose is known, and a number of preset feature pixels are selected from the surface image of the fire hose to extract their color values, which are converted into corresponding mapping temperatures through the preset mapping relationship.
[0021] As a specific embodiment, temperature sampling points are provided on the fire hose, and preset feature pixels in the surface image are pixels corresponding to the temperature sampling points on the fire hose. Optionally, the positions of the temperature sampling points of the fire hose are known and are provided along the extension direction of the fire hose. The interval between the temperature sampling points of the fire hose is L, and the distance between any two adjacent preset feature pixels along the extension direction of the fire hose is d, where d = L / k, and k is the physical length corresponding to a unit pixel of the surface image of the fire hose. Those skilled in the art will appreciate that, given the known physical coordinates of the temperature sampling points on the fire hose, the image coordinates of the preset feature pixels can be obtained through a mapping relationship between the physical coordinates and the image pixel coordinates. The process of obtaining image coordinates based on the physical coordinates is prior art and will not be further described here.
[0022] As a specific implementation, L is obtained based on the thermal diffusivity of the fire hose, the preset response time, the thermal conductivity of the fire hose, the preset risk level coefficient, the medium flow rate and the preset gradient sensitivity coefficient, and L is positively correlated with the thermal diffusivity of the fire hose, the preset response time and the thermal conductivity of the material of the fire hose, and L is negatively correlated with the preset risk level coefficient, the medium flow rate and the preset gradient sensitivity coefficient.
[0023] As a specific implementation, the preset response time, the preset risk level coefficient, and the preset gradient sensitivity coefficient are pre-set parameters. The preset response time is the response time required by the user. The shorter the user-required response time, the smaller L is, and the temperature sampling points are set more densely to ensure that temperature changes are quickly captured. If the response time allowed by the user is longer, then L is larger, and the temperature sampling points are set more sparsely to reduce costs. The preset risk level coefficient is the risk level of the application scenario (the optional value range is [0,1]). If the preset risk level coefficient is larger, the application scenario is more dangerous, and L is smaller, and the temperature sampling points are set more densely to ensure that temperature changes are quickly captured and ensure safety. If the preset risk level coefficient is smaller, and the application scenario is less dangerous, then a relatively large L can be set to save resources. The preset gradient sensitivity coefficient is the degree of temperature gradient monitoring precision required by the user (the optional value range is [0,1]). If the preset gradient sensitivity coefficient is large and the user requires finer temperature gradient monitoring, the smaller L is, the denser the temperature sampling points are set to monitor subtle temperature gradient differences. If the preset gradient sensitivity coefficient is small and the user is not so particular about temperature gradient monitoring, a larger L can be set to save resources.
[0024] As a specific implementation, the thermal diffusivity and thermal conductivity of fire hose are determined through simulation experiments based on the materials of each layer of fire hose. The higher the thermal diffusivity, the faster the heat diffuses within the hose material; the greater the thermal conductivity, the more efficient the heat transfer. For materials with fast thermal diffusion and good thermal conductivity, the sampling interval L can be increased to avoid data redundancy caused by overcrowding of sampling points. Conversely, for materials with slow thermal diffusion and poor thermal conductivity, L can be decreased to capture local temperature anomalies and ensure the integrity of the temperature field sampling.
[0025] As a specific implementation method, the medium flow rate is an empirical value; the faster the medium flow rate in the fire hose, the more intense the heat exchange between the medium inside the fire hose and the surface, and the more frequent the temperature field fluctuations. Reducing L can track dynamic temperature changes in real time and avoid missing temperature mutations caused by fast flow rate; conversely, a slower medium flow rate in the fire hose allows L to be increased.
[0026] As a specific embodiment, a fire hose interval list is pre-established, and the fire hose's thermal diffusivity, preset response time, fire hose thermal conductivity, preset risk level coefficient, medium flow rate, and preset gradient sensitivity coefficient are matched in the fire hose interval list. The interval of successfully matched entries is determined as interval L. The fire hose interval list includes a plurality of entries, each of which includes a thermal diffusivity range, a preset response time range, a thermal conductivity range, a risk level coefficient range, a medium flow rate range, a gradient sensitivity coefficient range, and an interval. The interval corresponding to any entry in the fire hose interval list is the interval that matches the thermal diffusivity range, preset response time range, thermal conductivity range, risk level coefficient range, medium flow rate range, and gradient sensitivity coefficient range included in the entry. Optionally, the fire hose interval list is established based on empirical values and satisfies the conditions that the interval is positively correlated with the fire hose's thermal diffusivity, preset response time, and fire hose material thermal conductivity, and that the interval is negatively correlated with the preset risk level coefficient, medium flow rate, and preset gradient sensitivity coefficient. Therefore, this embodiment can determine the optimal L based on the material, application scenario and user needs of the fire hose.
[0027] S300 , obtaining a correspondence between a mapped temperature and a temperature difference according to a mapped temperature and an actual temperature of a preset characteristic pixel point; the temperature difference is a difference between the actual temperature and the mapped temperature.
[0028] As a specific embodiment, a temperature sensing fiber is used to obtain the temperature of each temperature sampling point of the fire hose, and the actual temperature of each preset feature pixel is obtained. For example, if the temperature of the first temperature sampling point of the fire hose obtained by the temperature sensing fiber is 50°C, then the actual temperature of the preset feature pixel corresponding to the first temperature sampling point of the fire hose in the image is also 50°C.
[0029] As a specific embodiment, the mapped temperature is used as the independent variable and the temperature difference is used as the dependent variable. A curve fitting is performed on the mapped temperature and the temperature difference of the preset characteristic pixel points to obtain the corresponding relationship between the mapped temperature and the temperature difference. Those skilled in the art will appreciate that the curve fitting process is a prior art and will not be further described here.
[0030] Based on S300, the functional relationship between the temperature difference and the mapped temperature can be obtained, which can correct the error in the mapped temperature caused by certain reasons (such as deviation of the preset mapping relationship in the current scene, or color distortion of the surface image of the fire hose, etc.), thereby improving the accuracy of subsequent actual temperature calculations.
[0031] S400 , obtaining the actual temperature corresponding to each pixel point in the surface image of the fire hose according to the corresponding relationship between the mapped temperature and the temperature difference.
[0032] As a specific implementation, the mapping temperature corresponding to any pixel point in the surface image of the fire hose is substituted into the corresponding relationship between the mapping temperature and the temperature difference, the temperature difference of the pixel point is obtained, and the sum of the temperature difference of the pixel point and the mapping temperature is determined as the actual temperature of the pixel point.
[0033] Based on S400, the mapped temperature of each pixel in the surface image can be corrected based on the functional relationship between the temperature difference obtained in S300 and the mapped temperature, compensating for temperature deviation caused by certain reasons, making the corrected temperature closer to the actual temperature, and providing more reliable temperature data for subsequent damage degree analysis.
[0034] S500: Determine the damage degree of the fire hose according to the actual temperature corresponding to each pixel point in the surface image of the fire hose.
[0035] As an optional specific implementation, S500 includes: S510, determining whether the actual temperature corresponding to each pixel point in the surface image of the fire hose is greater than or equal to a preset temperature threshold. If so, the corresponding pixel point is determined to be a suspected damaged pixel point; otherwise, the corresponding pixel point is determined to be an undamaged pixel point.
[0036] Optionally, the preset temperature threshold is an empirical value, for example, the preset temperature threshold is 60°C.
[0037] S520: If the number of connected domains of suspected damaged pixels is less than or equal to the preset connected domain number threshold or the area ratio of the largest connected domain of suspected damaged pixels is greater than or equal to the preset area ratio threshold, proceed to S530; otherwise, proceed to S540.
[0038] As a specific implementation method, the preset connected domain number threshold and the preset area ratio threshold are both empirical values, and the area ratio of the connected domain of the largest suspected damaged pixel point is the ratio of the area of the connected domain of the largest suspected damaged pixel point to the area of the connected domains of all suspected damaged pixels; those skilled in the art know that the process of obtaining the connected domain is an existing technology and will not be repeated here.
[0039] As a specific embodiment, if the number of connected domains of suspected damaged pixels is less than or equal to a preset connected domain threshold, or the area ratio of the largest connected domain of suspected damaged pixels is greater than or equal to a preset area ratio threshold, the damage is determined to be concentrated in a localized area, possibly due to the continuous action of a high-temperature source (such as flames) or a local defect in the hose, which may pose a risk of rupture, and the process proceeds to S530. Conversely, if the damage points are scattered, the cause may be ambient temperature fluctuations, aging, or the accumulation of multiple minor damages, and the process proceeds to S540.
[0040] S530, min(∑ n i=1w i / n,100%) is determined as the degree of damage to the fire hose, w i is the weight of the i-th suspected damaged pixel. The weight of the i-th suspected damaged pixel is the ratio of the actual temperature of the suspected damaged pixel to the preset temperature threshold. The value of i ranges from 1 to n, where n is the number of pixels in the surface image of the fire hose. min() is the minimum value.
[0041] S540: Determine the ratio of the number of suspected damaged pixels to the number of pixels in the surface image of the fire hose as the damage degree of the fire hose.
[0042] Based on S510-S540, this embodiment distinguishes damage types through connected domain analysis of suspected damaged pixels. For local damage, it often manifests as a small, highly connected domain, triggering a weighted assessment and providing early warning of high-risk points. For large-area damage, it often manifests as a large, dispersed overtemperature, triggering a quantity-to-percentage assessment and quantifying the overall failure probability. As a result, this embodiment implements switching between different assessment processes for different damage types, avoiding the limitations of a single assessment process, being more practical, and having higher security.
[0043] This embodiment uses a pre-established mapping relationship between the color and temperature of the fire hose to determine the mapped temperature of a preset characteristic pixel in the fire hose surface image. Based on the actual temperature of the mapped temperature of the preset characteristic pixel, a corresponding relationship between the mapped temperature and the temperature difference is obtained. Based on this corresponding relationship, the mapped temperature of any pixel in the fire hose surface image can be corrected to determine the actual temperature of that pixel. The actual temperature is more accurate than the mapped temperature, and determining the degree of hose damage based on this actual temperature can improve the accuracy of the judgment result. This embodiment can complete damage assessment by acquiring the hose surface image, enabling real-time and convenient detection of the degree of damage to thermochromic fire hoses in fire applications.
[0044] As a specific embodiment, Figure 2 As shown, the fire hose includes: an inner lining layer 4, which forms the hose's conduit for conveying fire-extinguishing media; a reinforcement layer 3, located outside the inner lining layer 4 and used to enhance the thermochromic visual fire hose's strength and compressive properties; a thermochromic coating 2, evenly coated on the surface of the reinforcement layer 3 and made of at least one thermochromic material capable of undergoing a reversible color change within a preset temperature range; and an outer protective layer 1, which covers the exterior of the thermochromic coating 2 and protects it; the outer protective layer 1 is made of a transparent material.
[0045] In this embodiment, the inner lining layer 4 is made of a material with good water resistance, chemical corrosion resistance and flexibility, such as polyurethane or rubber, and is used to transport the fire extinguishing medium and ensure the sealing of the inside of the water hose.
[0046] In this embodiment, the reinforcement layer 3 is woven from high-strength fiber materials, such as polyester, nylon or aramid fiber, to provide the water hose with sufficient strength and pressure resistance to prevent the water hose from rupturing under high pressure.
[0047] In this embodiment, the thermochromic coating 2 is constructed from a thermochromic material with an appropriate color change temperature range, good color change sensitivity, and stability. The formulation of the thermochromic material can be adjusted to achieve different color change temperature points and color change combinations based on different application scenarios and temperature monitoring requirements. For example, a higher color change temperature threshold can be set for high-temperature fire scenes, while a lower threshold can be set for locations with the potential for localized overheating.
[0048] Thermochromic coating 2 can also use microcapsule thermochromic powder. Thermochromic powder changes color with temperature (color change temperature range: 0-70℃), monitors the lower temperature range, and when heated, the structure of the internal material changes, resulting in a color change. When cooled, the thermochromic powder material returns to its original structure and restores its original color, which is reversible. For example, Runba WS6020 is a brightly colored purple thermochromic powder. This pigment can achieve the effect of changing from colorless to purple. When the temperature rises to a specific active temperature, it will change from colorless to purple, and when the temperature drops, the color will return to its original color. This pigment is a fine spherical powder with a thermosensitive pigment inside and an insoluble transparent coating on the outside. The thermochromic pigment is very sensitive to the external environment. The coating layer strengthens the stability and chemical resistance of the thermochromic pigment, protecting it from erosion by other chemicals, and also enhances the applicability of the product. There are many types of colors of thermochromic powder, and the temperature range of color change can also be adjusted. Different series of thermochromic pigments can be matched and combined with each other, or the proportion of thermochromic powder mixed in the thermochromic coating 2 can be adjusted to create the effect of showing different colors at different temperatures.
[0049] Sodium chromate may be incorporated into the thermochromic coating 2 and iron oxide It can warn of discoloration in higher temperature ranges, sodium chromate Above 300°C, it turns orange-red and iron oxide (It will show a distinct red color when the temperature rises to about 500°C. The reinforcement layer may contain aramid fiber and / or polyester fiber. The decomposition point of polyester fiber is 300°C and the ignition point is 390°C. Aramid fiber begins to decompose above 370°C and the ignition point of aramid fiber is 650°C. By adding sodium chromate to the thermochromic coating 2 and iron oxide The design provides different levels of warning. The primary warning: When the hose surface begins to display an orange-red color, indicating a temperature exceeding 300°C, the polyester fibers may begin to decompose and fail, leading to hose damage. Immediate action should be taken to prevent further damage. When the hose surface begins to display a distinct red color, indicating a temperature exceeding 500°C, the polyester fibers are burning and the aramid fibers are nearing combustion, indicating potential serious damage. Immediate action should be taken to prevent serious consequences. The thermochromic coating 2 has a thickness of 10-50μm and can be evenly applied to the reinforcement layer using advanced coating processes such as spraying, dipping, or roller coating. During the coating process, the coating thickness and uniformity are strictly controlled to ensure that the coating accurately reflects temperature changes across the hose. The coated hose is then cured to firmly bond the thermochromic coating to the reinforcement layer, enhancing its adhesion and durability. The curing process can be thermal curing, light curing or a combination of the two, and appropriate curing conditions are selected according to the characteristics of the coating material.
[0050] In this embodiment, the thermochromic coating 2 utilizes a thermochromic material that undergoes a reversible color change within a preset temperature range. For example, at room temperature, the coating 2 appears one color (e.g., green). When the temperature rises to a certain threshold (e.g., 40°C), the coating changes color to another color (e.g., yellow). When the temperature rises further to a higher threshold (e.g., 60°C), the coating changes color again (e.g., to red). This color change allows firefighters to intuitively determine the temperature range of different parts of the fire hose, promptly identifying high-temperature hazardous areas and preventing problems such as ruptures and leaks caused by overheating.
[0051] In this embodiment, the outer protective layer 1 is made of wear-resistant, high-temperature resistant and aging-resistant materials, such as polyvinyl chloride, fluororubber or ceramic coating, which is used to protect the thermochromic coating from wear, chemical corrosion and high temperature in the external environment, thereby extending the service life of the water hose.
[0052] This embodiment applies the characteristics of thermochromic materials (temperature-sensitive color changes) to fire hoses, and sets the outer protective layer 1 to be transparent, which is conducive to real-time and intuitive temperature monitoring: through the color change of the thermochromic coating 2, firefighters can understand the temperature conditions of various parts of the fire hose in real time and intuitively without the aid of any additional equipment, promptly discover high-temperature dangerous areas, avoid problems such as rupture and leakage caused by overheating of the fire hose, and improve the safety of firefighting operations; it is conducive to assisting firefighting decision-making: based on the temperature display of different parts of the fire hose, firefighters can more accurately judge the direction of fire spread and the location of the heat source at the fire scene, so as to formulate more reasonable fire-fighting strategies and improve fire-fighting efficiency; it is conducive to improving the durability of the fire hose: since the high temperature problem of the fire hose can be discovered and dealt with in a timely manner, the damage caused by overheating of the fire hose is reduced, the service life of the fire hose is extended, and the firefighting cost is reduced.
[0053] Moreover, in this embodiment, the thermochromic coating 2 is applied to the surface of the reinforcement layer, between the inner lining layer 4 and the outer protective layer 1. This position is relatively stable, which allows the color change to be observed through the transparent outer protective layer 1, while preventing the coating from directly contacting the fire extinguishing medium or being directly exposed to the external environment. This effectively protects the thermochromic coating 2, improves the stability and reliability of the thermochromic coating 2, and increases the service life of the fire hose.
[0054] The thermochromic visual fire hose provided in this embodiment, through the color change of the thermochromic coating, allows firefighters to understand the temperature conditions of various parts of the fire hose in real time and intuitively without the aid of any additional equipment, promptly identify high-temperature dangerous areas, avoid problems such as rupture and leakage caused by overheating of the hose, and improve the safety of firefighting operations. Based on the temperature display of different parts of the hose, firefighters can more accurately judge the direction of fire spread and the location of the heat source at the fire scene, thereby formulating more scientific and reasonable firefighting strategies and improving firefighting efficiency. Since the high temperature problem of the hose can be discovered and dealt with in a timely manner, the damage caused by overheating of the hose is reduced, the service life of the hose is extended, and the cost of firefighting is reduced. This thermochromic visual fire hose does not require complicated installation and maintenance procedures, and firefighters can operate it as easily as using an ordinary fire hose.
[0055] As a specific embodiment, a temperature sensing fiber is embedded in the reinforcement layer and is used to measure temperature at intervals. Alternatively, the temperature sensing fibers are used to measure temperature at even intervals, with the interval being L. Thus, this embodiment utilizes distributed fiber optic sensing technology while maintaining the original thermochromic function of the fire hose and adding fiber optic temperature measurement, providing more accurate and quantifiable temperature data.
[0056] Example 2: This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are performed: Get a surface image of the fire hose.
[0057] The mapping temperature of a preset feature pixel point in the surface image of the fire hose is obtained according to a preset mapping relationship between the color and temperature corresponding to the fire hose.
[0058] The corresponding relationship between the mapped temperature and the temperature difference is obtained according to the mapped temperature and the actual temperature of the preset characteristic pixel point; the temperature difference is the difference between the actual temperature and the mapped temperature.
[0059] The actual temperature corresponding to each pixel in the surface image of the fire hose is obtained according to the corresponding relationship between the mapped temperature and the temperature difference.
[0060] The damage degree of the fire hose is determined according to the actual temperature corresponding to each pixel in the surface image of the fire hose.
[0061] Example 3: This embodiment provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the following steps are implemented: Get a surface image of the fire hose.
[0062] The mapping temperature of a preset feature pixel point in the surface image of the fire hose is obtained according to a preset mapping relationship between the color and temperature corresponding to the fire hose.
[0063] The corresponding relationship between the mapped temperature and the temperature difference is obtained according to the mapped temperature and the actual temperature of the preset characteristic pixel point; the temperature difference is the difference between the actual temperature and the mapped temperature.
[0064] The actual temperature corresponding to each pixel in the surface image of the fire hose is obtained according to the corresponding relationship between the mapped temperature and the temperature difference.
[0065] The damage degree of the fire hose is determined according to the actual temperature corresponding to each pixel in the surface image of the fire hose.
[0066] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0067] Although some specific embodiments of the present invention have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present invention. It should also be understood by those skilled in the art that various modifications may be made to the embodiments without departing from the scope and spirit of the present invention. The scope of the present invention is defined by the appended claims.
Claims
1. A method for identifying the degree of damage to a fire hose, characterized in that: The fire hose is a thermochromic fire hose, and the method comprises the following steps: S100, acquiring a surface image of a fire hose; S200, obtaining a mapping temperature of a preset characteristic pixel point in a surface image of the fire hose according to a preset mapping relationship between the color and temperature corresponding to the fire hose; S300, obtaining a correspondence between a mapped temperature and a temperature difference according to a mapped temperature and an actual temperature of a preset characteristic pixel point; the temperature difference being the difference between the actual temperature and the mapped temperature; S400, obtaining the actual temperature corresponding to each pixel point in the surface image of the fire hose according to the corresponding relationship between the mapped temperature and the temperature difference; S500: Determine the damage degree of the fire hose according to the actual temperature corresponding to each pixel point in the surface image of the fire hose.
2. The method for identifying the damage degree of a fire hose according to claim 1, characterized in that: S500 includes: S510, determining whether the actual temperature corresponding to each pixel in the surface image of the fire hose is greater than or equal to a preset temperature threshold; if so, determining the corresponding pixel as a suspected damaged pixel; otherwise, determining the corresponding pixel as a non-damaged pixel; At step S520 , if the number of connected domains of suspected damaged pixels is less than or equal to a preset connected domain number threshold or the area ratio of the largest connected domain of suspected damaged pixels is greater than or equal to a preset area ratio threshold, then the process proceeds to step S530 ; otherwise, the process proceeds to step S540 ; S530, min(∑ n i=1 w i / n,100%) is determined as the degree of damage to the fire hose, w i is the weight of the i-th suspected damaged pixel. The weight of the i-th suspected damaged pixel is the ratio of the actual temperature of the suspected damaged pixel to the preset temperature threshold. The value of i ranges from 1 to n, where n is the number of pixels in the surface image of the fire hose. min() is the minimum value. S540: Determine the ratio of the number of suspected damaged pixels to the number of pixels in the surface image of the fire hose as the damage degree of the fire hose.
3. The method for identifying the damage degree of a fire hose according to claim 1, characterized in that: The distance between any two adjacent preset feature pixels along the extension direction of the fire hose is d, d=L / k, L is the preset temperature sampling point interval of the fire hose, and k is the physical length corresponding to a unit pixel of the surface image of the fire hose.
4. The method for identifying the damage degree of a fire hose according to claim 3, characterized in that: L is obtained based on the thermal diffusivity of the fire hose, the preset response time, the thermal conductivity of the fire hose, the preset risk level coefficient, the medium flow rate and the preset gradient sensitivity coefficient. L is positively correlated with the thermal diffusivity of the fire hose, the preset response time and the material thermal conductivity of the fire hose, and L is negatively correlated with the preset risk level coefficient, the medium flow rate and the preset gradient sensitivity coefficient.
5. The method for identifying the damage degree of a fire hose according to claim 1, characterized in that: S300 includes: taking the mapped temperature as an independent variable and the temperature difference as a dependent variable, performing curve fitting on the mapped temperature and the temperature difference of the preset characteristic pixel points, and obtaining a corresponding relationship between the mapped temperature and the temperature difference.
6. The method for identifying the damage degree of a fire hose according to claim 1, characterized in that: S400 includes: substituting the mapping temperature corresponding to any pixel point in the surface image of the fire hose into the corresponding relationship between the mapping temperature and the temperature difference, obtaining the temperature difference of the pixel point, and determining the sum of the temperature difference of the pixel point and the mapping temperature as the actual temperature of the pixel point.
7. The method for identifying the damage degree of a fire hose according to claim 1, characterized in that: The fire hose comprises: an inner lining layer (4), the inner lining layer (4) forming a pipe of the hose for conveying a fire extinguishing medium; a reinforcing layer (3), the reinforcing layer (3) being located outside the inner lining layer (4) and being used to improve the strength and compressive resistance of the thermochromic visual fire hose; a thermochromic coating (2), the thermochromic coating (2) being uniformly coated on the surface of the reinforcing layer (3), and being made of at least one thermochromic material, wherein the thermochromic material is capable of undergoing a reversible color change within a preset temperature range; an outer protective layer (1), the outer protective layer (1) covering the outside of the thermochromic coating (2) and being used to protect the thermochromic coating (2); the outer protective layer (1) being made of a transparent material.
8. The method for identifying the damage degree of a fire hose according to claim 7, characterized in that: A temperature sensing optical fiber is embedded in the reinforcement layer (3), and the temperature sensing optical fiber is used to realize interval temperature measurement.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for identifying the damage degree of a fire hose according to any one of claims 1 to 8 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for identifying the damage degree of a fire hose according to any one of claims 1 to 8 is implemented.
Citation Information
Patent Citations
Image processing apparatus, color processing method, a printer apparatus and a method of generating a table for correcting a colorimetric value
CN101713942A
Wireless monitoring method for high-temperature point of goaf
CN108521625A
Cable detection device based on cable coating thermochromic and detection method thereof
CN111426406A
Fire detection method and system combining image processing technology and infrared sensor
CN111739250A
Power device temperature measurement method and device, computer device and storage medium
CN113483896A