Electricity meter identification system
By performing standard shape contour detection and intra-frame coding block size optimization based on contrast for the character display area of the prepaid card meter, the problem of lack of targeted image processing in the existing technology is solved, and high-quality meter recognition is achieved.
Patent Information
- Application Number
- CN202511526614.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2025-02-20
- Filing Date
- 2025-10-24
- Publication Date
- 2026-01-16
AI Technical Summary
In existing technologies, there is a lack of targeted processing for on-site imaging images of prepaid card meters, resulting in image processing quality that fails to meet expectations.
Image segmentation is optimized by detecting the standard outline of the character display area of the prepaid card meter, and the size of the intra-frame coded block is determined based on the contrast. Dynamic intra-frame coding is used to reduce the amount of coding computation and improve the imaging quality.
It achieves high-quality imaging processing of the character display area of the card-insertion prepaid electricity meter, improving the targeting and reliability of image processing.
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of card-type prepayment electric meter, in particular to an electric meter identification system. BACKGROUND
[0002] The prepayment electric meter is also called quantitative electric meter and IC card electric meter. In addition to the metering function of the ordinary electric meter, the prepayment electric meter is particularly characterized in that the user first buys electricity and can use the electricity after buying the electricity. If the user does not continue to buy electricity after using the electricity, the power supply is automatically cut off to stop the power supply. There are two common prepayment methods for the prepayment electric meter. One is code type and the other is card writing type. The principle of the code type is that the management system combines the user information and the electricity purchase information to generate a set of encrypted codes, which are given to the user to input into the electric meter. After the electric meter is correctly decrypted, the prepayment electric quantity or the amount is obtained and saved. The principle of the card writing type is that the prepayment electric quantity or the amount is written into a special electronic card (memory), which is given to the user to hold the electronic card to communicate with the corresponding electric meter. The prepayment value is automatically sent into the electric meter. The prepayment electric meter using this method is a card-type prepayment electric meter.
[0003] In the prior art, the image processing of the on-site imaging picture of the card-type prepayment electric meter does not consider the imaging characteristics of the key component of the card-type prepayment electric meter, i.e. the character display area of the card-type prepayment electric meter, resulting in that the image processing of the on-site imaging picture of the card-type prepayment electric meter is not targeted and the processing quality cannot meet the expectation. SUMMARY
[0004] In order to solve the technical problems in the prior art, the present application provides an electric meter identification system. The character display area of the card-type prepayment electric meter is detected based on the corresponding standard shape contour to optimize the image block occupied by the character display area of the card-type prepayment electric meter in the image, so as to output the reference image block. In particular, the size of the intra-frame coding block used when performing intra-frame coding on the current recording frame is determined based on the contrast of the reference image block. The dynamic intra-frame coding processing of the imaging image block of the important component is realized, so that the adaptive selection of the intra-frame coding block with a larger size for the image as a whole where the high-quality important part is located is performed, the coding quality is ensured, and the operation amount of coding is reduced.
[0005] According to the present application, an electric meter identification system is provided, which comprises: A mode judging device is connected with the card-type prepayment electric meter, used to issue a first mode judging command when judging that the card-type prepayment electric meter is currently in the working mode with the prepayment amount greater than zero, and used to issue a second mode judging command when judging that the card-type prepayment electric meter is currently in the working mode with the prepayment amount equal to zero; The micro-recording device is arranged above the card-type prepayment electric meter and is connected with the mode judging device through Bluetooth wireless connection, and is used for executing a recording action on the running scene of the card-type prepayment electric meter to obtain a current recording frame corresponding to the current time when receiving a first mode judging command. The content optimization device is connected with the micro-recording device and comprises a first optimization unit, a second optimization unit and a third optimization unit, and is used for sequentially executing band-stop filtering processing, morphological processing and gray scale transformation enhancement processing on the received current recording frame to obtain and output a corresponding content optimization image. The shape detection mechanism is connected with the content optimization device, and is used for detecting an image block occupied by the character display area of the card-type prepayment electric meter in the received content optimization image based on a standard contour of the character display area of the card-type prepayment electric meter, and outputting the image block as a reference image block. The parameter identification mechanism is connected with the shape detection mechanism, and is used for obtaining the contrast of the received reference image block, and determining the size of an intra-frame coding block used when performing intra-frame coding on the current recording frame based on the contrast of the reference image block. The parameter identification mechanism is connected with the shape detection mechanism, and is used for obtaining the contrast of the received reference image block, and determining the size of an intra-frame coding block used when performing intra-frame coding on the current recording frame based on the contrast of the reference image block, and the higher the contrast of the reference image block is, the larger the size of the intra-frame coding block used when performing intra-frame coding on the current recording frame is. The content optimization device is connected with the micro-recording device and comprises a first optimization unit, a second optimization unit and a third optimization unit, and is used for sequentially executing band-stop filtering processing, morphological processing and gray scale transformation enhancement processing on the received current recording frame to obtain and output a corresponding content optimization image, and the first optimization unit, the second optimization unit and the third optimization unit are sequentially connected.
[0006] Therefore, the present application has at least the following three important inventive concepts: Inventive Concept One: the mode judging device connected with the card-type prepayment electric meter is used for issuing a first mode judging command to trigger a recording action on the running scene of the card-type prepayment electric meter to obtain a current recording frame corresponding to the current time when judging that the card-type prepayment electric meter is currently in a working mode with a prepayment amount greater than zero; Invention Concept Two: The content optimization device for targeted structure design includes a first optimization unit, a second optimization unit, and a third optimization unit, which are used to sequentially perform band-stop filtering processing, morphological processing, and gray scale transformation enhancement processing on the received current video frame to obtain and output a content optimized image with higher imaging quality, thereby ensuring the detection accuracy of the image block occupied by the character display area of the subsequent meter. Invention Concept Three: The standard shape contour corresponding to the character display area of the card-inserting prepayment meter is detected in the image block occupied by the character display area of the card-inserting prepayment meter in the content optimized image, which is output as a reference image block. In particular, the size of the intra-frame coding block used when performing intra-frame coding on the current video frame is determined based on the contrast of the reference image block, which realizes dynamic intra-frame coding processing using the visual parameters of the imaging image block of the important component, thereby performing adaptive selection of a larger size intra-frame coding block for the image as a whole where the high-quality important part is located, which reduces the computational complexity of coding while ensuring coding quality. DETAILED DESCRIPTION
[0007] The embodiments of the meter recognition system of the present application will be described in detail below.
[0008] First Embodiment
[0009] The meter recognition system according to the first embodiment of the present application includes: The mode judgment device is connected to the card-inserting prepayment meter and is used to issue a first mode judgment command when it is determined that the card-inserting prepayment meter is currently in a working mode with a prepayment amount greater than zero, and is also used to issue a second mode judgment command when it is determined that the card-inserting prepayment meter is currently in a working mode with a prepayment amount equal to zero; For example, the mode judgment device is connected to the card-inserting prepayment meter and is used to issue a first mode judgment command when it is determined that the card-inserting prepayment meter is currently in a working mode with a prepayment amount greater than zero, and is also used to issue a second mode judgment command when it is determined that the card-inserting prepayment meter is currently in a working mode with a prepayment amount equal to zero, which includes using an FPGA device to implement the mode judgment device, which is connected to the card-inserting prepayment meter and is used to issue a first mode judgment command when it is determined that the card-inserting prepayment meter is currently in a working mode with a prepayment amount greater than zero, and is also used to issue a second mode judgment command when it is determined that the card-inserting prepayment meter is currently in a working mode with a prepayment amount equal to zero; The miniature video recording device is arranged directly above the card-inserting prepayment meter and is connected to the mode judgment device via Bluetooth wireless connection, and is used to perform a video recording action on the running scene of the card-inserting prepayment meter when the first mode judgment command is received to obtain a current video frame corresponding to the current time; The content optimization device is connected with the micro-recording device and includes a first optimization unit, a second optimization unit and a third optimization unit, and is used for sequentially performing band-stop filtering processing, morphological processing and gray scale transformation enhancement processing on the received current recording frame to obtain and output a corresponding content optimization image. The shape detection mechanism is connected with the content optimization device, and is used for detecting an image block occupied by a character display area of the card-type prepayment meter in the received content optimization image based on a standard contour corresponding to the character display area of the card-type prepayment meter, and outputting the image block as a reference image block. The parameter identification mechanism is connected with the shape detection mechanism, and is used for obtaining a contrast of the received reference image block, and determining a size of an intra-frame coding block used when performing intra-frame coding on the current recording frame based on the contrast of the reference image block. The parameter identification mechanism is connected with the shape detection mechanism, and is used for obtaining a contrast of the received reference image block, and determining a size of an intra-frame coding block used when performing intra-frame coding on the current recording frame based on the contrast of the reference image block, and the higher the contrast of the reference image block is, the larger the size of the intra-frame coding block used when performing intra-frame coding on the current recording frame is. The content optimization device is connected with the micro-recording device and includes a first optimization unit, a second optimization unit and a third optimization unit, and is used for sequentially performing band-stop filtering processing, morphological processing and gray scale transformation enhancement processing on the received current recording frame to obtain and output a corresponding content optimization image, and the first optimization unit, the second optimization unit and the third optimization unit are sequentially connected. The content optimization device is connected with the micro-recording device and includes a first optimization unit, a second optimization unit and a third optimization unit, and is used for sequentially performing band-stop filtering processing, morphological processing and gray scale transformation enhancement processing on the received current recording frame to obtain and output a corresponding content optimization image, and the first optimization unit, the second optimization unit and the third optimization unit respectively perform band-stop filtering processing, morphological processing and gray scale transformation enhancement processing on the received image signal. The micro-recording device is further used for suspending the recording action performed on the running scene of the card-type prepayment meter when receiving a second mode judgment command.
[0010] Second embodiment
[0011] The meter identification system according to the second embodiment of the present application can further include the following components: FLASH storage mechanism, connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, for providing data storage service for the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively in time; The FLASH storage mechanism, connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, for providing data storage service for the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively in time includes that the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit are connected with the FLASH storage mechanism respectively by using different data channels. The FLASH storage mechanism, connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, for providing data storage service for the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively in time includes that the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit share the same quartz oscillator device.
[0012] Third embodiment
[0013] The electric meter identification system according to the third embodiment of the present application can further include the following components: Real-time display device, connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, for simultaneously displaying the state information of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit.
[0014] Then, the specific structure of the electric meter identification system according to the present application will be further described.
[0015] In the electric meter identification system according to any embodiment of the present application: The real-time display device, connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, for simultaneously displaying the state information of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit includes that the simultaneously displayed state information of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit includes the sleep state or the working state of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit.
[0016] In the electric meter identification system according to any one of the embodiments of the present application: The real-time display device connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively is used for simultaneously displaying the state information of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit, and the real-time display device is a liquid crystal display screen or a real-time display device.
[0017] In the electric meter identification system according to any one of the embodiments of the present application: The real-time display device connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively is used for simultaneously displaying the state information of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit, and the real-time display device is a liquid crystal display screen or a real-time display device.
[0018] And in the electric meter identification system according to any one of the embodiments of the present application: The real-time display device connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively is used for simultaneously displaying the state information of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit, and the real-time display device is a liquid crystal display screen or a real-time display device.
[0019] In addition, in the electric meter identification system, the parameter identification mechanism connected with the shape detection mechanism is used for obtaining the contrast of the received reference image block and determining the size of the intra-frame coding block used for performing intra-frame coding on the current recording frame based on the contrast of the reference image block, and the parameter identification mechanism further comprises: a parameter mapping function is used to represent the positive correlation between the size of the intra-frame coding block used for performing intra-frame coding on the current recording frame and the contrast of the reference image block.
[0020] The electric meter identification system of the present application can detect the standard shape contour of the character display area of the card-inserting prepayment electric meter, optimize the image block occupied by the character display area of the card-inserting prepayment electric meter in the content, take the image block as a reference image block, and determine the size of the intra-frame coding block used for performing intra-frame coding on the current recording frame based on the contrast of the reference image block, thereby improving the pertinence and reliability of image processing and solving the above technical problems.
[0021] The present application is not limited to the above-mentioned embodiments, and some obvious changes can be made by those skilled in the art according to the description of the above-mentioned embodiments, but these changes shall fall within the protection scope of the claims of the present application.
Claims
1. An electricity meter identification system characterized by, The system comprises: A mode judging device connected with the card-type prepayment electric meter, configured to send a first mode judging command when judging that the card-type prepayment electric meter is currently in a working mode with a prepayment amount greater than zero, and send a second mode judging command when judging that the card-type prepayment electric meter is currently in a working mode with a prepayment amount equal to zero; A micro video recording device arranged right above the card-type prepayment electric meter and connected with the mode judging device through Bluetooth, configured to perform a video recording action on a running scene of the card-type prepayment electric meter to obtain a current video frame corresponding to a current time when receiving the first mode judging command; A content optimization device connected with the micro video recording device and comprising a first optimization unit, a second optimization unit and a third optimization unit, configured to sequentially perform band-stop filtering processing, morphological processing and gray scale transformation enhancement processing on the received current video frame to obtain and output a corresponding content optimized image, wherein the first optimization unit, the second optimization unit and the third optimization unit are sequentially connected; A shape detection mechanism connected with the content optimization device, configured to detect an image block occupied by a character display area of the card-type prepayment electric meter in the received content optimized image based on a standard contour of the character display area of the card-type prepayment electric meter, and output the image block as a reference image block; A parameter identification mechanism connected with the shape detection mechanism, configured to obtain a contrast of the received reference image block, and determine a size of an intra-frame coding block used when performing intra-frame coding on the current video frame based on the contrast of the reference image block, wherein the higher the contrast of the reference image block is, the larger the size of the intra-frame coding block used when performing intra-frame coding on the current video frame is.
2. The electric meter identification system of claim 1, wherein: The content optimization device connected with the micro video recording device and comprising a first optimization unit, a second optimization unit and a third optimization unit, configured to sequentially perform band-stop filtering processing, morphological processing and gray scale transformation enhancement processing on the received current video frame to obtain and output a corresponding content optimized image, wherein the first optimization unit, the second optimization unit and the third optimization unit respectively perform band-stop filtering processing, morphological processing and gray scale transformation enhancement processing on the received image signal; The micro video recording device is further configured to suspend the video recording action performed on the running scene of the card-type prepayment electric meter when receiving the second mode judging command.
3. The meter identification system of claim 2, wherein, The system further comprises: A FLASH storage mechanism connected with the micro video recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, configured to provide data storage services for the micro video recording device, the first optimization unit, the second optimization unit and the third optimization unit in time sharing mode. The FLASH storage mechanism is connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, and is used for providing data storage service for the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit in time-sharing mode, including that the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit are connected with the FLASH storage mechanism respectively by using different data channels.
4. The meter identification system of claim 3, wherein: The FLASH storage mechanism is connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, and is used for providing data storage service for the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit in time-sharing mode, including that the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit share the same quartz oscillator device.
5. The electric meter identification system of claim 2, wherein, The system further comprises: Real-time display devices connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, and used for simultaneously displaying the state information of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit.
6. The meter identification system of claim 5, wherein: Real-time display devices connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, and used for simultaneously displaying the state information of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit, including that the simultaneously displayed state information of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit includes the sleep state or the working state of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit.
7. The meter identification system of claim 6, wherein: Real-time display devices connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, and used for simultaneously displaying the state information of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit, further including that the real-time display device is a liquid crystal display screen or a real-time display device.
8. The meter identification system of claim 7, wherein: Real-time display devices connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, and used for simultaneously displaying the state information of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit, further including that the real-time display device is composed of a plurality of LED display units arranged in a rectangular square mode.
9. The meter identification system of claim 8, wherein: The real-time display device is connected with the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit respectively, and is used for simultaneously displaying the state information of the micro-recording device, the first optimization unit, the second optimization unit and the third optimization unit, and the structure of the plurality of LED display units arranged in the rectangular square mode is the same.