Transmission line unplanned operation verification method and system based on image analysis

The unplanned operation verification of transmission lines through image analysis method solves the problem of insufficient verification efficiency and accuracy in the existing technology, and achieves rapid and accurate identification and risk management of the construction site.

CN118505166BActive Publication Date: 2024-10-29STATE GRID ANHUI ELECTRIC POWER CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410949302.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-10-29
Estimated Expiration
2044-07-16

AI Technical Summary

Technical Problem

Existing technology makes it difficult to conduct safety verification of unplanned operations accurately and timely during transmission line construction, leading to increased risks at the construction site, and there are reliability and efficiency issues with deep learning and manual verification.

Method used

Using a method based on image analysis, by obtaining the original image information of the transmission line, performing pixel update and image sequence library analysis to determine whether there is construction work, and matching it with the work plan to determine unplanned work, combined with category characteristics and information entropy. Accurate judgment.

Benefits of technology

It achieves rapid and accurate identification of unplanned operations on transmission lines, reduces manual verification costs, improves verification efficiency and accuracy of results, and enhances safety management on construction sites.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118505166B_ABST
    Figure CN118505166B_ABST
Patent Text Reader

Abstract

The present application provides a method and system for checking unplanned operations of power transmission lines based on image analysis, specifically, obtaining original image information of power transmission lines according to a fixed frequency based on a power transmission panoramic control platform, and recording the original image information after pixel point update to obtain enhanced original image information as image information; receiving the image information, analyzing and identifying it based on an image sequence library to determine whether there is construction work in the image information of the transmission line; if the image information of the transmission line determines that there is construction work, matching is performed based on a work plan to determine whether the name and position of the tower in the image information of the transmission line are correct; determining whether the image information of the transmission line with construction work is an unplanned operation image based on the matching result of the work plan, manually checking the image information determined as an unplanned operation to determine the unplanned transmission line, and enhancing the safety performance of the construction work by checking the transmission line unplannedly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power transmission lines, and in particular to a method and system for verifying unplanned operations of power transmission lines based on image analysis. Background Art

[0002] Transmission lines are physical channels for power transmission. Safety accidents that occur during the construction of transmission line projects have become the main part of accidents in power grid construction. During the construction of transmission lines, it is necessary to report the work plan to the superior unit in advance, so as to evaluate the risk level of its work content and optimize its work plan to reduce the risk of live work, improve the safety of workers working on high-voltage transmission lines, and avoid continuous damage to the line protection area caused by construction work. In actual situations, in order to speed up the construction progress, there are private arrangements for construction work at the construction site, which increases the risk of the work site. How to conduct safety inspections on the construction site of transmission lines in a timely and accurate manner, reduce the risk of unplanned operations, and realize full-process risk management has become a problem that needs to be solved urgently. In the existing technology, most of them use deep learning to perform target detection for verification. However, deep learning lacks sufficient and reliable target samples, has safety control limitations, cannot achieve comprehensive verification, or relies on manual on-site verification, which increases labor costs, has low work efficiency, and has deviations in the accuracy of verification results. Summary of the invention

[0003] In order to solve the above problems, the present application proposes a method and system for verifying unplanned operations of power transmission lines based on image analysis.

[0004] In a first aspect, the present application provides a method for verifying unplanned operations of a power transmission line based on image analysis, specifically comprising:

[0005] Based on the power transmission panoramic control platform, original image information of the power transmission line is obtained according to a fixed frequency, and the original image information is enhanced by updating the pixels based on the original image information, which is recorded as image information;

[0006] Receiving the image information, analyzing and identifying it based on the image sequence library, and determining whether there is construction work in the transmission line image information;

[0007] If the transmission line image information determines that there is construction work, matching is performed based on the work plan to determine whether the tower name and location in the transmission line image information are correct;

[0008] Based on the work plan matching result, it is determined whether the image information of the power transmission line with construction work is an unplanned work image, and the image information determined as the unplanned work is manually checked to determine the unplanned transmission line.

[0009] In particular, the method for acquiring the image information specifically includes:

[0010] Obtain pixel point information in the original image information, and obtain a gradient value of each pixel point based on the pixel point information to determine a first eigenvalue of the pixel point;

[0011] Dividing the original image information into a first type of image blocks and a second type of image blocks based on the first characteristic value, and presetting threshold windows of the first type of image blocks and the second type of image blocks, which are recorded as a first threshold window and a second threshold window;

[0012] For any pixel point A in the first type of image block, determine a neighborhood window of the pixel point A based on the grayscale information and spatial features of the pixel point A;

[0013] Determine a pending window of pixel point A in the first type of image block based on the first threshold window, and determine a first correlation coefficient based on grayscale information of a neighborhood window of pixel point A and pixels in the pending window;

[0014] Determine a first weight coefficient of a pending window of pixel point A in the first type of image block based on the first association coefficient, and perform pixel weighted averaging on any pixel point A based on the first weight coefficient of the pending window to complete the update;

[0015] Repeat the above steps for the pixel points in the first type of image blocks until all the pixel points in the first type of image blocks are updated;

[0016] For the pixel points in the second type of image blocks, updating the pixel points of the second type of image blocks is performed based on the second association coefficient and the second weight coefficient;

[0017] The image information is determined based on that the pixel points of the first type of image blocks and the second type of image blocks in the original image information are updated.

[0018] In particular, the pixel updating process of the second type of image blocks specifically includes:

[0019] For any pixel point B in the second type of image block, determine a neighborhood window of the pixel point B based on feature information of the pixel point B; determine a pending window of the pixel point B in the second type of image block based on the second threshold window combined with the neighborhood window;

[0020] Determine a first correlation factor based on the grayscale value variance of the pixel points in the neighborhood window and the window to be determined, and determine a second correlation factor based on the coordinates of the pixel points in the neighborhood window and the window to be determined;

[0021] The second correlation coefficient is determined based on the first correlation factor and the second correlation factor, and the second correlation coefficient is expressed as follows: , where G2 represents the second correlation coefficient, P represents the first correlation factor, M represents the grayscale mean within the threshold window, and D represents the second correlation factor;

[0022] A second weight coefficient is determined based on the second association coefficient to complete the updating of the pixels of the second type of image blocks.

[0023] In particular, the determination of whether there is construction work specifically includes:

[0024] Based on the fixedly acquired transmission line image information, a time and space image sequence library of the transmission line is constructed and divided into a first image sequence library and a second image sequence library, wherein the first image sequence library is composed of image sequences of unconstructed transmission lines, and the second image sequence library is composed of image sequences of planned transmission lines;

[0025] Determine a contour image after image preprocessing based on the image information of the power transmission line, extract feature points based on the contour image to determine a feature point subset, and extract feature points based on the first image sequence library to determine a first image sequence library feature point set;

[0026] Determining a first parameter and a second parameter based on the feature point subset and the first image sequence library feature point set, wherein the first parameter is determined based on a membership function, and the second parameter is determined based on a non-membership function;

[0027] The difference degree S between the feature point subset and the feature point set of the first image sequence library is determined based on the proportional relationship between the first parameter and the second parameter, as shown below:

[0028] , is a first parameter used to characterize the similarity between the feature point subset in the contour image determined based on the membership function and the feature point set of the i-th frame image in the first image sequence library, is a second parameter used to characterize the difference between a feature point subset in the contour image determined based on the non-membership function and a feature point set of the i-th frame image in the first image sequence library, and n represents that there are n frames of unconstructed transmission line images in the first image sequence library;

[0029] When the difference degree S is greater than a preset threshold, it is determined that there may be construction work in the transmission line image information;

[0030] The existence of construction work is determined based on the transmission line image information where construction work may exist in combination with the second image sequence library.

[0031] In particular, determining the existence of construction work based on the second image sequence library specifically includes:

[0032] Determine the information entropy of each planned operation power transmission line image in the second image sequence library by extracting key feature points based on the second image sequence library; determine the information entropy of the power transmission line image information based on the power transmission line feature point subset;

[0033] Determine the average information entropy of the second image sequence library based on the information entropy, and mark the planned operation power transmission line images in the second image sequence library whose information entropy is greater than the average information entropy as reference images;

[0034] Performing category extraction based on the reference image to respectively determine a first category, a second category, and a third category, wherein the first category representation image only has single-person features, the second category representation image only has single-machine features, and the third category representation image has category features other than the first category and the second category;

[0035] Based on the first category, determine that the first type of reference image is a single-person operation image, based on the second category, determine that the second type of reference image is a single-machine operation image, and based on the third category, determine that the third type of reference image is an operation image other than the first type of reference image and the second type of reference image;

[0036] Extracting a plurality of minimum matching units based on the transmission line image information, wherein any minimum matching unit determines at most one category feature; performing category feature judgment based on the plurality of minimum matching units and the first category, the second category, and the third category to determine a category feature sequence;

[0037] If there is only one first category in the category feature sequence, the transmission line image information and the first category reference image are compared based on information entropy to determine that the transmission line image information is a first category reference image, and it is determined that there is construction work on the transmission line and the operation scene is a single-person operation;

[0038] If there is only one second category in the category feature sequence, the transmission line image information and the second category reference image are compared based on information entropy to determine that the transmission line image information is a second category reference image, and it is determined that there is construction work on the transmission line and the operation scene is a single machine operation;

[0039] If there is a third category in the category feature sequence, the number of the first category and the second category is determined based on the fusion of the category features of each minimum matching unit, the third category is determined based on the number of the first category and the second category, and the transmission line image information is compared with the third category reference image based on information entropy to determine that the transmission line image information is a third category reference image, then it is determined that there is construction work and a specific work scene on the transmission line.

[0040] In particular, the matching based on the work plan specifically includes:

[0041] Building a work schedule based on the construction plan, where the work schedule is updated synchronously based on the risk platform;

[0042] Obtaining the grayscale value and pixel distribution map of the pixel points in the transmission line image information, and determining the number and probability distribution of the pixel points P;

[0043] Based on the pixel point P, the pixel points of the power transmission line image information are divided into a first type of pixel points and a second type of pixel points, wherein the first type of pixel points represent a set of pixel points whose pixel grayscale values ​​are greater than the pixel point P, and the second type of pixel points represent a set of pixel points whose pixel grayscale values ​​are less than the pixel point P;

[0044] Determine an initial pixel threshold based on the grayscale values ​​of the first type of pixel points and the second type of pixel points, and divide the pixel distribution map into a first sub-distribution map and a second sub-distribution map based on the initial pixel threshold;

[0045] Determine a final pixel threshold based on the first sub-distribution map and the second sub-distribution map respectively determining an initial pixel threshold of the first sub-distribution map and the second sub-distribution map;

[0046] Determine the tower area in the image information based on the final pixel threshold and the grayscale mean of the transmission line image information;

[0047] The tower number is determined based on the tower area combined with a text detection model, and whether the tower number is within the work plan is determined by matching the determined tower number with the work plan. If the matching fails, it is characterized that the transmission line image information is an unplanned operation image.

[0048] In particular, the matching based on the work plan also includes:

[0049] Extracting feature points based on the tower area, and determining a tower feature point connection area based on upper, lower, left, and right area boundary feature points of the tower area;

[0050] Based on the connection area of ​​the characteristic points of the tower, a fitting algorithm is called to preliminarily determine the initial center of the tower, and based on the pixel distribution in the row and column direction of the initial center of the tower, a neighborhood boundary is determined to form a pending area of ​​the tower;

[0051] Marking key pixels based on the Euclidean distance between the pixel points in the undetermined area of ​​the tower and the initial center of the tower, and performing weighted fitting based on the marked key pixels in the undetermined area of ​​the tower to determine the center of the tower;

[0052] The three-dimensional coordinates of the tower are determined based on the determined tower center in combination with the coordinate conversion relationship; the three-dimensional coordinates are matched with the work plan, and based on the matching result, the transmission line image information is determined to be an unplanned operation image.

[0053] In a second aspect, the present application provides a transmission line unplanned operation verification system based on image analysis, specifically comprising:

[0054] An information acquisition module, based on the power transmission panoramic control platform, obtains original image information of the power transmission line according to a fixed frequency, and based on the original image information, obtains enhanced original image information after pixel point updating, which is recorded as image information;

[0055] An analysis and judgment module receives the image information, performs analysis and recognition based on the image sequence library, and judges whether there is construction work in the transmission line image information;

[0056] A verification module, if the transmission line image information determines that there is construction work, matches based on the work plan to determine whether the tower name and location in the transmission line image information are correct;

[0057] The result feedback module determines whether the image information of the power transmission line with construction work is an unplanned operation image based on the work plan matching result, and manually verifies the image information determined as an unplanned operation to determine the unplanned transmission line.

[0058] In a third aspect, the present application also provides an electronic device comprising a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the steps of a method for verifying unplanned operations of transmission lines based on image analysis.

[0059] In a fourth aspect, the present application also provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the steps of a method for verifying unplanned operations of transmission lines based on image analysis.

[0060] The method and system for checking unplanned operations of power transmission lines based on image analysis provided by the present application have the following beneficial effects:

[0061] 1. In this application, the image information of the transmission line is identified to determine whether there is construction work. After determining the existence of construction work, it is further matched with the work plan. By matching the obtained tower number and location information in the transmission line with the work plan, the construction site of the unplanned work can be flexibly determined. In addition, in this application, specific work scenes can be obtained based on category characteristics, including the specific number of construction workers and construction machinery. Subsequently, it can be determined by matching with the work plan whether the number of transmission line construction and the number of machinery are in line with the work plan, which provides convenience for the subsequent manual verification after the unplanned work verification, can quickly determine the construction work scene and take corresponding response measures, reduce labor costs, improve the work efficiency and result accuracy of the unplanned work verification, and realize full process risk management.

[0062] 2. In this application, when a preliminary judgment is made through the first image sequence library that there may be construction work, the second image sequence library is combined to further determine the existence of construction work. A comprehensive judgment is made by combining conventional images without construction work and images of planned construction work in the historical image library, and the corresponding reference image is accurately determined in combination with category features to make corresponding construction work judgments, thereby enhancing the work efficiency of image processing, strengthening the accuracy and reliability of the results of judging the existence of construction work in transmission line images, improving the accuracy of the results of unplanned work verification, and providing guarantees for the verification of unplanned operations.

[0063] 3. In this application, the pole tower area is determined based on the comprehensive analysis of the transmission line image information. Based on the pole tower area, multiple fittings and two pole tower center positioning are performed to achieve accurate positioning of the pole tower center, thereby improving the accuracy of the transmission line tower position identification results, thereby enhancing the reliability and accuracy of the unplanned operation verification results, reducing the errors and error rates of unplanned operation verification, and providing safety guarantees for transmission line construction. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 A schematic diagram of the process of the unplanned operation verification method of the power transmission line based on image analysis in this application;

[0065] Figure 2 It is a schematic diagram of the process of the unplanned operation verification system of the power transmission line based on image analysis in this application;

[0066] Figure 3 This is a flow chart of determining whether construction work is present in the method for verifying unplanned work on power transmission lines based on image analysis in this application. DETAILED DESCRIPTION

[0067] like Figure 1 As shown, the present application provides a method for verifying unplanned operations of power transmission lines based on image analysis, comprising the following steps:

[0068] Based on the power transmission panoramic control platform, original image information of the power transmission line is obtained according to a fixed frequency, and the original image information is enhanced by updating the pixels based on the original image information, which is recorded as image information;

[0069] Receiving the image information, analyzing and identifying it based on the image sequence library, and determining whether there is construction work in the transmission line image information;

[0070] If the transmission line image information determines that there is construction work, matching is performed based on the work plan to determine whether the tower name and location in the transmission line image information are correct;

[0071] Based on the work plan matching result, it is determined whether the image information of the power transmission line with construction work is an unplanned work image, and the image information determined as the unplanned work is manually checked to determine the unplanned transmission line.

[0072] In some embodiments of the present application, the images collected by micro-photography are easily affected by the environment and contain a lot of noise, which directly affects the subsequent recognition and analysis results of the transmission line. Therefore, it is necessary to perform denoising and enhancement processing on the acquired original image information to form image information, specifically including:

[0073] Obtain pixel point information in the original image information, and obtain a gradient value of each pixel point based on the pixel point information to determine a first eigenvalue of the pixel point;

[0074] Dividing the original image information into a first type of image blocks and a second type of image blocks based on the first characteristic value, and presetting threshold windows of the first type of image blocks and the second type of image blocks, which are recorded as a first threshold window and a second threshold window;

[0075] In some embodiments of the present application, the pixel points in the original image information are analyzed and processed, the gradient information of each pixel point is determined to further determine the first eigenvalue of each pixel point, and the original image information is roughly classified into a first type of image block and a second type of image block based on the first eigenvalue. It can be understood that, in the present application, the first type of image block represents that the difference in the eigenvalues ​​of the pixel points is small, and the overall image block is relatively smooth, and the second type of image block represents that the difference in the eigenvalues ​​of the pixel points is large, and the overall image block has obvious texture features. By setting corresponding threshold windows for different image blocks, denoising is performed to overcome the limitations of global image unified processing, improve the protection of details of texture features, achieve maximum retention of contours and texture details, and improve image clarity;

[0076] For any pixel point A in the first type of image block, determine a neighborhood window of the pixel point A based on the grayscale information and spatial features of the pixel point A;

[0077] Determine a pending window of pixel point A in the first type of image block based on the first threshold window, and determine a first correlation coefficient based on grayscale information of a neighborhood window of pixel point A and pixels in the pending window;

[0078] Determine a first weight coefficient of a pending window of pixel point A in the first type of image block based on the first association coefficient, and perform pixel weighted averaging on any pixel point A based on the first weight coefficient of the pending window to complete the update;

[0079] Repeat the above steps for the pixel points in the first type of image blocks until all the pixel points in the first type of image blocks are updated;

[0080] Furthermore, the neighborhood information of the pixel point is determined by the dual judgment factors of the grayscale and spatial characteristics of the pixel point to enhance the accuracy of the neighborhood window. For the first type of image block, the pending window of the pixel point A is determined based on the first threshold window. The pending window is consistent with the neighborhood window in size, and there are several pending windows in the first type of image block. The influence of the pending window on the neighborhood window is determined by judging the degree of association between the pending window and the neighborhood window. The first correlation coefficient is determined based on the mean, variance and other information of the grayscale information of the pixel points in the pending window and the neighborhood window. The first correlation coefficient can be represented as , wherein ABC represents the brightness, contrast and similarity of the pending window and the neighboring window respectively, and abc represents the corresponding weight parameters respectively, a+b+c=1, the larger the first correlation coefficient is, the closer the pending window is to the neighboring window, and the greater the influence on the pixel A is, the smaller the first correlation coefficient is, the less similar the pending window is to the neighboring window, and the smaller the influence on the pixel A is, the different influences of the window on the pixel are determined by the correlation degree between each pending window and the neighboring window, so as to determine different weights, the weight of the pending window with a large first correlation coefficient is large, and the weight of the pending window with a small first correlation coefficient is small, for the pixel A, the pixel A is updated after the pixel points in different pending windows are weighted averaged based on different weight coefficients, and the process is repeated to realize the pixel update of the first type of image block, that is, the denoising of the first type of image block in the original image information is completed;

[0081] For the pixel points in the second type of image blocks, updating the pixel points of the second type of image blocks is performed based on the second association coefficient and the second weight coefficient;

[0082] Determine the image information based on that both the first type of image blocks and the second type of image blocks in the original image information have been updated;

[0083] In some embodiments of the present application, the entire image is divided into two categories and processed separately according to the characteristics of the differences in pixel feature points in different areas of the original image information. Different denoising methods are performed according to different texture features. Based on the overall smoothness of the first category of image blocks, the pixel information in the first category of image blocks is updated after weighted averaging the pixel points in the pending window through the first correlation coefficient and the first weight coefficient. The pixel points in the second category of image blocks are updated based on the second correlation coefficient and the second weight coefficient. Finally, denoising of the original image information is achieved, and the denoising original image information is recorded as image information. Through targeted denoising, the texture features and edge information of the image information are enhanced, thereby improving the accuracy of transmission line identification and analysis results.

[0084] In some embodiments of the present application, different denoising methods are adopted for different texture features of the first type of image blocks and the second type of image blocks. Based on the image features with obvious texture feature information of the second type of image blocks, for any pixel point B in the second type of image blocks, a neighborhood window of the pixel point B is determined based on the feature information of the pixel point B; a pending window of the pixel point B in the second type of image blocks is determined based on the second threshold window combined with the neighborhood window; there are several pending windows, and the size of the pending window is consistent with the size of the neighborhood window of the pixel point B;

[0085] A first correlation factor is determined based on the grayscale value variance of the pixels in the neighborhood window and the window to be determined, and a second correlation factor is determined based on the coordinates of the pixels in the neighborhood window and the window to be determined; it can be understood that the first correlation factor is determined based on the proportional relationship between the covariance and the standard deviation further determined by the grayscale value variance of the pixels in the neighborhood window and the window to be determined, and the second correlation factor is determined based on the positional relationship between the pixels in the neighborhood window and the window to be determined, which can be the Euclidean distance in the present application;

[0086] The second correlation coefficient is determined based on the first correlation factor and the second correlation factor, and the second correlation coefficient is expressed as follows:

[0087] , G2 represents the second correlation coefficient, P represents the first correlation factor, M represents the grayscale mean within the threshold window, and D represents the second correlation factor;

[0088] A second weight coefficient is determined based on the second association coefficient to complete the updating of the pixels of the second type of image blocks.

[0089] In some embodiments of the present application, a final second correlation coefficient is determined to judge the correlation relationship between two image blocks by double judging the neighborhood window and the pending window determined based on the second threshold window through the first correlation factor and the second correlation factor, thereby overcoming the singleness of the judgment based only on Euclidean distance in the prior art, thereby enhancing the denoising effect on non-similar areas and improving the degree of preservation of image edge information.

[0090] In some embodiments of the present application, the image features of the power transmission line are complex. However, once the power transmission line is put into operation, the positions of most power transmission equipment such as towers and insulators are relatively fixed. Therefore, it is judged whether there is human construction or mechanical construction through historical images at a certain time and space, that is, whether there is construction work;

[0091] Based on the transmission line information acquired by shooting at a fixed frequency through calling the intranet, a time and space image sequence library of the transmission line is constructed and divided into a first image sequence library and a second image sequence library, wherein the first image sequence library is composed of image sequences of transmission lines that have not been constructed, and the second image sequence library is composed of image sequences of transmission lines with planned operations. A reference image library is formed by the image information of transmission lines shot and stored at a fixed frequency in history, and the images of transmission lines without construction operations under normal scenes collected historically, which only include transmission line images with basic information such as transmission line and tower information, are recorded as the first image sequence library; the image sequences of historical transmission lines under normal construction according to the work plan are recorded as the second image sequence library, and the second image sequence library includes images of manual construction scenes, mechanical construction scenes, and images of manual and mechanical joint construction scenes;

[0092] Determine a contour image after image preprocessing based on the image information of the power transmission line, extract feature points based on the contour image to determine a feature point subset, and extract feature points based on the first image sequence library to determine a feature point set of the first image sequence library; the image preprocessing includes but is not limited to threshold segmentation, morphological extraction, etc., and the feature point extraction includes but is not limited to SIFT, ORB, etc.;

[0093] Determining a first parameter and a second parameter based on the feature point subset and the first image sequence library feature point set, wherein the first parameter is determined based on a membership function and can be understood as a similarity situation, and the second parameter is determined based on a non-membership function and can be understood as a difference situation;

[0094] The difference degree S between the feature point subset and the feature point set of the first image sequence library is determined based on the proportional relationship between the first parameter and the second parameter, as shown below:

[0095] , is a first parameter used to characterize the similarity between the feature point subset in the contour image determined based on the membership function and the feature point set of the i-th frame image in the first image sequence library, is a second parameter used to characterize the difference between a feature point subset in the contour image determined based on the non-membership function and a feature point set of the i-th frame image in the first image sequence library, and n represents that there are n frames of unconstructed transmission line images in the first image sequence library;

[0096] The first parameter is a parameter characterizing a similarity relationship determined based on a membership function, including but not limited to being expressed by the following formula: ,in Characterizes the color distance from the feature point subset to the i-th frame image, Characterizes the spatial distance from the feature point subset to the i-th frame image, To control the parameters, Represents the distance between the original image and the i-th frame image;

[0097] The second parameter is a parameter characterizing the difference relationship determined based on the non-membership function, including but not limited to being expressed by the following formula: , Characterize non-membership function control parameters;

[0098] When the difference degree S is greater than a preset threshold, it is determined that there may be construction work in the transmission line image information;

[0099] The existence of construction work is determined based on the transmission line image information where construction work may exist in combination with the second image sequence library.

[0100] In some embodiments of the present application, by performing image preprocessing on the denoised transmission line image information to obtain a contour image, the data dimension can be reduced, key texture feature information can be highlighted, and the convenience of image processing can be enhanced. The difference degree is calculated based on the contour image and the image information in the first image sequence library. The larger the difference degree S, the smaller the similarity measure between the contour image and the image in the first image sequence library. The larger the difference degree, that is, the more dissimilar, and the smaller the difference degree S, the more similar the contour image is to the image in the first image sequence library. The transmission line obtained by comprehensive judgment based on the first parameter and the second parameter and the image in the first image sequence library are judged, which overcomes the limitation of judging based on only a single parameter, reduces the error caused by the inaccuracy of a single parameter, enhances the flexibility and adaptability in different scenarios, and makes the obtained preliminary judgment result more accurate and reasonable;

[0101] The degree of difference between the contour image and the first image sequence library as a whole can be obtained by summing the degree of difference between the contour image and n frames of images in the first image sequence library. When the degree of difference is greater than a preset threshold, it indicates that the contour image is highly dissimilar to the first image sequence library composed of the image sequence of the unconstructed transmission line, that is, construction work may exist;

[0102] When a preliminary judgment is made through the first image sequence library that there may be construction work, the second image sequence library is combined to further determine the existence of construction work. A comprehensive judgment is made through the combination of conventional images without construction work and images of planned construction work in the historical image library to enhance the reliability and accuracy of the identification results of the existence of construction work, improve the accuracy of the analysis results of manned or mechanical construction work, and provide protection for the verification of unplanned work.

[0103] In some embodiments of the present application, based on the transmission line image information that has been determined to have possible construction work, further determining the existence of construction work in combination with the second image sequence library specifically includes:

[0104] Determine the information entropy of each planned operation power transmission line image in the second image sequence library by extracting key feature points based on the second image sequence library; determine the information entropy of the power transmission line image information based on the power transmission line feature point subset;

[0105] Determine the average information entropy of the second image sequence library based on the information entropy, and mark the planned operation power transmission line images in the second image sequence library whose information entropy is greater than the average information entropy as reference images;

[0106] It can be understood that the information entropy characterizes the key feature information of the planned operation transmission line image, including the key texture, edge, spatial information, etc. of the image, which can ensure the accuracy and reliability of the calculation results. By calculating the information entropy of each planned operation transmission line image in the second image sequence library, and marking the images with a value greater than the average information entropy, the reference images are representative images in the second image sequence library and the parameters such as information entropy are more prominent and obvious. The reference images with obvious features obtained by screening are used for subsequent judgment, so that the analysis results can be obtained more quickly and the work efficiency of image analysis is enhanced.

[0107] Performing category extraction based on the reference image to respectively determine a first category, a second category, and a third category, wherein the first category representation image only has single-person features, the second category representation image only has single-machine features, and the third category representation image has category features other than the first category and the second category;

[0108] Based on the first category, determine that the first type of reference image is a single-person operation image, based on the second category, determine that the second type of reference image is a single-machine operation image, and based on the third category, determine that the third type of reference image is an operation image other than the first type of reference image and the second type of reference image;

[0109] It can be understood that three category features are obtained by performing category extraction on the reference image, the first category characterizes that the image only has single-person features, and the first category reference image determined based on the first category characterizes that the image is a single-person operation image; the second category characterizes that the image only has single-machine features, and the second category reference image determined based on the second category characterizes that the image is a single-machine operation image; the third category refers to category features other than the first category and the second category, which can be multi-person features, multi-machine features, single-person plus single-machine features, single-person plus multi-machine features, single-machine plus multi-person features, multi-person features plus multi-machine features, etc. The third category reference image determined based on the third category can also determine that the image is a multi-person operation image, a multi-machine operation image, a single-person and single-machine synchronous operation image, a single-person and multi-machine synchronous operation image, a single-machine and multi-person synchronous operation image, a multi-person and multi-machine synchronous operation image, etc.; based on the category extraction method in the present application, the construction operation scene of the reference image is subdivided to provide a more accurate reference image for whether the image contains construction work;

[0110] Extracting a number of minimum matching units based on the transmission line image information to form a minimum matching unit sequence, wherein any minimum matching unit determines at most one category feature; performing category feature judgment based on the number of minimum matching units and the first category, the second category, and the third category to determine a category feature sequence, wherein each minimum matching unit corresponds to one category feature, and a minimum matching unit sequence composed of a plurality of minimum matching units corresponds to a category feature sequence composed of a plurality of category features;

[0111] If there is only one first category in the category feature sequence, the transmission line image information and the first category reference image are compared based on information entropy to determine that the transmission line image information is a first category reference image, and it is determined that there is construction work on the transmission line and the operation scene is a single-person operation;

[0112] If there is only one second category in the category feature sequence, the transmission line image information and the second category reference image are compared based on information entropy to determine that the transmission line image information is a second category reference image, and it is determined that there is construction work on the transmission line and the operation scene is a single machine operation;

[0113] If there is a third category in the category feature sequence, the number of the first category and the second category is determined based on the fusion of the category features of each minimum matching unit, the third category is determined based on the number of the first category and the second category, and the transmission line image information is compared with the third category reference image based on information entropy to determine that the transmission line image information is a third category reference image, then it is determined that there is construction work and a specific work scene on the transmission line.

[0114] In some embodiments of the present application, it can be understood that by dividing the image information into a number of minimum matching units, and a minimum matching unit determines at most one category feature, that is, a minimum matching unit may have a single person feature, or a single mechanical feature, or no category feature; a number of minimum matching units in the transmission line image information are respectively matched with the first category, the second category and the third category to obtain a category feature sequence consisting of a plurality of categories, and the category type in the category feature sequence is judged;

[0115] If there is only one first category in the category feature sequence, the transmission line image may have a single-person operation. Further, by comparing the transmission line image information with the first category reference image representing the single-person operation image, specifically comparing the transmission line image information with the first category reference image based on information entropy to determine that the transmission line image information is the first category reference image, it is determined that there is construction work on the transmission line and the operation scene is a single-person operation;

[0116] If there is only one second category in the category feature sequence, it means that the transmission line image may have a single machine operation. Further, by comparing the transmission line image information with the second category reference image representing the single machine operation image, the transmission line image information is compared with the second category reference image based on information entropy to determine that the transmission line image information is a second category reference image, then it is determined that there is construction work on the transmission line and the operation scene is a single machine operation.

[0117] If there is a third category in the category feature sequence, it means that the transmission line may have a complex operation scene. The number of the first category and the second category is determined by fusing the category features of each minimum matching unit. The specific scene of the third category in the category feature sequence is determined based on the number of the first category and the second category, and the specific number of people and machines can be determined. Based on the combination situation, the transmission line image and the image with the most similar combination situation in the third category reference image are judged based on information entropy to determine that the transmission line image is classified as the third category reference image, and the number of workers and machines working in the transmission line image can be determined based on the specific combination situation; for example, if there are 2 first categories and 3 second categories in the transmission line image, the image of the transmission line image with multiple people and multiple machines working synchronously in the third category reference image is judged to determine whether the transmission line image at this time is the same category as the image of multiple people and multiple machines working synchronously. If so, it is determined that there is construction work in the transmission line image, and the specific operation scene and the number of workers and machines can also be obtained.

[0118] In some embodiments of the present application, reference images are classified and further subdivided into categories. The processed transmission line image information is divided into minimum matching units to determine the category features present in the image. Judgment is made based on the category features and reference images with corresponding category features. This reduces the amount of processing required for matching and judging with all images in the image library, enhances the efficiency of image processing, greatly reduces the amount of calculation required for matching with unnecessary images, and enhances the accuracy and reliability of judging the presence of construction work results in transmission line images by making judgments with reference images with corresponding category features, thereby improving the accuracy of unplanned work verification results.

[0119] In addition, in the present application, while determining whether there is construction work in the transmission line image, the specific work scene can be obtained based on the category characteristics, including the specific number of construction workers and construction machinery. Subsequently, it can be determined by matching with the work plan whether the number of transmission line construction and the number of machinery are in line with the work plan, which provides convenience for manual verification after subsequent unplanned work verification, and can quickly determine the construction work scene and take corresponding response measures.

[0120] In some embodiments of the present application, the image information of the power transmission line where construction work has been determined is matched based on the work plan synchronized with the safety risk supervision platform, so as to determine whether the construction work is a planned work, specifically including:

[0121] A work schedule is constructed based on the construction plan uploaded by the intranet system. The work schedule includes the location information, tower number, tower name, etc. of the transmission line to be constructed. The work schedule is updated synchronously based on the risk platform. It can be understood that the work schedule is formed based on the artificial intelligence platform and the safety risk supervision platform based on the uploaded transmission line construction work that needs to be constructed, and is updated synchronously, that is, the on-site information of the transmission line that needs to be constructed exists in the work schedule. If there is no parameter of the transmission line construction in the work schedule, it indicates that the transmission line construction is not in the plan and is an unplanned operation.

[0122] Obtaining the grayscale value and pixel distribution map of the pixel points in the transmission line image information, and determining the number and probability distribution of the pixel points P; based on the pixel distribution and grayscale value of the overall image of the transmission line image information, initially determining the probability of occurrence of the pixel point with the pixel grayscale value i and the number of the pixel point, recorded as P point;

[0123] Based on the pixel point P, the pixel points of the power transmission line image information are divided into a first type of pixel points and a second type of pixel points, wherein the first type of pixel points represent a set of pixel points whose pixel grayscale values ​​are greater than the pixel point P, and the second type of pixel points represent a set of pixel points whose pixel grayscale values ​​are less than the pixel point P;

[0124] Determine an initial pixel threshold based on the grayscale values ​​of the first type of pixel points and the second type of pixel points, and divide the pixel distribution map into a first sub-distribution map and a second sub-distribution map based on the initial pixel threshold;

[0125] Determine a final pixel threshold based on the first sub-distribution map and the second sub-distribution map respectively determining an initial pixel threshold of the first sub-distribution map and the second sub-distribution map;

[0126] Further, it can be understood that, for pixel point P, the pixel distribution map of the image information is roughly divided into two categories, namely, the first category of pixels and the second category of pixels. The first category of pixels is a set of pixels whose pixel grayscale values ​​are greater than the grayscale value of point P, and the second category of pixels is a set of pixels whose pixel grayscale values ​​are less than the grayscale value of point P. The pixel initial threshold is determined based on the average grayscale and occurrence probability of pixels whose pixel grayscale values ​​are greater than the grayscale value of point P and the average grayscale and occurrence probability of pixels whose pixel grayscale values ​​are less than the grayscale value of point P. In order to more accurately segment the tower area in the transmission line image, further, the channel information of the original pixel distribution map is divided into two parts based on the pixel initial threshold, namely, the first sub-distribution map and the second sub-distribution map, and the final pixel threshold is determined by respectively calculating the entropy information in the first sub-distribution map and the second sub-distribution map;

[0127] Determine the tower area in the image information based on the final pixel threshold and the grayscale mean of the transmission line image information;

[0128] Determine the tower number based on the tower area in combination with the text detection model, and determine whether the tower number is within the work plan based on the determined tower number and the work plan. If the match fails, it indicates that the transmission line image information is an unplanned operation image; call the text detection model based on the extracted tower area to identify the tower number in the tower area, and determine whether the construction of the transmission line is an unplanned operation by matching the tower number with the work plan. The text detection model includes but is not limited to the PP-OCRv3 model, the CTPN model, etc., and uses the neural network detection and recognition model to extract the text feature part of the tower area, and calculate the text content after iterative optimization to identify the tower number in the tower area image;

[0129] In some embodiments of the present application, the final pixel threshold determined by two judgments is combined with the grayscale mean of the whole image to extract the pixel points of the tower area of ​​the transmission line image information to finally determine the tower area, that is, to extract and separate the tower area in the image information. The final pixel threshold determined in the present application fully considers the global distribution of pixels, eliminates the influence of the background in the image on the tower target extraction, enhances the integrity of the tower target area extraction, retains the texture and edge information, and constrains the grayscale mean of the global image to improve the efficiency of target extraction and reduce the image processing time.

[0130] Further, in some embodiments of the present application, it can be understood that based on the artificial intelligence platform and the safety risk supervision platform, a work schedule is formed based on the uploaded transmission line construction work that needs to be constructed, and it is updated synchronously, that is, the on-site information of the transmission line that needs to be constructed is present in the work schedule. If there is no parameter of the transmission line construction in the work schedule, it indicates that the transmission line construction is not in the plan and is an unplanned construction. By re-analyzing the transmission line that has been determined to have construction work to determine whether it is an unplanned construction work, the target tower area is extracted using the pixel distribution of the transmission line image, and a unique tower number is further determined based on the extracted tower area. The tower number is matched with the tower number in the work plan. If the match is successful, it indicates that the tower of this construction is in the plan. If the match fails, it indicates that the tower of this construction is not in the work schedule. The current transmission line construction site is an unplanned construction. Matching is performed by determining the tower number to improve the accuracy of the analysis result and improve safety for unplanned operation verification.

[0131] In some embodiments of the present application, the matching based on the work plan also includes: in addition to analyzing and determining whether it is an unplanned operation based on the identification of a uniquely determined tower number, it is also possible to analyze and judge based on the specific location information of the transmission line, and it is necessary to determine the specific position relationship of the tower in the image information and then match it with the planned construction location in the work plan to determine whether it is an unplanned operation, specifically:

[0132] Feature points are extracted based on the tower area, and the tower feature point connection area is determined based on the upper, lower, left and right area boundary feature points of the tower area; the outline edge information of the tower can be preliminarily obtained through the tower area that has been extracted and determined in the above, and feature points are extracted from the pixel points in the tower area. There are four boundary areas in the tower area, the upper, lower, left and right, and the feature points in the boundary areas are connected counterclockwise to obtain the feature point connection area, which further narrows the selection range of the tower center and reduces the amount of calculation;

[0133] Based on the pole tower feature point connection area, a fitting algorithm is called to preliminarily determine the initial center of the pole tower, and based on the pixel distribution in the row and column direction of the initial center of the pole tower, the neighborhood boundary is determined to form a tower pending area; the initial center of the pole tower is determined by using, including but not limited to, a Gaussian fitting algorithm on the feature point connection area, that is, after narrowing the determination range of the pole tower area, the initial center of the pole tower is roughly located by fitting, the initial center of the pole tower and the neighborhood pixels are analyzed, and the tower pending area is determined by the standard deviation of the pixel points in the row and column direction of the initial center of the pole tower. The four boundaries of the tower pending area are at the same distance. By dividing the tower pending area, the influence of irrelevant factors on the tower positioning is reduced, thereby improving the efficiency and accuracy of the tower center positioning;

[0134] Mark key pixel points based on the Euclidean distance between pixel points in the pending tower area and the initial center of the tower, and determine the center of the tower by weighted fitting based on the marked key pixel points in the pending tower area; mark key pixel points based on the Euclidean distance between the initial center of the tower and other pixel points in the pending tower area, and record the pixel points whose Euclidean distance between the initial center of the tower and other pixel points meets the preset conditions as key feature points, then the key feature points of the tower in the pending tower area can be marked and counted, and then the center of the tower can be determined by weighted fitting of the key feature points, and the center of the tower can be determined by the determined key feature points, thereby reducing the time of image processing and reducing the positioning error;

[0135] The three-dimensional coordinates of the tower are determined based on the determined tower center in combination with the coordinate conversion relationship; the three-dimensional coordinates are matched with the work plan, and the transmission line image information is determined as an unplanned operation image based on the matching result; further, the center of the tower or the center information of the transmission line is determined by analyzing and extracting the transmission line image information, and the actual three-dimensional position information of the transmission line at this time is determined based on the obtained center through coordinate conversion, and the specific position information of the transmission line under construction is matched with the position information of the construction in the work plan. If the matching fails, it indicates that the transmission line under construction at this position is not in the work plan, that is, there is an unplanned operation. By matching the tower number and position information of the obtained transmission line with the work plan, the construction site of the unplanned operation can be flexibly determined, the labor cost can be reduced, the work efficiency and result accuracy of the unplanned operation verification can be improved, and timely measures can be taken for the construction site of the unplanned operation to achieve full process risk management.

[0136] In some embodiments of the present application, feature points are extracted from a partial area of ​​a tower extracted from an image area of ​​a transmission line to determine a connection area of ​​feature points of the tower. The center of the tower is roughly located according to fitting, i.e., the initial center of the tower. The pending area of ​​the tower is determined based on the initial center of the tower and pixel distribution in the neighborhood. The center of the tower is determined by analyzing the pending area of ​​the tower determined by indenting the layers of regions based on different conditions. The tower center overcomes the drawbacks of direct global fitting in conventional technology, and the final tower center is determined by using key feature points of the tower to achieve precise positioning of the tower center, thereby improving the accuracy of the tower position recognition results in the transmission line. The tower position is matched with the work plan by the accurately determined tower position. If the match fails, it means that the construction location of the transmission line is not in the work plan, i.e., it is an unplanned operation. The reliability and accuracy of the unplanned operation verification results are enhanced, the error and error rate of the unplanned operation verification are reduced, and safety is provided for the construction of transmission lines.

[0137] like Figure 2 As shown, the present application also provides a transmission line unplanned operation verification system based on image analysis, comprising:

[0138] An information acquisition module, based on the power transmission panoramic control platform, obtains original image information of the power transmission line according to a fixed frequency, and based on the original image information, obtains enhanced original image information after pixel point updating, which is recorded as image information;

[0139] An analysis and judgment module receives the image information, performs analysis and recognition based on the image sequence library, and judges whether there is construction work in the transmission line image information;

[0140] A verification module, if the transmission line image information determines that there is construction work, matches based on the work plan to determine whether the tower name and location in the transmission line image information are correct;

[0141] The result feedback module determines whether the image information of the power transmission line with construction work is an unplanned operation image based on the work plan matching result, and manually verifies the image information determined as an unplanned operation to determine the unplanned transmission line.

[0142] In this application, the specific implementation method of each module in the transmission line unplanned operation verification system based on image analysis corresponds to the steps of the above-mentioned verification method, which will not be described in this application.

[0143] The present application also provides an electronic device, characterized in that it includes a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the steps of a method for verifying unplanned operations of transmission lines based on image analysis.

[0144] The present application also provides a computer-readable storage medium storing computer instructions, characterized in that when the instructions are executed by a processor, the steps of a method for verifying unplanned operations of power transmission lines based on image analysis are implemented.

[0145] It should be understood that the above description of the preferred implementation examples is relatively detailed and cannot be regarded as limiting the scope of patent protection of the present invention. Under the enlightenment of the present invention, ordinary technicians in this field can also make substitutions or modifications without departing from the scope of protection of the claims of the present invention, which all fall within the scope of protection of the present invention. The scope of protection requested for the present invention shall be based on the attached claims.

[0146] The present invention is not limited to the above-mentioned specific implementation modes. Various changes made by ordinary technicians in this field based on the above-mentioned concepts without creative work are all within the protection scope of the present invention.

Claims

1. A method for verifying unplanned operations of power transmission lines based on image analysis, wherein the method is specifically include: Based on the power transmission panoramic control platform, original image information of the power transmission line is obtained according to a fixed frequency, and the original image information is enhanced by updating the pixels based on the original image information, which is recorded as image information; Receiving the image information, analyzing and identifying it based on the image sequence library, and determining whether there is construction work in the transmission line image information; If the transmission line image information determines that there is construction work, matching is performed based on the work plan to determine whether the tower name and location in the transmission line image information are correct; Based on the work plan matching result, determine whether the image information of the power transmission line with construction work is an unplanned work image, and manually check the image information determined to be an unplanned work image to determine the unplanned transmission line; The method of judging whether there is construction work in the transmission line image information specifically includes: constructing a time and space image sequence library of the transmission line based on the fixedly acquired transmission line image information and dividing it into a first image sequence library and a second image sequence library, wherein the first image sequence library is composed of image sequences of transmission lines that have not been constructed, and the second image sequence library is composed of image sequences of transmission lines with planned operations; determining a contour image after image preprocessing based on the image information of the transmission line, extracting feature points based on the contour image to determine a feature point subset, and extracting feature points based on the first image sequence library to determine a feature point set of the first image sequence library; determining a first parameter and a second parameter based on the feature point subset and the feature point set of the first image sequence library, wherein the first parameter is determined based on a membership function, and the second parameter is determined based on a non-membership function; determining a degree of difference S between the feature point subset and the feature point set of the first image sequence library based on a proportional relationship between the first parameter and the second parameter, as shown below: , is a first parameter used to characterize the similarity between the feature point subset in the contour image determined based on the membership function and the feature point set of the i-th frame image in the first image sequence library, is a second parameter used to characterize the degree of difference between a feature point subset in a contour image determined based on a non-membership function and a feature point set of an i-th frame image in the first image sequence library, and n represents that there are n frames of unconstructed transmission line images in the first image sequence library; when the degree of difference S is greater than a preset threshold, it is determined that construction work may exist in the transmission line image information; based on the transmission line image information that may have construction work, it is determined that construction work exists in combination with the second image sequence library; The determining that there is construction work in combination with the second image sequence library specifically includes: extracting key feature points based on the second image sequence library to determine the information entropy of each planned operation power transmission line image in the second image sequence library; determining the information entropy of the transmission line image information based on the transmission line feature point subset; determining the average information entropy of the second image sequence library based on the information entropy, marking the planned operation power transmission line images in the second image sequence library whose information entropy is greater than the average information entropy, and recording them as reference images; extracting categories based on the reference images to determine the first category, the second category, and the third category, respectively, wherein the first category characterization image only has single-person features, the second category characterization image only has single-machine features, and the third category characterization image has category features other than the first category and the second category; determining the first category reference image as a single-person operation image based on the first category, determining the second category reference image as a single-machine operation image based on the second category, and determining the third category reference image as an operation image other than the first category reference image and the second category reference image based on the third category; extracting a plurality of minimum matching units based on the transmission line image information, wherein any one of the minimum matching units determines at most one category feature. feature; determining a category feature sequence based on category feature judgment of the plurality of minimum matching units and the first category, the second category and the third category; if there is only one first category in the category feature sequence, comparing the information entropy of the transmission line image information with the first category reference image to determine whether the transmission line image information is a first category reference image, and if so, determining that there is construction work on the transmission line and the operation scene is a single-person operation; if there is only one second category in the category feature sequence, comparing the information entropy of the transmission line image information with the second category reference image to determine whether the transmission line image information is a second category reference image, and if so, determining that there is construction work on the transmission line and the operation scene is a single-machine operation; if there is a third category in the category feature sequence, determining the number of the first category and the second category based on the category features of each minimum matching unit, determining the third category based on the number of the first category and the second category, and comparing the information entropy of the transmission line image information with the third category reference image to determine whether the transmission line image information is a third category reference image, and if so, determining that there is construction work and a specific operation scene on the transmission line.

2. The method for checking unplanned operations of power transmission lines based on image analysis according to claim 1, It is characterized in that The method for obtaining the image information specifically includes: Obtain pixel point information in the original image information, and obtain a gradient value of each pixel point based on the pixel point information to determine a first eigenvalue of the pixel point; Dividing the original image information into a first type of image blocks and a second type of image blocks based on the first characteristic value, and presetting threshold windows of the first type of image blocks and the second type of image blocks, which are recorded as a first threshold window and a second threshold window; For any pixel point A in the first type of image block, determine a neighborhood window of the pixel point A based on the grayscale information and spatial features of the pixel point A; Determine a pending window of pixel point A in the first type of image block based on the first threshold window, and determine a first correlation coefficient based on grayscale information of a neighborhood window of pixel point A and pixels in the pending window; Determine a first weight coefficient of a pending window of pixel point A in the first type of image block based on the first association coefficient, and perform pixel weighted averaging on any pixel point A based on the first weight coefficient of the pending window to complete the update; Repeat the above steps for the pixel points in the first type of image blocks until all the pixel points in the first type of image blocks are updated; For the pixel points in the second type of image blocks, updating the pixel points of the second type of image blocks is performed based on the second association coefficient and the second weight coefficient; The image information is determined based on that the pixel points of the first type of image blocks and the second type of image blocks in the original image information are updated.

3. The method for checking unplanned operations of power transmission lines based on image analysis according to claim 2, It is characterized in that The second type of image block pixel update process specifically includes: For any pixel point B in the second type of image block, determine a neighborhood window of the pixel point B based on feature information of the pixel point B; determine a pending window of the pixel point B in the second type of image block based on the second threshold window combined with the neighborhood window; Determine a first correlation factor based on the grayscale value variance of the pixel points in the neighborhood window and the window to be determined, and determine a second correlation factor based on the coordinates of the pixel points in the neighborhood window and the window to be determined; The second correlation coefficient is determined based on the first correlation factor and the second correlation factor, and the second correlation coefficient is expressed as follows: , where G2 represents the second correlation coefficient, P represents the first correlation factor, M represents the grayscale mean within the threshold window, and D represents the second correlation factor; A second weight coefficient is determined based on the second association coefficient to complete the updating of the pixels of the second type of image blocks.

4. The method for checking unplanned operations of power transmission lines based on image analysis according to claim 1, It is characterized in that The matching based on the work plan specifically includes: Building a work schedule based on the construction plan, where the work schedule is updated synchronously based on the risk platform; Obtaining the grayscale value and pixel distribution map of the pixel points in the transmission line image information, and initially determining the probability of occurrence of the pixel point with the pixel grayscale value i and the number of the pixel points, which are recorded as P points; Based on the pixel point P, the pixel points of the power transmission line image information are divided into a first type of pixel points and a second type of pixel points, wherein the first type of pixel points represent a set of pixel points whose pixel grayscale values ​​are greater than the pixel point P, and the second type of pixel points represent a set of pixel points whose pixel grayscale values ​​are less than the pixel point P; Determine an initial pixel threshold based on the grayscale values ​​of the first type of pixel points and the second type of pixel points, and divide the pixel distribution map into a first sub-distribution map and a second sub-distribution map based on the initial pixel threshold; Determine a final pixel threshold based on the first sub-distribution map and the second sub-distribution map respectively determining an initial pixel threshold of the first sub-distribution map and the second sub-distribution map; Determine the tower area in the image information based on the final pixel threshold and the grayscale mean of the transmission line image information; The tower number is determined based on the tower area combined with a text detection model, and whether the tower number is within the work plan is determined by matching the determined tower number with the work plan. If the matching fails, it is characterized that the transmission line image information is an unplanned operation image.

5. The method for checking unplanned operations of power transmission lines based on image analysis according to claim 4, It is characterized in that The matching based on the work plan also includes: Extracting feature points based on the tower area, and determining a tower feature point connection area based on upper, lower, left, and right area boundary feature points of the tower area; Based on the connection area of ​​the characteristic points of the tower, a fitting algorithm is called to preliminarily determine the initial center of the tower, and based on the pixel distribution in the row and column direction of the initial center of the tower, a neighborhood boundary is determined to form a pending area of ​​the tower; Marking key pixels based on the Euclidean distance between the pixel points in the undetermined area of ​​the tower and the initial center of the tower, and performing weighted fitting based on the marked key pixels in the undetermined area of ​​the tower to determine the center of the tower; The three-dimensional coordinates of the tower are determined based on the determined tower center in combination with the coordinate conversion relationship; the three-dimensional coordinates are matched with the work plan, and based on the matching result, the transmission line image information is determined to be an unplanned operation image.

6. Transmission line unplanned operation verification system based on image analysis, It is characterized in that The verification system specifically includes: An information acquisition module, based on the power transmission panoramic control platform, obtains original image information of the power transmission line according to a fixed frequency, and based on the original image information, obtains enhanced original image information after pixel point updating, which is recorded as image information; An analysis and judgment module receives the image information, performs analysis and recognition based on the image sequence library, and judges whether there is construction work in the transmission line image information; A verification module, if the transmission line image information determines that there is construction work, matches based on the work plan to determine whether the tower name and location in the transmission line image information are correct; A result feedback module determines whether the image information of the power transmission line with construction work is an unplanned operation image based on the work plan matching result, and manually verifies the image information determined to be an unplanned operation to determine whether it is an unplanned transmission line; In the analysis and judgment module, the judgment of whether there is construction work in the transmission line image information specifically includes: based on the fixedly acquired transmission line image information, constructing a time and space image sequence library of the transmission line and dividing it into a first image sequence library and a second image sequence library, wherein the first image sequence library is composed of image sequences of unconstructed transmission lines, and the second image sequence library is composed of image sequences of planned transmission lines; determining a contour image after image preprocessing based on the image information of the transmission line, extracting feature points based on the contour image to determine a feature point subset, and extracting feature points based on the first image sequence library to determine a feature point set of the first image sequence library; determining a first parameter and a second parameter based on the feature point subset and the feature point set of the first image sequence library, wherein the first parameter is determined based on a membership function, and the second parameter is determined based on a non-membership function; determining a degree of difference S between the feature point subset and the feature point set of the first image sequence library based on a proportional relationship between the first parameter and the second parameter, as shown below: , is a first parameter used to characterize the similarity between the feature point subset in the contour image determined based on the membership function and the feature point set of the i-th frame image in the first image sequence library, is a second parameter used to characterize the degree of difference between a feature point subset in a contour image determined based on a non-membership function and a feature point set of an i-th frame image in the first image sequence library, and n represents that there are n frames of unconstructed transmission line images in the first image sequence library; when the degree of difference S is greater than a preset threshold, it is determined that construction work may exist in the transmission line image information; based on the transmission line image information that may have construction work, it is determined that construction work exists in combination with the second image sequence library; The determining that there is construction work in combination with the second image sequence library specifically includes: extracting key feature points based on the second image sequence library to determine the information entropy of each planned operation power transmission line image in the second image sequence library; determining the information entropy of the transmission line image information based on the transmission line feature point subset; determining the average information entropy of the second image sequence library based on the information entropy, marking the planned operation power transmission line images in the second image sequence library whose information entropy is greater than the average information entropy, and recording them as reference images; extracting categories based on the reference images to determine the first category, the second category, and the third category, respectively, wherein the first category characterization image only has single-person features, the second category characterization image only has single-machine features, and the third category characterization image has category features other than the first category and the second category; determining the first category reference image as a single-person operation image based on the first category, determining the second category reference image as a single-machine operation image based on the second category, and determining the third category reference image as an operation image other than the first category reference image and the second category reference image based on the third category; extracting a plurality of minimum matching units based on the transmission line image information, wherein any one of the minimum matching units determines at most one category feature. feature; determining a category feature sequence based on category feature judgment of the plurality of minimum matching units and the first category, the second category and the third category; if there is only one first category in the category feature sequence, comparing the information entropy of the transmission line image information with the first category reference image to determine whether the transmission line image information is a first category reference image, and if so, determining that there is construction work on the transmission line and the operation scene is a single-person operation; if there is only one second category in the category feature sequence, comparing the information entropy of the transmission line image information with the second category reference image to determine whether the transmission line image information is a second category reference image, and if so, determining that there is construction work on the transmission line and the operation scene is a single-machine operation; if there is a third category in the category feature sequence, determining the number of the first category and the second category based on the category features of each minimum matching unit, determining the third category based on the number of the first category and the second category, and comparing the information entropy of the transmission line image information with the third category reference image to determine whether the transmission line image information is a third category reference image, and if so, determining that there is construction work and a specific operation scene on the transmission line.

7. An electronic device, It is characterized in that It comprises a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the steps of the method according to any one of claims 1 to 5.

8. A computer-readable storage medium storing computer instructions, It is characterized in that When the instruction is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Power transmission line satellite remote sensing unplanned operation risk assessment method and system

    CN116630153A