Insulator defect detection method and system, unmanned aerial vehicle and storage medium

By using a detection model based on the HGNetV2 network and depth-separable convolution in insulator detection, combined with the partial convolution layer method, the problem of poor real-time performance of insulator detection in the existing technology is solved, and real-time detection of insulator defects and power generation are achieved. Improvement of system security.

CN118747745APending Publication Date: 2024-10-08FUJIAN UNIV OF TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410887549.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-03
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

The insulator target detection algorithm in the existing technology has poor real-time performance and is difficult to detect insulator faults in the power system in a timely manner, resulting in greater safety hazards in the power system.

Method used

A detection model based on the HGNetV2 network and depth-separable convolution is used, and some convolution layers are combined to build a detection head. Real-time defect detection is performed through images collected by drones, which reduces network complexity and improves detection efficiency.

Benefits of technology

Real-time detection of insulator defects is achieved, detection efficiency and accuracy are improved, and the safety of the power system is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118747745A_ABST
    Figure CN118747745A_ABST
Patent Text Reader

Abstract

The invention relates to the field of image processing, and provides an insulator defect detection method and system, an unmanned aerial vehicle and a storage medium, and the method comprises the steps: receiving a target image collected by an image collection device of the unmanned aerial vehicle, and the target image comprises an image of a to-be-detected insulator; the target image is input into a preset detection model for defect detection, a detection result output by the detection model is obtained, and the detection result at least comprises defect information of the insulator to be detected; a backbone network of the detection model is constructed based on an HGNetV2 network and depth separable convolution, and a detection head in the detection model is constructed based on a part of convolutional layers; and when determining that the defect information accords with a set alarm index, outputting alarm information. The method and the device are used for overcoming the defects that the real-time performance is poor and the insulator fault is difficult to detect in time when the insulator target detection is carried out in the prior art, and the scheme can identify the defect position of the insulator in real time and effectively prevent the occurrence of the power grid fault.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to an insulator defect detection method and system, a drone, and a storage medium. Background Art

[0002] Electricity is an extremely important energy source in production and life. Ensuring the safe, stable and reliable operation of the power grid is crucial to the entire power system. However, complex power systems are bound to have various faults, and among them, safety accidents caused by insulator failures account for the highest proportion. This is because insulators are exposed to harsh natural environments such as rain, snow, and sun for a long time, which causes defects in insulators and thus affects their service life.

[0003] At present, there are some insulator target detection algorithms based on deep learning. The relevant insulator target detection algorithms are generally improved on the basis of the YOLOv8s model. The captured image is passed through the candidate box generation network to obtain a large number of suggestion boxes, and then the insulators and defect positions are located from these suggestion boxes. The calculation complexity is high and the real-time performance is poor. It is difficult to detect the insulator failure problem of the power system in time, resulting in a large safety hazard in the power system. Summary of the invention

[0004] The present invention provides an insulator defect detection method and system, a drone, and a storage medium, which are used to solve the problem that the real-time performance of insulator target detection in the prior art is poor and it is difficult to detect the defects of insulator faults in time. The present solution can identify the defective position of the insulator in real time and effectively prevent the occurrence of power grid faults.

[0005] The present invention provides an insulator defect detection method, comprising:

[0006] Receiving a target image acquired by an image acquisition device of the UAV, wherein the target image includes an image of an insulator to be detected;

[0007] Input the target image into a preset detection model for defect detection, and obtain the detection result output by the detection model, wherein the detection result at least includes the defect information of the insulator to be tested; the backbone network of the detection model is constructed based on the HGNetV2 network and the deep separable convolution, and the detection head in the detection model is constructed based on some convolutional layers;

[0008] When it is determined that the defect information meets the set alarm indicators, the alarm information is output.

[0009] According to the insulator defect detection method provided by the present invention, the backbone network of the detection model includes a first part, a second part, a third part and a fourth part, and the first part, the second part, the third part and the fourth part include at least one feature extraction layer and zero or one depth-separable convolutional layer.

[0010] According to the insulator defect detection method provided by the present invention, the neck network of the detection model is constructed in the following manner:

[0011] Form a feature fusion layer based on a bidirectional feature pyramid network;

[0012] Neck network using feature fusion layer as detection model.

[0013] According to the insulator defect detection method provided by the present invention, the detection model includes a plurality of detection heads, each of which includes at least two partial convolution layers of size 3×3 and one loss function layer.

[0014] According to the insulator defect detection method provided by the present invention, the number of detection heads is three, and the three detection heads output feature maps of different sizes.

[0015] According to the insulator defect detection method provided by the present invention, the detection head includes a first branch and a second branch;

[0016] The first branch consists of two partial convolutional layers of size 3×3 and a regression loss layer;

[0017] The second branch consists of two partial convolutional layers of size 3×3 and a classification loss layer.

[0018] According to the insulator defect detection method provided by the present invention, the number of channels of the feature fusion layer is 256.

[0019] The present invention also provides an insulator defect detection system, comprising:

[0020] An image receiving module, used for receiving a target image acquired by an image acquisition device of the UAV, wherein the target image includes an image of an insulator to be detected;

[0021] The defect detection module is used to input the target image into a preset detection model for defect detection, and obtain the detection result output by the detection model; wherein the detection result at least includes the defect information of the insulator to be tested; the backbone network of the detection model is constructed based on the HGNetV2 network and the deep separable convolution, and the detection head in the detection model is constructed based on some convolutional layers;

[0022] The alarm module is used to output alarm information when it is determined that the defect information meets the set alarm indicators.

[0023] The present invention also provides an unmanned aerial vehicle, comprising any one of the above-mentioned insulator defect detection systems.

[0024] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the computer program implements any of the above-mentioned insulator defect detection methods.

[0025] The present invention also provides a computer program product, comprising a computer program, and when the computer program is executed by a processor, the computer program implements any of the above-mentioned insulator defect detection methods.

[0026] In the insulator defect detection method provided in the present application, a detection model can be pre-constructed. In the detection model, a backbone network is constructed based on a lightweight HGNetV2 network, which simplifies the network model and reduces the complexity of the network. At the same time, a detection head is constructed through partial convolutional layers. Since the computational complexity of some convolutional layers is small, the detection model can have a higher detection efficiency. In this way, after receiving the image collected by the drone, the defects of the insulator can be detected in a very short time based on the pre-constructed detection model, thereby achieving the technical effect of real-time detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 is a flow chart of a method for detecting insulator defects provided by an embodiment of the present invention;

[0029] Figure 2 is a schematic diagram of the structure of a detection model provided by an embodiment of the present invention;

[0030] Figure 3 It is one of the structural diagrams of the backbone network provided by the embodiment of the present invention;

[0031] Figure 4 This is the second structural diagram of the backbone network provided by the embodiment of the present invention;

[0032] Figure 5 is a schematic diagram of the structure of a feature fusion layer provided in an embodiment of the present invention;

[0033] Figure 6 is a schematic structural diagram of a detection head provided by an embodiment of the present invention;

[0034] Figure 7 is a schematic structural diagram of an insulator defect detection system provided by an embodiment of the present invention;

[0035] Figure 8It is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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.

[0037] Figure 1 It is a flow chart of a method for detecting insulator defects provided by an embodiment of the present invention.

[0038] like Figure 1 As shown, this embodiment provides an insulator defect detection method, including:

[0039] Step 101, receiving a target image acquired by an image acquisition device of a drone, wherein the target image includes an image of an insulator to be detected;

[0040] Insulators are devices installed between conductors at different potentials or between conductors and grounded structures, which can withstand voltage and mechanical stress.

[0041] In practical applications, the target image can be acquired by a camera installed on a drone. Specifically, when the drone is performing a transmission line inspection mission, it can take pictures of the insulators to be inspected.

[0042] Step 102, inputting the target image into a preset detection model for defect detection, and obtaining the detection result output by the detection model, wherein the detection result at least includes the defect information of the insulator to be tested; the backbone network of the detection model is constructed based on the HGNetV2 network and the depth-separable convolution, and the detection head in the detection model is constructed based on some convolutional layers;

[0043] In implementation, the detection model can be pre-built and stored in the information processing component inside the drone. When the drone captures the target image, the target image can be sent to the information processing component as soon as possible, and the information processing component performs real-time defect detection on the insulator in the target image based on the detection model. In practical applications, the information processing component can be the operating system inside the drone. Since the complexity of the detection model provided in this embodiment is relatively low, the defect detection work can be completed at a relatively fast speed, so real-time detection of defects in the insulator can be achieved.

[0044] In practical applications, the defect detection output of the YOLOv8s model is a tensor containing prediction information. This tensor contains the network's prediction results for the insulators and their defects in the image. The prediction results include bounding box coordinates, confidence scores, and class probabilities. The final prediction results are superimposed on the input image by drawing bounding boxes and labels to generate a visual detection image.

[0045] HGNetV2 is a common backbone network in related technologies. It adopts advanced technologies such as multi-scale feature fusion, efficient pyramid structure, and introduces attention mechanism. It has powerful feature extraction capabilities, high computing efficiency and good generalization capabilities. The solution in this embodiment is to improve the basic HGNetV2 network based on deep separable convolution to obtain the backbone network of the detection model in the solution of this application.

[0046] The basic principle of the partial convolution layer (PConv) is to utilize the redundancy of the input feature map to reduce the amount of calculation and memory access. Compared with the traditional convolution operation, the partial convolution method can reduce the computational complexity and reduce memory access. In the scheme of this embodiment, the constructed detection model can have lower complexity and faster calculation speed.

[0047] Step 103: When it is determined that the defect information meets the set alarm index, output alarm information.

[0048] In summary, in the insulator defect detection method provided in this embodiment, a detection model can be pre-constructed. The detection model builds a backbone network based on a lightweight HGNetV2 network, simplifies the network model, reduces the complexity of the network, and constructs a detection head through partial convolutional layers. Since the computational complexity of some convolutional layers is small, the detection model can have a higher detection efficiency. In this way, after receiving the image collected by the drone, the defects of the insulator can be detected in a very short time based on the pre-constructed detection model, thereby achieving the technical effect of real-time detection.

[0049] In the exemplary embodiment, since the setting of the learning rate during the training process of the model will affect the convergence speed of the model, and thus affect the effect of the model, in this embodiment, after the detection model is constructed, during the training process of the detection model, the learning rate of the model can be automatically adjusted by the following formula, and the learning rate can be controlled by a very effective calculation method:

[0050]

[0051] where μ max Represents the maximum value of the learning rate, μ minIndicates the minimum value of the learning rate. During the model training process, the learning rate fluctuates between the maximum and minimum values. cur Indicates the number of rounds of model training, T i Represents the total number of rounds of the i-th training.

[0052] Figure 2 It is a schematic diagram of the structure of the detection model provided by an embodiment of the present invention.

[0053] Figure 3 This is one of the structural diagrams of the backbone network provided by the embodiment of the present invention.

[0054] Figure 4 This is the second structural diagram of the backbone network provided by the embodiment of the present invention.

[0055] In practical applications, Figure 4 An implementation method of a feature extraction layer is illustrated.

[0056] like Figure 2 and Figure 3 As shown, in an exemplary embodiment, the backbone network of the detection model includes a first part, a second part, a third part and a fourth part, and the first part, the second part, the third part and the fourth part include at least one feature extraction layer, and include zero or one depth-separable convolutional layer.

[0057] The feature extraction layer in this embodiment may be an HG Block layer, where “HG” stands for “Hourglass” in English. This is a feature extraction module that is designed to process data in a hierarchical manner so that the network can obtain richer information from low-level and high-level features, thereby improving the model's ability to detect targets of different scales.

[0058] in addition Figure 2 CBS refers to the Convolutions Bn SiLU module, Upsample refers to the upsampling layer, Concat refers to the connection layer, C2f refers to the feature conversion layer, and Detect refers to the detection head.

[0059] The HGNetV2 network in the related art is mainly composed of a downsampling layer (LDS Layer) and an HG-block layer, see Figure 3 As shown, in the solution of this embodiment, the downsampling layer is replaced by a deep separable convolutional layer (DWConv), that is, the feature extraction network provided in the solution of this embodiment is mainly composed of a separable convolutional layer and a HG-block layer.

[0060] Specifically, if Figure 3As shown, the first part of the backbone network may include an HG-block layer, the second part may include a depthwise separable convolution layer and an HG-bloc layer, the third part may include a depthwise separable convolution layer and three HG-block layers, and the fourth part may include a depthwise separable convolution layer and an HG-block layer.

[0061] In practical applications, the separable convolution layer in the scheme of this embodiment mainly includes channel-by-channel convolution (DepthwiseConvolution) and point-by-point convolution (PointwiseConvolution); the convolution kernel size of the channel-by-channel convolution can be positioned as W×H, and the channel-by-channel convolution process of the input image is to convolve each channel of the image separately on a two-dimensional plane, and obtain the mutually independent first feature map by calculating the amount of WXHXC, where C is the number of channels of the image. In this embodiment, the channel-by-channel convolution process of the input image is to convolve each channel of the image separately, which is an operation on a two-dimensional plane, and the amount of calculation is WXHXC, where C is the number of channels of the image, and the number of channels for general color images is usually 3.

[0062] The convolution kernel size in the point-by-point convolution process can be positioned as 1×1×C. Point-by-point convolution can be used to combine the first feature maps constructed above and perform weighted combination in the depth direction to generate a second feature map and output it.

[0063] In implementation, according to Figure 3 As shown, several feature maps of different sizes can be obtained based on several detection heads in the detection head unit. For example, a feature map with a size of 20×20×512, a feature map with a size of 40×40×512, and a feature map with a size of 80×80×256 can be obtained. Feature maps of different sizes can be used for defect detection of target images of different sizes. Specifically, since the proportion of insulators in the target image may be different, when the proportion of the insulator in the target image is relatively small, the insulator can be considered to be a small target. At this time, the output feature map corresponding to the insulator can be enlarged as much as possible, for example, a feature map with a size of 80×80×256 can be output accordingly. In this way, the details of the insulator can be magnified as much as possible to improve the accuracy of defect detection.

[0064] When the detection model is actually applied to insulator defect detection, the received target image can be used as the input image of the detection model, and the operating parameters of the detection model can be set. Then, the performance of the detection model can be evaluated through parameters such as algorithm precision, recall rate, AP, and mAP. After that, the detection model is run to detect the target image and finally the detection result of the insulator defect is output.

[0065] The precision rate indicates the probability of accurate detection of insulator defects in the detection area, the recall rate indicates how many insulator targets are detected in the detection image, AP (AverageAccuracy) measures the learning quality of the model in each category, and mAP (MeanAverageAccuracy) measures the quality of the trained model in all categories. mAP means the average value of AP in all categories. The specific calculation formulas are shown in (1)-(4):

[0066]

[0067] Where P(r) is the precision of the recall measurement, N is the number of target categories, TP is the number of insulators predicted correctly by the model, FP is the number of samples that identify non-defective insulators as defective insulators, and FN is the number of samples that identify defective insulators as non-defective insulators.

[0068] Experimental verification shows that the solution of this embodiment improves the precision, recall and mAP by 6.2%, 15.3% and 10.6% respectively compared with the YOLOv8s model in the related art, verifying the effectiveness of the detection model.

[0069] Figure 5 It is a structural schematic diagram of the feature fusion layer provided in an embodiment of the present invention.

[0070] like Figure 5 As shown, in the exemplary embodiment, the neck network of the detection model is constructed as follows:

[0071] Form a feature fusion layer based on a bidirectional feature pyramid network;

[0072] Neck network using feature fusion layer as detection model.

[0073] In practical applications, the bidirectional feature pyramid network (BiFPN-P) is a neural network architecture used for target detection and segmentation tasks in computer vision related technologies. It fuses the up- and down-sampled feature maps layer by layer and introduces horizontal and vertical connections, so that features of different scales can be better integrated and utilized. This can reduce the complexity of the model while maintaining the accuracy of the model, so that the detection model can achieve real-time and accurate insulator defect detection.

[0074] In implementation, such as Figure 5As shown in the figure, in the feature fusion layer, only P3, P4, and P5 channels are retained as the output of the feature map, and the P2 feature layer of the backbone network is convolved again to obtain the P3 feature layer, and then the three P3 feature layers of the neck network are fused. At the same time, in order to avoid excessive model calculation overhead, the number of all channels of BiFPN-P is set to 256. BiFPN-P can fuse multi-scale feature images and further improve the network's detection effect on targets of different scales. Specifically, a connection node can be used as a small unit, and different nodes can be connected by concatenation through the jump connection structure within the unit. For example, P2 in With P3 td and P3 in After splicing and rearranging, new features can be formed, and nonlinear excitation is added to the learning of the previous layer to obtain the output P2 of this node td The jump connection structure disclosed in this embodiment can not only reconstruct the features, but also increase the number of channels, maintain the balance of the original number of channels in the detection model, and further improve the feature fusion capability of the feature pyramid.

[0075] Figure 6 It is a schematic diagram of the structure of the detection head provided by an embodiment of the present invention.

[0076] like Figure 6 As shown, in the exemplary embodiment, the detection model includes several detection heads, each of which includes at least two partial convolutional layers of size 3×3 and one loss function layer.

[0077] In practical applications, the number of detection heads can be three, and the three detection heads output feature maps of different sizes.

[0078] In practical applications, such as Figure 6 As shown, the convolution kernel size of some convolutional layers can be 3, the number of steps for each movement can be 1, and the number of 0s filled on both sides can be 1.

[0079] In addition, it can be seen that in the detection head, a loss function layer is set after the two partial convolution layers. The main function of this loss function layer is to evaluate the accuracy of the detection model and provide feedback to the detection model based on the evaluation results and guide the detection model to update.

[0080] In an exemplary embodiment, the detection head includes a first branch and a second branch;

[0081] The first branch consists of two partial convolutional layers of size 3×3 and a regression loss layer;

[0082] The second branch consists of two partial convolutional layers of size 3×3 and a classification loss layer.

[0083] In an exemplary embodiment, the number of channels of the feature fusion layer is 256.

[0084] In practical applications, by setting the number of channels of the feature fusion layer to 256, it is possible to avoid excessive overhead in the calculation process of the detection model, which affects the efficiency of insulator defect detection. In implementation, the number of channels can also be set to other numbers according to actual conditions, and there is no restriction on this in this embodiment.

[0085] The insulator defect detection system provided by the present invention is described below. The insulator defect detection system described below and the insulator defect detection method described above can be referenced to each other.

[0086] Figure 7 It is a structural schematic diagram of an insulator defect detection system provided by an embodiment of the present invention.

[0087] like Figure 7 As shown, the insulator defect detection system provided in this embodiment includes:

[0088] An image receiving module 701 is used to receive a target image acquired by an image acquisition device of a drone, wherein the target image includes an image of an insulator to be detected;

[0089] The defect detection module 702 is used to input the target image into a preset detection model for defect detection, and obtain the detection result output by the detection model; wherein the detection result at least includes the defect information of the insulator to be tested; the backbone network of the detection model is constructed based on the HGNetV2 network and the deep separable convolution, and the detection head in the detection model is constructed based on some convolution layers;

[0090] The alarm module 703 is used to output alarm information when it is determined that the defect information meets the set alarm index.

[0091] The specific implementation method of the insulator defect detection system provided in this embodiment can be implemented with reference to the above embodiment, and will not be repeated here.

[0092] Figure 8 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 8 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication interface 820 and the memory 830 communicate with each other through the communication bus 840. The processor 810 may call the logic instructions in the memory 830 to execute the insulator defect detection method, which includes:

[0093] Receiving a target image acquired by an image acquisition device of the UAV, wherein the target image includes an image of an insulator to be detected;

[0094] Input the target image into a preset detection model for defect detection, and obtain the detection result output by the detection model, wherein the detection result at least includes the defect information of the insulator to be tested; the backbone network of the detection model is constructed based on the HGNetV2 network and the deep separable convolution, and the detection head in the detection model is constructed based on some convolutional layers;

[0095] When it is determined that the defect information meets the set alarm indicators, the alarm information is output.

[0096] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk, etc. Various media that can store program codes.

[0097] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the insulator defect detection method provided by the above methods, the method comprising:

[0098] Receiving a target image acquired by an image acquisition device of the UAV, wherein the target image includes an image of an insulator to be detected;

[0099] Input the target image into a preset detection model for defect detection, and obtain the detection result output by the detection model, wherein the detection result at least includes the defect information of the insulator to be tested; the backbone network of the detection model is constructed based on the HGNetV2 network and the deep separable convolution, and the detection head in the detection model is constructed based on some convolutional layers;

[0100] When it is determined that the defect information meets the set alarm indicators, the alarm information is output.

[0101] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for detecting insulator defects provided by the above methods is implemented, and the method comprises:

[0102] Receiving a target image acquired by an image acquisition device of the UAV, wherein the target image includes an image of an insulator to be detected;

[0103] Input the target image into a preset detection model for defect detection, and obtain the detection result output by the detection model, wherein the detection result at least includes the defect information of the insulator to be tested; the backbone network of the detection model is constructed based on the HGNetV2 network and the deep separable convolution, and the detection head in the detection model is constructed based on some convolutional layers;

[0104] When it is determined that the defect information meets the set alarm indicators, the alarm information is output.

[0105] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.

[0106] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0107] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for detecting insulator defects, applied to unmanned aerial vehicles, characterized in that: include: Receiving a target image acquired by an image acquisition device of the UAV, wherein the target image includes an image of an insulator to be detected; The target image is input into a preset detection model for defect detection, and a detection result output by the detection model is obtained, wherein the detection result at least includes defect information of the insulator to be tested; the backbone network of the detection model is constructed based on the HGNetV2 network and the depth-separable convolution, and the detection head in the detection model is constructed based on a partial convolution layer; When it is determined that the defect information meets the set alarm index, the alarm information is output.

2. The detection method according to claim 1, characterized in that: The backbone network of the detection model includes a first part, a second part, a third part and a fourth part, wherein the first part, the second part, the third part and the fourth part include at least one feature extraction layer and zero or one depth-separable convolutional layer.

3. The detection method according to claim 1, characterized in that: The neck network of the detection model is constructed as follows: Form a feature fusion layer based on a bidirectional feature pyramid network; The feature fusion layer is used as the neck network of the detection model.

4. The detection method according to claim 1, characterized in that: The detection model includes a plurality of detection heads, each of which includes at least two partial convolutional layers of size 3×3 and a loss function layer.

5. The detection method according to claim 4, characterized in that: The number of the detection heads is three, and the three detection heads output feature maps of different sizes.

6. The detection method according to claim 4, characterized in that: The detection head includes a first branch and a second branch; The first branch includes two partial convolutional layers of size 3×3 and a regression loss layer; The second branch includes two partial convolutional layers of size 3×3 and a classification loss layer.

7. The detection method according to claim 3, characterized in that: The number of channels of the feature fusion layer is 256.

8. An insulator defect detection system, characterized in that: include: An image receiving module, used for receiving a target image acquired by an image acquisition device of the UAV, wherein the target image includes an image of an insulator to be detected; A defect detection module, used for inputting the target image into a preset detection model for defect detection, and obtaining a detection result output by the detection model; wherein the detection result at least includes the defect information of the insulator to be tested; the backbone network of the detection model is constructed based on the HGNetV2 network and the depth-separable convolution, and the detection head in the detection model is constructed based on a partial convolution layer; The alarm module is used to output alarm information when it is determined that the defect information meets the set alarm index.

9. A drone, characterized in that A system for detecting insulator defects comprising the insulator defect detection system as claimed in claim 8.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for detecting insulator defects according to any one of claims 1 to 5 is implemented.

Citation Information

Cited By

  • Pipeline defect detection method based on machine learning and detection robot

    CN121708012A