Water meter flow indication identification method and system based on water meter pointer

Through the adaptive angle recognition and angle synthesis method, the red pointer part in the water meter image is extracted for efficient identification, which solves the problem of poor adaptability of water meter flow recognition in the prior art, and achieves efficient and accurate water meter flow recognition.

CN115546281BActive Publication Date: 2024-11-01SHANDONG HOUDE MEASUREMENT & CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211267986.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-17
Publication Date
2024-11-01
Estimated Expiration
2042-10-17

AI Technical Summary

Technical Problem

The existing water meter flow number identification method based on image processing has a long training process, high cost and poor adaptability, and it is impossible to effectively identify the flow number of water meters of various specifications.

Method used

Adaptive angle recognition method and flow-based angle synthesis method are used to capture water meter images through the camera, extract the red part, perform median filtering and disconnection operations, and use flood filling to obtain binary image of the pointer part, and perform adaptive angle recognition. And calculate the water meter flow through the pointer rotation angle.

Benefits of technology

It realizes more efficient and higher precision water meter flow recognition, improves the adaptability of different water meter flow representations, simplifies the training process, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115546281B_ABST
    Figure CN115546281B_ABST
Patent Text Reader

Abstract

The present invention provides a water meter flow indication recognition method and system based on a water meter pointer, which obtains at least two frames of water meter image data taken by a camera in a time sequence; for each frame of image, the following pointer angle recognition operations are performed respectively: a red part is extracted, and the image after the red part is extracted is subjected to median filtering and disconnection operations in sequence, the association between the pointer and other interference areas is disconnected, a binary image of the pointer part is obtained by flood filling starting from the center point of the image, and the binary image of the pointer part is subjected to adaptive angle recognition to obtain a pointer angle recognition result; for the pointer recognition result of each frame of image, a flow-based angle synthesis method is used to obtain the angle through which the pointer has rotated, and the water meter flow recognition result is obtained by the angle through which the pointer has rotated; the present invention realizes more efficient and higher-precision water meter flow recognition through an adaptive angle recognition method and a flow-based angle synthesis method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of water meter verification and water meter monitoring, and in particular to a water meter flow indication identification method and system based on a water meter pointer. Background Art

[0002] The statements in this section merely provide background art related to the present invention and do not necessarily constitute prior art.

[0003] Water meter is the main measuring instrument for tap water users to measure water usage. The water meter measurement data is used to determine the water fee. Water meter calibration is a process that is carried out in accordance with the regulations of the national legal measurement department and related organizational departments. Generally, a series of tests are conducted to measure the error of the water value and conduct mandatory assessment of the water meter.

[0004] When calibrating a water meter, the manual visual reading of the water meter reading is time-consuming, prone to errors, and cannot achieve automated calibration. Therefore, most current methods use cameras or still cameras to capture meter images in real time, and apply image processing and pattern recognition technology. Computers are used instead of manual reading of the meter readings. Electronic scales are used to weigh the amount of water flowing through the calibration process, and the metering error of the water meter can be automatically calculated.

[0005] However, the inventors have found that most of the existing water meter flow indication recognition methods based on image processing require a long training process and are costly, and the trained models are often unable to adaptively recognize the flow indications of water meters of various specifications and have poor adaptability. Summary of the invention

[0006] In order to address the deficiencies in the prior art, the present invention provides a method and system for identifying water meter flow indication based on a water meter pointer, which achieves more efficient and higher precision water meter flow identification through an adaptive angle recognition method and a flow-based angle synthesis method.

[0007] In order to achieve the above object, the present invention adopts the following technical solution:

[0008] A first aspect of the present invention provides a method for identifying a water meter flow indication based on a water meter pointer.

[0009] A method for identifying water meter flow indication based on water meter pointer includes the following steps:

[0010] Acquire at least two frames of water meter image data captured by a camera in time sequence;

[0011] For each frame image, perform the following pointer angle recognition operations:

[0012] Extract the red part, perform median filtering and disconnection operations on the image after the red part is extracted, disconnect the pointer from other interference areas, use flood filling starting from the center point of the image to obtain a binary image of the pointer part, perform adaptive angle recognition on the binary image of the pointer part, and obtain the pointer angle recognition result;

[0013] For the pointer recognition results of each frame image, the angle of the pointer rotation is obtained based on the flow angle synthesis method, and the water meter flow recognition result is obtained through the angle of the pointer rotation.

[0014] As an optional implementation, extracting the red part includes:

[0015] The acquired image data is converted into HSV format to obtain the color areas corresponding to the red part, and the red part extraction result is obtained after merging the color areas.

[0016] As an optional implementation, adaptive angle recognition includes:

[0017] Calculate thresholds T1 and T2 based on the height of the binary image I;

[0018] Calculate the distance between each non-zero pixel in the image and the center point c of the image to form a distance matrix D;

[0019] According to the distance matrix D, compare the coordinate distance between each non-zero pixel and the center point, copy the binary image I to I1, retain all pixels with a distance greater than T1, and set all pixels that do not meet the conditions to zero;

[0020] Copy I to I2, keep all pixels whose distance is less than T2, and set all pixels that do not meet the conditions to zero;

[0021] Calculate the centroid of I1 and I2, average the row and column numbers of all non-zero pixels in I1 to get the centroid P1 of I1, and average the row and column numbers of all non-zero pixels in I2 to get the center point P2 of I2;

[0022] Calculate the ratio R1 of the number of non-zero pixels to the number of all pixels in I1, and correct T1 according to R1;

[0023] The inclination angle of line segment P2P1 is taken as the final angle recognition result.

[0024] As a further limitation, the centroid P1 of I1 is obtained by averaging the row and column numbers of all non-zero pixels in I1, including:

[0025]

[0026] Among them, N i (I1) is the set of row numbers of all non-zero points in I1, Nj (I1) is the set of column numbers of all non-zero points in I1, and c1 is the number of non-zero pixels in I1.

[0027] As a further limitation, the center point P2 of I2 is obtained by averaging the row and column numbers of all non-zero pixels in I2, including:

[0028]

[0029] Among them, N i (I2) is the set of row numbers of all non-zero points in I2, N j (I2) is the set of column numbers of all non-zero points in I2, and c2 is the number of non-zero pixels in I2.

[0030] As a further limitation, T1 is corrected according to R1. If R1 is less than the threshold TR1, T1 is increased by the set value. If R1 is greater than the threshold TR2, T1 is reduced by the set value. If the above two conditions are not met, the inclination angle of the line segment P2P1 is output. Otherwise, the step of calculating the distance between each non-zero pixel in the image and the image center point c to form a distance matrix D is returned.

[0031] As an optional implementation method, a flow-based angle synthesis method includes:

[0032] For the acquired adjacent time-series frame images, if the current angle is greater than the last recognized angle, the total angle is the current angle minus the last recognized angle; otherwise, the total angle is: the sum of 360° and the current angle minus the difference between the last recognized angle.

[0033] A second aspect of the present invention provides a water meter flow indication identification system based on a water meter pointer.

[0034] A water meter flow indication identification system based on a water meter pointer, comprising:

[0035] The image acquisition module is configured to: acquire at least two frames of water meter image data captured by the camera in time sequence;

[0036] The angle recognition module is configured to: perform the following pointer angle recognition operations on each frame image: extract the red part, perform median filtering and disconnection operations on the image after the red part is extracted, disconnect the pointer from other interference areas, use flood filling with the center point of the image as the starting point to obtain a binary image of the pointer part, perform adaptive angle recognition on the binary image of the pointer part, and obtain a pointer angle recognition result;

[0037] The angle synthesis module is configured to: obtain the pointer rotation angle of the pointer recognition result of each frame image based on the flow angle synthesis method, and obtain the water meter flow recognition result based on the pointer rotation angle.

[0038] The third aspect of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps in the method for identifying water meter flow indication based on water meter pointer as described in the first aspect of the present invention.

[0039] The fourth aspect of the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the method for identifying water meter flow indication based on water meter pointer as described in the first aspect of the present invention are implemented.

[0040] Compared with the prior art, the present invention has the following beneficial effects:

[0041] 1. The water meter flow indication identification method and system based on the water meter pointer of the present invention realizes more efficient and higher precision water meter calibration through an adaptive angle identification method and a flow-based angle synthesis method.

[0042] 2. The water meter flow indication recognition method and system based on the water meter pointer described in the present invention performs adaptive recognition of the pointer angle according to the pixel points of the binary image, without the need for excessive training process, thereby greatly improving the adaptability of different water meter flow indication recognition.

[0043] 3. The water meter flow indication recognition method and system based on the water meter pointer of the present invention, through a flow-based angle synthesis method, after extracting the image of each frame, successively synthesizes the images of each frame, thereby quickly realizing the water meter flow indication recognition.

[0044] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0046] Figure 1 A schematic flow chart of a method for identifying water meter flow indication based on water meter pointer provided in Example 1 of the present invention.

[0047] Figure 2 A schematic diagram of the principle of pointer angle recognition provided in Example 1 of the present invention is shown below.

[0048] Figure 3 FIG2 is a schematic diagram showing the principle of pointer angle recognition provided in Example 1 of the present invention.

[0049] Figure 4 This is a schematic diagram of the principle of the red part extraction method provided in Example 1 of the present invention.

[0050] Figure 5 A schematic flow chart of an adaptive pointer angle recognition method provided in Example 1 of the present invention. DETAILED DESCRIPTION

[0051] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0052] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.

[0053] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0054] In the absence of conflict, the embodiments of the present invention and the features of the embodiments may be combined with each other.

[0055] Embodiment 1:

[0056] like Figure 1 , Figure 2 and Figure 3 As shown, Embodiment 1 of the present invention provides a method for identifying water meter flow indication based on water meter pointer, which uses computer vision method to identify water meter flow indication, first uses YOLOV5 algorithm to locate the pointer, then waits for detection to start, after the detection starts, the camera reads the image, extracts the pointer part in the read image, then performs image angle detection, performs flow-based angle synthesis on the detected angle, obtains the real-time numerical value of the angle through which the pointer rotates, and determines whether the detection is completed, when the detection is completed, converts the pointer rotation angle into flow to obtain the water meter flow indication, and completes the identification process.

[0057] For any frame pointer image, this embodiment gives the angle at which its pointer points. The whole method first extracts the red part, then uses a median filter to remove noise, then uses a disconnect operation to disconnect the connections between each part, uses flood filling to eliminate background interference, uses an adaptive threshold selection algorithm to calculate the center point and endpoints, and finally calculates the angle based on the endpoints and the center point.

[0058] Figure 3 In the figure, (1) is the original image, (2) is the result after the red part is extracted, (3) is the result after median filtering and disconnection operation, (4) is the result after flood filling, and (5) is the recognition result.

[0059] Specifically, the process includes the following:

[0060] S1: Red part extraction

[0061] Use the color region method to extract, first obtain two regions that meet the conditions, and then merge them;

[0062] The interval of area A is: [156, 70, 46] < [h, s, v] < [180, 255, 255];

[0063] The interval of area B is: [0, 70, 46] < [h, s, v] < [10, 255, 255].

[0064] S2: Median filtering and disconnection operation

[0065] A median filter is used to remove dust and noise, and a disconnection operation is used to disconnect the pointer from other interfering areas.

[0066] S3: Extract the pointer part

[0067] Then, a flood filling with the center point of the image as the starting point is used to obtain a binary image of the pointer part.

[0068] S4: Adaptive pointer angle recognition

[0069] like Figure 4 As shown, the binary image I of the pointer part obtained by S3 is processed as follows:

[0070] S4.1: First, calculate the thresholds T1 and T2, assuming the image height is h, and θ1 and θ2 are empirical parameters;

[0071] T1=hθ1 (1)

[0072] T2=hθ2 (2)

[0073] S4.2: Calculate the distance between each non-zero pixel in the image and the image center point c to form a distance matrix D:

[0074]

[0075] Where: D ij is the distance between the pixel in row i and column j and the center point c, c i is the row number of the center point of the image, c j is the column number of the center point of the image.

[0076] S4.3: Compare the coordinate distance between each non-zero pixel and the center point according to D, copy I to I1, retain all pixels whose distance is greater than T1, and set all pixels that do not meet the conditions to zero:

[0077]

[0078] Among them, i1(i,j) is the pixel value of the pixel of i1 in the i row and j column.

[0079] Copy I to I2, keep all pixels whose distance is less than T2, and set all pixels that do not meet the condition to zero.

[0080]

[0081] S4.4: Calculate the centroid of i1 and i2, average the row and column numbers of all non-zero pixels in i1 to obtain the centroid P1 of i1, and average the row and column numbers of all non-zero pixels in i2 to obtain the center point P2 of i2:

[0082]

[0083] Among them, N i (I1) is the set of row numbers of all non-zero points in I1, N j (I1) is the set of column numbers of all non-zero points in I1, c1 is the number of non-zero pixels in I1;

[0084]

[0085] Among them, N i (I2) is the set of row numbers of all non-zero points in I2, N j (I2) is the set of column numbers of all non-zero points in I2, and c2 is the number of non-zero pixels in I2.

[0086] S4.5: Calculate the ratio R1 of the number of non-zero pixels to the number of all pixels in I1.

[0087] S4.6: Modify T1 according to R1. If R1 is less than the threshold TR1, T1 is increased by 0.1. If R1 is greater than the threshold TR2, T1 is decreased by 0.1. If the above two conditions are not met, enter S4.7, otherwise return to S4.2.

[0088] S4.7: Find the inclination angle of line segment P2P1.

[0089] S5: Flow-based perspective synthesis

[0090] In water meter flow detection, the camera will periodically collect water meter images. The red pointer can be located using the YOLOv5-based positioning algorithm. The angle information of the red pointer can be obtained using the above-mentioned angle recognition algorithm. The angle information of a single red pointer in the image sequence collected by the camera is combined to obtain the valid data of the angle of rotation of the red pointer.

[0091] The specific algorithm flow is as follows:

[0092]

[0093]

[0094] Embodiment 2:

[0095] Embodiment 2 of the present invention provides a water meter flow indication identification system based on a water meter pointer, comprising:

[0096] The image acquisition module is configured to: acquire at least two frames of water meter image data captured by the camera in time sequence;

[0097] The angle recognition module is configured to: perform the following pointer angle recognition operations on each frame image: extract the red part, perform median filtering and disconnection operations on the image after the red part is extracted, disconnect the pointer from other interference areas, use flood filling with the center point of the image as the starting point to obtain a binary image of the pointer part, perform adaptive angle recognition on the binary image of the pointer part, and obtain a pointer angle recognition result;

[0098] The angle synthesis module is configured to: obtain the pointer rotation angle of the pointer recognition result of each frame image based on the flow angle synthesis method, and obtain the water meter flow recognition result based on the pointer rotation angle.

[0099] The working method of the system is the same as the water meter flow indication identification method based on the water meter pointer provided in Example 1, and will not be repeated here.

[0100] Embodiment 3:

[0101] Embodiment 3 of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the steps of the method for identifying water meter flow indication based on water meter pointer as described in Embodiment 1 of the present invention are implemented.

[0102] Embodiment 4:

[0103] Embodiment 4 of the present invention provides an electronic device, comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the method for identifying water meter flow indication based on water meter pointer as described in Embodiment 1 of the present invention are implemented.

[0104] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.

[0105] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0106] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0107] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0108] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0109] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for identifying water meter flow indication based on water meter pointer, characterized in that: The process includes: Acquire at least two frames of water meter image data captured by a camera in time sequence; For each frame image, perform the following pointer angle recognition operations: Extract the red part, perform median filtering and disconnection operations on the image after the red part is extracted, disconnect the pointer from other interference areas, use flood filling starting from the center point of the image to obtain a binary image of the pointer part, perform adaptive angle recognition on the binary image of the pointer part, and obtain the pointer angle recognition result; Based on the angle synthesis method of flow, the pointer rotation angle of each frame image is used to obtain the pointer recognition result, and the water meter flow recognition result is obtained through the pointer rotation angle. Adaptive angle recognition includes: calculating thresholds T1 and T2 according to the height of the binary image I; calculating the distance between each non-zero pixel in the image and the center point c of the image to form a distance matrix D; comparing the coordinate distance between each non-zero pixel and the center point according to the distance matrix D, copying the binary image I to I1, retaining all pixels with a distance greater than T1, and setting all pixels that do not meet the conditions to zero; copying I to I2, retaining all pixels with a distance less than T2, and setting all pixels that do not meet the conditions to zero; calculating the centroid of I1 and I2, averaging the row and column numbers of all non-zero pixels in I1 to obtain the centroid R1 of I1, averaging the row and column numbers of all non-zero pixels in I2 to obtain the center point P2 of I1; calculating the ratio R1 of the number of non-zero pixels to the number of all pixels in I1, and correcting T1 according to R1; taking the inclination angle of the line segment P2P1 as the final angle recognition result; The centroid P1 of I1 is obtained by averaging the row and column numbers of all non-zero pixels in I1, including: Among them, N i (I1) is the set of row numbers of all non-zero points in I1, N j (I1) is the set of column numbers of all non-zero points in I1, c1 is the number of non-zero pixels in I1; The center point P2 of I2 is obtained by averaging the row and column numbers of all non-zero pixels in I2, including: Among them, N i (I2) is the set of row numbers of all non-zero points in I2, N j (I2) is the set of column numbers of all non-zero points in I2, c2 is the number of non-zero pixels in I2; Correct T1 according to R1. If R1 is less than the threshold TR1, increase T1 by the set value. If R1 is greater than the threshold TR2, decrease T1 by the set value. If the above two conditions are not met, output the inclination angle of the line segment P2P1. Otherwise, return to the step of calculating the distance between each non-zero pixel in the image and the center point c of the image to form a distance matrix D. The flow-based angle synthesis method includes: for adjacent time-series frame images acquired, if the current angle is greater than the angle recognized last time, the total angle is the current angle minus the angle recognized last time; otherwise, the total angle is: the sum of 360° and the current angle minus the difference between the angle recognized last time.

2. The water meter flow indication identification method based on the water meter pointer according to claim 1, characterized in that: Extract the red part, including: The acquired image data is converted into HSV format to obtain the color areas corresponding to the red part, and the red part extraction result is obtained after merging the color areas.

3. A water meter flow indication identification system based on a water meter pointer, characterized in that: include: The image acquisition module is configured to: acquire at least two frames of water meter image data taken by the camera in time sequence; The angle recognition module is configured to: perform the following pointer angle recognition operations on each frame image: extract the red part, perform median filtering and disconnection operations on the image after the red part is extracted, disconnect the pointer from other interference areas, use flood filling with the center point of the image as the starting point to obtain a binary image of the pointer part, perform adaptive angle recognition on the binary image of the pointer part, and obtain a pointer angle recognition result; The angle synthesis module is configured to: obtain the pointer rotation angle based on the flow angle synthesis method for the pointer recognition result of each frame image, and obtain the water meter flow recognition result based on the pointer rotation angle; Adaptive angle recognition includes: calculating thresholds T1 and T2 according to the height of the binary image I; calculating the distance between each non-zero pixel in the image and the center point c of the image to form a distance matrix D; comparing the coordinate distance between each non-zero pixel and the center point according to the distance matrix D, copying the binary image I to I1, retaining all pixels with a distance greater than T1, and setting all pixels that do not meet the conditions to zero; copying I to I2, retaining all pixels with a distance less than T2, and setting all pixels that do not meet the conditions to zero; calculating the centroid of I1 and I2, averaging the row and column numbers of all non-zero pixels in I1 to obtain the centroid P1 of I1, averaging the row and column numbers of all non-zero pixels in I2 to obtain the center point P2 of I1; calculating the ratio R1 of the number of non-zero pixels to the number of all pixels in I1, and correcting T1 according to R1; taking the inclination angle of the line segment P2P1 as the final angle recognition result; The centroid P1 of I1 is obtained by averaging the row and column numbers of all non-zero pixels in I1, including: Among them, N i (I1) is the set of row numbers of all non-zero points in I1, N j (I1) is the set of column numbers of all non-zero points in I1, c1 is the number of non-zero pixels in I1; The center point P2 of I2 is obtained by averaging the row and column numbers of all non-zero pixels in I2, including: Among them, N i (I2) is the set of row numbers of all non-zero points in I2, N j (I2) is the set of column numbers of all non-zero points in I2, c2 is the number of non-zero pixels in I2; Correct T1 according to R1. If R1 is less than the threshold TR1, increase T1 by the set value. If R1 is greater than the threshold TR2, decrease T1 by the set value. If the above two conditions are not met, output the inclination angle of the line segment P2P1. Otherwise, return to the step of calculating the distance between each non-zero pixel in the image and the center point c of the image to form a distance matrix D. The flow-based angle synthesis method includes: for adjacent time-series frame images acquired, if the current angle is greater than the angle recognized last time, the total angle is the current angle minus the angle recognized last time; otherwise, the total angle is: the sum of 360° and the current angle minus the difference between the angle recognized last time.

4. A computer-readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the steps in the method for identifying water meter flow indication based on a water meter pointer as described in any one of claims 1-2 are implemented.

5. An electronic device comprising a memory, a processor, and a program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the water meter flow indication identification method based on the water meter pointer as described in any one of claims 1-2 are implemented.