A visual recognition method and system for reading a water meter dial
By using a water meter dial reading visual recognition system that combines multi-sensor posture perception and digital image processing, the problem of limited water meter readings has been solved, realizing automated and intelligent water meter reading recognition and improving meter reading efficiency and data accuracy.
Patent Information
- Application Number
- CN202510983202.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-17
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2045-07-17
AI Technical Summary
Under current technology, when water meter network failures or other factors occur, manual meter reading is limited by factors such as dirt and poor lighting, making it impossible to read the meter quickly, resulting in low meter reading efficiency.
A visual recognition system for water meter dial readings is adopted, including a camera module, a reference image cloud library, a segmentation module, a comparison module, an arrangement module, and a recording and verification module. Through image acquisition, preprocessing, contour extraction, adaptive scaling, and multi-sensor pose perception, combined with similarity algorithms based on scale skeleton matching degree and angular distribution features, automated and intelligent water meter reading recognition is achieved.
It enables automatic triggering of shooting under stable device posture, ensuring image acquisition quality. It identifies digital areas by comparing with digital image cloud database, completes reading arrangement and verification, improves meter reading efficiency and data reliability, and breaks through the traditional manual meter reading mode.
Smart Images

Figure CN120472439B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of water meter reading, in particular to a visual recognition method and system for water meter dial reading. BACKGROUND
[0002] A water meter is an instrument for measuring water flow, which is usually installed in a water pipeline. Traditional water meters require manual reading, while intelligent water meters can transmit data remotely, making it convenient for metering and management, and are widely used in household, industrial and other scenarios. It is an important tool for water resource measurement.
[0003] In the invention patent application with application number 202411920260.0, a water meter dial reading recognition method is disclosed, which includes: in response to a trigger reading request instruction, collecting an original water meter image; extracting a set of feature points of the original water meter image, comparing the set of feature points of the original water meter image with a pre-stored feature mapping table to determine a dial image segmentation rule, and segmenting the original water meter image according to the corresponding dial image segmentation rule to obtain a plurality of image block data; when the boundary of each image block data is clear and the boundary of the valid information in each image block data is clear, directly identifying the valid information in each image block data to obtain the water meter dial reading; or, when the boundary of each image block data is clear and the boundary of the valid information in at least one image block data is not clear, sending the image block data with the unclear boundary of the valid information to the server end according to a predetermined rule to enable the server end to perform image recognition according to a first mode to obtain the water meter dial reading; or, when the boundary of any image block data is not clear, sending the original water meter image to the server end to enable the server end to perform image recognition according to a second mode to obtain the water meter dial reading and the recognition accuracy; in response to only receiving the water meter dial reading sent by the server end, filling the water meter dial reading in the corresponding position; or, in response to receiving the water meter dial reading and the recognition accuracy sent by the server end, determining to automatically fill the water meter dial reading or manually input the water meter dial reading according to the recognition accuracy. The application aims to solve the problem of "in some scenarios that require real-time data acquisition, the real-time performance of this method that relies on cloud server resources is low, which reduces work efficiency".
[0004] However, although the existing technology can replace manual meter reading to some extent, in special situations such as water meter networking failure, manual meter reading is still required. However, due to factors such as dirt on the water meter location and poor lighting, manual meter reading cannot quickly read the meter;
[0005] Therefore, a visual recognition method and system for water meter dial reading are proposed. SUMMARY
[0006] In view of the above-mentioned defects of the prior art, the present application provides a visual recognition method and system for water meter dial reading, which can effectively solve the problems of the prior art.
[0007] To achieve the above object, the present application is implemented by the following technical solutions.
[0008] The present application discloses a visual recognition system for water meter dial reading, comprising:
[0009] A camera module is used to collect water meter dial image data and store the water meter dial image data. A reference image cloud library is used to store digital images of the same form as the water meter dial reading. A segmentation module is used to receive the water meter dial image data stored in the camera module and segment digital region images from the water meter dial image data. A comparison module is used to obtain the digital region images segmented by the segmentation module, compare the digital region images with the digital images stored in the reference image cloud library as comparison targets, and obtain the digital images with the highest similarity to each digital region image. An arrangement module is used to receive the digital images obtained by the comparison module and arrange the digital images based on the positions of the corresponding digital region images of each digital image in the water meter dial region image. A recording and verification module is used to receive the arrangement results of the digital images by the arrangement module, distinguish and record the arrangement results of the digital images, and verify the arrangement results of the digital images.
[0010] Further, in the running stage of the camera module, a user holds the camera module to face the water meter dial, and cooperates with the focusing and exposure to collect the water meter dial image data. The camera module is provided with a preprocessing unit and a storage unit. The preprocessing unit is used to traverse the water meter surface image data, extract the water meter dial region image from the water meter dial image data, and the storage unit is used to receive the water meter dial region image extracted by the preprocessing unit and store the water meter dial region image.
[0011] In the running stage of the camera module, the camera module synchronously marks the household number and the collection timestamp when collecting the water meter dial image data each time. When the water meter dial region image is extracted from the water meter dial image data based on the preprocessing unit and stored in the storage unit, the water meter dial region image is still marked based on the household number and the collection timestamp of the water meter dial image data.
[0012] Further, the preprocessing unit operating stage receives the water meter dial image data collected by the camera module, converts the water meter dial image data into a grayscale image, extracts a water meter dial contour image in the grayscale image, further picks up a maximum contour in the water meter dial contour image, applies the maximum contour to the corresponding position in the water meter dial image data, and segments the water meter dial image data. The local image in the segmented maximum contour is recorded as a water meter dial region image;
[0013] Wherein, when the water meter dial region image is stored by the storage unit, the storage unit synchronously stores the marking information of each water meter dial region image, and stores the water meter dial region image based on the marking information according to the household number character marking and the collection time stamp marking.
[0014] Further, the camera module is built-in with a sensing component, the sensing component includes a distance sensor and a gyroscope, the number of the distance sensor is not less than three, and the number of the gyroscope is one. The camera module is manually switched on or off by the user terminal.
[0015] When the camera module is in the on state, the sensing component operates synchronously. The camera module is held by the user terminal to face the water meter dial and rotate at a uniform speed. The rotation path is in the shape of “∞”. The gyroscope and the distance sensor in the sensing component real-time sense the state information of themselves. When any one of the following forms is sensed, the camera module is triggered to collect the water meter dial image data:
[0016] Form one: the gyroscope senses that itself is in a vertical posture, and the sensing results of each distance sensor are consistent and are all within the preset sensing distance range.
[0017] Form two: the gyroscope senses that itself is in a horizontal posture, and the sensing results of each distance sensor are consistent and are all within the preset sensing distance range.
[0018] Further, the reference image cloud library stores nine digital images, respectively representing 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. Each digital image is at the center of a preset digital frame. The digital frame is further provided with a water meter dial image frame.
[0019] The segmentation module receives the water meter dial image data, that is, the latest water meter dial region image stored in the storage unit. Before the digital region image is segmented and obtained from the water meter dial image data, the water meter dial region image is synchronously subjected to an equi-scale zoom operation, that is, the water meter dial region image is zoomed in reference to the water meter dial image frame, so that the water meter dial region image is equal in size to the water meter dial image frame and the edges coincide.
[0020] The water meter dial image frame is internally referenced to the digital display area in the water meter dial physical object, and a plurality of digital frames are arranged at the same position. The segmentation module segments and acquires the digital area image from the water meter dial image data. That is, the water meter dial area image is segmented at the positions corresponding to the plurality of digital frames arranged in the water meter dial image frame to acquire a plurality of area images corresponding to the digital frames, denoted as digital area images.
[0021] Further, before the segmentation module segments and acquires the digital area image, the received water meter dial area image is subjected to a definition enhancement process:
[0022] ;
[0023] In the formula: is the water meter dial area image output by the definition enhancement process; is the water meter dial area image after adaptive median filter denoising; is the sharpening intensity factor; is the local contrast enhancement factor; is the Laplacian operator of the denoised image;
[0024] wherein, , represents the local standard deviation at point (x, y), represents the adjustment factor for controlling the degree of contrast enhancement, represents the local mean value at point (x, y), represents a minimum constant.
[0025] Further, in the comparison module, the similarity comparison logic of the digital area image and the digital image is represented as:
[0026] ;
[0027] In the formula: is the similarity of the digital area image and the digital image; , is the weight; is the Hausdorff distance of the scale skeleton point set of the digital image / digital area image, that is, the scale skeleton matching degree; is the maximum and minimum value of the Hausdorff distance obtained by statistical analysis of the digital image; is the total number of sector regions; is the normalized angle distribution vector of the i th sector region of the digital image; is the normalized angle distribution vector of the i th sector region of the digital area image;
[0028] The similarity comparison is performed once for each digital region image and the combination of the digital images based on the above formula.
[0029] Further, the record of the digital image arrangement result in the record and verification module is the record of the arranged digital image, and each group of the recorded digital image carries the same mark of the source water meter dial region image.
[0030] The verification target of the digital image arrangement result in the record and verification module is each division record interval, and the verification operation is to read each group of the digital image in the arrangement record in the record interval, to sort the read result based on the arrangement position of each group of the corresponding digital image, and to verify the result as correct when the sorted read result is continuously rising or has no growth trend, and to verify the result as incorrect otherwise.
[0031] Further, the camera module is connected to the preprocessing unit and the storage unit through the wireless network, the camera module is connected to the reference image cloud library and the segmentation module through the wireless network, the segmentation module is connected to the storage unit through the wireless network, the segmentation module is connected to the comparison module and the arrangement module through the wireless network, and the arrangement module is connected to the record and verification module through the wireless network.
[0032] On the other hand, a visual recognition method of water meter dial reading includes:
[0033] The water meter dial image data is collected and stored, the reference image cloud library is created, the digital image is stored by using the reference image cloud library, the stored water meter dial image data is obtained, the water meter dial image data is segmented to obtain the digital region image, the digital region image is compared with the digital image stored in the reference image cloud library to obtain the digital image with the highest similarity, the water meter dial reading is obtained by using the obtained digital image combination, and the reading is recorded and verified.
[0034] Compared with the known prior art, the technical scheme provided by the present application has the following beneficial effects:
[0035] The application provides a visual recognition method and system for water meter dial reading. BRIEF DESCRIPTION OF DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.
[0037] Figure 1 FIG. 1 is a structural schematic diagram of a visual recognition system for water meter dial reading.
[0038] Figure 2 FIG. 2 is a flowchart of a visual recognition method for water meter dial reading. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are some of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0040] The present application will be further described in combination with the embodiments.
[0041] Embodiment 1
[0042] A visual recognition system for water meter dial reading in the present embodiment, as shown in FIG. 1, comprises: Figure 1
[0043] A camera module is used to collect water meter dial image data and store the water meter dial image data.
[0044] The camera module runs in a stage, the user holds the camera module to face the water meter dial, and cooperates with the focusing and exposure to collect the water meter dial image data, the camera module is provided with a preprocessing unit and a storage unit, the preprocessing unit is used to traverse the water meter surface image data, and the water meter dial area image is extracted from the water meter dial image data, and the storage unit is used for receiving the water meter dial area image extracted by the preprocessing unit, and storing the water meter dial area image;
[0045] The camera module collects water meter dial image data each time, and the source household number and the collection timestamp are marked on the water meter dial image data at the same time, and when the water meter dial area image is extracted from the water meter dial image data based on the preprocessing unit and stored in the storage unit, the water meter dial area image is still marked based on the household number and the collection timestamp of the water meter dial area image from the water meter dial image data.
[0046] The preprocessing unit runs in a stage, receives the water meter dial image data collected by the camera module, converts the water meter dial image data into a gray image, extracts a water meter dial contour image in the gray image, further picks up a maximum contour in the water meter dial contour image, and applies the maximum contour to a corresponding position in the water meter dial image data to segment the water meter dial image data. The local image in the segmented maximum contour is recorded as a water meter dial area image;
[0047] The camera module collects water meter dial image data each time, and the source household number and the collection timestamp are marked on the water meter dial image data at the same time, and when the water meter dial area image is extracted from the water meter dial image data based on the preprocessing unit and stored in the storage unit, the water meter dial area image is still marked based on the household number and the collection timestamp of the water meter dial area image from the water meter dial image data.
[0048] The camera module is provided with a sensing component, the sensing component includes a distance sensor and a gyroscope, the number of the distance sensor is not less than three, and the number of the gyroscope is one. The camera module is manually switched by the user to start or stop running;
[0049] When the camera module is in the start state, the sensing component runs synchronously, the user holds the camera module to face the water meter dial and rotates the camera module at a constant speed, the rotation path is in the shape of “∞”, the gyroscope and the distance sensor in the sensing component real-time sense the state information of themselves, and when any one of the following modes is sensed, the camera module is triggered to collect water meter dial image data:
[0050] Mode one: the gyroscope senses that the itself is in a vertical posture, the sensing results of each distance sensor are consistent, and each distance sensor is in a preset sensing distance range;
[0051] Mode two: the gyroscope senses that the itself is in a horizontal posture, the sensing results of each distance sensor are consistent, and each distance sensor is in a preset sensing distance range;
[0052] Reference to the figure cloud library, for storing the same form of digital images with water meter dial readings;
[0053] Reference to the digital images stored in the figure cloud library, there are nine, representing 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, each digital image is in the center of the preset digital frame, and the water meter dial image frame is also provided outside the digital frame;
[0054] The segmentation module runs the received water meter dial image data, that is, the latest stored water meter dial area image in the storage unit, before the digital area image is segmented in the water meter dial image data, the water meter dial area image is scaled synchronously, that is, the water meter dial area image is scaled with reference to the water meter dial image frame, so that the water meter dial area image is equal in size and edge coincides with the water meter dial image frame;
[0055] Among them, the water meter dial image frame has a plurality of digital frames inside the reference digital display area in the water meter dial physical object, and a plurality of digital frames are provided at the same position, and the segmentation module segments the digital area image in the water meter dial image data, that is, the water meter dial area image is segmented at the position corresponding to the plurality of digital frames provided inside the water meter dial image frame to obtain a plurality of area images corresponding to the digital frames, which are recorded as digital area images;
[0056] The segmentation module is used for receiving the water meter dial image data stored in the camera module, and segmenting the digital area image in the water meter dial image data;
[0057] Before the segmentation module runs to segment the digital area image, the received water meter dial area image is processed synchronously for clarity enhancement:
[0058] ;
[0059] In the formula: The water meter dial area image output by the clarity enhancement processing; The water meter dial area image after adaptive median filter denoising; The sharpening intensity factor; The local contrast enhancement factor; The Laplace operator of the denoised image;
[0060] Among them, , Indicates the local standard deviation at point (x, y), Indicates the adjustment factor, which is used to control the degree of contrast enhancement, Indicates the local mean value at point (x, y), Indicates the minimum constant;
[0061] The water meter dial area image is subjected to the definition enhancement processing through the logical formula, so as to improve the image quality and further improve the precision of the system operation output result;
[0062] The comparison module is used for acquiring the digital area image segmented and acquired in the segmentation module, and performing similarity comparison on the digital area image as a comparison target and the digital image stored in the reference image cloud library, so as to acquire the digital image with the highest similarity to each digital area image.
[0063] In the comparison module, the similarity comparison logic of the digital area image and the digital image is represented as:
[0064]
[0065] In the formula: is the similarity of the digital area image and the digital image; , is the weight; is the Hausdorff distance of the scale skeleton point set of the digital image / digital area image, that is, the scale skeleton matching degree; is the maximum and minimum value of the Hausdorff distance obtained by the digital image statistics; is the total number of the fan-shaped areas; is the normalized angle distribution vector of the i th fan-shaped area of the digital image; is the normalized angle distribution vector of the i th fan-shaped area of the digital area image;
[0066] The similarity comparison of each combination of the digital area image and the digital image is performed once based on the above formula;
[0067] Through the above similarity calculation formula, the most similar digital image is matched for each digital area image, so as to finally realize the water meter reading;
[0068] The arrangement module is used for receiving the digital image acquired in the comparison module, and arranging each digital image based on the position of the corresponding digital area image of each digital image in the comparison module in the water meter dial area image.
[0069] The recording and verification module is used for receiving the digital image arrangement result in the arrangement module, and distinguishing, recording and verifying the digital image arrangement result.
[0070] The recording of the digital image arrangement result in the recording and verification module is the recording of the arranged digital image. Each group of recorded digital images carries the same mark of the source water meter dial area image. When the digital image arrangement result is recorded, the household number in the mark content is used for distinguishing the recording, and the collection time stamp in the mark content is used for arrangement recording.
[0071] The verification target of the record and verification module on the digital image arrangement result is to distinguish the record interval, and the verification operation is to read each group of digital images arranged in the record interval, sort the read results based on the arrangement positions of the corresponding digital images of each group, and when the sorted read results show continuous rise or no growth trend, the verification result is correct, otherwise, the verification result is incorrect.
[0072] The camera module is connected to the preprocessing unit and the storage unit through a wireless network, the camera module is connected to the reference image cloud library and the segmentation module through a wireless network, the segmentation module is connected to the storage unit through a wireless network, the segmentation module is connected to the comparison module and the arrangement module through a wireless network, and the arrangement module is connected to the record and verification module through a wireless network.
[0073] In this embodiment, the camera module runs to collect water meter dial image data, and stores the water meter dial image data. The preprocessing unit synchronously traverses the water meter surface image data, extracts the water meter dial area image from the water meter dial image data, and the storage unit receives the water meter dial area image extracted by the preprocessing unit in real time, and stores the water meter dial area image. The reference image cloud library runs in the background to store digital images in the same form as the water meter dial reading, and the segmentation module receives the water meter dial image data stored in the camera module, and obtains digital area images from the water meter dial image data. The comparison module further obtains the digital area images segmented by the segmentation module, compares the digital area images with the digital images stored in the reference image cloud library based on the similarity, obtains the digital images with the highest similarity to each digital area image, and the arrangement module receives the digital images obtained by the comparison module, arranges each digital image based on the position of the corresponding digital area image in the water meter dial area image in the comparison module. Finally, the record and verification module receives the digital image arrangement result in the arrangement module, and records and verifies the digital image arrangement result.
[0074] Through the operation of the above system, the development of the artificial meter reading work is assisted, and the meter reading work is simplified to water meter image collection work, which effectively improves the efficiency and accuracy of the meter reading work.
[0075] Embodiment 2:
[0076] In the specific implementation level, based on embodiment 1, this embodiment refers to Figure 2 The visual recognition system for one water meter dial reading in embodiment 1 is further specifically described:
[0077] A visual recognition method for water meter dial reading, comprising:
[0078] Step 1: collect water meter dial image data, store the water meter dial image data;
[0079] Step 2: create a reference image cloud library, and store digital images in the reference image cloud library;
[0080] Step 3: obtain the stored water meter dial image data, and segment the water meter dial image data to obtain digital area images;
[0081] Step 4: compare the digital area images with the digital images stored in the reference image cloud library to obtain the digital image with the highest similarity to the digital area image;
[0082] Step 5: obtain the water meter dial reading by combining the obtained digital images, record and verify the reading.
[0083] In summary, in the above-mentioned embodiments, the method and system in the execution process collect water meter dial images by user handheld devices and automatically mark the house number and time, combine image preprocessing, contour extraction and adaptive scaling, accurately locate the digital display area, based on the multi-sensor pose perception mechanism, can automatically trigger shooting when the device is in a horizontal or vertical stable posture, ensure the image acquisition quality, through the built-in digital image cloud library and the similarity algorithm of the fusion scale skeleton matching degree and angle distribution characteristics, realize the efficient comparison and identification of digital area images, and complete the reading arrangement according to the image position. The system can also verify the reading results based on time series for continuity, ensure data accuracy, and break through the traditional manual meter reading mode. Through the multi-technology fusion, the system realizes the automatic and intelligent recognition of water meter reading, effectively improves the meter reading efficiency and data reliability.
[0084] The above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements will not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A visual recognition system for water meter dial readings, characterized in that: include: A camera module is used to collect and store water meter dial image data; Reference image cloud library, used to store digital images with the same form as the water meter dial readings; A segmentation module is used to receive the water meter dial image data stored in the camera module and segment the water meter dial image data to obtain a digital area image; A comparison module is used to obtain the digital region image obtained by segmentation in the segmentation module, and use the digital region image as a comparison target to perform similarity comparison with the digital images stored in the reference image cloud library to obtain the digital image with the highest similarity to each digital region image; an arrangement module for receiving the digital images obtained by the comparison module and arranging the digital images based on the position of the digital area images corresponding to the digital images in the comparison module and the water meter dial area image; The recording and verification module is used to receive the digital image arrangement results from the arrangement module, distinguish, record and verify the digital image arrangement results; The camera module has a built-in sensing component, which includes a distance sensor and a gyroscope. The number of the distance sensors is not less than three, and the number of the gyroscope is one. The operating state of the camera module is manually switched on or off by the user end; When the camera module is turned on, the sensing component operates synchronously. The user holds the camera module facing the water meter dial and moves it around the camera module at a constant speed. The movement path is in the shape of "∞". The gyroscope and distance sensor in the sensing component sense their own status information in real time. When any of the following forms is sensed, the camera module is triggered to operate and collect image data of the water meter dial: Form 1: The gyroscope senses that the device is in a vertical position, and the distance sensors all sense the same thing, all within the preset sensing range. Form 2: The gyroscope senses that it is horizontal, and the sensing results of each distance sensor are consistent and within the preset sensing distance range; There are nine digital images stored in the reference image cloud library, representing 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9 respectively. Each digital image is located in the center of a preset digital frame, and a water meter dial image frame is also provided outside the digital frame; The segmentation module operates on the received water meter dial image data, i.e., the water meter dial region image most recently stored in the storage unit. Before segmenting the water meter dial image data to obtain the digital region image, the segmentation module synchronously performs a geometric scaling operation on the water meter dial region image, i.e., scaling the water meter dial region image with reference to the water meter dial image frame so that the water meter dial region image is equal in size to the water meter dial image frame and their edges overlap; Among them, the water meter dial image frame refers to the digital display area in the actual water meter dial, and several digital frames are set at the same position. The segmentation module segments the water meter dial image data to obtain the digital area image, that is, in the water meter dial area image after the zoom operation is completed, the water meter dial area image is segmented with reference to the corresponding positions of the several digital frames set inside the water meter dial image frame to obtain several area images corresponding to the digital frames, which are recorded as digital area images.
2. A visual recognition system for water meter dial readings according to claim 1, characterized in that: During the operation phase of the camera module, the user holds the camera module in front of the water meter dial and collects image data of the water meter dial in conjunction with focus and exposure. A preprocessing unit and a storage unit are provided at the lower level of the camera module. The preprocessing unit is used to traverse the water meter surface image data and extract the water meter dial area image from the water meter dial image data. The storage unit is used to receive the water meter dial area image extracted by the preprocessing unit and store the water meter dial area image. Among them, each time the camera module collects water meter dial image data, the water meter dial image data is synchronously marked with the text mark of the source household number and the collection timestamp. When the water meter dial image data is extracted based on the water meter dial area image by the preprocessing unit and stored in the storage unit, the water meter dial area image is still marked based on the household number text mark and collection timestamp mark of the water meter dial image data that is the source of the water meter dial area image.
3. A visual recognition system for water meter dial readings according to claim 2, characterized in that: During the operation phase of the preprocessing unit, the water meter dial image data collected by the camera module is received, the water meter dial image data is converted into a grayscale image, a water meter dial contour image is extracted from the grayscale image, a maximum contour is picked up from the water meter dial contour image, and the water meter dial image data is segmented using the maximum contour at a corresponding position in the water meter dial image data. The local image within the segmented maximum contour is recorded as a water meter dial area image; Among them, when the water meter dial area image is stored through the storage unit, the storage unit synchronizes the marking information of the water meter dial area images in the table, and distinguishes and stores the water meter dial area images according to the household number text mark based on the marking information, and sorts and stores them according to the collection timestamp mark.
4. A visual recognition system for water meter dial readings according to claim 1, characterized in that: Before the segmentation module executes segmentation to obtain the digital area image, it simultaneously performs definition enhancement processing on the received water meter dial area image: ; Where: The water meter dial area image output for clarity enhancement processing; This is the water meter dial area image after adaptive median filtering denoising; is the sharpening strength factor; is the local contrast enhancement factor; is the Laplacian operator of the denoised image; in, , represents the local standard deviation at the point (x, y), Represents the adjustment factor, which is used to control the degree of contrast enhancement. represents the local mean at the point (x, y), Represents a very small constant.
5. A visual recognition system for water meter dial readings according to claim 1, characterized in that: In the comparison module, the similarity comparison logic between the digital region image and the digital image is expressed as: ; Where: is the similarity between the digital region image and the digital image; 、 is the weight; is the Hausdorff distance of the scale skeleton point set of the digital image / digital region image, that is, the scale skeleton matching degree; are the maximum and minimum values of Hausdorff distance obtained through digital image statistics; is the total number of sector areas; is the normalized angle distribution vector of the i-th sector area of the digital image; is the normalized angle distribution vector of the i-th sector area of the digital area image; Here, a similarity comparison is performed on each combination of the digital region image and the digital image based on the above formula.
6. A visual recognition system for water meter dial readings according to claim 1, characterized in that: The recording and verification module records the digital image arrangement results, that is, records the arranged digital images, each set of recorded digital images carries the same mark as the source water meter dial area image, and when recording the digital image arrangement results, the records are distinguished based on the household number in the mark content, and the records are arranged based on the acquisition timestamp in the mark content; The verification target of the recording and verification module for the digital image arrangement result is: for each distinguished recording interval, the verification operation is: reading each group of digital images arranged and recorded in the recording interval, and sorting each reading result based on the arrangement position of each group of corresponding digital images. When the sorted reading results show a continuous upward trend or no growth trend, the verification result is correct; otherwise, the verification result is incorrect.
7. A visual recognition system for water meter dial readings according to claim 1, characterized in that: The lower level of the camera module is interactively connected with the preprocessing unit and the storage unit through a wireless network, the camera module is interactively connected with the reference image cloud library and the segmentation module through a wireless network, the segmentation module is interactively connected with the storage unit through a wireless network, the segmentation module is interactively connected with the comparison module and the arrangement module through a wireless network, and the arrangement module is interactively connected with the recording and verification module through a wireless network.
8. A method for visually recognizing water meter dial readings, the method being an implementation of a system for visually recognizing water meter dial readings as claimed in any one of claims 1 to 7, characterized in that: include: Step 1: Collect water meter dial image data and store the water meter dial image data; Step 2: Create a reference image cloud library and use the reference image cloud library to store digital images; Step 3: Obtain the stored water meter dial image data, and segment the water meter dial image data to obtain a digital area image; Step 4: Compare the digital region image with the digital images stored in the reference image cloud library to obtain the digital image with the highest similarity to the digital region image; Step 5: Obtain the water meter dial reading by combining the acquired digital images, and record and verify the reading.
Citation Information
Patent Citations
A water meter dial reading recognition method and system
CN119942506B
Mechanical water meter reading method and system
CN113255525A