Power grid equipment evaluation method and device, electronic equipment and storage medium

By performing image identification processing for the instrument type of power grid equipment, the problem of low accuracy in power grid equipment evaluation during automatic inspection is solved, and more efficient and accurate evaluation results are achieved, reducing the influence of human factors.

CN119294661APending Publication Date: 2025-01-10GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411330789.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The existing automatic inspection methods are difficult to ensure the accuracy of grid equipment evaluation, resulting in low evaluation efficiency, large errors and heavy workload, and are greatly affected by the professional quality of personnel.

Method used

By acquiring the instrument images of the power grid equipment and determining the corresponding image recognition method according to the instrument type, the image recognition process can be avoided from the accuracy influence caused by the image recognition method of different instrument types, thereby improving the accuracy of equipment evaluation.

Benefits of technology

It improves the accuracy and efficiency of grid equipment evaluation, reduces errors and workloads, reduces dependence on personnel professional qualities, and enhances the coverage and real-timeness of evaluation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119294661A_ABST
    Figure CN119294661A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a power grid equipment evaluation method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring an instrument image obtained by performing image acquisition on an equipment instrument of power grid equipment and an instrument type of the equipment instrument; determining an image identification mode corresponding to the instrument type, and performing image identification processing on the instrument image according to the image identification mode to obtain an image identification result; and determining an equipment evaluation result of the power grid equipment according to the image identification result. According to the technical scheme of the embodiment of the invention, the accuracy of power grid equipment evaluation can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the technical field of power grid equipment evaluation, and in particular, to a power grid equipment evaluation method, device, electronic device and storage medium. Background Art

[0002] The evaluation of power grid equipment is crucial to ensure personal safety and the safety of power grid equipment.

[0003] At present, manual inspection is usually used to evaluate power grid equipment. However, with the continuous expansion of the power grid and the sharp increase in substations in the power grid, this method will lead to problems such as low evaluation efficiency, large errors, heavy workload and the influence of personnel's professional quality. Therefore, it is necessary to change to automatic inspection to evaluate power grid equipment in order to avoid the above problems.

[0004] However, the currently used automatic inspection method cannot guarantee the accuracy of power grid equipment evaluation, which needs to be solved urgently. Summary of the invention

[0005] Embodiments of the present invention provide a method, an apparatus, an electronic device and a storage medium for evaluating power grid equipment, so as to improve the accuracy of evaluating power grid equipment.

[0006] According to one aspect of the present invention, a method for evaluating power grid equipment is provided, which may include:

[0007] Acquire an instrument image obtained by performing image acquisition on an equipment instrument of a power grid device, and an instrument type of the equipment instrument;

[0008] Determine an image recognition method corresponding to the instrument type, and perform image recognition processing on the instrument image according to the image recognition method to obtain an image recognition result;

[0009] Based on the image recognition results, the equipment evaluation results of the power grid equipment are determined.

[0010] According to another aspect of the present invention, a power grid equipment evaluation device is provided, which may include:

[0011] An instrument type acquisition module is used to acquire an instrument image obtained by performing image acquisition on an equipment instrument of a power grid device, as well as an instrument type of the equipment instrument;

[0012] The image recognition result obtaining module is used to determine the image recognition method corresponding to the instrument type, and perform image recognition processing on the instrument image according to the image recognition method to obtain the image recognition result;

[0013] The equipment evaluation result determination module is used to determine the equipment evaluation result of the power grid equipment according to the image recognition result.

[0014] According to another aspect of the present invention, there is provided an electronic device, which may include:

[0015] at least one processor; and

[0016] a memory communicatively connected to at least one processor; wherein,

[0017] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by at least one processor so that the at least one processor implements the power grid equipment evaluation method provided by any embodiment of the present invention when executing the computer program.

[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, on which computer instructions are stored. The computer instructions are used to enable a processor to implement the power grid equipment evaluation method provided by any embodiment of the present invention when executed.

[0019] The technical solution of the embodiment of the present invention is to obtain the instrument image obtained by image acquisition of the equipment instrument of the power grid equipment, and the instrument type of the equipment instrument, so as to determine the image recognition method corresponding to the instrument image through the instrument type; determine the image recognition method corresponding to the instrument type, and perform image recognition processing on the instrument image according to the image recognition method to obtain an image recognition result, so that the instrument image can be processed by an image recognition method that is more suitable for processing the instrument image, and a more accurate image recognition result can be obtained; according to the image recognition result, the equipment evaluation result of the power grid equipment is determined to obtain a more accurate equipment evaluation result. The above technical solution can perform targeted recognition processing on the instrument image through the image recognition method corresponding to the instrument type, avoid using the same image recognition method to identify instrument images corresponding to different instrument types, which may affect the accuracy of the image recognition result, and further avoid affecting the accuracy of the equipment evaluation result, thereby improving the accuracy of the power grid equipment evaluation.

[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0022] Figure 1is a flow chart of a power grid equipment evaluation method provided according to an embodiment of the present invention;

[0023] Figure 2 is a flow chart of another power grid equipment evaluation method provided according to an embodiment of the present invention;

[0024] Figure 3 is a flowchart of an optional example of another power grid equipment evaluation method provided in an embodiment of the present invention;

[0025] Figure 4 is a structural block diagram of a power grid equipment evaluation device provided according to an embodiment of the present invention;

[0026] Figure 5 It is a structural schematic diagram of an electronic device for implementing the power grid equipment evaluation method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. The situations of "target", "original", etc. are similar and will not be repeated here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] Before introducing the embodiments of the present invention, an exemplary description is given of the implementation process of the current power grid equipment evaluation scheme and the reasons why it is difficult to ensure the accuracy of the power grid equipment evaluation, so as to better understand why the scheme proposed in the embodiments of the present invention can improve the accuracy of the power grid equipment evaluation.

[0030] For example, in order to improve the inspection efficiency and thus the efficiency of power grid equipment evaluation, and to improve the safety of on-site personnel, intelligent inspection devices that integrate a variety of high technologies have begun to enter substations and assist operators in carrying out automatic inspections, greatly improving the efficiency of power grid inspections, thereby improving the evaluation efficiency of power grid equipment evaluation, reducing errors, reducing workload, and avoiding the impact of personnel professional quality. However, the existing intelligent inspection devices are still not fully competent for complex inspections. For example, there are many problems such as low inspection coverage and low accuracy of meter identification, which makes it difficult for the currently used automatic inspection method to ensure the accuracy of power grid equipment evaluation.

[0031] In view of this, the embodiment of the present invention can use the image recognition method corresponding to the instrument type to specifically recognize the instrument image, avoid using the same image recognition method to recognize the instrument images corresponding to different instrument types, which may affect the accuracy of the image recognition result, and further avoid affecting the accuracy of the equipment evaluation result, thereby improving the accuracy of the power grid equipment evaluation. This will be explained in detail below.

[0032] Figure 1 1 is a flow chart of a method for evaluating power grid equipment provided in an embodiment of the present invention. This embodiment is applicable to the case of evaluating power grid equipment. The method can be executed by a power grid equipment evaluation device provided in an embodiment of the present invention, and the device can be implemented by software and / or hardware. The device can be integrated in an electronic device, and the electronic device can be various user terminals or servers.

[0033] See also Figure 1 The method of the embodiment of the present invention specifically includes the following steps:

[0034] S110: Acquire instrument images obtained by performing image acquisition on equipment instruments of power grid equipment, and instrument types of the equipment instruments.

[0035] Among them, the power grid equipment is the equipment for evaluating the demand in the power grid. The equipment meter is an instrument that can characterize the state of the power grid equipment; the equipment meter can be, for example, an instrument that displays at least one of the temperature, voltage, current and humidity of the power grid equipment. The instrument image is an image obtained by image acquisition of the equipment meter; since the instrument image can characterize the position of the characters in the equipment meter, the value size and scale and other information, it can be used for evaluating the power grid equipment; the instrument image can be, for example, a red green blue (RGB) image, a grayscale image or an infrared image, etc., which is not specifically limited here. The instrument type is the type of the equipment meter; the instrument type can be, for example, a graphic display type, a pointer type or a digital type, etc., which are divided according to the form of expression of the instrument itself; the instrument type can be, for example, a temperature instrument type, a pressure instrument type, a flow meter type, a liquid level meter type, a humidity instrument type, a current meter type or a voltage meter type, etc., which are divided according to the measurement object; the instrument type can be, for example, a mechanical instrument type, an electrical instrument type, an electronic instrument type or an intelligent instrument type, etc., which are divided according to the working principle; the instrument type can be, for example, a meter type divided according to the purpose, etc., which is not specifically limited here.

[0036] In the embodiment of the present invention, considering that the existing automatic inspection methods may have many problems such as low inspection navigation positioning accuracy, low inspection coverage, low meter identification accuracy, and inability to evaluate the equipment status in real time, a fixed high-definition camera can be set for the equipment meter so that the high-definition camera can directly image the equipment meter to obtain the instrument image; when the required cost is low, the equipment meter can also be imaged during the automatic inspection process to obtain the instrument image. In the embodiment of the present invention, there is no specific limitation on the method of obtaining the instrument image.

[0037] In the embodiment of the present invention, the instrument images obtained by performing image acquisition on the equipment instruments of the power grid equipment and the instrument types of the equipment instruments can be acquired in real time, so as to perform online and real-time evaluation of the power grid equipment.

[0038] S120, determining an image recognition method corresponding to the instrument type, and performing image recognition processing on the instrument image according to the image recognition method to obtain an image recognition result.

[0039] The image recognition method is a method for recognizing the value of the instrument represented by the instrument image, etc. The image recognition result is the result obtained by performing image recognition processing on the instrument image.

[0040] In the embodiment of the present invention, for example, when the instrument type is a graphic display type, the instrument image may be subjected to graphic extraction processing, and the extracted graphic may be subjected to graphic mapping and other processing to obtain an image recognition result; for example, when the instrument type is a pointer type, the instrument image may be subjected to pointer extraction processing, and the extracted pointer may be subjected to pointer mapping and other processing to obtain an image recognition result; for example, when the instrument type is a digital type, the instrument image may be subjected to digital extraction processing, and the image recognition result may be determined based on the extracted digital; etc. In the embodiment of the present invention, there is no specific limitation on the method of determining the image recognition method corresponding to the instrument type, and performing image recognition processing on the instrument image according to the image recognition method to obtain the image recognition result.

[0041] S130: Determine an equipment evaluation result of the power grid equipment according to the image recognition result.

[0042] Among them, the equipment evaluation result is the result obtained by evaluating the power grid equipment.

[0043] In the embodiment of the present invention, for example, if the image recognition result is the value of the equipment meter, the safety boundary value such as the threshold of the equipment meter can be determined. When the image recognition result is greater than the safety boundary value, the equipment evaluation result is determined to be abnormality of the power grid equipment; when the image recognition result is less than or equal to the safety boundary value, the equipment evaluation result is determined to be normal power grid equipment. In the embodiment of the present invention, the method of determining the equipment evaluation result of the power grid equipment according to the image recognition result is not specifically limited.

[0044] In an embodiment of the present invention, when the equipment evaluation result is that there is no abnormality in the power grid equipment, the image recognition result can be stored and sent to the computer for display; when the equipment evaluation result is that the power grid equipment is abnormal, the image recognition result can be stored, sent to the computer for display, and an alarm signal can be sent to the computer. The data or signal sent to the computer can, for example, establish a Transmission Control Protocol / Internet Protocol (TCP / IP) connection with the computer through a network interface, and the computer can act as a server, listen to a port, and connect to a server port.

[0045] The technical solution of the embodiment of the present invention obtains the instrument image obtained by image acquisition of the equipment instrument of the power grid equipment, and the instrument type of the equipment instrument, so as to determine the image recognition method corresponding to the instrument image through the instrument type; determine the image recognition method corresponding to the instrument type, and perform image recognition processing on the instrument image according to the image recognition method to obtain an image recognition result, so that the instrument image can be processed by an image recognition method that is more suitable for processing the instrument image, and a more accurate image recognition result can be obtained; determine the equipment evaluation result of the power grid equipment according to the image recognition result, so as to determine a more accurate equipment evaluation result. The above technical solution can perform targeted recognition processing on the instrument image through the image recognition method corresponding to the instrument type, avoid using the same image recognition method to identify instrument images corresponding to different instrument types, which may affect the accuracy of the image recognition result, and further avoid affecting the accuracy of the equipment evaluation result, thereby improving the accuracy of the power grid equipment evaluation.

[0046] An optional technical solution, when the image recognition method corresponds to the pointer type, performs image recognition processing on the instrument image according to the image recognition method to obtain an image recognition result, including: using Hough transform to determine the dial area from the instrument image, and using Hough transform to determine the pointer area from the dial area; determining the image recognition result according to the pointer area.

[0047] The Hough transform may be a Hough transform in an open source computer vision library (OpenCV). According to the basic principle and implementation method of the Hough transform, the dial area may be determined from the instrument image, and the pointer area may be determined from the dial area. The dial area is the area of ​​the dial belonging to the device instrument in the instrument image. The pointer area is the area of ​​the pointer belonging to the device instrument in the instrument image.

[0048] In the embodiment of the present invention, for example, Hough transform can be used to determine each area with the same shape as the dial from the instrument image, and then the area with the same shape as the dial that is not the dial is filtered out by a preset threshold value such as the dial size, and the remaining area with the same shape as the dial is used as the dial area. For example, Hough transform can be used to determine each circular area from the instrument image, and then the circular area with the same shape as the dial that is not the dial is filtered out by a preset threshold value such as the dial size, and the remaining circular area is used as the dial area. In the embodiment of the present invention, the method of using Hough transform to determine the dial area from the instrument image is not specifically limited.

[0049] It should be noted that, considering that the shapes of equipment instruments may be different, for example, the instrument shape of the equipment instrument can be determined, and the Hough transform can be used to determine the dial area from the instrument image according to the instrument shape; for another example, a priority can be set for each candidate instrument shape, and a target instrument shape can be determined from each candidate instrument shape in order of priority, and the dial area can be determined from the instrument image according to the target instrument shape by using the Hough transform. If the dial area cannot be determined from the instrument image according to the target instrument shape, the target instrument shape can be re-determined from each candidate instrument shape in order of priority, and the dial area can be determined from the instrument image according to the target instrument shape by using the Hough transform. If the dial area cannot be determined from the instrument image according to the target instrument shape, the step of re-determining the target instrument shape from each candidate instrument shape can be returned.

[0050] In the embodiment of the present invention, for example, Hough transform can be used to determine the areas with the same shape as the pointer from the dial area, and then the areas with the same shape as the pointer that are not the pointer are filtered out by using a preset threshold such as the pointer size, and the remaining areas with the same shape as the pointer are used as the pointer area. For example, Hough transform can be used to determine the areas where the lines are located from the dial area, and then the areas where the lines are located that are not the pointer are filtered out by using a preset threshold such as the pointer size, and the remaining areas where the lines are located are used as the pointer area. In the embodiment of the present invention, the method of using Hough transform to determine the pointer area from the dial area is not specifically limited.

[0051] It should be noted that, considering that the shapes of the pointers may be different, for example, the pointer shape of the pointer can be determined by using the Hough transform, and the pointer area can be determined from the dial area according to the pointer shape; for another example, a priority can be set for each candidate pointer shape, and the target pointer shape can be determined from each candidate pointer shape in order of priority, and the pointer area can be determined from the dial area according to the target pointer shape by using the Hough transform. If the pointer area cannot be determined from the dial area according to the target pointer shape, the target pointer shape can be redetermined from each candidate pointer shape in order of priority, and the pointer area can be determined from the dial area according to the target pointer shape by using the Hough transform. If the pointer area cannot be determined from the dial area according to the target pointer shape, the step of redetermining the target pointer shape from each candidate pointer shape can be returned.

[0052] In the embodiment of the present invention, for example, the pointer angle of the pointer in the device meter can be determined according to the pointer area, and the image recognition result can be determined according to the pointer angle. In the embodiment of the present invention, the method of determining the image recognition result according to the pointer area is not specifically limited.

[0053] In an embodiment of the present invention, considering that the length, width and color of the pointer are different, the meanings they refer to may also be different, and the positions of the pointer in the equipment instrument are different, the meanings they refer to are also different. Therefore, the pointer position of the pointer area in the dial area can be determined. The pointer position can, for example, include the positions of each pixel point occupied by the pointer area in the dial area compared to the dial area, and the length, width and color of the pointer area are identified to obtain the pointer length, pointer width and pointer color; the image recognition result is determined according to at least one of the pointer angle, pointer position, pointer length, pointer width and pointer color of the pointer area. For example, at least one of the pointer angle, pointer position, pointer length, pointer width and pointer color can be mapped to the pointer-type instrument template of the equipment instrument by using an image registration algorithm or the like, and the image recognition result is determined according to the reading obtained from the mapping result.

[0054] In an embodiment of the present invention, when the image recognition method corresponds to the pointer type, the dial area can be determined from the instrument image by using Hough transform, and the pointer area can be determined from the dial area by using Hough transform. The area of ​​the pointer in the instrument image can be accurately obtained, so that a higher accuracy image recognition result can be determined based on the pointer area.

[0055] Another optional technical solution, when the image recognition method corresponds to the digital type, performs image recognition processing on the instrument image according to the image recognition method to obtain an image recognition result, including: using a projection method to determine at least one character area in the instrument image and the character position corresponding to the at least one character area; for each character area in the at least one character area, performing character recognition on the character area to obtain a character recognition result; and determining the image recognition result according to the character position corresponding to the at least one character area and the character recognition result.

[0056] The character area is the area corresponding to the characters in the instrument of the device in the instrument image. The character position is the position of the character area in the instrument image. The character recognition result is the result obtained by performing character recognition on the character area.

[0057] In the embodiment of the present invention, for example, a projection method may be used to determine the vertical projection of the instrument image, and based on the vertical projection, the starting and ending positions of each character are located from left to right in the instrument image and vertical cutting is performed, and then the starting and ending positions of each character are located from top to bottom and horizontal cutting is performed to determine at least one character area in the instrument image and the character positions corresponding to the at least one character area. In the embodiment of the present invention, the method of using the projection method to determine at least one character area in the instrument image and the character positions corresponding to the at least one character area is not specifically limited.

[0058] In the embodiment of the present invention, for example, a threading method or the like can be used to perform character recognition on a character region to obtain a character recognition result, and the recognition of a character region can be completed within 1 second. In the embodiment of the present invention, the method of performing character recognition on a character region to obtain a character recognition result is not specifically limited.

[0059] In the embodiment of the present invention, since the character position can determine the front, back, left, and right order of the character regions, it can also represent the front, back, left, and right order of the character recognition results corresponding to the character regions. Therefore, for example, the character recognition results corresponding to at least one character region can be sorted and spliced ​​according to the character position corresponding to at least one character region to obtain the image recognition result; for another example, the character recognition results corresponding to at least one character region can be mapped to the digital instrument template of the equipment instrument according to the character position corresponding to at least one character region by using an image registration algorithm, and the image recognition result is determined based on the reading obtained from the mapping result. In the embodiment of the present invention, there is no specific limitation on the method of determining the image recognition result based on the character position corresponding to at least one character region and the character recognition result.

[0060] In an embodiment of the present invention, before using the projection method to determine at least one character area in the instrument image and the character positions corresponding to the at least one character area, the instrument image can also be subjected to image grayscale processing, image binarization processing and image filtering processing to obtain an image preprocessing result, and then based on the image preprocessing result, the instrument image is updated so that the updated instrument image can be divided into two parts, a character part and a background part, which is conducive to the subsequent use of the projection method to segment the at least one character area in the instrument image and determine the character positions corresponding to the at least one character area.

[0061] The above technical solution, by determining the image recognition result according to the character positions and character recognition results corresponding to at least one character area, can avoid errors in the image recognition result caused by the position errors of the character recognition results, thereby improving the accuracy of the image recognition result.

[0062] Based on the above scheme, there is another optional technical scheme. Before performing character recognition on the character area, the power grid equipment evaluation method also includes: determining the normalization ratio of the character area according to the size of the character area and a preset normalized size, and normalizing the character area according to the normalization ratio; updating the character area according to the obtained normalization result.

[0063] The normalized size is the size of the character area under a preset ideal condition. The normalized ratio is the ratio of the character area to be normalized. The normalized result is the result obtained by normalizing the character area.

[0064] In an embodiment of the present invention, in order to facilitate character recognition, the character area can be normalized to a specified size. However, if the character area is directly normalized according to the normalized size, it may cause deformation of the character area, thereby affecting the accuracy of the image recognition result. Therefore, the normalization ratio of the character area can be determined according to the size of the character area and the preset normalized size, and the character area can be normalized according to the normalized ratio to avoid the occurrence of the above situation.

[0065] In the embodiment of the present invention, for example, the size of the character area may include the character area width and the character area height, and the normalized size includes the normalized width and the normalized height; the width ratio between the normalized width and the character area width and the height ratio between the normalized height and the character area height are determined; and the minimum ratio of the width ratio and the height ratio is used as the normalized ratio. In the embodiment of the present invention, the method of determining the normalized ratio of the character area according to the size of the character area and the preset normalized size is not specifically limited.

[0066] For example, the normalized size is 21×30, the character area size is H×W; the formula is used Determine the normalization ratio scale; use the formula H1=H×scale to determine the height H1 in the normalized result, and use the formula W1=W×scale to determine the height W1 in the normalized result.

[0067] In an embodiment of the present invention, by determining the normalization ratio of the character area according to the size of the character area and a preset normalized size, and normalizing the character area according to the normalized ratio, it can be achieved that the character area updated according to the normalized result will not be distorted due to disproportionate normalized scaling, and it is beneficial to obtain the basic information of the character through character recognition, that is, character recognition obtains the character recognition result.

[0068] Figure 2 It is a flow chart of another power grid equipment evaluation method provided in an embodiment of the present invention. This embodiment is optimized based on the above-mentioned technical solutions. In this embodiment, optionally, before performing image recognition processing on the instrument image according to the image recognition method to obtain the image recognition result, it also includes: determining an image preprocessing method corresponding to the instrument type, and preprocessing the instrument image according to the image preprocessing method to obtain the image preprocessing result; updating the instrument image according to the image preprocessing result. Among them, the explanations of the terms that are the same or corresponding to the above-mentioned embodiments are not repeated here.

[0069] See also Figure 2 The method of this embodiment may specifically include the following steps:

[0070] S210: Acquire instrument images obtained by performing image acquisition on equipment instruments of power grid equipment, and instrument types of the equipment instruments.

[0071] S220, determining an image preprocessing method corresponding to the instrument type, and preprocessing the instrument image according to the image preprocessing method to obtain an image preprocessing result.

[0072] The image preprocessing method is a method for preprocessing the instrument image. The image preprocessing result is a result obtained by preprocessing the instrument image.

[0073] In the embodiment of the present invention, for example, the image preprocessing method corresponding to the instrument type can be determined according to the characteristics of the instrument type and / or the image recognition method. In the embodiment of the present invention, the method for determining the image preprocessing method corresponding to the instrument type is not specifically limited.

[0074] In the embodiment of the present invention, for example, when the instrument type is a pointer type, the instrument image can be subjected to image grayscale processing, image histogram equalization processing, image filtering processing, and image edge detection processing to obtain an image preprocessing result; for another example, when the instrument type is a digital type, the instrument image can be subjected to image grayscale processing, image binarization processing, and image filtering processing to obtain an image preprocessing result. In the embodiment of the present invention, the method of preprocessing the instrument image according to the image preprocessing method to obtain the image preprocessing result is not specifically limited.

[0075] Optionally, when the meter type is a pointer type, the image preprocessing method corresponding to the pointer type includes at least one of image grayscale processing, image histogram equalization processing, image filtering processing, and image edge detection processing, wherein the image edge detection processing may be, for example, image canny operator edge detection, etc. The above technical solution can make the meter image updated by the image preprocessing result help improve the accuracy and efficiency of power grid equipment evaluation when the meter type is a pointer type.

[0076] Optionally, when the meter type is a digital type, the image preprocessing method corresponding to the meter type includes at least one of image grayscale processing, image binarization processing, and image filtering processing. The above technical solution can make the meter image updated by the image preprocessing result help improve the accuracy and efficiency of power grid equipment evaluation when the meter type is a digital type.

[0077] S230: Update the instrument image according to the image preprocessing result.

[0078] In the embodiment of the present invention, for example, the image preprocessing result can be updated to the instrument image. In the embodiment of the present invention, the method of updating the instrument image according to the image preprocessing result is not specifically limited.

[0079] S240: Determine an image recognition method corresponding to the instrument type, and perform image recognition processing on the instrument image according to the image recognition method to obtain an image recognition result.

[0080] S250: Determine an equipment evaluation result of the power grid equipment according to the image recognition result.

[0081] The technical solution of the embodiment of the present invention determines the image preprocessing method corresponding to the meter type, and preprocesses the meter image according to the image preprocessing method to obtain the image preprocessing result, and then updates the meter image according to the image preprocessing result, so that the meter image updated by the image preprocessing result can help improve the accuracy and efficiency of power grid equipment evaluation.

[0082] In order to better understand the technical solution of the above embodiment of the present invention, an optional example is provided here. Figure 3 , photograph the equipment instrument of the power grid equipment through a high-definition camera, obtain the instrument image, and obtain the instrument type of the equipment instrument; perform clarity detection on the instrument image, and when the clarity detection result is unclear, focus the high-definition camera, and return to the step of executing the equipment instrument of the power grid equipment through the high-definition camera; when the clarity detection result is clear, determine the image preprocessing method and image recognition method corresponding to the instrument type; according to the image preprocessing method, preprocess the instrument image to obtain the image preprocessing result, and update the instrument image according to the image preprocessing result; based on OpenCV, perform image recognition processing on the instrument image according to the image recognition method to obtain the image recognition result; determine the safety boundary value such as the threshold of the equipment instrument, and when the image recognition result is greater than the safety boundary value, determine the equipment evaluation result as the power grid equipment abnormality; when the image recognition result is less than or equal to the safety boundary value, determine the equipment evaluation result as the power grid equipment is normal; when the equipment evaluation result is the power grid equipment is normal, the image recognition result can be stored; when the equipment evaluation result is the power grid equipment abnormality, the image recognition result can be stored and an alarm signal can be sent to the computer.

[0083] In order to better understand the technical solution of the above-mentioned embodiment of the present invention, another optional example is provided here. Exemplarily, a high-definition camera, a Raspberry Pi and a fourth generation mobile communication technology (Fourth Generation, 4G) full network access module can be configured on each power grid device in the power grid to build a power grid equipment evaluation hardware system. The high-definition camera can perform infrared shooting, and Python and OpenCV libraries can be used to implement the software environment for power grid equipment evaluation, so as to realize the real-time acquisition of instrument images, image recognition processing of instrument images and the output of image recognition results. The image recognition results and the threshold of the equipment instrument can also be automatically distinguished online to determine the equipment evaluation results to evaluate the status of the power grid equipment. The above technical solution can realize the remote inspection and equipment evaluation results of power grid equipment, solve the problems of low evaluation efficiency, large errors, heavy workload and the influence of personnel professional quality caused by traditional manual inspection, and at the same time improve the coverage, real-time and accuracy of power grid equipment evaluation.

[0084] Figure 4 This is a structural block diagram of a power grid equipment evaluation device provided in an embodiment of the present invention, and the device is used to execute the power grid equipment evaluation method provided in any of the above embodiments. The device and the power grid equipment evaluation method in the above embodiments belong to the same inventive concept, and the details not described in detail in the embodiment of the power grid equipment evaluation device can refer to the embodiment of the above power grid equipment evaluation method. Figure 4 The device may specifically include: an instrument type acquisition module 310, an image recognition result acquisition module 320 and an equipment evaluation result determination module 330.

[0085] The instrument type acquisition module 310 is used to acquire an instrument image obtained by performing image acquisition on an equipment instrument of a power grid device, and an instrument type of the equipment instrument;

[0086] The image recognition result obtaining module 320 is used to determine the image recognition method corresponding to the instrument type, and perform image recognition processing on the instrument image according to the image recognition method to obtain the image recognition result;

[0087] The device evaluation result determination module 330 is used to determine the device evaluation result of the power grid device according to the image recognition result.

[0088] Optionally, the device may further include:

[0089] The image preprocessing result obtaining module is used to determine the image preprocessing method corresponding to the instrument type before performing image recognition processing on the instrument image according to the image recognition method to obtain the image recognition result, and preprocess the instrument image according to the image preprocessing method to obtain the image preprocessing result;

[0090] The instrument image update module is used to update the instrument image according to the image preprocessing result.

[0091] Optionally, based on the above-mentioned device, when the instrument type is a pointer type, the image preprocessing method corresponding to the pointer type includes at least one of image grayscale processing, image histogram equalization processing, image filtering processing and image edge detection processing.

[0092] Optionally, based on the above device, when the instrument type is a digital type, the image preprocessing method corresponding to the instrument type includes at least one of image grayscale processing, image binarization processing and image filtering processing.

[0093] Optionally, when the image recognition method corresponds to the pointer type, the image recognition result obtaining module 320 includes:

[0094] A pointer region determination unit, used to determine a dial region from the instrument image by using a Hough transform, and to determine a pointer region from the dial region by using a Hough transform;

[0095] The image recognition result determination unit is used to determine the image recognition result according to the pointer area.

[0096] Optionally, when the image recognition method corresponds to the digital type, the image recognition result obtaining module 320 includes:

[0097] A character position determination unit, used to determine at least one character region in the instrument image and the character position corresponding to the at least one character region by using a projection method;

[0098] A character recognition result obtaining unit, for performing character recognition on each character region in at least one character region, to obtain a character recognition result;

[0099] The image recognition result determination unit is used to determine the image recognition result according to the character positions and character recognition results respectively corresponding to at least one character area.

[0100] Optionally, based on the above device, the device may further include:

[0101] A normalization processing module, used for determining a normalization ratio of the character region according to the size of the character region and a preset normalization size before performing character recognition on the character region, and performing normalization processing on the character region according to the normalization ratio;

[0102] The character region updating module is used to update the character region according to the obtained normalization result.

[0103] The power grid equipment evaluation device provided by the embodiment of the present invention uses an instrument type acquisition module to acquire an instrument image obtained by image acquisition of an equipment instrument of the power grid equipment, as well as the instrument type of the equipment instrument, so as to determine the image recognition method corresponding to the instrument image by the instrument type; uses an image recognition result acquisition module to determine the image recognition method corresponding to the instrument type, and performs image recognition processing on the instrument image according to the image recognition method to obtain an image recognition result, so that the instrument image can be processed by an image recognition method more suitable for processing the instrument image, and a higher accuracy image recognition result can be obtained; uses an equipment evaluation result determination module to determine the equipment evaluation result of the power grid equipment according to the image recognition result, so as to determine a higher accuracy equipment evaluation result. The above device can use the image recognition method corresponding to the instrument type to specifically identify and process the instrument image, avoid using the same image recognition method to identify instrument images corresponding to different instrument types, which may affect the accuracy of the image recognition result, and further avoid affecting the accuracy of the equipment evaluation result, thereby improving the accuracy of the power grid equipment evaluation.

[0104] The power grid equipment evaluation device provided in the embodiment of the present invention can execute the power grid equipment evaluation method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0105] It is worth noting that in the embodiment of the above-mentioned power grid equipment evaluation device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0106] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0107] like Figure 5As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0108] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0109] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a power grid device evaluation method.

[0110] In some embodiments, the power grid device evaluation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the power grid device evaluation method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the power grid device evaluation method in any other appropriate manner (e.g., by means of firmware).

[0111] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0112] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.

[0113] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0114] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0115] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0116] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0117] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0118] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for evaluating power grid equipment, characterized in that: include: Acquire an instrument image obtained by performing image acquisition on an equipment instrument of a power grid device, and an instrument type of the equipment instrument; Determining an image recognition method corresponding to the instrument type, and performing image recognition processing on the instrument image according to the image recognition method to obtain an image recognition result; An equipment evaluation result of the power grid equipment is determined according to the image recognition result.

2. The method according to claim 1, characterized in that Before performing image recognition processing on the instrument image according to the image recognition method to obtain the image recognition result, the method further includes: Determine an image preprocessing method corresponding to the instrument type, and preprocess the instrument image according to the image preprocessing method to obtain an image preprocessing result; The instrument image is updated according to the image preprocessing result.

3. The method according to claim 2, characterized in that In the case where the instrument type is a pointer type, the image preprocessing method corresponding to the pointer type includes at least one of image grayscale processing, image histogram equalization processing, image filtering processing, and image edge detection processing.

4. The method according to claim 2, characterized in that: In the case that the meter type is a digital type, the image preprocessing method corresponding to the meter type includes at least one of image grayscale processing, image binarization processing and image filtering processing.

5. The method according to claim 1, characterized in that In the case where the image recognition method corresponds to the pointer type, performing image recognition processing on the instrument image according to the image recognition method to obtain an image recognition result includes: Using Hough transform, determine the dial area from the instrument image, and using the Hough transform, determine the pointer area from the dial area; An image recognition result is determined according to the pointer area.

6. The method according to claim 1, characterized in that In the case where the image recognition method corresponds to the digital type, performing image recognition processing on the instrument image according to the image recognition method to obtain an image recognition result includes: Using a projection method, determining at least one character area in the instrument image and character positions corresponding to the at least one character area; For each character region in the at least one character region, performing character recognition on the character region to obtain a character recognition result; An image recognition result is determined according to the character positions and character recognition results respectively corresponding to the at least one character area.

7. The method according to claim 6, characterized in that Before performing character recognition on the character area, the method further includes: Determining a normalization ratio of the character region according to the size of the character region and a preset normalization size, and performing normalization processing on the character region according to the normalization ratio; The character area is updated according to the obtained normalization result.

8. A power grid equipment evaluation device, characterized in that: include: An instrument type acquisition module, used to acquire an instrument image obtained by performing image acquisition on an equipment instrument of a power grid device, and an instrument type of the equipment instrument; An image recognition result obtaining module is used to determine an image recognition method corresponding to the instrument type, and perform image recognition processing on the instrument image according to the image recognition method to obtain an image recognition result; The device evaluation result determination module is used to determine the device evaluation result of the power grid device according to the image recognition result.

9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor performs the power grid device evaluation method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the power grid equipment evaluation method as described in any one of claims 1 to 7 when executed.