A meter checking method and system based on location and video checking
By adopting a meter calibration method based on location and video verification, a meter calibration path is generated and video verification is performed, which solves the problems of low efficiency and insufficient accuracy of existing meter calibration, and realizes efficient and accurate meter calibration and data backtracking.
Patent Information
- Application Number
- CN202411589800.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2044-11-08
AI Technical Summary
The existing method for applying for calibration of electricity meters relies on manual operation, which is inefficient and the results are not accurate enough. The data generated during the calibration process cannot be traced back, and users cannot view the calibration process.
A location- and video-verified meter calibration method is adopted. The method generates a meter calibration path through path planning, performs appearance and function verification on the meter using video verification strategy, generates a calibration backtracking tree, and constructs a display interface.
It improves verification efficiency and accuracy, enables the recording and traceability of verification data, and allows users to view the entire verification process.
Smart Images

Figure CN119090521B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electric power metering, in particular to an electric meter verification method and system based on position and video verification. BACKGROUND
[0002] Electric energy meters, as important equipment for electric power metering, are widely used in industrial, commercial and household electric power metering, and are responsible for measuring and recording the use of electric energy. During long-term use, the electric energy meters may have metering errors or faults due to factors such as wear and tear, component aging and human intervention. When users suspect the electric energy meter readings due to abnormal electricity charges, they can apply for verification services to the electric power metering center.
[0003] The existing electric energy meter verification method completely relies on manual operation, and has low verification efficiency and inaccurate results. Moreover, all types of verification data generated during the verification process cannot be traced back, and the user cannot view the verification process subsequently. SUMMARY
[0004] The electric meter verification method and system based on position and video verification provided by the embodiments of the present application improve the verification efficiency and the accuracy of the verification results, and all types of verification data generated during the verification process can be traced back.
[0005] According to an aspect of the present application, an electric meter verification method based on position and video verification is provided, which comprises: in response to an electric meter verification request, counting electric meter verification positions of each user in a preset time period, the electric meter verification positions including residential verification positions, commercial verification positions and industrial verification positions, obtaining a metering dispatch position, performing path planning based on the metering dispatch position and each electric meter verification position, generating an electric meter verification path, sending the electric meter verification path to a verification end, receiving verification video data collected by the verification end based on the electric meter verification path, determining a video verification strategy based on a video attribute of the verification video data to perform verification, obtaining a verification result, the video verification strategy including an appearance verification strategy and a function verification strategy, generating a verification backtracking tree according to the verification result, constructing a verification display interface based on the verification backtracking tree, and sending the verification display interface to a user end.
[0006] Optionally, the meter calibration path is generated based on the metering scheduling position and the resident calibration position, and the meter calibration path is sent to the verification end, including: calling a preset path planning strategy to obtain a resident associated sequence of each resident calibration position, obtaining a resident associated path based on the resident associated sequence, the resident associated path including a resident end position, obtaining a metering scheduling position, calculating a candidate distance between the metering scheduling position and each resident end position, determining a metering hub position and a first hub position of the opposite end based on the shortest candidate distance, obtaining a commercial associated sequence of each commercial calibration position according to the preset path planning strategy, obtaining a commercial associated path according to the commercial associated sequence, the commercial associated path including a commercial end position, obtaining an industrial associated sequence of each industrial calibration position according to the preset path planning strategy, obtaining an industrial associated path according to the industrial associated sequence, the industrial associated path including an industrial end position, obtaining a preselected distance between the first hub position and each commercial end position and each industrial end position, determining a second hub position and a third hub position of the opposite end based on the shortest preselected distance, obtaining a selectable distance between the third hub position and each commercial end position or each industrial end position, determining a commercial end position or an industrial end position corresponding to the shortest selectable distance as a fourth hub position, connecting the metering scheduling position and the metering hub position, the first hub position and the second hub position, the third hub position and the fourth hub position, generating a meter calibration path, and sending the meter calibration path to the verification end.
[0007] Optionally, the verification end includes a supervision end, receives verification video data collected by the verification end based on the meter calibration path, determines a video verification strategy based on a video attribute of the verification video data to perform verification, and obtains a verification result, including: receiving verification video data of a detection employee performing meter calibration operations based on the meter calibration path, identifying the verification video data, obtaining a function verification time, identifying the verification video data based on the function verification time, obtaining a video verification type and a corresponding video verification segment, the video verification segment including an appearance verification segment and a function verification segment, determining a video attribute of the corresponding video verification segment according to the video verification type, the video attribute including an appearance attribute and a function attribute, determining a video verification strategy based on the appearance attribute as an appearance verification strategy, verifying the appearance verification segment according to the appearance verification strategy, obtaining an appearance verification result, determining a video verification strategy based on the function attribute as a function verification strategy, verifying the function verification segment according to the function verification strategy, obtaining a function verification result, and combining the appearance verification result and the function verification result to obtain a verification result.
[0008] Optionally, based on the appearance attribute, the video verification strategy is determined as an appearance verification strategy, the appearance verification segment is verified according to the appearance verification strategy, and an appearance verification result is obtained, including: based on the appearance attribute, the video verification strategy is determined as the appearance verification strategy, the appearance verification segment is image intercepted according to the appearance verification strategy, appearance key frames are obtained, the appearance key frames are identified, appearance pixel values are obtained, it is judged whether each appearance pixel value is within a preset skin color threshold range, when each appearance pixel value is not within the preset skin color threshold range, the appearance key frames are determined as appearance verification frames, the appearance verification frames are identified by calling a pixel verification strategy, verification pixel values are obtained, and the appearance verification result is determined based on the verification pixel values.
[0009] Optionally, the pixel verification strategy includes a surface layer verification strategy, the appearance verification frames are identified by calling the pixel verification strategy, verification pixel values are obtained, and the appearance verification result is determined based on the verification pixel values, including: the appearance verification frames are input to an edge detection model by calling the surface layer verification strategy, a surface layer verification area is output based on the edge detection model, the surface layer verification area includes a display area and a frame area, display verification pixel values are extracted based on the display area, each display verification pixel value is compared with a preset display threshold, display fault pixel values are obtained, frame verification pixel values are extracted based on the frame area, each frame verification pixel value is compared with a preset frame threshold, frame fault pixel values are obtained, a crack detection area is determined according to the display fault pixel values and / or the frame fault pixel values, the number of fault pixels in each crack detection area is obtained, and when the number of fault pixels is greater than or equal to a preset fault threshold, the appearance verification result is determined as surface layer damage.
[0010] Optionally, the pixel verification strategy includes a lead seal verification strategy, the appearance verification frames are identified by calling the pixel verification strategy, verification pixel values are obtained, and the appearance verification result is determined based on the verification pixel values, including: the preset lead seal threshold is obtained by calling the lead seal verification strategy, pixel extraction is performed on the appearance verification frames based on the preset lead seal threshold, lead seal verification pixel values are obtained, lead seal verification contours are determined according to each lead seal verification pixel value, a coordinate system is established based on the lead seal verification contours, lead seal contour coordinate points are obtained, the number of adjacent contour points of the lead seal contour coordinate points in each preset direction is obtained, when the number of adjacent contour points is lower than a preset connectivity threshold, the corresponding lead seal contour coordinate point is determined as a low connectivity point, a low connectivity area is generated based on each low connectivity point, the connectivity length of the low connectivity area is obtained, the connectivity length of the low connectivity area is compared with a preset safety length, and when the connectivity length of the low connectivity area is greater than or equal to the preset safety length, the appearance verification result is determined as lead seal damage.
[0011] Optionally, the pixel checking strategy comprises a wiring checking strategy, the appearance checking frame is identified according to the pixel checking strategy, a checking pixel value is obtained, and an appearance checking result is determined based on the checking pixel value, comprising: the wiring checking strategy is called to obtain a preset intercepting frame, the appearance checking frame is positioned according to the preset intercepting frame to obtain a wiring checking area, wiring pixel values of the wiring checking area are obtained, the wiring pixel values comprise zero line pixel values, fire line pixel values and ground line pixel values, color error values are determined based on each wiring pixel value and a corresponding standard pixel value, corresponding checking connection points are determined according to the zero line pixel values, the fire line pixel values and the ground line pixel values, point difference values of each checking connection point and a corresponding fixed connection point are obtained, and when the point difference values are not in a preset point position deviation interval and / or the color error values are greater than a preset color deviation interval, the appearance checking result is determined to be wiring falling off.
[0012] Optionally, the function checking strategy comprises a number display checking strategy, the function checking section is checked according to the function checking strategy, and a function checking result is obtained, comprising: the function checking section is identified according to the number display checking strategy, a number display checking section is obtained, a detection equipment power is determined based on a standard detection equipment, a preset number display reference is obtained according to the detection equipment power and a number display checking time, a video of the number display checking section is intercepted, a number display key frame is obtained, an electric number display is obtained based on the number display key frame, the preset number display reference is compared with the electric number display, a number display difference value is obtained, and when the number display difference value is not in a preset number display deviation range, the function checking result is determined to be inaccurate number display.
[0013] Optionally, the function checking strategy comprises a light checking strategy, the function checking section is checked according to the function checking strategy, and a function checking result is obtained, comprising: the function checking section is identified according to the light checking strategy, a light checking section is obtained, a power pixel value of a power indicator light is obtained based on the light checking section, the power pixel value is compared with a preset power pixel value, when the power pixel value is different from the preset power pixel value, the function checking result is determined to be abnormal power indicator light, corresponding pulse flashing frequencies of a pulse indicator light under different detection equipment powers are obtained based on the light checking section, the pulse flashing frequencies comprise a first pulse flashing frequency and a second pulse flashing frequency, a flashing frequency difference value is determined according to the first pulse flashing frequency and the second pulse flashing frequency, the flashing frequency difference value is compared with a preset flashing difference value, and when the flashing frequency difference value is greater than the preset flashing difference value, the function checking result is determined to be abnormal pulse indicator light.
[0014] Optionally, the verification result is identified, each verification identification type and corresponding verification identification data are obtained, a backtracking root node and a first backtracking node are constructed based on each verification identification type, the second backtracking nodes are generated according to the verification identification data, each second backtracking node is associated to the corresponding first backtracking node, each first backtracking node is mounted to the backtracking root node, the backtracking tree is generated, the verification display interface is constructed according to the backtracking tree, the verification display interface includes a backtracking tree display area and a node display area, and the verification display interface is sent to the user end.
[0015] The application generates an electric meter verification path based on the verification position of each electric meter, greatly shortens the time and energy consumption of the verifier, checks the verification video data by calling a video verification strategy, improves the verification efficiency and the accuracy of the verification result, generates a verification backtracking tree according to the verification result, records and traces various verification data generated in the verification process, and enables the user and the staff to view the whole verification process after the verification is completed. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 is a flowchart of an electric meter verification method based on position and video verification provided by an embodiment of the application;
[0017] Figure 2 is a schematic diagram of an electric meter verification path provided by an embodiment of the application;
[0018] Figure 3 is a schematic diagram of an electric meter provided by an embodiment of the application;
[0019] Figure 4 is a schematic diagram of a verification backtracking tree provided by an embodiment of the application. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical scheme and advantages of the application clearer, the application is further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application and do not limit the application.
[0021] It should be noted that the features in the embodiments of the application can be combined with each other without conflict, and are all within the protection scope of the application. In addition, although the functional modules are divided in the device schematic diagram, and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order from the module division in the device schematic diagram or the order in the flowchart.
[0022] The terms "first", "second", "third", "fourth" and the like in the description and in the claims of the present application, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the use of these terms herein is to be construed as interchangeable in order to distinguish over example between similar elements.
[0023] It is to be understood that the terms "including", "comprising", "consisting" and "having" and any variations thereof used in the specification and in the claims are intended to cover the nature of a disclosure as opposed to an exclusive recitation of the preferred mode. It is to be understood that the use of these terms in the specification is not intended to exclude other steps, elements, components, or the like from the various processes, methods, systems, products, or apparatuses that are described herein.
[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
[0025] Please refer to Figure 1 , Figure 1 is a flowchart of a meter verification method based on location and video verification provided by an embodiment of the application, comprising steps S1 to S4, and specifically as follows:
[0026] S1, in response to a meter verification request, counting the meter verification locations of each user in a preset time period, the meter verification locations including residential verification locations, commercial verification locations and industrial verification locations.
[0027] Wherein, the meter verification request represents a request issued by a user of an electric energy meter to request a verification institution to verify the electric energy meter; the preset time period represents a specified time range, such as one month; the user represents the subject using the meter, which can be an individual, a commercial institution or an industrial enterprise, and specifically includes residential users, commercial users, industrial users, etc.; the meter verification location represents the actual installation location of the electric energy meter, which can be a GPS coordinate; the residential verification location represents the specific location of the electric energy meter of a residential user; the commercial verification location represents the specific location of a commercial electric energy meter, which can be a store, a company, etc.; the industrial verification location represents the location of the electric energy meter used by an industrial user, which is usually located in a factory, an industrial area, etc.
[0028] Specifically, the system receives a meter verification request from a resident, commercial or industrial user, can obtain a user identifier or meter number from the meter verification request, extracts the corresponding electric energy meter information of each verification user from the power management system according to the user identifier or meter number, and the electric energy meter information includes the electric meter location, the electric meter type, etc. The electric energy meter location can be a GPS coordinate.
[0029] It should be noted that obtaining the meter verification location is the basis for path planning. In a complex geographic area, different types of users are unevenly distributed. By obtaining the meter verification location, the verification efficiency of the verification personnel during the verification process can be improved, and it can also ensure that the verification work will not miss any verification user, and achieve full coverage.
[0030] S2, obtain a metering scheduling location, perform path planning based on the metering scheduling location and each meter verification location, generate a meter verification path, and send the meter verification path to a verification terminal.
[0031] The metering scheduling location represents the physical location of a management or operation mechanism related to electric meter verification, and can be an electric power metering center, etc. Verification personnel (inspectors and supervisors) can be allocated to perform verification operations on electric energy meters. The meter verification path represents a route for guiding verification personnel to reach different locations to verify electric energy meters. The verification terminal represents a terminal device used by verification personnel responsible for electric meter verification, which can be a mobile phone, a tablet computer, etc.
[0032] It should be noted that arranging multiple electric meter verification tasks on a path can reduce the repeated travel of verification personnel, help verification personnel to go to each meter verification location according to the shortest or fastest route, reduce the distance and time of travel, maximize work efficiency, and avoid unnecessary time waste.
[0033] In some embodiments, the step S2 (obtaining a metering scheduling location, performing path planning based on the metering scheduling location and each meter verification location, generating a meter verification path, and sending the meter verification path to a verification terminal) specifically includes steps S21-S27:
[0034] S21, obtain a resident association sequence of each resident verification location by calling a preset path planning strategy, obtain a resident association path based on the resident association sequence, and the resident association path includes a resident end point location.
[0035] The preset path planning strategy represents a rule for path planning according to geographic location, distance, etc. The resident association data represents the connection sequence between resident verification locations. The resident association path represents a path formed by sequentially connecting all resident verification locations through a certain logic. The resident end point location represents the resident verification locations at both ends of the resident association path.
[0036] Specifically, refer to Figure 2 , Figure 2 is a schematic diagram of an electricity meter correction path provided by an embodiment of the present application. A is a metering scheduling position (a position where a power metering center is located), B, C, D, and E are resident correction positions, F, G, and H are industrial correction positions, and I, J, and K are commercial correction positions. A resident association order of the resident correction positions is obtained according to a preset path planning strategy, and the resident association order is B, C, D, and E. A resident association path B-C-D-E is obtained based on the resident association order, and resident end positions are B and E.
[0037] It should be noted that the resident end position is a key connection node and is the basis for connecting other paths; the preset path planning strategy can be a shortest path strategy, dynamic path planning, a priority strategy, and the like, and can be set according to actual conditions, and the present application does not make a specific limitation in this regard.
[0038] S22, a metering scheduling position is obtained, candidate distances from the metering scheduling position to each resident end position are calculated, and a metering hub position and a first hub position of a counter end are determined based on a shortest candidate distance.
[0039] The metering scheduling position represents a specific position of a power metering center, and represents a starting point of path planning; the candidate distance represents all possible distances from the metering scheduling position to each resident end position; the shortest candidate distance represents a shortest distance among all possible distances from the metering scheduling position to each resident end position; the metering hub position is a resident end position corresponding to the shortest candidate distance, that is, a first resident end position that needs to be connected; the counter end represents another resident end position corresponding to the metering hub position, and the first hub position represents a resident end position connected with other paths.
[0040] Specifically, refer to Figure 2 The candidate distances of the metering scheduling position A to each resident end position B and E, the distance from the metering scheduling position A to the resident end position B is shorter than the distance from the metering scheduling position A to the resident end position E, and therefore the shortest candidate distance is the distance from the metering scheduling position A to the resident end position B, B is the metering hub position, and E is the first hub position.
[0041] S23, a commercial association order of each commercial correction position is obtained according to the preset path planning strategy, and a commercial association path is obtained according to the commercial association order, and the commercial association path includes a commercial end position.
[0042] The commercial association sequence represents a connection sequence between the commercial school positions; the commercial association path represents a path formed by sequentially connecting all the commercial school positions through certain logic; and the commercial endpoint position represents a commercial school position at two ends of the commercial association path.
[0043] Specifically, as shown in Figure 2 , the commercial association sequence of each commercial school position obtained according to a preset path planning strategy is I, J, and K, the commercial association path I-J-K is obtained based on the commercial association sequence, and the commercial endpoint positions are I and K.
[0044] S24, obtaining an industrial association sequence of each industrial school position according to the preset path planning strategy, and obtaining an industrial association path according to the industrial association sequence, the industrial association path including an industrial endpoint position.
[0045] The industrial association sequence represents a connection sequence between the industrial school positions; the industrial association path represents a path formed by sequentially connecting all the industrial school positions through certain logic; and the industrial endpoint position represents an industrial school position at two ends of the industrial association path.
[0046] Specifically, as shown in Figure 2 , the industrial association sequence of each industrial school position obtained according to a preset path planning strategy is F, G, and H, the industrial association path F-G-H is obtained based on the industrial association sequence, and the industrial endpoint positions are F and H.
[0047] S25, obtaining a preselected distance between the first hub position and each commercial endpoint position and each industrial endpoint position, and determining a second hub position and a third hub position opposite to the second hub position based on a shortest preselected distance.
[0048] The preselected distance represents all possible distances from the first hub position to each commercial endpoint position and each industrial endpoint position; the shortest preselected distance represents the shortest distance among all possible distances from the first hub position to each commercial endpoint position and each industrial endpoint position; the second hub position represents a commercial endpoint position or an industrial endpoint position corresponding to the shortest preselected distance; the opposite end represents another commercial endpoint position or industrial endpoint position corresponding to the second hub position; and the third hub position represents another commercial endpoint position or industrial endpoint position corresponding to the second hub position.
[0049] Specifically, as shown in Figure 2 , four preselected distances between the first hub position E and each commercial endpoint position I and K and each industrial endpoint position F and H are obtained, the shortest preselected distance is the distance from the first hub position E to the industrial endpoint position F, so F is the second hub position and H is the third hub position.
[0050] S26, obtain the optional distance between the third hub position and each commercial endpoint position or each industrial endpoint position, and determine the commercial endpoint position or industrial endpoint position corresponding to the shortest optional distance as the fourth hub position.
[0051] wherein the optional distance represents all possible distances from the third hub position to each commercial endpoint position or each industrial endpoint position; the shortest optional distance represents the shortest distance among all possible distances from the third hub position to each commercial endpoint position or each industrial endpoint position; and the fourth hub position represents another commercial endpoint position or industrial endpoint position determined based on the shortest optional distance from the third hub position to the commercial endpoint position or industrial endpoint position.
[0052] Specifically, as shown in Figure 2 , the optional distance between the third hub position H and each commercial endpoint position I and K is obtained, the distance from the third hub position H to the commercial endpoint position I is shorter than the distance from the third hub position H to the commercial endpoint position K, so the shortest optional distance is the distance from the third hub position H to the commercial endpoint position I, and the commercial endpoint position I is the fourth hub position.
[0053] S27, connect the metering scheduling position with the metering hub position, the first hub position with the second hub position, the third hub position with the fourth hub position, generate an electric meter verification path, and send the electric meter verification path to the verification end.
[0054] Specifically, as shown in Figure 2 , the metering scheduling position A is connected with the metering hub position B, the first hub position E is connected with the second hub position F, the third hub position H is connected with the fourth hub position I, an electric meter verification path is generated, and the electric meter verification path is sent to the verification end.
[0055] It should be noted that the main purpose of sending the electric meter verification path to the verification end is to provide accurate route planning, avoid delay caused by repeated visits or unreasonable paths, and verify the electric energy meters according to the order of the electric meter verification path, i.e., starting from the metering hub position, verifying the electric energy meters corresponding to the residential verification positions B, C, D, and E, then verifying the electric energy meters corresponding to the industrial verification positions F, G, and H, and finally verifying the electric energy meters corresponding to the commercial verification positions I, J, and K.
[0056] S3, receive verification video data collected by the verification end based on the electric meter verification path, determine a video verification strategy according to the video attribute of the verification video data to perform verification, and obtain a verification result, wherein the video verification strategy includes an appearance verification strategy and a function verification strategy.
[0057] The check video data represents video information of the meter checking process photographed or collected by the checking end, and includes the whole process of the checking operation of the meter by the checker; the video attribute represents a feature in the video that can be used for checking; the video checking strategy represents a pre-set strategy for checking the meter according to the video information of the checking process; the checking result represents an evaluation result of judging whether the appearance and function of the meter meet the standard; the appearance checking strategy represents a pre-set strategy for checking the appearance of the meter; and the function checking strategy represents a pre-set strategy for checking the function of the meter.
[0058] In some embodiments, the checking end includes a supervision end, and the step of receiving the checking video data collected by the checking end based on the meter checking path, determining a video checking strategy according to the video attribute of the checking video data, and checking to obtain a checking result in step S3 specifically includes steps S31-S36.
[0059] S31, receiving checking video data of the checking operation of the meter by the checker based on the meter checking path photographed by the supervision end, identifying the checking video data, and obtaining a function checking time point.
[0060] The supervision end represents a terminal device, such as a mobile phone or a tablet computer, used by a supervisor who is responsible for monitoring and recording the checking process among two checking personnel; the checker represents a worker who actually operates the checking device of the meter; the checking operation of the meter represents the checking and testing of the appearance and function of the meter by the checker according to the meter checking path; and the function checking time point represents a specific time point at which the checker starts to test the function of the meter.
[0061] It should be noted that the function checking time point marks a time point at which the checking process transitions from appearance checking to function checking, and can distinguish different types of checking operations.
[0062] S32, based on the function checking time point, identifying the checking video data by stages, obtaining a video checking type and a corresponding video checking section, and the video checking section includes an appearance checking section and a function checking section.
[0063] The stage identification represents that the system analyzes the checking video data and identifies different checking stages; the video checking type represents that the checking process is divided into different types, such as appearance checking or function checking, according to the operation behavior in the checking video; the video checking section represents a time period in the checking video data corresponding to a certain type of checking operation; the appearance checking section represents a part of the video recording the appearance checking of the meter; and the function checking section represents a part of the video recording the function testing of the meter.
[0064] Specifically, the complete verification video data is divided into two parts according to the function verification time, and the part before the function verification time is referred to as an appearance verification section, and the part after the function verification time is referred to as a function verification section.
[0065] S33, determining a video attribute of a corresponding video verification section according to the video verification type, wherein the video attribute includes an appearance attribute and a function attribute.
[0066] The appearance attribute represents a feature related to the appearance of the electric meter in the verification video data, and the function attribute represents a feature related to the function of the electric meter in the verification video data.
[0067] Specifically, the video attribute corresponding to the appearance verification section is the appearance attribute, and the video attribute corresponding to the function verification section is the function attribute.
[0068] S34, determining a video verification strategy as an appearance verification strategy based on the appearance attribute, and verifying the appearance verification section according to the appearance verification strategy to obtain an appearance verification result.
[0069] The appearance verification result represents the result of the appearance inspection of the electric meter, and determines whether the appearance of the electric meter meets the requirements.
[0070] In some embodiments, the step S34 (determining a video verification strategy as an appearance verification strategy based on the appearance attribute, and verifying the appearance verification section according to the appearance verification strategy to obtain an appearance verification result) specifically includes steps S341-S343:
[0071] S341, determining a video verification strategy as an appearance verification strategy based on the appearance attribute, and performing image interception on the appearance verification section according to the appearance verification strategy to obtain an appearance key frame.
[0072] The appearance key frame represents an image frame representing the appearance feature of the electric meter, which is intercepted from the video.
[0073] Specifically, an image frame at a specific time is selected from a video stream for interception to obtain an appearance key frame for subsequent analysis and processing.
[0074] S342, identifying the appearance key frame to obtain an appearance pixel value, and determining whether each appearance pixel value is within a preset skin color threshold range, and determining the appearance key frame as an appearance verification frame when each appearance pixel value is not within the preset skin color threshold range.
[0075] The appearance pixel value represents color values or brightness values of each pixel in the appearance key frame, and reflects color information of each point in the image; the preset skin color threshold range is used to determine whether the pixel value falls within a range similar to human skin color, and can be used to exclude human interference (such as detection of the head of the inspector) in the verification process; and the appearance verification frame represents an image frame that can be verified.
[0076] S343, retrieve the pixel verification strategy to identify the appearance verification frame, obtain the verification pixel value, and determine the appearance verification result based on the verification pixel value.
[0077] The pixel verification strategy represents a set of preset rules for determining whether the appearance meets the predetermined standard according to the pixel value in the appearance verification frame; the verification pixel value represents the pixel value in the appearance verification frame for verification; and the appearance verification result represents an evaluation result of whether the appearance of the electric energy meter meets the predetermined standard.
[0078] In some embodiments, the pixel verification strategy includes a surface layer verification strategy, and retrieving the pixel verification strategy to identify the appearance verification frame, obtain the verification pixel value, and determine the appearance verification result based on the verification pixel value, includes:
[0079] Figure 3 is a schematic diagram of an electric energy meter provided by an embodiment of the present application.
[0080] A1, retrieve the surface layer verification strategy to input the appearance verification frame into an edge detection model, and output a surface layer verification area based on the edge detection model, the surface layer verification area including a display area and a frame area.
[0081] The surface layer verification strategy represents a set of rules for analyzing whether the surface layer of the electric energy meter has cracks, scratches or other physical damage; the edge detection model represents a region for identifying the edges or contours of objects in an image; and the surface layer verification area represents a corresponding verification area when the surface layer is detected. Figure 3 The display area represents a portion of the surface layer verification area containing the display screen of the electric energy meter, and the frame area represents a portion of the surface layer verification area where the frame of the electric energy meter is located.
[0082] It should be noted that the edge detection model can identify the frame and display area of the electric energy meter, divide the detection area of the surface layer, and ensure that the detection is concentrated in the divided detection area. This model is well known to those skilled in the art, and the present application does not make specific limitations thereto.
[0083] A2, based on the display area, extract display verification pixel values, compare each display verification pixel value with a preset display threshold, and obtain display fault pixel values.
[0084] The display check pixel value represents a pixel value extracted from the display area for checking; the preset display threshold value represents a reference standard or range of each pixel value in the display area preset by the system; and the display failure pixel value represents a pixel value that does not match the preset display threshold value, indicating a problematic area of the display screen.
[0085] A3, based on the frame area, a frame check pixel value is extracted, each frame check pixel value is compared with a preset frame threshold value, and a frame failure pixel value is obtained.
[0086] The frame check pixel value represents a pixel value extracted from the frame area for checking; the preset frame threshold value represents a reference standard for checking the pixel value of the frame area preset by the system; and the frame failure pixel value represents a pixel value that does not match the preset frame threshold value, indicating that the frame area may have a crack or damage.
[0087] A4, according to the display failure pixel value and / or the frame failure pixel value, a crack detection area is determined, and the number of failure pixels in each crack detection area is obtained.
[0088] The crack detection area represents an area that may have a crack based on the display failure pixel value or the frame failure pixel value.
[0089] A5, when the number of failure pixels is greater than or equal to a preset failure threshold value, the appearance check result is determined to be surface damage.
[0090] The number of failure pixels represents the number of failure pixel values in the crack detection area; the preset failure threshold value represents a critical value of a failure pixel number set by the system, when the number of failure pixels reaches or exceeds the threshold value, the appearance of the electric meter will be judged to be damaged; and the surface damage represents a crack, scratch or other damage in the display area or frame area of the appearance of the electric meter.
[0091] In some embodiments, the pixel check strategy includes a lead seal check strategy, the pixel check strategy is called to identify the appearance check frame, obtain a check pixel value, and determine an appearance check result based on the check pixel value, including:
[0092] B1, the lead seal check strategy is called to obtain a preset lead seal threshold value, and the appearance check frame is subjected to pixel extraction based on the preset lead seal threshold value to obtain a lead seal check pixel value.
[0093] The lead seal check strategy represents a set of rules for checking whether the lead seal of the electric meter is damaged; the preset lead seal threshold value represents a standard threshold value set by the system for lead seal checking, which is usually a reference value for pixel extraction; and the lead seal check pixel value represents a pixel value extracted from the lead seal check frame for checking.
[0094] It should be noted that the preset sealing threshold can be used to determine which pixels belong to the sealing area for further processing.
[0095] B2, determine a sealing verification contour according to each sealing verification pixel value, establish a coordinate system based on the sealing verification contour, and obtain sealing contour coordinate points.
[0096] The sealing verification contour represents the contour line of the sealing boundary generated in the pixel extraction process; the coordinate system represents a two-dimensional coordinate system for positioning and analysis established based on the sealing contour in the sealing verification process.
[0097] It should be noted that the sealing verification contour represents the external shape of the sealing, which can be used to analyze whether the sealing is complete; the coordinate system can help the system accurately locate each point on the sealing contour for further calculation of the connectivity of adjacent contour points.
[0098] B3, obtain the number of adjacent contour points of the sealing contour coordinate points in each preset direction, and determine the corresponding sealing contour coordinate point as a low connectivity point when the number of adjacent contour points is lower than a preset connectivity threshold.
[0099] The sealing contour coordinate points represent each coordinate point on the sealing verification contour, representing the external boundary of the sealing, which can be used to analyze the connectivity between adjacent points and determine whether the sealing is complete; each preset direction represents the detection direction preset by the system when checking the connectivity between the sealing contour coordinate points, such as horizontal, vertical, or diagonal direction; the number of adjacent contour points represents the number of points connected to each other between the coordinate points of the sealing contour in each preset direction, and if the number of adjacent contour points is less than normal, it indicates that the sealing may be broken or damaged; the preset connectivity threshold represents the minimum number of adjacent contour points set by the system to determine whether the sealing contour is connected; the low connectivity point represents the sealing contour coordinate point whose number of adjacent contour points is lower than the preset connectivity threshold.
[0100] It should be noted that when the number of adjacent contour points is lower than the threshold, the system will determine that the connectivity of the sealing is poor.
[0101] B4, generate a low connectivity area based on each low connectivity point, and obtain the connectivity length of the low connectivity area.
[0102] The low connectivity area represents a region indicating that the sealing is damaged, which is generated based on the low connectivity point.
[0103] B5, compare the connectivity length of the low connectivity area with a preset safety length, and determine that the appearance verification result is sealing damage when the connectivity length of the low connectivity area is greater than or equal to the preset safety length.
[0104] The communication length refers to the distance or length between low communication points in the low communication area; the preset safe length represents the minimum communication length standard acceptable by the system for the seal; and the seal damage refers to damage, breakage or other forms of damage to the appearance or structure of the seal.
[0105] It should be noted that the communication length indicates whether the integrity of the seal is safe enough. If the communication length of the low communication area exceeds this safe length, it means that the seal is no longer safe and there is obvious damage. The communication length can be used as an indicator to measure the degree of damage. If the communication length is too long, it means that the damage to the seal is more serious.
[0106] In some embodiments, the pixel verification strategy includes a wiring verification strategy. The pixel verification strategy is invoked to identify the appearance verification frame, obtain a verification pixel value, and determine an appearance verification result based on the verification pixel value, including:
[0107] C1, the wiring verification strategy is invoked to obtain a preset cropping frame, and the appearance verification frame is positioned according to the preset cropping frame to obtain a wiring verification area.
[0108] The wiring verification strategy represents a set of rules for detecting the wiring state of the electric meter; the preset cropping frame represents a system-predefined image frame that can position the area where the wiring part is located, helping the system to extract the image of the wiring part from the appearance verification frame; see Figure 3 The wiring verification area represents an area containing the electric meter wiring part obtained by the system from the appearance verification frame.
[0109] C2, obtain the wiring pixel value of the wiring verification area, the wiring pixel value includes the zero line pixel value, the fire line pixel value and the ground line pixel value, and determine the color error value based on each wiring pixel value and the corresponding standard pixel value;
[0110] The wiring pixel value is the pixel value in the wiring verification area, which contains color information for indicating the zero line, the fire line and the ground line; the zero line pixel value represents the pixel value in the wiring verification area for indicating the zero line; the fire line pixel value represents the pixel value in the wiring verification area for indicating the fire line; the ground line pixel value represents the pixel value in the wiring verification area for indicating the ground line; the standard pixel value is a system-predefined reference pixel value of the correct cable color for comparison and verification; and the color error value represents the difference between the wiring pixel value and the standard pixel value.
[0111] It should be noted that the pixel values of cables of different colors in the image will be different. The system distinguishes and detects different cables by analyzing these pixel values. By analyzing the color error value, the system can determine whether the cable color is correct. If the error is too large, it may mean that the wiring is incorrect or there are problems such as aging and falling off.
[0112] C3, determining a corresponding check connection point according to the zero line pixel value, the fire line pixel value and the ground line pixel value, and obtaining a point difference value between each check connection point and a corresponding fixed connection point.
[0113] Wherein, the check connection point represents the actual connection point of each cable and device determined by the system through analyzing the wiring image; the fixed connection point represents the ideal connection position, which is used to compare with the check connection point to determine whether the wiring is offset or dropped; the point difference value represents the distance difference between the check connection point and the fixed connection point. If the point difference value is large, it means that the position of the wiring has been offset, which may indicate that the wiring is loose or dropped.
[0114] C4, when the point difference value is not in the preset point offset interval and / or the color error value is greater than the preset color offset interval, determining that the appearance check result is wiring drop.
[0115] Wherein, the preset point offset interval represents the maximum offset range between the check connection point and the fixed connection point allowed by the system; the preset color offset interval represents the range of color error value allowed by the system.
[0116] It should be noted that if the point difference value exceeds the preset point offset interval, it means that the wiring may have been displaced greatly; if the color error value exceeds the preset color offset interval, it may mean that the color of the cable is abnormal, indicating that the cable may be damaged or connected incorrectly; wiring drop means that the connection state of multiple wires is not normal, and there is obvious offset, looseness or disconnection.
[0117] S35, determining a video check strategy as a function check strategy based on the function attribute, checking the function check segment according to the function check strategy, and obtaining a function check result.
[0118] In some embodiments, the function check strategy includes a number display check strategy, and checking the function check segment according to the function check strategy to obtain a function check result, specifically including steps D1-D4:
[0119] D1, identifying the function check segment according to the number display check strategy to obtain a number display check segment.
[0120] Wherein, the number display check strategy is a check rule for detecting whether the meter reading is accurate; the function check segment represents the part of the video containing the function check process of the electric energy meter; the number display check segment represents the part of the video in the function check segment for checking the meter reading.
[0121] D2, determine the detection equipment power based on the standard detection equipment, and obtain a preset meter reference value according to the detection equipment power and the meter verification time.
[0122] The standard detection equipment indicates a power detection device for verifying the electric energy meter, and can provide an accurate power reference value. The detection equipment power indicates a current power value measured by the standard detection equipment.
[0123] The meter verification time refers to a time period during which the detection equipment operates, and is used to determine the meter reference value of the electric energy meter. The preset meter reference value indicates the meter reference value of the electric energy meter calculated according to the detection equipment power and the meter verification time.
[0124] D3, video capture is performed on the meter verification section to obtain a meter key frame, and an electric meter value is obtained based on the meter key frame.
[0125] The meter key frame indicates an image frame in which the electric energy meter reading is clearly displayed in the meter verification section. The electric meter value indicates the actual electric energy meter reading obtained through the meter key frame.
[0126] D4, the preset meter reference value is compared with the electric meter value to obtain a meter difference value, and when the meter difference value is not within a preset meter deviation range, it is determined that the function verification result is that the meter is inaccurate.
[0127] The meter difference value is the difference between the preset meter reference value and the actual electric meter value. The preset meter deviation range indicates the allowed meter difference value range, which can ensure that the error of the electric meter value is within a reasonable range.
[0128] It should be noted that the inaccurate meter indicates that the difference between the actual meter reading of the electric energy meter and the preset meter reference value exceeds the preset deviation range, which indicates that the electric energy meter cannot accurately reflect the power consumption.
[0129] In some embodiments, the function verification strategy includes a light verification strategy, and the function verification section is verified according to the function verification strategy to obtain a function verification result, including:
[0130] E1, the function verification section is identified according to the light verification strategy to obtain a light verification section, and a power pixel value of a power indicator light is obtained based on the light verification section.
[0131] The light verification strategy indicates a rule for detecting whether the function of the indicator light on the electric energy meter is normal. The light verification section indicates a part of the video that is specially used for verifying the indicator light.
[0132] E2, the power pixel value is compared with a preset power pixel value, and when the power pixel value is different from the preset power pixel value, it is determined that the function verification result is that the power indicator light is abnormal.
[0133] Wherein, the power indicator light is always on, if the power indicator light is abnormal, the brightness, color and other states of the power indicator light are inconsistent with the expected.
[0134] E3, based on the light verification section, the pulse indicating light corresponding to the pulse flicker frequency under different detection equipment power is obtained, and the pulse flicker frequency includes the first pulse flicker frequency and the second pulse flicker frequency.
[0135] Wherein, the pulse flicker frequency is the flicker speed of the ammeter pulse indicating light under different power; the first pulse flicker frequency is the flicker speed of the pulse indicating light under a certain specific power; the second pulse flicker frequency is the flicker speed of the pulse indicating light under another specific power.
[0136] E4, according to the first pulse flicker frequency and the second pulse flicker frequency, the flicker frequency difference value is determined, the flicker frequency difference value is compared with the preset flicker difference value, when the flicker frequency difference value is greater than the preset flicker difference value, it is determined that the function verification result is abnormal pulse indicating light.
[0137] Wherein, the flicker frequency difference value is the difference between the first pulse flicker frequency and the second pulse flicker frequency; the preset flicker difference value is the normal difference range of the pulse indicating light flicker frequency under two power specified by the system, the pulse indicating light abnormality refers to the flicker frequency difference value of the pulse indicating light, which exceeds the preset range, indicating that the pulse indicating light may have a fault.
[0138] S36, the appearance verification result and the function verification result are combined to obtain the verification result.
[0139] It should be noted that the verification result is the combination of the appearance verification result and the function verification result, which indicates whether the electric meter passes the standard test of appearance and function.
[0140] S4, according to the verification result, the school backtracking tree is generated, the school display interface is constructed based on the school backtracking tree, and the school display interface is sent to the user end.
[0141] Please refer to 4, Figure 4 It is a kind of school backtracking tree provided by the embodiment of the application.
[0142] Wherein, the school backtracking tree represents the historical data in the verification process, and the backtracking tree structure is constructed according to time or step; the school display interface represents the interface that the user can visually check the electric meter school result and school backtracking tree; the user end represents the terminal equipment that the user checks the school display interface, such as mobile phone, computer and the like.
[0143] In some embodiments, the step S4 (generating a review backtracking tree according to the check result, constructing a review display interface based on the review backtracking tree, and sending the review display interface to the user end) specifically comprises steps S41-S44:
[0144] S41, identifying the check result to obtain each check identification type and corresponding check identification data.
[0145] The check identification type represents the classification of the check result according to different check dimensions, such as lead seals, wiring, etc.; and the check identification data represents the specific check situation.
[0146] S42, constructing a backtracking root node and a first-level backtracking node based on each check identification type, and generating a second-level backtracking node according to the check identification data.
[0147] The backtracking root node is the starting node of the review backtracking tree; the first-level backtracking node represents the node directly connected to the backtracking root node, representing the high-level classification of each check identification type; and the second-level backtracking node is a child node generated according to the check identification data, mounted on the first-level backtracking node, representing a more detailed check result.
[0148] S43, associating each second-level backtracking node to the corresponding first-level backtracking node, and mounting each first-level backtracking node to the backtracking root node to generate a review backtracking tree.
[0149] S44, constructing a review display interface according to the review backtracking tree, wherein the review display interface comprises a backtracking tree display area and a node display area, and the review display interface is sent to the user end.
[0150] Specifically, on the review display interface of the user end, if the user clicks a certain node in the review backtracking tree, the check video and other check data corresponding to the node will be displayed in the node display area. For example, if the user clicks the "wiring" node on the review backtracking tree, the check video data and check result of the check on the wiring will be displayed in the node display area.
[0151] In some other embodiments, the review display interface is constructed according to the review backtracking tree, wherein the review display interface comprises a backtracking tree display area and a node display area, and the review display interface is sent to the check end so that the check personnel can view the check process.
[0152] It should be noted that the specific positions of the backtracking tree display area and the node display area on the review display interface can be set according to actual conditions, and the present application does not make specific limitations thereon. For example, the review display interface is divided into two areas, the node display area is directly above the review display interface, and the backtracking tree display area is directly below the review display interface.
[0153] In the embodiment, a meter checking method based on position and video checking is provided, which comprises: in response to a meter checking request, counting meter checking positions of each user in a preset time period, the meter checking positions including residential checking positions, commercial checking positions and industrial checking positions; obtaining a metering scheduling position, performing path planning based on the metering scheduling position and each meter checking position, generating a meter checking path, and sending the meter checking path to a checking end; receiving checking video data collected by the checking end based on the meter checking path, determining a video checking strategy according to a video attribute of the checking video data to perform checking, obtaining a checking result, the video checking strategy including an appearance checking strategy and a function checking strategy; generating a checking backtracking tree according to the checking result, constructing a checking display interface based on the checking backtracking tree, and sending the checking display interface to a user end. The meter checking path is generated based on each meter checking position, which greatly reduces the time and energy consumption of the checking personnel, the video checking strategy is called to check the checking video data, which improves the checking efficiency and the accuracy of the checking result, the checking backtracking tree is generated according to the checking result, so that various checking data generated in the checking process can be recorded and traced, and the user and the staff can check the whole checking process after the checking is completed.
[0154] The meter checking system provided in the embodiment comprises:
[0155] A position counting module is configured to count meter checking positions of each user in a preset time period in response to a meter checking request, the meter checking positions including residential checking positions, commercial checking positions and industrial checking positions.
[0156] A path planning module is configured to obtain a metering scheduling position, perform path planning based on the metering scheduling position and each meter checking position, generate a meter checking path, and send the meter checking path to a checking end.
[0157] A data checking module is configured to receive checking video data collected by the checking end based on the meter checking path, determine a video checking strategy according to a video attribute of the checking video data to perform checking, and obtain a checking result, the video checking strategy including an appearance checking strategy and a function checking strategy.
[0158] An interface generating module is configured to generate a checking backtracking tree according to the checking result, construct a checking display interface based on the checking backtracking tree, and send the checking display interface to a user end.
[0159] It should be noted that the meter checking system described above can perform the meter checking method based on position and video checking provided in the embodiment, and technical details and beneficial effects not described in detail in the meter checking system embodiment can be referred to the meter checking method based on position and video checking provided in the embodiment.
[0160] Finally, it should be noted that the above examples are only used to illustrate the technical solutions of the present application, and are not limited thereto; under the concept of the present application, the technical features of the above examples or different examples can also be combined, the steps can be implemented in any order, and there are many other changes of different aspects of the present application as described above, which are not provided in detail for simplicity; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that the technical solutions recorded in the foregoing examples can still be modified, or some technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for meter verification based on location and video check, characterized in that, The method comprises: In response to an electricity meter calibration request, statistics of electricity meter calibration positions of each user in a preset time period are obtained, wherein the electricity meter calibration positions include residential calibration positions, commercial calibration positions and industrial calibration positions; Obtaining a metering scheduling position, performing path planning based on the metering scheduling position and each electricity meter calibration position, generating an electricity meter calibration path, and sending the electricity meter calibration path to a verification end; Receiving verification video data collected by the verification end based on the electricity meter calibration path, determining a video verification strategy according to the video attribute of the verification video data to perform verification, obtaining a verification result, wherein the video verification strategy includes an appearance verification strategy and a function verification strategy; Generating a calibration backtracking tree according to the verification result, constructing a calibration display interface based on the calibration backtracking tree, sending the calibration display interface to a user end, and the calibration backtracking tree represents historical data in the verification process, and a backtracking tree structure is constructed according to time or steps; The verification end includes a supervision end, receives verification video data collected by the verification end based on the electricity meter calibration path, determines a video verification strategy according to the video attribute of the verification video data to perform verification, and obtains a verification result, including: Receiving verification video data of an inspector based on the electricity meter calibration path for performing electricity meter calibration operation, identifying the verification video data, and obtaining a function verification time; Based on the function verification time, the verification video data is identified by stages, and the video verification type and the corresponding video verification segment are obtained, wherein the video verification segment includes an appearance verification segment and a function verification segment; According to the video verification type, the video attribute of the corresponding video verification segment is determined, and the video attribute includes an appearance attribute and a function attribute; Based on the appearance attribute, the video verification strategy is determined as the appearance verification strategy, the appearance verification segment is verified according to the appearance verification strategy, and an appearance verification result is obtained; Based on the function attribute, the video verification strategy is determined as the function verification strategy, the function verification segment is verified according to the function verification strategy, and a function verification result is obtained; The appearance verification result and the function verification result are combined to obtain a verification result; Based on the appearance attribute, the video verification strategy is determined as the appearance verification strategy, the appearance verification segment is verified according to the appearance verification strategy, and an appearance verification result is obtained, including: Based on the appearance attribute, the video verification strategy is determined as the appearance verification strategy, the appearance verification segment is verified according to the appearance verification strategy, and an appearance verification result is obtained, including: Based on the appearance attribute, the video verification strategy is determined as the appearance verification strategy, the appearance verification segment is verified according to the appearance verification strategy, and an appearance verification result is obtained, including: Based on the appearance attribute, the video verification strategy is determined as the appearance verification strategy, the appearance verification segment is verified according to the appearance verification strategy, and an appearance verification result is obtained, including: The pixel verification strategy includes a wiring verification strategy, the pixel verification strategy is used to identify the appearance verification frame, a verification pixel value is obtained, and the appearance verification result is determined based on the verification pixel value, including: The pixel verification strategy includes a surface layer verification strategy, and the pixel verification strategy is called to identify the appearance verification frame, obtain verification pixel values, and determine an appearance verification result based on the verification pixel values, including: The surface layer verification strategy is called to input the appearance verification frame into an edge detection model, output a surface layer verification region based on the edge detection model, and obtain the surface layer verification region including a display region and a frame region. Display verification pixel values are extracted based on the display region, each display verification pixel value is compared with a preset display threshold, and display fault pixel values are obtained. Frame verification pixel values are extracted based on the frame region, each frame verification pixel value is compared with a preset frame threshold, and frame fault pixel values are obtained. A crack detection region is determined based on the display fault pixel values and / or the frame fault pixel values, and a fault pixel quantity of each crack detection region is obtained. When the fault pixel quantity is greater than or equal to a preset fault threshold, the appearance verification result is determined to be surface layer damage.
3. The electric meter appearance verification method based on position and video verification according to claim 1, wherein the pixel verification strategy includes a lead seal verification strategy, the pixel verification strategy is called to identify the appearance verification frame, obtain verification pixel values, and determine an appearance verification result based on the verification pixel values, including: The lead seal verification strategy is called to obtain a preset lead seal threshold, pixel extraction is performed on the appearance verification frame based on the preset lead seal threshold, and lead seal verification pixel values are obtained. A lead seal verification contour is determined based on each lead seal verification pixel value, a coordinate system is established based on the lead seal verification contour, and lead seal contour coordinate points are obtained. The number of adjacent contour points of the lead seal contour coordinate points in each preset direction is obtained, and when the number of adjacent contour points is lower than a preset connectivity threshold, the corresponding lead seal contour coordinate point is determined to be a low connectivity point. A low connectivity region is generated based on each low connectivity point, and a connectivity length of the low connectivity region is obtained. The connectivity length of the low connectivity region is compared with a preset safety length, and when the connectivity length of the low connectivity region is greater than or equal to the preset safety length, the appearance verification result is determined to be lead seal damage.
4. The electric meter appearance verification method based on position and video verification according to claim 1, wherein The function verification strategy includes a number verification strategy, and the function verification segment is verified according to the function verification strategy to obtain a function verification result, including: The function verification segment is identified according to the number verification strategy to obtain a number verification segment; A standard detection equipment is used to determine a detection equipment power, and a preset number reference is obtained according to the detection equipment power and a number verification time, the number verification time being a time period during which the detection equipment operates, and being used to determine a reference number of the electric meter; A video of the number verification segment is captured to obtain a number key frame, and an electric number is obtained based on the number key frame; The preset number reference and the electric number are compared to obtain a number difference value, and when the number difference value is not within a preset number deviation range, it is determined that the function verification result is inaccurate.
5. The electric meter verification method based on location and video verification according to claim 1, wherein The function verification strategy includes a light verification strategy, and the function verification segment is verified according to the function verification strategy to obtain a function verification result, including: The function verification segment is identified according to the light verification strategy to obtain a light verification segment, and a power pixel value of a power indicator light is obtained based on the light verification segment; The power pixel value and a preset power pixel value are compared, and when the power pixel value is different from the preset power pixel value, it is determined that the function verification result is that the power indicator light is abnormal; Based on the light verification segment, a pulse flicker frequency corresponding to a pulse indicator light under different detection equipment powers is obtained, the pulse flicker frequency including a first pulse flicker frequency and a second pulse flicker frequency; The flicker frequency difference value and a preset flicker difference value are compared, and when the flicker frequency difference value is greater than the preset flicker difference value, it is determined that the function verification result is that the pulse indicator light is abnormal.
6. The electric meter verification method based on location and video verification according to claim 1, wherein A verification backtracking tree is generated according to the verification result, a verification display interface is constructed based on the verification backtracking tree, the verification display interface is sent to a user end, including: The verification result is identified to obtain each verification identification type and corresponding verification identification data; Based on each verification identification type, a backtracking root node and a first backtracking node are constructed, and second backtracking nodes are respectively generated according to the verification identification data; Each second backtracking node is associated to a corresponding first backtracking node, and each first backtracking node is mounted to the backtracking root node to generate the verification backtracking tree; The verification display interface is constructed according to the verification backtracking tree, the verification display interface including a backtracking tree display area and a node display area, and the verification display interface is sent to the user end.
7. A power meter verification system based on location and video check, characterized in that, including: A location statistical module is configured to respond to an electric meter verification request and to count electric meter verification locations of each user in a preset time period, the electric meter verification locations including residential verification locations, commercial verification locations, and industrial verification locations; The path planning module is used to obtain the metering scheduling location, perform path planning based on the metering scheduling location and the calibration location of each meter, generate the meter calibration path, and send the meter calibration path to the verification terminal. The data verification module is used to receive verification video data collected by the verification end based on the meter application path, determine the video verification strategy according to the video attributes of the verification video data, perform verification, and obtain the verification result. The video verification strategy includes appearance verification strategy and function verification strategy. The interface generation module is used to generate a backtracking tree for the application based on the verification result, construct an application display interface based on the backtracking tree, and send the application display interface to the user terminal. The backtracking tree represents historical data in the verification process and is a backtracking tree structure constructed according to time or steps. The verification end includes a monitoring end, which receives verification video data collected by the verification end based on the meter calibration path, determines a video verification strategy based on the video attributes of the verification video data, performs verification, and obtains verification results, including: The system receives verification video data captured by the monitoring terminal, showing the inspector performing meter verification operations based on the meter calibration path; identifies the verification video data; and obtains the function verification time. Based on the functional verification time, the verification video data is stage-identified to obtain the video verification type and the corresponding video verification segment. The video verification segment includes an appearance verification segment and a functional verification segment. The video attributes of the corresponding video verification segment are determined according to the video verification type, and the video attributes include appearance attributes and functional attributes. Based on the appearance attributes, the video verification strategy is determined to be the appearance verification strategy. The appearance verification segment is verified according to the appearance verification strategy to obtain the appearance verification result. Based on the aforementioned functional attributes, the video verification strategy is determined to be a functional verification strategy. The functional verification segment is then verified according to the functional verification strategy to obtain the functional verification result. The appearance verification result and the function verification result are combined to obtain the verification result; Based on the appearance attributes, the video verification strategy is determined to be an appearance verification strategy. The appearance verification segment is then verified according to the appearance verification strategy to obtain the appearance verification result, including: Based on the appearance attributes, the video verification strategy is determined to be the appearance verification strategy. The appearance verification segment is then cropped according to the appearance verification strategy to obtain appearance keyframes. The appearance key frame is identified, the appearance pixel value is obtained, and it is determined whether each appearance pixel value is within the preset skin color threshold range. When each appearance pixel value is not within the preset skin color threshold range, the appearance key frame is determined as the appearance verification frame. The pixel verification strategy is invoked to identify the appearance verification frame, the verification pixel value is obtained, and the appearance verification result is determined based on the verification pixel value. The pixel verification strategy includes a wiring verification strategy. The pixel verification strategy is invoked to identify the appearance verification frame, obtain verification pixel values, and determine the appearance verification result based on the verification pixel values, including: The line connection verification strategy obtains a preset intercepting frame, positions the appearance verification frame according to the preset intercepting frame, and obtains a line verification area; Obtain the line pixel value of the line verification area, the line pixel value includes the zero line pixel value, the fire line pixel value and the ground line pixel value, determine the color error value based on each line pixel value and the corresponding standard pixel value; Determine the corresponding verification connection point based on the zero line pixel value, the fire line pixel value and the ground line pixel value, and obtain the point difference value of each verification connection point and the corresponding fixed connection point; When the point difference value is not in the preset point deviation interval and / or the color error value is greater than the preset color deviation interval, the appearance verification result is determined as line disconnection.
Citation Information
Patent Citations
Electric energy meter calibration method and device, electronic equipment and storage medium
CN114047471A
Electric energy meter verification method, device, equipment, storage medium and program product
CN114817776A
Icon detection processing method and device for vehicles
CN118736541A