Abnormal state detection method, device and equipment of transmission tower and storage medium
By performing feature extraction and abnormal state detection model analysis on the target base image of the transmission pole tower, the problem of low detection accuracy of the transmission pole tower is solved, and the accurate identification of the tower base state is achieved and the security of the power grid is guaranteed.
Patent Information
- Application Number
- CN202410933080.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-29
AI Technical Summary
The accuracy of abnormal state detection of transmission poles and towers in the existing technology is not high, and it is difficult to accurately reflect the actual state of the tower base, which may lead to short circuit accidents and unstable power supply.
The first feature extraction process is performed by obtaining the target tower base image of the transmission pole tower, using the preset abnormal state detection model for analysis, and extracting feature maps of different scales to detect abnormal states of the tower base, including tilt, settlement and other hidden dangers.
It improves the accuracy of abnormal status detection of transmission pole towers, can quickly and accurately identify potential abnormalities at the tower base, reduces misjudgments and missed judgments, and ensures safe and stable operation of the power grid.
Smart Images

Figure CN118865129A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power systems, and in particular to a method, device, equipment and storage medium for detecting abnormal conditions of transmission towers. Background Art
[0002] Transmission towers are important basic supporting components of transmission lines. Abnormal tower bases make it difficult to ensure safe distances between components of transmission lines. External hidden dangers of transmission tower bases may cause tower bases to sink or tilt, which will not only threaten the structural safety of transmission lines, but also reduce the distance between conductors, causing short-circuit accidents, thus affecting the stable supply of electricity. Therefore, how to accurately detect abnormal conditions of transmission towers is crucial to the power grid system.
[0003] In the related art, sensors (such as tilt sensors, GPS receivers, etc.) are generally installed on the tower to monitor the tilt angle and displacement changes of the tower in real time to determine the potential abnormal state of collapse. However, this method is not very accurate in detecting abnormal states of transmission towers. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, equipment and storage medium for detecting abnormal state of transmission towers, which can improve the accuracy of abnormal state detection of transmission towers, in order to solve the above technical problems.
[0005] In a first aspect, the present application provides a method for detecting an abnormal state of a transmission tower, the method comprising:
[0006] Acquire a target tower base image of a transmission tower in the area to be inspected;
[0007] Performing a first feature extraction process on the target tower base image of the transmission tower to obtain a plurality of feature maps; wherein different feature maps have different scales, so as to be used to detect objects of different scales in the target tower base image;
[0008] According to each feature graph and a preset abnormal state detection model, an abnormal state detection result of the transmission tower is obtained; wherein the abnormal state detection model is a model obtained by training an initial abnormal state detection model using historical tower base image samples and historical abnormal state detection result samples of the transmission tower.
[0009] In one embodiment, according to each characteristic graph and a preset abnormal state detection model, an abnormal state detection result of a transmission tower is obtained, including:
[0010] Determine a plurality of target prior images of different sizes corresponding to each feature map;
[0011] The prior images of each target are input into the preset abnormal state detection model to obtain the abnormal state detection result of the transmission tower.
[0012] In one embodiment, determining a plurality of target prior images of different sizes corresponding to each feature map includes:
[0013] For each feature map, determining a plurality of initial prior images of different sizes corresponding to the feature map, and determining a confidence value corresponding to each initial prior image;
[0014] The confidence value corresponding to each initial prior image is compared and analyzed with a preset confidence threshold, and a plurality of target prior images of different sizes corresponding to the feature map are determined from each initial prior image.
[0015] In one embodiment, obtaining a target tower base image of a transmission tower in a to-be-detected area includes:
[0016] Acquire an initial tower base image of a transmission tower in the area to be inspected;
[0017] The initial tower base image is subjected to image preprocessing to obtain a target tower base image of the transmission tower in the area to be detected; wherein the image preprocessing includes at least one of the following: image denoising, image enhancement, random cropping, random flipping, and photometric distortion.
[0018] In one embodiment, the method further comprises:
[0019] Performing a second feature extraction process on the target tower base image of the transmission tower in the detection area to obtain a plurality of feature data of the target tower base image of the transmission tower;
[0020] Each feature data is input into a preset anomaly assessment model to obtain an anomaly level result of the tower base image of the transmission tower; wherein the anomaly level includes low risk, medium risk and high risk.
[0021] In one embodiment, the method further comprises:
[0022] When the abnormal state detection result indicates that the tower base of the transmission tower is in an abnormal state, an alarm prompt information is output; wherein the alarm prompt information is used to indicate the type and / or abnormal level of the abnormal state.
[0023] In one embodiment, the abnormal state detection model is obtained by:
[0024] The positive samples and negative samples are determined by using the historical tower base image samples and the historical abnormal state detection result samples of the transmission tower;
[0025] The initial abnormal state detection model is trained according to positive samples and negative samples to obtain the abnormal state detection model.
[0026] In a second aspect, the present application provides a device for detecting an abnormal state of a transmission tower, the device comprising:
[0027] An acquisition module, used to acquire a target tower base image of a transmission tower in a to-be-detected area;
[0028] A feature extraction module is used to perform a first feature extraction process on the target tower base image of the transmission tower to obtain a plurality of feature maps; wherein different feature maps have different scales, so as to be used to detect objects of different scales in the target tower base image;
[0029] A determination module is used to obtain an abnormal state detection result of a transmission tower according to each feature graph and a preset abnormal state detection model; wherein the abnormal state detection model is a model obtained by training an initial abnormal state detection model using historical tower base image samples and historical abnormal state detection result samples of the transmission tower.
[0030] In a third aspect, the present application provides an abnormal state detection device, which includes a memory and a processor, the memory stores a computer program, and the processor executes the computer program to implement the steps of the method of the first aspect.
[0031] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the method of the first aspect when the computer program is executed by a processor.
[0032] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the method of the first aspect when executed by a processor.
[0033] The above-mentioned abnormal state detection method, device, equipment and storage medium of the transmission tower obtain a target tower base image of the transmission tower in the area to be detected, and perform a first feature extraction process on the target tower base image of the transmission tower to obtain multiple feature maps. Further, according to each feature map and a preset abnormal state detection model, the abnormal state detection result of the transmission tower is obtained. Compared with the method of installing a sensor on the tower to monitor the inclination angle and displacement change of the tower body in real time in the related art, the embodiment of the present application obtains the target tower base image of the transmission tower in the area to be detected, which can more accurately reflect the actual state of the transmission tower and provide a reliable basis for subsequent feature extraction and abnormality detection. Further, by performing a first feature extraction process on the target tower base image of the transmission tower, feature maps of different scales can be extracted, so that object features of different sizes and scales in the image can be captured. The large-scale feature map (the feature map closer to the front) can be used to detect small objects, while the small-scale feature map (the feature map closer to the back) is used to detect large objects, which can greatly reduce the complexity of the data while retaining useful information for subsequent tasks (such as abnormality detection), thereby improving the accuracy of abnormality detection. Furthermore, by analyzing feature maps of different scales using a pre-trained abnormal state detection model, it is possible to quickly and accurately identify possible abnormal states of transmission towers, thereby more accurately detecting abnormal states of transmission towers. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A schematic diagram of an implementation environment of a method for detecting an abnormal state of a transmission tower in one embodiment of the present application;
[0036] Figure 2 A schematic diagram of a flow chart of a method for detecting an abnormal state of a transmission tower in one embodiment of the present application;
[0037] Figure 3 This is a flow chart of a method for detecting abnormal state of a transmission tower in another embodiment of the present application;
[0038] Figure 4 This is a flow chart of a method for detecting abnormal state of a transmission tower in another embodiment of the present application;
[0039] Figure 5 This is a flow chart of a method for detecting abnormal state of a transmission tower in another embodiment of the present application;
[0040] Figure 6 This is a flow chart of a method for detecting abnormal state of a transmission tower in another embodiment of the present application;
[0041] Figure 7 This is a flow chart of a method for detecting abnormal state of a transmission tower in another embodiment of the present application;
[0042] Figure 8 A schematic diagram of the process of abnormal state detection model training in one embodiment of the present application;
[0043] Fig. 9 This is a schematic diagram of the overall process of a method for detecting an abnormal state of a transmission tower in one embodiment of the present application;
[0044] Fig.10 This is a schematic diagram of the structure of an abnormal state detection device for a transmission tower in one embodiment of the present application;
[0045] Fig.11 This is a diagram of the internal structure of an abnormal state detection device in one embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0047] The abnormal state detection method, device, equipment and storage medium of the transmission tower provided in the embodiments of the present application can be applied to the abnormal state detection scenario of the transmission tower; of course, it can also be applied to other power supply systems. The scenarios where abnormal state detection is required are not limited to this in the embodiments of the present application.
[0048] Transmission towers are important basic supporting components of transmission lines. It is difficult to ensure the safe distance between the components of the transmission line if the tower base is in an abnormal state. For example, the climate in the south is humid and rainy. Continuous water accumulation or vine growth will cause the soil to loosen and the stability of the tower base to decrease. External hidden dangers of the transmission tower base may cause the tower base to settle or tilt. Long-term water accumulation will increase the soil moisture content and reduce the soil bearing capacity, causing uneven settlement of the tower base or tilt of the tower body. It will not only threaten the structural safety of the transmission line, but also may cause the distance between the conductors to decrease, causing short-circuit accidents, thereby affecting the stable supply of electricity. In severe cases, it will cause large-scale power outages, affecting social and economic activities and residents' lives.
[0049] In the related art, the abnormal state detection method of the transmission tower base generally adopts ultrasonic flaw detection. For the rust or weld cracks inside the steel pipe tower, ultrasonic flaw detection technology is used for non-destructive detection, and the integrity of the internal structure is judged by ultrasonic reflection. Alternatively, a tilt monitoring system is used. Various sensors installed on the tower (such as tilt sensors, GPS receivers, etc.) can monitor the tilt angle and displacement changes of the tower body in real time, and timely warn of potential collapse risks. However, the above method is not accurate in detecting the abnormal state of the transmission tower. Therefore, how to accurately detect the abnormal state of the transmission tower is crucial to the power grid system.
[0050] Figure 1 FIG. 1 is a schematic diagram of an implementation environment of a method for detecting abnormal state of a transmission tower in an embodiment of the present application. Figure 1 As shown, the implementation environment may include: a terminal 101 and a server 102. The terminal 101 may communicate with the server 102 via a network, and the terminal 101 may include but is not limited to various personal computers, laptops, smart phones, and tablet computers. The server 102 may be implemented as an independent server or a server cluster consisting of multiple servers. The data storage system may store information such as target tower base images, multiple feature maps, abnormal state detection models, and abnormal state detection results that the server 102 needs to process. The data storage system may be integrated on the server 102, or may be placed on a cloud or other network server.
[0051] Combination Figure 1 In the implementation environment shown, in the embodiment of the present application, the abnormal state detection device can be a server 102, and the server 102 can obtain the target tower base image of the transmission tower in the area to be detected, and perform a first feature extraction process on the target tower base image of the transmission tower to obtain multiple feature maps. The server 102 can obtain the abnormal state detection result of the transmission tower according to each feature map and a preset abnormal state detection model, and display the abnormal state detection result on the terminal 101.
[0052] It should be understood that the abnormal state detection device may also be the terminal 101. The terminal 101 may obtain a target tower base image of a transmission tower in the area to be detected, and perform a first feature extraction process on the target tower base image of the transmission tower to obtain a plurality of feature graphs. The terminal 101 may obtain an abnormal state detection result of the transmission tower according to each feature graph and a preset abnormal state detection model, and display the abnormal state detection result on the terminal 101.
[0053] In order to solve the problem of low accuracy in abnormal state detection of transmission towers in the related art, the abnormal state detection method, device, equipment and storage medium of the transmission tower provided in the embodiment of the present application can more accurately reflect the actual state of the transmission tower by acquiring the target tower base image of the transmission tower in the area to be detected, and provide a reliable basis for subsequent feature extraction and abnormality detection. Further, by performing a first feature extraction process on the target tower base image of the transmission tower, feature maps of different scales can be extracted, so that object features of different sizes and scales in the image can be captured. The large-scale feature map (the feature map closer to the front) can be used to detect small objects, while the small-scale feature map (the feature map closer to the back) is used to detect large objects, which can greatly reduce the complexity of the data, while retaining useful information for subsequent tasks (such as abnormality detection), thereby improving the accuracy of abnormality detection. Further, by using a pre-trained abnormal state detection model to analyze feature maps of different scales, it is possible to quickly and accurately identify the abnormal state that may exist in the transmission tower, so that the abnormal state of the transmission tower can be more accurately detected.
[0054] In one embodiment, Figure 2 The flowchart of the abnormal state detection method of a transmission tower in one embodiment of the present application is shown in the figure. The present application embodiment takes the method applied to an abnormal state detection device as an example for explanation, wherein the abnormal state detection device may include but is not limited to a terminal or a server. Figure 2 As shown, the method of the embodiment of the present application may include the following steps.
[0055] S201, obtaining a target tower base image of a transmission tower in an area to be detected.
[0056] The target tower base image refers to the image of the tower base of a specific transmission tower in the area to be detected. The target tower base image is the basic data for subsequent feature extraction and abnormal state detection. As an important part of the transmission tower, the tower base is directly related to the stability and safety of the entire tower.
[0057] In this step, the abnormal state detection device can obtain the target tower base image of the transmission tower in the area to be detected in a preset manner, so as to obtain a sufficient number of target tower base images, providing rich data support for subsequent feature extraction and model training, which is conducive to building a more comprehensive and accurate abnormal state detection model. Furthermore, it is also conducive to reducing labor costs, improving detection efficiency, and reducing misjudgments and missed judgments caused by human factors.
[0058] Exemplarily, the preset acquisition method may be real-time shooting by a camera, and the abnormal state detection device may acquire the data in real time from the shooting device; or, the abnormal state detection device may acquire the data from a preset database, which is not limited.
[0059] S202, performing a first feature extraction process on the target tower base image of the transmission tower to obtain a plurality of feature maps.
[0060] The first feature extraction process refers to performing a convolution operation on the target tower base image by using a deep learning model such as a convolutional neural network to extract features such as the edge, texture, and shape of the image and form multiple feature maps. Of course, the first feature extraction process can also include
[0061] A feature map is the result of a series of convolution kernels performing convolution operations on an input image. It is an abstract representation of the original image. A feature map is usually an intermediate layer result in a network, and contains feature information at different levels of the image.
[0062] Optionally, the size and number of feature maps depend on the size and number of convolution kernels, as well as convolution step size and padding. As the convolution operation goes deeper, the size of the feature map usually decreases, while the level of feature information deepens.
[0063] Optionally, different feature maps have different scales to detect objects of different scales in the target tower base image.
[0064] For example, the abnormal state detection device can input the target tower base image of the transmission tower into the backbone network for feature extraction. For example, the size of the target tower base image is 300*300*3, and the image size can be adjusted according to actual conditions. The backbone network can be based on the Visual Geometry Group Network (VGG16) model, or it can be based on a residual network or a densely connected network, and there is no limitation on this.
[0065] In this step, the abnormal state detection device performs multiple convolution processes on the target tower base image of the transmission tower, thereby obtaining multiple feature maps of different scales.
[0066] It can be seen that by obtaining feature maps of different scales, a variety of feature information from details to the whole image can be captured, and feature maps of different scales can be extracted, so that object features of different sizes and scales in the image can be captured. Large-scale feature maps (feature maps closer to the front) can be used to detect small objects, while small-scale feature maps (feature maps closer to the back) are used to detect large objects, which can greatly reduce the complexity of the data while retaining useful information for subsequent tasks (such as anomaly detection), thereby improving the accuracy of anomaly detection. For the target tower base image of the transmission tower, small local anomalies such as cracks and rust, as well as large overall anomalies such as tilt and deformation can be detected at the same time, which is conducive to improving the comprehensiveness and accuracy of detection. Furthermore, through multiple convolution processing, feature extraction layer by layer and reducing the amount of data for subsequent processing, the accuracy of detection can be improved to a certain extent.
[0067] S203, obtaining an abnormal state detection result of the transmission tower according to each characteristic graph and a preset abnormal state detection model.
[0068] Among them, the abnormal state detection model is a model obtained by training the initial abnormal state detection model using historical tower base image samples and historical abnormal state detection result samples of the transmission tower.
[0069] The abnormality detection result is used to indicate whether there is an abnormal state of the transmission tower. If there is an abnormal state of the transmission tower, the abnormality detection result will also indicate the type of abnormal state. The type of abnormal state may include but is not limited to water accumulation abnormality, vine entanglement abnormality, tower base tilt abnormality, etc.
[0070] In this step, the abnormal state detection device can obtain the abnormal state detection result of the transmission tower according to each characteristic graph and the preset abnormal state detection model. The abnormal state detection device can accurately detect the abnormal state of the transmission tower, such as abnormal water accumulation, abnormal vine entanglement, abnormal tower base tilt, etc., through the preset abnormal state detection model, which is conducive to ensuring the safe and stable operation of the transmission tower and reducing the safety hazards caused by insufficient single abnormality detection.
[0071] In the following, the contents related to obtaining the abnormal state detection result of the transmission tower according to each characteristic graph and the preset abnormal state detection model will be described by way of example.
[0072] In one possible implementation, the abnormal state detection device can determine a plurality of target prior images of different sizes corresponding to each feature map, and obtain the abnormal state detection result of the transmission tower according to each target prior image and a preset abnormal state detection model.
[0073] In this implementation, target prior images of different sizes can capture abnormal features of different scales on the transmission tower. For example, a large-scale prior image may be more suitable for detecting macroscopic abnormalities such as the tilt of the tower base, while a small-scale prior image may be more suitable for detecting detail abnormalities such as vine entanglement. This multi-scale detection method is conducive to improving the accuracy of detecting abnormal conditions of transmission towers.
[0074] In another possible implementation, the abnormal state detection device may directly input each characteristic graph into a preset abnormal state detection model to obtain an abnormal state detection result of the transmission tower.
[0075] In this implementation, the original image is converted into a series of feature maps during the feature extraction process, and the abnormal state detection device directly inputs the feature maps into the detection model, which can retain this information to the greatest extent and reduce the information loss that may occur during the conversion and processing process. It can simplify the detection process and eliminate the need for additional target prior image generation and processing steps, thereby reducing the complexity and computational cost of the system.
[0076] In the above-mentioned abnormal state detection method of the transmission tower, the abnormal state detection device obtains a target tower base image of the transmission tower in the area to be detected, and performs a first feature extraction process on the target tower base image of the transmission tower to obtain multiple feature maps. Furthermore, the abnormal state detection device obtains the abnormal state detection result of the transmission tower according to each feature map and a preset abnormal state detection model. Compared with the method of installing sensors on the tower to monitor the inclination angle and displacement changes of the tower body in real time in the related art, the embodiment of the present application can more accurately reflect the actual state of the transmission tower by obtaining the target tower base image of the transmission tower in the area to be detected, and provide a reliable basis for subsequent feature extraction and abnormality detection. Furthermore, the abnormal state detection device can extract feature maps of different scales by performing the first feature extraction process on the target tower base image of the transmission tower, thereby capturing the features of objects of different sizes and scales in the image. The large-scale feature map (the feature map closer to the front) can be used to detect small objects, while the small-scale feature map (the feature map closer to the back) is used to detect large objects, which can greatly reduce the complexity of the data while retaining information useful for subsequent tasks (such as anomaly detection), thereby improving the accuracy of anomaly detection. Furthermore, the abnormal state detection device uses a pre-trained abnormal state detection model to analyze feature maps of different scales, and can quickly and accurately identify the abnormal state that may exist in the transmission tower, thereby more accurately detecting the abnormal state of the transmission tower.
[0077] In one embodiment, based on the above embodiment, Figure 3 This is a flow chart of a method for detecting an abnormal state of a transmission tower in another embodiment of the present application. In the embodiment of the present application, the relevant contents of "obtaining an abnormal state detection result of a transmission tower according to each characteristic graph and a preset abnormal state detection model" in step S203 involved in the above embodiment are exemplarily introduced and explained. The method of the embodiment of the present application may include the following steps.
[0078] S2031, determining a plurality of target prior images of different sizes corresponding to each feature map.
[0079] Among them, the target prior image refers to a set of images of fixed size and aspect ratio set in the target detection task. These images are evenly distributed on the image with different scales and aspect ratios, and are used to match the target in the image. The prior image is essentially a hypothesis of shape and position, which is used to guide the target detection model to locate and classify the target, and provides the model with a prior information on the expected shape and position of the target, which helps the model to more accurately predict the position and size of the target, thereby improving the detection accuracy.
[0080] In this step, for each feature map, the abnormal state detection device can determine multiple initial prior images of different sizes corresponding to the feature map, and determine multiple target prior images of different sizes corresponding to the feature map according to the confidence values corresponding to each initial prior image. It can be seen that in the detection process, a large number of candidate frames will significantly increase the amount of calculation. Through confidence screening, the number of candidate frames that need to be processed can be significantly reduced, those prior images that are more likely to contain the target object can be retained, and irrelevant or low-confidence candidate frames can be reduced, thereby improving the accuracy of detection.
[0081] S2032: Input each target priori image into a preset abnormal state detection model to obtain an abnormal state detection result of the transmission tower.
[0082] In this step, the abnormal state detection device can input each target prior image into a preset abnormal state detection model to obtain the abnormal state detection result of the transmission tower.
[0083] In the following, the input of each target prior image into a preset abnormal state detection model to obtain the abnormal state detection result of the transmission tower will be described as an example.
[0084] In one possible implementation, the abnormal state detection device can input each target prior image corresponding to each feature map into a preset abnormal state detection model respectively, obtain the abnormal state detection result corresponding to each feature map, and fuse the abnormal state detection results corresponding to each feature map to obtain the abnormal state detection result of the transmission tower.
[0085] In this implementation, the abnormal state detection device inputs each target prior image corresponding to each feature map into the abnormal state detection model, and each feature map can independently contribute its unique information. This method allows the model to more comprehensively understand different aspects or details of the transmission tower, thereby improving the accuracy of abnormal state detection. Furthermore, the abnormal state detection device analyzes each feature map independently and then fuses them, which is conducive to achieving more refined abnormal state detection.
[0086] In another possible implementation, the abnormal state detection device can perform feature fusion on each target prior image corresponding to each feature map to obtain a fused target prior image, and input the fused target prior image into a preset abnormal state detection model to obtain the abnormal state detection result of the transmission tower.
[0087] In this implementation, the abnormal state detection device can reduce the number of model processing times, improve the overall detection efficiency, avoid multiple independent model calculations, and reduce the consumption of computing resources by first performing feature fusion on the target prior images corresponding to each feature map and then inputting them into the detection model. Furthermore, the feature fusion process can eliminate or integrate some redundant or conflicting information, making the data input into the detection model purer and more efficient, which is conducive to the model converging to the optimal solution faster and improving the detection accuracy.
[0088] In one embodiment, based on the above embodiment, Figure 4 This is a flow chart of a method for detecting abnormal state of a transmission tower in another embodiment of the present application, and the relevant contents of "determining a plurality of target prior images of different sizes corresponding to each feature map" in step S2031 involved in the above embodiment are exemplarily introduced and explained in the present embodiment. The method of the embodiment of the present application may include the following steps.
[0089] S401, for each feature map, determining a plurality of initial prior images of different sizes corresponding to the feature map, and determining a confidence value corresponding to each initial prior image.
[0090] Among them, the initial prior image refers to a preset set of rectangular boxes with fixed sizes and aspect ratios, which are generated based on experience, characteristics of the data set, or the expected distribution of the target shape.
[0091] The confidence value can be calculated by the intersection over union (IOU), which is the ratio of the intersection area of the predicted bounding box and the true bounding box to the union area, and is used to evaluate the accuracy of the prediction. In the object detection task, the size of the confidence value directly reflects the degree of match between the predicted bounding box and the true bounding box. The higher the confidence value, the more accurate the prediction.
[0092] In this step, for each feature map, the abnormal state detection device selects a set of prior frames with different aspect ratios on the feature map. These aspect ratios can be defined based on experience or the shape characteristics of the target in the data set. Through scale sampling and aspect ratio sampling, a set of initial prior images with fixed size and aspect ratio are generated. Furthermore, the abnormal state detection device can determine the confidence value corresponding to each initial prior image through the intersection and union ratio.
[0093] It can be seen that the abnormal state detection device can define the aspect ratio of the prior frame through experience or the shape characteristics of the target in the data set, and more accurately match the actual shape of the target object, thereby improving the detection accuracy. The preset prior frame reduces the number of borders that the model needs to try when searching for the target, allowing the model to lock the target position more quickly and improve the overall detection efficiency.
[0094] S402, comparing and analyzing the confidence value corresponding to each initial prior image and a preset confidence threshold, and determining a plurality of target prior images of different sizes corresponding to the feature map from each initial prior image.
[0095] Exemplarily, the preset confidence threshold may be 0.5, that is, if the confidence value corresponding to the initial prior image is greater than 0.5, it is determined as the target prior image; if the confidence value corresponding to the initial prior image is not greater than 0.5, the initial prior image is deleted from each initial prior image.
[0096] Optionally, the abnormal state detection device can also use a non-maximum suppression algorithm to filter the initial prior images after comparative analysis, delete the initial prior images with large overlap, and obtain multiple target prior images of different sizes corresponding to the feature map.
[0097] In this step, the abnormal state detection device compares and analyzes the confidence value corresponding to each initial prior image and the preset confidence threshold, and determines a plurality of target prior images of different sizes corresponding to the feature map from each initial prior image.
[0098] It can be seen that by setting the confidence threshold, the abnormal state detection device can eliminate those initial prior images with low confidence. These images are likely to not contain real targets or the targets contained are not clear enough, which is conducive to reducing false detection and improving the accuracy of detection. The target prior image after screening and filtering more accurately reflects the position and shape of the target in the image, making the detection results clearer, easier to understand and analyze.
[0099] In the embodiment of the present application, the abnormal state detection device defines the aspect ratio of the prior frame through the shape characteristics of the target in the experience or data set, which can more accurately match the actual shape of the target object, thereby improving the detection accuracy. Furthermore, the abnormal state detection device can reduce the amount of data for subsequent processing by setting a confidence threshold and eliminating the initial prior image with low confidence, making the detection process more efficient.
[0100] In one embodiment, based on the above embodiment, Figure 5This is a flow chart of a method for detecting abnormal state of a transmission tower in another embodiment of the present application, and the relevant contents of "obtaining a target tower base image of a transmission tower in a to-be-detected area" in step S201 in the above embodiment are exemplarily introduced and explained. The method in the embodiment of the present application may include the following steps.
[0101] S2011, obtaining an initial tower base image of a transmission tower in the area to be detected.
[0102] The initial tower base image refers to the original image of the transmission tower base area directly captured by imaging equipment (such as drones, cameras, satellite images, etc.). The initial tower base image may include direct visual information of the tower, tower base, and surrounding environment (such as vegetation, terrain, other buildings, etc.) without any processing.
[0103] In this step, the abnormal state detection device can obtain the initial tower base image of the transmission tower in the area to be detected in a preset way, providing basic data for subsequent analysis and detection. By obtaining these images regularly or on demand, potential problems in the tower and tower base area, such as foundation settlement, tower tilt, changes in the surrounding environment, etc., can be discovered in time to prevent accidents.
[0104] S2012, performing image preprocessing on the initial tower base image to obtain a target tower base image of the transmission tower in the area to be detected.
[0105] Exemplarily, image preprocessing refers to a process of performing a series of operations on the initial tower base image to improve image quality, enhance image features, or make it more suitable for subsequent processing and analysis. The image preprocessing may include but is not limited to at least one of the following: image denoising, image enhancement, random cropping, random flipping, and photometric distortion.
[0106] In this step, the abnormal state detection device can perform image preprocessing on the initial tower base image to obtain the target tower base image of the transmission tower in the area to be detected. The abnormal state detection device can significantly improve the efficiency and accuracy of subsequent image analysis and detection tasks through image preprocessing. By removing noise, enhancing features, and increasing data diversity, the abnormal state detection device can more accurately identify abnormal conditions of the transmission tower and its tower base area, such as cracks, rust, and tilt. In addition, preprocessing can also reduce the amount of calculation, improve processing speed, and reduce the demand for hardware resources.
[0107] In the implementation of this application, the abnormal state detection device can obtain the initial tower base image of the transmission tower in the area to be detected in a preset manner, providing basic data for subsequent analysis and detection. Furthermore, the abnormal state detection device can significantly improve the efficiency and accuracy of subsequent image analysis and detection tasks through image preprocessing. By removing noise, enhancing features, increasing data diversity and other means, it is beneficial for the abnormal state detection device to more accurately identify abnormal conditions of the transmission tower and its tower base area, such as cracks, rust, tilt, etc.
[0108] In one embodiment, based on the above embodiment, Figure 6 This is a flow chart of a method for detecting an abnormal state of a transmission tower in another embodiment of the present application, and the present embodiment of the present application exemplarily introduces and explains the relevant contents after "obtaining an abnormal state detection result of a transmission tower according to each characteristic graph and a preset abnormal state detection model" in the above embodiment. The method of the embodiment of the present application may include the following steps.
[0109] S601, performing a second feature extraction process on a target tower base image of a transmission tower in a detection area to obtain a plurality of feature data of the target tower base image of the transmission tower.
[0110] The second feature extraction process refers to further analyzing the target tower base image to extract key features or attributes useful for transmission tower status assessment.
[0111] Feature data refers to the quantitative information extracted from the target tower base image through the second feature extraction process, which can reflect a specific attribute or state of the transmission tower and its tower base area. Feature data can be numerical (such as the area, density, and height of vines), structured (such as the shape, location, and length of detected cracks), or other forms of descriptive information.
[0112] Exemplarily, if there are vines wrapped around the target tower base image, the feature data after the second feature extraction process may include but is not limited to the area of the vines wrapped around the tower base, the density of the vines wrapped around the tower base, and the height of the vines wrapped around the tower base.
[0113] In this step, the abnormal state detection device can perform a second feature extraction process on the target tower base image of the transmission tower in the detection area to obtain multiple feature data of the target tower base image of the transmission tower. It can be seen that the abnormal state detection device can more accurately describe the state of the transmission tower and its tower base area by extracting specific feature data, reducing the possibility of false alarms and missed alarms. The feature data provides a quantitative basis for subsequent fault analysis, risk assessment and decision support, which is conducive to the formulation of a more scientific and reasonable maintenance strategy.
[0114] S602: Input each feature data into a preset abnormality assessment model to obtain an abnormality level result of the tower base image of the transmission tower.
[0115] Among them, the anomaly assessment model refers to a computational model built based on certain algorithms or rules, which is used to analyze and evaluate the characteristic data of the transmission tower base image to obtain the abnormal level result. The anomaly assessment model can be a machine learning model (such as decision tree, random forest, neural network, etc.) or a rule set based on expert experience. The model learns how to distinguish different degrees of abnormality through training (using tower base images and their characteristic data in known abnormal and normal states), and outputs the corresponding abnormal level results according to the input characteristic data in actual applications.
[0116] The abnormality level result refers to a quantitative indicator of the degree of abnormality or risk level given by the abnormality assessment model after evaluating the transmission pole tower base image; illustratively, the abnormality level result may include but is not limited to a low risk level, a medium risk level and a high risk level.
[0117] In this step, the abnormal state detection device can input each feature data obtained by the second feature extraction into a preset abnormality assessment model, so as to obtain the abnormality level result of the tower base image of the transmission tower.
[0118] It can be seen that the abnormal state detection equipment obtains the abnormal level result according to the abnormal evaluation model. The output of the abnormal level result makes the evaluation of the tower foundation state of the transmission tower more objective and specific. The division of different levels is conducive to the operation and maintenance personnel to understand the severity of the problem, so as to formulate a more reasonable treatment plan. The abnormal level result can serve as an important basis for decision support. The operation and maintenance personnel can give priority to handling tower foundation problems with high risk levels according to the evaluation results to ensure the safe and stable operation of the power grid.
[0119] In one embodiment, based on the above embodiment, the present application embodiment provides an exemplary introduction to the relevant contents after "obtaining abnormal state detection results of transmission towers according to each characteristic graph and a preset abnormal state detection model" in the above embodiment. The method of the present application embodiment may include the following steps.
[0120] When the abnormal state detection result indicates that the tower base of the transmission tower is in an abnormal state, an alarm prompt message is output.
[0121] The alarm prompt information is used to indicate the type and / or level of abnormality.
[0122] In the embodiment of the present application, the abnormal state detection device can generate corresponding alarm prompt information according to the abnormal type and abnormal level of the abnormal state detection result, and send the alarm prompt information to relevant personnel in a timely manner through a preset communication channel (such as SMS, email, monitoring center, etc.), ensuring that relevant personnel can receive the alarm information in the first time so as to respond and handle it quickly. By establishing a complete monitoring and alarm system, the abnormal state detection device can optimize the management process of transmission towers, improve management efficiency, reduce the workload of manual inspections, and thus reduce management costs.
[0123] In one embodiment, based on the above embodiment, Figure 7 This is a flow chart of a method for detecting abnormal state of a transmission tower in another embodiment of the present application, and the relevant contents of "the method for obtaining the abnormal state detection model" involved in the above embodiment are exemplarily introduced and explained in the embodiment of the present application. The method of the embodiment of the present application may include the following steps.
[0124] S701, using historical tower base image samples and historical abnormal state detection result samples of the transmission tower to determine positive samples and negative samples.
[0125] Among them, positive samples refer to images that do show abnormal conditions (such as foundation settlement, tilt, cracks, etc.) in the historical tower foundation image samples, and these abnormal conditions have been confirmed by the historical abnormal condition detection result samples; negative samples refer to images that do not show any abnormal conditions in the historical tower foundation image samples, or whose abnormal conditions have not been confirmed by the historical abnormal condition detection result samples. Negative samples are used to train the model to distinguish between normal and abnormal tower foundation conditions.
[0126] In this step, the abnormal state detection device can accurately mark which image samples do contain abnormal states of the transmission tower base through historical abnormal state detection result samples. These accurately marked images are used as positive samples, which are conducive to the model learning the characteristics of abnormal states. At the same time, historical normal state images or images that do not show abnormal states are used as negative samples to ensure that the model will not misjudge the normal state as an abnormal state during the training process, thereby reducing the possibility of misjudgment.
[0127] The following is an illustrative description of the contents related to determining positive samples and negative samples.
[0128] In one possible implementation, the abnormal state detection device inputs the historical tower base image samples of the transmission tower into the initial abnormal state monitoring model to obtain the historical abnormal state detection result samples. If the historical tower base image samples of the transmission tower match the historical abnormal state detection result samples, they are determined to be positive samples, otherwise they are determined to be negative samples.
[0129] In another possible implementation, each feature map is matched with positive and negative samples, that is, the generated target prior image is matched with the pre-labeled target image. The abnormal state detection device matches the target prior image with the target image according to the matching strategy. For each target image, the target prior image with the largest IOU among all target prior images is selected as the match of the current target image. For the remaining unmatched target prior images, if the IOU with the target image is greater than a preset threshold (generally 0.5), then the target prior image is also matched with this target image. If there are multiple targets greater than the threshold, the target prior image is only matched with the target image with the largest IOU. If the match is successful, it is a positive sample (, otherwise it is a negative sample. Through matching, the negative samples are far more than the positive samples, then the negative samples with larger confidence loss can be retained through difficult negative example mining, so that the positive-negative sample ratio is 1:3.
[0130] In this way, positive samples and negative samples can be determined through any of the above implementation methods.
[0131] S702: Train the initial abnormal state detection model according to the positive samples and the negative samples to obtain the abnormal state detection model.
[0132] In this step, the abnormal state detection device can calculate the loss function according to the positive samples and the negative samples, and update the parameters of the initial abnormal state detection model according to the loss function, and finally obtain the abnormal state detection model.
[0133] It can be seen that the abnormal state detection device uses positive samples and negative samples to jointly train the model, which can ensure that the model has high accuracy in identifying both normal and abnormal states. By continuously optimizing the loss function, the model can learn effective features to distinguish between normal and abnormal states, thereby improving the accuracy of detection.
[0134] The following is an illustrative introduction to the relevant contents of the loss function.
[0135] Exemplarily, the loss function may include a weighted sum of a confidence loss function and a position loss function. The calculation formula of the target loss function may be expressed as:
[0136] (1)
[0137] in, Expressed as the overall objective loss function; is the number of positive samples; Represents the confidence loss function, which is used to measure the difference between the category confidence predicted by the model and the true category distribution; where, Represents a collection of input data; is the category confidence prediction value; represents the position loss function, which is used to measure the difference between the bounding box position predicted by the model and the actual bounding box position; is the position prediction value of the bounding box corresponding to the target prior image; g represents the position parameter of the target image; Expressed as a weight coefficient, it is used to adjust the weight ratio between confidence loss and position loss.
[0138] Of course, the calculation formula of the current target loss function can also be expressed as other variations or equivalent formulas of the above formula (1).
[0139] Exemplarily, the calculation formula of the confidence loss function can be expressed as:
[0140] (2)
[0141] in, Represents the predicted target prior image number, Indicates the target image number, Indicates the category number. =0 indicates background. =1, indicating the The target prior image is matched to the target images, and the category of the target image is ; Indicates The corresponding categories of the target prior images are The predicted probability of Represented as a positive sample, the first half of the formula is the loss of the positive sample, that is, the loss classified as a certain category (excluding the background), Represented as a negative sample, the second half is the loss of the negative sample, that is, the loss of the background category; Indicates The corresponding categories of the target prior images are The predicted marginal probability of Indicates The probability that a target prior image is predicted to be background.
[0142] Of course, the calculation formula of the current confidence loss function can also be expressed as other variations or equivalent formulas of the above formula (2).
[0143] Exemplarily, the calculation formula of the position loss function can be expressed as:
[0144] (3)
[0145] in, and Represented as the center coordinates of the target prior image, Represented as the width of the target prior image; It is represented as the height of the target prior image; Represented as the bounding box of the target image; Represents the loss function, the full name is Smooth L1 Loss; Indicates The position prediction value of the bounding box corresponding to the target prior image; Indicates The position parameters of the target image.
[0146] Of course, the calculation formula of the current position loss function can also be expressed as other variations or equivalent formulas of the above formula (3).
[0147] In the embodiment of the present application, the abnormal state detection device can accurately mark which image samples do contain abnormal states of the transmission tower base through historical abnormal state detection result samples. These accurately marked images are used as positive samples, which are conducive to the model learning the characteristics of abnormal states. The abnormal state detection device uses positive samples and negative samples to jointly train the model. During the training process, by analyzing and adjusting the various components of the loss function, it is possible to deeply understand how the model makes decisions, which is conducive to further optimization and adjustment of the model to adapt to different application scenarios and needs.
[0148] In one embodiment, based on the above embodiment, Figure 8 FIG. 1 is a flow chart of abnormal state detection model training in one embodiment of the present application. Figure 8 As shown, the method may include the following steps.
[0149] S801, the abnormal state detection device obtains historical tower base image samples of the transmission tower.
[0150] S802, the abnormal state detection device extracts features from the historical tower base image samples of the transmission tower to obtain the historical tower base image samples of the transmission tower after feature extraction.
[0151] S803, the abnormal state detection device inputs the historical tower base image samples of the transmission tower after feature extraction into the initial abnormal state monitoring model to obtain historical abnormal state detection result samples.
[0152] S804, the abnormal state detection device determines positive samples and negative samples based on the historical tower base image samples and historical abnormal state detection result samples of the transmission tower after feature extraction.
[0153] S805, the abnormal state detection device calculates a loss function according to the positive samples and the negative samples, and updates the parameters of the initial abnormal state detection model according to the loss function to obtain the abnormal state detection model.
[0154] It should be noted that the achievable methods and technical effects of each step in the embodiments of the present application can refer to the relevant contents in the above embodiments and will not be repeated here.
[0155] In one embodiment, based on the above embodiment, Fig. 9 FIG. 1 is a schematic diagram of the overall process of a method for detecting abnormal state of a transmission tower in one embodiment of the present application. Fig. 9 As shown, the method may include the following steps.
[0156] S901, the abnormal state detection device obtains an initial tower base image of a transmission tower in an area to be detected.
[0157] S902, the abnormal state detection device performs image preprocessing on the initial tower base image to obtain a target tower base image of the transmission tower in the area to be detected.
[0158] The image preprocessing includes at least one of the following: image denoising, image enhancement, random cropping, random flipping, and photometric distortion.
[0159] S903, the abnormal state detection device performs a first feature extraction process on the target tower base image of the transmission tower to obtain a plurality of feature graphs.
[0160] Among them, different feature maps have different scales, so as to be used to detect objects of different scales in the target tower base image.
[0161] S904, the abnormal state detection device determines, for each feature map, a plurality of initial prior images of different sizes corresponding to the feature map, and determines a confidence value corresponding to each initial prior image.
[0162] S905, the abnormal state detection device compares and analyzes the confidence value corresponding to each initial prior image and the preset confidence threshold, and determines a plurality of target prior images of different sizes corresponding to the feature map from each initial prior image.
[0163] S906, the abnormal state detection device inputs each target prior image into a preset abnormal state detection model to obtain an abnormal state detection result of the transmission tower.
[0164] Among them, the abnormal state detection model is a model obtained by training the initial abnormal state detection model using historical tower base image samples and historical abnormal state detection result samples of the transmission tower.
[0165] S907, when the abnormal state detection result indicates that the tower base of the transmission tower is in an abnormal state, the abnormal state detection device outputs an alarm prompt message.
[0166] The alarm prompt information is used to indicate the type and / or level of abnormality.
[0167] It should be noted that the achievable methods and technical effects of each step in the embodiments of the present application can refer to the relevant contents in the above embodiments and will not be repeated here.
[0168] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0169] Based on the same inventive concept, the embodiment of the present application also provides a transmission pole tower abnormal state detection device for implementing the above-mentioned transmission pole tower abnormal state detection method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the embodiments of the abnormal state detection device for one or more transmission pole towers provided below can refer to the limitations of the abnormal state detection method for transmission pole towers above, and will not be repeated here.
[0170] In one embodiment, Fig.10 The structure diagram of the abnormal state detection device of the power transmission tower in one embodiment of the present application is shown in FIG. The abnormal state detection device of the power transmission tower provided in the embodiment of the present application can be applied to an abnormal state detection device, wherein the abnormal state detection device can be a terminal or a server. Fig.10 As shown, the abnormal state detection device of the transmission tower in the embodiment of the present application may include: an acquisition module 1001, a first feature extraction module 1002 and a first determination module 1003, wherein:
[0171] An acquisition module 1001 is used to acquire a target tower base image of a transmission tower in a to-be-detected area;
[0172] A first feature extraction module 1002 is used to perform a first feature extraction process on the target tower base image of the transmission tower to obtain a plurality of feature maps; wherein different feature maps have different scales, so as to be used to detect objects of different scales in the target tower base image;
[0173] The first determination module 1003 is used to obtain the abnormal state detection result of the transmission tower according to each feature graph and a preset abnormal state detection model; wherein the abnormal state detection model is a model obtained by training an initial abnormal state detection model using historical tower base image samples and historical abnormal state detection result samples of the transmission tower.
[0174] In one embodiment, the first determining module 1003 may include: a first determining unit and a second determining unit, wherein:
[0175] A first determining unit, used to determine a plurality of target prior images of different sizes corresponding to each feature map;
[0176] The second determination unit is used to input each target priori image into a preset abnormal state detection model to obtain an abnormal state detection result of the transmission tower.
[0177] In one embodiment, the first determining unit is specifically configured to:
[0178] For each feature map, determining a plurality of initial prior images of different sizes corresponding to the feature map, and determining a confidence value corresponding to each initial prior image;
[0179] The confidence value corresponding to each initial prior image is compared and analyzed with a preset confidence threshold, and a plurality of target prior images of different sizes corresponding to the feature map are determined from each initial prior image.
[0180] In one embodiment, the acquisition module 1001 is specifically used for:
[0181] Acquire an initial tower base image of a transmission tower in the area to be inspected;
[0182] The initial tower base image is subjected to image preprocessing to obtain a target tower base image of the transmission tower in the area to be detected; wherein the image preprocessing includes at least one of the following: image denoising, image enhancement, random cropping, random flipping, and photometric distortion.
[0183] In one embodiment, the abnormal state detection device of the transmission tower further includes a second feature extraction module and a second determination module, wherein:
[0184] The second feature extraction module is used to perform a second feature extraction process on the target tower base image of the transmission tower in the detection area to obtain a plurality of feature data of the target tower base image of the transmission tower;
[0185] The second determination module is used to input each feature data into a preset abnormality assessment model to obtain an abnormality level result of the tower base image of the transmission tower; wherein the abnormality level includes low risk, medium risk and high risk.
[0186] In one embodiment, the abnormal state detection device of the transmission tower further includes an output module, wherein:
[0187] The output module is used to output alarm prompt information when the abnormal state detection result indicates that the tower base of the transmission tower is in an abnormal state; wherein the alarm prompt information is used to indicate the type and / or abnormal level of the abnormal state.
[0188] In one embodiment, the second determining unit is specifically configured to:
[0189] The positive samples and negative samples are determined by using the historical tower base image samples and the historical abnormal state detection result samples of the transmission tower;
[0190] The initial abnormal state detection model is trained according to positive samples and negative samples to obtain the abnormal state detection model.
[0191] The abnormal state detection device for a transmission tower provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.
[0192] Each module in the abnormal state detection device for the transmission tower can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of the processor in the abnormal state detection device in the form of hardware, or can be stored in the memory in the abnormal state detection device in the form of software, so that the processor can call and execute the corresponding operations of each module.
[0193] In an exemplary embodiment, an abnormal state detection device is provided. The abnormal state detection device may be a server or a terminal. The internal structure diagram thereof may be as follows: Fig.11As shown. The abnormal state detection device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the abnormal state detection device is used to provide computing and control capabilities. The memory of the abnormal state detection device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the abnormal state detection device is used to store information such as the target tower base image to be processed, multiple feature maps, abnormal state detection models and abnormal state detection results. The input / output interface of the abnormal state detection device is used to exchange information between the processor and an external device. The communication interface of the abnormal state detection device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the abnormal state detection method of the transmission tower provided in the above embodiment of the present application is implemented.
[0194] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the abnormal state detection device to which the scheme of the present application is applied. The specific abnormal state detection device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0195] In one embodiment, an abnormal state detection device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the technical solution in the abnormal state detection method embodiment of the above-mentioned transmission tower of the present application is implemented, and its implementation principle and technical effect are similar and will not be repeated here.
[0196] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the technical solution in the above-mentioned abnormal state detection method of the transmission tower of the present application is implemented. The implementation principle and technical effect are similar and will not be repeated here.
[0197] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the technical solution in the above-mentioned abnormal state detection method of the transmission tower of the present application is implemented. The implementation principle and technical effect are similar and will not be repeated here.
[0198] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and 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 the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The processor involved in each embodiment provided in this application can be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, etc., but is not limited thereto.
[0199] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0200] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for detecting abnormal state of a transmission tower, characterized in that: The method comprises: Acquire a target tower base image of a transmission tower in the area to be inspected; Performing a first feature extraction process on the target tower base image of the transmission tower to obtain a plurality of feature maps; wherein different feature maps have different scales, so as to be used to detect objects of different scales in the target tower base image; According to each of the feature graphs and a preset abnormal state detection model, an abnormal state detection result of the transmission tower is obtained; wherein the abnormal state detection model is a model obtained by training an initial abnormal state detection model using historical tower base image samples and historical abnormal state detection result samples of the transmission tower.
2. The method according to claim 1, characterized in that The step of obtaining the abnormal state detection result of the transmission tower according to each of the characteristic graphs and a preset abnormal state detection model includes: Determine a plurality of target prior images of different sizes corresponding to each of the feature maps; Each of the target priori images is input into the preset abnormal state detection model to obtain the abnormal state detection result of the transmission tower.
3. The method according to claim 2, characterized in that The determining of a plurality of target prior images of different sizes corresponding to each of the feature maps comprises: For each of the feature maps, determining a plurality of initial prior images of different sizes corresponding to the feature map, and determining a confidence value corresponding to each of the initial prior images; The confidence value corresponding to each of the initial prior images is compared and analyzed with a preset confidence threshold, and a plurality of target prior images of different sizes corresponding to the feature map are determined from each of the initial prior images.
4. The method according to any one of claims 1 to 3, characterized in that The step of acquiring a target tower base image of a transmission tower in a to-be-detected area includes: Acquire an initial tower base image of the transmission tower in the area to be detected; The initial tower base image is subjected to image preprocessing to obtain a target tower base image of the transmission tower in the area to be detected; wherein the image preprocessing includes at least one of the following: image denoising, image enhancement, random cropping, random flipping, and photometric distortion.
5. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Performing a second feature extraction process on the target tower base image of the transmission tower in the area to be detected to obtain a plurality of feature data of the target tower base image of the transmission tower; Each of the feature data is input into a preset anomaly assessment model to obtain an anomaly level result of the tower base image of the transmission tower; wherein the anomaly level includes low risk, medium risk and high risk.
6. The method according to any one of claims 1 to 3, characterized in that The method further comprises: When the abnormal state detection result indicates that the tower base of the transmission tower is in an abnormal state, an alarm prompt information is output; wherein the alarm prompt information is used to indicate the type and / or abnormal level of the abnormal state.
7. The method according to any one of claims 1 to 3, characterized in that The method of acquiring the abnormal state detection model includes: Determine positive samples and negative samples using historical tower base image samples and historical abnormal state detection result samples of the transmission tower; The initial abnormal state detection model is trained according to the positive samples and the negative samples to obtain the abnormal state detection model.
8. A device for detecting abnormal state of a transmission tower, characterized in that: The device comprises: An acquisition module, used to acquire a target tower base image of a transmission tower in a to-be-detected area; A feature extraction module, used for performing a first feature extraction process on the target tower base image of the transmission tower to obtain a plurality of feature maps; wherein different feature maps have different scales, so as to be used for detecting objects of different scales in the target tower base image; A determination module is used to obtain the abnormal state detection result of the transmission tower according to each of the feature graphs and a preset abnormal state detection model; wherein the abnormal state detection model is a model obtained by training an initial abnormal state detection model using historical tower base image samples and historical abnormal state detection result samples of the transmission tower.
9. An abnormal state detection device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
