CN102194091B - Method for coding invisible two-dimensional code, presswork and reading method - Google Patents

Method for coding invisible two-dimensional code, presswork and reading method Download PDF

Info

Publication number
CN102194091B
CN102194091B CN2010102309100A CN201010230910A CN102194091B CN 102194091 B CN102194091 B CN 102194091B CN 2010102309100 A CN2010102309100 A CN 2010102309100A CN 201010230910 A CN201010230910 A CN 201010230910A CN 102194091 B CN102194091 B CN 102194091B
Authority
CN
China
Prior art keywords
code
reference symbol
code element
imaginary reference
virtual
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
Application number
CN2010102309100A
Other languages
Chinese (zh)
Other versions
CN102194091A (en
Inventor
刘建生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN2010102309100A priority Critical patent/CN102194091B/en
Publication of CN102194091A publication Critical patent/CN102194091A/en
Application granted granted Critical
Publication of CN102194091B publication Critical patent/CN102194091B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Credit Cards Or The Like (AREA)

Abstract

The invention relates to a method for coding an invisible two-dimensional code, a presswork and a reading method. The positioning part of the invisible two-dimensional code comprises an elongated reference code element and a directional code element placed mutually vertically; the data part of the invisible two-dimensional code comprises a plurality of data code elements; virtual net lines distributed uniformly along the transverse direction and the vertical direction are virtually arranged in each code word area according to a first distance L, the cross points of the virtual net lines form virtual lattice points, and the centers of the reference code element and the directional code element are positioned one of the virtual lattice points respectively; a data code element is arranged at other each virtual lattice point along the transverse direction or/and the vertical direction shifting the forward direction or the reverse direction for a second distance d; and all the data code elements undergo weighting cascade combination according to the weight of each virtual lattice point and the weight of each shifting azimuth of the data code elements in the same code element area, and corresponding code values can be acquired. The invisible two-dimensional code has larger code value space under the same code word area and the same code element density condition.

Description

The coding method of invisible two-dimensional codes, printed matter, and reading method
Technical field
The present invention relates to planar bar code technology, particularly a kind of coding method of invisible two-dimensional codes, be printed with the printed matter of this invisible two-dimensional codes and to the reading method of this invisible two-dimensional codes.
Background technology
Quick Response Code is due to plurality of advantages such as its information capacity is large, coding range is wide, error correcting capability is strong, good confidentiality, be used widely in all trades and professions rapidly, QR code (Quick Response Code a kind of, QR is the abbreviation of Quick Response) has printed by national standard on the train ticket that uses of system of real name in China.
Popular Quick Response Code mostly is square matrix code at present, represents data 1 or 0 with regularly arranged black, white blocks in the rectangular area of an agreement.The all possible data field that is arranged to form this 2 D code system of black, white blocks diverse location in the rectangular area of agreement.
For ease of narration, below we are called " code word " with top said " rectangular area of agreement "; Black, white blocks are called " code element "; The numerical value of certain combination representative of code element in code word is called " code value "; All code values that can characterize code word call " code territory "; The code value total amount that comprises in the code territory is called " code amount ".
Except can characterization data, Quick Response Code also must be able to correctly be distinguished, otherwise Quick Response Code is just without any practical value.Usually, the Quick Response Code deviser can embed some changeless graphic (Pattern) locating and orienting foundation as the recognition code word in code word.For example, it is graphic that QR code shown in Figure 1 arranges three location in the upper left corner, the upper right corner, the lower left corner of its code word; DM code shown in Figure 2 is on the left side of its code word and complete black frame etc. is set below.These graphic effects are position and reading code directions of location code word.
Having many uses of Quick Response Code, can print the attribute, specification etc. that are used for the sign commodity for plain code, also can print the dark line that is difficult for discovering for naked eyes to be embedded in printed article, as anti-counterfei waterprint or certain sign.A kind of special application is, diverse location at printed article embeds the different Quick Response Code of code value, by custom-designed recognizer, the printed article diverse location is distinguished, obtain being embedded in the Quick Response Code code value of this position, then carry out predetermined action according to the code value that obtains, such as sending corresponding sound, playing corresponding video frequency program etc.In this application, usually recognizer is designed to lip pencil, be called visually talking pen; With this special Quick Response Code referred to as concealed code; The printed article that embeds concealed code is called multi-media book.
Obviously, in talking pen application, for fear of body matter is formed and disturbs, must must be as far as possible little symbol design, the density between code element is as far as possible rare.In addition, the fine pattern that gathers in order accurately to identify intersection, the area of code word is the smaller the better.Therefore, concerning talking pen application, the invisible two-dimensional codes of employing must be in the code word area of trying one's best little, to try one's best little and few code element of trying one's best, to obtain the large code of trying one's best and measure.
Fig. 3 is a kind of code word schematic diagram of invisible two-dimensional codes.Wherein, a code word is divided into 4 * 4 rectangular blocks 301, four jiaos of lattice points 302 that a location use is arranged of each rectangular block 301, each rectangular block 301De center 303 is layout centers of data symbols 304, and data symbols 304 is arranged on upper and lower, the left side of central point 303 or the right avertence position from distance to a declared goal by the requirement of represented code value.The lattice point 305 in code word bosom is towards a direction skew distance to a declared goal, so that the direction of recognition code word to be provided.Like this, the data symbols 304 in each rectangular block 301 can represent 2 bits, and 16 2 bits of 16 rectangular block 301 representatives can represent (2 2) 16=2 32=4,294,967,269 decimal numbers, namely the code amount is 4,294,967,269.
Be 200610075770.8 at application number, publication number is in the patented claim of CN101064013A, and above-mentioned Quick Response Code has been carried out improvement as shown in Figure 4.Wherein, code word 401 comprises a table header 402 and a data portion 403.Comprise a plurality of location code elements 404 of by predetermined way, arranging in table header 402, be used for providing direction and the boundary of recognition code word.Data portion 403 is divided into some state regions 405, and each state region 405 is interior arranges a data code element 406, and data symbols 406 is positioned at according to the numerical value that characterizes among any one of 4 virtual regions dividing equally state region 405.In code word shown in Figure 4,7 location code elements of table header, 9 data code elements of data portion.9 data code elements can represent (2 2) 9=2 18=262,144 decimal numbers, the code amount of the Quick Response Code after namely so improving is 262,144.
In fact, in the code word of Fig. 3 and Fig. 4, the symbol design of data division is identical, and the improvement of Fig. 4 mainly is table header, i.e. localization part.Because the code element that is used for location reduces to some extent, its code word area utilization increases, thereby can design code word less, makes it less on the impact of body matter.Obviously, with respect to code word shown in Figure 3, the improvement code word of Fig. 4 is more suitable for applying in the talking pen field.
Yet still there is the inadequate problem of code word area utilization in this code word, to such an extent as to the code amount of this kind invisible two-dimensional codes is less.
Summary of the invention
Still there is less, the inadequate problem of code word area utilization of code amount in code word for existing invisible two-dimensional codes, the present invention proposes a kind of better invisible two-dimensional codes system and reading method thereof, on less code word area, obtain larger code amount under the prerequisite that does not increase code element density and recognition difficulty.
For solving the problems of the technologies described above, the present invention proposes a kind of coding method of invisible two-dimensional codes, comprise localization part and data division in each code word district, described localization part comprises strip reference symbol and directed code element of strip vertical with described reference symbol on direction of a horizontal or vertical placement; Described data division comprises a plurality of circles or square data symbols; In the described code word district of each invisible two-dimensional codes with the first spacing L virtual arrange along laterally, the virtual netting twine vertically by m * n matrix, arranged, described virtual netting twine intersects m * n virtual lattice point of formation, and the center of described reference symbol and directed code element lays respectively at one of them virtual lattice point place, and m wherein, n are the natural number greater than 1; Form a plurality of virtual holes be used to data symbols is set based on each virtual lattice point along horizontal and/or the vertical and/or first different permutation and combination that laterally vertically are offset respectively again the second spacing d, and based on each virtual lattice point, in a described virtual hole, a data code element is set therein.
In a preferred embodiment of the present invention, described directed code element is positioned at from described reference symbol along its lateral excursion M doubly the first spacing L and along its vertical skew N position of the first spacing L doubly; M wherein, N be not for equaling simultaneously 0 integer; And when m=n, the absolute value of described M, N can not equal m/2 simultaneously.
In preferred version of the present invention, the virtual lattice point that described virtual netting twine intersect to form can form 3 * 3,3 * 4,4 * 4 or the matrix of other combinations, wherein two virtual lattice points are used for arranging reference symbol and directed code element, and remaining virtual lattice point is used for arranging data symbols.
In the present invention, described reference symbol and directed code element can be solid line strip or dotted line strip.Described dotted line strip code element preferably by two center distance be a, form with the color lump of described data symbols formed objects and color, and in described data division, the minimum spacing A between any two adjacent data code elements should be greater than more than 1.5 times of described spacing a.
The present invention also provides a kind of printed matter that is printed with above-mentioned invisible two-dimensional codes, multi-media book product for example, then coordinate aforementioned talking pen can form the Sound teaching material system.
The present invention also proposes a kind of method that above-mentioned invisible two-dimensional codes is distinguished, and it is characterized in that, comprises the following steps:
(1), receive from the image that contains at least 1 code word of the printed article photographs gained that is printed with described invisible two-dimensional codes;
(2), in image by from left to right, mode from top to bottom, finds a strip code element, and to establish it be imaginary reference symbol;
(3), centered by described imaginary reference symbol, the direction of pointing to along the narrow limit of its strip is offset M * L to the right, offsets downward N * the L position, level and vertical both direction ± find in the L/2 scope, if find one with respect to the vertical strip code element of placing of described imaginary reference symbol, this strip code element is directed code element, and the described imaginary reference symbol of simultaneous verification is real reference symbol.If do not find described directed code element, illustrate that described imaginary reference symbol is not real reference symbol, get back to step (2) this moment, finds next imaginary reference symbol and process equally, until find directed code element;
(4), according to the position of described reference symbol, directed code element, and they are in the rule of arranging in described code element district, calculate the position of each virtual lattice point; Then find corresponding data symbols near each virtual lattice point; , according to the weight of described each data symbols to the direction of displacement of virtual lattice point, can determine the digit value of each data symbols in the representative of this code element district; Again according to data symbols around the weight of virtual lattice point in whole code value, all data symbols are weighted cascading, can obtain the code value of current code word image representative.
Owing to having taked technique scheme, compare with the code word of existing Quick Response Code, in the present invention, reference symbol, directed code element only take in total code element 2, obviously have larger code value space under same code word area and code element density conditions.
Description of drawings
Fig. 1 is the code word schematic diagram of QR code in prior art;
Fig. 2 is the code word schematic diagram of DM code in prior art;
Fig. 3 is the code word schematic diagram of a kind of invisible two-dimensional codes in prior art;
Fig. 4 is the code word schematic diagram of the invisible two-dimensional codes after a kind of improvement the in prior art;
Fig. 5 is that the element position of the invisible two-dimensional codes of one embodiment of the invention concerns schematic diagram;
Fig. 6 is that data symbols shown in Figure 5 illustrates schematic diagram from the direction of displacement of virtual lattice point and the weight of corresponding numerical value;
Fig. 7 is that the code value of invisible two-dimensional codes in one embodiment of the invention is the code word schematic diagram of octal numeral 0123456765;
Fig. 8 is that the code word that 64 code values of the invisible two-dimensional codes of one embodiment of the invention are octal numeral 0123456765 is arranged the schematic diagram of printing by 8 * 8 matrix forms;
Fig. 9 is that in the code word of a preferred embodiment of the invention, reference symbol and directed code element are the schematic diagram of kinds of point mode dotted line strip code element;
Figure 10 is that the code value that is comprised of 16 code elements of a preferred embodiment of the invention is the code word schematic diagram of octal numeral 01234567654321;
Figure 11 is the printing schematic diagram that the code word of 44 * 4 code elements of a preferred embodiment of the invention is arranged by 2 * 2 matrixes;
Figure 12 is directed code element and the irrational schematic diagram of reference symbol putting position in the code word of one embodiment of the invention;
Figure 13 is the software flow pattern of the reading method of invisible two-dimensional codes of the present invention.
Embodiment
In one embodiment of the present of invention, the code word figure of invisible two-dimensional codes as shown in Figure 5.Wherein, a vertical strip reference symbol 502 that is used for location of placing is arranged in the upper left corner in code word district 501, at reference symbol 502 centers to the right (laterally) skew 3L downwards (vertically) be offset the strip orientation code element 503 that the 2L place is horizontal positioned.
Take reference symbol 502 and directed code element 503De center as to angular vertex, laterally carrying out 3 deciles, vertically carry out 2 deciles and calculate virtual netting twine 504 that spacing is L and the virtual lattice point 505 at netting twine intersection point place.
Based on each virtual lattice point 505 along laterally, vertical, and first laterally more vertical each offset distance d 8 virtual holes 507 of code element are arranged, form a code element district 506.Herein " skew " in virtual hole comprise forward and reverse skew, horizontal skew-d left for example, or horizontal offset d to the right; Vertically to be offset up or down; In addition first laterally more vertical skew can be also first vertical horizontal skew again, come to the same thing.A data code element 508 can only be contained in each code element district 506, and within this data symbols 508 must be arranged on any one in 8 virtual holes 507 in this code element district 506.All data symbols 508 are all small circular or square code elements.During concrete enforcement, also can only use the virtual hole of part wherein, for example only use wherein 4 or 6 virtual holes as the virtual hole that data symbols can be set.
The virtual hole 507 of 8 code elements in same code element district 506 has different weights, and data symbols 508 represents different numerical value while being positioned at different virtual hole 507.In the present embodiment, specified data code element 508 represents 0 while being positioned at the virtual hole of code element in 506 lower left corners, code element district, represents respectively numerical value 1-7 during other virtual holes of be positioned at thus to the right, making progress counterclockwise, and namely a code element district 506 can represent (2 3=) 8 numerical value.Data symbols 508 in code element district 506 position and the relation of the numerical value of representative as shown in Figure 6.
In the present embodiment, except the virtual lattice point that reference symbol 502 and directed code element 503 take, also have 10 virtual lattice points, corresponding 10 code element districts, can hold 10 8 system data bit.Therefore, the code amount of the present embodiment is for (2 3) 10=2 30=1,073,741,824.
In practical application, the virtual netting twine 504 of drawing in Fig. 5, " * " on virtual lattice point 505 and virtual hole 507 do not exist, and it is drawn out just for the position relationship of each code element is described.Fig. 7 is the practical code word schematic diagram after code word shown in Figure 5 is cancelled these virtual elements.
In Fig. 5, from reference symbol, 10 code element districts 506 are arranged respectively to the right, downwards, the data symbols in each code element district lays respectively at weight in district and is followed successively by in 0,1,2,3,4,5,6,7,6,5 virtual hole, so in figure, 10 data code elements represent respectively the number 0,1,2,3,4,5,6,7,6,5 of octal numeral.In addition, regulation is from reference symbol, to the right, each code element district weight in whole code value of being arranged in order downwards is respectively 8 9, 8 8, 8 7, 8 6, 8 5, 8 4, 8 3, 8 2, 8 1, 8 0, the code value of the code word in Fig. 7 should be octal numeral 0123456765 as can be known.
Fig. 8 is of the present invention by the schematic diagram of 64 code values shown in Figure 7 code word that is octal numeral 0123456765 by 8 * 8 matrix forms printings.In practicality, invisible two-dimensional codes is often used this matrix form array configuration and is embedded in printed article as dark line, forms the product that is printed with invisible two-dimensional codes, multi-media book product for example, then coordinate aforementioned talking pen can form the Sound teaching material system.
Obviously, with code word shown in Figure 4, compare, the code word area of Fig. 5 has reduced 1/4 (by 16 code elements, being reduced to 12 code elements), the code amount increases by 2 12Times, and substantially do not increase code element density.For the application of talking pen, the present invention has significant advantage.
Must be pointed out, so-called in the present invention " strip " code element, can be both solid line strip code element, can be also dotted line strip code element.If adopt dotted line strip code element, can be both the dotted line strip code element between black-white point (white point refers to the point of background colour) homogeneous phase, can be also the different dotted line strip code element of black-white point size or length.Preferably, adopt two point type dotted line strip code element, its two ends are that centre distance is the stain of a, with the reference symbol in code word shown in Figure 5 and directed code element change into after the rectangular code element of two point type dotted line the code word schematic diagram as shown in Figure 9.With reference to Fig. 9, for avoiding distinguishing mistake, two point dotted line strip code element must make centre distance a 1.5 times or more of 508 possible minor increment A of data symbols in adjacent code element district 506 greater than two end points of the rectangular code element of two point type dotted line when design.
In practicality, if the printing precision that adopts is 1200dpi, one group of more suitable design parameter is data symbols to be designed to the disk of diameter 0.042333mm; The spacing L=0.33867mm of virtual lattice point; The offset distance d=0.0635mm of center, virtual hole and virtual lattice point; The centre distance of two end points of two point type dotted line strip code element is a=0.084667mm or a=0.0635mm.Like this, the area of a code word only has 1.016 * 1.35467mm 2, the code word area utilization is obviously very high.
In addition, Fig. 5 or code word design shown in Figure 9 are one embodiment of the present of invention, are not construed as limiting the invention.Have a lot of variations, for selecting, to include but not limited to following several in practicality:
(1), can adopt the code element of varying number to form code word, as 3 row 3 row, 3 row 4 row, 4 row 4 row, 4 row 5 row, 5 row 5 row or the capable n row of other any m.Figure 10 adopts the code word schematic diagram of 16 code elements by another embodiment of 4 * 4 matrixes arrangements, and its yard amount is increased to (2 3) 14=2 42=4,398,046,511,104.
(2), reference symbol and directed code element in code word position and towards can suitably changing.Such as, reference symbol horizontal positioned, the vertical placement of directed code element etc.
(3), reference symbol and directed code element not necessarily just in time be positioned at code word to angular vertex, can be positioned at other appropriate locations, code word district.Such as, in code word shown in Figure 10, the reference symbol position does not become, and directed code element is close to reference symbol and places, and such configuration is more convenient for distinguishing and rotation.
What be worth particularly pointing out is that in code word shown in Figure 10, the disposing way of directed code element and reference symbol makes codeword size have the adaptivity of multi-code type.We are explained with Figure 11.
Figure 11 is that the code word of 44 * 4 code elements is as shown in figure 10 arranged the schematic diagram of printing according to 2 * 2 matrixes.Found out by figure, although each code word 11-1 only has a reference symbol 11-2 and a directed code element 11-3, but because code word in practicality is all according to evenly distributed matrix-style printing, therefore the reference symbol 11-1 of the reference symbol 11-4 of adjacent code word and this code word forms four summits of a rectangular area 11-6, and these 4 summits can be used to determine the size of code word.For this point is described, we are labeled as L with the directed code element 11-3 of this code word apart from the distance of reference symbol 11-2, the distance of the reference symbol 11-4 of the adjacent code word of reference symbol 11-2 and horizontal direction is labeled as W, the distance of the reference symbol 11-4 of reference symbol 11-2 and the adjacent code element of vertical direction is labeled as H.If W=4L, illustrate that this code word has 4 code elements in the horizontal direction; If W=3L, illustrate that this code word has 3 code elements in the horizontal direction; Usually, if W=mL illustrates that this code word has m code element in the horizontal direction.Similarly, if H=nL illustrates that this code word has n code element in the vertical direction.In other words,, no matter the size of code word is 3 * 3,3 * 4,4 * 4,4 * 5,5 * 5 or other any m * n dot matrix, can be distinguished by same recognition pen.
But the relative position of directed code element 11-3 and reference symbol 11-2 can not arbitrarily be put.In code word as Figure 12, directed code element 12-2 is just in time half of symbol width W and code element height H apart from the distance D of reference symbol 12-1, and this does not affect recognizer 12-3 recognition is correct code word.If but the image rotation that photographs 90 degree, recognizer may be with directed code element 12-4 as reference symbol, and reference symbol 12-6 is used as directed code element, will be a code word with 12-5 recognition like this, this is obviously wrong.Therefore, directed code element should be avoided this situation apart from the putting position of reference symbol.
Analyze as can be known, this situation only in the situation that square code word occur.Usually, arrange the square code word of using for matrix, directed code element can not just in time be positioned at the square center of the reference symbol composition of 4 adjacent code words.That is, directed code element can not be all just in time half of W (or H) apart from the distance of reference symbol.
Below with reference to the reading method of Fig. 5 and Figure 11 explanation for the invisible two-dimensional codes in the above embodiment of the present invention, corresponding process flow diagram is seen Figure 13.
(1), with optical point reading pen, facing to the printed article that is printed with invisible two-dimensional codes of the present invention, take pictures, the image area that obtains should be enough large, makes and wherein contain at least 4 reference symbols.
(2), the taking lens in talking pen is with special light sources, the image of shooting carries out filtering to other colors, the image that obtains only contains the color and background look of printed book invention invisible two-dimensional codes.In case of necessity, can also carry out binary conversion treatment to the image of taking with software, obtain only containing accurately the black white image of invisible two-dimensional codes of the present invention.
(3), in image from the upper left corner, by from left to right, mode from top to bottom, find a strip code element, with it as the first imaginary reference symbol 11-2.
(4), because invisible two-dimensional codes is all by evenly distributed matrix-style printing, and take in the gained image and contain at least 4 imaginary reference symbols, continue in this way to find, must find the imaginary reference symbol 11-4 of 3 adjacent code words, form 4 summits of a rectangular area on the center theory of they and the first imaginary reference symbol 11-2.
(5), consider while taking generally accurate perpendicular alignmnet paper not of camera lens, so the image of taking is understood some distortion, if what therefore (4) center that goes on foot 4 rectangular code elements that find formed is not an accurate rectangle, need take the first imaginary reference symbol as basic point is out of shape correction to image, make these 4 code element centers just be positioned at 4 summits of rectangle.
(6) moreover, the image of shooting can not be generally just in time level, namely the pixel orientation of code word direction and image is normally inconsistent.Must be rotated image as the center of circle according to the center of (5) rectangular area that obtains of step take the first imaginary reference symbol 11-2, make the imaginary reference symbol center of the adjacent code word in the right just in time be on horizontal pixel line by the first imaginary reference symbol 11-2 center.
(7), find the directed code element 11-3 vertical with the first imaginary reference symbol in correction, postrotational horizontal rectangular zone, if can not find the directed code element of expection, be judged to the printing quality problem, can abandon this code word, with the imaginary reference symbol of next adjacent code word as the first illusion reference symbol repeat (4), the searching in (7) step, until find the directed code element 11-3 of expection.
(8) if offset distance and the predetermined value of the reference symbol code element directed with it that finds in step (4) or (7) are not inconsistent, illustrate that (3) the first imaginary reference symbol of finding of step is not real reference symbol, can take turns another three imaginary reference symbols that (4) step of changing commanders finds and check offset distance with the directed code element that finds one by one.If have an imaginary reference symbol and the offset distance of the directed code element that finds to meet predetermined value, illustrate that this imaginary reference symbol is only real reference symbol 11-2.
(9) if the directed code element that finds and (4) offset distance that goes on foot 4 imaginary reference symbols that find all do not meet predetermined value, illustrate that 4 imaginary reference symbols are all directed code element in fact, change the directed code element that will find into as the first imaginary reference symbol this moment, repeat the process of (4), (7), (8), until find real directed code element.
(10), if find two directed code elements vertical with imaginary reference symbol in correction, postrotational horizontal rectangular zone, mean and find two code words, desirable complete code wherein is as effective code word.If two is all complete code, the code word that the present invention's regulation is got near the image upper left corner is effective code word.
(11), find real reference symbol and directed code element after, according to the multiple relation between the offset distance of the distance between the reference symbol of adjacent code word and directed code element and reference symbol, line number and the columns of the code element array of judgement in code word.
(12), after this, the rectangle that forms according to the reference symbol of adjacent code word calculates the position of each virtual lattice point; Then find corresponding data symbols near each virtual lattice point; , according to the weight of data symbols to the direction of displacement of virtual lattice point, determine the digit value of each data symbols representative; Then according to data symbols around the weight of virtual lattice point all data symbols are weighted cascading, obtain the code value of this code word representative.
Invisible two-dimensional codes code amount of the present invention is very big, can separate a part and be used for the error checking and correction (ECC) computing of code word recognition, in order to the mistake in shooting and printing is detected and corrects.
In actual the use, take in the image that obtains and generally comprise a more than code word.The present invention regulation, the code word that finds for the first time according to above-mentioned reading method is effective code word, other code words that this shooting obtains only are used for effective code word is carried out auxiliary positioning and the code value of effective code word is carried out error checking and correction, as actual code value application.

Claims (8)

1. the coding method of an invisible two-dimensional codes, comprise localization part and data division in each code word district, it is characterized in that,
Described localization part comprises strip reference symbol (502) and directed code element (503) of strip vertical with described reference symbol (502) on direction of a horizontal or vertical placement;
Described data division comprises a plurality of circles or square data symbols (508);
In described each code word district with the first spacing L virtual arrange along laterally, the virtual netting twine (504) vertically by m * n matrix, arranged, described virtual netting twine (504) intersects m * n virtual lattice point (505) of formation, and the center of described reference symbol (502) and directed code element (503) lays respectively at one of them virtual lattice point (505) and locates, and m wherein, n are the natural number greater than 1;
Form a plurality of virtual holes (507) be used to data symbols is set based on each virtual lattice point (505) along horizontal and/or the vertical and/or first different permutation and combination that laterally vertically are offset respectively again the second spacing d, and based on each virtual lattice point (505), in a described virtual hole (507), a data code element (508) is set therein;
Wherein, described directed code element (503) is positioned at from described reference symbol (502) along its lateral excursion M doubly the first spacing L and along its vertical skew N position of the first spacing L doubly; M wherein, N be not for equaling simultaneously 0 integer; And when m=n, the absolute value of described M, N can not equal m/2 simultaneously.
2. the coding method of invisible two-dimensional codes according to claim 1, is characterized in that, described reference symbol (502) and directed code element (503) are solid line strip or dotted line strip.
3. the coding method of invisible two-dimensional codes according to claim 2, it is characterized in that, described dotted line strip code element by two center distance be a, form with the color lump of described data symbols formed objects and color, and in described data division, the minimum spacing A between any two adjacent data code elements should be greater than more than 1.5 times of described spacing a.
4. a printed matter, is characterized in that, wherein is printed with the invisible two-dimensional codes by the described method design of any one in claim 1-3 gained.
5. the method that the invisible two-dimensional codes by the described method design of any one in claim 1-3 gained is distinguished, is characterized in that, comprises the following steps:
(S1), take pictures facing to the printed article that is printed with invisible two-dimensional codes of the present invention with optical point reading pen;
(S2), in image from the upper left corner, by from left to right, mode from top to bottom, find a strip code element, with it as the first imaginary reference symbol;
(S3), centered by the described first imaginary reference symbol, continue to search adjacent imaginary reference symbol, until find 4 imaginary reference symbols, these 4 imaginary reference symbols form 4 summits of a rectangle in theory, wherein, described 4 imaginary reference symbols comprise the described first imaginary reference symbol;
(S4), find in described rectangular area whether the directed code element vertical with the described first imaginary reference symbol is arranged, if found would judge again the described first imaginary reference symbol and the directed code element that finds between offset distance whether equal predetermined value, show that if it is the described first imaginary reference symbol is real reference symbol;
(S5), according to the distance between the imaginary reference symbol of adjacent code word with respect to the multiple relation between the offset distance between the described first imaginary reference symbol and its directed code element, calculate line number and the columns of the code element array in described code word, more further calculate the position of each virtual lattice point; Then find corresponding data symbols near each virtual lattice point;
(S6), according to the weight of data symbols to the direction of displacement of virtual lattice point, determine the digit value of each data symbols representative; Then according to data symbols around the weight of virtual lattice point all data symbols are weighted cascading, obtain the code value of this code word representative.
6. reading method according to claim 5, it is characterized in that, carrying out described step (S4) before, also comprise step (S3-2), wherein, take the described first imaginary reference symbol as basic point is out of shape correction to image, make these 4 imaginary reference symbol centers just be positioned at 4 summits of rectangle; Center take described the first imaginary reference symbol is rotated image as the center of circle again, makes the imaginary reference symbol center of the adjacent code word in the right just in time be on horizontal pixel line by the first imaginary reference symbol center.
7. reading method according to claim 5, it is characterized in that, in described step (S4), if can not find the directed code element of expection, abandon this code word, and use the imaginary reference symbol of next adjacent code word as the first illusion reference symbol, repeat this step, until find the directed code element of expection.
8. reading method according to claim 5, it is characterized in that, in described step (S4), if offset distance and predetermined value between the first imaginary reference symbol that finds and its directed code element are not inconsistent, with another three imaginary reference symbols of finding in step (S3) one by one with step (S4) in the directed code element that finds check offset distance,, if some imaginary reference symbols meet predetermined value with the offset distance of the directed code element that finds, illustrate that this imagination reference symbol is real reference symbol; If the offset distance of 4 imaginary reference symbols in step (S3) does not all meet predetermined value, change into and use in step (S4) the directed code element that finds as the first imaginary reference symbol, repeat this step (4), until find real directed code element.
CN2010102309100A 2010-03-09 2010-07-06 Method for coding invisible two-dimensional code, presswork and reading method Expired - Fee Related CN102194091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102309100A CN102194091B (en) 2010-03-09 2010-07-06 Method for coding invisible two-dimensional code, presswork and reading method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201010121154.8 2010-03-09
CN201010121154A CN101794404A (en) 2010-03-09 2010-03-09 Method for coding and reading invisible two-dimensional codes
CN2010102309100A CN102194091B (en) 2010-03-09 2010-07-06 Method for coding invisible two-dimensional code, presswork and reading method

Publications (2)

Publication Number Publication Date
CN102194091A CN102194091A (en) 2011-09-21
CN102194091B true CN102194091B (en) 2013-11-20

Family

ID=42587082

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201010121154A Pending CN101794404A (en) 2010-03-09 2010-03-09 Method for coding and reading invisible two-dimensional codes
CN2010102309100A Expired - Fee Related CN102194091B (en) 2010-03-09 2010-07-06 Method for coding invisible two-dimensional code, presswork and reading method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201010121154A Pending CN101794404A (en) 2010-03-09 2010-03-09 Method for coding and reading invisible two-dimensional codes

Country Status (1)

Country Link
CN (2) CN101794404A (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298688B (en) * 2011-05-18 2015-03-04 深圳市鑫全图科技有限公司 Data output and input method for invisible three-dimensional coding
CN104200251B (en) * 2011-12-26 2018-01-12 华南理工大学 A kind of method for building up of Quick Response Code
CN102800243B (en) * 2012-07-18 2015-06-24 长沙高新开发区湖大科园诺美网络技术有限公司 Anti-counterfeiting annular code and encoding method thereof
CN102831373B (en) * 2012-07-25 2015-09-09 罗晨 The data output method of multi-cascade coding
CN103605974B (en) * 2013-11-15 2017-10-17 刘建生 Coordinate location method, multimedia and handwriting data acquisition methods based on Quick Response Code
CN103679241B (en) * 2013-12-17 2016-08-17 深圳市美哲点读技术有限公司 A kind of generation method of invisible two-dimension code anti-counterfeit label and recognition methods
CN104866801B (en) * 2015-06-12 2017-11-10 矽图(厦门)科技有限公司 The identification device of more GTG invisible two-dimensional codes
CN105373823B (en) * 2015-12-08 2018-07-13 北京意锐新创科技有限公司 Generation, read method and its device of dynamic two-dimension code
CN106022201B (en) * 2016-05-10 2018-04-17 深圳龙贝物联网科技发展有限公司 Omnidirectional's readable two-dimensional bar code system and its reading method
CN109978107A (en) * 2017-12-27 2019-07-05 田雪松 Dot matrix encoded medium and dot matrix code identification method
CN109919278B (en) * 2019-02-28 2023-07-04 尤尼泰克(嘉兴)信息技术有限公司 Orientation method of symmetric graph two-dimensional code
CN109978111A (en) * 2019-03-13 2019-07-05 杭州百伴生物技术有限公司 Matrix two-dimensional code, its generation, coding/decoding method and its equipment
CN110046688B (en) * 2019-04-19 2022-04-19 南京江行联加智能科技有限公司 Bar code positioning and identifying method
CN110187708B (en) * 2019-06-10 2022-07-08 大有智能科技(嘉兴)有限公司 Positioning system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1160720A2 (en) * 2000-06-02 2001-12-05 Matsushita Electric Industrial Co., Ltd. A method for locating and reading a two-dimensional barcode
CN1963843A (en) * 2006-11-16 2007-05-16 深圳矽感科技有限公司 Two-dimension code, decode method thereof and printing publication used the same
CN101167084A (en) * 2005-04-28 2008-04-23 吉田健治 Information I/O method using dot pattern
CN101334849A (en) * 2008-07-01 2008-12-31 北大方正集团有限公司 Two-dimension code label symbol creation method and apparatus and two-dimension code label structure

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10261058A (en) * 1997-03-21 1998-09-29 Dainippon Printing Co Ltd Two-dimensional data code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1160720A2 (en) * 2000-06-02 2001-12-05 Matsushita Electric Industrial Co., Ltd. A method for locating and reading a two-dimensional barcode
CN101167084A (en) * 2005-04-28 2008-04-23 吉田健治 Information I/O method using dot pattern
CN1963843A (en) * 2006-11-16 2007-05-16 深圳矽感科技有限公司 Two-dimension code, decode method thereof and printing publication used the same
CN101334849A (en) * 2008-07-01 2008-12-31 北大方正集团有限公司 Two-dimension code label symbol creation method and apparatus and two-dimension code label structure

Also Published As

Publication number Publication date
CN101794404A (en) 2010-08-04
CN102194091A (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN102194091B (en) Method for coding invisible two-dimensional code, presswork and reading method
CN102004929B (en) Method for embedding and identifying information in print image
CN101167084B (en) Information I/O method using dot pattern
WO2017133532A1 (en) Methods of encoding and reading 2d bitmap barcode
CN102622626A (en) Two-dimension code and method for recognizing same
CN105426844B (en) A kind of answer card identification method
CN103632182A (en) Three-dimensional (3D) image code generating and analyzing methods and device thereof
RU2006102662A (en) METHOD FOR CODING SPARED PARITY CONTROL CODE
US9613305B2 (en) Printed material on which two-dimensional code is displayed
TW201428635A (en) Two-dimensional code
CN102081748B (en) Bar code pattern and bar code group pattern formed by node matrix and node line, and generation and identification method thereof
CN103605974B (en) Coordinate location method, multimedia and handwriting data acquisition methods based on Quick Response Code
CN101133424A (en) System and method of detecting absolute coordinates
CN107862234A (en) A kind of recognition methods of color bar code, electronic equipment and storage medium
CN103336985A (en) Two-dimensional code identification, reading and micro platemaking method and device
CN103164723A (en) Coding method, coding device, decoding method, decoding device and printing method
CN110114781A (en) Method for detecting and identifying long-range high density visual indicia
CN105965495A (en) Mechanical arm positioning method and system
JP5858990B2 (en) Coded information system
CN107392283A (en) The generation method and system of cylindrical distortion bar code
CN102810153B (en) Etc. gray scale two-dimensional optical identification code device
WO2007138698A1 (en) Information display memory mark
CN102567763B (en) Method and system for storing and reading data
CN101540002A (en) Method for realizing multimedia printing system suitable for low-precision printing
CN209118329U (en) A kind of two-dimension code label

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: 20131120

Termination date: 20210706

CF01 Termination of patent right due to non-payment of annual fee