Ammeter calibration method and system based on position and video verification
Through the location and video-based power meter calibration method, the problems of low efficiency and inaccurate results of existing power meter calibration are solved, and efficient and accurate checksum data traceability are achieved.
Patent Information
- Application Number
- CN202411589800.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2024-12-06
- Estimated Expiration
- 2044-11-08
AI Technical Summary
The existing power meter calibration method relies on manual operation, has low efficiency, insufficient results, and cannot trace back the verification process.
Using the power meter calibration method based on location and video verification, the power meter calibration location is counted, the verification path is generated, the verification video data is collected, the video verification strategy is determined, the appearance and function verification is performed, and the application backtracking tree is generated. to show the verification results.
It improves verification efficiency and accuracy, realizes recording and traceability of verification data, and users and staff can view the entire verification process.
Smart Images

Figure CN119090521A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power metering, and in particular to an electric meter calibration method and system based on position and video verification. Background Art
[0002] As an important device for electricity measurement, the energy meter is widely used in industrial, commercial and household electricity measurement. It is responsible for measuring and recording the use of electricity. During long-term use, it may have measurement errors or failures due to factors such as wear, aging of components and human intervention. When users question the reading of the energy meter due to abnormal electricity charges, they can apply for calibration services from the power measurement center.
[0003] The existing calibration method of electricity meters relies entirely on manual operation, with low calibration efficiency and inaccurate results. In addition, all kinds of calibration data generated during the calibration process cannot be traced back, and users cannot view the calibration process later. Summary of the invention
[0004] The embodiment of the present invention provides an electric meter calibration method and system based on position and video verification, which improves the verification efficiency and the accuracy of the verification result, and all kinds of verification data generated during the verification process can be traced back.
[0005] According to one aspect of the present invention, there is provided a method for calibrating an electric meter based on position and video verification, the method comprising: responding to a request for calibration of an electric meter, counting the calibration locations of each user's electric meter within a preset time period, the electric meter calibration locations comprising residential calibration locations, commercial calibration locations and industrial calibration locations, acquiring a metering and scheduling location, performing path planning based on the metering and scheduling location and each electric meter calibration location, generating an electric meter calibration path, sending the electric meter calibration path to a verification end, receiving verification video data collected by the verification end based on the electric meter calibration path, determining a video verification strategy according to video attributes of the verification video data for verification, and obtaining a verification result, the video verification strategy comprising 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, and sending the calibration display interface to a user end.
[0006] Optionally, a metering dispatching position is obtained, a path planning is performed based on the metering dispatching position and each meter application calibration position, an meter application calibration path is generated, and the meter application calibration path is sent to the verification end, including: calling a preset path planning strategy to obtain a resident association order of each resident application calibration position, obtaining a resident association path based on the resident association order, the resident association path including a resident endpoint position, obtaining a metering dispatching position, calculating a candidate distance between the metering dispatching position and each resident endpoint position, determining a metering hub position and a first hub position of the opposite end based on the shortest candidate distance, obtaining a commercial association order of each commercial application calibration position according to the preset path planning strategy, obtaining a commercial association path according to the commercial association order, the commercial association path including a commercial endpoint position, and obtaining a metering dispatching position according to the preset path planning strategy. The planning strategy obtains the industrial association sequence of each industrial calibration location, obtains the industrial association path according to the industrial association sequence, the industrial association path includes the industrial endpoint location, obtains the preselected distance between the first hub location and each commercial endpoint location and each industrial endpoint location, determines the second hub location and the third hub location of the opposite end based on the shortest preselected distance, obtains the optional distance between the third hub location and each commercial endpoint location or each industrial endpoint location, determines the commercial endpoint location or industrial endpoint location corresponding to the shortest optional distance as the fourth hub location, connects the metering scheduling location and the metering hub location, the first hub location and the second hub location, the third hub location and the fourth hub location, generates a meter calibration path, and sends the meter calibration path to the verification end.
[0007] Optionally, the verification end includes a supervisory end, which receives the verification video data collected by the verification end based on the meter calibration path, determines the video verification strategy according to the video attributes of the verification video data for verification, and obtains the verification result, including: receiving the verification video data of the inspector performing the meter verification operation based on the meter calibration path shot by the supervisory end, identifying the verification video data, obtaining the functional verification time, performing stage identification on the verification video data based on the functional verification time, obtaining the video verification type and the corresponding video verification segment, the video verification segment including the appearance verification segment and the functional verification segment, determining the video attributes of the corresponding video verification segment according to the video verification type, the video attributes including the appearance attributes and the functional attributes, determining the video verification strategy as the appearance verification strategy based on the appearance attributes, verifying the appearance verification segment according to the appearance verification strategy, and obtaining the appearance verification result, determining the video verification strategy as the functional verification strategy based on the functional attributes, verifying the functional verification segment according to the functional verification strategy, and obtaining the functional verification result, combining the appearance verification result and the functional verification result to obtain the verification result.
[0008] Optionally, determining that the video verification strategy is an appearance verification strategy based on the appearance attributes, verifying the appearance verification segment according to the appearance verification strategy, and obtaining an appearance verification result includes: determining that the video verification strategy is an appearance verification strategy based on the appearance attributes, performing image interception on the appearance verification segment according to the appearance verification strategy, obtaining an appearance key frame, identifying the appearance key frame, obtaining an appearance pixel value, and judging 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, determining the appearance key frame as an appearance verification frame, calling a pixel verification strategy to identify the appearance verification frame, obtaining a verification pixel value, and determining an appearance verification result based on the verification pixel value.
[0009] Optionally, the pixel verification strategy includes a surface verification strategy, the pixel verification strategy is called 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, including: calling the surface verification strategy to input the appearance verification frame into an edge detection model, outputting a surface verification area based on the edge detection model, the surface verification area including a display area and a border area, extracting display verification pixel values based on the display area, comparing each display verification pixel value with a preset display threshold, obtaining a display fault pixel value, extracting border verification pixel values based on the border area, comparing each border verification pixel value with a preset border threshold, obtaining a border fault pixel value, determining a crack detection area according to the display fault pixel value and / or the border fault pixel value, obtaining the number of fault pixels in each crack detection area, and when the number of fault pixels is greater than or equal to the preset fault threshold, determining that the appearance verification result is surface damage.
[0010] Optionally, the pixel verification strategy includes a seal verification strategy, the pixel verification strategy is called 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, including: calling the seal verification strategy to obtain a preset seal threshold, performing pixel extraction on the appearance verification frame based on the preset seal threshold, obtaining the seal verification pixel value, determining the seal verification contour according to each seal verification pixel value, establishing a coordinate system based on the seal verification contour, obtaining the seal contour coordinate point, obtaining the number of adjacent contour points of the seal contour coordinate point in each preset direction, when the number of adjacent contour points is lower than a preset connectivity threshold, determining the corresponding seal contour coordinate point as a low connectivity point, generating a low connectivity area based on each low connectivity point, obtaining the connectivity length of the low connectivity area, comparing the low connectivity length with a preset safety length, and determining that the appearance verification result is a damaged seal when the low connectivity length is greater than or equal to the preset safety length.
[0011] Optionally, the pixel verification strategy includes a wiring verification strategy, the pixel verification strategy is called 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, including: calling the wiring verification strategy to obtain a preset interception frame, positioning the appearance verification frame according to the preset interception frame to obtain a wiring verification area, obtaining wiring pixel values of the wiring verification area, the wiring pixel values including neutral line pixel values, live line pixel values and ground line pixel values, determining a color error value based on each wiring pixel value and a corresponding standard pixel value, determining a corresponding verification connection point according to the neutral line pixel value, the live line verification pixel value and the ground line verification pixel value, obtaining a point difference between each verification connection point and a corresponding fixed connection point, and determining that the appearance verification result is wiring detachment when the point difference is not in a preset point offset interval and / or the color error value is greater than a preset color offset interval.
[0012] Optionally, the functional verification strategy includes an indication verification strategy, and the functional verification segment is verified according to the functional verification strategy to obtain a functional verification result, including: identifying the functional verification segment according to the indication verification strategy, obtaining the indication verification segment, determining the power of the detection equipment based on a standard detection equipment, obtaining a preset indication reference according to the detection equipment power and the indication verification time, performing video interception on the indication verification segment, obtaining an indication key frame, obtaining an electrical indication based on the indication key frame, comparing the preset indication reference with the electrical indication, obtaining an indication difference, and determining that the functional verification result is an inaccurate indication when the indication difference is not within a preset indication deviation range.
[0013] Optionally, 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: identifying the function verification segment according to the light verification strategy to obtain the light verification segment, obtaining a power pixel value of the power indicator light based on the light verification segment, comparing the power pixel value with a preset power pixel value, and when the power pixel value is different from the preset power pixel value, determining that the function verification result is that the power indicator light is abnormal, and obtaining a pulse flashing frequency corresponding to a pulse indicator light under different detection device powers based on the light verification segment, the pulse flashing frequency including a first pulse flashing frequency and a second pulse flashing frequency, determining a flashing frequency difference according to the first pulse flashing frequency and the second pulse flashing frequency, comparing the flashing frequency difference with a preset flashing difference, and when the flashing frequency difference is greater than the preset flashing difference, determining that the function verification result is that the pulse indicator light is abnormal.
[0014] Optionally, an application verification backtracking tree is generated according to the verification result, an application verification display interface is constructed based on the application verification backtracking tree, and the application verification display interface is sent to the user end, including: identifying the verification result, obtaining each verification identification type and the corresponding verification identification data, constructing a backtracking root node and a first-level backtracking node based on each verification identification type, generating second-level backtracking nodes according to the verification identification data, associating each second-level backtracking node to the corresponding first-level backtracking node, mounting each first-level backtracking node to the backtracking root node, generating an application verification backtracking tree, constructing an application verification display interface according to the application verification backtracking tree, the application verification display interface including a backtracking tree display area and a node display area, and sending the application verification display interface to the user end.
[0015] The present invention generates an electric meter calibration path based on the calibration location of each electric meter, which greatly shortens the time and energy consumption of calibration personnel, calls a video calibration strategy to calibrate calibration video data, improves calibration efficiency and the accuracy of calibration results, and generates a calibration backtracking tree according to the calibration results, so that various calibration data generated during the calibration process can be recorded and traced, and users and staff can view the entire calibration process after the calibration is completed. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a flow chart of a method for calibrating an electric meter based on position and video verification provided by an embodiment of the present invention; Figure 2 It is a schematic diagram of an electric meter calibration path provided by an embodiment of the present invention; Figure 3 is a schematic diagram of an electric energy meter provided by an embodiment of the present invention; Figure 4 It is a schematic diagram of an application and school backtracking tree provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0018] It should be noted that, if there is no conflict, the various features in the embodiments of the present invention can be combined with each other, and all are within the protection scope of the present invention. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order from the module division in the device schematic diagram or the order in the flow chart.
[0019] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.
[0020] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.
[0021] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0022] See also Figure 1 , Figure 1 The flowchart of a method for calibrating an electric meter based on position and video verification provided by an embodiment of the present invention includes steps S1 to S4, which are as follows: S1. Respond to meter calibration requests and count meter calibration locations of each user within a preset time period, wherein the meter calibration locations include residential calibration locations, commercial calibration locations, and industrial calibration locations.
[0023] Among them, the meter calibration request indicates a request issued by the user of the electricity meter to request a calibration agency to calibrate the electricity meter; the preset time period indicates a specified time range, such as within one month; the user indicates the entity using the electricity meter, which may be an individual commercial organization or an industrial enterprise, specifically including residential users, commercial users, industrial users, etc.; the meter calibration location indicates the actual installation location of the electricity meter, which may be a GPS coordinate; the residential calibration location indicates the specific location of the residential user's electricity meter; the commercial calibration location indicates the specific location of the commercial electricity meter, which may be a store, company, etc.; the industrial calibration location indicates the location of the electricity meter used by industrial users, which is usually located in factories, industrial areas, etc.
[0024] Specifically, the system receives an electricity meter calibration request from a residential, commercial or industrial user, and can obtain the user ID or meter number from the meter calibration request, and extract the electricity meter information corresponding to each applying user from the power management system based on the user ID or meter number. The electricity meter information includes the meter location, meter type, etc. The electricity meter location can specifically be a GPS coordinate.
[0025] It should be noted that obtaining the location of meter calibration is the basis for route planning. In complex geographical areas, different types of users are unevenly distributed. By obtaining the location of meter calibration, the calibration efficiency of calibration personnel can be improved during the calibration process, and it can also ensure that the calibration work will not miss any calibrated users, thereby achieving comprehensive coverage.
[0026] S2. Obtain the metering and dispatching position, perform path planning based on the metering and dispatching position and the meter calibration positions, generate a meter calibration path, and send the meter calibration path to the verification end.
[0027] Among them, the metering and dispatching location represents the physical location of the management or operating organization related to the meter calibration, which can be specifically an electric power metering center, etc., which can deploy calibration personnel (inspectors and supervisors) to perform calibration operations on the electric energy meters; the meter calibration path represents the route used to guide the calibration personnel to reach different locations to calibrate the electric energy meters; the calibration end represents the terminal device used by the calibration personnel responsible for the meter calibration, which can be specifically a mobile phone, tablet computer, etc.
[0028] It should be noted that arranging multiple meter calibration tasks reasonably on one route can reduce the repeated trips of the calibration personnel, help the calibration personnel to go to each meter calibration location in turn according to the shortest or fastest route, reduce the driving distance and time, maximize work efficiency, and avoid unnecessary waste of time.
[0029] In some embodiments, step S2 (obtaining the metering dispatching position, performing path planning based on the metering dispatching position and each meter calibration position, generating a meter calibration path, and sending the meter calibration path to the verification end) specifically includes steps S21-S27: S21. Retrieve a preset path planning strategy to obtain the resident association order of each resident's school application location, and obtain a resident association path based on the resident association order, wherein the resident association path includes the resident endpoint location.
[0030] Among them, the preset path planning strategy represents the pre-set rules for path planning based on geographical location, distance, etc.; the resident association data represents the connection order between the residents' school application locations; the resident association path represents the path formed by connecting all the residents' school application locations in sequence through a certain logic; the resident endpoint position represents the resident school application locations at both ends of the resident association path.
[0031] Specifically, see Figure 2 , Figure 2 It is a schematic diagram of an electric meter calibration path provided by an embodiment of the present invention. A is the metering and dispatching location (the location of the electricity metering center), B, C, D, and E are the residential calibration locations, F, G, and H are the industrial calibration locations, and I, J, and K are the commercial calibration locations. The preset path planning strategy is retrieved to obtain the resident association order of each resident calibration location: B, C, D, and E. Based on the resident association order, the resident association paths BCDE are obtained, and the resident endpoint locations are B and E.
[0032] It should be noted that the resident endpoint location is a key connection node and the basis for connecting other paths; the preset path planning strategy can specifically be a shortest path strategy, dynamic path planning, priority strategy, etc., which can be set according to actual conditions, and the present invention does not impose specific restrictions on this.
[0033] S22. Obtain the metering and dispatching position, calculate the candidate distances between the metering and dispatching position and the endpoint positions of each resident, and determine the metering hub position and the first hub position of the opposite end based on the shortest candidate distance.
[0034] Among them, the metering and dispatching position represents the specific location of the power metering center and represents the starting point of path planning; the candidate distance represents all possible distances from the metering and dispatching position to each resident endpoint position; the shortest candidate distance represents the shortest distance among all possible distances from the metering and dispatching position to each resident endpoint position; the metering hub position is the resident endpoint position corresponding to the shortest candidate distance, that is, the first resident endpoint position that needs to be connected; the opposite end represents another resident endpoint position corresponding to the metering hub position, and the first hub position represents the resident endpoint position connected to other paths.
[0035] Specifically, see Figure 2 , the candidate distances between the metering and dispatching position A and each resident endpoint position B and E, the distance from the metering and dispatching position A to the resident endpoint position B is smaller than the distance from the metering and dispatching position A to the resident endpoint position E, so the shortest candidate distance is the distance from the metering and dispatching position A to the resident endpoint position B, B is the metering hub position, and E is the first hub position.
[0036] S23. Obtain a business association sequence of each business application location according to the preset path planning strategy, and obtain a business association path according to the business association sequence, wherein the business association path includes a business endpoint location.
[0037] Among them, the business association order represents the connection order between business application school positions; the business association path represents the path formed by connecting all business application school positions in sequence through a certain logic; the business endpoint position represents the business application school positions at both ends of the business association path.
[0038] Specifically, see Figure 2 According to the preset path planning strategy, the business association order of each business application location is obtained as: I, J, K. Based on the business association order, the business association path IJK is obtained, and the business endpoint positions are I and K.
[0039] S24. Obtain the industrial association sequence of each industrial application location according to the preset path planning strategy, and obtain the industrial association path according to the industrial association sequence, wherein the industrial association path includes the industrial endpoint location.
[0040] Among them, the industrial association order represents the connection order between industrial application and school positions; the industrial association path represents the path formed by connecting all industrial application and school positions in sequence through a certain logic; the industrial endpoint position represents the industrial application and school positions at both ends of the industrial association path.
[0041] Specifically, see Figure 2 According to the preset path planning strategy, the industrial association order of each industrial application location is obtained as: F, G, H. Based on the industrial association order, the industrial association path FGH is obtained, and the industrial endpoint positions are F and H.
[0042] S25. Obtain the preselected distances between the first hub location and each commercial endpoint location and each industrial endpoint location, and determine the second hub location and the third hub location of the opposite end based on the shortest preselected distance.
[0043] Among them, 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 the commercial endpoint position or 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; the third hub position represents another commercial endpoint position or industrial endpoint position corresponding to the second hub position.
[0044] Specifically, see Figure 2 , obtain the four pre-selected distances between the first hub position E and each commercial endpoint position I, K and each industrial endpoint position F, H. The shortest pre-selected distance is the distance from the first hub position E to the industrial endpoint position F. Therefore, F is the second hub position and H is the third hub position.
[0045] S26. Obtain optional distances 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.
[0046] Among them, the optional distance represents all possible distances from the third hub position to each commercial endpoint location or each industrial end location; the shortest optional distance represents the shortest distance among all possible distances from the third hub position to each commercial endpoint location or each industrial end location; the fourth hub position represents another commercial endpoint location or industrial endpoint location determined based on the shortest optional distance from the third hub position to the commercial endpoint location or industrial endpoint location.
[0047] Specifically, see Figure 2 , obtain the optional distances between the third hub position H and each commercial endpoint position I, K. The distance from the third hub position H to the commercial endpoint position I is smaller than the distance from the third hub position H to the commercial endpoint position K. Therefore, 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.
[0048] S27, connecting the metering dispatching 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 an electric meter calibration path, and sending the electric meter calibration path to the verification end.
[0049] Specifically, see Figure 2 , connect the metering dispatching position A with the metering hub position B, connect the first hub position E with the second hub position F, connect the third hub position H with the fourth hub position I, generate an electric meter calibration path, and send the electric meter calibration path to the verification end.
[0050] It should be noted that the main purpose of sending the meter calibration path to the verification end is to provide accurate route planning to avoid delays caused by repeated visits or unreasonable paths. The electric energy meters are calibrated in the order of the meter calibration path, that is, starting from the metering hub location, and then calibrating the electric energy meters corresponding to the residential calibration locations B, C, D, and E, and then calibrating the electric energy meters corresponding to the industrial calibration locations F, G, and H, and finally calibrating the electric energy meters corresponding to the commercial calibration locations I, J, and K.
[0051] S3. The receiving verification end determines the video verification strategy based on the verification video data collected by the meter calibration path and performs verification according to the video attributes of the verification video data to obtain a verification result. The video verification strategy includes an appearance verification strategy and a function verification strategy.
[0052] Among them, the verification video data represents the video information of the meter verification process shot or collected by the verification end, which includes the whole process of the inspector operating the meter verification; the video attributes represent the features in the video that can be used for verification; the video verification strategy represents a pre-set strategy for completing the verification of the electricity meter based on the video information of the verification process; the verification result represents the evaluation result of judging whether the appearance and function of the electricity meter meet the standards; the appearance verification strategy represents a pre-defined strategy for checking the appearance of the electricity meter; the function verification strategy represents a pre-defined strategy for checking the function of the electricity meter.
[0053] In some embodiments, the verification end includes a supervision end, and step S3 (receiving the verification video data collected by the verification end based on the meter calibration path, determining the video verification strategy according to the video attributes of the verification video data for verification, and obtaining the verification result) specifically includes steps S31-S36: S31, receiving the verification video data shot by the supervisory end of the inspector performing the meter verification operation based on the meter verification path, identifying the verification video data, and obtaining the function verification time.
[0054] Among them, the supervisory end refers to the terminal device used by the supervisor among the two verification personnel who is responsible for monitoring and recording the verification process, such as a mobile phone, tablet computer, etc.; the inspector refers to the staff who actually operates the meter verification equipment; the meter verification operation means that the inspector inspects and tests the appearance and function of the meter according to the meter verification path; the function verification time indicates the specific time point when the inspector starts to test the meter function.
[0055] It should be noted that the functional verification moment marks the time point of transition from appearance verification to functional verification in the verification process, which can distinguish different types of verification operations.
[0056] S32. Performing stage identification on the verification video data based on the functional verification moment, obtaining a video verification type and a corresponding video verification segment, wherein the video verification segment includes an appearance verification segment and a functional verification segment.
[0057] Among them, the stage identification indicates that the system analyzes the verification video data and identifies different verification stages; the video verification type indicates that the verification process is divided into different types according to the operation behavior in the verification video, such as appearance verification or function verification; the video verification segment indicates the time period in the verification video data corresponding to a certain type of verification operation; the appearance verification segment indicates the part of the video that records the appearance inspection of the electric meter; the function verification segment indicates the part of the video that records the function test of the electric meter.
[0058] Specifically, the complete verification video data is divided into two parts according to the function verification time. The front part for checking the appearance of the meter is called the appearance verification section, and the back part for testing the function of the meter is called the function verification section.
[0059] S33. Determine video attributes of the corresponding video verification segment according to the video verification type, where the video attributes include appearance attributes and functional attributes.
[0060] 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.
[0061] Specifically, the video attribute corresponding to the appearance check segment is the appearance attribute, and the video attribute corresponding to the function check segment is the function attribute.
[0062] S34. Determine, based on the appearance attribute, that the video verification strategy is an appearance verification strategy, verify the appearance verification segment according to the appearance verification strategy, and obtain an appearance verification result.
[0063] The appearance verification result indicates the result of the appearance inspection of the electric meter, and determines whether the appearance of the electric meter meets the requirements.
[0064] In some embodiments, step S34 (determining the video verification strategy as the appearance verification strategy based on the appearance attribute, verifying the appearance verification segment according to the appearance verification strategy, and obtaining the appearance verification result) specifically includes steps S341-S343: S341. Determine the video verification strategy as the appearance verification strategy based on the appearance attribute, and perform image capture on the appearance verification segment according to the appearance verification strategy to obtain an appearance key frame.
[0065] The appearance key frame refers to an image frame captured from a video and representing the appearance features of the electric meter.
[0066] Specifically, image frames at specific moments are selected from the video stream for capture, and appearance key frames are obtained for subsequent analysis and processing.
[0067] S342: Identify the appearance key frame, obtain appearance pixel values, and determine 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, determine the appearance key frame as an appearance verification frame.
[0068] Among them, the appearance pixel value represents the color value or brightness value of each pixel in the appearance key frame, reflecting the 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, which can be used to eliminate human interference during the verification process (such as occlusion of the inspector's head); the appearance verification frame represents an image frame that can be verified.
[0069] S343, calling a pixel verification strategy to identify the appearance verification frame, obtaining a verification pixel value, and determining an appearance verification result based on the verification pixel value.
[0070] Among them, the pixel verification strategy represents a set of preset rules for judging whether the appearance meets the established standards based on the pixel values in the appearance verification frame; the verification pixel value represents the pixel value used for verification in the appearance verification frame; the appearance verification result represents the evaluation result of whether the appearance of the electric meter meets the predetermined standards.
[0071] In some embodiments, the pixel verification strategy includes a surface verification strategy, calling the pixel verification strategy to identify the appearance verification frame, obtaining the verification pixel value, and determining the appearance verification result based on the verification pixel value, including: Figure 3 It is a schematic diagram of an electric energy meter provided by an embodiment of the present invention.
[0072] A1. Retrieve the surface verification strategy and input the appearance verification frame into the edge detection model. Based on the edge detection model, output the surface verification area, where the surface verification area includes the display area and the frame area.
[0073] The surface layer verification strategy represents a set of rules for analyzing whether the surface layer of the electric meter has cracks, scratches or other physical damage; the edge detection model represents an area for identifying the edge or contour of an object in an image; the surface layer verification area represents the verification area corresponding to the surface layer detection; Figure 3 The display area represents the portion of the surface verification area that includes the meter display screen, and the frame area represents the portion of the surface verification area where the meter frame is located.
[0074] It should be noted that the edge detection model can identify the border and display area of the electric meter, divide the surface detection area, and ensure that the detection is concentrated in the divided detection area. The model is well known to those skilled in the art and the present invention does not impose specific limitations on this.
[0075] A2. Extracting display verification pixel values based on the display area, comparing each display verification pixel value with a preset display threshold, and obtaining a display fault pixel value.
[0076] Among them, the display verification pixel value represents the pixel value extracted from the display area for verification; the preset display threshold represents the reference standard or range of each pixel value in the display area preset by the system; the display fault pixel value represents the pixel value that does not match the preset display threshold, indicating the area where the display screen has problems.
[0077] A3. Extracting border verification pixel values based on the border area, comparing each border verification pixel value with a preset border threshold, and obtaining a border fault pixel value.
[0078] Among them, the border verification pixel value represents the pixel value extracted from the border area for verification; the preset border threshold represents the reference standard preset by the system for verifying the pixel value of the border area; the border fault pixel value represents the pixel value that does not match the preset border threshold, indicating that there may be cracks or damage in the border area.
[0079] A4. Determine a crack detection area according to the display fault pixel value and / or the frame fault pixel value, and obtain the number of fault pixels in each crack detection area.
[0080] The crack detection area refers to an area where cracks may exist, which is determined based on display fault pixel values or frame fault pixel values.
[0081] A5. When the number of faulty pixels is greater than or equal to a preset fault threshold, the appearance verification result is determined to be surface damage.
[0082] Among them, the number of faulty pixels represents the number of faulty pixel values in the crack detection area; the preset fault threshold represents a critical value of the number of faulty pixels set by the system. When the number of faulty pixels reaches or exceeds the threshold, the appearance of the meter will be judged as damaged; the surface damage indicates that cracks, scratches or other damage appear in the display area or border area of the meter appearance.
[0083] In some embodiments, the pixel verification strategy includes a lead seal verification strategy, calling the pixel verification strategy to identify the appearance verification frame, obtaining a verification pixel value, and determining an appearance verification result based on the verification pixel value, including: B1. Retrieve the seal verification strategy to obtain a preset seal threshold, extract pixels from the appearance verification frame based on the preset seal threshold, and obtain a seal verification pixel value.
[0084] Among them, the seal verification strategy represents a set of rules for checking whether the meter seal is damaged; the preset seal threshold represents the standard threshold set by the system for seal verification, which is usually the reference value when applying pixel extraction; the seal verification pixel value represents the pixel value extracted from the seal verification frame for verification.
[0085] It should be noted that the preset seal threshold value can be used to determine which pixels belong to the seal area for further processing.
[0086] B2. Determine a seal verification contour according to each seal verification pixel value, establish a coordinate system based on the seal verification contour, and obtain seal contour coordinate points.
[0087] The seal verification contour represents the contour line of the seal boundary generated in the pixel extraction process; and establishing a coordinate system represents a two-dimensional coordinate system for positioning and analysis established based on the seal contour in the seal verification process.
[0088] It should be noted that the seal verification contour represents the external shape of the seal and can be used to analyze whether the seal is complete; the coordinate system can help the system accurately locate each point on the seal contour so as to further calculate the connectivity of adjacent contour points.
[0089] B3. Obtain the number of adjacent contour points of the seal contour coordinate point in each preset direction. When the number of adjacent contour points is lower than a preset connectivity threshold, determine the corresponding seal contour coordinate point as a low connectivity point.
[0090] Among them, the seal contour coordinate points represent the coordinate points located on the seal verification contour, representing the outer boundary of the seal, and the connectivity between adjacent points can be analyzed to determine whether the seal is complete; each preset direction represents the detection direction preset by the system when performing connectivity check between the seal 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 seal contour in each preset direction. If the number of adjacent contour points is less than normal, it means that the seal may be broken or damaged; the preset connectivity threshold represents the minimum number of adjacent contour points set by the system for determining whether the seal contour is connected; the low connectivity point represents the seal contour coordinate point whose number of adjacent contour points is lower than the preset connectivity threshold.
[0091] 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 seal is poor.
[0092] B4. Generate a low-connectivity region based on each low-connectivity point, and obtain a connectivity length of the low-connectivity region.
[0093] The low connectivity area refers to an area generated based on low connectivity points and indicating that the seal is damaged.
[0094] B5. Compare the low connection length with a preset safety length, and when the low connection length is greater than or equal to the preset safety length, determine that the appearance inspection result is that the seal is damaged.
[0095] Among them, the connection length refers to the distance or length between each low connectivity point in the low connectivity area; the preset safety length represents the minimum connection length standard acceptable to the seal set by the system; and the seal damage represents that the appearance or structure of the seal is damaged, broken or otherwise damaged.
[0096] It should be noted that the connection length indicates whether the integrity of the seal is safe enough. If the connection length of the low-connectivity area exceeds this safe length, it means that the seal is no longer safe and is obviously damaged. The connection length can be used as an indicator to measure the degree of damage. If the connection length is too long, it means that the damage to the seal is relatively serious.
[0097] In some embodiments, the pixel verification strategy includes a wiring verification strategy, calling the pixel verification strategy to identify the appearance verification frame, obtaining the verification pixel value, and determining the appearance verification result based on the verification pixel value, including: C1. Retrieve the wiring verification strategy to obtain a preset interception frame, locate the appearance verification frame according to the preset interception frame, and obtain a wiring verification area.
[0098] The wiring verification strategy represents a set of rules for detecting the wiring status of the electric meter; the preset interception frame represents an image frame preset by the system, which can locate the area where the wiring part is located and help the system extract the image of the wiring part from the appearance verification frame; Figure 3 The wiring inspection area represents the area including the wiring part of the electric meter obtained by the system from the appearance verification frame.
[0099] C2. Obtaining wiring pixel values of the wiring verification area, wherein the wiring pixel values include a zero line pixel value, a live line pixel value, and a ground line pixel value, and determining a color error value based on each wiring pixel value and a corresponding standard pixel value; Among them, the wiring pixel value is the pixel value in the wiring verification area, which contains color information for representing the neutral line, the live line and the ground line; the neutral line pixel value represents the pixel value for representing the neutral line in the wiring verification area; the live line pixel value represents the pixel value for representing the live line in the wiring verification area; the ground line pixel value represents the pixel value for representing the ground line in the wiring verification area; the standard pixel value is a reference pixel value of the correct cable color preset by the system that can be compared and verified; the color error value represents the difference between the wiring pixel value and the standard pixel value.
[0100] It should be noted that cables of different colors will have different pixel values in the image. 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 wrong or there are problems such as aging or falling off.
[0101] C3. Determine the corresponding verification connection point according to the zero line pixel value, the live line verification pixel value and the ground line verification pixel value, and obtain the point difference between each verification connection point and the corresponding fixed connection point.
[0102] Among them, the verification connection point represents the actual connection point of each cable and the equipment determined by the system by analyzing the wiring image; the fixed connection point represents the ideal connection position, which is used to compare with the verification connection point to determine whether the wiring is offset or detached; the point difference represents the distance difference between the verification connection point and the fixed connection point. If the point difference is large, it means that the position of the wiring has been offset, which may indicate that the wiring is loose or detached.
[0103] C4. When the point difference value is not within the preset point deviation interval and / or the color error value is greater than the preset color deviation interval, it is determined that the appearance inspection result is a wiring disconnection.
[0104] The preset point offset interval indicates the maximum offset range between the verification connection point and the fixed connection point allowed by the system; and the preset color offset interval indicates the range of color error values allowed by the system.
[0105] It should be noted that if the point difference value exceeds the preset point offset range, it indicates that the wiring may have undergone a large displacement; if the color error value exceeds the preset color offset range, it may mean that the color of the cable is abnormal, indicating that the cable may be damaged or incorrectly connected; wiring detachment means that the connection status of multiple wires is detected to be abnormal, with obvious offset, looseness or disconnection.
[0106] S35. Determine the video verification strategy as a function verification strategy based on the function attribute, verify the function verification segment according to the function verification strategy, and obtain a function verification result.
[0107] In some embodiments, the function verification strategy includes a numerical verification strategy, and the function verification segment is verified according to the function verification strategy to obtain a function verification result, which specifically includes steps D1-D4: D1. Identify the function verification segment according to the indication verification strategy and obtain the indication verification segment.
[0108] Among them, the indication verification strategy is a verification rule used to detect whether the meter reading is accurate; the function verification segment represents the part of the video that contains the function verification process of the electric energy meter; the indication verification segment represents the part of the video in the function verification segment that is specifically used to verify the meter reading.
[0109] D2. Determine the power of the detection equipment based on the standard detection equipment, and obtain a preset indication reference according to the power of the detection equipment and the indication verification time.
[0110] The standard detection device refers to a power detection device used to calibrate an electric energy meter, which can provide an accurate power reference; the detection device power refers to the current power value measured by the standard detection device; The indication verification time refers to the time period during the operation of the detection equipment, which is used to determine the reading reference that the electric meter should have; the preset indication reference represents the reading that the electric meter should have calculated based on the power of the detection equipment and the indication verification time.
[0111] D3. Capture the video of the indication verification segment to obtain an indication key frame, and obtain the electrical indication based on the indication key frame.
[0112] The indication key frame represents an image frame in which the electric energy meter reading is clearly displayed in the indication verification section; and the electric energy meter reading represents the actual reading of the electric energy meter read through the indication key frame.
[0113] D4. Compare the preset indication reference with the electrical indication to obtain an indication difference, and when the indication difference is not within a preset indication deviation range, determine that the function verification result is an inaccurate indication.
[0114] The indication difference is the difference between the preset indication reference and the actual electrical indication; the preset indication deviation range represents the allowable indication difference range, which can ensure that the error of the electrical indication is within a reasonable range.
[0115] It should be noted that inaccurate indication means that the difference between the actual reading of the meter and the preset indication reference exceeds the preset deviation range, indicating that the energy meter cannot accurately reflect the power consumption.
[0116] In some embodiments, the function verification strategy includes a lighting verification strategy, and verifying the function verification segment according to the function verification strategy to obtain a function verification result includes: E1. Identify the function verification segment according to the light verification strategy, obtain the light verification segment, and obtain the power pixel value of the power indicator light based on the light verification segment.
[0117] The light verification strategy represents a rule for detecting whether the indicator light on the electric meter is functioning normally; the light verification segment represents a portion of the video specifically used to verify the indicator light.
[0118] E2. Compare the power pixel value with a preset power pixel value, and when the power pixel value is different from the preset power pixel value, determine that the function check result is that the power indicator light is abnormal.
[0119] Among them, the power indicator light is always on. If the power indicator light is abnormal, it means that the brightness, color and other status of the power indicator light are not consistent with expectations.
[0120] E3. Based on the light verification section, the pulse flashing frequency corresponding to the pulse indicator light under different detection equipment powers is obtained, and the pulse flashing frequency includes a first pulse flashing frequency and a second pulse flashing frequency.
[0121] Among them, the pulse flashing frequency is the flashing speed of the pulse indicator light of the electric meter under different powers; the first pulse flashing frequency is the flashing speed of the pulse indicator light under a certain specific power; the second pulse flashing frequency is the flashing speed of the pulse indicator light under another specific power.
[0122] E4. Determine a flashing frequency difference according to the first pulse flashing frequency and the second pulse flashing frequency, compare the flashing frequency difference with a preset flashing difference, and when the flashing frequency difference is greater than the preset flashing difference, determine that the function check result is that the pulse indicator light is abnormal.
[0123] Among them, the flashing frequency difference is the difference between the first pulse flashing frequency and the second pulse flashing frequency; the preset flashing difference is the normal difference range of the flashing frequencies of the pulse indicator lights at two powers specified by the system, and the abnormality of the pulse indicator light means that the flashing frequency difference of the pulse indicator light exceeds the preset range, indicating that the pulse indicator light may have a fault.
[0124] S36: Combine the appearance verification result and the function verification result to obtain a verification result.
[0125] It should be noted that the verification result is a combination of the appearance verification result and the function verification result, indicating whether the meter has passed the standard test of appearance and function.
[0126] S4. Generate an application and school backtracking tree according to the verification result, construct an application and school display interface based on the application and school backtracking tree, and send the application and school display interface to the user end.
[0127] Please refer to 4, Figure 4 It is a schematic diagram of an application and school backtracking tree provided by an embodiment of the present invention.
[0128] Among them, the calibration backtracking tree represents the historical data in the verification process, and the backtracking tree structure is constructed according to time or steps; the calibration display interface represents the interface for users to visually view the meter calibration results and the calibration backtracking tree; the user end represents the terminal device for users to view the calibration display interface, such as mobile phones, computers, etc.
[0129] In some embodiments, step S4 (generating an application backtracking tree according to the verification result, constructing an application display interface based on the application backtracking tree, and sending the application display interface to the user end) specifically includes steps S41-S44: S41, identifying the verification result, and obtaining each verification identification type and corresponding verification identification data.
[0130] The verification identification type indicates that the verification results are classified according to different verification dimensions, such as lead sealing, wiring, etc.; the verification identification data indicates the specific verification situation; S42: construct a backtracking root node and a first-level backtracking node based on each verification identification type, and generate second-level backtracking nodes according to the verification identification data.
[0131] Among them, the backtracking root node is the starting node of the application and verification backtracking tree; the first-level backtracking node represents the node directly connected to the backtracking root node, which represents the high-level classification of each verification and identification type; the second-level backtracking node is a child node generated according to the verification and identification data, mounted on the first-level backtracking node, and represents a more detailed verification result; S43, associate each second-level backtracking node with the corresponding first-level backtracking node, mount each first-level backtracking node to the backtracking root node, and generate an application and school backtracking tree.
[0132] S44, constructing a school application display interface according to the school application backtracking tree, wherein the school application display interface includes a backtracking tree display area and a node display area, and sending the school application display interface to the user end.
[0133] Specifically, on the application and calibration display interface on the user side, if the user clicks on a node in the application and calibration backtracking tree, the verification data such as the verification video corresponding to the node will be displayed in the node display area. For example, if the user clicks on the "wiring" node on the application and calibration backtracking tree, the verification video data and verification results of the wiring will be displayed in the node display area.
[0134] In some other embodiments, an application display interface is constructed based on the application backtracking tree, and the application display interface includes a backtracking tree display area and a node display area. The application display interface is sent to the verification end so that the verification personnel can view the verification process.
[0135] It should be noted that the specific positions of the tree tracing display area and the node display area in the school application display interface can be set according to actual conditions, and the present invention does not impose specific restrictions on this. For example, the school application display interface is divided into two upper and lower areas, the node display area is directly above the school application display interface, and the tree tracing display area is directly below the school application display interface.
[0136] In this embodiment, a method for calibrating an electric meter based on position and video verification is proposed, and the method includes: responding to a request for calibration of an electric meter, counting the calibration locations of each user's electric meter within a preset time period, the electric meter calibration locations including residential calibration locations, commercial calibration locations and industrial calibration locations; obtaining a metering and scheduling location, performing path planning based on the metering and scheduling location and each electric meter calibration location, generating an electric meter calibration path, and sending the electric meter calibration path to a verification end; receiving verification video data collected by the verification end based on the electric meter calibration path, determining a video verification strategy according to the video attributes of the verification video data for verification, and obtaining a verification result, the video verification strategy including 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, and sending the calibration display interface to a user end. The present invention generates an electric meter calibration path based on the calibration location of each electric meter, which greatly shortens the time and energy consumption of calibration personnel, calls a video calibration strategy to calibrate calibration video data, improves calibration efficiency and the accuracy of calibration results, and generates a calibration backtracking tree according to the calibration results, so that various calibration data generated during the calibration process can be recorded and traced, and users and staff can view the entire calibration process after the calibration is completed.
[0137] An electric energy meter calibration system provided by an embodiment of the present invention includes: The location statistics module is used to respond to meter calibration requests and count the meter calibration locations of each user within a preset time period, wherein the meter calibration locations include residential calibration locations, commercial calibration locations and industrial calibration locations.
[0138] The path planning module is used to obtain the metering and scheduling position, perform path planning based on the metering and scheduling position and the meter calibration positions, generate the meter calibration path, and send the meter calibration path to the verification end.
[0139] The data verification module is used to receive the verification video data collected by the verification end based on the meter calibration path, determine the video verification strategy according to the video attributes of the verification video data, and obtain the verification result. The video verification strategy includes an appearance verification strategy and a function verification strategy.
[0140] The interface generation module is used to generate an application and school backtracking tree according to the verification result, construct an application and school display interface based on the application and school backtracking tree, and send the application and school display interface to the user end.
[0141] It should be noted that the above-mentioned electricity meter calibration system can execute the electricity meter calibration method based on position and video verification provided in the embodiment of the present invention. For technical details and beneficial effects that are not fully described in the embodiment of the electricity meter calibration system, please refer to the electricity meter calibration method based on position and video verification provided in the embodiment of the present invention.
[0142] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for calibrating an electric meter based on position and video verification, characterized in that: The method comprises: In response to the meter calibration request, count the meter calibration locations of each user within a preset time period, wherein the meter calibration locations include residential calibration locations, commercial calibration locations, and industrial calibration locations; Acquire the metering and dispatching position, perform path planning based on the metering and dispatching position and the meter calibration positions, generate a meter calibration path, and send the meter calibration path to the verification end; The receiving verification end determines the video verification strategy based on the verification video data collected by the meter calibration path, and performs verification according to the video attributes of the verification video data to obtain the verification result, wherein the video verification strategy includes an appearance verification strategy and a function verification strategy; An application and school back-tracing tree is generated according to the verification result, an application and school display interface is constructed based on the application and school back-tracing tree, and the application and school display interface is sent to the user end.
2. The method for calibrating an electric meter based on position and video verification according to claim 1, characterized in that: The verification end includes a supervisory end, receiving the verification video data collected by the verification end based on the meter calibration path, determining a video verification strategy according to the video attributes of the verification video data for verification, and obtaining a verification result, including: Receiving verification video data of the inspector performing the meter verification operation based on the meter verification path shot by the supervisory end, identifying the verification video data, and obtaining the function verification time; Performing stage identification on the verification video data based on the functional verification moment, obtaining a video verification type and a corresponding video verification segment, wherein the video verification segment includes an appearance verification segment and a functional verification segment; Determine the video attributes of the corresponding video verification segment according to the video verification type, wherein the video attributes include appearance attributes and functional attributes; Determining the video verification strategy as an appearance verification strategy based on the appearance attribute, verifying the appearance verification segment according to the appearance verification strategy, and obtaining an appearance verification result; Determine the video verification strategy as a function verification strategy based on the function attribute, verify the function verification segment according to the function verification strategy, and obtain a function verification result; The appearance verification result and the function verification result are combined to obtain a verification result.
3. The electric meter calibration method based on position and video verification according to claim 2 is characterized in that: Determining the video verification strategy as an appearance verification strategy based on the appearance attribute, verifying the appearance verification segment according to the appearance verification strategy, and obtaining an appearance verification result, including: Determining the video verification strategy as an appearance verification strategy based on the appearance attribute, performing image interception on the appearance verification segment according to the appearance verification strategy to obtain an appearance key frame; Identify the appearance key frame, obtain appearance pixel values, determine whether each appearance pixel value is within a preset skin color threshold range, and when each appearance pixel value is not within the preset skin color threshold range, determine the appearance key frame as an appearance verification frame; The pixel verification strategy is retrieved to identify the appearance verification frame, a verification pixel value is obtained, and an appearance verification result is determined based on the verification pixel value.
4. The electric meter calibration method based on position and video verification according to claim 3 is characterized in that: The pixel verification strategy includes a surface verification strategy, calling the pixel verification strategy to identify the appearance verification frame, obtaining the verification pixel value, and determining the appearance verification result based on the verification pixel value, including: Retrieving the surface verification strategy to input the appearance verification frame into the edge detection model, and outputting the surface verification area based on the edge detection model, wherein the surface verification area includes the display area and the frame area; Extracting display verification pixel values based on the display area, comparing each display verification pixel value with a preset display threshold, and obtaining a display fault pixel value; Extracting border check pixel values based on the border area, comparing each border check pixel value with a preset border threshold, and obtaining a border fault pixel value; Determine the crack detection area according to the display fault pixel value and / or the frame fault pixel value, and obtain the number of fault pixels in each crack detection area; When the number of faulty pixels is greater than or equal to a preset fault threshold, it is determined that the appearance verification result is surface damage.
5. The electric meter calibration method based on position and video verification according to claim 3 is characterized in that: The pixel verification strategy includes a lead seal verification strategy, calling the pixel verification strategy to identify the appearance verification frame, obtaining a verification pixel value, and determining an appearance verification result based on the verification pixel value, including: Retrieving the seal verification strategy to obtain a preset seal threshold, performing pixel extraction on the appearance verification frame based on the preset seal threshold, and obtaining a seal verification pixel value; Determine the seal verification contour according to each seal verification pixel value, establish a coordinate system based on the seal verification contour, and obtain the seal contour coordinate points; Acquire the number of adjacent contour points of the seal contour coordinate point in each preset direction, and when the number of adjacent contour points is lower than a preset connectivity threshold, determine the corresponding seal contour coordinate point as a low connectivity point; Generate a low connectivity area based on each low connectivity point, and obtain the connectivity length of the low connectivity area; The low connection length is compared with a preset safety length, and when the low connection length is greater than or equal to the preset safety length, it is determined that the appearance inspection result is that the lead seal is damaged.
6. The method for calibrating an electric meter based on position and video verification according to claim 3, characterized in that: The pixel verification strategy includes a wiring verification strategy, calling the pixel verification strategy to identify the appearance verification frame, obtaining a verification pixel value, and determining an appearance verification result based on the verification pixel value, including: Retrieving the wiring verification strategy to obtain a preset interception frame, positioning the appearance verification frame according to the preset interception frame, and obtaining a wiring verification area; Obtaining wiring pixel values of the wiring verification area, wherein the wiring pixel values include a neutral line pixel value, a live line pixel value, and a ground line pixel value, and determining a color error value based on each wiring pixel value and a corresponding standard pixel value; Determine the corresponding verification connection point according to the zero line pixel value, the live line verification pixel value and the ground line verification pixel value, and obtain the point difference between each verification connection point and the corresponding fixed connection point; When the point difference value is not within the preset point deviation interval and / or the color error value is greater than the preset color deviation interval, it is determined that the appearance inspection result is that the wiring is disconnected.
7. The method for calibrating an electric meter based on position and video verification according to claim 2, characterized in that: The function verification strategy includes a display verification strategy, and the function verification segment is verified according to the function verification strategy to obtain a function verification result, including: Identify the function verification segment according to the indication verification strategy to obtain the indication verification segment; Determine the power of the detection equipment based on the standard detection equipment, and obtain a preset indication reference according to the power of the detection equipment and the indication verification time; Performing video interception on the indication verification segment to obtain an indication key frame, and obtaining an electrical indication value based on the indication key frame; The preset indication reference is compared with the electrical indication to obtain an indication difference, and when the indication difference is not within a preset indication deviation range, it is determined that the function verification result is an inaccurate indication.
8. The method for calibrating an electric meter based on position and video verification according to claim 2, characterized in that: The function verification strategy includes a lighting verification strategy, and the function verification segment is verified according to the function verification strategy to obtain a function verification result, including: Identify the function verification segment according to the light verification strategy, obtain the light verification segment, and obtain the power pixel value of the power indicator light based on the light verification segment; Comparing the power pixel value with a preset power pixel value, and when the power pixel value is different from the preset power pixel value, determining that the function check result is that the power indicator light is abnormal; Based on the light verification section, the pulse flashing frequency corresponding to the pulse indicator light under different detection device powers is obtained, wherein the pulse flashing frequency includes a first pulse flashing frequency and a second pulse flashing frequency; A flashing frequency difference is determined according to the first pulse flashing frequency and the second pulse flashing frequency, and the flashing frequency difference is compared with a preset flashing difference. When the flashing frequency difference is greater than the preset flashing difference, it is determined that the function check result is that the pulse indicator light is abnormal.
9. The method for calibrating an electric meter based on position and video verification according to claim 1, characterized in that: Generating an application backtracking tree according to the verification result, constructing an application display interface based on the application backtracking tree, and sending the application display interface to the user end, including: Identify the verification results and obtain each verification identification type and corresponding verification identification data; Construct a backtracking root node and a first-level backtracking node based on each verification identification type, and generate a second-level backtracking node based on the verification identification data; Associate each secondary traceback node with the corresponding primary traceback node, mount each primary traceback node to the traceback root node, and generate the application and school traceback tree; A school application display interface is constructed according to the school application backtracking tree, the school application display interface includes a backtracking tree display area and a node display area, and the school application display interface is sent to the user end.
10. An electric energy meter calibration system based on position and video verification, characterized in that: include: A location statistics module is used to respond to meter calibration requests and count the meter calibration locations of each user within a preset time period, wherein the meter calibration locations include residential calibration locations, commercial calibration locations, and industrial calibration locations; A path planning module is used to obtain a metering and scheduling position, perform path planning based on the metering and scheduling position and each meter calibration position, generate a meter calibration path, and send the meter calibration path to a verification terminal; A data verification module, used for receiving the verification video data collected by the verification end based on the meter calibration path, determining a video verification strategy according to the video attributes of the verification video data for verification, and obtaining a verification result, wherein the video verification strategy includes an appearance verification strategy and a function verification strategy; The interface generation module is used to generate an application and school backtracking tree according to the verification result, construct an application and school display interface based on the application and school backtracking tree, and send the application and school display interface to the user end.
Citation Information
Patent Citations
Electric energy meter application and correction management system
CN110598901A
Electric energy meter calibration method and device, electronic equipment and storage medium
CN114047471A
Electric energy meter verification method, system and device
CN114062997A
Electric energy meter verification method, device, equipment, storage medium and program product
CN114817776A
Management system and method for on-site electricity meter calibrator
CN116757672A
Cited By
Periodic meter changing method and system
CN120278481A
Signal lamp fault diagnosis method and system
CN120636189A
