CN108256535A - A kind of meter reading method and Meter Reading Device based on image identification - Google Patents

A kind of meter reading method and Meter Reading Device based on image identification Download PDF

Info

Publication number
CN108256535A
CN108256535A CN201810278301.9A CN201810278301A CN108256535A CN 108256535 A CN108256535 A CN 108256535A CN 201810278301 A CN201810278301 A CN 201810278301A CN 108256535 A CN108256535 A CN 108256535A
Authority
CN
China
Prior art keywords
meter reading
color
optical filter
image identification
measuring instrument
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
Application number
CN201810278301.9A
Other languages
Chinese (zh)
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.)
Shandong Ningzhi Electronic Technology Co Ltd
Original Assignee
Shandong Ningzhi Electronic 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 Shandong Ningzhi Electronic Technology Co Ltd filed Critical Shandong Ningzhi Electronic Technology Co Ltd
Priority to CN201810278301.9A priority Critical patent/CN108256535A/en
Publication of CN108256535A publication Critical patent/CN108256535A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F15/00Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
    • G01F15/06Indicating or recording devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/12Details of acquisition arrangements; Constructional details thereof
    • G06V10/14Optical characteristics of the device performing the acquisition or on the illumination arrangements
    • G06V10/143Sensing or illuminating at different wavelengths

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Fluid Mechanics (AREA)
  • Spectrometry And Color Measurement (AREA)

Abstract

The present invention provides a kind of meter reading method and Meter Reading Device based on image identification, the number 0~9 of mechanical measuring instrument metering display area sets different background color and/or background graphics, shooting metering display area identifies that the mechanical measuring instrument measures the numerical value that display area is shown by background color and/or background graphics.It can be selected to cover optical filter on the LED of camera according to actual conditions.The present invention realizes the long-range meter reading of mechanical measuring instrument by the way of image identification, color recognition or a combination of both, improves the accuracy of meter reading, and scheme is simple and practicable, the cost of realization is low.The present invention further improves the accuracy of identification according to practical use environment setting color filter, ensure that in the case of low cost, accuracy of identification further improves.

Description

A kind of meter reading method and Meter Reading Device based on image identification
Technical field
The present invention relates to a kind of meter reading methods and Meter Reading Device based on image identification, belong to mechanical measuring instrument technology Field.
Background technology
Long-range, electronization clearing, the current camera shooting reading technology being applied on water meter or gas meter, flow meter, usually just Formula is is that camera directly is installed at character wheel part.It is the character wheel panel of a conventional water meter as shown in Figure 1, i.e., in upper figure Region in dotted line frame.Need to water meter carry out copy reading when, open camera, take pictures, then by the picture of acquirement into Row image procossing so as to numerical portion therein in identifying, obtains the numerical value of final water meter, and this mode design logic is clear It is clear, it has been widely used.
But large batch of in use, being found that this problem:
(1) there is always certain error probabilities for identification number.Since the character wheel in upper figure is ceaselessly in actual use Rotation, therefore when copy reading numerical value is needed, it is impossible to the position of front view is by chance parked in, if being parked in special position Just it can have a certain impact to identification, for example the first half of " 8 " and " 3 " first half are just very close to the lower half of " 1 " and " 7 " Lower half is also very close to this will cause many puzzlements to identification, and once generate wrong identification and clearing, easily cause Settlement Dispute causes undesirable influence.
(2) influence of impurities in water and water mist to identification.Practical in use, character wheel part is to invade bubble in a liquid , therefore the inevitably impurity or water mist in character wheel moiety aggregation water, similarly, when needing copy reading, due to impurity or water mist Influence, can cause to take pictures is numerically also inaccurate, and influences accuracy rate.
How existing machinery class measuring instrument is improved, the accuracy rate for improving copy reading numerical value is that this field is urgently to be resolved hurrily The technical issues of.
Invention content
In order to solve the problems, such as that mechanical measuring instrument Recognition of Reading is inaccurate, the present invention proposes a kind of based on image identification Meter reading method and Meter Reading Device, for camera direct-reading water meter or the metering numerical value of gas meter, flow meter.
Technical scheme is as follows:
A kind of meter reading method identified based on image is provided, the number 0~9 of mechanical measuring instrument metering display area is set Different background color and/or background graphics are put, shooting metering display area is identified by background color and/or background graphics Go out the numerical value that the mechanical measuring instrument metering display area is shown.
Preferably, background color is different colors or intensity.
A kind of Meter Reading Device identified based on image is provided simultaneously, including master control system and camera, the camera is adopted Collect the image of mechanical measuring instrument metering display area, and be sent to master control system;The mechanical measuring instrument metering is aobvious Show that zone digit 0~9 sets different background color and/or background graphics;
The master control system identifies the mechanical measuring instrument metering display by background color and/or background graphics The numerical value that region is shown.
Preferably, background color is different colors or intensity.
Preferably, optical filter is further included, is covered on the LED of camera, the light of LED transmittings is irradiated to meter through optical filter Measure display area.
Preferably, stepper motor is further included;The optical filter is multiple, and colors are different;The master control system Stepper motor is controlled to drive multiple optical filter movements, one of multiple optical filters is selected to be covered on the LED of camera.
Preferably, the increased color-values of difference that memory module stores multiple optical filters, the master control system root are further included According to selected optical filter, the increased color-values of the optical filter are obtained from memory module, by image acquisition color-values, rejects and filters After the increased color-values of piece, then identify that the mechanical measuring instrument measures by background color and/or background graphics and show The numerical value that region is shown.
Preferably, the master control system judges the clarity of image, if clarity is unsatisfactory for requiring, controls stepping electric Machine replaces optical filter.
Preferably, the meter reading system as claimed in claim 6 based on image identification, which is characterized in that the optical filter Including blue, red, yellow, green or transparent filter plate.
Preferably, the master control system determines the reading of measuring instrument according to background graphics and background color respectively, if The different situation of numerical value that background graphics and background color are determined then controls stepper motor to replace optical filter.
The present invention relative to the prior art advantageous effect:
1st, the present invention realizes the long-range of mechanical measuring instrument by the way of image identification, color recognition or a combination of both Meter reading improves the accuracy of meter reading, and scheme is simple and practicable, and the cost of realization is low.
2nd, the present invention further improves the accuracy of identification according to practical use environment setting color filter, ensures In the case of low cost, accuracy of identification further improves.
3rd, the preferred technical solution for replacing optical filter of the present invention so that main control module is image definition is insufficient or color When contradiction occurs in color and figure identification, optical filter can be replaced and remeasured, ensure that measurement accuracy.
Description of the drawings
Fig. 1 is the character wheel panel schematic diagram of conventional water meter;
Fig. 2 is the schematic diagram that meter reading is identified based on gray scale;
Fig. 3 is the schematic diagram based on color discriminator meter reading;
Fig. 4 is the schematic diagram that meter reading is identified based on figure;
Fig. 5 uses schematic diagram for optical filter of the present invention;
Fig. 6 is the structure diagram of identifying system of the present invention.
Specific embodiment
First, image identification method
By experiment it is found that in image recognition processing, image identification is difficult in degree, to color, gray scale, Yi Jitu The recognition success rate of shape will be far above character.Therefore in the present invention, behind each same numbers, there is provided corresponding face Color or pattern, different numbers set different colors or pattern below.
In one embodiment, with reference to Fig. 2, what is provided is that the character of each numerical value sets different background gray scale i.e. colors Intensity determines the corresponding numerical value in the position by gray value, obtains the reading of every on instrument board successively, obtains final meter Measure the reading of instrument.Such as it could be provided as being incremented by from digital 0~9 gray value or successively decrease from digital 0~9 gray value.According to Practical needs set the background gray levels of each number, can correctly be distinguished after ensureing camera acquisition.Camera is adopted After collecting image, MCU is sent to, MCU determines the reading of measuring instrument according to gray scale.
In one embodiment, with reference to Fig. 3, what is provided is that the character of each numerical value sets different background color i.e. colors Color classification determines the corresponding numerical value in the position by color, obtains the reading of every on instrument board successively, obtains final meter Measure the reading of instrument.Such as it could be provided as from digital 0~9 color is respectively red, yellow, blue, green, orange, grey, black, purple, powder, white. According to the background color of the practical each number of situation setting, can correctly be distinguished after ensureing camera acquisition.Camera After collecting image, MCU is sent to, MCU determines the reading of measuring instrument according to color.
In third embodiment, with reference to Fig. 4, the character of each numerical value sets different background patterns, by color come It determines the corresponding numerical value in the position, obtains the reading of every on instrument board successively, obtain the reading of final measuring instrument.Such as The background that could be provided as from number 0~9 sets different lines respectively, can be horizontal line, vertical line, parallax, also may be used Think dotted line, solid line, chain-dotted line, can also be straight line, curve, be multiple triangles, circle, rectangle etc..In order to ensure to image It can correctly be distinguished after head acquisition, background lines can be the form of multigroup repetition.After camera collects image, it is sent to MCU, MCU determine the reading of measuring instrument according to background graphics.
In the 4th embodiment, with reference to Fig. 4, what is provided is that the character of each numerical value sets different background patterns and the back of the body Scape color determines the corresponding numerical value in the position by design and color, obtains the reading of every on instrument board successively, obtains most The reading of whole measuring instrument.Not only background patterns are different for each number, and background color is also different.Camera acquires To after image, MCU is sent to, MCU determines the reading of measuring instrument respectively according to background graphics and background color, and tests mutually Card, if there is the different situation of numerical value that background graphics and background color are determined, then shows that a kind of readings of mode is deposited In mistake.
Similar with the 4th embodiment in the 5th embodiment, the character of each numerical value sets different background patterns With background gray scale, the corresponding numerical value in the position is determined by gray scale and pattern, the reading of every on instrument board is obtained successively, obtains Obtain the reading of measuring instrument finally.
When meter needs copy reading, camera is still taken pictures, and clap photo be actually with gray scale, color or The mode of person's figure, instead of original differentiation to digital 0-9, due to the difference between color be all it is quantifiable, in this way Recognition success rate far above it is original only by numerical character as being otherwise.
2nd, color filter
In practical application, the identification of color, gray scale and figure can be because of the influence of daylight, light, ambient light, meeting So that identification becomes inaccurate.For these situations, number set color filter is increased when taking pictures and is identified.
Specifically, with reference to Fig. 5, by experiment, under strong sunlight the shooting of green light it is relatively sharp, in light The light shooting of the Regional Red of difference is relatively sharp, according to similar such principle, between camera and identified region, installs additional A set of rotatable colored filter, in special light environment, by selection of the stepper motor to color filter, i.e., Suitable color may be selected, and the LED flash on camera shines when shooting simultaneously, region identified so just has and quilt Different colors is assigned, the color applied is scheduled in these colors and character wheel can occur superposition, become new color or figure Shape, can be with influence of the environment resistant light source to identified character wheel by the identification to new color or figure.
It is the schematic diagram of this system with reference to Fig. 6.The measuring system of the present invention includes camera, main control MCU chip, storage Module, stepper motor, color filter and communication module.
It can be seen that main control MCU chip is this system acp chip, when needing identification, MCU sends out signal, control step Stepper motor selects optical filter and takes pictures, and after taking pictures, main control MCU chip is identified, and the reading that will identify that passes through the mould that communicates Block is sent to remote data processing center or equipment.Optical filter is covered on the LED of camera, and the light of LED transmittings is through filtering Piece is irradiated to metering display area.Due to the effect of optical filter, color is changed, and the data of the comparison as identification, It stores in memory, generally by external flash.Specific identification method is, color can be considered as RGB be represent it is red, Green, blue three colors composition, this is current with one of most wide color system.For example, Red lightscreening plate is using just Red, rgb color value is (255,0,0), after camera is taken pictures by Red lightscreening plate, the original color being predetermined of character wheel After being photographed, RED sector theory increases RGB (255,0,0) this numerical value, will not increase completely in practice certainly, need to lead to It crosses experiment and show that calibration obtains in advance.It is assumed that it is all to increase 255, then in MCU processing, it is only necessary to will be original After data investigation numerical value after operation, you can complete new identification, improve jamproof ability and the energy in different applications Power and antijamming capability.Such as green can be more clear under dim light or under white heat, blue can inhibit under strong LED light source, Filter disc is placed when not knowing, it is not yet clear that can replace.In one embodiment, it is fixed according to use environment setting one Optical filter.Multiple optical filters can be set in another embodiment, if carried out more by stepper motor driving when not knowing It changes.Simultaneously in the event of based on colors and pattern or based on the numerical value difference that colouring intensity goes out with pattern identification, then may be used It is further identified with replacing optical filter, until readings are consistent for appearance.Setting transparent filter is further comprised in one embodiment.
Color filter is not limited only to reddish yellow blue three-color, and different optical filters can be configured according to site environment, only need Different identification can be realized in correction color value-based algorithm.
The basic principle of the present invention is described above in association with specific embodiment, however, it is desirable to, it is noted that above-mentioned specific reality Mode is applied, does not form the limitation to disclosure protection domain.Those skilled in the art are it is to be understood that depending on design will Various modifications, combination, sub-portfolio and replacement can occur for summation other factors.Any spirit and original in the disclosure Modifications, equivalent substitutions and improvements made within then etc. should be included within disclosure protection domain.The protection model of the present invention Enclose and be not limited to the above embodiments, it is clear that those skilled in the art can to the present invention carry out it is various change and deformation and Scope and spirit of the present invention are not departed from.If these changes and deformation belong to the model of the claims in the present invention and its equivalent technologies In enclosing, then including the intent of the present invention is also changed and is deformed comprising these.

Claims (10)

  1. A kind of 1. meter reading method based on image identification, which is characterized in that the number 0 of mechanical measuring instrument metering display area ~9 settings different background color and/or background graphics, shooting metering display area, pass through background color and/or background graphics Identify the numerical value that the mechanical measuring instrument metering display area is shown.
  2. 2. the meter reading method as described in claim 1 based on image identification, which is characterized in that background color is different color Classification or intensity.
  3. 3. a kind of meter reading system based on image identification, which is characterized in that including master control system and camera, the camera is adopted Collect the image of mechanical measuring instrument metering display area, and be sent to master control system;The mechanical measuring instrument metering is aobvious Show that zone digit 0~9 sets different background color and/or background graphics;
    The master control system identifies that the mechanical measuring instrument measures display area by background color and/or background graphics The numerical value of display.
  4. 4. the meter reading system as claimed in claim 3 based on image identification, which is characterized in that background color is different color Classification or intensity.
  5. 5. the meter reading system based on image identification as described in claim 3 or 4, which is characterized in that further include optical filter, cover On the LED of camera, the light of LED transmittings is irradiated to metering display area through optical filter.
  6. 6. the meter reading system as claimed in claim 5 based on image identification, which is characterized in that further include stepper motor;It is described Optical filter is multiple, and colors are different;The master control system control stepper motor drives multiple optical filter movements, selection One of multiple optical filters are covered on the LED of camera.
  7. 7. the meter reading system as claimed in claim 6 based on image identification, which is characterized in that it is more to further include memory module storage The increased color-values of difference of a optical filter, the master control system obtain the filter according to selected optical filter from memory module The increased color-values of mating plate, by image acquisition color-values, after rejecting the increased color-values of optical filter, then by background color and/ Or background graphics identify the numerical value that the mechanical measuring instrument metering display area is shown.
  8. 8. the meter reading system as claimed in claim 7 based on image identification, which is characterized in that the master control system judges image Clarity, if clarity is unsatisfactory for requiring, control stepper motor replace optical filter.
  9. 9. as claimed in claim 6 based on image identification meter reading system, which is characterized in that the optical filter include blue, Red, yellow, green or transparent filter plate.
  10. 10. the meter reading system as claimed in claim 5 based on image identification, which is characterized in that the master control system is according to the back of the body Scape figure and background color determine the reading of measuring instrument respectively, if the numerical value determined of background graphics and background color not phase Same situation then controls stepper motor to replace optical filter.
CN201810278301.9A 2018-03-31 2018-03-31 A kind of meter reading method and Meter Reading Device based on image identification Pending CN108256535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810278301.9A CN108256535A (en) 2018-03-31 2018-03-31 A kind of meter reading method and Meter Reading Device based on image identification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810278301.9A CN108256535A (en) 2018-03-31 2018-03-31 A kind of meter reading method and Meter Reading Device based on image identification

Publications (1)

Publication Number Publication Date
CN108256535A true CN108256535A (en) 2018-07-06

Family

ID=62747719

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810278301.9A Pending CN108256535A (en) 2018-03-31 2018-03-31 A kind of meter reading method and Meter Reading Device based on image identification

Country Status (1)

Country Link
CN (1) CN108256535A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060045389A1 (en) * 2004-08-25 2006-03-02 Butterworth Mark M Automatic meter reading
CN101079094A (en) * 2007-04-30 2007-11-28 中国科学院合肥物质科学研究院 Meter reading identification device for remote automatic meter reading system
CN101582129A (en) * 2008-12-02 2009-11-18 李刚 Intelligent reading method of mechanical rotary-type counter
CN102636858A (en) * 2011-10-13 2012-08-15 上海锐势机器视觉科技有限公司 Light filter switching mechanism
CN102799861A (en) * 2012-06-29 2012-11-28 上海大学 Method for rapidly identifying reading of instrument by using color
CN103984930A (en) * 2014-05-21 2014-08-13 南京航空航天大学 Digital meter recognition system and method based on vision
CN104992481A (en) * 2015-07-13 2015-10-21 广东电网有限责任公司惠州供电局 Metered inspection system and method based on image recognition technology
CN107038729A (en) * 2017-03-10 2017-08-11 中国航空工业集团公司洛阳电光设备研究所 A kind of digital meter panel method for drafting based on OpenGL ES

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060045389A1 (en) * 2004-08-25 2006-03-02 Butterworth Mark M Automatic meter reading
CN101079094A (en) * 2007-04-30 2007-11-28 中国科学院合肥物质科学研究院 Meter reading identification device for remote automatic meter reading system
CN101582129A (en) * 2008-12-02 2009-11-18 李刚 Intelligent reading method of mechanical rotary-type counter
CN102636858A (en) * 2011-10-13 2012-08-15 上海锐势机器视觉科技有限公司 Light filter switching mechanism
CN102799861A (en) * 2012-06-29 2012-11-28 上海大学 Method for rapidly identifying reading of instrument by using color
CN103984930A (en) * 2014-05-21 2014-08-13 南京航空航天大学 Digital meter recognition system and method based on vision
CN104992481A (en) * 2015-07-13 2015-10-21 广东电网有限责任公司惠州供电局 Metered inspection system and method based on image recognition technology
CN107038729A (en) * 2017-03-10 2017-08-11 中国航空工业集团公司洛阳电光设备研究所 A kind of digital meter panel method for drafting based on OpenGL ES

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王甲 等: "一种基于M-BUS通信技术...像识别算法的摄像式水表设计", 《仪表技术》, no. 6, pages 5 - 8 *
王甲 等: "基于图像识别或色彩识别的摄像直读技术探讨", 《集成电路应用》, vol. 35, no. 9, pages 7 - 10 *

Similar Documents

Publication Publication Date Title
CN104298994B (en) A kind of readings of pointer type meters recognition methods and device
CN107220645A (en) Water meter recognition methods based on dynamic image pro cess
CN110189314A (en) Automobile instrument panel image position method based on machine vision
CN105791783B (en) Camera imaging color adjusting method and system
CN106845514B (en) Deep learning-based reading judgment method and device for pointer type dial plate
CN208225082U (en) A kind of meter reading system based on image recognition
CN107310795A (en) Product external packaging detector and detecting system based on machine vision technique
CN101245994A (en) Calibration method for object surface three-dimensional contour structure light measurement system
CN104870967A (en) Method for checking the compliance of an optical characteristic of an ophthalmic lens and associated device
CN105423975B (en) The calibration system and method for a kind of large-scale workpiece
CN105608703A (en) Current transformer oil level detection method of intelligent substation inspection robot
CN107869954A (en) A kind of binocular vision volume weight measuring system and its implementation
CN106226033B (en) Method and device for detecting transmittance of transparent substrate
CN109146974A (en) A kind of readings of pointer type meters recognition methods and system
CN108986721A (en) A kind of test pattern generation method for display panel detection
CN110456904A (en) A kind of augmented reality glasses eye movement exchange method and system without calibration
CN108885098A (en) Apart from measuring device and apart from measuring method
CN206260024U (en) A kind of camera module and its equipment for iris recognition
CN108256535A (en) A kind of meter reading method and Meter Reading Device based on image identification
CN112036391B (en) Electronic inspection method and system based on shale gas field production station
CN102998026A (en) Automatic detection device for liquid glass thermometers
CN100483080C (en) Image direct reading method for character bar code metering indication character wheel
CN205607423U (en) Automatic identification equipment of automobile instrument pointer indicated value
CN105578154A (en) Platform and method for automatically reading electric energy meter based on image acquisition
CN101980299B (en) Chessboard calibration-based camera mapping method

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180706

WD01 Invention patent application deemed withdrawn after publication