CN110245654A - Total indicator reading recognition methods and device, computer installation and readable storage medium storing program for executing - Google Patents
Total indicator reading recognition methods and device, computer installation and readable storage medium storing program for executing Download PDFInfo
- Publication number
- CN110245654A CN110245654A CN201811381227.XA CN201811381227A CN110245654A CN 110245654 A CN110245654 A CN 110245654A CN 201811381227 A CN201811381227 A CN 201811381227A CN 110245654 A CN110245654 A CN 110245654A
- Authority
- CN
- China
- Prior art keywords
- pointer
- instrument region
- instrument
- center
- region
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 101
- 238000009434 installation Methods 0.000 title claims abstract description 8
- 238000010586 diagram Methods 0.000 claims abstract description 136
- 238000012360 testing method Methods 0.000 claims abstract description 97
- 238000012937 correction Methods 0.000 claims description 31
- 239000011159 matrix material Substances 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 15
- 238000013519 translation Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 description 36
- 238000012545 processing Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/25—Determination of region of interest [ROI] or a volume of interest [VOI]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V2201/00—Indexing scheme relating to image or video recognition or understanding
- G06V2201/02—Recognising information on displays, dials, clocks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Multimedia (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses a kind of total indicator reading recognition methods and devices, computer installation and readable storage medium storing program for executing, wherein the described method includes: acquisition obtains the image to be detected for being directed to meters under test;According to the first instrument region in the template image prestored, the second instrument region in described image to be detected is identified;According to the corresponding center in the first instrument region prestored, the second instrument region is converted into the second polar diagram;According to pointer feature information on the first polar diagram prestored, the position of pointer in the meters under test is identified from second polar diagram, wherein first polar diagram is the corresponding polar diagram in the first instrument region;According to the calibration points coordinate and scale value in the first instrument region prestored, the scale value of identified two calibration points adjacent with the position of pointer in the meters under test determines in the meters under test corresponding scale value at the position of pointer.
Description
Technical field
The present invention relates to technical field of image processing, in particular to a kind of total indicator reading recognition methods and device, computer
Device and readable storage medium storing program for executing.
Background technique
Many advantages, such as pointer instrument is due to simple structure, cheap, high reliablity, and be widely used in all
In such as monitoring of substation's equipment state.The reading to judge simultaneously record pointer formula instrument is often manually maked an inspection tour at present.
As it can be seen that there are recognition efficiencies is low for the existing Recognition of Reading method for pointer instrument, the high technology of error rate is asked
Topic.
Summary of the invention
The embodiment of the present invention provides a kind of total indicator reading recognition methods and device, existing for pointer instrument for solving
Recognition of Reading method recognition efficiency it is low, the high technical problem of error rate.
In a first aspect, the embodiment of the invention provides a kind of total indicator reading recognition methods, comprising:
Acquisition obtains the image to be detected for being directed to meters under test;
According to the first instrument region in the template image prestored, the second instrument area in described image to be detected is identified
Domain;
According to the corresponding center in the first instrument region prestored, the second instrument region is converted to second
Polar diagram, wherein the center is used to characterize the position of the rotation center of pointer in the first instrument region;
According to pointer feature information on the first polar diagram prestored, identified from second polar diagram it is described to
Survey the position of pointer in instrument, wherein first polar diagram is the corresponding polar diagram in the first instrument region;
According to the calibration points coordinate and scale value in the first instrument region prestored, the identified and instrument to be measured
The scale value of two adjacent calibration points of the position of pointer in table, is determined corresponding at the position of pointer in the meters under test
Scale value.
Optionally, it according to the first instrument region in the template image prestored, identifies in described image to be detected
After second instrument region, the method also includes:
Calculate the first instrument region and the interregional similarity of the second instrument;
If the similarity is less than preset threshold, the second instrument region is corrected, the instrument after being corrected
Region, wherein instrument region and the interregional similarity of the first instrument after correction are not less than the preset threshold;
Using the corresponding center in the first instrument region prestored as correction after instrument region center,
Instrument region after correction is converted into second polar diagram.
Optionally, the second instrument region is corrected, comprising:
At least two characteristic points are extracted from the template image;
The second instrument image is corrected according to scaled matrix and translation matrix, so that described at least two is special
Sign point is matched on the Instrument image after the correction.
Optionally, before acquisition obtains image to be detected, the method also includes:
Store calibration points coordinate, scale value and the pointer feature information in the first instrument region, wherein institute
Pointer feature information is stated including at least pointer two-end-point coordinate and pointer width;
According to the calibration points coordinate, the centre bit of the corresponding minimum circumscribed rectangle in the first instrument region is fitted
It sets, and using the center of the minimum circumscribed rectangle as the center in the first instrument region;
According to the pointer feature information and the center in the first instrument region, the first instrument area is determined
Angle in domain between the line of pointer coordinate and the center, with the first preset direction;
Store the corresponding relationship between the calibration points coordinate, the scale value, the angle.
Optionally, the method also includes:
Using the center of the minimum circumscribed rectangle as the polar coordinate transform center in the first instrument region, along
The circle ring area in the first instrument region where pointer is unfolded in two preset directions;
Interpolation is carried out for the circle ring area, the first instrument region is converted into first polar diagram;
Store first polar diagram and the angle corresponding height in first polar diagram.
According to pointer feature information on the first polar diagram prestored, identified from second polar diagram described
In meters under test after the position of pointer, the method also includes:
Determine pointer angle corresponding to height in second polar diagram in the meters under test;
According to the coordinate of the corresponding center position of angle and the first instrument region, the meters under test is determined
Position of the middle pointer in the second instrument region.
Optionally, according to calibration points coordinate and scale value in the first instrument region prestored, it is identified with it is described
The scale value of two adjacent calibration points of the position of pointer, is determined in the meters under test at the position of pointer in meters under test
Corresponding scale value, comprising:
Determine two calibration points pair that position of the pointer in the second instrument region is adjacent in the meters under test
The two calibration points coordinates answered;
The line for determining each calibration points coordinate and the center in described two calibration points coordinates, with described first
Angle between preset direction;
According to the company of the position and the center in the second instrument region of pointer in the meters under test
Angle between line, with the first direction, relationship between angle corresponding with described two calibration points coordinates and described two
The scale value of calibration points determines in the meters under test corresponding scale value at the position of pointer.
Second aspect, the embodiment of the invention also provides a kind of identification devices of total indicator reading, comprising:
Acquisition unit obtains the image to be detected for being directed to meters under test for acquiring;
First recognition unit identifies described image to be detected according to the first instrument region in the template image prestored
In second instrument region;
Converting unit, according to the corresponding center in the first instrument region prestored, by the second instrument region
Be converted to the second polar diagram, wherein the center is used to characterize the rotation center of pointer in the first instrument region
Position;
Second recognition unit, according to pointer feature information on the first polar diagram prestored, from second polar diagram
In identify the position of pointer in the meters under test, wherein first polar diagram is that the first instrument region is corresponding
Polar diagram;
Determination unit, according to the calibration points coordinate and scale value in the first instrument region prestored, it is identified with
The scale value of two adjacent calibration points of the position of pointer, determines the position of pointer in the meters under test in the meters under test
Set the corresponding scale value in place.
Optionally, it according to the first instrument region in the template image prestored, identifies in described image to be detected
After second instrument region, the converting unit is also used to:
Calculate the first instrument region and the interregional similarity of the second instrument;
If the similarity is less than preset threshold, the second instrument region is corrected, the instrument after being corrected
Region, wherein instrument region and the interregional similarity of the first instrument after correction are not less than the preset threshold;
Using the corresponding center in the first instrument region prestored as correction after instrument region center,
Instrument region after correction is converted into second polar diagram.
Optionally, the converting unit is also used to:
At least two characteristic points are extracted from the template image;
The second instrument image is corrected according to scaled matrix and translation matrix, so that described at least two is special
Sign point is matched on the Instrument image after the correction.
Optionally, before the acquisition unit acquires and obtains image to be detected, described device further includes storage unit, institute
Storage unit is stated to be used for:
Store calibration points coordinate, scale value and the pointer feature information in the first instrument region, wherein institute
Pointer feature information is stated including at least pointer two-end-point coordinate and pointer width;
According to the calibration points coordinate, the centre bit of the corresponding minimum circumscribed rectangle in the first instrument region is fitted
It sets, and using the center of the minimum circumscribed rectangle as the center in the first instrument region;
According to the pointer feature information and the center in the first instrument region, the first instrument area is determined
Angle in domain between the line of pointer coordinate and the center, with the first preset direction;
Store the corresponding relationship between the calibration points coordinate, the scale value, the angle.
Optionally, the storage unit is also used to:
Using the center of the minimum circumscribed rectangle as the polar coordinate transform center in the first instrument region, along
The circle ring area in the first instrument region where pointer is unfolded in two preset directions;
Interpolation is carried out for the circle ring area, the first instrument region is converted into first polar diagram;
Store first polar diagram and the angle corresponding height in first polar diagram.
Optionally, according to pointer feature information on the first polar diagram prestored, know from second polar diagram
Chu not be in the meters under test after the position of pointer, the determination unit is also used to:
Determine pointer angle corresponding to height in second polar diagram in the meters under test;
According to the coordinate of the corresponding center position of angle and the first instrument region, the meters under test is determined
Position of the middle pointer in the second instrument region.
Optionally, the determination unit is also used to:
Determine two calibration points pair that position of the pointer in the second instrument region is adjacent in the meters under test
The two calibration points coordinates answered;
The line for determining each calibration points coordinate and the center in described two calibration points coordinates, with described first
Angle between preset direction;
According to the company of the position and the center in the second instrument region of pointer in the meters under test
Angle between line, with the first direction, relationship between angle corresponding with described two calibration points coordinates and described two
The scale value of calibration points determines in the meters under test corresponding scale value at the position of pointer.
The third aspect, the embodiment of the invention also provides a kind of computer installation, the computer installation includes processor,
The processor realizes total indicator reading identification as described in relation to the first aspect when being used to execute the computer program stored in memory
The step of method.
Fourth aspect, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, are stored thereon with computer program, institute
State the step of total indicator reading recognition methods as described in relation to the first aspect is realized when computer program is executed by processor.
In the technical solution of the embodiment of the present invention, according to the first instrument region in the template image prestored, pass through spy
Sign match cognization goes out the second instrument region in image to be detected;Then, according to the corresponding center in first instrument region prestored
The second instrument region is converted into the second polar diagram by position.That is, using template image center establish to
The polar diagram of altimetric image.Then, according to pointer feature information on the first polar diagram prestored, by characteristic matching from this
In two polar diagrams, the pointer position of meters under test in the image to be detected is identified;Then, according to the first instrument area prestored
Calibration points coordinate and scale value in domain, determine the scale of two calibration points adjacent with the position of pointer in the meters under test
Then value based on the scale value of two adjacent calibration points, determines in meters under test corresponding scale at the position of pointer
Value.To realize the automatic identification to readings of pointer type meters, recognition efficiency and accuracy are improved.
In the technical solution of the embodiment of the present invention, in first instrument region, the similarity interregional with second instrument is less than
When preset threshold, which is corrected, so that the phase that the instrument region after correction is interregional with first instrument
It is not less than the preset threshold like degree.To ensure that instrument region and the interregional rotation for only existing pointer of first instrument after correction
Slip is different.Then, the centre bit according to the corresponding center in first instrument region prestored as the instrument region after correction
It sets, the instrument region after correction is converted into the second polar diagram, be then based on the second polar diagram and the first polar diagram again
Total indicator reading is identified, to improve the recognition accuracy to pointer in pointer instrument.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, embodiment will be described below
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment.
Fig. 1 is a kind of method flow diagram of total indicator reading recognition methods provided in an embodiment of the present invention;
Fig. 2 is a kind of template image signal provided in a kind of total indicator reading recognition methods provided in an embodiment of the present invention
Figure;
Fig. 3 is the method flow in a kind of total indicator reading recognition methods provided in an embodiment of the present invention after step s 102
Figure;
Fig. 4 is part method flow in step S102 in a kind of total indicator reading recognition methods provided in an embodiment of the present invention
Figure;
Fig. 5 is another method flow diagram in a kind of total indicator reading recognition methods provided in an embodiment of the present invention;
Fig. 6 is that the one of which in a kind of total indicator reading recognition methods provided in an embodiment of the present invention marks calibration points
The schematic diagram of note;
Fig. 7 is each calibration points coordinate in first instrument region in a kind of total indicator reading recognition methods provided in an embodiment of the present invention
One of schematic diagram of the circle surrounded;
Fig. 8 is that the one of which in first instrument region in a kind of total indicator reading recognition methods provided in an embodiment of the present invention is shown
It is intended to;
Fig. 9 is the cursor line for extending first instrument region in a kind of total indicator reading recognition methods provided in an embodiment of the present invention
With circle come the schematic diagram of the circular arc for the excessively each calibration points being fitted in the first instrument region;
Figure 10 is showing for one of which fitting circle shown in a kind of total indicator reading recognition methods provided in an embodiment of the present invention
It is intended to;
Figure 11 is pointer coordinate in first instrument region in a kind of total indicator reading recognition methods provided in an embodiment of the present invention
One of schematic diagram of angle between the line and the first preset direction of center;
Figure 12 is a kind of another method flow diagram of total indicator reading recognition methods provided in an embodiment of the present invention;
Figure 13 be in a kind of total indicator reading recognition methods provided in an embodiment of the present invention pointer two-end-point in first instrument area
The schematic diagram of circle ring area where in domain;
Figure 14 is the method stream in a kind of total indicator reading recognition methods provided in an embodiment of the present invention after step s 104
Cheng Tu;
Figure 15 is the method flow diagram of step S105 in a kind of total indicator reading recognition methods provided in an embodiment of the present invention;
Figure 16 is a kind of method flow schematic diagram of automatic identification readings of pointer type meters provided in an embodiment of the present invention;
Figure 17 is a kind of structural block diagram of the identification device of total indicator reading provided in an embodiment of the present invention.
Specific embodiment
" first ", " second " in description and claims of this specification and above-mentioned attached drawing etc. are for distinguishing difference
Object is not use to describe a particular order.In addition, term " includes " and their any deformation, it is intended that covering is not
Exclusive includes.Such as it contains the process, method, system, product or equipment of a series of steps or units and is not limited to
The step of listing or unit, but optionally further comprising the step of not listing or unit, or optionally further comprising for these
The intrinsic other step or units of process, method, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to technical solution of the present invention
It is described in detail, it should be understood that the specific features in the embodiment of the present invention and embodiment are to the detailed of technical solution of the present invention
Thin explanation, rather than the restriction to technical solution of the present invention, in the absence of conflict, the embodiment of the present invention and embodiment
In technical characteristic can be combined with each other.
Referring to FIG. 1, the embodiment of the invention provides a kind of total indicator reading recognition methods, comprising:
S101: acquisition obtains the image to be detected for being directed to meters under test;
S102: according to the first instrument region in the template image prestored, second in described image to be detected is identified
Instrument region;
S103: according to the corresponding center in the first instrument region prestored, the second instrument region is converted
For the second polar diagram, wherein the center is used to characterize the position of the rotation center of pointer in the first instrument region
It sets;
S104: it according to pointer feature information on the first polar diagram prestored, is identified from second polar diagram
The position of pointer in the meters under test, wherein first polar diagram is the corresponding polar coordinates in the first instrument region
Figure;
S105: according to the calibration points coordinate and scale value in the first instrument region prestored, it is identified with it is described
The scale value of two adjacent calibration points of the position of pointer, is determined in the meters under test at the position of pointer in meters under test
Corresponding scale value.
In the specific implementation process, step S101 to step S105's the specific implementation process is as follows:
Firstly, acquisition obtains the image to be detected for being directed to meters under test, specifically can be by having the function of infrared photography
Video camera, can also be able to carry out visible images acquisition video camera, to acquire the image to be detected.Certainly, ability
The technical staff in domain can also use corresponding video camera to acquire the image to be detected according to actual needs, herein just no longer
It repeats.In addition, in the specific implementation process, which is specially the instrument for including pointer, that is to say, that this is to be measured
Instrument is pointer instrument.For example, the meters under test be ammeter, voltmeter, pressure gauge, etc..Moreover, the image to be detected
In may include a pointer instrument, can also be including two or more pointer instrument.
Then, according to the first instrument region in the template image prestored, the second instrument in the image to be detected is identified
Table section.In the specific implementation process, the first instrument region can be manually or automatically determined from template image, and is stored
The upper left corner origin coordinates in the first instrument region, the long wide scope in the first instrument region is (for example, ordinate range, horizontal seat
Mark range).It is illustrated in figure 2 one of template image schematic diagram, the rectangle frame in figure is first instrument region.It is specific next
It says, such as ORB in the prior art can be passed through using the first instrument region determined from the template image as matching template
(Oriented FAST and rotated BRIEF) Feature Points Matching algorithm, SURF (Speeded Up Robust
Features) image processing methods such as template matching, gradient, edge shape feature extract the corresponding figure in first instrument region
As feature, to identify the second instrument region in the image to be detected by Image Feature Matching.Wherein, first instrument
Table section and the second instrument region include pointer and instrument board.
Then, according to the corresponding center in first instrument region prestored, second instrument region is converted into the second pole
Coordinate diagram, wherein center is used to characterize the position of the rotation center of pointer in first instrument region.That is, according to
The polar diagram of testing image is established in the corresponding center in first instrument region in template image.In the specific implementation process,
Instrument region and the pointer area in image to be detected need to can be only identified by characteristic matching, detection process is more
Simplify, and the interference of the environmental factors such as detection process is not easy to be illuminated by the light, temperature, versatility are more preferable.
Then, according to pointer feature information on the first polar diagram prestored, identified from second polar diagram to
Survey the position of pointer in instrument, wherein first polar diagram is the corresponding polar diagram in first instrument region.Specific real
During applying, feature can be carried out to the matching template and mentioned using the pointer area of the determination in template image as matching template
It takes, determines pointer feature information (for example, the two-end-point coordinate of pointer, width information of pointer, etc.).Then, pass through figure
As characteristic matching, the position of pointer in meters under test is oriented in matching from second polar diagram.
Then, according to the calibration points coordinate and scale value in the first instrument region prestored, the identified and instrument to be measured
The scale value of two adjacent calibration points of the position of pointer in table determines in the meters under test corresponding quarter at the position of pointer
Angle value.That is, from being determined in the second polar diagram in meters under test after the position of pointer, it is adjacent according to the position
The two calibration points coordinates prestored corresponding to scale value, determine in meters under test corresponding practical scale at the position of pointer
Value.To realize the automatic identification to total indicator reading in meters under test, Recognition of Reading efficiency and accuracy are improved.
In embodiments of the present invention, in addition to using step S101 realized to step S105 to one in image to be detected to
Survey gauge pointer reading automatic identification outside, be also based on same realization principle realize in image to be detected it is multiple to
The automatic identification for surveying gauge pointer reading, to improve the recognition efficiency for pointer instrument total indicator reading.
In embodiments of the present invention, in order to improve the recognition accuracy to pointer in meters under test.Referring to FIG. 3, in step
Rapid S102: according to the first instrument region in the template image prestored, the second instrument area in described image to be detected is identified
After domain, the method also includes:
S201: the first instrument region and the interregional similarity of the second instrument are calculated;
S202: if the similarity is less than preset threshold, the second instrument region is corrected, after being corrected
Instrument region, wherein instrument region and the interregional similarity of the first instrument after correction are not less than the preset threshold;
S203: using the corresponding center in the first instrument region prestored as the center in the instrument region after correction
Instrument region after correction is converted into second polar diagram by position.
In the specific implementation process, step S201 to step S203's the specific implementation process is as follows:
Firstly, calculating first instrument region and the interregional similarity of second instrument.Detect the similarity whether be less than it is pre-
If threshold value.For example, the preset threshold is 80%.If the similarity is less than preset threshold, school is carried out to the second instrument region
Just, so that instrument region and the interregional similarity of the first instrument after correction are more than or equal to the preset threshold.For example,
It is that video camera faces pointer meters acquired image, and image to be detected is the camera lens of video camera along opposite in template image
Meters under test tilts 10 ° of acquired images, if carrying out pointer identification directly against the image to be detected, it is easy to identification knot
Fruit inaccuracy.
Then, using the corresponding center in first instrument region prestored as the centre bit in the instrument region after correction
It sets, the instrument region after correction is converted into second polar diagram, then, the second polar diagram and the first pole can be based on
Coordinate diagram carries out the determination of pointer position in meters under test, to improve the recognition accuracy to pointer in meters under test.
In embodiments of the present invention, referring to FIG. 4, in step S202: being corrected, wrap to the second instrument region
It includes:
S301: at least two characteristic points are extracted from the template image;
S302: being corrected the second instrument image according to scaled matrix and translation matrix so that it is described at least
On Instrument image after two Feature Points Matchings to the correction.
In the specific implementation process, step S301 to step S302's the specific implementation process is as follows:
It is possible, firstly, to extract at least two characteristic points from template image.Then, according to scaled matrix and translation matrix
Second instrument image is corrected, thus by the Instrument image after at least two Feature Points Matching to correction.For example, from
It is A and B that two characteristic points are extracted in template image, in order to which the two characteristic points A and B to be respectively matched in image to be detected
A1 and B1 can specifically be converted by matrix:
A=k*A1+b, B=k*B1+b are realized.That is, many feature point groups at template image can pass through
Scaled matrix and translation matrix are corrected image to be detected.Certainly, those skilled in the art is in addition to using above-mentioned
Bearing calibration except being corrected to second instrument region, can also use other bearing calibrations according to actual needs
Correction, details are not described herein again.
In embodiments of the present invention, in order to realize the quick identification to the reading of pointer in meters under test, referring to FIG. 5,
The method also includes:
S401: storing calibration points coordinate, scale value and the pointer feature information in the first instrument region,
In, the pointer feature information includes at least pointer two-end-point coordinate and pointer width;
S402: it according to the calibration points coordinate, fits in the corresponding minimum circumscribed rectangle in the first instrument region
Heart position, and using the center of the minimum circumscribed rectangle as the center in the first instrument region;
S403: according to the pointer feature information and the center in the first instrument region, described first is determined
The line of instrument region middle finger needle coordinate and the center, with the angle between the first preset direction;
S404: the corresponding relationship between the calibration points coordinate, the scale value, the angle is stored.
In the specific implementation process, step S401 to step S404's the specific implementation process is as follows:
In embodiments of the present invention, it in order to realize the automatic identification to total indicator reading in pointer instrument, is being embodied
In the process, it is first modeled, generates the polar diagram of template image, then, then carry out specific feature identification.Specific modeling
Process is specifically, firstly, store the calibration points coordinate in the first instrument region, scale value and pointer feature information, this refers to
Needle characteristic information includes at least pointer two-end-point coordinate and pointer width.In the specific implementation process, it specifically can be in user
After first instrument region is selected from template image center, then reference mark point stores the corresponding calibration points of these calibration points
Coordinate and scale value corresponding with calibration points coordinate.Then, the two-end-point coordinate and pointer width of pointer can be determined
Etc. pointer features information.It is illustrated in figure 6 one of schematic diagram that calibration points are marked, schemes medium and small rectangle frame institute's frame choosing
It is corresponding calibration points.
Then, according to calibration points coordinate, the center of the corresponding minimum circumscribed rectangle in first instrument region is fitted, and
Using the corresponding center in the center of the minimum circumscribed rectangle as the center in first instrument region.The minimum is external
Rectangle can be the elliptical minimum circumscribed rectangle that each calibration points coordinate is surrounded in first instrument region, can also be the first instrument
The minimum circumscribed rectangle for the circle that each calibration points coordinate is surrounded in table section.Wherein, it is illustrated in figure 7 in first instrument region each
One of schematic diagram for the circle that calibration points coordinate is surrounded, " O " puts center and minimum of the corresponding circle in Fig. 7
The center of boundary rectangle.
In addition, in the specific implementation process, can also generate and intend corresponding to first instrument region in the following manner
Close oval or circle.By taking fitting circle as an example, it is illustrated in figure 8 one of schematic diagram in first instrument region.Pass through as shown in Figure 9
Extend the cursor line in first instrument region, the circular arc of excessively each calibration points in the instrument region be fitted with a circle,
In, the center of the circle is on pointer extended line, and the round arc is on the circular arc of excessively each calibration points.It is final to obtain as shown in Figure 10
Fitting circle.Certainly, those skilled in the art can also come according to actual needs using different methods, the first instrument of Lai Shengcheng
Fitted ellipse corresponding to table section or circle, details are not described herein again.In addition, for the ease of subsequent to pointer in meters under test
The quick identification of position, by such as rectangular centre coordinate bit corresponding to the corresponding minimum circumscribed rectangle of fitted ellipse or circle
It sets, length and width, rotation angle (for example rectangle long side is compared to the angle in positive three direction) etc. information are stored.
Then, according to pointer feature and the center in first instrument region, pointer in the first instrument region is determined
Angle between the line of coordinate and center, with the first preset direction.Wherein one of angle α between the two as shown in figure 11
Kind schematic diagram, wherein " O " point is the center in first instrument region, and 3 o'clock direction is the first preset direction.To convert
At the height of pointer on corresponding first polar diagram in first instrument region, and store the height of pointer on first polar diagram
Degree.It in the specific implementation process, specifically can be according to the folder between the line of calibration points coordinate and center, with 3 o'clock direction
0 ° to 360 ° of angle sequence Angle is established at angle, in a height of PI*d2 of maximum of the first polar diagram, then high degree of sequence h=
Angle/2/PI*d2, wherein 0 ° of corresponding height is in the top of the first polar diagram, and 180 ° of corresponding height are in the first pole
The centre of coordinate diagram, 360 ° of corresponding height the first polar diagram minimal face, thus by the calibration points under rectangular coordinate system
Coordinate information is converted to the elevation information on polar diagram, that is to say, that can establish reading sequence by high degree of sequence
read.Due to the one-to-one relationship between calibration points coordinate and scale value, can establish angle sequence with reading sequence
One-to-one relationship between read.In this way, can be determined after determining height of the pointer on polar diagram
Angle sequence, and then determine reading sequence, it also can quickly determine the actual read number of pointer.
Then, the corresponding relationship between calibration points coordinate, scale value, angle, height can be stored.To pass through
Each information of storage is extracted, to be identified to the reading of pointer in meters under test, at information extraction process
Fast speed is managed, to improve the recognition efficiency to pointer in meters under test.
In embodiments of the present invention, it in order to realize the identification to pointer position in the second polar diagram, needs Prototype drawing
Picture is converted into polar diagram, please refers to Figure 12, the method also includes:
S501: using the center of the minimum circumscribed rectangle as in the polar coordinate transform in the first instrument region
The circle ring area in the first instrument region where pointer is unfolded along the second preset direction in the heart;
S502: interpolation is carried out for the circle ring area, the first instrument region is converted into first polar coordinates
Figure;
S503: storage first polar diagram and the angle corresponding height in first polar diagram.
In the specific implementation process, step S501 to step S503's the specific implementation process is as follows:
Firstly, using the center of the minimum circumscribed rectangle as the polar coordinate transform center in first instrument region, along
The circle ring area in the first instrument region where pointer is unfolded in two preset directions.For example, being 3 o'clock in second preset direction
When direction, the circle ring area at pointer two-end-point place in first instrument region, the annular regions are unfolded clockwise along 3 o'clock direction
Domain specifically can be the annulus between d1 to d2, as shown in fig. 13 that circle ring area, wherein d1 is that pointer leans on entad
For the point of " O " to the distance of " O ", d2 is distance of point of the pointer far from " O " to " O ".
Then, interpolation is carried out for the circle ring area, which is converted into the first polar diagram, specific
In implementation process, the width of the polar diagram is d2-d1, a height of 2*PI*d2 of the polar diagram or be PI*d2, certainly, ability
The height or width of the polar diagram can also be arranged in the technical staff in domain according to actual needs.In addition, the first instrument region institute
The X-axis of corresponding polar coordinate system is radius value of the pixel away from center, and the Y-axis of polar coordinate system is that the Circular measure * of angle is unfolded
Radius.
Then, first polar diagram and the angle corresponding height in first polar diagram are stored.Specific real
During applying, template image can be specifically stored by the storage formats such as xml document or json file determine and such as carve
The information such as degree point coordinate, scale value, angle, height, center.
In embodiments of the present invention, in step S104: according to pointer feature information on the first polar diagram prestored, from institute
It states and is identified in the second polar diagram in the meters under test after the position of pointer, please refer to Figure 14, the method also includes:
S601: pointer angle corresponding to height in second polar diagram in the meters under test is determined;
S602: according to the coordinate of the corresponding center position of angle and the first instrument region, determine it is described to
Survey position of the pointer in the second instrument region in instrument.
In the specific implementation process, step S601 to step S602's the specific implementation process is as follows:
Firstly, determining pointer angle corresponding to height in the second polar diagram in meters under test.It is above-mentioned
Describe the corresponding relationship between height and angle in detail, once the position of pointer in meters under test is identified from the second polar diagram
After setting, pointer angle corresponding to height in the second polar diagram in the meters under test can be determined.For example, to
When height of the pointer in the second polar diagram is H in survey instrument, the angle degree=H/d2 of the pointer position.
Then, can according to the coordinate of the corresponding center position of angle and first instrument region, determine this to
Survey position of the pointer in second instrument region in instrument.That is, being converted into directly based on the pointer position under polar coordinate system
The position in image to be detected under angular coordinate system.It in the specific implementation process, is respectively pointer tip pt1 in pointer two-end-point
(pt1.x, pt1.y) and pointer end pt2 (pt2.x, pt2.y), angle degree, when O (x, y) of center, this is to be measured
The two-end-point position of pointer in instrument are as follows:
Pt1.x=O.x+d1*cos (degree)
Pt1.y=O.x+d1*sin (degree)
Pt2.x=O.x+d2*cos (degree)
Pt2.x=O.x+d2*sin (degree)
In addition, in the specific implementation process, can also first calculate pt2, then according to degree, obtain in meters under test
The slope of straight line, can further determine the linear equation where the pointer where pointer.Further, it is also possible to using referring to
The distance of needle two-end-point is constant (distance of the pointer two-end-point is obtained based on the pointer two-end-point coordinate of storage), passes through pt1
On linear equation, distance is constant between pt1 and pt2, can determine the distance of pointer.
In addition, in the specific implementation process, since degree is based primarily upon determined by the characteristic matching at pointer tip, because
This, often there is error in pt1.When minimum circumscribed rectangle is not on pointer extended line, there are biggish errors.At this point, also
Feature identification can be re-started to pt1, then calculated " degree " for belonging to pt1, then calculated pt1.
In embodiments of the present invention, Figure 15, step S105 are please referred to: according to the quarter in the first instrument region prestored
Degree point coordinate and scale value, the scale value of identified two calibration points adjacent with the position of pointer in the meters under test,
Determine in the meters under test corresponding scale value at the position of pointer, comprising:
S701: two scales that position of the pointer in the second instrument region is adjacent in the meters under test are determined
The corresponding two calibration points coordinates of point;
S702: determining the line of each calibration points coordinate and the center in described two calibration points coordinates, with institute
State the angle between the first preset direction;
S703: according to the position and the center in the second instrument region of pointer in the meters under test
Line, and the angle between the first direction, relationship between angle corresponding with described two calibration points coordinates and described
The scale value of two calibration points determines in the meters under test corresponding scale value at the position of pointer.
In the specific implementation process, step S701 to step S703's the specific implementation process is as follows:
Firstly, two calibration points for determining that position of the pointer in second instrument region is adjacent in meters under test are corresponding
Two calibration points coordinates.Then, the company of each calibration points coordinate and center in two calibration points coordinates can be determined
Angle between line, with the first preset direction, for example, the first preset direction is 3 o'clock direction, the angle determined is Anglen+1,
Anglen.In addition, determining to read read accordingly according to the corresponding relationship between calibration points coordinate and scale valuen+1, readn。
Then, can according to the line of position and center of the pointer in meters under test in second instrument region,
With the angle between the first preset direction, relationship between angle corresponding with the two calibration points coordinates and two calibration points
Scale value determines the scale value in the meters under test at the position of pointer.Still by taking above-mentioned example as an example, in Anglen+1>
Anglen, readn+1>readn, when angle of the pointer in the second polar diagram is Angle in meters under test, in the meters under test
Actual read number read at the position of pointer are as follows:
In addition, in the specific implementation process, the corresponding relationship being also based between angle and height can also be from adjacent
The corresponding height of two calibration points, the corresponding relationship between height corresponding with the position place of the pointer in meters under test come true
Determine the scale value in meters under test at the position of pointer.Certainly, those skilled in the art can also set according to actual needs
The reading to pointer in meters under test is counted, details are not described herein again.
In embodiments of the present invention, a kind of side of automatic identification readings of pointer type meters as shown in figure 16 is specifically provided
Method flow chart, specifically, entire automatic identification process include the modeling process for generating the first polar diagram of template image, with
And feature identification process.Since the specific implementation of each step during entire automatic identification has carried out in detail above-mentioned
Narration, details are not described herein again.
Based on same inventive concept, Figure 17 is please referred to, the embodiment of the invention also provides a kind of identifications of total indicator reading
Device, comprising:
Acquisition unit 10 obtains the image to be detected for being directed to meters under test for acquiring;
First recognition unit 20 identifies the mapping to be checked according to the first instrument region in the template image prestored
Second instrument region as in;
Converting unit 30, according to the corresponding center in the first instrument region prestored, by the second instrument area
Domain is converted to the second polar diagram, wherein the center is for characterizing in the first instrument region in the rotation of pointer
The position of the heart;
Second recognition unit 40, according to pointer feature information on the first polar diagram prestored, from second polar coordinates
The position of pointer in the meters under test is identified in figure, wherein first polar diagram is the first instrument region pair
The polar diagram answered;
Determination unit 50, it is identified according to the calibration points coordinate and scale value in the first instrument region prestored
The scale value of two calibration points adjacent with the position of pointer in the meters under test determines pointer in the meters under test
Corresponding scale value at position.
In embodiments of the present invention, it according to the first instrument region in the template image prestored, identifies described to be checked
After second instrument region in altimetric image, converting unit 30 is also used to:
Calculate the first instrument region and the interregional similarity of the second instrument;
If the similarity is less than preset threshold, the second instrument region is corrected, the instrument after being corrected
Region, wherein instrument region and the interregional similarity of the first instrument after correction are not less than the preset threshold;
Using the corresponding center in the first instrument region prestored as correction after instrument region center,
Instrument region after correction is converted into second polar diagram.
In embodiments of the present invention, converting unit 30 is also used to:
At least two characteristic points are extracted from the template image;
The second instrument image is corrected according to scaled matrix and translation matrix, so that described at least two is special
Sign point is matched on the Instrument image after the correction.
In embodiments of the present invention, before the acquisition unit acquires and obtains image to be detected, described device further includes
Storage unit, the storage unit are used for:
Store calibration points coordinate, scale value and the pointer feature information in the first instrument region, wherein institute
Pointer feature information is stated including at least pointer two-end-point coordinate and pointer width;
According to the calibration points coordinate, the centre bit of the corresponding minimum circumscribed rectangle in the first instrument region is fitted
It sets, and using the center of the minimum circumscribed rectangle as the center in the first instrument region;
According to the pointer feature information and the center in the first instrument region, the first instrument area is determined
Angle in domain between the line of pointer coordinate and the center, with the first preset direction;
Store the corresponding relationship between the calibration points coordinate, the scale value, the angle.
In embodiments of the present invention, the storage unit is also used to:
Using the center of the minimum circumscribed rectangle as the polar coordinate transform center in the first instrument region, along
The circle ring area in the first instrument region where pointer is unfolded in two preset directions;
Interpolation is carried out for the circle ring area, the first instrument region is converted into first polar diagram;
Store first polar diagram and the angle corresponding height in first polar diagram.
In embodiments of the present invention, the pointer feature information on the first polar diagram that basis prestores, from second pole
Identify that in the meters under test after the position of pointer, determination unit 50 is also used in coordinate diagram:
Determine pointer angle corresponding to height in second polar diagram in the meters under test;
According to the coordinate of the corresponding center position of angle and the first instrument region, the meters under test is determined
Position of the middle pointer in the second instrument region.
In embodiments of the present invention, determination unit 50 is also used to:
Determine two calibration points pair that position of the pointer in the second instrument region is adjacent in the meters under test
The two calibration points coordinates answered;
The line for determining each calibration points coordinate and the center in described two calibration points coordinates, with described first
Angle between preset direction;
According to the company of the position and the center in the second instrument region of pointer in the meters under test
Angle between line, with the first direction, relationship between angle corresponding with described two calibration points coordinates and described two
The scale value of calibration points determines in the meters under test corresponding scale value at the position of pointer.
Based on the same inventive concept, a kind of computer installation is provided in the embodiment of the present invention, comprising: processor, it is described
The step of processor is for realizing total indicator reading recognition methods as described above when executing the computer program stored in memory.
Based on the same inventive concept, the embodiment of the present invention also mentions a kind of readable storage medium storing program for executing, is stored thereon with computer journey
The step of sequence, the computer program realizes total indicator reading recognition methods as described above when being executed by processor.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (16)
1. a kind of total indicator reading recognition methods characterized by comprising
Acquisition obtains the image to be detected for being directed to meters under test;
According to the first instrument region in the template image prestored, the second instrument region in described image to be detected is identified;
According to the corresponding center in the first instrument region prestored, the second instrument region is converted into the second pole and is sat
It marks on a map, wherein the center is used to characterize the position of the rotation center of pointer in the first instrument region;
According to pointer feature information on the first polar diagram prestored, the instrument to be measured is identified from second polar diagram
The position of pointer in table, wherein first polar diagram is the corresponding polar diagram in the first instrument region;
According to the calibration points coordinate and scale value in the first instrument region prestored, in the identified and meters under test
The scale value of two adjacent calibration points of the position of pointer determines in the meters under test corresponding scale at the position of pointer
Value.
2. the method as described in claim 1, which is characterized in that the first instrument region in the template image that basis prestores,
After identifying the second instrument region in described image to be detected, the method also includes:
Calculate the first instrument region and the interregional similarity of the second instrument;
If the similarity is less than preset threshold, the second instrument region is corrected, the instrument region after being corrected,
Wherein, the instrument region after correction and the interregional similarity of the first instrument are not less than the preset threshold;
Using the corresponding center in the first instrument region prestored as the center in the instrument region after correction, high-ranking officers
Instrument region after just is converted into second polar diagram.
3. method according to claim 2, which is characterized in that be corrected to the second instrument region, comprising:
At least two characteristic points are extracted from the template image;
The second instrument image is corrected according to scaled matrix and translation matrix, so that at least two characteristic point
On Instrument image after being matched to the correction.
4. the method as described in claim 1, which is characterized in that before acquisition obtains image to be detected, the method is also wrapped
It includes:
Store calibration points coordinate, scale value and the pointer feature information in the first instrument region, wherein the finger
Needle characteristic information includes at least pointer two-end-point coordinate and pointer width;
According to the calibration points coordinate, the center of the corresponding minimum circumscribed rectangle in the first instrument region is fitted, and
Using the center of the minimum circumscribed rectangle as the center in the first instrument region;
According to the pointer feature information and the center in the first instrument region, determine in the first instrument region
Angle between the line of pointer coordinate and the center, with the first preset direction;
Store the corresponding relationship between the calibration points coordinate, the scale value, the angle.
5. method as claimed in claim 4, which is characterized in that the method also includes:
It is pre- along second using the center of the minimum circumscribed rectangle as the polar coordinate transform center in the first instrument region
The circle ring area in the first instrument region where pointer is unfolded in set direction;
Interpolation is carried out for the circle ring area, the first instrument region is converted into first polar diagram;
Store first polar diagram and the angle corresponding height in first polar diagram.
6. method as claimed in claim 5, which is characterized in that according to pointer feature letter on the first polar diagram prestored
Breath, is identified from second polar diagram in the meters under test after the position of pointer, the method also includes:
Determine pointer angle corresponding to height in second polar diagram in the meters under test;
According to the coordinate of the corresponding center position of angle and the first instrument region, the meters under test middle finger is determined
Position of the needle in the second instrument region.
7. method as claimed in claim 6, which is characterized in that according to calibration points coordinate in the first instrument region prestored
With scale value, the scale value of identified two calibration points adjacent with the position of pointer in the meters under test determines institute
State in meters under test corresponding scale value at the position of pointer, comprising:
Two calibration points for determining that position of the pointer in the second instrument region is adjacent in the meters under test are corresponding
Two calibration points coordinates;
The line for determining each calibration points coordinate and the center in described two calibration points coordinates, it is default with described first
Angle between direction;
According to the line of the position in the second instrument region of pointer in the meters under test and the center, with
Angle between first preset direction, relationship between angle corresponding with described two calibration points coordinates and described two
The scale value of calibration points determines in the meters under test corresponding scale value at the position of pointer.
8. a kind of identification device of total indicator reading characterized by comprising
Acquisition unit obtains the image to be detected for being directed to meters under test for acquiring;
First recognition unit identifies in described image to be detected according to the first instrument region in the template image prestored
Second instrument region;
Converting unit converts the second instrument region according to the corresponding center in the first instrument region prestored
For the second polar diagram, wherein the center is used to characterize the position of the rotation center of pointer in the first instrument region
It sets;
Second recognition unit is known from second polar diagram according to pointer feature information on the first polar diagram prestored
Not Chu in the meters under test pointer position, wherein first polar diagram is the corresponding pole in the first instrument region
Coordinate diagram;
Determination unit, according to the calibration points coordinate and scale value in the first instrument region prestored, it is identified with it is described
The scale value of two adjacent calibration points of the position of pointer, is determined in the meters under test at the position of pointer in meters under test
Corresponding scale value.
9. device as claimed in claim 8, which is characterized in that the first instrument region in the template image that basis prestores,
After identifying the second instrument region in described image to be detected, the converting unit is also used to:
Calculate the first instrument region and the interregional similarity of the second instrument;
If the similarity is less than preset threshold, the second instrument region is corrected, the instrument region after being corrected,
Wherein, the instrument region after correction and the interregional similarity of the first instrument are not less than the preset threshold;
Using the corresponding center in the first instrument region prestored as the center in the instrument region after correction, high-ranking officers
Instrument region after just is converted into second polar diagram.
10. device as claimed in claim 9, which is characterized in that the converting unit is also used to:
At least two characteristic points are extracted from the template image;
The second instrument image is corrected according to scaled matrix and translation matrix, so that at least two characteristic point
On Instrument image after being matched to the correction.
11. device as claimed in claim 8, which is characterized in that before the acquisition unit acquires and obtains image to be detected,
Described device further includes storage unit, and the storage unit is used for:
Store calibration points coordinate, scale value and the pointer feature information in the first instrument region, wherein the finger
Needle characteristic information includes at least pointer two-end-point coordinate and pointer width;
According to the calibration points coordinate, the center of the corresponding minimum circumscribed rectangle in the first instrument region is fitted, and
Using the center of the minimum circumscribed rectangle as the center in the first instrument region;
According to the pointer feature information and the center in the first instrument region, determine in the first instrument region
Angle between the line of pointer coordinate and the center, with the first preset direction;
Store the corresponding relationship between the calibration points coordinate, the scale value, the angle.
12. device as claimed in claim 11, which is characterized in that the storage unit is also used to:
It is pre- along second using the center of the minimum circumscribed rectangle as the polar coordinate transform center in the first instrument region
The circle ring area in the first instrument region where pointer is unfolded in set direction;
Interpolation is carried out for the circle ring area, the first instrument region is converted into first polar diagram;
Store first polar diagram and the angle corresponding height in first polar diagram.
13. device as claimed in claim 12, which is characterized in that according to pointer feature letter on the first polar diagram prestored
Breath, identifies that in the meters under test after the position of pointer, the determination unit is also used to from second polar diagram:
Determine pointer angle corresponding to height in second polar diagram in the meters under test;
According to the coordinate of the corresponding center position of angle and the first instrument region, the meters under test middle finger is determined
Position of the needle in the second instrument region.
14. device as claimed in claim 13, which is characterized in that the determination unit is also used to:
Two calibration points for determining that position of the pointer in the second instrument region is adjacent in the meters under test are corresponding
Two calibration points coordinates;
The line for determining each calibration points coordinate and the center in described two calibration points coordinates, it is default with described first
Angle between direction;
According to the line of the position in the second instrument region of pointer in the meters under test and the center, with
Angle between the first direction, relationship and described two scales between angle corresponding with described two calibration points coordinates
The scale value of point determines in the meters under test corresponding scale value at the position of pointer.
15. a kind of computer installation, which is characterized in that the computer installation includes processor, and the processor is for executing
Realizing the total indicator reading recognition methods as described in any one of claim 1-7 when the computer program stored in memory
Step.
16. a kind of readable storage medium storing program for executing, is stored thereon with computer program, it is characterised in that: the computer program is processed
The step of total indicator reading recognition methods as described in any one of claim 1-7 is realized when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811381227.XA CN110245654B (en) | 2018-11-20 | 2018-11-20 | Pointer reading identification method and device, computer device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811381227.XA CN110245654B (en) | 2018-11-20 | 2018-11-20 | Pointer reading identification method and device, computer device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110245654A true CN110245654A (en) | 2019-09-17 |
CN110245654B CN110245654B (en) | 2024-06-07 |
Family
ID=67882435
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811381227.XA Active CN110245654B (en) | 2018-11-20 | 2018-11-20 | Pointer reading identification method and device, computer device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110245654B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110738260A (en) * | 2019-10-16 | 2020-01-31 | 名创优品(横琴)企业管理有限公司 | Method, device and equipment for detecting placement of space boxes of retail stores of types |
CN110796095A (en) * | 2019-10-30 | 2020-02-14 | 浙江大华技术股份有限公司 | Instrument template establishing method, terminal equipment and computer storage medium |
CN111401377A (en) * | 2020-03-13 | 2020-07-10 | 北京市商汤科技开发有限公司 | Instrument data reading method and device, electronic equipment and storage medium |
CN111428659A (en) * | 2020-03-27 | 2020-07-17 | 京东方科技集团股份有限公司 | Pointer positioning method and device and instrument |
CN111612836A (en) * | 2020-05-26 | 2020-09-01 | 福建省海峡智汇科技有限公司 | Identification method and system for hollow circular pointer type instrument |
CN111695551A (en) * | 2020-05-27 | 2020-09-22 | 中国农业科学院农业信息研究所 | Dial reading method and device, computer equipment and readable storage medium |
CN111860464A (en) * | 2020-08-07 | 2020-10-30 | 成都交大光芒科技股份有限公司 | Substation auxiliary monitoring system pointer reading identification compensation method and device |
CN112464986A (en) * | 2020-10-30 | 2021-03-09 | 济南浪潮高新科技投资发展有限公司 | Reading method and device for pointer type disc instrument |
CN113313122A (en) * | 2021-06-11 | 2021-08-27 | 曲阜师范大学 | Pointer type instrument automatic reading identification method based on computer vision |
CN113536895A (en) * | 2021-05-28 | 2021-10-22 | 立得空间信息技术股份有限公司 | Disc pointer meter identification method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103759758A (en) * | 2014-01-26 | 2014-04-30 | 哈尔滨工业大学 | Method for detecting position of automobile meter needle based on mechanical angle and scale identification |
CN107490398A (en) * | 2017-08-04 | 2017-12-19 | 湖北工业大学 | A kind of gauge pointer automatic identifying method |
CN107729896A (en) * | 2017-10-24 | 2018-02-23 | 武汉科技大学 | A kind of automatic identifying method suitable for the wide tuning drive gear formula instrument of transformer station |
US20180211122A1 (en) * | 2017-01-20 | 2018-07-26 | Jack Cooper Logistics, LLC | Artificial intelligence based vehicle dashboard analysis |
-
2018
- 2018-11-20 CN CN201811381227.XA patent/CN110245654B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103759758A (en) * | 2014-01-26 | 2014-04-30 | 哈尔滨工业大学 | Method for detecting position of automobile meter needle based on mechanical angle and scale identification |
US20180211122A1 (en) * | 2017-01-20 | 2018-07-26 | Jack Cooper Logistics, LLC | Artificial intelligence based vehicle dashboard analysis |
CN107490398A (en) * | 2017-08-04 | 2017-12-19 | 湖北工业大学 | A kind of gauge pointer automatic identifying method |
CN107729896A (en) * | 2017-10-24 | 2018-02-23 | 武汉科技大学 | A kind of automatic identifying method suitable for the wide tuning drive gear formula instrument of transformer station |
Non-Patent Citations (2)
Title |
---|
张道德;王周星;胡新宇;吴良溢;: "压力表图像自动识别系统研究", 湖北工业大学学报, no. 01, pages 70 - 73 * |
汤亮;何稳;李倩;张董洁;汪威;胡新宇;: "基于空间变换的指针式仪表读数识别算法研究", 电测与仪表, no. 06, pages 122 - 127 * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110738260A (en) * | 2019-10-16 | 2020-01-31 | 名创优品(横琴)企业管理有限公司 | Method, device and equipment for detecting placement of space boxes of retail stores of types |
CN110796095B (en) * | 2019-10-30 | 2022-08-09 | 浙江大华技术股份有限公司 | Instrument template establishing method, terminal equipment and computer storage medium |
CN110796095A (en) * | 2019-10-30 | 2020-02-14 | 浙江大华技术股份有限公司 | Instrument template establishing method, terminal equipment and computer storage medium |
CN111401377A (en) * | 2020-03-13 | 2020-07-10 | 北京市商汤科技开发有限公司 | Instrument data reading method and device, electronic equipment and storage medium |
CN111401377B (en) * | 2020-03-13 | 2024-03-08 | 北京市商汤科技开发有限公司 | Meter data reading method and device, electronic equipment and storage medium |
CN111428659A (en) * | 2020-03-27 | 2020-07-17 | 京东方科技集团股份有限公司 | Pointer positioning method and device and instrument |
CN111612836A (en) * | 2020-05-26 | 2020-09-01 | 福建省海峡智汇科技有限公司 | Identification method and system for hollow circular pointer type instrument |
CN111612836B (en) * | 2020-05-26 | 2021-03-23 | 福建省海峡智汇科技有限公司 | Identification method and system for hollow circular pointer type instrument |
CN111695551A (en) * | 2020-05-27 | 2020-09-22 | 中国农业科学院农业信息研究所 | Dial reading method and device, computer equipment and readable storage medium |
CN111695551B (en) * | 2020-05-27 | 2023-09-01 | 中国农业科学院农业信息研究所 | Method and device for reading dial, computer equipment and readable storage medium |
CN111860464A (en) * | 2020-08-07 | 2020-10-30 | 成都交大光芒科技股份有限公司 | Substation auxiliary monitoring system pointer reading identification compensation method and device |
CN111860464B (en) * | 2020-08-07 | 2021-12-07 | 成都交大光芒科技股份有限公司 | Substation auxiliary monitoring system pointer reading identification compensation method and device |
CN112464986A (en) * | 2020-10-30 | 2021-03-09 | 济南浪潮高新科技投资发展有限公司 | Reading method and device for pointer type disc instrument |
CN113536895A (en) * | 2021-05-28 | 2021-10-22 | 立得空间信息技术股份有限公司 | Disc pointer meter identification method |
CN113313122A (en) * | 2021-06-11 | 2021-08-27 | 曲阜师范大学 | Pointer type instrument automatic reading identification method based on computer vision |
Also Published As
Publication number | Publication date |
---|---|
CN110245654B (en) | 2024-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110245654A (en) | Total indicator reading recognition methods and device, computer installation and readable storage medium storing program for executing | |
CN107167169B (en) | Readings of pointer type meters based on NI Vision Builder for Automated Inspection identifies measurement method | |
CN110659636B (en) | Pointer instrument reading identification method based on deep learning | |
CN100559131C (en) | A kind of method for automatically detecting pointer instrument | |
Yang et al. | An image-based intelligent system for pointer instrument reading | |
EP2972080B1 (en) | Device for three-dimensional scanning, and method thereof | |
CN103262127A (en) | Object display device, object display method, and object display program | |
CN103776482B (en) | The image detecting method of the scale of pointer instrument without scale line | |
CN113269193A (en) | Pointer type meter reading method, device and storage medium | |
CN109464148A (en) | Measure the apparatus and system of spinal curvature | |
CN109712157A (en) | A kind of gravitational field method accelerometer calibration method based on monocular vision | |
Villasante et al. | Measurement errors in the use of smartphones as low-cost forestry hypsometers | |
CN111131810A (en) | Lens definition measuring method, device and system and measuring chart | |
CN107563368A (en) | The High Precision Automatic reading plotter and method of double hand of dial formula instrument | |
Mai et al. | An automatic meter reading method based on one-dimensional measuring curve mapping | |
CN109506617B (en) | Sensor data processing method, storage medium, and electronic device | |
JP6803940B2 (en) | Remote meter reading computer, its method and program | |
Breitbarth et al. | Phase unwrapping of fringe images for dynamic 3D measurements without additional pattern projection | |
CN114882487A (en) | Pointer instrument reading method and system | |
CN114972714A (en) | Dial reading method, device, system and computer readable storage medium | |
CN111047552A (en) | Three-dimensional deflection measuring method and related product | |
CN206504686U (en) | Propeller blade measurer for thickness and measuring system | |
Sroba et al. | The influence of subpixel corner detection to determine the camera displacement | |
JP2020034525A (en) | Information processing apparatus and method, and computer program | |
CN112464986B (en) | Reading method and device for pointer type disc instrument |
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 |