Power transmission channel foreign matter detection method and system based on image cutting, medium and equipment

By using a graph-cutting method in the power transmission channel, segmenting the conductor and tower areas, and combining the detection results with the foreign object detection model, the problem of poor wire foreign object detection in the existing technology is solved, and accurate detection of small targets in the power transmission channel is achieved. Positioning and efficient detection.

CN118736263APending Publication Date: 2024-10-01JINAN XINTONG ELECTRIC TECH CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

In the existing technology, due to the small size and various types, shapes and colors of foreign objects in wires in power transmission channels, the target detection effect is poor, making it difficult to detect hidden dangers in time, resulting in an increased risk of power outage accidents.

Method used

A method based on cutting is used to obtain the transmission channel image, determine the position information of the tower and conductors, cut the conductor area and tower area, process the cut pictures respectively, and combine the detection results with the foreign object detection model, using NMS The algorithm eliminates redundant detection results and improves detection accuracy.

Benefits of technology

It achieves precise positioning of small targets in power transmission scenarios, improves the detection rate and detection efficiency of foreign objects in wires, effectively improves the detection capability of diverse foreign objects, reduces redundant detection results, and improves detection accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736263A_ABST
    Figure CN118736263A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of power transmission channel foreign matter detection, and provides a power transmission channel foreign matter detection method and system based on image cutting, a medium and equipment. In order to solve the problems that an existing target detection algorithm is poor in performance, hidden danger checking work is difficult, and wire foreign matter is difficult to find in time, the power transmission channel foreign matter detection method based on image cutting comprises the steps that a power transmission channel image is obtained, and position information of a tower and a wire is determined; performing image cutting on the power transmission channel image in combination with a lead area image cutting strategy and a tower area image cutting strategy to obtain a tower area image and a lead area image; and the tower region picture and the wire region picture are processed by using the foreign matter detection model, foreign matter detection results of the corresponding regions are obtained and fused, a foreign matter detection result is finally obtained, and the small target in the power transmission scene can be accurately positioned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of foreign body detection in power transmission channels, and in particular, relates to a method, system, medium and equipment for detecting foreign body in power transmission channels based on cutting graphs. Background Art

[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.

[0003] Due to the lack of maintenance on the construction site, dust screens and plastic films in the construction site are easily blown up. Under the influence of strong winds, they are likely to be hung on the wires or towers, causing power outages. Therefore, it is essential to regularly detect the working status of the transmission channel and monitor foreign objects on the wires in the transmission channel.

[0004] At present, the inspection and investigation of foreign objects in conductors in transmission channels mainly involves real-time collection of images of the transmission channels by monitoring devices, and the use of a combination of deep learning-based target detection and manual review to detect hidden dangers.

[0005] The prior art proposes to use a deep learning model to build a foreign object detection model, and to detect foreign objects in wires by using the transmission line monitoring equipment and drone inspection equipment to take pictures of power transmission in real time, and directly feed back the detection results. Since the monitoring camera equipment in the transmission channel has a wide shooting range, and the foreign objects in the wires in the transmission channel in the pictures are small (for example: the resolution of the transmission channel monitoring picture is 2592*1944, and the minimum external rectangular frame size of most foreign objects in the wires is 16*32, so the proportion of foreign objects in the wires is small, making the target not obvious enough), the direct detection effect of the transmission scene pictures using the deep learning target detection model is poor. In addition, due to the diversity of types, shapes and colors of foreign objects, the performance of the existing target detection algorithm is poor, which brings difficulties to the hidden danger investigation work and makes it difficult to detect foreign objects in the wires in time. Summary of the invention

[0006] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a method, system, medium and equipment for detecting foreign objects in a power transmission channel based on cutting graph, which can realize accurate positioning of small targets in the power transmission scene.

[0007] In order to achieve the above object, the present invention adopts the following technical solution:

[0008] A first aspect of the present invention provides a method for detecting foreign matter in a power transmission channel based on graph cutting.

[0009] A method for detecting foreign matter in a power transmission channel based on cutting graph, comprising:

[0010] Obtain transmission channel images and determine the location information of towers and conductors;

[0011] According to the location information of the pole tower and the conductor, determine the conductor area cutting strategy and the pole tower area cutting strategy, cut the transmission channel image respectively, and obtain the pole tower area image and the conductor area image;

[0012] The foreign object detection model is used to process the tower area images and the conductor area images respectively to obtain the foreign object detection results of the corresponding areas. The foreign object detection results are then fused to obtain the foreign object detection results of the transmission channel.

[0013] As an implementation method, the wire area cutting strategy is:

[0014] According to the position information of the wire, the central axis of the wires on both sides is determined, and two wire areas are divided, and the overlapping pixels of the two wire areas are equal to the preset small target pixels;

[0015] The horizontal coordinate of each wire area close to the opposite side is: the difference between the horizontal coordinate of the central axis and 1 / 2 times the preset small target pixel;

[0016] The horizontal coordinate of each wire area away from the opposite side is: the maximum value between the coordinate value of the second threshold pixel of the horizontal coordinate of each wire area close to the opposite side translated to the respective side and the horizontal coordinate value of the outermost wire of each wire area; wherein the second threshold pixel is determined by the foreign body detection model;

[0017] The ordinate of each conductor area is: the boundary value of the conductor in each conductor area in the ordinate direction.

[0018] The advantage of the above technical solution is that it combines the position information of the wire and the foreign object detection model, and also sets the overlapping area pixels of the two wire areas as preset small target pixels, which can ensure both the small target detection rate and the foreign object detection accuracy.

[0019] As an implementation method, the tower area cutting strategy is:

[0020] The vertical coordinate of the bottom of the tower area is: the vertical coordinate of the bottom position of the tower;

[0021] The top vertical coordinate of the tower area is: the maximum value of the vertical coordinate of the top of the tower area and the vertical coordinate of the bottom of the tower area translated upward by the second threshold pixel;

[0022] A horizontal coordinate of the bottom of the tower area is: the maximum value between the coordinate value of the center point of the bottom of the tower translated to the right by the second threshold pixel and the horizontal coordinate value of the right edge of the bottom of the tower;

[0023] Another horizontal coordinate of the bottom of the tower area is: the minimum value between the coordinate value of the center point of the bottom of the tower translated to the left by the second threshold pixel and the horizontal coordinate value of the left edge of the bottom of the tower;

[0024] A horizontal coordinate of the top of the tower area is: the maximum value between the coordinate value of the horizontal coordinate on the right side of the bottom of the tower area translated upward by the second threshold pixel and the horizontal coordinate value of the right edge of the top of the tower;

[0025] Another horizontal coordinate of the top of the tower area is: the minimum value between the coordinate value of the left horizontal coordinate of the bottom of the tower area translated upward by the second threshold pixel and the horizontal coordinate value of the left edge of the top of the tower;

[0026] The second threshold pixel is determined by a foreign body detection model.

[0027] The advantage of the above technical solution is that the image is cut in combination with the location information of the tower and the input pixel requirements of the foreign object detection model, which can effectively detect foreign objects and achieve accurate positioning of small targets in the power transmission scene.

[0028] As an implementation method, the process of determining the location information of the tower and the conductor is as follows:

[0029] According to the scene information corresponding to the transmission channel image;

[0030] Determine whether the location of the tower and conductor in the current scene exists in the scene database:

[0031] If it does not exist, the target detection model is used to generate the location information of the conductor and tower in the current scene;

[0032] Otherwise, the location information of the wire and the pole tower in the current scene is found from the scene database; wherein the location information of the pole tower and the wire with the scene as a label is pre-stored in the scene database.

[0033] The advantage of the above technical solution is that pole towers and conductors are easier to locate than foreign objects on conductors. Determining the positions of pole towers and conductors is conducive to reducing the search range for foreign objects on conductors and improving the accuracy of detecting foreign objects on conductors.

[0034] As an implementation manner, the target detection model includes a wire detection model and a pole tower detection model, and the wire detection model and the pole tower detection model have the same backbone network structure.

[0035] As an implementation method, in the process of fusing foreign body detection results of different regions, the NMS algorithm is used to eliminate redundant detection results obtained after conversion and merging of different regions to obtain the detection result of the entire image.

[0036] The advantage of the above technical solution is that since overlapping areas are set when cutting images, redundant detection results will inevitably appear. By eliminating redundant detection results, the detection results of foreign objects in the wires are improved.

[0037] As an implementation manner, the preset small target pixel is 32.

[0038] It is understandable here that those skilled in the art can set the small target pixel value size according to actual needs.

[0039] A second aspect of the present invention provides a power transmission channel foreign body detection system based on cutting graph.

[0040] In one or more embodiments, a power transmission channel foreign body detection system based on cutting graph includes:

[0041] Surveillance equipment and monitoring platforms;

[0042] The monitoring equipment includes:

[0043] A location determination module is used to obtain images of the transmission channel and determine the location information of the tower and the conductor;

[0044] A regional image cutting module, which is used to determine the wire area image cutting strategy and the pole area image cutting strategy according to the position information of the pole tower and the wire, and to cut the transmission channel image respectively to obtain the pole tower area image and the wire area image;

[0045] The foreign object detection module is used to use the foreign object detection model to process the tower area image and the conductor area image respectively, obtain the foreign object detection results of the corresponding areas, and fuse the foreign object detection results to obtain the foreign object detection results of the transmission channel and transmit them to the monitoring platform.

[0046] As an implementation manner, in the area cutting module, the wire area cutting strategy is:

[0047] According to the position information of the wire, the central axis of the wires on both sides is determined, and two wire areas are divided, and the overlapping pixels of the two wire areas are equal to the preset small target pixels;

[0048] The horizontal coordinate of each wire area close to the opposite side is: the difference between the horizontal coordinate of the central axis and 1 / 2 times the preset small target pixel;

[0049] The horizontal coordinate of each wire area away from the opposite side is: the maximum value between the coordinate value of the second threshold pixel of the horizontal coordinate of each wire area close to the opposite side translated to the respective side and the horizontal coordinate value of the outermost wire of each wire area; wherein the second threshold pixel is determined by the foreign body detection model;

[0050] The ordinate of each conductor area is: the boundary value of the conductor in each conductor area in the ordinate direction.

[0051] As an implementation manner, in the area cutting module, the tower area cutting strategy is:

[0052] The vertical coordinate of the bottom of the tower area is: the vertical coordinate of the bottom position of the tower;

[0053] The top vertical coordinate of the tower area is: the maximum value of the vertical coordinate of the top of the tower area and the vertical coordinate of the bottom of the tower area translated upward by the second threshold pixel;

[0054] A horizontal coordinate of the bottom of the tower area is: the maximum value between the coordinate value of the center point of the bottom of the tower translated to the right by the second threshold pixel and the horizontal coordinate value of the right edge of the bottom of the tower;

[0055] Another horizontal coordinate of the bottom of the tower area is: the minimum value between the coordinate value of the center point of the bottom of the tower translated to the left by the second threshold pixel and the horizontal coordinate value of the left edge of the bottom of the tower;

[0056] A horizontal coordinate of the top of the tower area is: the maximum value between the coordinate value of the horizontal coordinate on the right side of the bottom of the tower area translated upward by the second threshold pixel and the horizontal coordinate value of the right edge of the top of the tower;

[0057] Another horizontal coordinate of the top of the tower area is: the minimum value between the coordinate value of the left horizontal coordinate of the bottom of the tower area translated upward by the second threshold pixel and the horizontal coordinate value of the left edge of the top of the tower;

[0058] The second threshold pixel is determined by a foreign body detection model.

[0059] As an implementation mode, in the location determination module, the process of determining the location information of the tower and the conductor is as follows:

[0060] According to the scene information corresponding to the transmission channel image;

[0061] Determine whether the location of the tower and conductor in the current scene exists in the scene database:

[0062] If it does not exist, the target detection model is used to generate the location information of the conductor and tower in the current scene;

[0063] Otherwise, the location information of the wire and the pole tower in the current scene is found from the scene database; wherein the location information of the pole tower and the wire with the scene as a label is pre-stored in the scene database.

[0064] As an implementation manner, the target detection model includes a wire detection model and a pole tower detection model, and the wire detection model and the pole tower detection model have the same backbone network structure.

[0065] As an implementation mode, in the foreign body detection module, in the process of fusing the foreign body detection results of different regions, the NMS algorithm is used to eliminate the redundant detection results obtained after the conversion and merging of different regions to obtain the detection result of the entire image.

[0066] As an implementation manner, the preset small target pixel is 32.

[0067] In some other embodiments, a power transmission channel foreign body detection system based on cutting graph includes:

[0068] Surveillance equipment, network equipment and monitoring platform;

[0069] The monitoring device is configured to execute the steps in the above-mentioned method for detecting foreign objects in a power transmission channel based on cutting graphs;

[0070] The monitoring device transmits the final foreign body detection result to the monitoring platform through the network device.

[0071] A third aspect of the present invention provides a monitoring device.

[0072] A monitoring device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the power transmission channel foreign body detection method based on cutting graph as described above are implemented.

[0073] A fourth aspect of the present invention provides a computer-readable storage medium.

[0074] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned method for detecting foreign objects in a power transmission channel based on cutting graphs.

[0075] Compared with the prior art, the present invention has the following beneficial effects:

[0076] According to the characteristics of the power transmission scene and the location where foreign objects on the conductor appear, the present invention cuts the transmission channel image respectively according to the location information of the pole tower and the conductor, and combines the conductor area cutting strategy and the pole tower area cutting strategy to obtain the pole tower area image and the conductor area image. In the cutting process, the preset small target pixel value size and the input pixel requirements of the subsequent processing of the pole tower area image and the conductor area image model are considered. Finally, target detection is performed on the pole tower area image and the conductor area image respectively, and the detection results are fused, so that the target in the power transmission scene is small and the type, shape and color of the conductor foreign objects are diverse, and the detection rate and efficiency of the conductor foreign objects are effectively improved.

[0077] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0079] Figure 1 is a schematic diagram of a method for detecting foreign matter in a power transmission channel based on a cut graph according to an embodiment of the present invention;

[0080] Figure 2 is a schematic diagram of a wire foreign body model according to an embodiment of the present invention;

[0081] Figure 3 is a tower detection result of an embodiment of the present invention;

[0082] Figure 4 is a flow chart of wire foreign body detection according to an embodiment of the present invention;

[0083] Figure 5 It is an original image taken by the power transmission channel monitoring device of an embodiment of the present invention;

[0084] FIG6( a ) is a training data example 1 used in the training process of an embodiment of the present invention;

[0085] FIG6( b ) is a training data example 2 used in the training process of an embodiment of the present invention;

[0086] FIG6( c ) is a training data example 3 used in the training process of an embodiment of the present invention;

[0087] FIG6( d ) is a training data example 4 used in the training process of an embodiment of the present invention;

[0088] FIG6( e ) is a training data example 5 used in the training process of an embodiment of the present invention;

[0089] FIG6( f ) is a training data example 6 used in the training process of an embodiment of the present invention;

[0090] Figure 7 The conductor area and the tower area of ​​the embodiment of the present invention;

[0091] Figure 8 It is a schematic diagram of a power transmission channel foreign body detection system based on cutting diagram according to an embodiment of the present invention. DETAILED DESCRIPTION

[0092] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0093] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0094] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0095] The prior art also proposes a cutting method based on target detection, which mainly includes selecting a cutting strategy according to the distribution law of the target frame and the distribution of the target in the detection image, and cutting the image according to the cutting strategy; inputting the cut image into the deep learning model for training to determine the cutting effect; selecting the cutting image containing difficult negative samples according to the cutting effect, extracting the region of the negative sample, and cutting the image according to the extracted region. However, too much cutting will lead to low detection efficiency. In addition, cutting the image only according to the distribution law of the target frame is contrary to the principle that all potential danger targets need to be inspected in the current power transmission scenario, and is not applicable to the current power transmission scenario.

[0096] Embodiment 1

[0097] according to Figure 1 The present embodiment provides a wire foreign body detection method based on cutting graph, which specifically includes the following steps:

[0098] Step 1: Obtain the transmission channel image and determine the location information of the towers and conductors.

[0099] In step 1, the process of determining the location information of the tower and the conductor is as follows:

[0100] Step 1.1: According to the scene information corresponding to the transmission channel image;

[0101] Step 1.2: Determine whether the locations of the towers and conductors in the current scene exist in the scene database:

[0102] If it does not exist, the target detection model is used to generate the location information of the conductor and tower in the current scene;

[0103] Otherwise, the location information of the wire and the pole tower in the current scene is found from the scene database; wherein the location information of the pole tower and the wire with the scene as a label is pre-stored in the scene database.

[0104] In a specific implementation process, the target detection model includes a wire detection model and a pole tower detection model, and the wire detection model and the pole tower detection model have the same backbone network structure.

[0105] For example, the backbones of the wire detection model and the tower detection model both use Efficientnetlite.

[0106] The wire detection model consists of two parts: the feature extractor backbone network and the wire position generation detection head. The wire detection model head uses two layers of full connection to determine whether there is a wire at the corresponding position. In order to reduce the number of parameters brought by the fully connected layer and reduce the dimension of the fully connected layer, in order to enhance the robustness of the model and reduce the loss caused by the decrease in the number of parameters and the degradation of model performance, a Dropout layer is added to the fully connected layer during the training of the wire detection model. The specific wire detection model structure is as follows: Figure 2 As shown. The marked wire dataset is input into the wire detection model, and the feature backbone network is used to extract feature images from the wire data image. The wire position information is generated by the wire position detection head network. The foreground and background scores of the marked wire area are calculated by the wire position detection head network. When the foreground and background scores meet the preset model accuracy conditions, the wire detection model training is completed.

[0107] The wire information is saved as follows:

[0108] (x l1 ,y l1 ), (x l2 ,y l2 ), (x r1 ,y r1 ), (x r2 ,y r2 )

[0109] They correspond to the horizontal and vertical coordinates of the upper left, lower left, upper right, and lower right vertices of the left and right outermost wires respectively.

[0110] For example, the foreign body detection model uses PPYOLOE, and the input resolution is 640*640. When training the model, the training image is cut from the original power transmission scene, and the sub-image obtained is used as the training data. In order to improve the detection of the wire foreign body model, according to the statistical results of the wire foreign body size in the current training sample, the sub-image resolution is set to 640*640 when cutting the image, and the overlap rate is set to 0.0125.

[0111] The original image taken by the transmission channel monitoring equipment, such as Figure 5 As shown in the figure. During the training process, the training data used is as follows Figure 6(a)-Figure 6(f) shown.

[0112] The tower detection model is similar to the target detection model. The RFB module and PAFPN module are used as the neck of the model to capture multi-scale information of the image, and the head adopts the form of decoupling positioning and classification. The specific tower detection results are as follows: Figure 3 shown.

[0113] Step 2: Combine the wire area cutting strategy and the tower area cutting strategy to cut the transmission channel image respectively to obtain the tower area image and the wire area image, such as Figure 4 shown.

[0114] Based on the characteristics of the transmission channel scenario, the transmission channel is divided into the conductor area and the tower area.

[0115] In this embodiment, the wire area cutting strategy is:

[0116] According to the position information of the wire, the central axis of the wires on both sides is determined, and two wire areas are divided, and the overlapping pixels of the two wire areas are equal to the preset small target pixels;

[0117] The horizontal coordinate of each wire area close to the opposite side is: the difference between the horizontal coordinate of the central axis and 1 / 2 times the overlapping pixels of the preset small target pixels;

[0118] The horizontal coordinate of each wire area away from the opposite side is: the horizontal coordinate of each wire area close to the opposite side is translated to the respective side by the second threshold pixel and the maximum value of the horizontal coordinate of the outermost wire of each wire area; wherein the second threshold pixel is determined by the foreign body detection model;

[0119] The ordinate of each conductor area is: the boundary value of the conductor in each conductor area in the ordinate direction.

[0120] Taking the preset small target pixel as 32 and the input pixel of the foreign object detection model as 640 pixels as an example: It can be understood here that technicians in this field can set the small target pixel value size according to actual needs.

[0121] According to the object definition of COCO, a common dataset in the field of object detection, objects smaller than 32×32 pixels are called small objects. In order to ensure the detection rate of small objects, the overlap pixels of the left and right wire areas are set to 32. Taking the right wire area as an example, the central axis is moved to the left by 32 / 2=16 pixels as the horizontal coordinate of the upper left vertex of the right wire area, and the maximum value of the horizontal coordinate of the rightmost wire and the horizontal coordinate of the upper left vertex is shifted to the right by 640 pixels as the horizontal coordinate of the lower right vertex of the right wire area. The vertical coordinates of the upper and lower points of the right wire are used as the vertical coordinates of the upper left and lower right vertices of the right wire area.

[0122] Specifically, taking the right wire area as an example, if the horizontal and vertical coordinates of the top left, bottom left, top right, and bottom right vertices of the outermost wire are: (x l1 ,yl1 ), (x l2 ,y l2 ), (x r1 ,y r1 ), (x r2 ,y r2 ), the horizontal and vertical coordinates of the upper left corner and lower right corner of the right wire area rectangle are calculated as follows: (x l ,y l ), (x r ,y r ),in,

[0123] x l =((x l1 +x r1 ) / 2-32 / 2)

[0124] x r =max(x r1 ,x r2 ,(x l +(640-32 / 2)))

[0125] y l =(y l1 +y r1 ) / 2

[0126] y r =max(y r2 , (y l2 -(y l2 -y r2 ) / (x l2 -(x l1 +x r1 ) / 2)))

[0127] It should be noted here that, in other embodiments, other existing wire region cutting strategies may be selected according to the wire position information, which will not be described in detail here.

[0128] In this embodiment, the strategy for cutting the graph in the tower area is:

[0129] The vertical coordinate of the bottom of the tower area is: the vertical coordinate of the bottom position of the tower;

[0130] The top vertical coordinate of the tower area is: the maximum value of the vertical coordinate of the top of the tower area and the vertical coordinate of the bottom of the tower area translated upward by the second threshold pixel;

[0131] A horizontal coordinate of the bottom of the tower area is: the maximum value between the coordinate value of the center point of the bottom of the tower translated to the right by the second threshold pixel and the horizontal coordinate value of the right edge of the bottom of the tower;

[0132] Another horizontal coordinate of the bottom of the tower area is: the minimum value between the coordinate value of the center point of the bottom of the tower translated to the left by the second threshold pixel and the horizontal coordinate value of the left edge of the bottom of the tower;

[0133] A horizontal coordinate of the top of the tower area is: the maximum value between the coordinate value of the horizontal coordinate on the right side of the bottom of the tower area translated upward by the second threshold pixel and the horizontal coordinate value of the right edge of the top of the tower;

[0134] Another horizontal coordinate of the top of the tower area is: the minimum value between the coordinate value of the left horizontal coordinate of the bottom of the tower area translated upward by the second threshold pixel and the horizontal coordinate value of the left edge of the top of the tower;

[0135] The second threshold pixel is determined by a foreign body detection model.

[0136] Take the input pixel of the foreign body detection model as 640 pixels as an example:

[0137] If the coordinates of the upper left and lower right vertices of the tower are: The coordinates of the upper left and lower right vertices of the tower area are: (x l ′,y l ′),(x r ′,y r ′),

[0138] but:

[0139]

[0140]

[0141]

[0142]

[0143] like Figure 7 As shown, the three frames are the left and right conductor areas and the tower area.

[0144] It should be noted here that, in other embodiments, other existing pole tower area cutting strategies may be selected according to the conductor position information, which will not be described in detail here.

[0145] Step 3: Use the foreign object detection model to process the tower area image and the conductor area image respectively, obtain the foreign object detection results of the corresponding areas and fuse them to finally obtain the foreign object detection results.

[0146] During detection, the images of the conductor area and the tower area are input into the foreign object detection model respectively.

[0147] Among them, after the foreign body detection model, the foreign body detection results of wires in different areas are generated. After the fusion module, the fusion process uses the NMS algorithm to remove redundant detection frames, and finally the detection results of the entire image are obtained. The specific foreign body detection model is similar to other target detection models. Images of different areas are input into the foreign body detection model to obtain the detection results of the corresponding areas. The detection results of different areas are then converted to obtain the real coordinates in the original image. If the upper left and lower right coordinates of the current cut area are:

[0148] ( xbbox1 ,y bbox1 ), (x bbox2 ,y bbox2 ), the upper left and lower right coordinates of the hidden danger target detection result are (x object1 ,y object1 ), (x object2 ,y object2 ), the corresponding coordinates of the foreign body in the wire in the original image are (x1, y1), (x2, y2), where

[0149] x1=x object1 +x bbox1

[0150] y1=y object1 +y bbox1

[0151] x2=x object2 +x bbox1

[0152] y2=y object2 +y bbox1 .

[0153] Since overlapping areas are set when cutting images, redundant detection results are inevitable. The NMS algorithm is used to remove the redundant detection results obtained after different areas are converted and merged to obtain the detection results of the entire image. By removing redundant detection results, the detection results of foreign objects in wires are improved.

[0154] This embodiment aims at the small targets, diverse types, shapes, and colors of foreign objects on wires in power transmission scenarios, which are difficult to detect. Based on the characteristics of power transmission scenarios and the locations where foreign objects on wires appear, this embodiment proposes a method based on cutting images of wires and towers, which effectively improves the detection rate and efficiency of foreign objects on wires. Among the 5k images of foreign objects on wires collected in power transmission scenarios, the COCOAPI test tool was used to test the AP (AUC of the PR curve, an approximate solution index of Area under the Curve, which is itself an evaluation index of a multi-label classification task) of 0.61, compared with the accuracy of the YOLOv7 foreign object model trained directly using the original image of the power transmission scene, which is only 0.19. In terms of reasoning efficiency, the overall solution (cutting images, foreign object detection on wires, and result fusion) takes 0.48s for actual reasoning on the original image of the transmission channel for a single image.

[0155] Embodiment 2

[0156] This embodiment provides a transmission channel foreign body detection system based on cutting diagram, which specifically includes monitoring equipment and a monitoring platform.

[0157] The monitoring device includes the following modules:

[0158] (1) A location determination module is used to obtain images of the transmission channel and determine the location information of the towers and conductors.

[0159] Wherein, in the position determination module, the process of determining the position information of the tower and the conductor is: according to the scene information corresponding to the transmission channel image;

[0160] Determine whether the location of the tower and conductor in the current scene exists in the scene database:

[0161] If it does not exist, the target detection model is used to generate the location information of the conductor and tower in the current scene;

[0162] Otherwise, the location information of the wire and the pole tower in the current scene is found from the scene database; wherein the location information of the pole tower and the wire with the scene as a label is pre-stored in the scene database.

[0163] Specifically, the target detection model includes a wire detection model and a pole tower detection model, and the wire detection model and the pole tower detection model have the same backbone network structure.

[0164] (2) A region cutting module, which is used to combine the conductor region cutting strategy and the pole tower region cutting strategy to cut the transmission channel image respectively to obtain the pole tower region image and the conductor region image.

[0165] The wire area cutting strategy is as follows:

[0166] According to the position information of the wire, the central axis of the wires on both sides is determined, and two wire areas are divided, and the overlapping pixels of the two wire areas are equal to the preset small target pixels (for example: 32);

[0167] The horizontal coordinate of each wire area close to the opposite side is: the difference between the horizontal coordinate of the central axis and 1 / 2 times the overlapping pixels of the preset small target pixels;

[0168] The horizontal coordinate of each wire area away from the opposite side is: the horizontal coordinate of each wire area close to the opposite side is translated to the respective side by the second threshold pixel and the maximum value of the horizontal coordinate of the outermost wire of each wire area; wherein the second threshold pixel is determined by the foreign body detection model;

[0169] The ordinate of each conductor area is: the boundary value of the conductor in each conductor area in the ordinate direction.

[0170] Among them, in the area cutting module, the tower area cutting strategy is:

[0171] The vertical coordinate of the bottom of the tower area is: the vertical coordinate of the bottom position of the tower;

[0172] The top vertical coordinate of the tower area is: the maximum value of the vertical coordinate of the top of the tower area and the vertical coordinate of the bottom of the tower area translated upward by the second threshold pixel;

[0173] A horizontal coordinate of the bottom of the tower area is: the maximum value between the coordinate value of the center point of the bottom of the tower translated to the right by the second threshold pixel and the horizontal coordinate value of the right edge of the bottom of the tower;

[0174] Another horizontal coordinate of the bottom of the tower area is: the minimum value between the coordinate value of the center point of the bottom of the tower translated to the left by the second threshold pixel and the horizontal coordinate value of the left edge of the bottom of the tower;

[0175] A horizontal coordinate of the top of the tower area is: the maximum value between the coordinate value of the horizontal coordinate on the right side of the bottom of the tower area translated upward by the second threshold pixel and the horizontal coordinate value of the right edge of the top of the tower;

[0176] Another horizontal coordinate of the top of the tower area is: the minimum value between the coordinate value of the left horizontal coordinate of the bottom of the tower area translated upward by the second threshold pixel and the horizontal coordinate value of the left edge of the top of the tower;

[0177] The second threshold pixel is determined by a foreign body detection model.

[0178] (3) A foreign object detection module, which is used to use the foreign object detection model to process the tower area image and the conductor area image respectively, obtain the foreign object detection results of the corresponding areas and fuse them, and finally obtain the foreign object detection results and transmit them to the monitoring platform.

[0179] Among them, in the foreign body detection module, in the process of fusing the foreign body detection results of different areas, the NMS algorithm is used to eliminate the redundant detection results obtained after the conversion and merging of different areas to obtain the detection result of the entire image.

[0180] It should be noted here that each module in this embodiment corresponds to each step in Example 1 one by one, and the specific implementation process is the same, which will not be repeated here.

[0181] Embodiment 3

[0182] according to Figure 8 , the power transmission channel foreign body detection system based on cutting graph of this embodiment includes:

[0183] Surveillance equipment, network equipment and monitoring platform;

[0184] The monitoring device is configured to execute the steps of the wire foreign body detection method based on cutting image described above;

[0185] The monitoring equipment transmits the final foreign body detection results to the monitoring platform through the network device.

[0186] The specific implementation process of the wire foreign body detection method based on cutting graph is as described in the first embodiment, and will not be repeated here.

[0187] Network equipment includes but is not limited to routers, gateways and other information transmission related devices, which will not be described in detail here.

[0188] The monitoring platform may include a server and a display, etc. The server is used to communicate with network devices, and the display is used to display monitoring information.

[0189] It can be understood here that the structure of the monitoring platform can be implemented using the existing structure, which will not be described in detail here.

[0190] This embodiment uses the pole tower and conductor position information and the foreign object detection model to achieve high-precision identification of foreign objects on the conductor. The real-time image of the transmission channel scene taken by the transmission line monitoring design is cut using the conductor and pole tower position information, and the trained foreign object detection model is used to perform conductor foreign object detection on the sub-image obtained after cutting, and the detection results are fed back to the platform.

[0191] The power transmission channel foreign body detection system based on cutting graph of this embodiment has the following advantages:

[0192] An effective foreign object detection model can accurately locate small targets in power transmission scenarios;

[0193] The efficient algorithm is suitable for edge computing. There is no need to frequently transmit image data back to the monitoring center. Only the images and parameters of the targets with hidden dangers need to be transmitted back.

[0194] It is applicable to the existing equipment installed on the tower and can be monitored without hardware upgrade.

[0195] Embodiment 4

[0196] The present embodiment provides a monitoring device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the wire foreign body detection method based on cutting graph as described above are implemented.

[0197] Embodiment 5

[0198] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the method for detecting foreign objects in a power transmission channel based on cutting graphs as described above are implemented.

[0199] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products of the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram and the combination of the processes and / or blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0200] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for detecting foreign matter in a power transmission channel based on a cutting graph, characterized in that: include: Acquire transmission channel images and determine the location information of towers and conductors; Determine the conductor area cutting strategy and the pole area cutting strategy according to the position information of the pole tower and the conductor, and cut the transmission channel image to obtain the pole tower area image and the conductor area image respectively; The foreign object detection model is used to process the tower area images and the conductor area images respectively to obtain the foreign object detection results of the corresponding areas. The foreign object detection results are then fused to obtain the foreign object detection results of the transmission channel.

2. The method for detecting foreign matter in a power transmission channel based on a cut graph according to claim 1, wherein: The wire area cutting strategy is: According to the position information of the wires, the central axis of the wires on both sides is determined, and two wire areas are divided. The overlapping pixels of the two wire areas are equal to the preset small target pixels; The horizontal coordinate of each guide area close to the opposite side is: the difference between the horizontal coordinate of the central axis and 1 / 2 times the preset small target pixel; The horizontal coordinate of each conductor area away from the opposite side is the maximum value between the coordinate value of the horizontal coordinate of each conductor area close to the opposite side shifted to the respective side by the second threshold pixel and the horizontal coordinate value of the outermost conductor of each conductor area; wherein the second threshold pixel is determined by the foreign body detection model; The ordinate of each conductor area is: the boundary value of the conductor in each conductor area in the ordinate direction.

3. The method for detecting foreign matter in a power transmission channel based on a cut graph according to claim 1, wherein: The tower area cutting strategy is: The vertical coordinate of the bottom of the tower area is: the vertical coordinate of the bottom position of the tower; The vertical coordinate of the top of the tower area is: the maximum value of the vertical coordinate of the bottom of the tower area shifted upward by the second threshold pixel and the vertical coordinate of the top of the tower; A horizontal coordinate of the bottom of the tower area is: the maximum value between the coordinate value of the center point of the tower bottom shifted to the right by the second threshold pixel and the horizontal coordinate value of the right edge of the tower bottom; Another horizontal coordinate of the bottom of the tower area is: the minimum value between the coordinate value of the center point of the tower bottom shifted to the left by the second threshold pixel and the horizontal coordinate value of the left edge of the tower bottom; A horizontal coordinate of the top of the tower area is: the maximum value between the coordinate value of the horizontal coordinate on the right side of the bottom of the tower area shifted upward by the second threshold pixel and the horizontal coordinate value of the right edge of the top of the tower; Another horizontal coordinate of the top of the tower area is: the minimum value between the coordinate value of the left horizontal coordinate of the bottom of the tower area shifted upward by the second threshold pixel and the horizontal coordinate value of the left edge of the top of the tower; The second threshold pixel is determined by the foreign body detection model.

4. The method for detecting foreign matter in a power transmission channel based on a cut graph according to claim 1, wherein: The process of determining the location information of towers and conductors is as follows: According to the scene information corresponding to the transmission channel image; Determine whether the locations of the towers and conductors in the current scene exist in the scene database: If it does not exist, the target detection model is used to generate the location information of the conductor and tower in the current scene; Otherwise, the location information of the conductor and the tower in the current scene is found from the scene database; wherein the location information of the tower and the conductor with the scene as a label is pre-stored in the scene database.

5. The method for detecting foreign matter in a power transmission channel based on a cut graph according to claim 4, wherein: The target detection model includes a wire detection model and a pole tower detection model, and the wire detection model and the pole tower detection model have the same backbone network structure.

6. The method for detecting foreign matter in a power transmission channel based on a cut graph according to claim 1, wherein: In the process of fusing the foreign body detection results of different regions, the NMS algorithm is used to eliminate the redundant detection results obtained after converting and merging different regions to obtain the detection results of the entire image; or The preset small target pixel is 32.

7. A power transmission channel foreign body detection system based on cutting graph, characterized in that: include: Surveillance equipment and monitoring platforms; The monitoring equipment includes: Position determination module, which is used to obtain transmission channel images and determine the position information of towers and conductors; A region cutting module is used to determine a conductor region cutting strategy and a pole region cutting strategy based on the position information of the pole tower and the conductor, and cut the transmission channel image to obtain a pole tower region image and a conductor region image respectively; The foreign object detection module is used to use the foreign object detection model to process the tower area image and the conductor area image respectively, obtain the foreign object detection results of the corresponding areas, and fuse the foreign object detection results to obtain the foreign object detection results of the transmission channel and transmit them to the monitoring platform.

8. The power transmission channel foreign body detection system based on cutting graph according to claim 7, characterized in that: In the area cutting module, the wire area cutting strategy is: According to the position information of the wires, the central axis of the wires on both sides is determined, and two wire areas are divided. The overlapping pixels of the two wire areas are equal to the preset small target pixels; The horizontal coordinate of each guide area close to the opposite side is: the difference between the horizontal coordinate of the central axis and 1 / 2 times the preset small target pixel; The horizontal coordinate of each conductor area away from the opposite side is the maximum value between the coordinate value of the horizontal coordinate of each conductor area close to the opposite side shifted to the respective side by the second threshold pixel and the horizontal coordinate value of the outermost conductor of each conductor area; wherein the second threshold pixel is determined by the foreign body detection model; The ordinate of each conductor area is: the boundary value of the conductor in each conductor area in the ordinate direction.

9. The power transmission channel foreign body detection system based on cutting graph according to claim 7, characterized in that: In the area slicing module, the tower area slicing strategy is: The vertical coordinate of the bottom of the tower area is: the vertical coordinate of the bottom position of the tower; The vertical coordinate of the top of the tower area is: the maximum value of the vertical coordinate of the bottom of the tower area shifted upward by the second threshold pixel and the vertical coordinate of the top of the tower; A horizontal coordinate of the bottom of the tower area is: the maximum value between the coordinate value of the center point of the tower bottom shifted to the right by the second threshold pixel and the horizontal coordinate value of the right edge of the tower bottom; Another horizontal coordinate of the bottom of the tower area is: the minimum value between the coordinate value of the center point of the tower bottom shifted to the left by the second threshold pixel and the horizontal coordinate value of the left edge of the tower bottom; A horizontal coordinate of the top of the tower area is: the maximum value between the coordinate value of the horizontal coordinate on the right side of the bottom of the tower area shifted upward by the second threshold pixel and the horizontal coordinate value of the right edge of the top of the tower; Another horizontal coordinate of the top of the tower area is: the minimum value between the coordinate value of the left horizontal coordinate of the bottom of the tower area shifted upward by the second threshold pixel and the horizontal coordinate value of the left edge of the top of the tower; The second threshold pixel is determined by the foreign body detection model.

10. The power transmission channel foreign body detection system based on cutting graph according to claim 7, characterized in that: In the position determination module, the process of determining the position information of the tower and the conductor is as follows: According to the scene information corresponding to the transmission channel image; Determine whether the locations of the towers and conductors in the current scene exist in the scene database: If it does not exist, the target detection model is used to generate the location information of the conductor and tower in the current scene; Otherwise, the location information of the conductor and the tower in the current scene is found from the scene database; wherein the location information of the tower and the conductor with the scene as a label is pre-stored in the scene database.

11. The power transmission channel foreign body detection system based on cutting graph according to claim 10, characterized in that: The target detection model includes a wire detection model and a pole tower detection model, and the wire detection model and the pole tower detection model have the same backbone network structure.

12. The power transmission channel foreign body detection system based on graph cutting according to claim 7, characterized in that: In the foreign body detection module, in the process of fusing the foreign body detection results of different regions, the NMS algorithm is used to eliminate the redundant detection results obtained after the conversion and merging of different regions to obtain the detection results of the entire image; or The preset small target pixel is 32.

13. A power transmission channel foreign body detection system based on cutting graph, characterized in that: include: Surveillance equipment, network equipment and monitoring platform; The monitoring device is configured to perform the steps of the power transmission channel foreign body detection method based on cutting graphs according to any one of claims 1 to 6; The monitoring device transmits the final foreign body detection result to the monitoring platform through the network device.

14. A surveillance device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the method for detecting foreign objects in a power transmission channel based on a cutting graph are implemented as described in any one of claims 1 to 6.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method for detecting foreign matter in a power transmission channel based on a cut graph as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Method for detecting bird nests in power transmission line poles based on unmanned plane images

    CN106326808A

  • Foreign object identification method and device for power transmission line equipment and computer equipment

    CN110110684A

  • Image cutting method and device based on target detection and storage medium

    CN112927247A

  • Power transmission line conductor foreign matter identification method and device

    CN114724091A

Cited By

  • Visual mechanical external damage identification method for power transmission channel and related device

    CN118968039A