CN117894032A - Water meter reading identification method, system, electronic equipment and storage medium - Google Patents
Water meter reading identification method, system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117894032A CN117894032A CN202410289638.5A CN202410289638A CN117894032A CN 117894032 A CN117894032 A CN 117894032A CN 202410289638 A CN202410289638 A CN 202410289638A CN 117894032 A CN117894032 A CN 117894032A
- Authority
- CN
- China
- Prior art keywords
- water meter
- picture
- reading
- identification
- character wheel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 title claims abstract description 108
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000001514 detection method Methods 0.000 claims abstract description 39
- 238000004891 communication Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012549 training Methods 0.000 claims description 8
- 238000007781 pre-processing Methods 0.000 claims description 7
- 230000002452 interceptive effect Effects 0.000 claims description 3
- 102100032202 Cornulin Human genes 0.000 claims 1
- 101000920981 Homo sapiens Cornulin Proteins 0.000 claims 1
- 230000008569 process Effects 0.000 description 10
- 230000009286 beneficial effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000013527 convolutional neural network Methods 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000011218 segmentation Effects 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000004927 fusion Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 239000008399 tap water Substances 0.000 description 2
- 235000020679 tap water Nutrition 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003709 image segmentation Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 230000000306 recurrent effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000013518 transcription Methods 0.000 description 1
- 230000035897 transcription Effects 0.000 description 1
- 239000013598 vector Substances 0.000 description 1
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention provides a water meter reading identification method, a water meter reading identification system, electronic equipment and a storage medium, which comprise the following steps: invoking a text detection algorithm to identify a character wheel area in a picture containing the water meter so as to acquire an identification frame comprising the character wheel area; taking a line parallel to the length direction or the width direction of the identification frame as a reference line, and rotating the picture according to the transverse or vertical included angle between the reference line and the picture so as to enable the character wheel area to rotate to a target state; and identifying and reading the water meter. The identification frame generated based on the text detection algorithm adjusts the picture, can cope with various scenes identified by the water meter, and has higher efficiency and less mobilization resources.
Description
Technical Field
The invention relates to the technical field of information, in particular to a water meter reading identification method, a water meter reading identification system, electronic equipment and a storage medium.
Background
The check and approval of the water consumption of residents by a tap water company are usually combined by manual meter reading and remote reading. The remote water meter has high cost and lacks a verification mechanism for the accuracy of the transmission content; the manual meter reading efficiency is low and the mistakes are easy to occur. In order to better perform meter reading work and improve resident satisfaction, a tap water company usually records original data in a photographing mode while reading the meter so as to reserve for investigation. In the face of a large number of water meter pictures, a worker cannot check each water meter reading with the water meter pictures one by one, and only when customer complaints are received, the taken pictures at that time can be found for verification, so that the accuracy of meter reading data cannot be guaranteed.
In the prior art, although a method for automatically identifying the reading of the water meter is provided, the method is mostly dependent on the geometrical elements of the water meter, the identification scene is more limited, and the resource is more mobilized. There is a lack of a simple and effective solution for water meter identification reading.
Disclosure of Invention
The invention aims to provide a water meter reading identification method, a water meter reading identification system, electronic equipment and a storage medium, wherein pictures are adjusted based on an identification frame generated by a text detection algorithm, so that various water meter identification scenes can be dealt with, the efficiency is higher, and the mobilization resources are fewer.
In order to achieve the above purpose, the present invention provides a water meter reading identification method, comprising the following steps: invoking a text detection algorithm to identify a character wheel area in a picture containing the water meter so as to acquire an identification frame comprising the character wheel area; taking a line parallel to the length direction or the width direction of the identification frame as a reference line, and rotating the picture according to the transverse or vertical included angle between the reference line and the picture so as to enable the character wheel area to rotate to a target state; and identifying and reading the water meter.
Optionally, the text detection algorithm includes a DB algorithm.
Optionally, when the DB algorithm is invoked to identify the word wheel region in the picture, a text bounding box is generated using a probability map or an approximate binary map to obtain the identification box including the word wheel region.
Optionally, before invoking the text detection algorithm to identify the character wheel region in the picture containing the water meter, performing image preprocessing on the picture.
Optionally, the image preprocessing specifically includes at least one of the following processing modes: rotating the picture by a preset angle; splicing the picture with any plurality of comparison pictures; and turning over the picture.
Optionally, the identifying and reading the reading of the water meter specifically includes: and calling a CRNN network to identify the character wheel area so as to acquire the reading of the character wheel area.
Optionally, the identifying and reading the reading of the water meter specifically includes: training a target detection model so that the target detection model can uniformly divide the circumference into a plurality of sector areas and assign different values to different sector areas; invoking the target detection model to identify a pointer area of the water meter so as to identify the position of a sector area where a pointer of the pointer area is located, and acquiring the reading of the pointer area according to the position of the sector area where the pointer is located.
The invention also provides a water meter reading identification system, which is applied to the water meter reading identification method of any one of the above, and comprises the following steps: the first execution module is used for calling the text detection algorithm to identify the character wheel area in the picture containing the water meter so as to acquire the identification frame comprising the character wheel area; the second execution module is used for rotating the picture by taking a line parallel to the length direction or the width direction of the identification frame as a reference line according to the transverse or vertical included angle between the reference line and the picture so as to enable the character wheel area to rotate to a target state; and the identification module is used for identifying and reading the reading of the water meter.
The invention also provides an electronic device comprising: a memory storing a computer program; the processor is in communication connection with the memory, and executes the water meter reading identification method according to any one of the above when the computer program is called; and the display is in communication connection with the processor and the memory and is used for displaying a GUI interactive interface related to the water meter reading identification method.
The invention also provides a storage medium storing a computer program which when executed by a processor implements the water meter reading identification method of any one of the above.
The water meter reading identification method, the water meter reading identification system, the electronic equipment and the storage medium provided by the invention have the following beneficial effects:
The invention provides a water meter reading identification method, which comprises the following steps: invoking a text detection algorithm to identify a character wheel area in a picture containing the water meter so as to acquire an identification frame comprising the character wheel area; taking a line parallel to the length direction or the width direction of the identification frame as a reference line, and rotating the picture according to the transverse or vertical included angle between the reference line and the picture so as to enable the character wheel area to rotate to a target state; and identifying and reading the water meter. According to the method, the identification frame is generated by using the text detection algorithm, the picture is adjusted by using the geometric property of the identification frame, the identification and adjustment processes are completed in the dimension of the algorithm without depending on the identification of geometric elements of the water meter, the calling resources are fewer, and the identification efficiency and accuracy are higher.
The invention also provides a water meter reading identification system, because the water meter reading identification system and the water meter reading identification method belong to the same invention conception, the retrieval system generates an identification frame by using a text detection algorithm, adjusts pictures by using the geometrical properties of the identification frame, does not depend on the identification of geometrical elements of the water meter, completes the identification and adjustment processes in algorithm dimension, has fewer calling resources and has higher identification efficiency and accuracy.
The invention also provides electronic equipment, because the electronic equipment and the water meter reading identification method belong to the same invention conception, the electronic equipment generates an identification frame by using a text detection algorithm, adjusts a picture by using the geometrical property of the identification frame, does not depend on the identification of geometrical elements of the water meter, completes the identification and adjustment processes in algorithm dimension, has fewer calling resources and has higher identification efficiency and accuracy.
The invention also provides a storage medium, because the storage medium and the water meter reading identification method belong to the same invention conception, the storage medium generates an identification frame by using a text detection algorithm, adjusts a picture by using the geometrical property of the identification frame, does not depend on the identification of geometrical elements of the water meter, completes the identification and adjustment processes in the dimension of the algorithm, has fewer calling resources and has higher identification efficiency and accuracy.
Drawings
Fig. 1 is a flow chart of a water meter reading identification method according to an embodiment of the invention.
Fig. 2 is a schematic block diagram of an electronic device according to an embodiment of the invention.
Wherein the reference numerals are as follows:
a 101-processor; 102-a communication interface; 103-memory; 104-a communication bus; 105-display.
Detailed Description
The invention will be described in further detail with reference to the drawings and the specific embodiments thereof in order to make the objects, advantages and features of the invention more apparent. It should be noted that the drawings are in a very simplified form and are not drawn to scale, merely for convenience and clarity in aiding in the description of embodiments of the invention. Furthermore, the structures shown in the drawings are often part of actual structures. In particular, the drawings are shown with different emphasis instead being placed upon illustrating the various embodiments.
It will be understood that when an element or layer is referred to as being "on" or "connected to" another element or layer, it can be directly on, connected to, or comprise the intervening element or layer. In contrast, when an element is referred to as being "directly on" …, "directly connected to" another element or layer, there are no intervening elements or layers involved. Although the terms first, second, third, etc. may be used herein to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or section from another element, component, region, layer or section. Thus, a first element, component, region, layer or section discussed below could be termed a second element, component, region, layer or section without departing from the teachings of the present invention. Spatially relative terms, such as "beneath … …," "below," "lower," "above … …," "above," "upper," and the like, may be used herein for ease of description to describe one element or feature's relationship to another element or feature as illustrated in the figures. It will be understood that the spatially relative terms are intended to encompass different orientations of the device in use and operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements or features described as "below" … …, "beneath" or "beneath" would then be oriented "on" other elements or features. The device may be otherwise oriented (rotated 90 degrees or other orientations) and the spatially relative descriptors used herein interpreted accordingly. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups. As used herein, the term "and/or" includes any and all combinations of the associated listed items.
The invention aims to provide a water meter reading identification method, a water meter reading identification system, electronic equipment and a storage medium, wherein pictures are adjusted based on an identification frame generated by a text detection algorithm, so that various water meter identification scenes can be dealt with, the efficiency is higher, and the mobilization resources are fewer.
Referring to fig. 1, fig. 1 is a flow chart of a water meter reading identification method according to an embodiment of the invention. As shown in fig. 1, to achieve the above object, the present invention provides a method for identifying a reading of a water meter, comprising the following steps:
invoking a text detection algorithm to identify a character wheel area in a picture containing the water meter so as to acquire an identification frame comprising the character wheel area;
Taking a line parallel to the length direction or the width direction of the identification frame as a reference line, and rotating the picture according to the transverse or vertical included angle between the reference line and the picture so as to enable the character wheel area to rotate to a target state;
And identifying and reading the water meter.
Under the general circumstances, operators often cannot completely shoot when shooting a water meter picture, the water meter can show an inclined state in the picture, and at the moment, the character wheel area and the pointer area are inclined in the picture, so that the picture needs to be aligned. The present invention is different from the prior art in that geometric elements of the water meter picture, such as straight lines of the water meter itself, are generally utilized in the prior art to align the picture based on the geometric elements. The disadvantage of this approach is that it is overly dependent on the geometric elements of the meter itself, resulting in a field Jing Shouxian of use for this solution, which would fail to identify if the meter was worn or slightly contaminated resulting in an unclear line. The invention directly generates the recognition frame of the character wheel area by using the text detection algorithm, adjusts the picture by using the geometric property of the recognition frame, does not depend on the recognition of geometric elements of the water meter, completes the recognition and adjustment processes in the dimension of the algorithm, has fewer calling resources and has higher recognition efficiency and accuracy. It should be understood that in one exemplary embodiment, the identification frame is rectangular, but not limited to this. It should be noted that, as will be understood by those skilled in the art, the identification and reading of the water meter may be implemented by using a target detection algorithm and OCR recognition technology in the view of the processor execution, which will not be described herein.
Specifically, the text detection algorithm includes a DB algorithm. DB is a segmentation-based text detection algorithm that proposes a differentiable threshold DIFFERENT TIABLE BINARIZATION MODULE (DB module) to distinguish text regions from background using a dynamic threshold. After the segmentation result is obtained by the method, a fixed threshold value is adopted to obtain a binarized segmentation map, and then a heuristic algorithm such as pixel clustering is adopted to obtain a text region. The DB algorithm has several advantages: 1. the algorithm is simple in structure and does not need complex post-treatment; 2. the method has good precision and performance on open source data. The DB algorithm has the main ideas that: first, an input image is input into the backbone of one feature pyramid. Secondly, the pyramid features are up-sampled to the same scale and transmitted to an adaptive scale fusion module to generate a context feature F, and then the feature F is utilized to predict a probability map and a threshold map. During training, the probability map, the threshold map, and the approximate binary map are supervised, wherein the probability map and the approximate binary map share the same supervision. During reasoning, bounding boxes are derived from an approximate binary map or a probability map by a regression box forming process, i.e. when the word wheel region in the picture is identified by invoking the DB algorithm, text bounding boxes are generated using the probability map or the approximate binary map to obtain the identification boxes comprising the word wheel region.
Further, before invoking the text detection algorithm to identify the character wheel area in the picture containing the water meter, performing image preprocessing on the picture. The main purpose of image preprocessing is to eliminate extraneous information in the image, recover useful real information, enhance the detectability of related information and maximally simplify data, thereby improving the reliability of feature extraction, image segmentation, matching and recognition. In an exemplary embodiment, the image preprocessing specifically includes at least one of the following processing modes: rotating the picture by a preset angle; splicing the picture with any plurality of comparison pictures; and turning over the picture. Image preprocessing may also be based on other technical principles.
Preferably, the identifying and reading the reading of the water meter specifically includes: and calling a CRNN network to identify the character wheel area so as to acquire the reading of the character wheel area. CRNN (Convolutional Recurrent Neural Network) is formed by combining a full convolutional neural network (FCN) and a cyclic neural network (RNN), and is mainly applied to scene text recognition (Scene Text Recognition, STR) tasks in images and texts. CRNN is a currently popular pattern recognition model that recognizes longer text sequences. The system comprises a CNN feature extraction layer and a BLSTM sequence feature extraction layer, and can perform end-to-end joint training. The text recognition method and device based on the BLSTM and CTC parts learn the context relation in the character image, so that the text recognition accuracy is effectively improved, and the model is more robust. In the prediction process, the front end uses a standard CNN network to extract the characteristics of a text image, a BLSTM is used for fusing the characteristic vectors to extract the context characteristics of a character sequence, then probability distribution of each row of characteristics is obtained, and finally a transcription layer (CT Crule) is used for predicting to obtain the text sequence. The network is mainly used for recognizing text sequences with indefinite lengths end to end, single characters are not required to be cut first, but text recognition is converted into sequence learning problems depending on time sequence, namely sequence recognition based on images, and recognition accuracy is improved.
Preferably, the identifying and reading the reading of the water meter specifically includes: training a target detection model so that the target detection model can uniformly divide the circumference into a plurality of sector areas and assign different values to different sector areas;
Invoking the target detection model to identify a pointer area of the water meter so as to identify the position of a sector area where a pointer of the pointer area is located, and acquiring the reading of the pointer area according to the position of the sector area where the pointer is located.
In one exemplary embodiment, pointer region readings are identified by the object detection technique of yolov. Specifically, the training stage marks the water meter pointer in the positive direction, the type of the marked image between the pointer points to 0-1 is 0, the type of the marked image between the pointer points to 1-2 is 1, the type of the marked image between the pointer points to 2-3 is 2, and so on, when the type of the marked image between the pointer points to 9-0 is 9, the marked data set is trained by a yolov algorithm, and the identification of the pointer area is completed. yolov8 is a yolo up-to-date series based on an object detection model that can provide the most advanced object detection performance up to now. With the previous yolo model version support techniques, the yolo model runs faster and more accurately while providing a unified framework for training models to perform tasks. The same training marking logic can also be applied to the character wheel area, and the character wheel can be in a condition that the character wheel display area stays between two numbers when rotating, and the smaller value of the two numbers is taken as a reading.
Finally, reading fusion is carried out: and fusing the recognition results of the character wheel region and the pointer region to form complete reading, wherein the pointer region is arranged from large to small according to the recognized pointer region, and the category with the largest x coordinate is 0.1 times, and is respectively 0.01, 0.001 and 0.0001 in sequence.
The invention also provides a water meter reading identification system, which is applied to the water meter reading identification method of any one of the above, and comprises the following steps:
the first execution module is used for calling the text detection algorithm to identify the character wheel area in the picture containing the water meter so as to acquire the identification frame comprising the character wheel area;
The second execution module is used for rotating the picture by taking a line parallel to the length direction or the width direction of the identification frame as a reference line according to the transverse or vertical included angle between the reference line and the picture so as to enable the character wheel area to rotate to a target state;
and the identification module is used for identifying and reading the reading of the water meter.
Because the water meter reading identification system and the water meter reading identification method belong to the same invention conception, the retrieval system generates an identification frame by using a text detection algorithm, adjusts a picture by using the geometrical property of the identification frame, does not depend on the identification of geometrical elements of the water meter, completes the identification and adjustment processes in the dimension of the algorithm, has fewer calling resources and has higher identification efficiency and accuracy.
Because the water meter reading identification system provided by the invention and the water meter reading identification method described above belong to the same inventive concept, the water meter reading identification system provided by the invention has all the advantages of the water meter reading identification method described above, so that the beneficial effects of the water meter reading identification system provided by the invention are not repeated one by one.
Referring to fig. 2, fig. 2 is a block diagram of an electronic device according to an embodiment of the invention. As shown in fig. 2, the present invention further provides an electronic device, including:
a memory 103 storing a computer program;
a processor 101, communicatively coupled to the memory, for executing any of the water meter reading identification methods described above when the computer program is invoked;
And a display 105, which is in communication with the processor and the memory, for displaying a GUI interactive interface related to the water meter reading identification method.
Because the electronic equipment and the water meter reading identification method belong to the same invention conception, the electronic equipment generates an identification frame by using a text detection algorithm, adjusts a picture by using the geometrical property of the identification frame, does not depend on the identification of geometrical elements of the water meter, completes the identification and adjustment processes in the dimension of the algorithm, has fewer calling resources and has higher identification efficiency and accuracy.
Because the electronic device provided by the invention and the water meter reading identification method described above belong to the same inventive concept, the electronic device provided by the invention has all the advantages of the water meter reading identification method described above, so that the beneficial effects of the electronic device provided by the invention are not repeated here.
As shown in fig. 2, the electronic device further comprises a communication interface 102 and a communication bus 104, wherein the processor 101, the communication interface 102, and the memory 103 communicate with each other via the communication bus 104. The communication bus 104 may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The communication bus 104 may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus. The communication interface 102 is used for communication between the electronic device and other devices.
The processor 101 of the present invention may be a central processing unit (Central Processing Unit, CPU), other general purpose processor, digital signal processor (DIGITAL SIGNAL processor, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf programmable gate array (field-programmable GATE ARRAY, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 101 is a control center of the electronic device, and connects various parts of the entire electronic device using various interfaces and lines.
The memory 103 may be used to store the computer program, and the processor 101 may implement various functions of the electronic device by running or executing the computer program stored in the memory 103 and invoking data stored in the memory 103.
The memory 103 may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The invention also provides a storage medium storing a computer program which when executed by a processor implements the water meter reading identification method of any one of the above.
Because the storage medium and the water meter reading identification method belong to the same invention conception, the storage medium generates an identification frame by using a text detection algorithm, and adjusts a picture by using the self geometric property of the identification frame, the identification and adjustment processes are completed in the dimension of the algorithm without depending on the identification of geometric elements of the water meter, the calling resources are fewer, and the identification efficiency and accuracy are higher.
Because the storage medium provided by the invention and the water meter reading identification method described above belong to the same inventive concept, the storage medium provided by the invention has all the advantages of the water meter reading identification method described above, so the beneficial effects of the storage medium provided by the invention are not repeated here.
The storage media of embodiments of the present invention may take the form of any combination of one or more computer-readable media. The readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer hard disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
It should be further noted that although the present invention has been disclosed in the preferred embodiments, the above embodiments are not intended to limit the present invention. Many possible variations and modifications of the disclosed technology can be made by anyone skilled in the art without departing from the scope of the technology, or the technology can be modified to be equivalent. Therefore, any simple modification, equivalent variation and modification of the above embodiments according to the technical substance of the present invention still fall within the scope of the technical solution of the present invention.
It should be further understood that the terms "first," "second," "third," and the like in this specification are used merely for distinguishing between various components, elements, steps, etc. in the specification and not for indicating a logical or sequential relationship between the various components, elements, steps, etc., unless otherwise indicated.
It should also be understood that the terminology described herein is for the purpose of describing particular embodiments only, and is not intended to limit the scope of the present invention. It must be noted that, as used herein and in the appended claims, the singular forms "a," "an," and "the" include plural referents unless the context clearly dictates otherwise. For example, reference to "a step" or "an apparatus" means a reference to one or more steps or apparatuses, and may include sub-steps as well as sub-apparatuses. All conjunctions used should be understood in the broadest sense. And, the word "or" should be understood as having the definition of a logical "or" rather than a logical "exclusive or" unless the context clearly indicates the contrary. Further, implementation of embodiments of the present invention may include performing selected tasks manually, automatically, or in combination.
Claims (10)
1. A method for identifying a reading of a water meter, comprising the steps of:
invoking a text detection algorithm to identify a character wheel area in a picture containing the water meter so as to acquire an identification frame comprising the character wheel area;
Taking a line parallel to the length direction or the width direction of the identification frame as a reference line, and rotating the picture according to the transverse or vertical included angle between the reference line and the picture so as to enable the character wheel area to rotate to a target state;
And identifying and reading the water meter.
2. The water meter reading identification method of claim 1 wherein the text detection algorithm comprises a DB algorithm.
3. The water meter reading identification method of claim 2 wherein upon invoking the DB algorithm to identify the word wheel region in the picture, a text bounding box is generated using a probability map or an approximate binary map to obtain the identification box comprising the word wheel region.
4. The method of claim 1, wherein the picture containing the water meter is image pre-processed prior to invoking the text detection algorithm to identify the character wheel area in the picture.
5. The method of claim 4, wherein the image preprocessing specifically includes at least one of the following:
rotating the picture by a preset angle;
splicing the picture with any plurality of comparison pictures;
and turning over the picture.
6. The method for identifying readings of a water meter as set forth in claim 1, wherein said identifying and reading readings of said water meter comprises:
And calling a CRNN network to identify the character wheel area so as to acquire the reading of the character wheel area.
7. The method for identifying readings of a water meter as set forth in claim 1, wherein said identifying and reading readings of said water meter comprises:
Training a target detection model so that the target detection model can uniformly divide the circumference into a plurality of sector areas and assign different values to different sector areas;
Invoking the target detection model to identify a pointer area of the water meter so as to identify the position of a sector area where a pointer of the pointer area is located, and acquiring the reading of the pointer area according to the position of the sector area where the pointer is located.
8. A water meter reading identification system for use in a water meter reading identification method as claimed in any one of claims 1 to 7, comprising:
the first execution module is used for calling the text detection algorithm to identify the character wheel area in the picture containing the water meter so as to acquire the identification frame comprising the character wheel area;
The second execution module is used for rotating the picture by taking a line parallel to the length direction or the width direction of the identification frame as a reference line according to the transverse or vertical included angle between the reference line and the picture so as to enable the character wheel area to rotate to a target state;
and the identification module is used for identifying and reading the reading of the water meter.
9. An electronic device, comprising:
A memory storing a computer program;
A processor in communication with said memory for executing the water meter reading identification method of any one of claims 1-7 when said computer program is invoked;
And the display is in communication connection with the processor and the memory and is used for displaying a GUI interactive interface related to the water meter reading identification method.
10. A storage medium storing a computer program, characterized by: the computer program, when executed by a processor, implements the water meter reading identification method of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410289638.5A CN117894032A (en) | 2024-03-14 | 2024-03-14 | Water meter reading identification method, system, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410289638.5A CN117894032A (en) | 2024-03-14 | 2024-03-14 | Water meter reading identification method, system, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117894032A true CN117894032A (en) | 2024-04-16 |
Family
ID=90649139
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410289638.5A Pending CN117894032A (en) | 2024-03-14 | 2024-03-14 | Water meter reading identification method, system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117894032A (en) |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190154463A1 (en) * | 2017-11-21 | 2019-05-23 | International Business Machines Corporation | Flow meter reading with image recognition secured with mask and software connected by mobile device |
CN111444781A (en) * | 2020-03-09 | 2020-07-24 | 武汉理工大学 | Water meter reading identification method and equipment and storage medium |
US20210142099A1 (en) * | 2019-11-07 | 2021-05-13 | Sap Se | Pointer recognition for analog instrument image analysis |
CN113392834A (en) * | 2021-06-16 | 2021-09-14 | 广州观必达数据技术有限责任公司 | Character wheel water meter reading identification method and system based on deep learning |
CN113392827A (en) * | 2021-06-22 | 2021-09-14 | 平安健康保险股份有限公司 | Character recognition method, device, equipment and medium |
CN113642582A (en) * | 2021-08-13 | 2021-11-12 | 中国联合网络通信集团有限公司 | Ammeter reading identification method and device, electronic equipment and storage medium |
CN113865676A (en) * | 2021-10-12 | 2021-12-31 | 安徽翼迈科技股份有限公司 | Self-checking method for reading accuracy of camera shooting water meter |
CN114463252A (en) * | 2021-12-21 | 2022-05-10 | 浙江大华技术股份有限公司 | Parking space occupation detection method, detection device and computer readable storage medium |
CN115049916A (en) * | 2022-08-17 | 2022-09-13 | 四川金信石信息技术有限公司 | Pointer instrument reading identification method and identification device |
CN115546795A (en) * | 2022-09-20 | 2022-12-30 | 华南理工大学 | Automatic reading method of circular pointer instrument based on deep learning |
CN115731554A (en) * | 2021-08-31 | 2023-03-03 | 顺丰科技有限公司 | Express mail list identification method and device, computer equipment and storage medium |
CN117095406A (en) * | 2023-07-25 | 2023-11-21 | 华南理工大学 | Post-processing method, system, device and medium for obtaining pointer water meter reading |
CN117315670A (en) * | 2023-09-26 | 2023-12-29 | 天津市金超利达科技有限公司 | Water meter reading area detection method based on computer vision |
CN117475416A (en) * | 2023-11-20 | 2024-01-30 | 西安热工研究院有限公司 | Thermal power station pointer type instrument reading identification method, system, equipment and medium |
-
2024
- 2024-03-14 CN CN202410289638.5A patent/CN117894032A/en active Pending
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190154463A1 (en) * | 2017-11-21 | 2019-05-23 | International Business Machines Corporation | Flow meter reading with image recognition secured with mask and software connected by mobile device |
US20210142099A1 (en) * | 2019-11-07 | 2021-05-13 | Sap Se | Pointer recognition for analog instrument image analysis |
CN111444781A (en) * | 2020-03-09 | 2020-07-24 | 武汉理工大学 | Water meter reading identification method and equipment and storage medium |
CN113392834A (en) * | 2021-06-16 | 2021-09-14 | 广州观必达数据技术有限责任公司 | Character wheel water meter reading identification method and system based on deep learning |
CN113392827A (en) * | 2021-06-22 | 2021-09-14 | 平安健康保险股份有限公司 | Character recognition method, device, equipment and medium |
CN113642582A (en) * | 2021-08-13 | 2021-11-12 | 中国联合网络通信集团有限公司 | Ammeter reading identification method and device, electronic equipment and storage medium |
CN115731554A (en) * | 2021-08-31 | 2023-03-03 | 顺丰科技有限公司 | Express mail list identification method and device, computer equipment and storage medium |
CN113865676A (en) * | 2021-10-12 | 2021-12-31 | 安徽翼迈科技股份有限公司 | Self-checking method for reading accuracy of camera shooting water meter |
CN114463252A (en) * | 2021-12-21 | 2022-05-10 | 浙江大华技术股份有限公司 | Parking space occupation detection method, detection device and computer readable storage medium |
CN115049916A (en) * | 2022-08-17 | 2022-09-13 | 四川金信石信息技术有限公司 | Pointer instrument reading identification method and identification device |
CN115546795A (en) * | 2022-09-20 | 2022-12-30 | 华南理工大学 | Automatic reading method of circular pointer instrument based on deep learning |
CN117095406A (en) * | 2023-07-25 | 2023-11-21 | 华南理工大学 | Post-processing method, system, device and medium for obtaining pointer water meter reading |
CN117315670A (en) * | 2023-09-26 | 2023-12-29 | 天津市金超利达科技有限公司 | Water meter reading area detection method based on computer vision |
CN117475416A (en) * | 2023-11-20 | 2024-01-30 | 西安热工研究院有限公司 | Thermal power station pointer type instrument reading identification method, system, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109117831B (en) | Training method and device of object detection network | |
CN111488826B (en) | Text recognition method and device, electronic equipment and storage medium | |
US11080839B2 (en) | System and method for training a damage identification model | |
CN110659647A (en) | Seal image identification method and device, intelligent invoice identification equipment and storage medium | |
US11893765B2 (en) | Method and apparatus for recognizing imaged information-bearing medium, computer device and medium | |
US11568665B2 (en) | Method and apparatus for recognizing ID card | |
CN111340796A (en) | Defect detection method and device, electronic equipment and storage medium | |
CN113111880B (en) | Certificate image correction method, device, electronic equipment and storage medium | |
CN114429636B (en) | Image scanning identification method and device and electronic equipment | |
CN112668640A (en) | Text image quality evaluation method, device, equipment and medium | |
CN112668462A (en) | Vehicle loss detection model training method, vehicle loss detection device, vehicle loss detection equipment and vehicle loss detection medium | |
CN112052702A (en) | Method and device for identifying two-dimensional code | |
CN110188815B (en) | Feature point sampling method, device, equipment and storage medium | |
CN110766026A (en) | Method and device for rapidly identifying card number and model training method and device | |
CN110796145A (en) | Multi-certificate segmentation association method based on intelligent decision and related equipment | |
CN113780116A (en) | Invoice classification method and device, computer equipment and storage medium | |
CN112287905A (en) | Vehicle damage identification method, device, equipment and storage medium | |
KR102026280B1 (en) | Method and system for scene text detection using deep learning | |
CN117894032A (en) | Water meter reading identification method, system, electronic equipment and storage medium | |
CN114495108A (en) | Character detection method and device, electronic equipment and readable medium | |
CN115359302A (en) | Coin identification method, system and storage medium | |
CN115223170A (en) | Document generation method and device, electronic equipment and storage medium | |
Sheng et al. | End-to-end chinese image text recognition with attention model | |
CN113392837A (en) | License plate recognition method and device based on deep learning | |
CN111950550A (en) | Vehicle frame number identification system based on deep convolutional neural network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |