Intelligent identification method for water meter layout
By combining auxiliary light sources and embedded cameras with data enhancement processing, the deep feed-forward network is used to intelligently identify the dial layout of smart water meters, solving the problem of dial layout error detection, achieving accurate detection of dial layout, and improving the reliability of smart water meters.
Patent Information
- Application Number
- CN202410877577.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-05-07
- Filing Date
- 2024-07-02
- Publication Date
- 2024-10-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
During long-term use of smart water meters, dial layout errors may occur due to contamination or damage, affecting their use. It is difficult to reliably identify whether the dial layout is standard with existing technology.
Auxiliary light source equipment and embedded cameras are used for real-time photography, the image is processed through the data enhancement mechanism and extraction device, and the deep feed-forward network is used to intelligently identify whether the dial layout in the enhanced conversion image conforms to the benchmark pattern, and issue deviation detection or compliance commands.
It achieves accurate compliance detection of smart water meter dial layout and ensures that the dial layout meets the set standards, thus improving the reliability and accuracy of use.
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent water meters, and in particular to an intelligent identification method for water meter layout. Background Art
[0002] Smart water meter is a new type of water meter that uses modern microelectronics technology, modern sensor technology, and smart IC card technology to measure water consumption, transmit water consumption data, and settle transactions. Compared with traditional water meters that generally only have the functions of flow collection and mechanical pointer display of water consumption, it is a great improvement.
[0003] The main advantages of smart water meters are: 1. It can record and electronically display water consumption; 2. It can control water consumption according to the agreement, and automatically complete the water fee calculation of the tiered water price, and can also store water consumption data; 3. Data transmission and transaction settlement are carried out through IC cards, which has the characteristics of convenient transactions, accurate calculations, and can be settled through banks.
[0004] The dial layout of the smart water meter is fixed to facilitate the recording and electronic display of water volume. However, during long-term use, due to dirt or damage, the dial of the smart water meter may have layout errors, causing the current layout pattern of the dial of the smart water meter to be inconsistent with the set standard pattern of the dial of the smart water meter, which has an adverse effect on the use of the smart water meter. Summary of the invention
[0005] In order to solve the technical problems in the related fields, the present invention provides a method for intelligent identification of water meter layout, which refers to a layout identification device for issuing a deviation detection command corresponding to excessive deviation of dial layout content when there is no pattern to be compared in the intelligent identification enhanced conversion image, and is also used for issuing a deviation non-detection command corresponding to compliance of dial layout content when there is a pattern to be compared in the intelligent identification enhanced conversion image, wherein the pattern to be compared is a reference dial pattern corresponding to the smart water meter, and the reference dial pattern only includes a reference dial with a set content layout corresponding to the smart water meter, thereby realizing on-site analysis of the compliance degree of the smart water meter dial layout based on intelligent detection of the existence of the reference dial.
[0006] According to the present invention, a method for intelligent identification of water meter layout is provided, the method comprising:
[0007] Based on the received network control command, the auxiliary light source device is used to synchronize the lighting action with the camera action of the embedded camera;
[0008] The embedded camera is embedded in the encapsulated door body opposite to the smart water meter, and is used to perform a real-time camera operation on the front surface of the smart water meter under the illumination of the auxiliary light source device to obtain and output a real-time camera frame corresponding to a current timestamp;
[0009] A data enhancement mechanism is connected to the embedded camera and includes an artifact removal device, a signal sharpening device, and a customized enhancement device, which is used to continuously perform artifact removal processing, spatial differential method sharpening processing, and density function-based histogram equalization processing on the received real-time camera frames to obtain and output a corresponding enhanced conversion image;
[0010] Connecting a first extraction device to the data enhancement mechanism to receive the enhanced conversion image and determine the horizontal coordinate values and vertical coordinate values corresponding to the edge pixel points in the enhanced conversion image;
[0011] Using a second extraction device to obtain a pattern to be compared, and determining each horizontal coordinate value and each vertical coordinate value corresponding to each edge pixel point in the pattern to be compared, wherein the pattern to be compared is a reference dial pattern corresponding to the smart water meter, and the reference dial pattern only includes a reference dial with a set content layout corresponding to the smart water meter;
[0012] The third extraction device is connected to the first extraction device and the second extraction device respectively, and is used to intelligently identify whether there is a pattern to be compared in the enhanced conversion image based on the horizontal coordinate values and vertical coordinate values corresponding to the edge pixels in the enhanced conversion image, the horizontal coordinate values and vertical coordinate values corresponding to the edge pixels in the pattern to be compared, the total number of edge pixels in the enhanced conversion image, and the total number of edge pixels in the pattern to be compared, wherein the intelligent identification is based on a deep feedforward network that has completed multiple learnings;
[0013] The layout identification device is connected to the third extraction device to issue a deviation detection command corresponding to an excessive deviation of the dial layout content when the pattern to be compared does not exist in the intelligent identification enhanced conversion image, and is also used to issue a deviation non-detection command corresponding to a satisfactory dial layout content when the pattern to be compared exists in the intelligent identification enhanced conversion image.
[0014] It can be seen that the present invention has at least the following three important inventive concepts:
[0015] Inventive concept 1: determining the horizontal coordinate values and the vertical coordinate values corresponding to the edge pixel points in the enhanced conversion image, and determining the horizontal coordinate values and the vertical coordinate values corresponding to the edge pixel points in the pattern to be compared;
[0016] Inventive concept 2: Based on the horizontal coordinate values and vertical coordinate values corresponding to the edge pixels in the enhanced conversion image, the horizontal coordinate values and vertical coordinate values corresponding to the edge pixels in the pattern to be compared, the total number of edge pixels in the enhanced conversion image, and the total number of edge pixels in the pattern to be compared, intelligently identify whether there is a pattern to be compared in the enhanced conversion image, and the intelligent identification is based on a deep feedforward network that has completed multiple learnings;
[0017] Inventive concept three: A layout identification device is used to issue a deviation detection command corresponding to an excessive deviation of the dial layout content when the pattern to be compared does not exist in the intelligent identification enhanced conversion image, and is also used to issue a deviation non-detection command corresponding to a dial layout content compliance command when the pattern to be compared exists in the intelligent identification enhanced conversion image, wherein the pattern to be compared is a reference dial pattern corresponding to the smart water meter, and the reference dial pattern only includes a reference dial with a set content layout corresponding to the smart water meter, thereby realizing on-site analysis of the compliance degree of the smart water meter dial layout based on intelligent detection of the existence of the reference dial. DETAILED DESCRIPTION
[0018] The following is a detailed description of an embodiment of the water meter layout intelligent identification method of the present invention.
[0019] Example 1
[0020] Embodiment 1 is a water meter layout intelligent identification method according to the first embodiment of the present invention, and the method includes:
[0021] Based on the received network control command, the auxiliary light source device is used to synchronize the lighting action with the camera action of the embedded camera;
[0022] For example, based on the received network control instruction, using the auxiliary light source device to synchronize the lighting action with the camera action of the embedded camera includes: the lighting intensity of the auxiliary light source device is monotonically inversely correlated with the light amount of the environment in which it is located;
[0023] The embedded camera is embedded in the encapsulated door body opposite to the smart water meter, and is used to perform a real-time camera operation on the front surface of the smart water meter under the illumination of the auxiliary light source device to obtain and output a real-time camera frame corresponding to a current timestamp;
[0024] A data enhancement mechanism is connected to the embedded camera and includes an artifact removal device, a signal sharpening device, and a customized enhancement device, which is used to continuously perform artifact removal processing, spatial differential method sharpening processing, and density function-based histogram equalization processing on the received real-time camera frames to obtain and output a corresponding enhanced conversion image;
[0025] For example, the data enhancement mechanism is connected to the embedded camera and includes an artifact removal device, a signal sharpening device and a customized enhancement device, and is used to continuously perform artifact removal processing, spatial differential method sharpening processing and density function-based histogram equalization processing on the received real-time camera frame to obtain and output the corresponding enhanced conversion image, including: a plurality of different types of SOC devices can be used to respectively implement the artifact removal device, the signal sharpening device and the customized enhancement device;
[0026] Connecting a first extraction device to the data enhancement mechanism to receive the enhanced conversion image and determine the horizontal coordinate values and vertical coordinate values corresponding to the edge pixel points in the enhanced conversion image;
[0027] The second extraction device is used to obtain a pattern to be compared, and to determine each horizontal coordinate value and each vertical coordinate value corresponding to each edge pixel point in the pattern to be compared, wherein the pattern to be compared is a reference dial pattern corresponding to the smart water meter, and the reference dial pattern only includes a reference dial with a set content layout corresponding to the smart water meter;
[0028] The third extraction device is connected to the first extraction device and the second extraction device respectively, and is used to intelligently identify whether there is a pattern to be compared in the enhanced conversion image based on the horizontal coordinate values and vertical coordinate values corresponding to the edge pixels in the enhanced conversion image, the horizontal coordinate values and vertical coordinate values corresponding to the edge pixels in the pattern to be compared, the total number of edge pixels in the enhanced conversion image, and the total number of edge pixels in the pattern to be compared, wherein the intelligent identification is based on a deep feedforward network that has completed multiple learnings;
[0029] The layout identification device is connected to the third extraction device, and is used to issue a deviation detection command corresponding to excessive deviation of the dial layout content when the pattern to be compared does not exist in the intelligent identification enhanced conversion image, and is also used to issue a deviation non-detection command corresponding to the dial layout content meeting the standard when the pattern to be compared exists in the intelligent identification enhanced conversion image;
[0030] Among them, the data enhancement mechanism is connected to the embedded camera and includes an artifact removal device, a signal sharpening device and a customized enhancement device, which is used to continuously perform artifact removal processing, spatial differential sharpening processing and density function-based histogram equalization processing on the received real-time camera frames to obtain and output the corresponding enhanced converted image, including: the artifact removal device, the signal sharpening device and the customized enhancement device are used to respectively perform artifact removal processing, spatial differential sharpening processing and density function-based histogram equalization processing on the respective received image signals.
[0031] Example 2
[0032] Embodiment 2 is a method for intelligent identification of water meter layout according to the second embodiment of the present invention.
[0033] Different from Example 1, the water meter layout intelligent identification method in Example 2 may further include the following steps:
[0034] A data monitoring device including a plurality of monitoring cameras facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively monitors the real-time status of the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device in a time-sharing manner;
[0035] Wherein, the data monitoring device including a plurality of monitoring cameras facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively monitors the real-time status of the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device in time-sharing manner, including: the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device are respectively connected to the data monitoring device using different CSI interfaces;
[0036] Wherein, the data monitoring device including a plurality of monitoring cameras facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively monitors the real-time status of the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device in a time-sharing manner, and further includes: the structures of the plurality of monitoring cameras facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively are the same;
[0037] Wherein, the data monitoring device including a plurality of monitoring cameras facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively monitors the real-time status of the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device in time-sharing manner, and further includes: a plurality of monitoring cameras with built-in image sensing units facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively;
[0038] And wherein, a plurality of surveillance cameras are respectively facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device, and have built-in image sensor units: the image sensor units are CMOS sensor units or CCD sensor units.
[0039] Example 3
[0040] Embodiment 3 is a method for intelligent identification of water meter layout according to the third embodiment of the present invention.
[0041] Different from Example 1, the water meter layout intelligent identification method in Example 3 may further include the following steps:
[0042] The content display device is connected to the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively, so as to simultaneously display various status information of the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device, and further comprises: the content display device is a liquid crystal display screen or an LED display array;
[0043] Wherein, a quartz oscillator device is connected to the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively, so as to simultaneously provide the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device with the required working clock pulses respectively;
[0044] And wherein, the quartz oscillator device is respectively connected to the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device to simultaneously provide the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device with their respective required working clock pulses, including: the working clock pulses provided to the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device at the same time are all square wave waveforms.
[0045] In addition, in the water meter layout intelligent identification method, the data enhancement mechanism is connected to the embedded camera and includes an artifact removal device, a signal sharpening device and a customized enhancement device, which is used to continuously perform artifact removal processing, spatial differential sharpening processing and density function-based histogram equalization processing on the received real-time camera frames to obtain and output the corresponding enhanced conversion image. It also includes: the data enhancement mechanism also includes a parallel data bus, which is used to connect to the artifact removal device, the signal sharpening device and the customized enhancement device respectively, to achieve parallel data communication between the artifact removal device, the signal sharpening device and the customized enhancement device, and the parallel data communication between the artifact removal device, the signal sharpening device and the customized enhancement device is 32-bit parallel data communication or 64-bit parallel data communication.
[0046] By adopting the intelligent identification method for water meter layout of the present invention, the technical problem in the prior art that it is difficult to reliably identify whether the dial layout of the smart water meter is standard can be solved. A layout identification device can be used to issue a deviation detection command corresponding to an excessive deviation of the dial layout content when there is no pattern to be compared in the intelligent identification enhanced conversion image. The pattern to be compared is a reference dial pattern corresponding to the smart water meter, and the reference dial pattern only includes a reference dial with a set content layout corresponding to the smart water meter, thereby realizing on-site analysis of the degree of compliance of the smart water meter dial layout.
[0047] It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be achieved depending on design requirements and other factors insofar as they are within the scope of the appended claims or the equivalents thereof.
Claims
1. A water meter layout intelligent identification method, characterized in that: The method comprises: Based on the received network control command, the auxiliary light source device is used to synchronize the lighting action with the camera action of the embedded camera; The embedded camera is embedded in the encapsulated door body opposite to the smart water meter, and is used to perform a real-time camera operation on the front surface of the smart water meter under the illumination of the auxiliary light source device to obtain and output a real-time camera frame corresponding to a current timestamp; A data enhancement mechanism is connected to the embedded camera and includes an artifact removal device, a signal sharpening device, and a customized enhancement device, which is used to continuously perform artifact removal processing, spatial differential method sharpening processing, and density function-based histogram equalization processing on the received real-time camera frames to obtain and output a corresponding enhanced conversion image; Connecting a first extraction device to the data enhancement mechanism to receive the enhanced conversion image and determine the horizontal coordinate values and vertical coordinate values corresponding to the edge pixel points in the enhanced conversion image; Using a second extraction device to obtain a pattern to be compared, and determining each horizontal coordinate value and each vertical coordinate value corresponding to each edge pixel point in the pattern to be compared, wherein the pattern to be compared is a reference dial pattern corresponding to the smart water meter, and the reference dial pattern only includes a reference dial with a set content layout corresponding to the smart water meter; The third extraction device is connected to the first extraction device and the second extraction device respectively, and is used to intelligently identify whether there is a pattern to be compared in the enhanced conversion image based on the horizontal coordinate values and vertical coordinate values corresponding to the edge pixels in the enhanced conversion image, the horizontal coordinate values and vertical coordinate values corresponding to the edge pixels in the pattern to be compared, the total number of edge pixels in the enhanced conversion image, and the total number of edge pixels in the pattern to be compared, wherein the intelligent identification is based on a deep feedforward network that has completed multiple learnings; The layout identification device is connected to the third extraction device to issue a deviation detection command corresponding to an excessive deviation of the dial layout content when the pattern to be compared does not exist in the intelligent identification enhanced conversion image, and is also used to issue a deviation non-detection command corresponding to a satisfactory dial layout content when the pattern to be compared exists in the intelligent identification enhanced conversion image.
2. The water meter layout intelligent identification method according to claim 1, characterized in that: The data enhancement mechanism is connected to the embedded camera and includes an artifact removal device, a signal sharpening device and a customized enhancement device, which is used to continuously perform artifact removal processing, spatial differential sharpening processing and density function-based histogram equalization processing on the received real-time camera frames to obtain and output the corresponding enhanced converted image, including: the artifact removal device, the signal sharpening device and the customized enhancement device are used to respectively perform artifact removal processing, spatial differential sharpening processing and density function-based histogram equalization processing on the respective received image signals.
3. The water meter layout intelligent identification method according to claim 2, characterized in that: The method further comprises: A data monitoring device including a plurality of monitoring cameras facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively monitors the real-time status of the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device in a time-sharing manner; Among them, a data monitoring device including multiple monitoring cameras facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively monitors the real-time status of the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device in time-sharing, including: the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device are respectively connected to the data monitoring device using different CSI interfaces.
4. The water meter layout intelligent identification method according to claim 3, characterized in that: The data monitoring device including multiple monitoring cameras respectively facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device monitors the real-time status of the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device in a time-sharing manner, and also includes: the structures of multiple monitoring cameras respectively facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device are the same.
5. The water meter layout intelligent identification method according to claim 4, characterized in that: The data monitoring device including multiple monitoring cameras facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively monitors the real-time status of the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device in a time-sharing manner, and also includes: multiple monitoring cameras with built-in image sensing units facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively.
6. The water meter layout intelligent identification method according to claim 5, characterized in that: A plurality of surveillance camera built-in image sensing units respectively facing the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device: the image sensing unit is a CMOS sensing unit or a CCD sensing unit.
7. The water meter layout intelligent identification method according to claim 2, characterized in that: The method further comprises: The content display device is respectively connected to the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device to simultaneously display various status information of the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device, and also includes: the content display device is a liquid crystal display screen or an LED display array.
8. The water meter layout intelligent identification method according to claim 7, characterized in that: A quartz oscillator device is connected to the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively, so as to simultaneously provide the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device with their respective required working clock pulses.
9. The water meter layout intelligent identification method according to claim 8, characterized in that: A quartz oscillator device is connected to the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device respectively to simultaneously provide the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device with their respective required working clock pulses, including: the working clock pulses simultaneously provided to the data enhancement mechanism, the first extraction device, the second extraction device and the third extraction device are all square wave waveforms.
