Water leakage detection method and device
By using thermal infrared images and temperature matrix in water leakage detection, finding areas and points with regular temperature variation patterns, the problem of high false alarms for water leakage detection in the prior art is solved, and higher detection accuracy is achieved.
Patent Information
- Application Number
- CN202510052638.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-05-06
AI Technical Summary
The existing leak detection methods based on infrared thermal imaging are prone to high false alarms in complex and changing application scenarios, making it difficult to effectively distinguish the leaking areas.
By obtaining thermal infrared images and building a temperature matrix, find areas where the temperature gradually increases or decreases from the center to the edge, determine these areas as low or high temperature leak areas, and further find the lowest or highest temperature point to determine the leak point.
It improves the accuracy of leak detection, reduces false alarms, and can more effectively identify leak areas and leak points.
Smart Images

Figure CN119935432A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of image processing, and in particular to a water leakage detection method and device. Background Art
[0002] Infrared thermal imaging technology uses a detector array to receive infrared signals in a specific band radiated by an object, and converts the infrared signals into thermal infrared images that can be distinguished by human vision. In a thermal infrared image, the size of the pixel value directly reflects the temperature of the object: the higher the temperature of the object, the brighter it appears in the thermal image. The grayscale data of each pixel in the thermal infrared image can be converted into temperature data through grayscale-temperature conversion. The length and width of the temperature matrix are equal to the length and width of the thermal infrared image, respectively. Infrared thermal imaging technology is widely used in water leak detection.
[0003] The basic steps of the existing water leakage detection method based on infrared thermal imaging are: first, use infrared thermal imaging equipment to collect thermal infrared images, and then process the image data. The processing methods include gradient calculation, filtering, binarization, open operation, etc. All suspected water leakage areas in the image (usually areas with temperature differences from the environment) are highlighted through the above processing, and then some rules (such as upper and lower limits of contour area, etc.) are set to screen the suspected water leakage areas, and based on this, it is judged whether there are water leakage areas in the current collected image. However, in actual application scenarios, there are many objects with temperature differences from the environment, not just water leakage areas, and simple screening rules are not enough to distinguish water leakage areas. The complex and changeable application scenarios bring a high degree of false alarms to the existing water leakage detection methods based on infrared thermal imaging. Summary of the invention
[0004] The embodiments of the present invention provide a water leakage detection method and device to improve the accuracy of water leakage detection.
[0005] The technical solution of the embodiment of the present invention is achieved as follows: A water leakage detection method, the method comprising: Acquire a thermal infrared image of the scene to be detected; Obtaining a corresponding temperature matrix according to the thermal infrared image, wherein each temperature data in the temperature matrix corresponds to the temperature of a pixel point in the thermal infrared image; The temperature matrix is used to search in the scene to be detected: an area where the temperature gradually increases from the center to the edge. If found, the area is determined to be a low-temperature water leakage area; or, the temperature matrix is used to search in the scene to be detected: an area where the temperature gradually decreases from the center to the edge. If found, the area is determined to be a high-temperature water leakage area.
[0006] After the area is determined to be a low-temperature water leakage area, the method further includes: finding the lowest temperature point in the low-temperature water leakage area, and determining the lowest temperature point as a low-temperature water leakage point; Alternatively, after determining that the area is a high-temperature water leakage area, the method further includes: finding a point with the highest temperature in the high-temperature water leakage area, and determining the point with the highest temperature as a high-temperature water leakage point.
[0007] After obtaining the corresponding temperature matrix according to the thermal infrared image and before searching the scene to be detected through the temperature matrix for an area where the temperature gradually increases from the center to the edge, or before searching the scene to be detected through the temperature matrix for an area where the temperature gradually decreases from the center to the edge, the method further includes: The highest temperature and the lowest temperature are found in the temperature matrix, the difference between the highest temperature and the lowest temperature is calculated, and it is determined whether the difference is greater than a preset first threshold value. If so, it is determined that there may be a water leakage in the scene to be detected, and the action of searching in the scene to be detected through the temperature matrix: an area where the temperature gradually increases from the center to the edge, or searching in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge is performed.
[0008] After obtaining the corresponding temperature matrix according to the thermal infrared image and before searching the scene to be detected through the temperature matrix for an area where the temperature gradually increases from the center to the edge, or before searching the scene to be detected through the temperature matrix for an area where the temperature gradually decreases from the center to the edge, the method further includes: Calculate the average temperature of the temperature matrix, and search for the highest temperature and the lowest temperature in the temperature matrix. If the difference between the average temperature and the lowest temperature is greater than the difference between the highest temperature and the average temperature, it is determined that there is a low-temperature water leakage phenomenon in the scene to be detected, and perform the action of searching in the scene to be detected through the temperature matrix: an area where the temperature gradually increases from the center to the edge; If the difference between the highest temperature and the average temperature is greater than the difference between the average temperature and the lowest temperature, it is determined that there is a high-temperature water leakage phenomenon in the scene to be detected, and the action of searching in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge is performed.
[0009] After obtaining the corresponding temperature matrix according to the thermal infrared image and before calculating the average temperature of the temperature matrix, the method further includes: Eliminate temperatures less than a preset second threshold and greater than a preset third threshold from the temperature matrix to obtain an updated temperature matrix; or / and, calculate the proportion of each temperature in the temperature matrix according to the temperature matrix, and eliminate temperatures whose proportion is lower than a preset fourth threshold from the temperature matrix to obtain an updated temperature matrix; Furthermore, calculating the average value of the temperature matrix and finding the highest temperature and the lowest temperature in the temperature matrix include: Calculate the average of the updated temperature matrix and find the maximum and minimum temperatures in the updated temperature matrix.
[0010] The temperature matrix is used to search in the scene to be detected: an area where the temperature gradually increases from the center to the edge, including: The lowest temperature of the temperature matrix is used as the lower temperature limit of the low-temperature water leakage area segmentation; the upper temperature limit of the low-temperature water leakage area segmentation is calculated according to the lowest temperature and the average temperature of the temperature matrix; the connected area whose temperature is between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation is found in the thermal infrared image, and the connected area is used as the low-temperature water leakage area; Alternatively, the method searches in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge, including: taking the highest temperature of the temperature matrix as the upper temperature limit for segmenting the high-temperature water leakage area; calculating the lower temperature limit for segmenting the high-temperature water leakage area according to the highest temperature and the average temperature of the temperature matrix; searching in the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit for segmenting the high-temperature water leakage area, and taking the connected area as the high-temperature water leakage area.
[0011] After searching the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation and before using the connected area as the low-temperature water leakage area, the method further includes: For any connected region found, determine whether the area of the connected region is greater than the fifth threshold and less than the sixth threshold, and if so, perform the action of treating the connected region as a low-temperature water leakage region; Alternatively, after searching the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area segmentation and before using the connected area as the high-temperature water leakage area, the method further comprises: For any connected region found, it is determined whether the area of the connected region is greater than the seventh threshold and less than the eighth threshold. If so, the action of treating the connected region as a high-temperature water leakage region is performed.
[0012] After searching the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation and before using the connected area as the low-temperature water leakage area, the method further includes: According to a preset segmentation level, the temperature between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area is divided into a plurality of temperature levels equal to the segmentation level; for each connected area found, a sub-area corresponding to each temperature level is searched in the connected area, and if the area of any sub-area is smaller than the preset ninth threshold, the sub-area is considered to be a noise point, and it is determined whether the number of non-noise sub-areas contained in the connected area is greater than the preset tenth threshold, and if so, the action of treating the connected area as a low-temperature water leakage area is performed; Alternatively, after searching the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area segmentation and before using the connected area as the high-temperature water leakage area, the method further comprises: According to the preset segmentation level, the temperature between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area is divided into multiple temperature levels equal to the segmentation level; for any connected area found, the sub-area corresponding to each temperature level is searched in the connected area, and if the area of any sub-area is smaller than the preset eleventh threshold, the sub-area is considered to be a noise point, and it is determined whether the number of non-noise sub-areas contained in the connected area is greater than the preset twelfth threshold. If so, the action of treating the connected area as a high-temperature water leakage area is executed.
[0013] A water leakage detection device, comprising: A temperature data acquisition module acquires a thermal infrared image of the scene to be detected, and obtains a corresponding temperature matrix according to the thermal infrared image, wherein each temperature data in the temperature matrix corresponds to the temperature of a pixel in the thermal infrared image; The detection module searches in the scene to be detected through the temperature matrix: an area where the temperature gradually increases from the center to the edge. If found, the area is determined to be a low-temperature water leakage area; or searches in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge. If found, the area is determined to be a high-temperature water leakage area.
[0014] A non-transitory computer-readable storage medium stores instructions, which, when executed by a processor, cause the processor to perform any of the above-mentioned water leakage detection methods.
[0015] In the above embodiment, after obtaining the temperature matrix according to the thermal infrared image of the scene to be detected, the temperature matrix is used to search in the scene to be detected: an area where the temperature gradually increases from the center to the edge, and if found, the area is determined to be a low-temperature water leakage area; or, the temperature matrix is used to search in the scene to be detected: an area where the temperature gradually decreases from the center to the edge, and if found, the area is determined to be a high-temperature water leakage area, so that the low-temperature water leakage area or the high-temperature water leakage area can be detected according to the temperature change law inside the low-temperature water leakage area or the high-temperature water leakage area, thereby improving the accuracy of water leakage detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0017] Figure 1 A flow chart of a water leakage detection method provided by an embodiment of the present invention; Figure 2 An example of a thermal infrared image and a visible light image of a scene with a low-temperature water leak; Figure 3 A schematic diagram of the proportions of each temperature after removing the temperatures less than the second threshold and greater than the third threshold in the temperature matrix corresponding to FIG. 21 , and removing the temperatures with a proportion lower than the fourth threshold; Figure 4 It is a schematic diagram of performing temperature segmentation on the two connected areas detected in FIG21 and drawing them on FIG22; Figure 5 A schematic diagram of performing temperature segmentation on two connected areas detected in a thermal infrared image of another scene where a low-temperature water leakage phenomenon may exist and drawing them onto a visible light image of the scene; Figure 6 For Figure 4 The schematic diagram of the locations of the two low-temperature water leakage points finally detected; Figure 7 A flow chart of a water leakage detection method provided by another embodiment of the present invention; Figure 8 A schematic structural diagram of a water leakage detection device provided in one embodiment of the present invention. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0019] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0020] Figure 1 Flow chart of a water leakage detection method provided by an embodiment of the present invention. Figure 1 As shown, the specific steps are as follows: Step 101: Acquire a thermal infrared image of a scene to be detected.
[0021] Step 102: Obtain a corresponding temperature matrix according to the thermal infrared image, wherein each temperature data in the temperature matrix corresponds to the temperature of a pixel point in the thermal infrared image.
[0022] Step 103: Search in the scene to be detected through the temperature matrix: an area where the temperature gradually increases from the center to the edge. If found, the area is determined to be a low-temperature water leakage area; or, search in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge. If found, the area is determined to be a high-temperature water leakage area.
[0023] The inventor has observed that: whether it is low-temperature leakage or high-temperature leakage, there is a temperature diffusion phenomenon, but the temperature change rules of the two are different during the temperature diffusion process. For low-temperature leakage, water seeps from the leakage point to the surrounding area, and the water storage and evaporation per unit area in the leakage area gradually decrease from the leakage point to the surrounding area. Evaporation absorbs heat, so the temperature of the leakage area increases from the leakage point to the surrounding area, which is a temperature diffusion phenomenon; for high-temperature leakage, heat is continuously dissipated to the surrounding area, so the temperature of the leakage area decreases from the leakage point to the surrounding area, which is also a temperature diffusion phenomenon. It can be seen that for the low-temperature leakage area, the temperature gradually increases from the center of the leakage area (i.e. the leakage point) to the edge; for the high-temperature leakage area, the temperature gradually decreases from the center of the leakage area (i.e. the leakage point) to the edge.
[0024] In the above embodiment, after obtaining the temperature matrix according to the thermal infrared image of the scene to be detected, the temperature matrix is used to search in the scene to be detected: an area where the temperature gradually increases from the center to the edge, and if found, the area is determined to be a low-temperature water leakage area; or, the temperature matrix is used to search in the scene to be detected: an area where the temperature gradually decreases from the center to the edge, and if found, the area is determined to be a high-temperature water leakage area, so that the low-temperature water leakage area or the high-temperature water leakage area can be detected according to the temperature change law inside the low-temperature water leakage area or the high-temperature water leakage area, thereby improving the accuracy of water leakage detection.
[0025] Since the temperature of the low-temperature leaking area gradually increases from the leaking point to the edge, the temperature of the leaking point is the lowest, while the temperature of the high-temperature leaking area gradually decreases from the leaking point to the edge, so the temperature of the leaking point is the highest. Therefore, the following solution is given to determine the low-temperature leaking point and the high-temperature leaking point: In an optional embodiment, after determining that the area is a low-temperature water leakage area in step 103, further comprising: finding the lowest temperature point in the low-temperature water leakage area, and determining the lowest temperature point as the low-temperature water leakage point; or, after determining that the area is a high-temperature water leakage area, further comprising: finding the highest temperature point in the high-temperature water leakage area, and determining the highest temperature point as the high-temperature water leakage point.
[0026] When a water leak occurs, if it is a low-temperature leak, the temperature of the leaking area will be lower than that of other areas; if it is a high-temperature leak, the temperature of the leaking area will be higher than that of other areas. That is, whether it is a low-temperature leak or a high-temperature leak, the difference between the highest and lowest temperatures of the scene to be detected will increase. Therefore, the following solution is given to initially detect whether there may be a water leak in the scene to be detected: In an optional embodiment, after step 102 and before step 103, further comprising: searching for the highest temperature and the lowest temperature in the temperature matrix, calculating the difference between the highest temperature and the lowest temperature, and determining whether the difference is greater than a preset first threshold value, if so, determining that there may be a water leakage phenomenon in the scene to be detected, and executing step 103; otherwise, determining that there is no water leakage phenomenon in the scene to be detected, and terminating this process. The value of the first threshold value can be set based on experience, etc.
[0027] Similarly, when a water leak occurs, if it is a low-temperature leak, the temperature of the leaking area will be lower than that of other areas, and the area of the low-temperature leaking area is usually small, so the difference between the average temperature and the lowest temperature will be larger; when it is a high-temperature leak, the temperature of the leaking area will be higher than that of other areas, so the difference between the average temperature and the highest temperature will be larger. Therefore, the following solution is given to detect whether the scene to be detected has a low-temperature leak or a high-temperature leak: In an optional embodiment, after step 102 and before step 103, it further includes: calculating the average temperature of the temperature matrix, and searching for the highest temperature and the lowest temperature in the temperature matrix; if the difference between the average temperature and the lowest temperature is greater than the difference between the highest temperature and the average temperature, it is determined that there is a low-temperature water leakage phenomenon in the scene to be detected, and the action of "searching in the scene to be detected through the temperature matrix: the area where the temperature gradually increases from the center to the edge" in step 103 is executed; if the difference between the highest temperature and the average temperature is greater than the difference between the average temperature and the lowest temperature, it is determined that there is a high-temperature water leakage phenomenon in the scene to be detected, and the action of "searching in the scene to be detected through the temperature matrix: the area where the temperature gradually decreases from the center to the edge" in step 103 is executed.
[0028] Considering that there may be some noise points in the scene to be detected, which may cause the temperature of some points to be abnormally high or abnormally low. In order to eliminate these noise points, the following solutions are given: In an optional embodiment, after step 102 and before calculating the average temperature of the temperature matrix, the method further includes: removing temperatures less than a preset second threshold and greater than a preset third threshold from the temperature matrix to obtain an updated temperature matrix; or / and, calculating the proportion of each temperature in the temperature matrix according to the temperature matrix, removing temperatures whose proportion is lower than a preset fourth threshold from the temperature matrix to obtain an updated temperature matrix; wherein the values of the second to fourth thresholds may be set based on experience, etc.; the second threshold is usually consistent with the lower limit of the temperature measurement of the infrared thermal imaging device used, and the third threshold is usually set based on the maximum water temperature, and the third threshold is usually 100°C (degrees Celsius). The second and third thresholds are set to exclude ultra-high temperature or ultra-low temperature areas in the scene to be detected, such as a gas stove used in a kitchen scene (the temperature can reach several hundred degrees), etc.; Furthermore, calculating the average value of the temperature matrix and searching for the highest temperature and the lowest temperature in the temperature matrix includes: calculating the average value of the updated temperature matrix and searching for the highest temperature and the lowest temperature in the updated temperature matrix.
[0029] Figure 2 The following are examples of thermal infrared images and visible light images of a scene with low-temperature water leakage. 21 is a thermal infrared image and 22 is a visible light image. As can be seen from Figure 21, the average temperature of the entire image is high while the temperature of the water leakage area is low.
[0030] Figure 3 The figure is a schematic diagram of the proportion of each temperature after removing the temperatures less than the second threshold and greater than the third threshold in the temperature matrix corresponding to FIG21, and removing the temperatures with a proportion lower than the fourth threshold, wherein the horizontal axis is the temperature in °C, and the vertical axis is the temperature proportion. Figure 3 It can be clearly seen that the difference between the average temperature and the lowest temperature is greater than the difference between the highest temperature and the average temperature, which means that there is obviously a low-temperature water leakage phenomenon.
[0031] In an optional embodiment, in step 103, the temperature matrix is used to search in the scene to be detected: an area where the temperature gradually increases from the center to the edge, including: taking the lowest temperature of the temperature matrix as the lower temperature limit for segmenting the low-temperature water leakage area; calculating the upper temperature limit for segmenting the low-temperature water leakage area according to the lowest temperature and the average temperature of the temperature matrix; and searching in the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit for segmenting the low-temperature water leakage area, and taking the connected area as the low-temperature water leakage area.
[0032] In practical applications, the lowest temperature of the temperature matrix is used as the lower limit of the temperature for segmenting the low-temperature water leakage area. Specifically, the lowest temperature of the updated temperature matrix is used as the lower limit of the temperature for segmenting the low-temperature water leakage area. The updated temperature matrix is the temperature matrix mentioned above, which excludes temperatures less than the second threshold, greater than the third threshold, and with a proportion less than the preset fourth threshold.
[0033] In practical applications, the lower limit of the temperature for dividing the low-temperature leakage area is T l_l and upper temperature limit T l_h They can be expressed as follows: T l_l = T min ; T l_h = T min + σ ( T ave - T min ) in, T min is the minimum temperature of the updated temperature matrix, T ave is the average temperature of the updated temperature matrix, σ is a preset constant, generally, 0.5≤ σ <1.
[0034] Considering that there may be some noise points in the thermal infrared image that are obviously not leaking areas and whose area is too large or too small, and the temperature of these noise points also satisfies: being between the lower and upper temperature limits of the low-temperature leaking area segmentation, in order to eliminate these noise points, the following solutions are given: In an optional embodiment, after searching for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation in the thermal infrared image and before treating the connected area as a low-temperature water leakage area, further comprising: for any connected area found, determining whether the area of the connected area is greater than the fifth threshold and less than the sixth threshold, if so, executing the action of treating the connected area as a low-temperature water leakage area; otherwise, determining that the connected area is a noise point and does not participate in the subsequent process. The values of the fifth threshold and the sixth threshold can be set based on experience, etc.
[0035] Considering that the temperature of the low-temperature water leakage area gradually increases from the center to the edge, that is, the temperature change is continuous, the low-temperature water leakage area can be further confirmed according to the temperature change, as follows: In an optional embodiment, after searching for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation in the thermal infrared image and before treating the connected area as a low-temperature water leakage area, the method further includes: dividing the temperature between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation into a plurality of temperature levels equal to the segmentation level according to a preset segmentation level; for each connected area found, searching for a sub-area corresponding to each temperature level in the connected area, and if the area of any sub-area is less than the preset ninth threshold, the sub-area is considered to be a noise point, and judging whether the number of non-noise sub-areas contained in the connected area is greater than the preset tenth threshold, if so, executing the action of treating the connected area as a low-temperature water leakage area, otherwise, the connected area is considered not to be a low-temperature water leakage area. Among them, the values of the ninth threshold and the tenth threshold can be set according to experience, etc.
[0036] In practical applications, the temperature levels of low-temperature water leakage areas can be divided as follows:
[0037] in, Tl_i For low temperature water leakage area i The upper limit of the temperature level is also the temperature of the low temperature leakage area. i+ The lower limit of temperature for 1 temperature level; T l_l , T l_h are the lower and upper temperature limits of the low-temperature water leakage area. C l_num is the division level of the low-temperature water leakage area, 1≤ i ≤ C l_num .
[0038] Figure 4 The figure is a schematic diagram of temperature segmentation of the two connected areas detected in Figure 21 and plotting them on Figure 22, where each color corresponds to a temperature level. It can be seen that there are a large number of red noise points with too small an area in the connected area on the right. After excluding these red noise points, the connected area on the right contains 5 non-noise sub-areas, that is, 5 temperature levels; the connected area on the left contains 6 non-noise sub-areas, that is, 6 temperature levels. If the value of the tenth threshold is 4, both the left and right connected areas will be identified as low-temperature water leakage areas.
[0039] Figure 5 This is a schematic diagram of temperature segmentation of two connected areas detected in a thermal infrared image of another scene where low-temperature water leakage may exist and drawing them on the visible light image of the scene, where each color corresponds to a temperature level. It can be seen that the connected area on the left has only two temperature levels, so if the value of the tenth threshold is 4, the connected area on the left will not be identified as a low-temperature water leakage area.
[0040] Figure 6 For Figure 4 The location diagram of the two low-temperature water leakage points finally detected in the figure is shown in the figure. Figure 6 A red text prompt is given: suspected abnormality.
[0041] In an optional embodiment, in step 103, the temperature matrix is used to search in the scene to be detected: an area where the temperature gradually decreases from the center to the edge, including: taking the highest temperature of the temperature matrix as the upper temperature limit for segmenting the high-temperature water leakage area; calculating the lower temperature limit for segmenting the high-temperature water leakage area based on the highest temperature and average temperature of the temperature matrix; and searching in the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit for segmenting the high-temperature water leakage area, and taking the connected area as the high-temperature water leakage area.
[0042] In practical applications, the highest temperature of the temperature matrix is used as the upper temperature limit for segmenting the high-temperature water leakage area. Specifically, the highest temperature of the updated temperature matrix is used as the upper temperature limit for segmenting the high-temperature water leakage area. The updated temperature matrix is the temperature matrix mentioned above, which excludes temperatures less than the second threshold, greater than the third threshold, and with a proportion less than the preset fourth threshold.
[0043] In practical applications, the upper temperature limit of the high temperature leakage area segmentation T h_h and temperature lower limit T h_l They can be expressed as follows: T h_h = T max ; T h_l = T max - σ ( T max - T ave ) in, T max is the highest temperature of the updated temperature matrix, T ave is the average temperature of the updated temperature matrix, σ is a preset constant, generally, 0.5≤ σ <1.
[0044] Considering that there may be some noise points in the thermal infrared image that are obviously not leaking areas and whose area is too large or too small, and the temperature of these noise points also satisfies: being between the lower and upper temperature limits of the high-temperature leaking area segmentation, in order to eliminate these noise points, the following solutions are given: In an optional embodiment, after searching for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area segmentation in the thermal infrared image and before treating the connected area as a high-temperature water leakage area, further comprising: for any connected area found, judging whether the area of the connected area is greater than the seventh threshold and less than the eighth threshold, if so, executing the action of treating the connected area as a high-temperature water leakage area; otherwise, considering the connected area as a noise point and not participating in the subsequent process. The values of the seventh threshold and the eighth threshold can be set based on experience, etc.
[0045] Considering that the temperature of the high-temperature water leakage area gradually decreases from the center to the edge, that is, the temperature change is continuous, the high-temperature water leakage area can be further confirmed according to the temperature change, as follows: In an optional embodiment, after searching for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area segmentation in the thermal infrared image and before treating the connected area as the high-temperature water leakage area, the method further includes: dividing the temperature between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area segmentation into a plurality of temperature levels equal to the segmentation level according to a preset segmentation level; for any connected area found, searching for a sub-area corresponding to each temperature level in the connected area, and if the area of any sub-area is less than the preset eleventh threshold, the sub-area is considered to be a noise point, and judging whether the number of non-noise sub-areas contained in the connected area is greater than the preset twelfth threshold, if so, executing the action of treating the connected area as the high-temperature water leakage area; otherwise, the connected area is considered not to be the high-temperature water leakage area. The values of the eleventh threshold and the twelfth threshold can be set based on experience, etc.
[0046] In practical applications, the temperature levels of high-temperature water leakage areas can be divided as follows:
[0047] in, T h_i For high temperature water leakage area i The upper limit of the temperature level is also the temperature of the high temperature leakage area. i+ The lower limit of temperature for 1 temperature level; T h_l , T h_h are the lower and upper temperature limits of the high-temperature water leakage area. C h_num is the division level of the high temperature water leakage area, 1≤ i ≤ C l_num .
[0048] Figure 7 A flow chart of a water leakage detection method provided by another embodiment of the present invention. Figure 7 As shown, the specific steps are as follows: Step 701: Acquire a thermal infrared image of a scene to be detected.
[0049] Step 702: Obtain a corresponding temperature matrix according to the thermal infrared image, wherein each temperature data in the temperature matrix corresponds to the temperature of a pixel point in the thermal infrared image.
[0050] Step 703: Find the highest temperature and the lowest temperature in the temperature matrix, calculate the difference between the highest temperature and the lowest temperature, and determine whether the difference is greater than a preset first threshold. If so, determine that there may be water leakage in the scene to be detected, and execute step 704.
[0051] If the difference is less than or equal to the preset first threshold, it is determined that there is no water leakage in the scene to be detected, and the process ends.
[0052] Generally, there is a temperature difference of 2-3°C or more between the leaking area and the surrounding area, and the value of the first threshold can be set accordingly.
[0053] Step 704: remove temperatures less than the preset second threshold and greater than the preset third threshold from the temperature matrix, calculate the proportion of each temperature in the temperature matrix, remove temperatures whose proportion is less than the preset fourth threshold, and obtain an updated temperature matrix.
[0054] Step 705: Calculate the average temperature of the updated temperature matrix, and search for the maximum temperature and the minimum temperature in the updated temperature matrix.
[0055] Step 706: Determine whether the following condition is satisfied: the difference between the average temperature and the minimum temperature is greater than the difference between the maximum temperature and the average temperature. If so, determine that there is a low-temperature water leakage phenomenon in the scene to be detected, and go to step 708; otherwise, execute step 707.
[0056] Low-temperature water leakage is generally caused by damaged normal temperature or cold water pipes, or rainwater leakage, and often occurs in kitchens, ceilings or damaged parts of buildings.
[0057] Step 707: Determine whether the condition is satisfied: the difference between the highest temperature and the average temperature is greater than the difference between the average temperature and the lowest temperature. If so, it is determined that there is a high-temperature water leakage phenomenon in the scene to be detected, and go to step 709; otherwise, end this process.
[0058] High-temperature water leakage is generally caused by damaged hot water pipes, and often occurs in places such as bathrooms and floor heating.
[0059] Step 708: Use the lowest temperature of the temperature matrix as the lower temperature limit for segmenting the low-temperature water leakage area; calculate the upper temperature limit for segmenting the low-temperature water leakage area based on the lowest temperature and the average temperature of the temperature matrix; search for a connected area in the thermal infrared image whose temperature is between the lower temperature limit and the upper temperature limit for segmenting the low-temperature water leakage area, and use the connected area as the low-temperature water leakage area. This process ends.
[0060] In an optional embodiment, after searching for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation in the thermal infrared image and before treating the connected area as the low-temperature water leakage area, the method further includes: for any connected area found, judging whether the area of the connected area is greater than the fifth threshold and less than the sixth threshold, if so, searching for sub-areas corresponding to each temperature level in the connected area, and if the area of any sub-area is less than the preset ninth threshold, the sub-area is considered to be a noise point, judging whether the number of non-noise sub-areas contained in the connected area is greater than the preset tenth threshold, if so, executing the action of treating the connected area as the low-temperature water leakage area. According to the preset segmentation level, the temperature between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation is divided into multiple temperature levels equal to the segmentation level.
[0061] Among them, for any connected area found, if the area of the connected area is less than or equal to the fifth threshold or greater than or equal to the sixth threshold, the connected area is considered to be a noise point, that is, the connected area is definitely not a low-temperature water leakage area, and the subsequent process will not be executed on it.
[0062] In actual applications, after a connected area is used as a low-temperature water leakage area, it further includes: finding the lowest temperature point in the low-temperature water leakage area, determining the lowest temperature point as the low-temperature water leakage point, recording the location of the low-temperature water leakage point, and prompting the user with the location of the low-temperature water leakage point.
[0063] Step 709: taking the highest temperature of the temperature matrix as the upper temperature limit for segmenting the high-temperature water leakage region; calculating the lower temperature limit for segmenting the high-temperature water leakage region based on the highest temperature and the average temperature of the temperature matrix; searching in the thermal infrared image for a connected region whose temperature is between the lower temperature limit and the upper temperature limit for segmenting the high-temperature water leakage region, and taking the connected region as the high-temperature water leakage region.
[0064] In an optional embodiment, after searching for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area segmentation in the thermal infrared image and before treating the connected area as the high-temperature water leakage area, the method further includes: for any connected area found, judging whether the area of the connected area is greater than the seventh threshold and less than the eighth threshold, if so, searching for sub-areas corresponding to each temperature level in the connected area, and if the area of any sub-area is less than the preset eleventh threshold, the sub-area is considered to be a noise point, judging whether the number of non-noise sub-areas contained in the connected area is greater than the preset twelfth threshold, if so, executing the action of treating the connected area as the high-temperature water leakage area. According to the preset segmentation level, the temperature between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area segmentation is divided into multiple temperature levels equal to the segmentation level.
[0065] Among them, for any connected area found, if the area of the connected area is less than or equal to the seventh threshold or greater than or equal to the eighth threshold, the connected area is considered to be a noise point, that is, the connected area is definitely not a high-temperature water leakage area, and the subsequent process will not be executed on it.
[0066] In actual applications, after a connected area is used as a high-temperature water leakage area, it further includes: finding the highest temperature point in the high-temperature water leakage area, determining the highest temperature point as the high-temperature water leakage point, recording the location of the high-temperature water leakage point, and prompting the user with the location of the high-temperature water leakage point.
[0067] Figure 8 This is a schematic diagram of the structure of a water leakage detection device provided by an embodiment of the present invention. Figure 8 As shown, it mainly includes: a temperature data acquisition module 81 and a detection module 82, wherein: The temperature data acquisition module 81 acquires a thermal infrared image of the scene to be detected, and obtains a corresponding temperature matrix according to the thermal infrared image, wherein each temperature data in the temperature matrix corresponds to the temperature of a pixel in the thermal infrared image.
[0068] The detection module 82 searches, through the temperature matrix, in the scene to be detected: an area where the temperature gradually increases from the center to the edge. If found, the area is determined to be a low-temperature water leakage area; or searches, through the temperature matrix, in the scene to be detected: an area where the temperature gradually decreases from the center to the edge. If found, the area is determined to be a high-temperature water leakage area.
[0069] In an optional embodiment, after the detection module 82 determines that the area is a low-temperature water leakage area, it further includes: finding the lowest temperature point in the low-temperature water leakage area, and determining the lowest temperature point as the low-temperature water leakage point; or, after determining that the area is a high-temperature water leakage area, it further includes: finding the highest temperature point in the high-temperature water leakage area, and determining the highest temperature point as the high-temperature water leakage point.
[0070] In an optional embodiment, after the detection module 82 obtains the corresponding temperature matrix according to the thermal infrared image and before searching in the scene to be detected through the temperature matrix: an area where the temperature gradually increases from the center to the edge, or, before searching in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge, it further includes: searching for the highest temperature and the lowest temperature in the temperature matrix, calculating the difference between the highest temperature and the lowest temperature, and judging whether the difference is greater than a preset first threshold value. If so, it is determined that there may be a water leakage in the scene to be detected, and executing the action of searching in the scene to be detected through the temperature matrix: an area where the temperature gradually increases from the center to the edge, or, searching in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge.
[0071] In an optional embodiment, after the detection module 82 obtains the corresponding temperature matrix according to the thermal infrared image and before searching in the scene to be detected through the temperature matrix: an area where the temperature gradually increases from the center to the edge, or before searching in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge, it further includes: calculating the average temperature of the temperature matrix, and searching for the highest temperature and the lowest temperature in the temperature matrix; if the difference between the average temperature and the lowest temperature is greater than the difference between the highest temperature and the average temperature, it is determined that there is a low-temperature water leakage phenomenon in the scene to be detected, and the action of searching in the scene to be detected through the temperature matrix: an area where the temperature gradually increases from the center to the edge is executed; if the difference between the highest temperature and the average temperature is greater than the difference between the average temperature and the lowest temperature, it is determined that there is a high-temperature water leakage phenomenon in the scene to be detected, and the action of searching in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge is executed.
[0072] In an optional embodiment, after the detection module 82 obtains the corresponding temperature matrix according to the thermal infrared image and before calculating the average temperature of the temperature matrix, the detection module 82 further includes: removing temperatures less than a preset second threshold and greater than a preset third threshold from the temperature matrix to obtain an updated temperature matrix; or / and, according to the temperature matrix, calculating the proportion of each temperature in the temperature matrix, removing temperatures with a proportion lower than a preset fourth threshold from the temperature matrix to obtain an updated temperature matrix; Furthermore, the detection module 82 calculates the average value of the temperature matrix and searches for the highest temperature and the lowest temperature in the temperature matrix, including: calculating the average value of the updated temperature matrix and searching for the highest temperature and the lowest temperature in the updated temperature matrix.
[0073] In an optional embodiment, the detection module 82 searches for: an area whose temperature gradually increases from the center to the edge in the scene to be detected through the temperature matrix, including: using the lowest temperature of the temperature matrix as the lower temperature limit of the low-temperature water leakage area segmentation; calculating the upper temperature limit of the low-temperature water leakage area segmentation according to the lowest temperature and the average temperature of the temperature matrix; searching for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation in the thermal infrared image, and using the connected area as the low-temperature water leakage area; Alternatively, the detection module 82 searches in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge, including: taking the highest temperature of the temperature matrix as the upper temperature limit for segmenting the high-temperature water leakage area; calculating the lower temperature limit for segmenting the high-temperature water leakage area based on the highest temperature and average temperature of the temperature matrix; searching in the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit for segmenting the high-temperature water leakage area, and taking the connected area as the high-temperature water leakage area.
[0074] In an optional embodiment, after the detection module 82 searches for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation in the thermal infrared image and before the connected area is used as the low-temperature water leakage area, the detection module 82 further includes: for any connected area found, determining whether the area of the connected area is greater than the fifth threshold and less than the sixth threshold, and if so, executing the action of using the connected area as the low-temperature water leakage area; Alternatively, after the detection module 82 searches for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area in the thermal infrared image and before treating the connected area as a high-temperature water leakage area, the detection module further includes: for any connected area found, determining whether the area of the connected area is greater than the seventh threshold and less than the eighth threshold; if so, executing the action of treating the connected area as a high-temperature water leakage area.
[0075] In an optional embodiment, after the detection module 82 searches for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation in the thermal infrared image and before treating the connected area as the low-temperature water leakage area, the detection module 82 further includes: dividing the temperature between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation into a plurality of temperature levels equal to the segmentation level according to a preset segmentation level; for each connected area found, searching for a sub-area corresponding to each temperature level in the connected area, and if the area of any sub-area is less than the preset ninth threshold value, the sub-area is considered to be a noise point, and it is determined whether the number of non-noise sub-areas contained in the connected area is greater than the preset tenth threshold value, and if so, the action of treating the connected area as the low-temperature water leakage area is executed; Alternatively, after the detection module 82 searches for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area segmentation in the thermal infrared image and before treating the connected area as a high-temperature water leakage area, the detection module 82 further includes: according to a preset segmentation level, dividing the temperature between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area segmentation into multiple temperature levels equal to the segmentation level; for any connected area found, searching for a sub-area corresponding to each temperature level in the connected area, and if the area of any sub-area is less than the preset eleventh threshold, the sub-area is considered to be a noise point, and it is determined whether the number of non-noise sub-areas contained in the connected area is greater than the preset twelfth threshold, and if so, the action of treating the connected area as a high-temperature water leakage area is executed.
[0076] An embodiment of the present invention further provides a non-transitory computer-readable storage medium, which stores instructions. When the instructions are executed by a processor, the processor executes the water leakage detection method described in any of the aforementioned embodiments.
[0077] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present application. In particular, without departing from the spirit and teachings of the present application, the features described in the various embodiments and / or claims of the present application may be combined and / or combined in a variety of ways, and all of these combinations and / or combinations fall within the scope disclosed in the present application.
[0078] Specific embodiments are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the core ideas of the present invention and is not used to limit the present application. For those skilled in the art, changes can be made in the specific implementation methods and application scopes according to the ideas, spirits and principles of the present invention, and any modifications, equivalent substitutions, improvements, etc. made therein should be included in the scope of protection of this application.
Claims
1. A water leakage detection method, characterized in that: The method includes: Acquire a thermal infrared image of the scene to be detected; Obtaining a corresponding temperature matrix according to the thermal infrared image, wherein each temperature data in the temperature matrix corresponds to the temperature of a pixel point in the thermal infrared image; The temperature matrix is used to search in the scene to be detected: an area where the temperature gradually increases from the center to the edge. If found, the area is determined to be a low-temperature water leakage area; or, the temperature matrix is used to search in the scene to be detected: an area where the temperature gradually decreases from the center to the edge. If found, the area is determined to be a high-temperature water leakage area.
2. The method according to claim 1, characterized in that After the area is determined to be a low-temperature water leakage area, the method further includes: finding the lowest temperature point in the low-temperature water leakage area, and determining the lowest temperature point as a low-temperature water leakage point; Alternatively, after determining that the area is a high-temperature water leakage area, the method further includes: finding a point with the highest temperature in the high-temperature water leakage area, and determining the point with the highest temperature as a high-temperature water leakage point.
3. The method according to claim 1, characterized in that After obtaining the corresponding temperature matrix according to the thermal infrared image and before searching the scene to be detected through the temperature matrix for an area where the temperature gradually increases from the center to the edge, or before searching the scene to be detected through the temperature matrix for an area where the temperature gradually decreases from the center to the edge, the method further includes: The highest temperature and the lowest temperature are found in the temperature matrix, the difference between the highest temperature and the lowest temperature is calculated, and it is determined whether the difference is greater than a preset first threshold value. If so, it is determined that there may be a water leakage in the scene to be detected, and the action of searching in the scene to be detected through the temperature matrix: an area where the temperature gradually increases from the center to the edge, or searching in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge is performed.
4. The method according to claim 3, characterized in that After obtaining the corresponding temperature matrix according to the thermal infrared image and before searching the scene to be detected through the temperature matrix for an area where the temperature gradually increases from the center to the edge, or before searching the scene to be detected through the temperature matrix for an area where the temperature gradually decreases from the center to the edge, the method further includes: Calculate the average temperature of the temperature matrix, and search for the highest temperature and the lowest temperature in the temperature matrix. If the difference between the average temperature and the lowest temperature is greater than the difference between the highest temperature and the average temperature, it is determined that there is a low-temperature water leakage phenomenon in the scene to be detected, and perform the action of searching in the scene to be detected through the temperature matrix: an area where the temperature gradually increases from the center to the edge; If the difference between the highest temperature and the average temperature is greater than the difference between the average temperature and the lowest temperature, it is determined that there is a high-temperature water leakage phenomenon in the scene to be detected, and the action of searching in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge is performed.
5. The method according to claim 1, characterized in that After obtaining the corresponding temperature matrix according to the thermal infrared image and before calculating the average temperature of the temperature matrix, the method further includes: Eliminate temperatures less than a preset second threshold and greater than a preset third threshold from the temperature matrix to obtain an updated temperature matrix; or / and, calculate the proportion of each temperature in the temperature matrix according to the temperature matrix, and eliminate temperatures whose proportion is lower than a preset fourth threshold from the temperature matrix to obtain an updated temperature matrix; Furthermore, calculating the average value of the temperature matrix and finding the highest temperature and the lowest temperature in the temperature matrix include: Calculate the average of the updated temperature matrix and find the maximum and minimum temperatures in the updated temperature matrix.
6. The method according to claim 4 or 5, characterized in that: The temperature matrix is used to search in the scene to be detected: an area where the temperature gradually increases from the center to the edge, including: The lowest temperature of the temperature matrix is used as the lower temperature limit of the low-temperature water leakage area segmentation; the upper temperature limit of the low-temperature water leakage area segmentation is calculated according to the lowest temperature and the average temperature of the temperature matrix; the connected area whose temperature is between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation is found in the thermal infrared image, and the connected area is used as the low-temperature water leakage area; Alternatively, the method searches in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge, including: taking the highest temperature of the temperature matrix as the upper temperature limit for segmenting the high-temperature water leakage area; calculating the lower temperature limit for segmenting the high-temperature water leakage area according to the highest temperature and the average temperature of the temperature matrix; searching in the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit for segmenting the high-temperature water leakage area, and taking the connected area as the high-temperature water leakage area.
7. The method according to claim 6, characterized in that After searching the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation and before using the connected area as the low-temperature water leakage area, the method further includes: For any connected region found, determine whether the area of the connected region is greater than the fifth threshold and less than the sixth threshold, and if so, perform the action of treating the connected region as a low-temperature water leakage region; Alternatively, after searching the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area segmentation and before using the connected area as the high-temperature water leakage area, the method further comprises: For any connected region found, it is determined whether the area of the connected region is greater than the seventh threshold and less than the eighth threshold. If so, the action of treating the connected region as a high-temperature water leakage region is performed.
8. The method according to claim 6, characterized in that After searching the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area segmentation and before using the connected area as the low-temperature water leakage area, the method further includes: According to a preset segmentation level, the temperature between the lower temperature limit and the upper temperature limit of the low-temperature water leakage area is divided into a plurality of temperature levels equal to the segmentation level; for each connected area found, a sub-area corresponding to each temperature level is searched in the connected area, and if the area of any sub-area is smaller than the preset ninth threshold, the sub-area is considered to be a noise point, and it is determined whether the number of non-noise sub-areas contained in the connected area is greater than the preset tenth threshold, and if so, the action of treating the connected area as a low-temperature water leakage area is performed; Alternatively, after searching the thermal infrared image for a connected area whose temperature is between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area segmentation and before using the connected area as the high-temperature water leakage area, the method further comprises: According to the preset segmentation level, the temperature between the lower temperature limit and the upper temperature limit of the high-temperature water leakage area is divided into multiple temperature levels equal to the segmentation level; for any connected area found, the sub-area corresponding to each temperature level is searched in the connected area, and if the area of any sub-area is smaller than the preset eleventh threshold, the sub-area is considered to be a noise point, and it is determined whether the number of non-noise sub-areas contained in the connected area is greater than the preset twelfth threshold. If so, the action of treating the connected area as a high-temperature water leakage area is executed.
9. A water leakage detection device, characterized in that: The device includes: A temperature data acquisition module acquires a thermal infrared image of the scene to be detected, and obtains a corresponding temperature matrix according to the thermal infrared image, wherein each temperature data in the temperature matrix corresponds to the temperature of a pixel in the thermal infrared image; The detection module searches in the scene to be detected through the temperature matrix: an area where the temperature gradually increases from the center to the edge. If found, the area is determined to be a low-temperature water leakage area; or searches in the scene to be detected through the temperature matrix: an area where the temperature gradually decreases from the center to the edge. If found, the area is determined to be a high-temperature water leakage area.
10. A non-transitory computer-readable storage medium, characterized in that The non-transitory computer-readable storage medium stores instructions, which, when executed by a processor, cause the processor to perform the water leakage detection method according to any one of claims 1 to 8.