CN106940800B - Method and device for recognizing reading of metering device - Google Patents

Method and device for recognizing reading of metering device Download PDF

Info

Publication number
CN106940800B
CN106940800B CN201610005597.8A CN201610005597A CN106940800B CN 106940800 B CN106940800 B CN 106940800B CN 201610005597 A CN201610005597 A CN 201610005597A CN 106940800 B CN106940800 B CN 106940800B
Authority
CN
China
Prior art keywords
window area
digital domain
image
domain window
character
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.)
Active
Application number
CN201610005597.8A
Other languages
Chinese (zh)
Other versions
CN106940800A (en
Inventor
夏国淼
姚志
张龙
舒杰红
崔涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Friendcom Technology Co Ltd
Original Assignee
Shenzhen Friendcom Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Friendcom Technology Co Ltd filed Critical Shenzhen Friendcom Technology Co Ltd
Priority to CN201610005597.8A priority Critical patent/CN106940800B/en
Publication of CN106940800A publication Critical patent/CN106940800A/en
Application granted granted Critical
Publication of CN106940800B publication Critical patent/CN106940800B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • G06V30/153Segmentation of character regions using recognition of characters or words
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/273Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion removing elements interfering with the pattern to be recognised
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/30Noise filtering
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Character Input (AREA)
  • Character Discrimination (AREA)

Abstract

本发明涉及一种计量仪表读数识别方法及装置,包括获取摄像头采集的数字字轮图像;对所述数字字轮图像中的数字域窗口区进行初步定位,再剔除所述数字域窗口区之外的边缘干扰区而得到精确的数字域窗口区图像,所述精确的数字域窗口区图像中包含多个字符;对所述精确的数字域窗口区图像进行字符切分,以得到单个字符图像;对各所述的单个字符图像采用机器学习的方法进行识别。本发明可以实现计量仪表计读数的高精度识别,确保在水电气计量仪表计智能抄表上的推广应用。

Figure 201610005597

The invention relates to a method and a device for recognizing readings of a metering instrument, comprising: acquiring a digital word wheel image collected by a camera; preliminarily locating a digital domain window area in the digital word wheel image, and then excluding the digital domain window area The edge interference area is obtained to obtain an accurate digital domain window area image, and the accurate digital domain window area image contains a plurality of characters; Character segmentation is performed on the accurate digital domain window area image to obtain a single character image; The machine learning method is used to identify each of the single character images. The invention can realize the high-precision identification of the reading of the metering meter, and ensure the popularization and application in the intelligent meter reading of the metering meter of water and electricity.

Figure 201610005597

Description

Method and device for recognizing reading of metering device
Technical Field
The invention relates to the technical field of image recognition, in particular to a method and a device for recognizing reading of a metering device.
Background
Water electric heating is a common resource in family life, but the problem of social disturbance caused by the difficulty in meter reading is solved. If the problem of meter reading can be thoroughly solved, all meters such as an electric meter, a water meter, a gas meter, a heat meter and the like can realize multi-meter centralized reading, one-time intelligentization and remote reading, and one-time settlement brings great convenience to life of people.
At present, the intelligent user management and the bidirectional interaction platform are built under the intelligent power grid architecture and are gradually realized, so that a common family can realize user energy management, mobile terminal electricity purchasing, multi-meter reading of water, electricity and gas, comprehensive information service, remote household appliance control and the like through the intelligent power grid, and the living intelligence level of people is comprehensively improved.
However, at present, for some old cells, most of the meters used in remote areas are still mechanical meters, and the collection of the readings of the mechanical meters is mainly realized by manual home-entry collection. And manual household collection reading consumes a large amount of labor, wastes time and labor, has high labor intensity and high labor cost, and is difficult to ensure that the water, electricity, heat and other instrument data can be obtained on time because a resident is not at home.
Aiming at the mechanical metering instrument, the reading of the electric water heat meter and the like is accurately and automatically obtained on time through a digital identification technology, and the technical problem that a plurality of problems of manual meter reading are urgently needed to be solved is avoided. However, the current identification technology cannot accurately and reliably identify and has high error rate, so the technology cannot be popularized and applied to the counting of meters such as water, electricity, heat and the like.
Disclosure of Invention
The present invention is directed to a method and an apparatus for recognizing readings of a measuring instrument.
In order to achieve the above object, in one aspect, the present invention provides a reading identification method for a metering device, including:
acquiring a digital character wheel image acquired by a camera;
preliminarily positioning a digital domain window area in the digital character wheel image, and then removing an edge interference area outside the digital domain window area to obtain an accurate digital domain window area image, wherein the accurate digital domain window area image comprises a plurality of characters;
performing character segmentation on the accurate window area image of the digital domain to obtain a single character image;
and identifying each single character image by using a machine learning method.
Preferably, the preliminary positioning of the window area of the digital domain in the digital character wheel image, and then the elimination of the edge interference area outside the window area of the digital domain to obtain the accurate window area image of the digital domain specifically include:
detecting the upper and lower boundary lines of a digital domain window area in the digital character wheel image by a vertical direction gradient method;
detecting the left and right boundary lines of the digital domain window area after the upper and lower boundary lines are determined by a horizontal direction gradient method;
preliminarily positioning the digital domain window area according to the determined upper, lower, left and right boundary lines, and cutting to form a digital domain window area image;
and carrying out global binarization primary processing on the digital domain window area image and eliminating an edge interference area of the digital domain window area image by adopting a connected domain analysis method to obtain an accurate digital domain window area image.
Preferably, the character segmentation of the precise window area image in the digital domain to obtain a single character image specifically includes:
carrying out global binarization reprocessing on the accurate digital domain window area image by using a global binarization algorithm;
carrying out noise elimination on the accurate digital domain window area image after global binarization reprocessing so as to remove an interference area on the accurate digital domain window area image;
character segmentation is carried out on the character area in the accurate window area image of the digital domain by adopting a vertical projection method so as to obtain the left and right boundaries of each character, and a single character image is cut out;
and carrying out binarization on the cut single character image by using a local binarization algorithm, and eliminating noise points and interference areas by using a priori knowledge and a connected domain analysis method.
Preferably, the identifying each of the single character images by using a machine learning method specifically includes:
and identifying each single character by adopting a neural network algorithm and combining the geometrical prior knowledge characteristics of each character.
In another aspect, the present invention provides a reading identification apparatus for a measuring instrument, including:
the acquisition module is used for acquiring a digital character wheel image acquired by the camera;
the positioning unit is used for carrying out primary positioning on a digital domain window area in the digital character wheel image and then eliminating an edge interference area outside the digital domain window area to obtain an accurate digital domain window area image, wherein the accurate digital domain window area image comprises a plurality of characters;
the character segmentation unit is used for carrying out character segmentation on the accurate window area image of the digital domain to obtain a single character image;
and the identification unit is used for identifying each single character image by using a machine learning method.
Preferably, the positioning unit specifically includes:
the first detection module is used for detecting the upper and lower boundary lines of a digital domain window area in the digital character wheel image by a vertical direction gradient method;
the second detection module is used for detecting the left and right boundary lines of the digital domain window area after the upper and lower boundary lines are determined by a horizontal direction gradient method;
the cutting module is used for preliminarily positioning the digital domain window area according to the determined upper, lower, left and right boundary lines and cutting to form a digital domain window area image;
and the initial processing module is used for carrying out global binarization initial processing on the digital domain window area image and eliminating an edge interference area of the digital domain window area image by adopting a connected domain analysis method to obtain an accurate digital domain window area image.
Preferably, the character segmentation unit specifically includes:
the global binarization module is used for carrying out global binarization reprocessing on the accurate digital domain window area image by using a global binarization algorithm;
the noise elimination module is used for eliminating noise of the accurate digital domain window area image after global binarization reprocessing so as to remove an interference area on the accurate digital domain window area image;
the character segmentation module is used for performing character segmentation on the character area in the accurate window area image of the digital domain by adopting a vertical projection method to obtain the left and right boundaries of each character and cutting out a single character image;
and the local binarization module is used for carrying out binarization on the cut single character image by using a local binarization algorithm and eliminating noise points and interference areas by adopting a priori knowledge and connected domain analysis method.
Preferably, the identification unit is specifically configured to:
and identifying each single character by adopting a neural network algorithm and combining the geometrical prior knowledge characteristics of each character.
According to the reading identification method and device for the metering instrument, a digital domain window area in a digital character wheel image is initially positioned, and an edge interference area outside the digital domain window area is eliminated to obtain an accurate digital domain window area image, wherein the accurate digital domain window area image comprises a plurality of characters; performing character segmentation on the accurate window area image of the digital domain to obtain a single character image; and identifying each single character image by adopting a machine learning method. So, can realize the discernment of measurement appearance meter reading, moreover, the accuracy of discernment is high, can ensure to popularize and apply on water, electricity gas meter count.
Drawings
FIG. 1 is a flow chart of one embodiment of a meter reading identification method of the present invention;
FIG. 2 is a flow chart of another embodiment of a meter reading identification method of the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of a reading identification device of a metering device according to the present invention;
FIG. 4 is a schematic structural diagram of a positioning unit in the reading identification device of the metering device of the present invention;
FIG. 5 is a schematic structural diagram of a character segmentation unit in the reading recognition device of the measuring instrument according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
Referring to fig. 1, fig. 1 illustrates a flow of implementing a method for identifying reading of a metering device according to an embodiment of the present invention, and for convenience of description, only a portion related to the embodiment of the present invention is shown. Specifically, the reading identification method of the metering device comprises the following steps:
s101, acquiring a digital character wheel image acquired by a camera.
The camera is generally installed at a certain distance position in front of the dial plate of the metering instrument, and the camera collects digital character wheel images to pass back after receiving a collection instruction.
S102, preliminarily positioning a digital domain window area in the digital character wheel image, and then eliminating an edge interference area outside the digital domain window area to obtain an accurate digital domain window area image, wherein the accurate digital domain window area image comprises a plurality of characters.
Because the digital character wheel image shot by the camera comprises a digital domain window area and a blank interference area positioned on the periphery of the digital domain window area, the digital domain window area is a position for displaying metering data, the metering data is generally 0 to 9, and the blank interference area on the periphery of the digital domain window area is a useless area, and the digital domain window area in the collected digital character wheel image must be preliminarily positioned for identifying the number on the character wheel, and then the edge interference area of the preliminarily positioned digital domain window area is removed to obtain an accurate digital domain window area image.
S103, performing character segmentation on the accurate window area image of the digital domain to obtain a single character image.
Specifically, characters in the window area image of the digital domain are sequentially arranged at intervals from left to right, and the character identification is character-by-character identification, so that the window area image of the digital domain must be firstly subjected to character segmentation to obtain a single character image, then binarized by adopting a local binarization algorithm, and then subjected to connected domain analysis to remove a noise interference area and then identified.
And S104, identifying each single character image by using a machine learning method. That is, the recognition judges which number of 0 to 9 the character is.
According to the reading identification method for the metering instrument, a digital domain window area in a digital character wheel image is preliminarily positioned, and an edge interference area outside the digital domain window area is removed to obtain an accurate digital domain window area image, wherein the accurate digital domain window area image comprises a plurality of characters; performing character segmentation on the accurate window area image of the digital domain to obtain a single character image; the single character images are recognized by a machine learning method, so that the reading of the measuring instrument can be recognized, the recognition accuracy is high, and the popularization and the application on the counting of instruments such as water, electricity, gas and heat instruments can be ensured.
Referring to fig. 2, fig. 2 illustrates another implementation flow of a method for identifying reading of a metering device according to an embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown. Specifically, the reading identification method of the metering device comprises the following steps:
s201, acquiring a digital character wheel image acquired by the camera.
The camera is generally installed at a certain distance position in front of the dial plate of the metering instrument, and the camera collects digital character wheel images to pass back after receiving a collection instruction.
S202, detecting the upper and lower boundary lines of a digital domain window area in the digital character wheel image by a vertical direction gradient method.
Specifically, metering device's structure includes dial plate and count number wheel, is equipped with the window on the dial plate, and count number wheel just is located the window. Based on the structure of the metering instrument, in the digital character wheel image collected by the camera, corresponding upper, lower, left and right boundary lines can be formed corresponding to the window edge on the dial plate, so that the upper and lower boundary lines in the digital domain window area can be known by detecting the upper and lower boundary lines in the digital domain window area.
And S203, detecting the left and right boundary lines of the digital domain window area after the upper and lower boundary lines are determined by a horizontal gradient method.
That is, the window region of the digital domain is generally a substantially rectangular shape, and after the upper and lower boundary lines of the window region of the digital domain are determined, the left and right boundary lines of the window region of the digital domain are detected to know the left and right boundary lines of the window region of the digital domain.
S204, preliminarily positioning the digital domain window area according to the determined upper, lower, left and right boundary lines, and cutting to form a digital domain window area image.
That is, after the upper, lower, left and right boundaries of the digital domain window area on the image are determined, the digital domain window area image can be cut by cutting according to the upper, lower, left and right boundaries.
It should be noted that, the digital character wheel image shot by the camera includes a digital domain window area and a blank interference area located at the periphery of the digital domain window area, the digital domain window area is a position for displaying the metering data, the metering data is generally composed of ten characters from 0 to 9, and the blank interference area at the periphery of the digital domain window area is a useless area. Therefore, the digital window area image can be obtained by positioning and cutting through the steps S202 to S204.
S205, carrying out global binarization primary processing on the digital domain window area image and eliminating an edge interference area by adopting a connected domain analysis method to obtain an accurate digital domain window area image.
When the camera collects images, interference pixel points and/or interference areas exist in the collected digital character wheel images possibly due to factors such as brightness and environment, positioning and cutting are carried out to obtain digital domain window area images, some interference pixel points and/or interference areas also exist in the digital domain window area images, especially edge areas of the digital domain window area images just cut exist obvious interference areas which can influence character recognition, therefore, after global binarization initial processing is carried out on the digital domain window area images, the edge interference areas of the digital domain window area images after binarization are removed by using a connected domain analysis method, and then accurate digital domain window area images are obtained.
And S206, carrying out global binarization reprocessing on the accurate digital domain window area image by using a global binarization algorithm. That is, this step requires global binarization again for the precise window area image in the digital domain, resulting in a more standard binarized image.
S207, noise elimination is carried out on the accurate digital domain window area image after global binarization reprocessing, so that an interference area on the accurate digital domain window area image is eliminated. That is, in step S208, the noise processing is performed to remove the interference pixel points in the window area image in the digital domain, where the interference pixel points mainly refer to pixel points near the character position, and the edge interference area in step S205 refers to pixel points at the edge of the image.
And S208, performing character segmentation on the character area in the accurate digital domain window area image by adopting a vertical projection method to obtain the left and right boundaries of each character, and cutting out a single character image.
Since the characters in the numeric field window area image are sequentially arranged at intervals from left to right, each character corresponds to one character image through a single character image formed by splitting the precise numeric field window area image. Therefore, the single character image can be recognized, and the recognition accuracy of the single character image is improved.
S209, carrying out binarization on the cut single character image by using a local binarization algorithm, and eliminating noise points and interference areas by using a priori knowledge and a connected domain analysis method. That is, in step S209, the single character recognition area is further binarized, and further, the interference pixels and the interference area in the single character image are eliminated, so that the character recognition in the subsequent step is facilitated, and the character recognition efficiency and accuracy are improved.
And S210, identifying each single character image by using a machine learning method. That is, a single character image is recognized, and it is recognized which number of 0 to 9 the character in the character image is.
That is to say, in this embodiment, after the window area image in the digital domain is formed, the initial global binarization processing and the noise elimination processing are performed on the window area image in the whole digital domain, then the subsequent global binarization reprocessing and the further noise elimination are performed, then the window area image in the digital domain is further subjected to projection segmentation to form a single character image, then the subsequent local binarization and the noise elimination processing are performed on the single character image, and finally, the single character image after the local binarization and the noise elimination processing is identified. By adopting the processing method, the identification precision can be greatly improved, and the reliability of reading data is ensured.
It is understood that, in some embodiments of the present invention, step S210, the identification of each of the single character images using a machine learning method: and identifying each single character by adopting a neural network algorithm and combining the geometrical prior knowledge characteristics of each character.
According to the reading identification method for the metering instrument, a digital domain window area in a digital character wheel image is preliminarily positioned, and an edge interference area outside the digital domain window area is removed to obtain an accurate digital domain window area image, wherein the accurate digital domain window area image comprises a plurality of characters; performing character segmentation on the accurate window area image of the digital domain to obtain a single character image; and identifying each single character image by adopting a machine learning method. So, can realize the discernment of measurement appearance meter reading, moreover, the accuracy of discernment is high, can ensure to popularize and apply on water, electricity gas meter count.
Referring to fig. 3, fig. 3 illustrates a meter reading identification apparatus provided by an embodiment of the present invention, and for convenience of description, only the parts related to the embodiment of the present invention are shown. Specifically, the device for recognizing the reading of the metering device provided by the embodiment of the present invention includes:
an obtaining module 301, configured to obtain a digital print wheel image acquired by a camera;
the positioning unit 302 is configured to perform initial positioning on a digital domain window area in the digital character wheel image, and then eliminate an edge interference area outside the digital domain window area to obtain an accurate digital domain window area image, where the accurate digital domain window area image includes a plurality of characters;
a character segmentation unit 303, configured to perform character segmentation on the accurate window region image in the number domain to obtain a single character image;
a recognition unit 304, configured to recognize each of the single character images by using a machine learning method.
Referring to fig. 4, in an embodiment of the present invention, the positioning unit 302 specifically includes:
a first detecting module 3021, configured to detect upper and lower boundary lines of a digital window area in the digital print wheel image by using a vertical gradient method;
a second detecting module 3022, configured to detect left and right boundary lines of the window area of the digital domain after determining the upper and lower boundary lines by using a horizontal gradient method;
a cropping module 3023, configured to preliminarily position the window area in the digital domain according to the determined upper, lower, left, and right boundary lines, and crop the window area to form an image of the window area in the digital domain;
and the primary processing module 3024 is configured to perform global binarization primary processing on the window area image in the digital domain and remove an edge interference area by using a connected domain analysis method, so as to obtain an accurate window area image in the digital domain.
Referring to fig. 5, in an embodiment of the present invention, the character segmentation unit 303 specifically includes:
a global binarization module 3031, configured to perform global binarization reprocessing on the accurate digital domain window area image by using a global binarization algorithm;
a noise elimination module 3032, configured to perform noise elimination on the accurate window area image after global binarization reprocessing, so as to remove an interference area on the accurate window area image;
a character segmentation module 3033, configured to perform character segmentation on the character region in the accurate window region image in the digital domain by using a vertical projection method, so as to obtain left and right boundaries of each character, and cut out a single character image;
a local binarization module 3034, configured to binarize the clipped single character image by using a local binarization algorithm and eliminate noise points and interference areas by using a priori knowledge and a connected domain analysis method.
It is to be understood that the identification unit 304 is specifically configured to: and identifying each single character by adopting a neural network algorithm and combining the geometrical prior knowledge characteristics of each character.
It should be noted that the reading identification apparatus for a metering device in the embodiment of the present invention may be used to implement all technical solutions in the above method embodiments, and the functions of each functional unit may be specifically implemented according to the method in the above method embodiments, and the specific implementation process may refer to the relevant description in the above method embodiments, and is not described herein again.
According to the reading identification device of the metering instrument, a digital domain window area in a digital character wheel image is preliminarily positioned, and an edge interference area outside the digital domain window area is removed to obtain an accurate digital domain window area image, wherein the accurate digital domain window area image comprises a plurality of characters; performing character segmentation on the accurate window area image of the digital domain to obtain a single character image; and identifying each single character image by adopting a machine learning method. So, can realize the discernment of measurement appearance meter reading, moreover, the accuracy of discernment is high, can ensure to popularize and apply on water, electricity gas meter count.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device or system type embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the use of the phrase "comprising a. -. said" to define an element does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (4)

1.一种计量仪表读数识别方法,其特征在于,包括:1. a meter reading identification method, is characterized in that, comprises: 获取摄像头采集的数字字轮图像,所述数字字轮图像包括数字域窗口区以及位于数字域窗口区外围的空白干扰区;Obtain the digital word wheel image collected by the camera, and the digital word wheel image includes a digital domain window area and a blank interference area located at the periphery of the digital domain window area; 对所述数字字轮图像中的数字域窗口区进行初步定位,再剔除所述数字域窗口区之外的边缘干扰区以得到精确的数字域窗口区图像,所述精确的数字域窗口区图像中包含窗口及位于所述窗口内的多个字符;Preliminarily locate the digital domain window area in the digital word wheel image, and then remove the edge interference area outside the digital domain window area to obtain an accurate digital domain window area image, the precise digital domain window area image contains a window and a plurality of characters located within said window; 对所述精确的数字域窗口区图像进行字符切分,以得到单个字符图像;character segmentation is performed on the precise digital domain window area image to obtain a single character image; 对各所述单个字符图像使用机器学习的方法进行识别;Recognizing each of the single character images using a machine learning method; 对所述数字字轮图像中的数字域窗口区进行初步定位,再剔除所述数字域窗口区之外的边缘干扰区以得到精确的数字域窗口区图像具体包括:Preliminarily locate the digital domain window area in the digital word wheel image, and then remove the edge interference area outside the digital domain window area to obtain an accurate digital domain window area image, which specifically includes: 以垂直方向梯度的方法检测所述数字字轮图像中数字域窗口区的上、下边界线;Detect the upper and lower boundary lines of the digital domain window area in the digital word wheel image with the method of vertical gradient; 以水平方向梯度的方法检测确定上下边界线后的所述数字域窗口区的左、右边界线;Detecting the left and right boundary lines of the digital domain window area after the upper and lower boundary lines are determined by the method of horizontal gradient; 根据确定的所述上、下、左、右边界线初步定位出所述数字域窗口区,并裁剪形成数字域窗口区图像;Preliminarily locate the digital domain window area according to the determined upper, lower, left and right boundary lines, and crop to form an image of the digital domain window area; 对所述数字域窗口区图像进行全局二值化初处理并采用连通域分析的方法剔除其边缘干扰区,得到精确的数字域窗口区图像;Perform global binarization initial processing on the digital domain window area image and eliminate its edge interference area by using the method of connected domain analysis to obtain an accurate digital domain window area image; 对所述精确的数字域窗口区图像进行字符切分,以得到单个字符图像具体包括:Performing character segmentation on the precise digital domain window area image to obtain a single character image specifically includes: 用全局二值化算法对所述精确的数字域窗口区图像进行全局二值化再处理;Perform global binarization and reprocessing on the precise digital domain window area image by using a global binarization algorithm; 对全局二值化再处理后的所述精确的数字域窗口区图像进行噪声消除,以除去所述精确的数字域窗口区图像上的干扰区;Perform noise removal on the accurate digital domain window area image after global binarization to remove interference areas on the accurate digital domain window area image; 采用垂直投影的方法对所述精确的数字域窗口区图像中的字符区域进行字符分割,以得到每个字符的左右边界,并裁剪出单个字符图像;Character segmentation is performed on the character area in the precise digital domain window area image by the method of vertical projection to obtain the left and right boundaries of each character, and a single character image is cut out; 利用局部二值化算法对所裁剪后的单个字符图像进行二值化,并采用先验知识及连通域分析的方法消除噪声点与干扰区。The cropped single character image is binarized by the local binarization algorithm, and the noise points and interference areas are eliminated by the method of prior knowledge and connected domain analysis. 2.根据权利要求1所述的计量仪表读数识别方法,其特征在于,所述对各所述单个字符图像使用机器学习的方法进行识别具体为:2. The method for recognizing a reading of a metering instrument according to claim 1, wherein the method for identifying each of the single character images using machine learning is specifically: 采用神经网络算法并结合每个字符的几何先验知识特征对各所述单个字符进行识别。Each of the single characters is recognized by using a neural network algorithm and combining the geometric prior knowledge features of each character. 3.一种计量仪表读数识别装置,其特征在于,包括:3. A meter reading identification device, characterized in that, comprising: 获取模块,用于获取摄像头采集的数字字轮图像,所述数字字轮图像包括数字域窗口区以及位于数字域窗口区外围的空白干扰区;an acquisition module for acquiring a digital word wheel image collected by a camera, the digital word wheel image including a digital domain window area and a blank interference area located at the periphery of the digital domain window area; 定位单元,用于对所述数字字轮图像中的数字域窗口区进行初步定位,再剔除所述数字域窗口区之外的边缘干扰区以得到精确的数字域窗口区图像,所述精确的数字域窗口区图像中包含窗口及位于所述窗口内的多个字符;The positioning unit is used to perform preliminary positioning on the digital domain window area in the digital word wheel image, and then remove the edge interference area outside the digital domain window area to obtain an accurate digital domain window area image, and the precise digital domain window area image is obtained. The digital domain window area image includes a window and a plurality of characters located in the window; 字符分割单元,用于对所述精确的数字域窗口区图像进行字符切分,以得到单个字符图像;a character segmentation unit, for performing character segmentation on the precise digital domain window area image to obtain a single character image; 识别单元,用于对各所述单个字符图像使用机器学习的方法进行识别;a recognition unit, used for recognizing each of the single character images using a machine learning method; 所述定位单元具体包括:The positioning unit specifically includes: 第一检测模块,用于以垂直方向梯度的方法检测所述数字字轮图像中数字域窗口区的上、下边界线;The first detection module is used to detect the upper and lower boundary lines of the digital domain window area in the digital word wheel image with the method of vertical direction gradient; 第二检测模块,用于以水平方向梯度的方法检测确定上下边界线后的所述数字域窗口区的左、右边界线;The second detection module is used for detecting the left and right boundary lines of the digital domain window area after the upper and lower boundary lines are determined by the method of horizontal gradient; 裁剪模块,用于根据确定的所述上、下、左、右边界线初步定位出所述数字域窗口区,并裁剪形成数字域窗口区图像;a cropping module, configured to preliminarily locate the digital domain window area according to the determined upper, lower, left and right boundary lines, and crop to form an image of the digital domain window area; 初处理模块,用于对所述数字域窗口区图像进行全局二值化初处理并采用连通域分析的方法剔除其边缘干扰区,得到精确的数字域窗口区图像;The initial processing module is used to perform global binarization initial processing on the digital domain window area image and eliminate its edge interference area by using the method of connected domain analysis to obtain an accurate digital domain window area image; 所述字符分割单元具体包括:The character segmentation unit specifically includes: 全局二值化模块,用于用全局二值化算法对所述精确的数字域窗口区图像进行全局二值化再处理;a global binarization module for performing global binarization and reprocessing on the precise digital domain window area image with a global binarization algorithm; 噪声消除模块,用于对全局二值化再处理后的所述精确的数字域窗口区图像进行噪声消除,以除去所述精确的数字域窗口区图像上的干扰区;a noise removal module, configured to perform noise removal on the accurate digital domain window area image after global binarization reprocessing, so as to remove the interference area on the accurate digital domain window area image; 字符分割模块,用于采用垂直投影的方法对所述精确的数字域窗口区图像中的字符区域进行字符分割,以得到每个字符的左右边界,并裁剪出单个字符图像;A character segmentation module, for using vertical projection to perform character segmentation on the character area in the precise digital domain window area image, to obtain the left and right boundaries of each character, and to cut out a single character image; 局部二值化模块,用于利用局部二值化算法对所裁剪后的单个字符图像进行二值化,并采用先验知识及连通域分析的方法消除噪声点与干扰区。The local binarization module is used to use the local binarization algorithm to binarize the cropped single character image, and use the prior knowledge and connected domain analysis methods to eliminate noise points and interference areas. 4.根据权利要求3所述的计量仪表读数识别装置,其特征在于,所述识别单元具体用于:4. The meter reading identification device according to claim 3, wherein the identification unit is specifically used for: 采用神经网络算法并结合每个字符的几何先验知识特征对各所述单个字符进行识别。Each of the single characters is recognized by using a neural network algorithm and combining the geometric prior knowledge features of each character.
CN201610005597.8A 2016-01-05 2016-01-05 Method and device for recognizing reading of metering device Active CN106940800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610005597.8A CN106940800B (en) 2016-01-05 2016-01-05 Method and device for recognizing reading of metering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610005597.8A CN106940800B (en) 2016-01-05 2016-01-05 Method and device for recognizing reading of metering device

Publications (2)

Publication Number Publication Date
CN106940800A CN106940800A (en) 2017-07-11
CN106940800B true CN106940800B (en) 2021-01-05

Family

ID=59469648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610005597.8A Active CN106940800B (en) 2016-01-05 2016-01-05 Method and device for recognizing reading of metering device

Country Status (1)

Country Link
CN (1) CN106940800B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832763A (en) * 2017-11-07 2018-03-23 青岛理工大学 Graphic image processing method and apparatus
CN108052943A (en) * 2017-12-29 2018-05-18 杭州占峰科技有限公司 A kind of instrument character wheel recognition methods and equipment
US10635945B2 (en) * 2018-06-28 2020-04-28 Schneider Electric Systems Usa, Inc. Machine learning analysis of piping and instrumentation diagrams
CN109271987A (en) * 2018-08-28 2019-01-25 上海鸢安智能科技有限公司 A kind of digital electric meter number reading method, device, system, computer equipment and storage medium
CN109284762A (en) * 2018-09-26 2019-01-29 旺微科技(上海)有限公司 A detection method and detection system for the digital position of a multi-character wheel meter
CN109635799B (en) * 2018-12-17 2020-10-20 石家庄科林电气股份有限公司 Method for recognizing number of character wheel of gas meter
CN110991437B (en) * 2019-11-28 2023-11-14 嘉楠明芯(北京)科技有限公司 Character recognition method and device, training method and device for character recognition model
CN111461126B (en) * 2020-03-23 2023-08-18 Oppo广东移动通信有限公司 Method, device, electronic device and storage medium for identifying spaces in text lines
CN112818993A (en) * 2020-03-30 2021-05-18 深圳友讯达科技股份有限公司 Character wheel reading meter end identification method and equipment for camera direct-reading meter reader
CN113505776A (en) * 2021-07-16 2021-10-15 青岛新奥清洁能源有限公司 Intelligent identification method and device for gas meter reading

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1975760A (en) * 2006-12-15 2007-06-06 华南理工大学 Automatic post envelope-identifying system and identifying method thereof
CN201042057Y (en) * 2007-06-11 2008-03-26 北京航空航天大学 Handheld character recognition instrument based on SMS
CN103136532A (en) * 2011-11-22 2013-06-05 深圳信息职业技术学院 Dial digital image reading device and method
CN103793708A (en) * 2014-03-05 2014-05-14 武汉大学 Multi-scale license plate precise locating method based on affine correction

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020081027A1 (en) * 2000-12-21 2002-06-27 Motorola, Inc. Method for electronic transport of digital ink

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1975760A (en) * 2006-12-15 2007-06-06 华南理工大学 Automatic post envelope-identifying system and identifying method thereof
CN201042057Y (en) * 2007-06-11 2008-03-26 北京航空航天大学 Handheld character recognition instrument based on SMS
CN103136532A (en) * 2011-11-22 2013-06-05 深圳信息职业技术学院 Dial digital image reading device and method
CN103793708A (en) * 2014-03-05 2014-05-14 武汉大学 Multi-scale license plate precise locating method based on affine correction

Also Published As

Publication number Publication date
CN106940800A (en) 2017-07-11

Similar Documents

Publication Publication Date Title
CN106940800B (en) Method and device for recognizing reading of metering device
CN112149667B (en) A method for automatic reading of pointer instruments based on deep learning
CN102176228B (en) A Machine Vision Method for Recognizing Information on Multiple Analog Instrument Dials
TWI619080B (en) Method for calculating fingerprint overlapping region and electronic device
Sollazzo et al. Hybrid procedure for automated detection of cracking with 3D pavement data
Lokeshwor et al. Robust method for automated segmentation of frames with/without distress from road surface video clips
CN106599890B (en) digital instrument recognition algorithm for substation inspection robot
CN107330433B (en) Image processing method and device
CN114037672A (en) Image defect detection method and device and computer readable medium
WO2017067023A1 (en) Method for detecting body fluid based on special test paper
CN105807335B (en) Vehicle chassis inspection method and system
CN111383246B (en) Banner detection methods, devices and equipment
KR101931804B1 (en) Device and method of increasing a recognition rate in a license plate
CN108780050A (en) Method and device, electronic equipment and the computer readable storage medium of detector lens
CN109375187B (en) Method and device for determining radar target
WO2018095194A1 (en) Image analysis method and device
Lauridsen et al. Reading Circular Analogue Gauges using Digital Image Processing.
CN109034170A (en) A kind of round readings of pointer type meters method of switch cubicle detection device
CN108764253A (en) Pointer instrument digitizing solution
CN112669287A (en) Electrical equipment temperature monitoring method based on image recognition
CN111368823B (en) Pointer type instrument reading identification method and device
CN110866440B (en) Pointer instrument deep learning network construction method, pointer instrument deep learning network detection method and pointer instrument deep learning network construction system
CN111178347B (en) Ambiguity detection method, ambiguity detection device, ambiguity detection equipment and ambiguity detection storage medium for certificate image
JP6478849B2 (en) Meter mounting support system, meter mounting support device, and program
CN115713620A (en) Infrared small target detection method and device, computing equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 3rd Floor, Building 6, Guangqian Industrial Zone, Longzhu 3rd Road, Longzhu 3rd Road, Longguang Community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Province, 518000

Patentee after: SHENZHEN FRIENDCOM TECHNOLOGY DEVELOPMENT Co.,Ltd.

Address before: 518055 6th floor, building 17, Guangqian Industrial Zone, Taoyuan Street, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN FRIENDCOM TECHNOLOGY DEVELOPMENT Co.,Ltd.

CP02 Change in the address of a patent holder