CN115171091A - Meter identification method for substation inspection - Google Patents

Meter identification method for substation inspection Download PDF

Info

Publication number
CN115171091A
CN115171091A CN202211081495.6A CN202211081495A CN115171091A CN 115171091 A CN115171091 A CN 115171091A CN 202211081495 A CN202211081495 A CN 202211081495A CN 115171091 A CN115171091 A CN 115171091A
Authority
CN
China
Prior art keywords
meter
image
point
pointer
template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211081495.6A
Other languages
Chinese (zh)
Inventor
鲍钟峻
张翊
黎嘉朗
吴名朝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Whale Cloud Technology Co Ltd
Original Assignee
Whale Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Whale Cloud Technology Co Ltd filed Critical Whale Cloud Technology Co Ltd
Priority to CN202211081495.6A priority Critical patent/CN115171091A/en
Publication of CN115171091A publication Critical patent/CN115171091A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • G06V10/225Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition based on a marking or identifier characterising the area
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
    • G06V10/774Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/02Recognising information on displays, dials, clocks

Abstract

The invention discloses a meter identification method for substation inspection, which comprises the following steps: s1, acquiring a meter image; s2, detecting characteristic points of the meter image, and matching the characteristic points with the meter template image; s3, calculating the pointer direction of the meter; and S4, analyzing the pointer reading and outputting in a structured mode. The intelligent meter identification method adopted by the invention can realize automatic and accurate meter reading identification in daily power grid inspection work, record statistics and data analysis are simple and convenient, the operation and maintenance labor cost of manual meter reading can be reduced, the efficiency and the reliability are effectively improved, meanwhile, a multi-layer perceptron and a graph neural network model are constructed by utilizing a deep learning method, the expression information of high-dimensional vectors of characteristic points is extracted, a self-attention mechanism and a cross-attention mechanism are introduced, the internal and external relations and the corresponding relations of the characteristic points can be better learned, and the deep information expression capability of the characteristic points is enhanced.

Description

Meter identification method for substation inspection
Technical Field
The invention relates to the technical field of meter identification, in particular to a meter identification method for substation inspection.
Background
At present, in order to ensure that various devices of a transformer substation normally operate and monitor index values and states of various devices of the transformer substation, daily routing inspection of the transformer substation is very important work, and reading and copying of meter devices are an important part of the work. The reading and copying work of the traditional manual meter is operated by special operation and maintenance personnel, so that the traditional manual meter is complex in work, easy to make mistakes, incapable of real-time monitoring, difficult to count, unsafe and the like.
With the rapid development of digital intelligence in various industries, artificial intelligence technology is very colorful in various scene fields, and the application of artificial intelligence technology to the reading and recording technology of meter pointer equipment is still imperfect, so that a safer and more reliable method for accurately and rapidly identifying the meter reading of the transformer substation is required.
An effective solution to the problems in the related art has not been proposed yet.
Disclosure of Invention
Aiming at the problems in the related art, the invention provides a meter identification method for substation inspection, which aims to overcome the technical problems in the prior art.
Therefore, the invention adopts the following specific technical scheme:
a meter identification method for substation routing inspection comprises the following steps:
s1, acquiring a meter image;
s2, detecting characteristic points of the meter image, and matching the characteristic points with the meter template image;
s3, calculating the pointer direction of the meter;
and S4, analyzing the pointer reading and outputting in a structured mode.
Further, the step of acquiring the meter image further comprises the steps of:
s11, configuring and connecting front-end shooting equipment, and remotely controlling the shooting equipment;
s12, calling equipment capable of shooting the meter, focusing on a meter dial by changing the angle and the focal length of the equipment, configuring shooting point positions capable of imaging clearly and recording;
s13, configuring the meter type of the shooting point;
s14, calling a shooting device for shooting the point location, and acquiring an initial meter image of the point location in a picture capturing or video stream pulling and analyzing mode;
and S15, decoding and preprocessing the initial meter image, acquiring the meter image, and sending the meter image to a downstream module for analysis and identification.
Further, the detecting the feature points of the meter image and matching with the meter template image further comprises the following steps:
s21, acquiring a meter image and a meter type through a meter shooting point, and retrieving a corresponding meter template image from a meter template image library based on the mark type;
s22, sending the meter image and the meter template image into a graph neural network feature matching module, and calculating feature points and corresponding relations of the meter image and the meter template image;
s23, matching and aligning the meter image with the meter template image, and outputting the aligned meter image;
s24, obtaining the coordinate area position of each component of the meter image from the meter template configuration;
each assembly of the meter image comprises a dial, scales, a center and a pointer.
Further, the step of sending the meter image and the meter template image into the graph neural network feature matching module and calculating the feature points and the corresponding relationship of the two images further comprises the following steps:
s221, respectively collecting images X of the meter 1 Meter-mixing templateImage X 2 Inputting the input size W multiplied by H matched with the convolutional neural network by Resize, and after normalization, inputting the input size W multiplied by H into a convolutional neural network model;
s222, extracting the image X collected by the meter A Characteristic point of
Figure 119896DEST_PATH_IMAGE001
And descriptor
Figure 125767DEST_PATH_IMAGE002
S223, extracting a meter template image X B Characteristic point of
Figure 777328DEST_PATH_IMAGE003
And descriptor
Figure 822645DEST_PATH_IMAGE004
S224, constructing a multilayer perceptron of an encoder, and performing
Figure 217854DEST_PATH_IMAGE005
And
Figure 828964DEST_PATH_IMAGE006
and embedding the high-dimensional characteristics into a multilayer perceptron to learn the high-dimensional characteristics, and updating the high-dimensional characteristic vectors obtained by learning to the original descriptor.
Further, the learned formula is as follows:
Figure 917005DEST_PATH_IMAGE007
wherein, the symbol
Figure 184039DEST_PATH_IMAGE008
Indicating assignment operation, left side
Figure 117360DEST_PATH_IMAGE009
For descriptors updated after an assignment operation, right side
Figure 786238DEST_PATH_IMAGE010
In order to update the descriptor before the update,
Figure 858231DEST_PATH_IMAGE011
is a multi-layer perceptron encoder,
Figure 346981DEST_PATH_IMAGE012
are characteristic points.
Further, the multilayer perceptron of the encoder is constructed by
Figure 349572DEST_PATH_IMAGE013
And
Figure 888521DEST_PATH_IMAGE014
the method for learning the high-dimensional features by embedding the high-dimensional features into a multilayer perceptron and updating the learned high-dimensional feature vectors into the original descriptor further comprises the following steps:
s2241, introducing a multi-head attention mechanism and a graph neural network structure;
s2242, input pair through control graph neural network
Figure 865836DEST_PATH_IMAGE015
And
Figure 107461DEST_PATH_IMAGE016
respectively realizing a self-attention mechanism and a cross-attention mechanism;
s2243, through cycle alternate input, learning and updating image X A Is described in
Wherein, the first and the second end of the pipe are connected with each other,
Figure 648164DEST_PATH_IMAGE017
two nodes both correspond to the edge formed by the descriptors in the same image;
Figure 26056DEST_PATH_IMAGE018
two nodes respectively correspond to edges formed by descriptors in the two images.
Further, the formula of the cyclically alternating input is as follows:
Figure 689118DEST_PATH_IMAGE019
wherein the content of the first and second substances,
Figure 152460DEST_PATH_IMAGE020
the representation is based on
Figure 496854DEST_PATH_IMAGE021
A constructed graph neural network;
Figure 994832DEST_PATH_IMAGE022
and
Figure 812484DEST_PATH_IMAGE023
are respectively an image X A To go to
Figure 28701DEST_PATH_IMAGE024
Is characterized by
Figure 908277DEST_PATH_IMAGE025
To go to
Figure 260761DEST_PATH_IMAGE026
And
Figure 937730DEST_PATH_IMAGE027
calculating an output intermediate result by the layer;
Figure 437981DEST_PATH_IMAGE028
represents polymerization
Figure 124178DEST_PATH_IMAGE029
Descriptors of feature points.
Further, the meter pointer direction calculation further includes the following steps:
s31, based on the meter template image, a pointer position area and a dial plate central point of the aligned meter image can be obtained;
s32, taking the pointer position area as a binary template;
s33, acquiring a pointer position area image by taking the binary template as a template;
and S34, calculating a binary image of the pointer position area image by an adaptive binarization method.
Further, the calculation of the self-adaptive binarization method comprises indirect calculation and direct calculation;
wherein the indirect calculation comprises:
performing linear detection in the binary image area to find a pointer line segment of the meter;
detecting the longest line segment by adopting an EDLines linear detection method;
after the pointer line segment is obtained, calculating the intersection point of the straight line and the scale mark region by constructing an equation set;
the direct calculation comprises the following steps:
knowing the central point of the dial, depicting an extension line from the central point of the dial to each pixel point of the binary image;
calculating a projection point of each pixel point of the dial plate central point pointing to the binary image falling to the scale mark area;
and (4) obtaining the intersection point of the scale mark area pointed by the meter pointer through the projection point aggregation analysis.
Further, the analyzing the pointer reading and structuring the output further comprises the steps of:
s41, acquiring a scale mark area, scale point coordinates and numerical values configured by the meter template graph;
s42, performing approximate interpolation calculation on the intersection points and the configured scale points to obtain approximate readings of the pointer of the meter pointing to the intersection points;
and S43, outputting the reading result to the system in a structuralized mode, and recording the subsequent statistical analysis.
The beneficial effects of the invention are as follows:
1. the intelligent meter identification method adopted by the invention can realize automatic and accurate meter reading identification in the routine power grid inspection work, record statistics and data analysis are simply and conveniently carried out, the operation and maintenance labor cost of manual meter reading can be reduced, and the efficiency and the reliability can be effectively improved.
2. Compared with the traditional feature matching methods such as SIFT and ORB, the method can extract the expression information of the feature point high-dimensional vectors, introduces a self-attention mechanism and a cross-attention mechanism, can better learn the relation and the corresponding relation between the inside and the outside of the feature point, and further enhances the deep information expression capability of the feature point.
3. The invention constructs a deep feature detection matching model for continuous learning, can construct a training data set aiming at a meter equipment image of a power grid inspection scene, enables the model to adapt to a real scene for learning, and continuously improves the accuracy of the model in the scene, which is also a characteristic that the traditional feature matching method cannot achieve.
4. Compared with a Hough Line or LSD linear detection method adopted by the traditional method, the pointer direction calculation method of the meter equipment adopted by the invention not only adopts a new EDlines linear detection method, but also introduces a method for densely calculating and analyzing projection points, and has better robustness in an actual scene compared with the linear detection method.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a meter identification method for substation inspection according to an embodiment of the present invention;
fig. 2 is a functional flow chart of a meter image feature point detection and matching module in a meter identification method for substation inspection according to an embodiment of the invention;
FIG. 3 is a functional flow chart of a graph neural network model feature point detection and matching module in the meter identification method for substation inspection according to the embodiment of the invention;
fig. 4 is a flow chart of calculation of pointer pointing of meter equipment in a meter identification method for substation inspection according to an embodiment of the present invention.
Detailed Description
For further explanation of the various embodiments, the drawings which form a part of the disclosure and which are incorporated in and constitute a part of this specification, illustrate embodiments and, together with the description, serve to explain the principles of operation of the embodiments, and to enable others of ordinary skill in the art to understand the various embodiments and advantages of the invention, and, by reference to these figures, reference is made to the accompanying drawings, which are not to scale and wherein like reference numerals generally refer to like elements.
According to the embodiment of the invention, a meter identification method for substation inspection is provided.
Referring to the drawings and the detailed description, the invention is further described, as shown in fig. 1 to 4, according to the meter identification method for substation inspection of the embodiment of the invention, the meter identification method includes the following steps:
s1, acquiring a meter image;
in one embodiment, said acquiring a meter image further comprises the steps of:
s11, configuring and connecting front-end shooting equipment, and remotely controlling the shooting equipment;
s12, calling equipment capable of shooting the meter, focusing on a meter dial by changing the angle and the focal length of the equipment, configuring shooting point positions capable of imaging clearly and recording;
s13, configuring the meter type of the shooting point;
s14, calling a shooting device for shooting a point location, and acquiring an initial meter image of the point location in a picture capturing or video stream pulling analysis mode;
and S15, decoding and preprocessing the initial meter image, acquiring the meter image, and sending the meter image to a downstream module for analysis and identification.
S2, detecting characteristic points of the meter image, and matching the characteristic points with the meter template image;
in one embodiment, the detecting the feature points of the meter image and matching with the meter template image further comprises the following steps:
s21, acquiring a meter image and a meter type through a meter shooting point, and retrieving a corresponding meter template image from a meter template image library based on the mark type;
s22, sending the meter image and the meter template image into a graph neural network feature matching module, and calculating feature points and corresponding relations of the meter image and the meter template image;
s23, matching and aligning the meter image with the meter template image, and outputting the aligned meter image;
s24, obtaining the coordinate area position of each component of the meter image from the meter template configuration;
each assembly of the meter image comprises a dial, scales, a center and a pointer.
In one embodiment, the step of sending the meter image and the meter template image to the graph neural network feature matching module, and calculating the feature points and the corresponding relationship between the two further includes the following steps:
s221, respectively collecting images X of the meter 1 And Meter template image X 2 Inputting the input dimension W multiplied by H matched with the Resize convolution neural network, and after normalization, inputting the input dimension W multiplied by H into a convolution neural network model;
s222, extracting the acquired image X of the meter A Characteristic point of
Figure 331168DEST_PATH_IMAGE030
And descriptor
Figure 257667DEST_PATH_IMAGE031
S223, extracting a meter template image X B Characteristic point of
Figure 182898DEST_PATH_IMAGE003
And descriptor
Figure 407206DEST_PATH_IMAGE004
S224, constructing a multilayer perceptron of an encoder, and enabling the multilayer perceptron to be a multi-layer perceptron
Figure 734282DEST_PATH_IMAGE032
And
Figure 80949DEST_PATH_IMAGE033
and embedding the high-dimensional features into a multilayer perceptron to learn, and updating the high-dimensional feature vectors obtained by learning to the original descriptor.
In one embodiment, the learned formula is as follows:
Figure 227897DEST_PATH_IMAGE034
wherein the symbols
Figure 255896DEST_PATH_IMAGE008
Indicating assignment operation, left side
Figure 437478DEST_PATH_IMAGE035
For descriptors updated after an assignment operation, right side
Figure 892731DEST_PATH_IMAGE036
In order to update the descriptor before the update,
Figure 288159DEST_PATH_IMAGE037
is a multi-layer perceptron encoder,
Figure 854270DEST_PATH_IMAGE038
are characteristic points.
In one embodiment, the construction of the encoder multi-layer perceptron is to
Figure 139626DEST_PATH_IMAGE039
And
Figure 765780DEST_PATH_IMAGE040
embedding the high-dimensional characteristics into a multi-layer perceptron to learn, and updating the high-dimensional characteristic vectors obtained by learning toThe original descriptor further comprises the following steps:
s2241, introducing a multi-head attention mechanism and a graph neural network structure;
s2242, input pair through control graph neural network
Figure 887319DEST_PATH_IMAGE041
And
Figure 257121DEST_PATH_IMAGE042
respectively realizing a self-attention mechanism and a cross-attention mechanism;
s2243, through cycle alternate input, learning and updating image X A A descriptor of (1);
wherein, the first and the second end of the pipe are connected with each other,
Figure 724880DEST_PATH_IMAGE017
two nodes both correspond to the edge formed by the descriptors in the same image;
Figure 542443DEST_PATH_IMAGE043
the two nodes respectively correspond to the edges formed by the descriptors in the two images.
In one embodiment, the formula for the cyclically alternating input is as follows:
Figure 151279DEST_PATH_IMAGE019
wherein, the first and the second end of the pipe are connected with each other,
Figure 59192DEST_PATH_IMAGE025
the representation is based on
Figure 132190DEST_PATH_IMAGE021
A constructed graph neural network;
Figure 100146DEST_PATH_IMAGE044
and
Figure 196278DEST_PATH_IMAGE023
are respectively provided withAs an image X A Go to the first
Figure 907882DEST_PATH_IMAGE024
A characteristic point is
Figure 851698DEST_PATH_IMAGE045
To go to
Figure 990556DEST_PATH_IMAGE026
And
Figure 308405DEST_PATH_IMAGE027
calculating an output intermediate result by the layer;
Figure 823699DEST_PATH_IMAGE028
represents polymerization
Figure 806043DEST_PATH_IMAGE046
A descriptor of the feature points.
In specific application, after L (multiple) operations, the matching descriptor is finally obtained through linear projection
Figure DEST_PATH_IMAGE047
Can be calculated by the same principle
Figure 115802DEST_PATH_IMAGE048
Where W and b are the weight and offset of the linear transformation, respectively, y A And y B GNN in image X, respectively A And image X B The final result obtained by the above calculation, F A And F B Respectively, are matching descriptors for subsequent feature point matching calculations.
The score matrix is then constructed
Figure DEST_PATH_IMAGE049
And an allocation matrix
Figure 357165DEST_PATH_IMAGE050
For the allocation matrix
Figure DEST_PATH_IMAGE051
The meaning of which is to be understood as image X A M feature points and image X B The soft adjacent matrixes of the N characteristic points can finally obtain the matching relation of all the characteristic points; to calculate
Figure 410572DEST_PATH_IMAGE051
First, a score matrix is calculated
Figure 125718DEST_PATH_IMAGE052
Let us order
Figure DEST_PATH_IMAGE053
Represents a matching descriptor F A To (1) a
Figure 917962DEST_PATH_IMAGE054
Element and F B For a general graph matching process, the most transmission principle can be used for reference, and the distribution matrix can be calculated by maximizing the cost function
Figure 475983DEST_PATH_IMAGE050
Wherein the maximum cost function calculates the distribution matrix
Figure 67501DEST_PATH_IMAGE050
The calculation formula of (a) is as follows:
Figure 89684DEST_PATH_IMAGE055
and restrain
Figure 741245DEST_PATH_IMAGE050
Each row and each column of the array are summed to be 1, and the acquisition of a 'soft' adjacency matrix is realized;
for a model inference, the assignment matrix can be used to this step
Figure 334031DEST_PATH_IMAGE050
Calculating image X A And image X B Can match the image X with the image X A By image X B Converting the template to realize the alignment correction of the template and the template;
however, if in the model training phase, the distribution matrix can be minimized based on the calibrated True value (GT for short)
Figure 729241DEST_PATH_IMAGE050
Negative log-likelihood function of (2), loss function of computational model
Figure 543613DEST_PATH_IMAGE056
Carrying out model training through gradient back propagation, and updating each parameter weight of the model;
by constructing a learnable feature matching model, not only can the high-dimensional expression of feature points be learnt through a multilayer perceptron, and a self-attention mechanism and a cross-attention mechanism are introduced by taking a graph neural network as a carrier, the intrinsic and extrinsic deep-level expression capability of features can be better learnt, but also a data set can be constructed by collecting meter equipment of an actual power grid inspection scene as an object, model training and learning of a real scene can be carried out, and continuous promotion and optimization can be realized in the scene.
S3, calculating the pointer direction of the meter;
in one embodiment, the meter pointer pointing calculation further comprises the steps of:
s31, acquiring a pointer position area and a dial plate central point of the aligned meter image based on the meter template image;
s32, constructing a binary template (M) by taking the pointer position area (R) R );
S33, acquiring pointer position area images by taking the binary template as the template
Figure 428392DEST_PATH_IMAGE057
And S34, calculating a binary image of the pointer position area image by an adaptive binarization method.
In one embodiment, the adaptive binarization method calculation comprises indirect calculation and direct calculation;
wherein the indirect calculation comprises:
performing linear detection in the binary image region to find a pointer line segment of the meter;
detecting the longest line segment by adopting an EDLines linear detection method;
after the pointer line segment is obtained, calculating the intersection point of the straight line and the scale mark region by constructing an equation set;
the direct calculation comprises the following steps:
knowing the central point of the dial, depicting an extension line from the central point of the dial to each pixel point of the binary image;
calculating a projection point of each pixel point of the dial plate central point pointing to the binary image falling to the scale mark area;
and (4) obtaining the intersection point of the scale mark area pointed by the pointer of the meter through the projection point aggregation analysis.
S4, analyzing the pointer reading and outputting in a structured mode;
in one embodiment, said analyzing the pointer reading and structuring the output further comprises the steps of:
s41, acquiring a scale mark area, scale point coordinates and numerical values configured by the meter template graph;
s42, performing approximate interpolation calculation on the intersection points and the configured scale points to obtain approximate readings of the pointer of the meter pointing to the intersection points;
and S43, outputting the reading result to the system in a structuralized mode, and recording the subsequent statistical analysis.
In summary, by means of the technical scheme of the invention, the intelligent meter identification method adopted by the invention can realize automatic and accurate meter reading identification in daily power grid inspection work, and record statistics and data analysis are simply and conveniently carried out. The operation and maintenance labor cost of manual meter reading can be reduced, and meanwhile, the efficiency and the reliability can be effectively improved. Compared with the traditional feature matching methods such as SIFT, ORB and the like, the method can extract the expression information of the high-dimensional vectors of the feature points, introduce a self-attention mechanism and a cross-attention mechanism, better learn the internal and external relations and the corresponding relations of the feature points, and further enhance the deep information expression capability of the feature points. The invention constructs a deep feature detection matching model for continuous learning, can construct a training data set aiming at a meter equipment image of a power grid inspection scene, enables the model to adapt to a real scene for learning, and continuously improves the accuracy of the model in the scene, which is also a characteristic that the traditional feature matching method cannot achieve. Compared with a Hough Line or LSD linear detection method adopted by the traditional method, the pointer direction calculation method of the meter equipment adopted by the invention not only adopts a new EDlines linear detection method, but also introduces a method for densely calculating and analyzing projection points, and has better robustness in an actual scene compared with the linear detection method.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, which is intended to cover any modifications, equivalents, improvements, etc. within the spirit and scope of the present invention.

Claims (10)

1. A meter identification method for substation inspection is characterized by comprising the following steps:
s1, collecting a meter image;
s2, detecting characteristic points of the meter image, and matching the characteristic points with the meter template image;
s3, calculating the pointer direction of the meter;
and S4, analyzing the pointer reading and outputting in a structured mode.
2. The meter identification method for substation inspection according to claim 1, wherein the step of acquiring the meter image further comprises the steps of:
s11, configuring and connecting front-end shooting equipment, and remotely controlling the shooting equipment;
s12, calling equipment capable of shooting the meter, focusing on a meter dial by changing the angle and the focal length of the equipment, configuring shooting point positions capable of imaging clearly and recording;
s13, configuring the meter type of the shooting point;
and S14, calling a shooting device for shooting the point location, and acquiring an initial meter image of the point location in a picture capturing or video stream pulling analysis mode.
3. The meter identification method for substation routing inspection according to claim 1, wherein the step of detecting the feature points of the meter image and matching the feature points with the meter template image further comprises the steps of:
s21, acquiring a meter image and a meter type through a meter shooting point, and retrieving a corresponding meter template image from a meter template image library based on the mark type;
s22, sending the meter image and the meter template image into a graph neural network feature matching module, and calculating feature points and corresponding relations of the meter image and the meter template image;
s23, matching and aligning the meter image with the meter template image, and outputting the aligned meter image;
s24, obtaining the coordinate area position of each component of the meter image from the meter template configuration;
each assembly of the meter image comprises a dial, scales, a center and a pointer.
4. The meter identification method for substation inspection according to claim 3, wherein the step of sending the meter image and the meter template image to the neural network feature matching module and calculating feature points and corresponding relations between the meter image and the meter template image further comprises the following steps:
s221, respectively collecting images X by the meter 1 And Meter template image X 2 Inputting the input dimension W multiplied by H matched with the Resize convolution neural network, and after normalization, inputting the input dimension W multiplied by H into a convolution neural network model;
s222, extracting the acquired image X of the meter A Characteristic point of
Figure 399868DEST_PATH_IMAGE001
And the descriptor
Figure 254692DEST_PATH_IMAGE002
S223, extracting a meter template image X B Characteristic point of
Figure 34429DEST_PATH_IMAGE003
And the descriptor
Figure 429638DEST_PATH_IMAGE004
S224, constructing a multilayer perceptron of an encoder, and enabling the multilayer perceptron to be a multi-layer perceptron
Figure 181693DEST_PATH_IMAGE005
And
Figure 4156DEST_PATH_IMAGE006
and embedding the high-dimensional characteristics into a multilayer perceptron to learn the high-dimensional characteristics, and updating the high-dimensional characteristic vectors obtained by learning to the original descriptor.
5. The meter identification method for substation inspection according to claim 4, wherein the learning formula is as follows:
Figure 271189DEST_PATH_IMAGE007
wherein, the symbol
Figure 906308DEST_PATH_IMAGE008
Indicating assignment operation, left side
Figure 575186DEST_PATH_IMAGE009
For descriptors updated after an assignment operation, right side
Figure 568550DEST_PATH_IMAGE010
To updateThe description of the preceding paragraphs should be read as follows,
Figure 260563DEST_PATH_IMAGE011
is a multi-layer perceptron encoder,
Figure 997575DEST_PATH_IMAGE012
are characteristic points.
6. The substation inspection tour-oriented meter identification method according to claim 4, wherein the encoder multilayer perceptron is constructed to identify the encoder multilayer perceptron
Figure 520960DEST_PATH_IMAGE013
And
Figure 888487DEST_PATH_IMAGE014
the method for learning the high-dimensional features by embedding the high-dimensional features into a multilayer perceptron and updating the learned high-dimensional feature vectors into the original descriptor further comprises the following steps:
s2241, introducing a multi-head attention mechanism and a graph neural network structure;
s2242, input pair through control graph neural network
Figure 130113DEST_PATH_IMAGE015
And
Figure 405236DEST_PATH_IMAGE016
respectively realizing a self-attention mechanism and a cross-attention mechanism;
s2243, through cycle alternate input, learning and updating image X A The descriptor of (1);
wherein the content of the first and second substances,
Figure 986390DEST_PATH_IMAGE017
two nodes both correspond to the edge formed by the descriptors in the same image;
Figure 321557DEST_PATH_IMAGE018
the two nodes respectively correspond to the edges formed by the descriptors in the two images.
7. The meter identification method for substation inspection according to claim 6, wherein the formula of cyclic alternate input is as follows:
Figure 50478DEST_PATH_IMAGE019
wherein the content of the first and second substances,
Figure 565511DEST_PATH_IMAGE020
the representation is based on
Figure 63488DEST_PATH_IMAGE021
A constructed graph neural network;
Figure 835135DEST_PATH_IMAGE022
and
Figure 723457DEST_PATH_IMAGE023
are respectively an image X A Go to the first
Figure 605962DEST_PATH_IMAGE024
A characteristic point is
Figure 958446DEST_PATH_IMAGE025
Go to the first
Figure 838678DEST_PATH_IMAGE026
And
Figure 276612DEST_PATH_IMAGE027
the intermediate result of the layer calculation output;
Figure 697229DEST_PATH_IMAGE028
represents polymerization
Figure 169799DEST_PATH_IMAGE029
A descriptor of the feature points.
8. The meter identification method for substation routing inspection according to claim 1, wherein the meter pointer direction calculation further comprises the following steps:
s31, based on the meter template image, a pointer position area and a dial plate central point of the aligned meter image can be obtained;
s32, taking the pointer position area as a binary template;
s33, acquiring a pointer position area image by taking the binary template as a template;
and S34, calculating a binary image of the pointer position area image by an adaptive binarization method.
9. The meter identification method for substation inspection according to claim 8, wherein the adaptive binarization method calculation comprises indirect calculation and direct calculation;
wherein the indirect calculation comprises:
performing linear detection in the binary image region to find a pointer line segment of the meter;
detecting the longest line segment by adopting an EDLines linear detection method;
after the pointer line segment is obtained, calculating the intersection point of the straight line and the scale mark region by constructing an equation set;
the direct calculation includes the steps of:
knowing the center point of the dial, depicting an extension line from the center point of the dial to each pixel point of the binary image;
calculating a projection point of each pixel point of the dial plate central point pointing to the binary image falling to the scale mark area;
and (4) obtaining the intersection point of the scale mark area pointed by the meter pointer through the projection point aggregation analysis.
10. The substation inspection tour-oriented meter identification method according to claim 1, wherein the analyzing and structuring the pointer reading output further comprises the steps of:
s41, acquiring scale mark areas, scale point coordinates and numerical values configured by the meter template drawing;
s42, performing approximate interpolation calculation on the intersection points and the configured scale points to obtain approximate readings of the pointer of the meter pointing to the intersection points;
and S43, outputting the reading result to the system in a structuralized mode, and recording the subsequent statistical analysis.
CN202211081495.6A 2022-09-06 2022-09-06 Meter identification method for substation inspection Pending CN115171091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211081495.6A CN115171091A (en) 2022-09-06 2022-09-06 Meter identification method for substation inspection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211081495.6A CN115171091A (en) 2022-09-06 2022-09-06 Meter identification method for substation inspection

Publications (1)

Publication Number Publication Date
CN115171091A true CN115171091A (en) 2022-10-11

Family

ID=83482138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211081495.6A Pending CN115171091A (en) 2022-09-06 2022-09-06 Meter identification method for substation inspection

Country Status (1)

Country Link
CN (1) CN115171091A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117114657A (en) * 2023-10-23 2023-11-24 国网江西省电力有限公司超高压分公司 Fault information early warning system and method based on power equipment inspection knowledge graph

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508709A (en) * 2018-09-29 2019-03-22 中国南方电网有限责任公司超高压输电公司检修试验中心 A kind of simple pointer meter reading method based on machine vision
CN110826549A (en) * 2019-11-04 2020-02-21 山东欧玛嘉宝电气科技有限公司 Inspection robot instrument image identification method and system based on computer vision
CN113536895A (en) * 2021-05-28 2021-10-22 立得空间信息技术股份有限公司 Disc pointer meter identification method
CN114743189A (en) * 2022-04-19 2022-07-12 中国联合网络通信集团有限公司 Pointer instrument reading identification method and device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109508709A (en) * 2018-09-29 2019-03-22 中国南方电网有限责任公司超高压输电公司检修试验中心 A kind of simple pointer meter reading method based on machine vision
CN110826549A (en) * 2019-11-04 2020-02-21 山东欧玛嘉宝电气科技有限公司 Inspection robot instrument image identification method and system based on computer vision
CN113536895A (en) * 2021-05-28 2021-10-22 立得空间信息技术股份有限公司 Disc pointer meter identification method
CN114743189A (en) * 2022-04-19 2022-07-12 中国联合网络通信集团有限公司 Pointer instrument reading identification method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117114657A (en) * 2023-10-23 2023-11-24 国网江西省电力有限公司超高压分公司 Fault information early warning system and method based on power equipment inspection knowledge graph

Similar Documents

Publication Publication Date Title
CN109949316B (en) Power grid equipment image weak supervision example segmentation method based on RGB-T fusion
US20240153272A1 (en) Method for detecting urine formed elements based on deep learning and context relation
CN110659637A (en) Electric energy meter number and label automatic identification method combining deep neural network and SIFT features
CN115171091A (en) Meter identification method for substation inspection
CN112712052A (en) Method for detecting and identifying weak target in airport panoramic video
CN114882039A (en) PCB defect identification method applied to automatic PCB sorting process
CN115457556A (en) Reading method for disc pointer type instrument of nuclear power plant
CN113313176A (en) Point cloud analysis method based on dynamic graph convolution neural network
CN116205905B (en) Power distribution network construction safety and quality image detection method and system based on mobile terminal
Ni et al. Multi-meter intelligent detection and recognition method under complex background
CN114937153B (en) Visual characteristic processing system and method based on neural network in weak texture environment
CN115661446A (en) Pointer instrument indication automatic reading system and method based on deep learning
CN116188755A (en) Instrument angle correction and reading recognition device based on deep learning
CN112766305B (en) Visual SLAM closed loop detection method based on end-to-end measurement network
Zeng et al. Evaluation of physical electrical experiment operation process based on YOLOv5 and ResNeXt cascade networks
CN113936019A (en) Method for estimating field crop yield based on convolutional neural network technology
CN111414844B (en) Container number identification method based on convolutional neural network
CN115082770B (en) Image center line structure extraction method based on machine learning
CN113888741B (en) Method for correcting rotating image of instrument in power distribution room
CN117809169B (en) Small-sample underwater sonar image classification method and model building method thereof
CN113128460B (en) Knowledge distillation-based multi-resolution pedestrian re-identification method
CN117079178A (en) Learning process sequence data imaging method based on convolutional neural network
Huang et al. Exploiting Memory-based Cross-Image Contexts for Salient Object Detection in Optical Remote Sensing Images
CN115953727A (en) Floc settling rate detection method and system, electronic equipment and medium
Dai et al. Intelligent Quality Inspection of Secondary Wiring based on Rotating Object Detection and Pairwise Matching Strategy

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20221011

RJ01 Rejection of invention patent application after publication