CN103699867B - Wedge-shaped bar code recognition method - Google Patents
Wedge-shaped bar code recognition method Download PDFInfo
- Publication number
- CN103699867B CN103699867B CN201310595979.7A CN201310595979A CN103699867B CN 103699867 B CN103699867 B CN 103699867B CN 201310595979 A CN201310595979 A CN 201310595979A CN 103699867 B CN103699867 B CN 103699867B
- Authority
- CN
- China
- Prior art keywords
- pattern
- width
- wedge shaped
- wedge
- shaped pattern
- 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.)
- Expired - Fee Related
Links
Landscapes
- Image Analysis (AREA)
Abstract
The invention discloses a wedge-shaped bar code recognition method, wherein a wedge-shaped code is adopted as a data information carrier, the wedge-shaped code is formed by combining the most stable three basic strokes of horizontal stroke, vertical stroke and oblique stroke, and the variation is read from different positions of the bar code when the bar code is recognized. From the perspective of coding, the amount of information of the wedge-shaped bar code is far more than that of a one-dimension code, and meanwhile, with the adoption of the variation recognition mode, the wedge-shaped bar code can be read by a cheap one-dimension scanning device when read. In addition, the recognition mode adopts a variation comparative judgment mode, and a certain threshold is set for the variation, so that the anti-interference property of the wedge-shaped code is greatly enhanced.
Description
Technical field
The present invention relates to a kind of bar code, especially relate to a kind of recognition methodss of wedge shape bar code.
Background technology
Continuous expansion with retail business and development, the developing rapidly of logistics, a kind of using regularly arranged bar, empty and
Its corresponding character arises at the historic moment come the mark to represent a certain amount of merchandise news, and this mark is exactly bar code.Will be according to certain
The bar code that rule compiles out is converted into significant information, needs to set up scanning and two processes of decoding, the color of object
It is that the type being reflected by light determines, white object can reflect the visible ray of various wavelength, and black object then absorbs various ripples
Long visible ray, so after the light that bar code scanner light source sends reflects on bar code, reflected light is irradiated to bar code and sweeps
Retouch on the optical-electrical converter within device, optical-electrical converter, according to strong and weak different reflected light signal, is converted into the corresponding signal of telecommunication.
Informal voucher, the width difference of secret note, corresponding signal duration length is also different.Decoder passes through to measure pulse digit telecommunications
Number 0,1 number, to differentiate bar and empty number, to differentiate bar and empty width by measuring 0,1 signal duration.Institute
The data obtaining carries out data processing and management through computer system, according to corresponding coding rule (for example: ean-8 code),
Bar symbol is changed into institute's numeral, character information accordingly during coding, to realize reading and the identification of information.
The bar code commonly used at present comprises one-dimensional bar code and two-dimensional bar, and one-dimensional bar code is different by width, interval
Some black and white vertical striped composition, generally go up expressing information in only the horizontal direction, and do not express any information in vertical direction,
Because one-dimensional bar code structure is simple, therefore there is quick identification, the low advantage of error rate, but the simple structure of one-dimensional bar code
Also lead to its data capacity less, letter and number can only be comprised.Limited by information capacity, one-dimensional bar code is only right
The mark of article, and the description to article can not be accomplished.And two-dimensional bar can store up in two-dimensional space both horizontally and vertically
Deposit information, with the chequered with black and white graphic recording data symbol information of distribution, have the characteristics that information content is big.But, two dimension
Although bar code have expressed substantial amounts of information, however it is necessary that in horizontal and vertical two orientation expressing information simultaneously, for reading
Equipment requirements are high, and recognition speed is slow, and current Quick Response Code identification equipment kind is few and price is high, seriously constrains making of Quick Response Code
With.
Further, since the every field feature using bar code is different, the requirement to carrying information needed for bar code is not yet
Same, lead to each field using different bar codes so that general information can not cross-cutting be shared.At present the commodity of China, medicine,
The fields such as books use different bar code systems, have had a strong impact on the development process that informationization is interconnected, therefore, how
There is provided that a kind of information content is big, recognition speed is high, read that equipment is wide in variety, moderate bar code is people in the art
The problem that member makes great efforts to solve.
Content of the invention
The purpose of the present invention: aim to provide a kind of structure simply, data capacity is big, recognition speed is high, read equipment kind
Abundant, moderate wedge shape bar code and its recognition methodss.
A kind of recognition methodss of this wedge shape bar code it is characterised in that: comprise the steps:
A) set wedge shaped pattern coding schedule, wherein according to compiling information data need set the wedge that used of bar code
Shape pattern, and wedge shaped pattern is encoded, concurrently set the unit width of wedge shaped pattern.;
Coding such as numeral, letter, Chinese character and other information etc. can be carried out as needed in practical application, and optimize wedge shape code
After obtain more preferable recognition effect.In the present embodiment, have selected with rectangle, parallelogram, triangle for fundamental figure with
And its 16 kinds of figures that deformation is constituted, and rectangle and parallelogram are set with 2 kinds of unit widths, then respectively to every
Individual wedge shaped pattern is encoded.
B) two horizontal scanning lines are taken using bar code recognition equipment in upper and lower two different parts of wedge shape bar code, often
Bar horizontal scanning line all obtains two cross points with wedge shaped pattern.
C) the pattern width variable quantity of the x-axis coordinate analysis wedge shaped pattern according to cross point and pattern both sides tilt quantity.
D) wedge shaped pattern is analyzed according to pattern width variable quantity, if pattern width variable quantity is 0, execution step e continues
Analysis wedge shaped pattern both sides tilt quantity;If pattern width variable quantity is not 0, execution step g is decoded.
E) wedge shaped pattern is analyzed according to pattern both sides tilt quantity, if pattern both sides tilt quantity is 0, execution step f continues
The unit width of continuous analysis wedge shaped pattern;If any one gradient that rolls of pattern is not 0, execution step g is decoded.F) analyze
The unit width of wedge shaped pattern, execution step g is decoded.
G) it is translated into the wedge shape figure in wedge shaped pattern coding schedule according to variable quantity and unit width, and according to wedge shape
Coding rule automatic turning in pattern code table translates the coding representated by this wedge shaped pattern.
H) repeat step c, d, e, f, g, completes the identification of whole wedge shape bar code, reduces wedge shape eventually through programmed algorithm
The carrying information of bar code.
The spacing of two horizontal scanning lines described in step b is the half of bar code height.
Pattern width variable quantity described in step c be wedge shaped pattern top two cross point between unit width intersect with bottom two
The difference of unit width between point.
Pattern both sides tilt quantity described in step c be wedge shaped pattern the x-axis coordinate in longitudinal homonymy two cross point between unit width
The difference of degree.
The ranges of error values of pattern width variable quantity is 0~0.5 unit width, the error amount model of pattern both sides tilt quantity
Enclose for 0~0.3 unit width;
In contrast patterns width variation, the value asking for b-a and d-c respectively is compared again, if left and right expression formula phase
Difference is for, in 0.5 unit width, taking " b-a=d-c ", that is, image top is equal with lower width;The left side than the right little more than 0.5
Individual unit width, takes " b-a < d-c ", and that is, image upper width is less than lower width;The left side is big wider more than 0.5 unit than the right
Degree, takes " b-a > d-c ", and that is, image upper width is more than lower width.
In contrast patterns both sides tilt quantity, the difference asking for a-c is compared again, if (a-c) ∈ (- 0.3,0.3), two
Person's difference is in 0.3 unit width, takes " a=c ", and that is, this side is vertical configuration;If (a-c) ∈ (- ∞, -0.3), both differences
Little more than 0.3 unit width, take " a < c ", that is, this side is tilted to the right;If (a-c) ∈ (0.3, ∞), both exceed greatly difference
0.3 unit width, takes " a > c ", and this side is tilted to the left;
A represents the x-axis coordinate in cross point on the left of wedge shaped pattern and upper level scan line, and b represents wedge shaped pattern and top
The x-axis coordinate in cross point on the right side of horizontal scanning line, c represents that the x-axis in cross point on the left of wedge shaped pattern and lower horizontal scan line is sat
Mark, d represents the x-axis coordinate in cross point on the left of wedge shaped pattern and lower horizontal scan line.
The present invention adopts wedge shape code as the carrier of data message, and wedge shape code is with most stable of horizontal, vertical, oblique three kinds substantially
Stroke combination forms, and during identification, the diverse location in bar code reads its variable quantity.The quantity of information of wedge shape code from the point of view of coding angle
It is far longer than one-dimension code, one-dimension code is made up of vertical rectangle striped, by width and the spacing storage information of rectangle striped, that is,
Storage information in the horizontal direction, but wedge shape code of the present invention increased the variable quantity to figure vertical direction deformation
Consider so that this wedge shape code all can store information in the horizontal direction and the vertical direction.Larger data message amount then may be used
Further indicate that numeral, letter, the information such as Chinese character is not although quantity of information has Quick Response Code so much, but has substantially met day
The needs of normal productive life.
This recognition method that wedge shape bar code is adopted with variable quantity, is allowed to be swept with the one-dimensional of low price when reading
Equipment of retouching reads.Further, since this recognition method adopts the contrast discriminant approach of variable quantity, and variable quantity is set certain
Threshold value, the anti-interference of such wedge shape code greatly enhances, and is embodied in the fouling resistance ability of wedge shape code, reduces wedge shape code to carrier material
The requirement of matter, reduces the requirement in precision, distance, angle, light and the translational speed of reading equipment, under certain translational speed
Even multistage wedge shape code can be read, in addition, the setting of variable quantity threshold value is also false proof in the addition of specific application scenario simultaneously
Provide very big feasibility etc. technology, be that the extension utilization of wedge shape code provides probability.Same method is applied to uses up
Signal of telecommunication identification that electrical scanner obtains is it is adaptable to the scanning recognition equipment of current bar code.
Brief description
The present invention is further described with reference to the accompanying drawings and examples
Fig. 1 is the wedge shape bar code example codes table of the present invention;
Fig. 2 is the endowed schematic diagram of wedge shape bar code of the present invention;
Fig. 3 is the wedge shape bar code image-recognizing method schematic diagram of the present invention;
Specific embodiment
We combine accompanying drawing and specific example this wedge shape bar code is further described in detail below
The recognition methodss of this wedge shape bar code it is characterised in that: comprise the steps:
A) set wedge shaped pattern coding schedule, wherein according to compiling information data need set the wedge that used of bar code
Shape pattern, and wedge shaped pattern is encoded, concurrently set the unit width of wedge shaped pattern.;
Coding such as numeral, letter, Chinese character and other information etc. can be carried out as needed in practical application, and optimize wedge shape code
After obtain more preferable recognition effect.In the present embodiment, have selected with rectangle, parallelogram, triangle for fundamental figure with
And its 16 kinds of figures that deformation is constituted, and rectangle and parallelogram are set with 2 kinds of unit widths, then respectively to every
Individual wedge shaped pattern is encoded.
B) two horizontal scanning lines are taken using bar code recognition equipment in upper and lower two different parts of wedge shape bar code, often
Bar horizontal scanning line all obtains two cross points with wedge shaped pattern.
C) the pattern width variable quantity of the x-axis coordinate analysis wedge shaped pattern according to cross point and pattern both sides tilt quantity.
D) wedge shaped pattern is analyzed according to pattern width variable quantity, if pattern width variable quantity is 0, execution step e continues
Analysis wedge shaped pattern both sides tilt quantity;If pattern width variable quantity is not 0, execution step g is decoded.
E) wedge shaped pattern is analyzed according to pattern both sides tilt quantity, if pattern both sides tilt quantity is 0, execution step f continues
The unit width of continuous analysis wedge shaped pattern;If any one gradient that rolls of pattern is not 0, execution step g is decoded.F) analyze
The unit width of wedge shaped pattern, execution step g is decoded.
G) it is translated into the wedge shape figure in wedge shaped pattern coding schedule according to variable quantity and unit width, and according to wedge shape
Coding rule automatic turning in pattern code table translates the coding representated by this wedge shaped pattern.
H) repeat step c, d, e, f, g, completes the identification of whole wedge shape bar code, reduces wedge shape eventually through programmed algorithm
The carrying information of bar code.
The spacing of two horizontal scanning lines described in step b is the half of bar code height.
Pattern width variable quantity described in step c be wedge shaped pattern top two cross point between unit width intersect with bottom two
The difference of unit width between point.
Pattern both sides tilt quantity described in step c be wedge shaped pattern the x-axis coordinate in longitudinal homonymy two cross point between unit width
The difference of degree.
For example, a represents the x-axis coordinate in cross point on the left of wedge shaped pattern and upper level scan line, b represent wedge shaped pattern with
The x-axis coordinate in cross point on the right side of upper level scan line, c represents the x in cross point on the left of wedge shaped pattern and lower horizontal scan line
Axial coordinate, d represents the x-axis coordinate in cross point on the left of wedge shaped pattern and lower horizontal scan line
The ranges of error values of pattern width variable quantity is 0~0.5 unit width, the error amount model of pattern both sides tilt quantity
Enclose for 0~0.3 unit width;In contrast patterns width variation, by discriminant b-a=d-c, left and right expression formula differs and is
In 0.5 unit width, take "=";The left side than the right little more than 0.5 unit width, take " < ";The left side than the right big more than 0.5
Individual unit width, takes " > ";In contrast patterns both sides tilt quantity, by discriminant a=c, left and right expression formula differs as 0.3 unit
In width, take "=";The left side than the right little more than 0.3 unit width, take " < ";The left side is big wider more than 0.3 unit than the right
Degree, takes " > ".
In practical operation, wedge shape bar code coding schedule as shown in Figure 1 need to be set according to coding rule first, according to pre-
Fixed coding rule, sets up corresponding relation between wedge shaped pattern and its expressed implication.When setting wedge shaped pattern,
Line scan is entered simultaneously to the top of each figure in bar code and bottom, with the width versus between the black lines up and down that obtain,
Position versus, can correspond to exactly to 16 fundamental figures as shown in Figure 1.Such as, when top black line width is more than bottom
When, this figure necessarily del, that is, the numbering in Fig. 1 be " 6 ", " 7 ", " a ", " c ", the figure of " e ".Then,
By comparing the position versus of two-end-point about black line, such as, when top black line left end point is on the bottom black line left end point left side, on
Portion's black line right endpoint and bottom black line right endpoint position consistency, then this pattern is numbering " 6 ".
So identification is advantageous in that there is stronger anti-interference.It is known that code word is being shot with optical camera
During it is difficult to ensure that object absolute rest or focal length are fully aligned, and both of these case all can bring the smear of image existing
As.General bar code, in this case can to decode with the absolute width (typically having four kinds of width) measuring black and white septal line
Because smear leads to black and white septal line length to change, thus leading to decoding error.And above recognition methodss, it is right not need first
Any white line width measures, (right only for " 0 " " 1 " contrast, " 2 " " 3 " without measuring its absolute width for black line
Than, " 4 " " 5 " contrast when, need to compare absolute growth, but only two kinds length, rather than four kinds), but compare upper and lower black line
Length and position relationship.When motion blur phenomenon occurs, the width of smear is often almost consistent for the top and the bottom of image
, so, length scale relation and the endpoint location relation of upper and lower black line can't be affected.
After the setting completing coding schedule, the bar shaped that available scanning device identification is generated according to pre-arranged code rule
Code.Fig. 2 is the endowed schematic diagram of wedge shape bar code of the present invention, also can as needed wedge shape code be carried out endowed, to represent more
Item Information.
For example, when identifying the wedge shape identification code shown in Fig. 2, taking first wedge shaped pattern as a example, scanning device is in bar code
Two parallel scan lines y1 of upper projection and y2, and thus obtain the two dimension of 4 cross points a, b, i, j of first bar code module
Coordinate, secondly calculates the x-axis coordinate that this 4 cross points are projected in 4 subpoints in x-axis respectively, and now the x coordinate of subpoint divides
Not Wei ax, bx, ix and jx, analyze this 4 numerical value, due to its pattern width variable quantity bx-ax=jx-ix, this wedge shaped pattern top
Between two cross points, between unit width and bottom two cross point, unit width difference is 0, then need to analyze its pattern both sides further
Tilt quantity, the x-axis coordinate ax=ix of two cross point subpoints in x-axis on the left of this wedge shaped pattern, two, right side cross point is in x
The x-axis coordinate bx=jx of subpoint on axle, the x-axis coordinate of its wedge shaped pattern homonymy is identical two-by-two, i.e. its pattern both sides tilt quantity
For 0, also need to compare the unit width of this group x-axis coordinate further, because the value of bx-ax is twice unit width, contrast wedge shape
Bar code example codes table, first wedge shaped pattern is identified as " 1 ".
Taking second wedge shaped pattern as a example, scanning device projects two parallel scan lines y1 and y2 in bar code, and by
This obtains the two-dimensional coordinate of 4 cross points c, d, k, l of second wedge shaped pattern, secondly calculates this 4 cross points and projects respectively
The x-axis coordinate of 4 subpoints in x-axis, now the x coordinate of subpoint respectively cx, dx, kx and lx, analyzes this 4 numerical value,
Due to its pattern width variable quantity dx-cx=lx-kx, between this wedge shaped pattern top two cross point, unit width is intersected with bottom two
Between point, unit width difference is 0, then need to analyze its pattern both sides tilt quantity, two cross points on the left of this wedge shaped pattern further
The x-axis coordinate cx=kx of subpoint in x-axis, the x-axis coordinate dx=lx of two, right side cross point subpoint in x-axis, its wedge shape
The x-axis coordinate of pattern homonymy is identical two-by-two, and that is, its pattern both sides tilt quantity is also 0, also needs to compare this group x-axis coordinate further
Unit width, the value of dx-cx is single times of unit width, contrasts wedge shape bar code example codes table, second wedge shaped pattern identification
For " 0 ".
Taking the 3rd wedge shaped pattern as a example, scanning device projects two parallel scan lines y1 and y2 in bar code, and by
This obtains the two-dimensional coordinate of 4 cross points e, f, m, n of the 3rd wedge shaped pattern, secondly calculates this 4 cross points and projects respectively
The x-axis coordinate of 4 subpoints in x-axis, now the x coordinate of subpoint respectively ex, fx, mx and nx, analyzes this 4 numerical value,
Due to its pattern width variable quantity fx-ex > nx-mx, between this wedge shaped pattern top two cross point, unit width is handed over more than bottom two
Unit width between crunode, then this wedge shaped pattern should be del, analyze its pattern both sides tilt quantity further, two on the left of it
The x-axis coordinate ex < mx of cross point subpoint in x-axis, illustrates to be tilted to the right on the left of it, and two, right side cross point is in x-axis upslide
The x-axis coordinate fx=nx of shadow point, illustrates its Right vertical, then this wedge shaped pattern is chamfer triangle, contrasts wedge shape bar code
Example codes table, the 3rd wedge shaped pattern is identified as " 6 ".
Taking the 4th wedge shaped pattern as a example, scanning device projects two parallel scan lines y1 and y2 in bar code, and by
This obtains the two-dimensional coordinate of 4 cross points g, h, o, p of the 4th wedge shaped pattern, secondly calculates this 4 cross points and projects respectively
The x-axis coordinate of 4 subpoints in x-axis, now the x coordinate of subpoint respectively gx, hx, ox and px, analyzes this 4 numerical value,
Due to its pattern width variable quantity hx-gx=px-ox, between this wedge shaped pattern top two cross point, unit width is intersected with bottom two
Between point, unit width difference is 0, then need to analyze its pattern both sides tilt quantity, two cross points on the left of this wedge shaped pattern further
The x-axis coordinate gx < ox of subpoint in x-axis, the x-axis coordinate hx < px of two, right side cross point subpoint in x-axis, and ox-
Gx=px-hx, both sides x-axis coordinate pattern both sides tilt quantity is identical around, also needs to compare the unit of this group x-axis coordinate further
Width, the value twice unit width of hx-gx, contrast wedge shape bar code example codes table, the 4th wedge shaped pattern is identified as " 5 ".
According to solution single codeword number out, decoded information is the data of a string 16 systems, if this data and its
The verification bit check at end coincide it is believed that successfully decoded exports this data, otherwise it is assumed that decoding unsuccessfully, abandons this two field picture.
Shoot in view of photographic head and will necessarily there is error, thus in reality accurately "=" phenomenon can not possibly exist, so
We to above-mentioned "=", "<", ">" do following notice:
The ranges of error values of pattern width variable quantity is 0~0.5 unit width, the error amount model of pattern both sides tilt quantity
Enclose for 0~0.3 unit width.
A represents the x-axis coordinate in cross point on the left of wedge shaped pattern and upper level scan line, and b represents wedge shaped pattern and top
The x-axis coordinate in cross point on the right side of horizontal scanning line, c represents that the x-axis in cross point on the left of wedge shaped pattern and lower horizontal scan line is sat
Mark, d represents the x-axis coordinate in cross point on the left of wedge shaped pattern and lower horizontal scan line.
In contrast patterns width variation, the value asking for b-a and d-c respectively is compared again, if left and right expression formula phase
Difference is for, in 0.5 unit width, taking " b-a=d-c ", that is, image top is equal with lower width;The left side is less than the right and exceedes
0.5 unit width, takes " b-a < d-c ", and that is, image upper width is less than lower width;The left side is bigger than the right and more than 0.5
Unit width, takes " b-a > d-c ", and that is, image upper width is more than lower width.
In contrast patterns both sides tilt quantity, the difference asking for a-c is compared again, if (a-c) ∈ (- 0.3,0.3), two
Person's difference is in 0.3 unit width, takes " a=c ", and that is, this side is vertical configuration;If (a-c) ∈ (- ∞, -0.3), both differences
Become little and more than 0.3 unit width, take " a < c ", that is, this side is tilted to the right;If (a-c) ∈ (0.3, ∞), both become at difference
Greatly and more than 0.3 unit width, take " a > c ", that is, this side is tilted to the left.
Meanwhile, the threshold value of this error can set according to the requirement of actual scene and identification, even if sending out in image during scanning
Raw shake or mobile in the case of, the both sides of image create smear, but due to the structure of its general image will not occur big
Change, still keeps original grown form, therefore, the upper and lower width variation of image and tilt quantity also will not occur big changing
Become, the present invention undoubtedly has preferably fault-tolerant effect using variable quantity as criterion of identification.Additionally, tilt quantity is except with homonymy two
Between individual cross point, between x-axis coordinate, difference, to weigh, also can use the angle between hypotenuse and horizontal scanning line to be used as weighing mark
Accurate.If being defined further to tilt quantity, more data messages also can be carried according to different tilt quantity.
Claims (5)
1. a kind of recognition methodss of wedge shape bar code it is characterised in that: comprise the steps:
A) set wedge shaped pattern coding schedule, wherein according to compiling information data need set the wedge that used of bar code
Case, and wedge shaped pattern is encoded, concurrently set the unit width of wedge shaped pattern;
B) two horizontal scanning lines, every water are taken using bar code recognition equipment in upper and lower two different parts of wedge shape bar code
Scan lines all obtain two cross points with wedge shaped pattern;
C) the pattern width variable quantity of the x-axis coordinate analysis wedge shaped pattern according to cross point and pattern both sides tilt quantity;
D) wedge shaped pattern is analyzed according to pattern width variable quantity, if pattern width variable quantity is 0, execution step e continues analysis
Wedge shaped pattern both sides tilt quantity;If pattern width variable quantity is not 0, execution step g is decoded;
E) wedge shaped pattern is analyzed according to pattern both sides tilt quantity, if pattern both sides tilt quantity is 0, execution step f continues to divide
The unit width of analysis wedge shaped pattern;If any one gradient that rolls of pattern is not 0, execution step g is decoded;
F) analyze the unit width of wedge shaped pattern, execution step g is decoded;
G) it is translated into the wedge shape figure in wedge shaped pattern coding schedule according to variable quantity and unit width, and according to wedge shaped pattern
Coding rule automatic turning in coding schedule translates the coding representated by this wedge shaped pattern;
H) repeat step c, d, e, f, g, completes the identification of whole wedge shape bar code, reduces wedge shape bar shaped eventually through programmed algorithm
The carrying information of code.
2. as claimed in claim 1 a kind of recognition methodss of wedge shape bar code it is characterised in that: the Liang Tiaoshui described in step b
The spacing of scan lines is the half of bar code height.
3. as claimed in claim 1 a kind of recognition methodss of wedge shape bar code it is characterised in that: pattern width described in step c
Variable quantity be wedge shaped pattern top two cross point between unit width and bottom two cross point unit width difference.
4. as claimed in claim 1 a kind of recognition methodss of wedge shape bar code it is characterised in that: pattern both sides described in step c
Tilt quantity be wedge shaped pattern the x-axis coordinate in longitudinal homonymy two cross point between unit width difference.
5. as claimed in claim 1 a kind of recognition methodss of wedge shape bar code it is characterised in that: the mistake of pattern width variable quantity
Difference range is 0~0.5 unit width, and the ranges of error values of pattern both sides tilt quantity is 0~0.3 unit width;
In contrast patterns width variation, the value asking for b-a and d-c respectively is compared again, if left and right expression formula differs being
In 0.5 unit width, take " b-a=d-c ", that is, image top is equal with lower width;The left side is less than the right and more than 0.5
Unit width, takes " b-a < d-c ", and that is, image upper width is less than lower width;The left side is bigger than the right and wide more than 0.5 unit
Degree, takes " b-a > d-c ", and that is, image upper width is more than lower width;
In contrast patterns both sides tilt quantity, the difference asking for a-c is compared again, if (a-c) ∈ (- 0.3,0.3), both are poor
It is worth for, in 0.3 unit width, taking " a=c ", that is, this side is vertical configuration;If (a-c) ∈ (- ∞, -0.3), both become at difference
Little and more than 0.3 unit width, take " a < c ", that is, this side is tilted to the right;If (a-c) ∈ (0.3, ∞), both differences become big
And more than 0.3 unit width, take " a > c ", and this side is tilted to the left;
A represents the x-axis coordinate in cross point on the left of wedge shaped pattern and upper level scan line, and b represents wedge shaped pattern and upper level
The x-axis coordinate in cross point on the right side of scan line, c represents the x-axis coordinate in cross point on the left of wedge shaped pattern and lower horizontal scan line, d
Represent the x-axis coordinate in cross point on the right side of wedge shaped pattern and lower horizontal scan line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310595979.7A CN103699867B (en) | 2013-11-22 | 2013-11-22 | Wedge-shaped bar code recognition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310595979.7A CN103699867B (en) | 2013-11-22 | 2013-11-22 | Wedge-shaped bar code recognition method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103699867A CN103699867A (en) | 2014-04-02 |
CN103699867B true CN103699867B (en) | 2017-01-25 |
Family
ID=50361391
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310595979.7A Expired - Fee Related CN103699867B (en) | 2013-11-22 | 2013-11-22 | Wedge-shaped bar code recognition method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103699867B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106570438B (en) * | 2016-10-20 | 2019-02-01 | 上海皇和信息科技有限公司 | Based on a bar code coding/decoding method for dummy cell amplification |
CN107067061B (en) * | 2017-01-04 | 2018-11-20 | 陆际文 | A kind of object line code encoding method and system |
CN110298353B (en) * | 2019-07-03 | 2021-06-25 | 中国农业银行股份有限公司 | Character recognition method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04302384A (en) * | 1990-12-10 | 1992-10-26 | Ncr Corp | Mode switch for bar-code scanning apparatus |
JP2003233788A (en) * | 2002-02-13 | 2003-08-22 | Nec Infrontia Corp | Graphic code system |
CN1908955A (en) * | 2006-08-21 | 2007-02-07 | 北京中星微电子有限公司 | Trilateral poly-dimensional bar code easy for omnibearing recognition and reading method thereof |
CN102930316A (en) * | 2012-10-23 | 2013-02-13 | 海南亚元防伪技术研究所 | Three-dimensional commodity bar code information system |
CN103177235A (en) * | 2013-04-18 | 2013-06-26 | 河海大学常州校区 | Chinese-sensible code recognition device and Chinese-sensible code recognition method under complicated background |
-
2013
- 2013-11-22 CN CN201310595979.7A patent/CN103699867B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04302384A (en) * | 1990-12-10 | 1992-10-26 | Ncr Corp | Mode switch for bar-code scanning apparatus |
JP2003233788A (en) * | 2002-02-13 | 2003-08-22 | Nec Infrontia Corp | Graphic code system |
CN1908955A (en) * | 2006-08-21 | 2007-02-07 | 北京中星微电子有限公司 | Trilateral poly-dimensional bar code easy for omnibearing recognition and reading method thereof |
CN102930316A (en) * | 2012-10-23 | 2013-02-13 | 海南亚元防伪技术研究所 | Three-dimensional commodity bar code information system |
CN103177235A (en) * | 2013-04-18 | 2013-06-26 | 河海大学常州校区 | Chinese-sensible code recognition device and Chinese-sensible code recognition method under complicated background |
Also Published As
Publication number | Publication date |
---|---|
CN103699867A (en) | 2014-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3457327A1 (en) | Method and apparatus for generating two-dimensional code picture having dynamic effect | |
US9092707B2 (en) | Customizing barcode images for particular displays | |
US5479004A (en) | Dynamically variable machine readable binary code and method for reading and producing thereof | |
JP2846442B2 (en) | Non-volatile electro-optic read-only memory with high-density two-dimensional symbology | |
CN106778996B (en) | It is embedded with the generation system and method for the two dimensional code of visual pattern and reads system | |
CN103632181B (en) | The generation of a kind of 3-D view code and analytic method and device thereof | |
US20150339508A1 (en) | Two-dimensional code | |
JP2007317184A (en) | Two-dimensional bar code, and encoding and decoding method thereof | |
KR20120023646A (en) | Two-dimensional symbol code and method for reading the symbol code | |
CN1953362A (en) | A method and installation to embed pattern in two-dimensional bar code | |
CN105718979B (en) | A method of generating two-dimension code image | |
CN103699867B (en) | Wedge-shaped bar code recognition method | |
CN104281830A (en) | Two-dimension code identification method and device | |
CN102081748B (en) | Bar code pattern and bar code group pattern formed by node matrix and node line, and generation and identification method thereof | |
US9892114B2 (en) | Methods and systems for efficient automated symbol recognition | |
CN103530669A (en) | Data information two-dimensional code encoding method | |
RU2729399C1 (en) | Method for detection and recognition of visual markers of long range and high density | |
CN106971217A (en) | The bar code of implicit variable data | |
CN107330499A (en) | Bilingual Quick Response Code and its analytic method | |
CN104463059A (en) | Method for reconstructing damaged figure in QR code recognition | |
CN103268507B (en) | A kind of coding method of three-dimension code | |
CN106228103A (en) | A kind of recognition methods of double-deck code | |
CN103793736A (en) | Mark formed by dot matrixes and one-dimensional code and method for generating and recognizing mark | |
CN105701529B (en) | A method of realizing that color image is shown on two dimensional code | |
US7377449B2 (en) | Synchronous two-dimensional barcode system with all-around information, and reading method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170125 Termination date: 20181122 |
|
CF01 | Termination of patent right due to non-payment of annual fee |