JP7167553B2 - Two-dimensional code - Google Patents

Two-dimensional code Download PDF

Info

Publication number
JP7167553B2
JP7167553B2 JP2018160048A JP2018160048A JP7167553B2 JP 7167553 B2 JP7167553 B2 JP 7167553B2 JP 2018160048 A JP2018160048 A JP 2018160048A JP 2018160048 A JP2018160048 A JP 2018160048A JP 7167553 B2 JP7167553 B2 JP 7167553B2
Authority
JP
Japan
Prior art keywords
edge
pattern
cells
code
specific 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.)
Active
Application number
JP2018160048A
Other languages
Japanese (ja)
Other versions
JP2019071045A (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.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
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 Denso Wave Inc filed Critical Denso Wave Inc
Priority to US16/142,730 priority Critical patent/US10909432B2/en
Priority to CN201811131516.4A priority patent/CN109657513B/en
Priority to EP18197054.2A priority patent/EP3467715A1/en
Priority to TW107134180A priority patent/TWI696955B/en
Publication of JP2019071045A publication Critical patent/JP2019071045A/en
Application granted granted Critical
Publication of JP7167553B2 publication Critical patent/JP7167553B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数のセルをマトリクス状に配置してなる二次元コードに関するものである。 The present invention relates to a two-dimensional code having a plurality of cells arranged in a matrix.

従来より、複数のセルをマトリクス状に配置してなる二次元コードが各種提供されている。この種の二次元コードを読み取る読取装置(二次元コードリーダ)は、当該二次元コードを含んだ画像データを取得した上で、その画像データの中から二次元コードの領域(コード領域)を検出する解析処理を行い、その検出されたコード領域から、画像内容に基づいて各セルの座標を決定し、各座標位置の画像情報からセルの色を判別し、デコード処理を行う構成のものが一般的である。このような二次元コードに関する技術として、例えば、特許文献1に開示されるデータマトリックスが知られている。 Conventionally, various types of two-dimensional codes having a plurality of cells arranged in a matrix have been provided. A reading device (two-dimensional code reader) that reads this type of two-dimensional code acquires image data containing the two-dimensional code, and then detects the area of the two-dimensional code (code area) from the image data. analysis processing is performed, the coordinates of each cell are determined based on the image content from the detected code area, the color of the cell is determined from the image information of each coordinate position, and decoding processing is performed. target. For example, the data matrix disclosed in Patent Document 1 is known as a technology related to such two-dimensional codes.

特開平07-152885号公報JP-A-07-152885

撮像した二次元コードを読み取る場合には、撮像画像に占める二次元コードのコード領域及び各セルの座標を正確に検出する必要がある。しかしながら、上記特許文献1に開示されるデータマトリックスのように、暗色セルがL字状にて一列に配列された縁部と明色セル及び暗色セルが交互となるようにL字状にて一列に配列された縁部とを利用して矩形状のコード領域を検出する構成では、以下の様な問題が生じる可能性がある。例えば、撮像画像からコード領域を検出する際、データマトリックスが撮像されていない場合でも、暗色セルを一列に配列した直線領域に相当するような実線部分が撮像されていると、データマトリックスが撮像されている可能性があるとして、コード領域を検出するための検出処理がなされてしまう。 When reading a captured two-dimensional code, it is necessary to accurately detect the code area of the two-dimensional code and the coordinates of each cell in the captured image. However, like the data matrix disclosed in Patent Document 1, the L-shaped line is arranged so that the edge where the dark cells are arranged in a row in an L-shape and the light-colored cells and the dark-colored cells are alternately arranged. The following problem may occur in the configuration that detects a rectangular code area by using the edges arranged in parallel. For example, when detecting a code region from a captured image, even if the data matrix is not captured, if a solid line portion corresponding to a linear region in which dark cells are arranged in a line is captured, the data matrix will be captured. Assuming that there is a possibility that the code region is

すなわち、暗色セルを一列に配列した直線領域をコード領域検出用のパターンとして採用するような二次元コードが読取対象となる場合、その二次元コードと無関係の実線部分が撮像されているだけで、そのコード領域を検出するための検出処理が無駄になされてしまうという問題がある。また、上述のような二次元コードが撮像されていても、その撮像画像に無関係の実線部分が含まれていると、その実線部分を基準にコード領域を検出するための検出処理がなされてしまう場合がある。特に、実線部分は、L字状であったとしても、二次元コードが表示される表示面の縁部分や表示面に設けられる表の枠線等により構成されて撮像画像に含まれる可能性が高いため、上記問題は生じやすい。 That is, when a two-dimensional code that uses a linear region in which dark cells are arranged in a line as a pattern for detecting the code region is read, only the solid line portion unrelated to the two-dimensional code is captured. There is a problem that the detection processing for detecting the code area is wasted. Further, even if the two-dimensional code as described above is captured, if the captured image includes an irrelevant solid line portion, the detection process for detecting the code area is performed based on the solid line portion. Sometimes. In particular, even if the solid line portion is L-shaped, there is a possibility that it will be included in the captured image because it is composed of the edge portion of the display surface where the two-dimensional code is displayed, the frame line of the table provided on the display surface, and the like. Because of the high cost, the above problems are likely to occur.

本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、コード領域の検出に関して不要なコード検出処理を抑制し得る二次元コードを提供することにある。 SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and an object thereof is to provide a two-dimensional code that can suppress unnecessary code detection processing for code region detection.

上記目的を達成するため、特許請求の範囲の請求項1に記載の発明は、
矩形状のコード領域(31)内に複数種類のセルがマトリクス状に配列されてなる二次元コード(30,30a~30e)であって、
前記コード領域の外縁(34)のうち、前記複数種類のセルが一列に配列されてなる第1の縁(34a)は、少なくとも中間部位において、2以上の異なるセルを配列してなる特定パターン(40,40a)が繰り返されて構成され、前記第1の縁に対向するように前記複数種類のセルが一列に配列されてなる第2の縁(34b)は、少なくとも中間部位において、前記特定パターンが繰り返されて構成され
前記コード領域の隅部の1つには、当該コード領域の検出に利用する第1の位置検出パターンが配置され、
前記第1の縁は、前記第1の位置検出パターンに到達するまで前記特定パターンが繰り返されるように構成され、
前記第1の位置検出パターンに対して対角となる前記コード領域の隅部には、当該コード領域の検出に利用する第2の位置検出パターンが前記第1の位置検出パターンと異なる配列にて配置され、
前記第2の縁は、前記第2の位置検出パターンに到達するまで前記特定パターンが繰り返されるように構成されることを特徴とする。
なお、上記各括弧内の符号は、後述する実施形態に記載の具体的手段との対応関係を示すものである。
In order to achieve the above object, the invention described in claim 1 of the scope of claims includes:
A two-dimensional code (30, 30a to 30e) in which a plurality of types of cells are arranged in a matrix in a rectangular code area (31),
Among the outer edges (34) of the code region, a first edge (34a) formed by arranging the plurality of types of cells in a row has a specific pattern (a) formed by arranging two or more different cells at least in an intermediate portion. 40, 40a) are repeated, and the second edge (34b) formed by arranging the plurality of types of cells in a row so as to face the first edge has the specific pattern at least at an intermediate portion. consists of repeated
A first position detection pattern used for detecting the code region is arranged at one of the corners of the code region,
the first edge is configured such that the specific pattern is repeated until the first locating pattern is reached;
At the corner of the code area diagonal to the first position detection pattern, a second position detection pattern used for detecting the code area is arranged in a different arrangement from the first position detection pattern. placed and
The second edge is characterized in that the specific pattern is repeated until the second position detection pattern is reached .
It should be noted that the symbols in parentheses above indicate the corresponding relationship with specific means described in the embodiments to be described later.

請求項1の発明では、矩形状のコード領域の外縁のうち、複数種類のセルが一列に配列されてなる第1の縁は、少なくとも中間部位において、2以上の異なるセルを配列してなる特定パターンが繰り返されて構成され、第1の縁に対向するように複数種類のセルが一列に配列されてなる第2の縁は、少なくとも中間部位において、上記特定パターンが繰り返されて構成される。 In the invention of claim 1, among the outer edges of the rectangular code region, the first edge formed by arranging a plurality of types of cells in a row is specified by arranging two or more different cells at least in the intermediate portion. The pattern is repeated, and the second edge, in which a plurality of types of cells are arranged in a row so as to face the first edge, is configured by repeating the specific pattern at least in the intermediate portion.

このように、互いに対向する第1の縁及び第2の縁は、少なくとも中間部位が上記特定パターンの繰り返しにより構成されるので、撮像画像から上記特定パターンが繰り返される2つの平行な部分を検出することができれば、その2つの平行な部分を対向する外縁とするコード領域を検出することができる。特に、上記特定パターンが繰り返されるような周期性のあるパターンは、二次元コードとともに表示面に表示される枠線や文字等から構成され難く、実線部分と異なり撮像画像に含まれる可能性が低いため、上記コード領域が撮像されていない場合に当該コード領域の検出に関して不要なコード検出処理を抑制することができる。 In this way, since at least the intermediate portion of the first edge and the second edge that face each other is formed by repeating the specific pattern, two parallel parts in which the specific pattern is repeated are detected from the captured image. If possible, the coding region can be detected with the two parallel portions as the opposing outer edges. In particular, a periodic pattern such as a repetition of the above specific pattern is difficult to be composed of frame lines, characters, etc. displayed on the display surface together with the two-dimensional code, and unlike the solid line portion, it is unlikely to be included in the captured image. Therefore, when the code region is not imaged, unnecessary code detection processing can be suppressed for detection of the code region.

請求項の発明では、コード領域の隅部の1つには、当該コード領域の検出に利用する第1の位置検出パターンが配置され、第1の縁は、第1の位置検出パターンに到達するまで特定パターンが繰り返されるように構成される。このため、検出した第1の位置検出パターンを規準として第1の縁を容易に検出することができる。 In the invention of claim 1 , the first position detection pattern used for detecting the code region is arranged at one of the corners of the code region, and the first edge reaches the first position detection pattern. A specific pattern is configured to be repeated until Therefore, the first edge can be easily detected using the detected first position detection pattern as a reference.

請求項の発明では、第1の位置検出パターンに対して対角となるコード領域の隅部には、当該コード領域の検出に利用する第2の位置検出パターンが第1の位置検出パターンと異なる配列にて配置され、第2の縁は、第2の位置検出パターンに到達するまで特定パターンが繰り返されるように構成される。このため、検出した第2の位置検出パターンを規準として第2の縁を容易に検出することができる。 According to the first aspect of the invention, the second position detection pattern used for detecting the code region is provided at the corner of the code region diagonal to the first position detection pattern. Arranged in a different arrangement, the second edge is configured such that the particular pattern is repeated until the second locating pattern is reached. Therefore, the second edge can be easily detected using the detected second position detection pattern as a reference.

特に、第1の位置検出パターンと第2の位置検出パターンとで配列が異なるため、第1の位置検出パターン及び第2の位置検出パターンと第1の縁及び第2の縁との位置関係から、コード領域が表裏反転した状態で撮像されている否か容易に判断することができる。これにより、撮像画像から検出したコード領域に対して、表裏反転させた状態でデコードする処理と表裏反転させない状態でデコードする処理との2つの処理を行うことなく、一方の処理のみを行えばよいので、二次元コードを読み取る読取処理に関して処理時間を短縮することができる。 In particular, since the arrangement is different between the first position detection pattern and the second position detection pattern, the positional relationship between the first position detection pattern, the second position detection pattern, the first edge, and the second edge , it is possible to easily determine whether or not the image is captured with the code area reversed. As a result, only one of the processes of decoding the code area detected from the captured image in a reversed state and decoding in a non-reversed state can be performed without performing the two processes. Therefore, it is possible to shorten the processing time for the reading process of reading the two-dimensional code.

請求項の発明では、第1の縁は、始端及び終端の少なくとも一方が、特定パターンと異なる端部用のパターンとなるように構成されるため、この端部用のパターンを規準に、第1の縁の端部、すなわち、第1の縁に直交するコード領域の外縁を容易に検出することができる。 In the second aspect of the invention, the first edge is configured such that at least one of the starting edge and the trailing edge has a pattern for the edge different from the specific pattern. The end of one edge, ie the outer edge of the coding region orthogonal to the first edge, can be easily detected.

請求項の発明では、第2の縁は、始端及び終端の少なくとも一方が、特定パターンと異なる端部用のパターンとなるように構成されるため、この端部用のパターンを規準に、第2の縁の端部、すなわち、第2の縁に直交するコード領域の外縁を容易に検出することができる。 According to the third aspect of the invention, the second edge is configured such that at least one of the starting end and the terminating end has a pattern for the end that is different from the specific pattern. The end of the two edges, ie the outer edge of the coding region orthogonal to the second edge, can be easily detected.

請求項の発明では、コード領域内には、第1の縁及び第2の縁に直交する対向方向にて第1の縁から第2の縁にかけて、それぞれセルの配列が同じになる分断パターンが1以上配置される。これにより、分断パターンを規準に、第1の縁及び第2の縁に沿う方向(上記対向方向に直交する方向)に関して各セルのコード領域に占める位置(セル座標)を正確に求めやすくなり、デコード成功率を高めることができる。 In the invention according to claim 4 , in the code region, the division pattern in which the cell arrangement is the same from the first edge to the second edge in the opposing direction perpendicular to the first edge and the second edge. 1 or more are arranged. This makes it easier to accurately determine the position (cell coordinates) of each cell in the code region in the direction along the first edge and the second edge (the direction orthogonal to the facing direction), based on the division pattern, The decoding success rate can be increased.

請求項の発明では、コード領域の外縁のうち、第1の縁及び第2の縁に直交するように互いに対向する第3の縁及び第4の縁は、少なくとも中間部位を構成するセルの種類が、第1の縁及び第2の縁に沿う方向にて対向する位置の分断パターンのセルと同じ種類となるように構成される。これにより、分断パターンだけでなく第3の縁及び第4の縁の中間部位をも規準として、第1の縁及び第2の縁に沿う方向に関して各セルのセル座標を正確に求めやすくなり、デコード成功率をさらに高めることができる。 In the invention of claim 5 , among the outer edges of the code region, the third edge and the fourth edge that face each other so as to be orthogonal to the first edge and the second edge are at least the cells constituting the intermediate portion. The type is configured to be the same type as the cells of the segmentation pattern at opposing positions in the direction along the first edge and the second edge. As a result, it becomes easier to accurately obtain the cell coordinates of each cell with respect to the direction along the first edge and the second edge, based not only on the division pattern but also on the intermediate portions of the third edge and the fourth edge, The decoding success rate can be further increased.

請求項の発明では、コード領域のサイズは、分断パターンが第1の縁に接する位置によって決まるため、第1の縁における分断パターンが接する位置を求めることでコード領域のサイズを直ちに特定することができる。すなわち、コード領域を検出する際には、第1の縁の端部を構成するセルなどの所定の位置のセルから分断パターンに接するセルまで一方向に並ぶセルの個数を求めるだけでコード領域のサイズが特定されるので、二次元的にセルの配列を求めることなく早い段階でコード領域のサイズを特定することができる。このようにコード領域のサイズを特定できるため、コード領域の近くにセルの集合体らしい部分があったとしてもその部分に対してコード領域を検出するための処理がなされることもないので、不要な処理が軽減されて、読取処理に関する処理時間の短縮を図ることができる。 In the sixth aspect of the invention, since the size of the code region is determined by the position where the division pattern contacts the first edge, the size of the code region can be immediately specified by obtaining the position where the division pattern contacts the first edge. can be done. That is, when detecting the code region, the code region can be detected only by obtaining the number of cells arranged in one direction from the cell at a predetermined position such as the cell forming the end of the first edge to the cell in contact with the division pattern. Since the size is specified, the size of the code region can be specified at an early stage without obtaining a two-dimensional array of cells. Since the size of the code area can be specified in this way, even if there is a part that looks like an aggregate of cells near the code area, processing for detecting the code area is not performed on that part, so it is unnecessary. Therefore, it is possible to shorten the processing time for the reading processing.

請求項の発明では、第1の縁において特定パターンが繰り返される部分と第2の縁において特定パターンが繰り返される部分とで、第1の縁及び第2の縁に直交する対向方向にて対向する位置のセルが同じ種類である。これにより、各特定パターンを規準に、上記対向方向に関して各セルのセル座標を正確に求めやすくなり、デコード成功率を高めることができる。 In the invention of claim 7 , the portion where the specific pattern is repeated on the first edge and the portion where the specific pattern is repeated on the second edge are opposed in the facing direction orthogonal to the first edge and the second edge. are of the same type. As a result, it becomes easier to accurately obtain the cell coordinates of each cell in the facing direction with reference to each specific pattern, and the decoding success rate can be increased.

特に、第1の縁及び第2の縁は、特定パターンと配列が異なる第2の特定パターンが特定パターンの繰り返し中に1又は2以上出現するように構成され、第1の縁の第2の特定パターンと第2の縁の第2の特定パターンとで対向方向にて対向する位置のセルが同じ種類である。これにより、各特定パターンだけでなく第2の特定パターンをも規準として、上記対向方向に関して各セルのセル座標を正確に求めやすくなり、デコード成功率をさらに高めることができる。 In particular , the first edge and the second edge are configured such that one or more second specific patterns differing in arrangement from the specific pattern appear during repetition of the specific pattern, and the second edge of the first edge Cells at positions facing each other in the facing direction between the specific pattern and the second specific pattern of the second edge are of the same type. This makes it easier to accurately obtain the cell coordinates of each cell with respect to the facing direction based on not only each specific pattern but also the second specific pattern, thereby further increasing the decoding success rate.

請求項の発明では、第1の縁及び第2の縁は、それぞれ第2の特定パターンが1以上出現するように構成され、上記対向方向にて第1の縁の第2の特定パターンから対向する第2の縁の第2の特定パターンにかけて、それぞれセルの配列が同じになる分断パターンが配置される。これにより、上記対向方向に関する各セルのセル座標を、各特定パターン及び第2の特定パターンを規準として求め、第1の縁及び第2の縁に沿う方向に関する各セルのセル座標を、分断パターンを規準として求めることができ、デコード成功率をより一層高めることができる。 In the eighth aspect of the invention, each of the first edge and the second edge is configured such that one or more second specific patterns appear, and from the second specific pattern of the first edge in the facing direction Dividing patterns each having the same arrangement of cells are arranged over the second specific pattern on the opposing second edge. Thereby, the cell coordinates of each cell in the facing direction are obtained with each specific pattern and the second specific pattern as a reference, and the cell coordinates of each cell in directions along the first edge and the second edge are obtained by dividing the dividing pattern. can be obtained as a criterion, and the decoding success rate can be further increased.

請求項の発明では、第2の特定パターンは、同じ種類のセルを3つ配列して構成され、分断パターンは、第2の特定パターンの中央のセルに接する端部のセルが当該第2の特定パターンを構成するセルと異なる種類のセルにより構成され、この端部のセルを囲うセルが第2の特定パターンを構成するセルと同じ種類のセルにより構成される。これにより、分断パターンの端部のセルは異なる種類のセルに囲まれるだけでなく、その分断パターンの端部のセルを囲うセルが全て同じ種類のセルとなるので、分断パターンの端部のセルを検出しやすくなり、その結果、分断パターン及び第2の特定パターンを検出しやすくすることができる。 In the ninth aspect of the invention, the second specific pattern is configured by arranging three cells of the same type, and the division pattern is such that the end cells in contact with the central cell of the second specific pattern are the second specific pattern. The second specific pattern is composed of cells of a different type, and the cells surrounding this end cell are composed of cells of the same type as the cells that constitute the second specific pattern. As a result, the end cells of the divided pattern are not only surrounded by different types of cells, but also the cells surrounding the end of the divided pattern are all of the same type. can be easily detected, and as a result, the division pattern and the second specific pattern can be easily detected.

請求項10の発明では、コード領域の外縁のうち、第1の縁及び第2の縁に直交するように互いに対向する第3の縁及び第4の縁は、少なくとも中間部位を構成するセルの種類が、第1の縁及び第2の縁に沿う方向にて対向する位置の分断パターンのセルと同じ種類となるように構成される。これにより、分断パターンだけでなく第3の縁及び第4の縁の中間部位をも規準として、第1の縁及び第2の縁に沿う方向に関して各セルのセル座標を正確に求めやすくなり、デコード成功率をさらに高めることができる。 In the invention of claim 10 , among the outer edges of the code region, the third edge and the fourth edge that face each other so as to be orthogonal to the first edge and the second edge are at least the cells constituting the intermediate portion. The type is configured to be the same type as the cells of the segmentation pattern at opposing positions in the direction along the first edge and the second edge. As a result, it becomes easier to accurately obtain the cell coordinates of each cell with respect to the direction along the first edge and the second edge, based not only on the division pattern but also on the intermediate portions of the third edge and the fourth edge, The decoding success rate can be further increased.

請求項11の発明では、コード領域のサイズは、分断パターンが第1の縁に接する位置によって決まるため、第1の縁における分断パターンが接する位置を求めることでコード領域のサイズを直ちに特定することができる。すなわち、コード領域を検出する際には、第1の縁の端部を構成するセルなどの所定の位置のセルから分断パターンに接するセルまで一方向に並ぶセルの個数を求めるだけでコード領域のサイズが特定されるので、二次元的にセルの配列を求めることなく早い段階でコード領域のサイズを特定することができる。このようにコード領域のサイズを特定できるため、コード領域の近くにセルの集合体らしい部分があったとしてもその部分に対してコード領域を検出するための処理がなされることもないので、不要な処理が軽減されて、読取処理に関する処理時間の短縮を図ることができる。 In the eleventh aspect of the invention, since the size of the code region is determined by the position where the division pattern contacts the first edge, the size of the code region can be immediately specified by obtaining the position where the division pattern contacts the first edge. can be done. That is, when detecting the code region, the code region can be detected only by obtaining the number of cells arranged in one direction from the cell at a predetermined position such as the cell forming the end of the first edge to the cell in contact with the division pattern. Since the size is specified, the size of the code region can be specified at an early stage without obtaining a two-dimensional array of cells. Since the size of the code area can be specified in this way, even if there is a part that looks like an aggregate of cells near the code area, processing for detecting the code area is not performed on that part, so it is unnecessary. Therefore, it is possible to shorten the processing time for the reading processing.

請求項12の発明では、上記特定パターンが一組の明色セル及び暗色セルからなる。このように、明色セルと暗色セルとが交互に繰り返されるような周期性のあるパターンを有するように第1の縁及び第2の縁が構成されても、二次元コードとともに表示面に表示される枠線や文字等から構成され難く、実線部分と異なり撮像画像に含まれる可能性が低いため、上記コード領域が撮像されていない場合に当該コード領域の検出に関して不要なコード検出処理を抑制することができる。 In the twelfth aspect of the invention, the specific pattern consists of a set of bright color cells and dark color cells. In this way, even if the first edge and the second edge are configured to have a periodic pattern in which bright cells and dark cells are alternately repeated, they can be displayed on the display surface together with the two-dimensional code. Unlike the solid line portion, it is less likely to be included in the captured image. Therefore, when the code region is not captured, unnecessary code detection processing is suppressed regarding detection of the code region. can do.

請求項13の発明では、第1の縁及び第2の縁が長方形状のコード領域の長辺となるように構成される。これにより、第1の縁及び第2の縁がそのコード領域の短辺となるように構成される場合と比較して、特定パターンの繰り返し出現頻度が高まることから、第1の縁及び第2の縁を容易に検出することができる。
In the thirteenth aspect of the invention, the first edge and the second edge are configured to be the long sides of the rectangular code area. As a result, compared to the case where the first edge and the second edge are the short sides of the code region, the frequency of repeated appearance of the specific pattern increases. edges can be easily detected.

第1実施形態に係る二次元コードを示す説明図である。FIG. 3 is an explanatory diagram showing a two-dimensional code according to the first embodiment; FIG. 第1実施形態に係る二次元コードを読み取る情報コード読取装置の電気的構成を概略的に例示するブロック図である。1 is a block diagram schematically illustrating an electrical configuration of an information code reader that reads a two-dimensional code according to the first embodiment; FIG. 情報コード読取装置の制御部にて行われる読取処理の流れを例示するフローチャートである。It is a flowchart which illustrates the flow of the reading process performed in the control part of an information code reader. 図1の二次元コードを表裏反転させた状態を説明する説明図である。FIG. 2 is an explanatory diagram illustrating a state in which the two-dimensional code of FIG. 1 is reversed; 第1実施形態の第1変形例に係る二次元コードを示す説明図である。FIG. 11 is an explanatory diagram showing a two-dimensional code according to the first modified example of the first embodiment; 第1実施形態の第2変形例に係る二次元コードを示す説明図である。FIG. 11 is an explanatory diagram showing a two-dimensional code according to a second modified example of the first embodiment; 第2実施形態に係る二次元コードを示す説明図である。FIG. 11 is an explanatory diagram showing a two-dimensional code according to the second embodiment; 第2実施形態の第1変形例に係る二次元コードを示す説明図である。FIG. 11 is an explanatory diagram showing a two-dimensional code according to the first modified example of the second embodiment; 第2実施形態の第2変形例に係る二次元コードを示す説明図である。FIG. 11 is an explanatory diagram showing a two-dimensional code according to a second modified example of the second embodiment; 第3実施形態に係る二次元コードを示す説明図である。FIG. 11 is an explanatory diagram showing a two-dimensional code according to the third embodiment; 図11(A)は、コードサイズとサイズ特定用セル個数とが1対1で対応している状態を説明する説明図であり、図11(B)は、コードサイズとサイズ特定用セル個数とが1対多で対応している状態を説明する説明図である。FIG. 11(A) is an explanatory diagram for explaining a state in which the code size and the number of size-specifying cells correspond one-to-one. is an explanatory diagram for explaining a state in which are in one-to-many correspondence.

[第1実施形態]
以下、本発明の二次元コードを具現化した第1実施形態について、図面を参照して説明する。
まず、図1を参照して本実施形態に係る二次元コードの構成を説明する。
本実施形態に係る二次元コード30は、図1に示すように、矩形状(より具体的には長方形状)のコード領域31内に複数種類の正方形状の情報表示単位セル(以下、単にセルとも称する)がマトリクス状に配列されて構成されている。このコード領域31は、予め定められた形状のパターンが配置される固定パターン領域と、複数種類のセルによってデータを記録するデータ記録領域32とに区分けされる。これにより、固定パターン領域を利用して撮像画像に占めるコード領域31が検出可能となり、この検出されたコード領域31のデータ記録領域32を利用して二次元コード30に記録したデータが読み取られる。なお、データ記録領域32には、誤り訂正符号を記録する誤り訂正符号記録領域を含めることができる。また、図1等では、データ記録領域32にハッチングを付している。
[First embodiment]
A first embodiment embodying a two-dimensional code of the present invention will be described below with reference to the drawings.
First, the structure of the two-dimensional code according to this embodiment will be described with reference to FIG.
The two-dimensional code 30 according to the present embodiment, as shown in FIG. ) are arranged in a matrix. The code area 31 is divided into a fixed pattern area in which a pattern of a predetermined shape is arranged and a data recording area 32 in which data is recorded using a plurality of types of cells. As a result, the code area 31 occupying the captured image can be detected using the fixed pattern area, and the data recorded in the two-dimensional code 30 can be read using the data recording area 32 of the detected code area 31 . The data recording area 32 can include an error correction code recording area for recording an error correction code. In addition, in FIG. 1 and the like, the data recording area 32 is hatched.

固定パターン領域は、コード領域31の隅部の1つに配置される第1の位置検出パターン33aと、第1の位置検出パターン33aに対して対角となるコード領域31の隅部に配置される第2の位置検出パターン33bと、第1の位置検出パターン33a及び第2の位置検出パターン33bを除くコード領域31の外縁34とから構成される。 The fixed pattern areas are a first position detection pattern 33a arranged at one corner of the code area 31 and a corner of the code area 31 diagonal to the first position detection pattern 33a. and an outer edge 34 of the code area 31 excluding the first position detection pattern 33a and the second position detection pattern 33b.

本実施形態では、二次元コード30は、図1に示すように、明色セルと暗色セルの2種類のセルがマトリクス状に配列されて構成されている。そして、第1の位置検出パターン33aは、中央の正方形状に配列される9つの暗色セルと、これらの9つの暗色セルを一列にて囲む明色セル群と、この明色セル群を一列にて囲む暗色セル群と、この暗色セル群とデータ記録領域32との区分けするL字状の明色セル群とから構成される。このため、第1の位置検出パターン33aは、QRコード(登録商標)の位置検出パターンと同様に、暗、明、暗、明、暗の順番でその連続比率が1:1:3:1:1となる領域に基づいて検出することができる。 In this embodiment, as shown in FIG. 1, the two-dimensional code 30 is configured by arranging two types of cells, bright cells and dark cells, in a matrix. The first position detection pattern 33a includes nine dark cells arranged in a square shape in the center, a bright cell group surrounding these nine dark cells in a line, and this bright cell group in a line. and an L-shaped bright cell group separating the dark cell group from the data recording area 32 . For this reason, the first position detection pattern 33a has a continuous ratio of 1:1:3:1 in the order of dark, light, dark, light, and dark, similar to the position detection pattern of the QR code (registered trademark). It can be detected based on the area of 1.

また、第2の位置検出パターン33bは、中央の1つの暗色セルと、この暗色セルを一列にて囲む明色セル群と、この明色セル群を一列にて囲む暗色セル群とから構成される。このため、第2の位置検出パターン33bは、暗、明、暗、明、暗の順番でその連続比率が1:1:1:1:1となる領域に基づいて検出することができる。 The second position detection pattern 33b is composed of one central dark cell, a bright cell group surrounding the dark cell in a row, and a dark cell group surrounding the bright cell group in a row. be. Therefore, the second position detection pattern 33b can be detected based on an area in which the continuous ratio is 1:1:1:1:1 in the order of dark, bright, dark, bright, and dark.

コード領域31の外縁34は、各セルを一列に配列して構成されるもので、第1の位置検出パターン33a側の長辺を構成する第1の縁34aと、第2の位置検出パターン33b側の長辺を構成する第2の縁34bと、第1の位置検出パターン33a側の短辺を構成する第3の縁34cと、第2の位置検出パターン33b側の短辺を構成する第4の縁34dとからなる。 The outer edge 34 of the code area 31 is formed by arranging each cell in a row, and includes a first edge 34a forming a long side on the first position detection pattern 33a side and a second position detection pattern 33b. a second edge 34b forming the long side of the first position detection pattern 33a; a third edge 34c forming the short side of the first position detection pattern 33a; 4 edges 34d.

第1の縁34aは、一方の端部が第1の位置検出パターン33aに連なり、他方の端部が端部用のパターン35aとして3つの暗色セルからなり、端部用のパターン35aを除く部位が明色セルと暗色セルとが交互に配列されて構成される。すなわち、第1の縁34aは、少なくとも中間部位において、一組の明色セル及び暗色セルを配列してなる特定パターン40が第1の位置検出パターン33aに到達するまで繰り返されて構成される。 The first edge 34a has one end connected to the first position detection pattern 33a, and the other end consisting of three dark cells as an end pattern 35a. is composed of alternately arranged light cells and dark cells. That is, the first edge 34a is formed by repeating the specific pattern 40, which is formed by arranging a set of bright-colored cells and dark-colored cells, at least at the intermediate portion until it reaches the first position detection pattern 33a.

第2の縁34bは、一方の端部が端部用のパターン35bとして3つの暗色セルからなり、他方の端部が第2の位置検出パターン33bに連なり、端部用のパターン35bを除く部位が明色セルと暗色セルとが交互に配列されて構成される。すなわち、第2の縁34bは、少なくとも中間部位において、第1の縁34aと同様に構成される特定パターン40が第2の位置検出パターン33bに到達するまで繰り返されて構成される。 The second edge 34b has one end composed of three dark cells as an end pattern 35b, and the other end connected to the second position detection pattern 33b, excluding the end pattern 35b. is composed of alternately arranged light cells and dark cells. That is, the second edge 34b is configured by repeating the specific pattern 40 configured in the same manner as the first edge 34a at least at the intermediate portion until it reaches the second position detection pattern 33b.

特に、第2の縁34bは、第1の縁34aにおいて特定パターン40が繰り返される部分(図1のL1参照)と第2の縁34bにおいて特定パターン40が繰り返される部分(図1のL2参照)とで、第1の縁34a及び第2の縁34bに直交する対向方向(図1のY方向)にて対向する位置のセルが同じ種類となるように構成されている。このため、例えば、図1の対向方向に延伸する一点鎖線S1が通る第1の縁34aのセルと第2の縁34bのセルとが同じ暗色セルとなる。 In particular, the second edge 34b has a portion where the specific pattern 40 is repeated on the first edge 34a (see L1 in FIG. 1) and a portion where the specific pattern 40 is repeated on the second edge 34b (see L2 in FIG. 1). , so that the cells facing each other in the facing direction (the Y direction in FIG. 1) orthogonal to the first edge 34a and the second edge 34b are of the same type. Therefore, for example, the cell of the first edge 34a and the cell of the second edge 34b through which the one-dot chain line S1 extending in the opposite direction in FIG. 1 passes become the same dark color cells.

第3の縁34cは、一方の端部が第1の位置検出パターン33aに連なり、他方の端部が端部用のパターン35cとして第2の縁34bの端部用のパターン35bと同じ暗色セルからなるように構成されている。一方の端部と他方の端部との間となる中間部位は、上記特定パターン40が繰り返されるように構成される。そして、端部用のパターン35cは、第2の縁34bの端部用のパターン35bとL字状に連なることで、端部用のパターン35cと端部用のパターン35bとの間の1つの明色セルとともに、隅パターン33cを構成する。 One end of the third edge 34c is connected to the first position detection pattern 33a, and the other end is a pattern 35c for the edge, which is the same dark color cell as the pattern 35b for the edge of the second edge 34b. It is configured to consist of An intermediate portion between one end and the other end is configured such that the specific pattern 40 is repeated. The edge pattern 35c is connected to the edge pattern 35b of the second edge 34b in an L-shape to form one edge between the edge pattern 35c and the edge pattern 35b. The corner pattern 33c is configured together with the light-colored cells.

第4の縁34dは、一方の端部が端部用のパターン35dとして第1の縁34aの端部用のパターン35aと同じ暗色セルからなり、他方の端部が第2の位置検出パターン33bに連なるように構成されている。一方の端部と他方の端部との間となる中間部位は、上記特定パターン40が繰り返されるように構成される。そして、端部用のパターン35dは、第1の縁34aの端部用のパターン35aとL字状に連なることで、端部用のパターン35dと端部用のパターン35aとの間の1つの明色セルとともに、隅パターン33dを構成する。 One end of the fourth edge 34d is a pattern 35d for the edge, which is the same dark color cell as the pattern 35a for the edge of the first edge 34a, and the other end is the second position detection pattern 33b. is configured to be connected to An intermediate portion between one end and the other end is configured such that the specific pattern 40 is repeated. The edge pattern 35d is connected to the edge pattern 35a of the first edge 34a in an L-shape to form one edge between the edge pattern 35d and the edge pattern 35a. The corner pattern 33d is configured together with the bright color cells.

このように構成される二次元コード30では、互いに対向する第1の縁34a及び第2の縁34bは、少なくとも中間部位が上記特定パターン40の繰り返しにより構成されるので、撮像画像から上記特定パターン40が繰り返される2つの平行な部分を検出することができれば、その2つの平行な部分を対向する外縁とするコード領域31を検出することができる。特に、上記特定パターン40が繰り返されるような周期性のあるパターンは、意図してそのようなパターンを配置しない限り、同じ撮像画像に含まれる可能性が低くなる。 In the two-dimensional code 30 configured as described above, the first edge 34a and the second edge 34b facing each other are configured by repeating the specific pattern 40 at least in the intermediate portion. If it is possible to detect two parallel portions in which 40 is repeated, it is possible to detect the code region 31 having the two parallel portions as opposed outer edges. In particular, a periodic pattern in which the specific pattern 40 is repeated is less likely to be included in the same captured image unless such a pattern is intentionally arranged.

次に、本実施形態に係る二次元コード30を光学的に読み取り可能な二次元コード読取装置として機能する情報コード読取装置1について、図2を用いて説明する。
本実施形態に係る情報コード読取装置1は、二次元コード30やバーコードなどを光学的に読み取る携帯型の読取装置である。図2に示すように、情報コード読取装置1は、図示しないケースの内部に回路部が収容されてなるものであり、回路部は、主に、照明光源11、受光センサ13、結像レンズ12等の光学系と、メモリ16、制御部20等のマイクロコンピュータ(以下「マイコン」という)系とを備えている。なお、情報コード読取装置1は、据え置き型の読取装置として構成されてもよい。
Next, the information code reader 1 functioning as a two-dimensional code reader capable of optically reading the two-dimensional code 30 according to this embodiment will be described with reference to FIG.
The information code reader 1 according to the present embodiment is a portable reader that optically reads a two-dimensional code 30, bar code, or the like. As shown in FIG. 2, the information code reader 1 has a circuit portion housed inside a case (not shown). etc., and a microcomputer (hereinafter referred to as "microcomputer") system such as a memory 16 and a control unit 20 . The information code reader 1 may be configured as a stationary reader.

光学系は、投光光学系と、受光光学系とに分かれている。投光光学系を構成する照明光源11は、照明光Lfを発光可能な照明光源として機能するもので、例えば、赤色のLEDとこのLEDの出射側に設けられるレンズとから構成されている。なお、図2では、二次元コード30が付された読取対象物Rに向けて照明光Lfを照射する例を概念的に示している。 The optical system is divided into a projecting optical system and a receiving optical system. The illumination light source 11 constituting the projection optical system functions as an illumination light source capable of emitting the illumination light Lf, and is composed of, for example, a red LED and a lens provided on the emission side of the LED. Note that FIG. 2 conceptually shows an example of irradiating the illumination light Lf toward the reading object R to which the two-dimensional code 30 is attached.

受光光学系は、受光センサ13、結像レンズ12、反射鏡(図示略)などによって構成されている。受光センサ13は、例えば、C-MOSやCCD等の固体撮像素子である受光素子を二次元に配列したエリアセンサとして構成されるものであり、受光した情報コードの各セル(パターン)ごとに反射光Lrの強度に応じた電気信号を出力するように構成されている。この受光センサ13は、結像レンズ12を介して入射する入射光を受光可能にプリント配線板(図示略)に実装されている。 The light-receiving optical system includes a light-receiving sensor 13, an imaging lens 12, a reflecting mirror (not shown), and the like. The light-receiving sensor 13 is configured as an area sensor in which light-receiving elements, which are solid-state imaging elements such as C-MOS and CCD, are arranged two-dimensionally, and each cell (pattern) of the received information code is reflected. It is configured to output an electrical signal corresponding to the intensity of the light Lr. The light-receiving sensor 13 is mounted on a printed wiring board (not shown) so as to be able to receive incident light that enters through the imaging lens 12 .

結像レンズ12は、外部から読取口(図示略)を介して入射する入射光を集光して受光センサ13の受光面13aに像を結像可能な結像光学系として機能するものである。本実施形態では、照明光源11から照射された照明光Lf等が情報コード等にて反射した後、この反射光Lrを結像レンズ12で集光し、受光センサ13の受光面13aにコード像を結像させている。 The image-forming lens 12 functions as an image-forming optical system capable of condensing incident light incident from the outside through a reading port (not shown) and forming an image on the light-receiving surface 13a of the light-receiving sensor 13. . In this embodiment, after the illumination light Lf or the like emitted from the illumination light source 11 is reflected by the information code or the like, the reflected light Lr is condensed by the imaging lens 12, and the code image is formed on the light receiving surface 13a of the light receiving sensor 13. is imaged.

マイコン系は、増幅回路14、A/D変換回路15、メモリ16、アドレス発生回路17、同期信号発生回路18、制御部20、操作部21、液晶表示器22、ブザー23、バイブレータ24、発光部25、通信インタフェース26等から構成されている。このマイコン系は、その名の通り、マイコン(情報処理装置)として機能し得る制御部20およびメモリ16を中心に構成されるもので、上述した光学系によって撮像された二次元コード30を含めた情報コードの画像信号をハードウェア的およびソフトウェア的に信号処理し得るものである。また制御部20は、当該情報コード読取装置1の全体システムに関する制御も行っている。 The microcomputer system includes an amplifier circuit 14, an A/D conversion circuit 15, a memory 16, an address generation circuit 17, a synchronization signal generation circuit 18, a control section 20, an operation section 21, a liquid crystal display 22, a buzzer 23, a vibrator 24, and a light emitting section. 25, a communication interface 26, and the like. As the name suggests, this microcomputer system is mainly composed of a control unit 20 and a memory 16 that can function as a microcomputer (information processing device), and includes the two-dimensional code 30 imaged by the optical system described above. The image signal of the information code can be signal-processed by hardware and software. The control unit 20 also controls the overall system of the information code reader 1 .

光学系の受光センサ13から出力される画像信号(アナログ信号)は、増幅回路14に入力されることで所定ゲインで増幅された後、A/D変換回路15に入力されると、アナログ信号からディジタル信号に変換される。そして、ディジタル化された画像信号、つまり画像データ(画像情報)は、メモリ16に入力されると、画像データ蓄積領域に蓄積される。なお、同期信号発生回路18は、受光センサ13およびアドレス発生回路17に対する同期信号を発生可能に構成されており、またアドレス発生回路17は、この同期信号発生回路18から供給される同期信号に基づいて、メモリ16に格納される画像データの格納アドレスを発生可能に構成されている。 An image signal (analog signal) output from the light-receiving sensor 13 of the optical system is input to the amplifier circuit 14 to be amplified by a predetermined gain, and then input to the A/D conversion circuit 15 to convert the analog signal into converted to a digital signal. When the digitized image signal, that is, image data (image information) is input to the memory 16, it is stored in the image data storage area. The synchronizing signal generating circuit 18 is configured to be able to generate a synchronizing signal for the light receiving sensor 13 and the address generating circuit 17. The address generating circuit 17 operates based on the synchronizing signal supplied from the synchronizing signal generating circuit 18. , the storage address of the image data stored in the memory 16 can be generated.

メモリ16は、半導体メモリ装置で、例えばRAM(DRAM、SRAM等)やROM(EPROM、EEPROM等)がこれに相当する。このメモリ16のうちのRAMには、上述した画像データ蓄積領域のほかに、制御部20が算術演算や論理演算等の各処理時に利用する作業領域や読取条件テーブルも確保可能に構成されている。また、ROMには、照明光源11、受光センサ13等の各ハードウェアを制御可能なシステムプログラム等が予め格納されている。また、メモリ16には、読取対象となる二次元コード30の第1の縁34a及び第2の縁34bを構成する特定パターン40や端部用のパターン、位置検出パターン33a,33bや隅パターン33c,33d等の固定パターン領域に関する情報(以下、特定パターン情報等ともいう)やこの特定パターン情報等を利用して二次元コード30を光学的に読み取る読取処理を実行するためのプログラム等も記憶されている。 The memory 16 is a semiconductor memory device such as a RAM (DRAM, SRAM, etc.) or a ROM (EPROM, EEPROM, etc.). In the RAM of the memory 16, in addition to the above-described image data storage area, a work area and a reading condition table used by the control unit 20 during each processing such as arithmetic operation and logical operation can be secured. . Further, the ROM stores in advance a system program and the like capable of controlling each hardware such as the illumination light source 11 and the light receiving sensor 13 . The memory 16 also stores specific patterns 40 forming the first edge 34a and the second edge 34b of the two-dimensional code 30 to be read, edge patterns, position detection patterns 33a and 33b, and corner patterns 33c. , 33d and the like (hereinafter also referred to as specific pattern information) and a program for executing the reading process of optically reading the two-dimensional code 30 using the specific pattern information. ing.

制御部20は、情報コード読取装置1全体を制御可能なマイコンで、CPU、システムバス、入出力インタフェース等からなるもので、メモリ16とともに情報処理装置を構成し得るもので情報処理機能を有する。この制御部20は、内蔵された入出力インタフェースを介して種々の入出力装置(周辺装置)と接続可能に構成されており、本実施形態の場合、操作部21、液晶表示器22、ブザー23、バイブレータ24、発光部25、通信インタフェース26等が接続されている。 The control unit 20 is a microcomputer capable of controlling the entire information code reader 1, and includes a CPU, a system bus, an input/output interface, and the like. The control unit 20 is configured to be connectable to various input/output devices (peripheral devices) via a built-in input/output interface. , a vibrator 24, a light emitting unit 25, a communication interface 26, and the like are connected.

操作部21は、複数のキーによって構成され、使用者のキー操作に応じて制御部20に対して操作信号を与える構成をなしており、制御部20は、操作部21から操作信号を受けたとき、その操作信号に応じた動作を行うように構成されている。液晶表示器22は、公知の液晶表示パネルによって構成されており、制御部20によって表示内容が制御されるようになっている。ブザー23は、公知のブザーによって構成されており、制御部20からの動作信号に応じて所定の音を発生させるように構成されている。バイブレータ24は、携帯機器に搭載される公知のバイブレータによって構成されており、制御部20からの駆動信号に応じて振動を発生させるように構成されている。発光部25は、例えばLEDであって、制御部20からの信号に応じて点灯するように構成されている。通信インタフェース26は、外部(例えばホスト装置)との間でのデータ通信を行うためのインタフェースとして構成されており、制御部20と協働して通信処理を行う構成をなしている。 The operation unit 21 is composed of a plurality of keys, and is configured to give an operation signal to the control unit 20 according to the key operation of the user. is configured to perform an operation corresponding to the operation signal. The liquid crystal display 22 is composed of a known liquid crystal display panel, and the display contents are controlled by the control section 20 . The buzzer 23 is a known buzzer and is configured to generate a predetermined sound in response to an operation signal from the control section 20 . The vibrator 24 is composed of a known vibrator mounted on a portable device, and is configured to generate vibration according to a drive signal from the control section 20 . The light emitting unit 25 is, for example, an LED, and is configured to light up according to a signal from the control unit 20 . The communication interface 26 is configured as an interface for performing data communication with an external device (for example, a host device), and cooperates with the control unit 20 to perform communication processing.

次に、二次元コード30を読み取る際に情報コード読取装置1の制御部20にて実行される読取処理について、図3のフローチャートを参照して説明する。
二次元コード30に対して情報コード読取装置1の読取口が向けられた状態で操作部21に対して所定の操作がなされると、制御部20による読取処理が開始される。まず、ステップS101に示す撮像処理がなされ、二次元コード30からの反射光Lrを受光した受光センサ13から出力される信号に基づいて、当該二次元コード30を含む撮像画像の画像データが生成される。
Next, reading processing executed by the control unit 20 of the information code reading device 1 when reading the two-dimensional code 30 will be described with reference to the flowchart of FIG.
When a predetermined operation is performed on the operation unit 21 while the reading opening of the information code reading device 1 is directed toward the two-dimensional code 30, reading processing by the control unit 20 is started. First, an imaging process shown in step S101 is performed, and image data of a captured image including the two-dimensional code 30 is generated based on a signal output from the light receiving sensor 13 that has received the reflected light Lr from the two-dimensional code 30. be.

次に、ステップS103に示す外縁検出処理がなされる。この処理では、メモリ16に予め記憶される特定パターン情報等に基づいて、上述のように撮像された撮像画像から上記特定パターン40が繰り返される2つの平行な部分、すなわち、第1の縁34a及び第2の縁34bを検出するための処理がなされる。この処理では、上記特定パターン40や端部用のパターン35a,35b等を利用して撮像画像から第1の縁34a及び第2の縁34bを直接検出してもよいし、撮像画像から検出される位置検出パターン33a,33bや隅パターン33c,33dの位置に基づいて、第1の縁34a及び第2の縁34bを検出してもよい。 Next, an outer edge detection process shown in step S103 is performed. In this process, based on specific pattern information or the like stored in advance in the memory 16, two parallel portions where the specific pattern 40 is repeated from the captured image captured as described above, that is, the first edge 34a and the Processing is performed to detect the second edge 34b. In this process, the first edge 34a and the second edge 34b may be directly detected from the captured image using the specific pattern 40, the edge patterns 35a and 35b, or the like, or may be detected from the captured image. The first edge 34a and the second edge 34b may be detected based on the positions of the position detection patterns 33a and 33b and the corner patterns 33c and 33d.

そして、二次元コード30を撮像していることから、撮像された撮像画像から第1の縁34a及び第2の縁34bが検出されると(S105でYes)、ステップS107に示すコード領域検出処理がなされる。この処理では、上述のように検出された第1の縁34a及び第2の縁34bと第1の位置検出パターン33a及び第2の位置検出パターン33b等とに基づいてコード領域31が検出される。 Then, since the two-dimensional code 30 is captured, when the first edge 34a and the second edge 34b are detected from the captured image (Yes in S105), the code area detection process shown in step S107 is performed. is done. In this process, the code region 31 is detected based on the first edge 34a and the second edge 34b detected as described above, the first position detection pattern 33a and the second position detection pattern 33b, and the like. .

そして、ステップS109に示すデコード処理がなされ、上述のように検出されたコード領域31内の各セルの配列に基づいてデータ記録領域32に記録される所定のデータをデコード(解読)するための処理がなされる。そして、このデコード処理が成功すると(S111でYes)、デコード処理により取得された所定のデータを外部に出力するための処理がなされて(S113)、本読取処理が終了する。一方、デコード処理が失敗する場合には(S111でNo)、二次元コード30がデコード可能に撮像されていないとして、上記ステップS101からの処理がなされる。 Then, the decoding process shown in step S109 is performed to decode (decode) the predetermined data recorded in the data recording area 32 based on the array of cells in the code area 31 detected as described above. is done. If the decoding process succeeds (Yes in S111), the process for outputting the predetermined data obtained by the decoding process is performed (S113), and the reading process ends. On the other hand, if the decoding process fails (No in S111), it is determined that the two-dimensional code 30 has not been imaged in a decodable manner, and the processes from step S101 are performed.

また、撮像された撮像画像から第1の縁34a及び第2の縁34bが検出されない場合には(S105でNo)、二次元コード30が撮像されていないとして、コード領域31を検出するコード領域検出処理(S107)が行われることなく、上記ステップS101からの処理がなされる。 Further, when the first edge 34a and the second edge 34b are not detected from the imaged image (No in S105), it is determined that the two-dimensional code 30 is not imaged, and the code area 31 is detected. The processing from step S101 is performed without performing the detection processing (S107).

以上説明したように、本実施形態に係る二次元コード30では、矩形状のコード領域31の外縁34のうち、複数種類のセルが一列に配列されてなる第1の縁34aは、少なくとも中間部位において、2以上の異なるセルを配列してなる特定パターン40が繰り返されて構成され、第1の縁34aに対向するように複数種類のセルが一列に配列されてなる第2の縁34bは、少なくとも中間部位において、上記特定パターン40が繰り返されて構成される。 As described above, in the two-dimensional code 30 according to the present embodiment, among the outer edges 34 of the rectangular code region 31, the first edge 34a formed by arranging a plurality of types of cells in a line is at least the intermediate portion. In the above, the specific pattern 40 formed by arranging two or more different cells is repeated, and the second edge 34b is formed by arranging a plurality of types of cells in a row so as to face the first edge 34a, The specific pattern 40 is repeated at least in the intermediate portion.

このように、互いに対向する第1の縁34a及び第2の縁34bは、少なくとも中間部位が同じ特定パターン40の繰り返しにより構成されるので、撮像画像から上記特定パターン40が繰り返される2つの平行な部分を検出することができれば、その2つの平行な部分を対向する外縁34の第1の縁34a及び第2の縁34bとするコード領域31を検出することができる。特に、上記特定パターン40が繰り返されるような周期性のあるパターンは、二次元コード30とともに表示面に表示される枠線や文字等から構成され難く、実線部分と異なり撮像画像に含まれる可能性が低いため、上記コード領域31が撮像されていない場合に当該コード領域31の検出に関して不要なコード検出処理を抑制することができる。その結果、情報コード読取装置1における読取処理に関する処理時間を短縮することができる。 In this manner, the first edge 34a and the second edge 34b facing each other are formed by repeating the same specific pattern 40 at least in the intermediate portion, so that two parallel edges in which the specific pattern 40 is repeated from the captured image are formed. If the portion can be detected, the code region 31 can be detected with the two parallel portions being the first edge 34a and the second edge 34b of the outer edge 34 facing each other. In particular, a periodic pattern such as the repeating specific pattern 40 is difficult to be composed of frame lines, characters, etc. displayed on the display surface together with the two-dimensional code 30, and may be included in the captured image unlike the solid line portion. is low, unnecessary code detection processing for detecting the code region 31 can be suppressed when the code region 31 is not imaged. As a result, the processing time for the reading process in the information code reader 1 can be shortened.

また、コード領域31の隅部の1つには、当該コード領域31の検出に利用する第1の位置検出パターン33aが配置され、第1の縁34aは、第1の位置検出パターン33aに到達するまで特定パターン40が繰り返されるように構成される。このため、検出した第1の位置検出パターン33aを規準として第1の縁34aを検出する場合には、その検出処理を容易に行うことができる。 A first position detection pattern 33a used for detecting the code region 31 is arranged at one of the corners of the code region 31, and the first edge 34a reaches the first position detection pattern 33a. The specific pattern 40 is configured to be repeated until the specified pattern 40 is reached. Therefore, when detecting the first edge 34a based on the detected first position detection pattern 33a, the detection process can be easily performed.

また、第1の位置検出パターン33aに対して対角となるコード領域31の隅部には、当該コード領域31の検出に利用する第2の位置検出パターン33bが第1の位置検出パターン33aと異なる配列にて配置され、第2の縁34bは、第2の位置検出パターン33bに到達するまで特定パターン40が繰り返されるように構成される。このため、検出した第2の位置検出パターン33bを規準として第2の縁34bを検出する場合には、その検出処理を容易に行うことができる。さらに、第1の位置検出パターン33a及び第2の位置検出パターン33bのどちらか一方を検出した際に、その場所を基準に他方を探すことで、コード領域31の対角に位置する2つの角の位置が検出でき、コード領域31の外形が検出しやすくなる。 At the corner of the code area 31 diagonal to the first position detection pattern 33a, a second position detection pattern 33b used for detection of the code area 31 is positioned as the first position detection pattern 33a. Arranged in a different arrangement, the second edge 34b is configured such that the particular pattern 40 is repeated until the second locating pattern 33b is reached. Therefore, when detecting the second edge 34b with the detected second position detection pattern 33b as a reference, the detection process can be easily performed. Further, when one of the first position detection pattern 33a and the second position detection pattern 33b is detected, by searching for the other with reference to the location, two corners located diagonally of the code region 31 can be detected. can be detected, and the outer shape of the code area 31 can be easily detected.

特に、第1の位置検出パターン33aと第2の位置検出パターン33bとで配列が異なるため、第1の位置検出パターン33a及び第2の位置検出パターン33bと第1の縁34a及び第2の縁34bとの位置関係から、コード領域31が表裏反転した状態で撮像されている否か容易に判断することができる。これにより、撮像画像から検出したコード領域31に対して、表裏反転させた状態(図4参照)でデコードする処理と表裏反転させない状態(図1参照)でデコードする処理との2つの処理を行うことなく、一方の処理のみを行えばよいので、二次元コード30を読み取る読取処理に関して処理時間を短縮することができる。 In particular, since the arrangement is different between the first position detection pattern 33a and the second position detection pattern 33b, the first position detection pattern 33a and the second position detection pattern 33b and the first edge 34a and the second edge From the positional relationship with 34b, it can be easily determined whether or not the image of the code area 31 is reversed. As a result, two processes are performed on the code area 31 detected from the captured image: decoding in a reversed state (see FIG. 4) and decoding in a non-reversed state (see FIG. 1). Therefore, it is possible to shorten the processing time for the reading process of reading the two-dimensional code 30 .

さらに、第1の縁34aは、第1の位置検出パターン33aの逆側となる端部が、特定パターン40と異なる端部用のパターン35aとなるように構成されるため、この端部用のパターン35aを規準に、第1の縁34aの端部、すなわち、第1の縁34aに直交するコード領域31の外縁となる第4の縁34dを容易に検出することができる。 Furthermore, the first edge 34a is configured such that the end opposite to the first position detection pattern 33a is the end pattern 35a different from the specific pattern 40. Using the pattern 35a as a reference, the end of the first edge 34a, that is, the fourth edge 34d, which is the outer edge of the code region 31 perpendicular to the first edge 34a, can be easily detected.

また、第2の縁34bは、第2の位置検出パターン33bの逆側となる端部が、特定パターン40と異なる端部用のパターン35bとなるように構成されるため、この端部用のパターン35bを規準に、第2の縁34bの端部、すなわち、第2の縁34bに直交するコード領域31の外縁となる第3の縁34cを容易に検出することができる。 In addition, the second edge 34b is configured such that the end opposite to the second position detection pattern 33b is the end pattern 35b different from the specific pattern 40. Using the pattern 35b as a reference, the end of the second edge 34b, that is, the third edge 34c, which is the outer edge of the code region 31 perpendicular to the second edge 34b, can be easily detected.

特に、第1の縁34aにおいて特定パターン40が繰り返される部分(図1のL1参照)と第2の縁34bにおいて特定パターン40が繰り返される部分(図1のL2参照)とで、第1の縁34a及び第2の縁34bに直交する対向方向(図1のY方向)にて対向する位置のセルが同じ種類である(図1のS1参照)。これにより、各特定パターン40を規準に、上記対向方向に関して各セルのセル座標を正確に求めやすくなり、デコード成功率を高めることができる。 In particular, the portion where the specific pattern 40 is repeated on the first edge 34a (see L1 in FIG. 1) and the portion where the specific pattern 40 is repeated on the second edge 34b (see L2 in FIG. 1) Cells at positions facing each other in the facing direction (Y direction in FIG. 1) orthogonal to 34a and second edge 34b are of the same type (see S1 in FIG. 1). As a result, it becomes easier to accurately obtain the cell coordinates of each cell in the facing direction with reference to each specific pattern 40, and the decoding success rate can be increased.

また、上記特定パターン40は一組の明色セル及び暗色セルからなるため、このように、明色セルと暗色セルとが交互に繰り返されるような周期性のあるパターンを有するように第1の縁34a及び第2の縁34bが構成されても、二次元コード30とともに表示面に表示される枠線や文字等から構成され難く、実線部分と異なり撮像画像に含まれる可能性が低いため、上記コード領域31が撮像されていない場合に当該コード領域31の検出に関して不要なコード検出処理を抑制することができる。 Since the specific pattern 40 consists of a set of bright cells and dark cells, the first pattern 40 has a periodic pattern in which bright cells and dark cells are alternately repeated. Even if the edge 34a and the second edge 34b are formed, they are unlikely to be formed from frame lines or characters displayed on the display surface together with the two-dimensional code 30. When the code region 31 is not imaged, unnecessary code detection processing can be suppressed for detection of the code region 31 .

なお、特定パターン40は、一組の明色セル及び暗色セルから構成されることに限らず、連続することで外縁が周期性を有するように、他のセルの組み合わせにより構成されてもよい。例えば、本実施形態の第1変形例として、図5に例示する二次元コード30aにおける特定パターン40aのように、1つの明色セルと3つの暗色セルとから構成されてもよい。 It should be noted that the specific pattern 40 is not limited to being composed of a set of bright and dark cells, and may be composed of a combination of other cells so that the outer edge has periodicity by being continuous. For example, as a first modified example of the present embodiment, a specific pattern 40a in a two-dimensional code 30a illustrated in FIG. 5 may be composed of one light-colored cell and three dark-colored cells.

また、第1の縁34a及び第2の縁34bが長方形状のコード領域31の長辺となるように構成されるため、第1の縁34a及び第2の縁34bがそのコード領域31の短辺となるように構成される場合と比較して、特定パターン40の繰り返し出現頻度が高まることから、第1の縁34a及び第2の縁34bを容易に検出することができる。 Further, since the first edge 34a and the second edge 34b are configured to be the long sides of the rectangular code region 31, the first edge 34a and the second edge 34b are the short sides of the code region 31. Since the frequency of repeated appearance of the specific pattern 40 is increased compared to the case where it is configured to be sides, the first edge 34a and the second edge 34b can be easily detected.

なお、二次元コード30が利用される環境等によっては、コード領域31は、正方形状に構成されてもよいし、上記特定パターン40が繰り返されて構成される第1の縁34a及び第2の縁34bが短辺となるように構成されてもよい。 Depending on the environment in which the two-dimensional code 30 is used, the code area 31 may be configured in a square shape, or the first edge 34a and the second edge 34a configured by repeating the specific pattern 40 described above. The edge 34b may be configured to be the short side.

また、固定パターン領域は、2つの第1の位置検出パターン33a及び第2の位置検出パターン33bの双方を備えるように構成されることに限らず、どちらか一方を備えるように構成されてもよい。また、2つの第1の位置検出パターン33a及び第2の位置検出パターン33bをなくしてもよい。この場合、本実施形態の第2変形例として、第1の縁34aは、始端及び終端が、図6に例示する二次元コード30bにおける端部用のパターン35a,36aのように、特定パターン40と異なる端部用のパターン(例えば、3つの暗色セルからなるパターン)となるように構成されることで、この端部用のパターン35a,36aを規準に、第1の縁34aの両端部、すなわち、第1の縁34aに直交するコード領域31の外縁となる第3の縁34c及び第4の縁34dを容易に検出することができる。同様に、第2の縁34bは、始端及び終端が、図6に例示する端部用のパターン35b,36bのように、特定パターン40と異なる端部用のパターンとなるように構成されることで、この端部用のパターン35b,36bを規準に、第2の縁34bの両端部、すなわち、第2の縁34bに直交するコード領域31の外縁となる第3の縁34c及び第4の縁34dを容易に検出することができる。 Moreover, the fixed pattern area is not limited to being configured to include both the two first position detection patterns 33a and the second position detection patterns 33b, and may be configured to include either one. . Also, the two first position detection patterns 33a and second position detection patterns 33b may be eliminated. In this case, as a second modification of the present embodiment, the first edge 34a has a specific pattern 40 at the beginning and the end like the end patterns 35a and 36a of the two-dimensional code 30b illustrated in FIG. By configuring so as to have a pattern for the ends (for example, a pattern consisting of three dark cells) different from that of the first edge 34a, with the patterns 35a and 36a for the ends as a reference, That is, it is possible to easily detect the third edge 34c and the fourth edge 34d, which are the outer edges of the code region 31 orthogonal to the first edge 34a. Similarly, the second edge 34b may be configured such that the start and end of the second edge 34b are different from the specific pattern 40, such as the end patterns 35b and 36b illustrated in FIG. Based on the patterns 35b and 36b for the ends, both ends of the second edge 34b, that is, the third edge 34c and the fourth edge 34c which are the outer edges of the code region 31 perpendicular to the second edge 34b. Edge 34d can be easily detected.

また、図6に例示するように、第1の縁34aの端部用のパターン36aと第3の縁34cの端部用のパターン36cと両パターンの間の明色セルとにより構成される隅パターンを利用することで、第1の縁34aや第3の縁34cを検出することができる。また、第2の縁34bの端部用のパターン36bと第4の縁34dの端部用のパターン36dと両パターンの間の明色セルとにより構成される隅パターンを利用することで、第2の縁34bや第4の縁34dを検出することができる。 Also, as illustrated in FIG. 6, a corner formed by a pattern 36a for the end of the first edge 34a, a pattern 36c for the end of the third edge 34c, and a bright cell between the two patterns. By using the pattern, the first edge 34a and the third edge 34c can be detected. Further, by using a corner pattern composed of the pattern 36b for the end of the second edge 34b, the pattern 36d for the end of the fourth edge 34d, and the bright color cells between the two patterns, the The second edge 34b and the fourth edge 34d can be detected.

[第2実施形態]
次に、本第2実施形態に係る二次元コードについて、図7を参照して説明する。
本第2実施形態では、固定パターン領域の一部として、上記対向方向にてデータ記録領域32を分断する分断パターンがコード領域31内に新たに配置される点が、上記第1実施形態と主に異なる。したがって、第1実施形態の二次元コードと実質的に同一の構成部分には、同一符号を付し、その説明を省略する。
[Second embodiment]
Next, a two-dimensional code according to the second embodiment will be described with reference to FIG.
In the second embodiment, as a part of the fixed pattern area, a division pattern for dividing the data recording area 32 in the facing direction is newly arranged in the code area 31, which is the main difference from the first embodiment. different. Therefore, the same reference numerals are assigned to substantially the same components as those of the two-dimensional code of the first embodiment, and the description thereof will be omitted.

図7に示すように、本実施形態に係る二次元コード30cにおける第1の縁34a及び第2の縁34bは、特定パターン40と配列が異なる第2の特定パターン41が特定パターン40の繰り返し中に2つ出現するように構成されている。第2の特定パターン41は、特定パターン40を利用した周期性を乱すように、例えば、3つの暗色セルから構成され、第1の縁34aの第2の特定パターン41と第2の縁34bの第2の特定パターン41とで対向方向にて対向する位置のセルが同じ種類である。 As shown in FIG. 7, the first edge 34a and the second edge 34b of the two-dimensional code 30c according to the present embodiment have a second specific pattern 41 different in arrangement from the specific pattern 40, while the specific pattern 40 is being repeated. It is configured so that two appear in . The second specific pattern 41 is composed of, for example, three dark cells so as to disturb the periodicity using the specific pattern 40, and the second specific pattern 41 on the first edge 34a and the second specific pattern 41 on the second edge 34b. Cells at positions opposed to the second specific pattern 41 in the opposing direction are of the same type.

そして、上記対向方向にて、第1の縁34aの第2の特定パターン41の中央の暗色セルから対向する第2の縁34bの第2の特定パターン41の中央の暗色セルにかけて、それぞれセルの配列が同じになる分断パターン37が配置される。分断パターン37は、第1の縁34a及び第2の縁34bと同様に、明色セル及び暗色セルが一列にて交互に配列され、第2の特定パターン41の中央の暗色セルに接する端部のセル37aが、当該第2の特定パターン41を構成するセルと異なる種類の明色セルとなるように構成されている。 Then, in the facing direction, from the dark cell at the center of the second specific pattern 41 on the first edge 34a to the dark cell at the center of the second specific pattern 41 on the opposing second edge 34b. Division patterns 37 having the same arrangement are arranged. Similar to the first edge 34a and the second edge 34b, the divided pattern 37 has bright cells and dark cells alternately arranged in a line, and the end portion contacting the central dark cell of the second specific pattern 41 The cells 37a are configured to be bright color cells of a different type from the cells forming the second specific pattern 41. FIG.

これにより、分断パターン37を、アライメントパターンとして機能させて、セル座標の歪み補正に利用することができる。特に、本実施形態では、分断パターン37の端部のセル37aに隣接するセルも上記固定パターン領域に含まれ、この端部のセル37aを囲うセルが第2の特定パターン41を構成するセルと同じ種類のセル(暗色セル)により構成される。 As a result, the dividing pattern 37 can be made to function as an alignment pattern and used to correct distortion of cell coordinates. In particular, in the present embodiment, the cells adjacent to the cells 37a at the ends of the divided pattern 37 are also included in the fixed pattern region, and the cells surrounding the cells 37a at the ends are the cells forming the second specific pattern 41. It consists of cells of the same type (dark cells).

そして、第3の縁34c及び第4の縁34dは、少なくとも中間部位を構成するセルの種類が、第1の縁34a及び第2の縁34bに沿う方向(図7のX方向)にて対向する位置の分断パターン37のセルと同じ種類となるように構成される。このため、例えば、図7のX方向に延伸する一点鎖線S2が通るセルの種類について、第3の縁34cのセルと、第4の縁34dのセルと、分断パターン37のセルとが同じ暗色セルとなる。 The third edge 34c and the fourth edge 34d face each other in the direction along the first edge 34a and the second edge 34b (the X direction in FIG. 7) at least in the type of cells that constitute the intermediate portion. It is constructed so as to be of the same type as the cell of the division pattern 37 at the position. For this reason, for example, with respect to the types of cells that the one-dot chain line S2 extending in the X direction in FIG. becomes a cell.

以上説明したように、本実施形態に係る二次元コード30cでは、第1の縁34a及び第2の縁34bは、特定パターン40と配列が異なる第2の特定パターン41が特定パターン40の繰り返し中に2つ出現するように構成され、第1の縁34aの第2の特定パターン41と第2の縁34bの第2の特定パターン41とで対向方向にて対向する位置のセルが同じ種類である。これにより、各特定パターン40だけでなく第2の特定パターン41をも規準として、上記対向方向に関して各セルのセル座標を正確に求めやすくなり、デコード成功率をさらに高めることができる。 As described above, in the two-dimensional code 30c according to the present embodiment, the first edge 34a and the second edge 34b have the second specific pattern 41 different in arrangement from the specific pattern 40, and the specific pattern 40 is repeated. The second specific pattern 41 of the first edge 34a and the second specific pattern 41 of the second edge 34b are of the same type at positions facing each other in the opposing direction. be. As a result, it becomes easier to accurately obtain the cell coordinates of each cell with respect to the facing direction, using not only each specific pattern 40 but also the second specific pattern 41 as a reference, and the decoding success rate can be further increased.

そして、第1の縁34a及び第2の縁34bは、それぞれ第2の特定パターン41が2つ出現するように構成され、上記対向方向にて第1の縁34aの第2の特定パターン41から対向する第2の縁34bの第2の特定パターン41にかけて、それぞれセルの配列が同じになる分断パターン37が配置される。これにより、上記対向方向(図7のY方向)に関する各セルのセル座標を、各特定パターン40及び第2の特定パターン41を規準として求め、第1の縁34a及び第2の縁34bに沿う方向(図7のX方向)に関する各セルのセル座標を、分断パターン37を規準として求めることができ、デコード成功率をより一層高めることができる。 The first edge 34a and the second edge 34b are each configured so that two second specific patterns 41 appear, and the second specific pattern 41 from the first edge 34a in the facing direction Dividing patterns 37 each having the same cell arrangement are arranged over the second specific pattern 41 of the opposing second edge 34b. As a result, the cell coordinates of each cell in the facing direction (the Y direction in FIG. 7) are determined with reference to each specific pattern 40 and the second specific pattern 41, and along the first edge 34a and the second edge 34b The cell coordinates of each cell with respect to the direction (the X direction in FIG. 7) can be obtained using the dividing pattern 37 as a reference, and the decoding success rate can be further increased.

特に、第2の特定パターン41は、暗色セルを3つ配列して構成され、分断パターン37は、第2の特定パターン41の中央の暗色セルに接する端部のセル37aが当該第2の特定パターン41を構成するセルと異なる種類の明色セルにより構成され、この端部のセル37aを囲うセルが第2の特定パターン41を構成するセルと同じ種類の暗色セルにより構成される。これにより、分断パターン37の端部のセル37aは異なる種類のセルに囲まれるだけでなく、その分断パターン37の端部のセル37aを囲うセルが全て同じ種類のセルとなるので、分断パターン37の端部のセル37aを検出しやすくなり、その結果、分断パターン37及び第2の特定パターン41を検出しやすくすることができる。 In particular, the second specific pattern 41 is configured by arranging three dark cells, and the dividing pattern 37 has an end cell 37a in contact with the central dark cell of the second specific pattern 41, which is the second specific pattern. The pattern 41 is composed of bright cells of a different type, and the cells surrounding this end cell 37a are composed of dark cells of the same type as the cells composing the second specific pattern 41 . As a result, not only are the cells 37a at the ends of the dividing pattern 37 surrounded by cells of different types, but the cells surrounding the cells 37a at the ends of the dividing pattern 37 are all of the same type. As a result, the division pattern 37 and the second specific pattern 41 can be easily detected.

さらに、第3の縁34c及び第4の縁34dは、少なくとも中間部位を構成するセルの種類が、第1の縁34a及び第2の縁34bに沿う方向(図7のX方向)にて対向する位置の分断パターン37のセルと同じ種類となるように構成される。これにより、分断パターン37だけでなく第3の縁34c及び第4の縁34dの中間部位をも規準として、第1の縁34a及び第2の縁34bに沿う方向に関して各セルのセル座標を正確に求めやすくなり、デコード成功率をさらに高めることができる。 Furthermore, the third edge 34c and the fourth edge 34d are opposed in the direction along the first edge 34a and the second edge 34b (the X direction in FIG. 7) at least for the types of cells that constitute the intermediate portion. It is constructed so as to be of the same type as the cell of the division pattern 37 at the position. As a result, the cell coordinates of each cell can be accurately determined with respect to the directions along the first edge 34a and the second edge 34b, using not only the dividing pattern 37 but also the intermediate portions of the third edge 34c and the fourth edge 34d as references. can be easily obtained, and the decoding success rate can be further increased.

なお、第1の縁34a及び第2の縁34bは、第2の特定パターン41が特定パターン40の繰り返し中に2つ出現するように構成されることに限らず、第2の特定パターン41が特定パターン40の繰り返し中に1つ出現するように構成されてもよいし、3つ以上出現するように構成されてもよい。例えば、本実施形態の第1変形例として、図8に例示する二次元コード30dのように、第2の特定パターン41が特定パターン40の繰り返し中に3つ出現するように構成されてもよい。なお、分断パターン37は、図8に例示するように全ての第2の特定パターン41について、第1の縁34aの第2の特定パターン41から対向する第2の縁34bの第2の特定パターン41にかけてそれぞれ配置されてもよし、各第2の特定パターン41の一部について、第1の縁34aの第2の特定パターン41から対向する第2の縁34bの第2の特定パターン41にかけて1以上配置されてもよい。 Note that the first edge 34a and the second edge 34b are not limited to being configured such that two second specific patterns 41 appear during repetition of the specific pattern 40, and the second specific pattern 41 is not limited to It may be configured so that one appears during repetition of the specific pattern 40, or it may be configured so that three or more appear. For example, as a first modified example of the present embodiment, three second specific patterns 41 may appear during repetition of the specific pattern 40, like a two-dimensional code 30d illustrated in FIG. . In addition, as illustrated in FIG. 8, the division pattern 37 is divided from the second specific pattern 41 of the first edge 34a to the second specific pattern 41 of the opposing second edge 34b for all the second specific patterns 41. 41, and for a portion of each second specific pattern 41, 1 from the second specific pattern 41 on the first edge 34a to the second specific pattern 41 on the opposing second edge 34b. or more may be arranged.

また、本実施形態の第2変形例として、図9に例示する二次元コード30eのように、第2の特定パターン41が配置されない場合でも、第1の縁34aの1つのセルから対向する第2の縁34bのセルにかけて分断パターン37が配置されてもよい。この構成では、分断パターン37は、第1の縁34aの1つのセルから対向する第2の縁34bのセルにかけて1つ配置されてもよいし、2以上配置されてもよい。この場合でも、第3の縁34c及び第4の縁34dは、少なくとも中間部位を構成するセルの種類が、第1の縁34a及び第2の縁34bに沿う方向(図9のX方向)にて対向する位置の分断パターン37のセルと同じ種類となるように構成することができる。これにより、分断パターン37だけでなく第3の縁34c及び第4の縁34dの中間部位をも規準として、第1の縁34a及び第2の縁34bに沿う方向に関して各セルのセル座標を正確に求めやすくなり、デコード成功率をさらに高めることができる。 Further, as a second modification of the present embodiment, even if the second specific pattern 41 is not arranged like the two-dimensional code 30e illustrated in FIG. A dividing pattern 37 may be placed across the cells of the second edge 34b. In this configuration, one dividing pattern 37 may be arranged from one cell of the first edge 34a to a cell of the opposing second edge 34b, or two or more dividing patterns 37 may be arranged. Even in this case, the third edge 34c and the fourth edge 34d are arranged so that at least the types of cells forming the intermediate portion are aligned in the direction along the first edge 34a and the second edge 34b (the X direction in FIG. 9). can be configured to be of the same type as the cells of the dividing pattern 37 at the positions facing each other. As a result, the cell coordinates of each cell can be accurately determined with respect to the directions along the first edge 34a and the second edge 34b, using not only the dividing pattern 37 but also the intermediate portions of the third edge 34c and the fourth edge 34d as references. can be easily obtained, and the decoding success rate can be further increased.

[第3実施形態]
次に、本第3実施形態に係る二次元コードについて、図10及び図11を参照して説明する。
本第3実施形態では、分断パターンが第1の縁に接する位置に応じてコード領域のサイズを特定する点が、上記第2実施形態と主に異なる。したがって、第2実施形態の二次元コードと実質的に同一の構成部分には、同一符号を付し、その説明を省略する。
[Third embodiment]
Next, a two-dimensional code according to the third embodiment will be described with reference to FIGS. 10 and 11. FIG.
The third embodiment is mainly different from the second embodiment in that the size of the code region is specified according to the position where the division pattern contacts the first edge. Therefore, the same reference numerals are assigned to substantially the same components as those of the two-dimensional code of the second embodiment, and the description thereof will be omitted.

本実施形態では、コード領域31のサイズ(以下、コードサイズともいう)を早い段階で特定するため、第1の縁34aの第1の位置検出パターン33a側となる一方の端部を構成する端部セル(図10では暗色セル)Csを基準に、第1の縁34aに接する分断パターン37の位置を利用する。具体的には、端部セルCsから最も近い分断パターン37の端部のセル37aが接するセル(第2の特定パターン41の中央の暗色セル)まで一方向に並ぶセルの個数をサイズ特定用セル個数として求め、このサイズ特定用セル個数に応じてコードサイズを特定する。 In the present embodiment, in order to identify the size of the code area 31 (hereinafter also referred to as code size) at an early stage, the end forming one end on the first position detection pattern 33a side of the first edge 34a is The position of the dividing pattern 37 that is in contact with the first edge 34a is used with the partial cell (the dark cell in FIG. 10) Cs as a reference. Specifically, the number of cells lined up in one direction from the end cell Cs to the cell (dark cell in the center of the second specific pattern 41) with which the end cell 37a of the nearest segmented pattern 37 contacts is determined as the size identification cell. The code size is specified according to the number of cells for size specification.

このようにコードサイズを特定可能とするため、本実施形態では、コードサイズとサイズ特定用セル個数とが1対1で対応するように二次元コードが生成される。具体的には、図11(A)に例示するように、コードサイズとサイズ特定用セル個数との関係が予め決められており、本実施形態に係る二次元コードは、コードサイズが決まることでこのコードサイズから一意にサイズ特定用セル個数が決まると、このサイズ特定用セル個数に応じてコード領域31における分断パターン37の位置が定まるように生成される。なお、コードサイズは、図11(A)に例示するように横サイズ(第1の縁34aに沿う方向のサイズ)のみがサイズ特定用セル個数に応じて変化することに限らず、縦サイズ(第3の縁34cに沿う方向のサイズ)のみがサイズ特定用セル個数に応じて変化してもよいし、横サイズ及び縦サイズの双方がサイズ特定用セル個数に応じて変化してもよい。 In order to make it possible to specify the code size in this way, in the present embodiment, the two-dimensional code is generated so that the code size and the number of size specifying cells are in one-to-one correspondence. Specifically, as illustrated in FIG. 11A, the relationship between the code size and the number of size-specifying cells is predetermined, and the two-dimensional code according to the present embodiment can be obtained by determining the code size. When the number of size-specifying cells is uniquely determined from the code size, the division pattern 37 is generated so that the positions of the division patterns 37 in the code region 31 are determined according to the number of size-specifying cells. Note that the code size is not limited to changing only the horizontal size (the size in the direction along the first edge 34a) according to the number of size identifying cells, as illustrated in FIG. Only the size along the third edge 34c) may change according to the number of size identifying cells, or both the horizontal size and the vertical size may change according to the number of size identifying cells.

このように二次元コードが生成されるため、図10に示す二次元コード30cが撮像される場合には、コード領域31の検出時にサイズ特定用セル個数が20個として求められて、図11(A)に示す関係から、コードサイズが15×71であると特定される。同様に、撮像した二次元コードからサイズ特定用セル個数が22個として求められる場合には、コードサイズが15×43であると特定され、撮像した二次元コードからサイズ特定用セル個数が24個として求められる場合には、コードサイズが15×99であると特定される。 Since the two-dimensional code is generated in this way, when the two-dimensional code 30c shown in FIG. 10 is imaged, the number of size specifying cells is obtained as 20 when the code area 31 is detected, and the number of cells for size identification is obtained as shown in FIG. From the relationship shown in A), the code size is identified as 15×71. Similarly, when the number of size identification cells is obtained as 22 from the imaged two-dimensional code, the code size is identified as 15×43, and the number of size identification cells is determined from the imaged two-dimensional code to be 24. , the code size is specified as 15×99.

このように、本実施形態では、コード領域31のコードサイズは、分断パターン37が第1の縁34aに接する位置によって決まるため、第1の縁34aにおける分断パターン37の端部のセル37aが接する位置を求めることでコードサイズを直ちに特定することができる。すなわち、コード領域31を検出する際には、第1の縁34aの端部を構成する端部セルCsなどの所定の位置のセルから分断パターン37の端部のセル37aに接するセルまで一方向に並ぶセルの個数を求めるだけでコード領域31のコードサイズが特定されるので、二次元的にセルの配列を求めることなく早い段階でコード領域31のコードサイズを特定することができる。このようにコード領域31のコードサイズを特定できるため、コード領域31の近くにセルの集合体らしい部分があったとしてもその部分に対してコード領域31を検出するための処理がなされることもないので、不要な処理が軽減されて、読取処理に関する処理時間の短縮を図ることができる。 As described above, in the present embodiment, the code size of the code region 31 is determined by the position where the divided pattern 37 contacts the first edge 34a. By finding the position, the code size can be immediately specified. That is, when detecting the code region 31, one direction from a cell at a predetermined position such as the end cell Cs forming the end of the first edge 34a to a cell in contact with the end cell 37a of the dividing pattern 37 is detected. Since the code size of the code area 31 can be identified only by obtaining the number of cells arranged in the same line, the code size of the code area 31 can be identified at an early stage without obtaining a two-dimensional cell arrangement. Since the code size of the code area 31 can be identified in this way, even if there is a part that seems to be an aggregate of cells near the code area 31, processing for detecting the code area 31 can be performed on that part. Therefore, unnecessary processing is reduced, and processing time for reading processing can be shortened.

なお、本実施形態に係る二次元コードは、コードサイズとサイズ特定用セル個数とが1対1で対応するように生成されることに限らず、コードサイズとサイズ特定用セル個数とが1対多で対応するように生成されてもよい。すなわち、サイズ特定用セル個数から一意にコードサイズが特定されればよい。例えば、図11(B)に例示するように、撮像した二次元コードからサイズ特定用セル個数が19個又は20個として求められる場合には、コードサイズが15×71であると特定される。同様に、撮像した二次元コードからサイズ特定用セル個数が21個又は22個として求められる場合には、コードサイズが15×43であると特定され、撮像した二次元コードからサイズ特定用セル個数が24個として求められる場合には、コードサイズが15×99であると特定される。 Note that the two-dimensional code according to the present embodiment is not limited to being generated so that the code size and the number of size-identifying cells correspond one-to-one. Many may be generated to correspond. That is, the code size should be uniquely specified from the number of size-specifying cells. For example, as exemplified in FIG. 11B, when the number of size identifying cells is obtained as 19 or 20 from the imaged two-dimensional code, the code size is identified as 15×71. Similarly, when the number of size-identifying cells is obtained as 21 or 22 from the imaged two-dimensional code, the code size is identified as 15×43, and the number of size-identifying cells is determined from the imaged two-dimensional code. is determined as 24, the code size is specified as 15×99.

また、サイズ特定用セル個数は、第1の縁34aの端部セルCsから最も近い分断パターン37の端部のセル37aが接するセルまで一方向に並ぶセルの個数として求められることに限らず、例えば、第1の位置検出パターン33aのうちコード領域31の隅部を構成するセルなどの所定のセルから分断パターン37の端部のセル37aが接するセルまで一方向に並ぶセルの個数として求められてもよい。 In addition, the number of size-identifying cells is not limited to being obtained as the number of cells arranged in one direction from the end cell Cs of the first edge 34a to the cell in contact with the nearest end cell 37a of the dividing pattern 37. For example, it is obtained as the number of cells arranged in one direction from a predetermined cell such as a cell forming a corner of the code region 31 in the first position detection pattern 33a to a cell in contact with the end cell 37a of the division pattern 37. may

また、コード領域31のコードサイズの全体(縦×横)がサイズ特定用セル個数に関連付けられることに限らず、例えば、コード領域31のコードサイズの横サイズ(第1の縁34aに沿う方向のサイズ)がサイズ特定用セル個数に関連付けられてもよい。 Further, the entire code size (vertical x horizontal) of the code region 31 is not limited to being associated with the number of size identifying cells. size) may be associated with the number of size identifying cells.

また、コード領域31のコードサイズは、上述したようにサイズ特定用セル個数によって決められることに限らず、セル個数と異なる手法、例えば、画素数を利用した距離測定等を用いて、分断パターン37が第1の縁34aに接する位置を第1の位置検出パターン33a等の所定の位置を基準に求めてその位置に応じて決められてもよい。 In addition, the code size of the code area 31 is not limited to being determined by the number of size-specifying cells as described above. The position of contact with the first edge 34a may be determined based on a predetermined position of the first position detection pattern 33a or the like and determined according to the position.

なお、本発明は上記各実施形態及び変形例等に限定されるものではなく、例えば、以下のように具体化してもよい。
(1)本発明は、明色セル及び暗色セルの2種類のセルがマトリクス状に配列されて構成される二次元コードに適用されることに限らず、カラーコードなど、3種類以上のセルがマトリクス状に配列されて構成される二次元コードに適用されてもよい。
It should be noted that the present invention is not limited to the above embodiments and modifications, and may be embodied as follows, for example.
(1) The present invention is not limited to two-dimensional codes configured by arranging two types of cells, light-colored cells and dark-colored cells, in a matrix. It may be applied to a two-dimensional code arranged in a matrix.

(2)第2の縁34bは、第1の縁34aにおいて特定パターン40が繰り返される部分と第2の縁34bにおいて特定パターン40が繰り返される部分とで、対向する位置のセルが同じ種類となるように構成されることに限らず、対向する位置のセルの種類が常に既定の関係となるように構成されてもよい。例えば、明色セル及び暗色セルの2種類のセルが採用される場合、既定の関係として、第1の縁34aの明色セルに対向する位置の第2の縁34bのセルとして暗色セルが配置され、第1の縁34aの暗色セルに対向する位置の第2の縁34bのセルとして明色セルが配置されてもよい。 (2) In the second edge 34b, cells at opposing positions of the portion where the specific pattern 40 is repeated on the first edge 34a and the portion where the specific pattern 40 is repeated on the second edge 34b are of the same type. It is not limited to such a configuration, and may be configured so that the cell types at opposing positions always have a predetermined relationship. For example, when two types of cells, a light cell and a dark cell, are employed, as a predetermined relationship, the dark cell is arranged as the cell on the second edge 34b facing the light cell on the first edge 34a. and light cells may be arranged as cells on the second edge 34b at positions opposite dark cells on the first edge 34a.

30,30a~30e…二次元コード
31…コード領域
33a…第1の位置検出パターン
33b…第2の位置検出パターン
34…外縁
34a…第1の縁
34b…第2の縁
34c…第3の縁
34d…第4の縁
35a,35b,35c,35d…端部用のパターン
36a,36b,36c,36d…端部用のパターン
37…分断パターン
40,40a…特定パターン
41…第2の特定パターン
30, 30a to 30e Two-dimensional code 31 Code area 33a First position detection pattern 33b Second position detection pattern 34 Outer edge 34a First edge 34b Second edge 34c Third edge 34d... Fourth edge 35a, 35b, 35c, 35d... Pattern for edge 36a, 36b, 36c, 36d... Pattern for edge 37... Dividing pattern 40, 40a... Specific pattern 41... Second specific pattern

Claims (13)

矩形状のコード領域内に複数種類のセルがマトリクス状に配列されてなる二次元コードであって、
前記コード領域の外縁のうち、前記複数種類のセルが一列に配列されてなる第1の縁は、少なくとも中間部位において、2以上の異なるセルを配列してなる特定パターンが繰り返されて構成され、前記第1の縁に対向するように前記複数種類のセルが一列に配列されてなる第2の縁は、少なくとも中間部位において、前記特定パターンが繰り返されて構成され
前記コード領域の隅部の1つには、当該コード領域の検出に利用する第1の位置検出パターンが配置され、
前記第1の縁は、前記第1の位置検出パターンに到達するまで前記特定パターンが繰り返されるように構成され、
前記第1の位置検出パターンに対して対角となる前記コード領域の隅部には、当該コード領域の検出に利用する第2の位置検出パターンが前記第1の位置検出パターンと異なる配列にて配置され、
前記第2の縁は、前記第2の位置検出パターンに到達するまで前記特定パターンが繰り返されるように構成されることを特徴とする二次元コード。
A two-dimensional code in which a plurality of types of cells are arranged in a matrix within a rectangular code area,
Among the outer edges of the code region, a first edge formed by arranging the plurality of types of cells in a row is configured by repeating a specific pattern formed by arranging two or more different cells at least in an intermediate portion, A second edge formed by arranging the plurality of types of cells in a row so as to face the first edge is configured by repeating the specific pattern at least in an intermediate portion ,
A first position detection pattern used for detecting the code region is arranged at one of the corners of the code region,
the first edge is configured such that the specific pattern is repeated until the first locating pattern is reached;
At the corner of the code area diagonal to the first position detection pattern, a second position detection pattern used for detecting the code area is arranged in a different arrangement from the first position detection pattern. placed and
The two-dimensional code , wherein the second edge is configured such that the specific pattern is repeated until the second position detection pattern is reached .
前記第1の縁は、始端及び終端の少なくとも一方が、前記特定パターンと異なる端部用のパターンとなるように構成されることを特徴とする請求項1に記載の二次元コード。 2. The two-dimensional code according to claim 1, wherein at least one of the leading edge and the trailing edge of the first edge is configured to have an edge pattern different from the specific pattern. 前記第2の縁は、始端及び終端の少なくとも一方が、前記特定パターンと異なる端部用のパターンとなるように構成されることを特徴とする請求項1又は2に記載の二次元コード。 3. The two-dimensional code according to claim 1, wherein at least one of a start end and an end end of said second edge is configured to have a pattern for an end different from said specific pattern. 前記コード領域内には、前記第1の縁及び前記第2の縁に直交する対向方向にて前記第1の縁から前記第2の縁にかけて、それぞれセルの配列が同じになる分断パターンが1以上配置されることを特徴とする請求項1~3のいずれか一項に記載の二次元コード。 In the code region, there is one dividing pattern in which the cell arrangement is the same from the first edge to the second edge in the opposing direction orthogonal to the first edge and the second edge. 4. The two-dimensional code according to any one of claims 1 to 3, wherein the two-dimensional code is arranged as above. 前記コード領域の外縁のうち、前記第1の縁及び前記第2の縁に直交するように互いに対向する第3の縁及び第4の縁は、少なくとも中間部位を構成するセルの種類が、前記第1の縁及び前記第2の縁に沿う方向にて対向する位置の前記分断パターンのセルと同じ種類となるように構成されることを特徴とする請求項4に記載の二次元コード。 Of the outer edges of the code region, a third edge and a fourth edge that face each other so as to be orthogonal to the first edge and the second edge are at least the type of cells that constitute the intermediate portion. 5. The two-dimensional code according to claim 4, wherein the two-dimensional code is configured to be of the same type as the cells of the divided pattern located opposite each other in the direction along the first edge and the second edge. 前記コード領域のサイズは、前記分断パターンが前記第1の縁に接する位置によって決まることを特徴とする請求項4又は5に記載の二次元コード。 6. The two-dimensional code according to claim 4, wherein the size of said code region is determined by the position where said dividing pattern contacts said first edge. 矩形状のコード領域内に複数種類のセルがマトリクス状に配列されてなる二次元コードであって、
前記コード領域の外縁のうち、前記複数種類のセルが一列に配列されてなる第1の縁は、少なくとも中間部位において、2以上の異なるセルを配列してなる特定パターンが繰り返されて構成され、前記第1の縁に対向するように前記複数種類のセルが一列に配列されてなる第2の縁は、少なくとも中間部位において、前記特定パターンが繰り返されて構成され、
前記第1の縁において前記特定パターンが繰り返される部分と前記第2の縁において前記特定パターンが繰り返される部分とで、前記第1の縁及び前記第2の縁に直交する対向方向にて対向する位置のセルが同じ種類であり、
前記第1の縁及び前記第2の縁は、前記特定パターンと配列が異なる第2の特定パターンが前記特定パターンの繰り返し中に1又は2以上出現するように構成され、
前記第1の縁の前記第2の特定パターンと前記第2の縁の前記第2の特定パターンとで前記対向方向にて対向する位置のセルが同じ種類であることを特徴とする二次元コード。
A two-dimensional code in which a plurality of types of cells are arranged in a matrix within a rectangular code area,
Among the outer edges of the code region, a first edge formed by arranging the plurality of types of cells in a row is configured by repeating a specific pattern formed by arranging two or more different cells at least in an intermediate portion, A second edge formed by arranging the plurality of types of cells in a row so as to face the first edge is configured by repeating the specific pattern at least in an intermediate portion,
A portion where the specific pattern is repeated on the first edge and a portion where the specific pattern is repeated on the second edge are opposed in a facing direction orthogonal to the first edge and the second edge. The cells at the positions are of the same type, and
The first edge and the second edge are configured such that one or more second specific patterns different in arrangement from the specific pattern appear during repetition of the specific pattern,
The two -dimensional pattern is characterized in that the second specific pattern of the first edge and the second specific pattern of the second edge are of the same type at positions facing each other in the facing direction. code.
前記第1の縁及び前記第2の縁は、それぞれ前記第2の特定パターンが1以上出現するように構成され、
前記対向方向にて前記第1の縁の前記第2の特定パターンから対向する前記第2の縁の前記第2の特定パターンにかけて、それぞれセルの配列が同じになる分断パターンが配置されることを特徴とする請求項7に記載の二次元コード。
The first edge and the second edge are each configured such that one or more of the second specific patterns appear,
dividing patterns having the same cell arrangement are arranged from the second specific pattern of the first edge to the second specific pattern of the opposing second edge in the facing direction; A two-dimensional code according to claim 7.
前記第2の特定パターンは、同じ種類のセルを3つ配列して構成され、
前記分断パターンは、前記第2の特定パターンの中央のセルに接する端部のセルが当該第2の特定パターンを構成するセルと異なる種類のセルにより構成され、
前記端部のセルを囲うセルが前記第2の特定パターンを構成するセルと同じ種類のセルにより構成されることを特徴とする請求項8に記載の二次元コード。
The second specific pattern is configured by arranging three cells of the same type,
In the dividing pattern, the end cells in contact with the center cell of the second specific pattern are composed of cells of a different type from the cells constituting the second specific pattern,
9. The two-dimensional code according to claim 8, wherein the cells surrounding the end cells are of the same type as the cells forming the second specific pattern.
前記コード領域の外縁のうち、前記第1の縁及び前記第2の縁に直交するように互いに対向する第3の縁及び第4の縁は、少なくとも中間部位を構成するセルの種類が、前記第1の縁及び前記第2の縁に沿う方向にて対向する位置の前記分断パターンのセルと同じ種類となるように構成されることを特徴とする請求項8又は9に記載の二次元コード。 Of the outer edges of the code region, a third edge and a fourth edge that face each other so as to be orthogonal to the first edge and the second edge are at least the type of cells that constitute the intermediate portion. 10. The two-dimensional code according to claim 8 or 9, wherein the two-dimensional code is configured to be of the same type as the cells of the dividing pattern located at opposing positions along the first edge and the second edge. . 前記コード領域のサイズは、前記分断パターンが前記第1の縁に接する位置によって決まることを特徴とする請求項8~10のいずれか一項に記載の二次元コード。 11. The two-dimensional code according to any one of claims 8 to 10, wherein the size of said code region is determined by the position where said dividing pattern contacts said first edge. 前記複数種類のセルは、明色セルと暗色セルとからなり、
前記特定パターンは、一組の前記明色セル及び前記暗色セルからなることを特徴とする請求項1~11のいずれか一項に記載の二次元コード。
The plurality of types of cells are composed of bright cells and dark cells,
The two-dimensional code according to any one of claims 1 to 11, characterized in that said specific pattern consists of a set of said bright cells and said dark cells.
前記コード領域は、長方形状であり、
前記第1の縁及び前記第2の縁は、前記コード領域の長辺を構成することを特徴とする請求項1~12のいずれか一項に記載の二次元コード。
The code region is rectangular,
The two-dimensional code according to any one of claims 1 to 12, wherein the first edge and the second edge constitute long sides of the code region.
JP2018160048A 2017-10-06 2018-08-29 Two-dimensional code Active JP7167553B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US16/142,730 US10909432B2 (en) 2017-10-06 2018-09-26 Two-dimensional code composed of a plurality of types of cells
CN201811131516.4A CN109657513B (en) 2017-10-06 2018-09-27 Two-dimensional code
EP18197054.2A EP3467715A1 (en) 2017-10-06 2018-09-27 Two-dimensional code composed of a plurality of types of cells
TW107134180A TWI696955B (en) 2017-10-06 2018-09-27 QR code

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017195747 2017-10-06
JP2017195747 2017-10-06

Publications (2)

Publication Number Publication Date
JP2019071045A JP2019071045A (en) 2019-05-09
JP7167553B2 true JP7167553B2 (en) 2022-11-09

Family

ID=66441393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018160048A Active JP7167553B2 (en) 2017-10-06 2018-08-29 Two-dimensional code

Country Status (2)

Country Link
JP (1) JP7167553B2 (en)
TW (1) TWI696955B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113420859A (en) 2019-03-18 2021-09-21 创新先进技术有限公司 Two-dimensional code, and method, device and equipment for generating and identifying two-dimensional code

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004070960A (en) 2002-08-07 2004-03-04 Shenzhen Syscan Technology Co Ltd Method for converting two-dimensional bar code into signal, scanner performing the same, and decoding method
WO2014077186A1 (en) 2012-11-13 2014-05-22 共同印刷株式会社 Two-dimensional code, system for creation of two-dimensional code, and analysis program
JP2016006639A (en) 2014-05-29 2016-01-14 コニカ ミノルタ ラボラトリー ユー.エス.エー.,インコーポレイテッド High capacity 2d color barcode and method for decoding high capacity 2d color barcode

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3448120B2 (en) * 1994-12-27 2003-09-16 シャープ株式会社 Digital information record carrier
US8924712B2 (en) * 2011-11-14 2014-12-30 Ca, Inc. Using QR codes for authenticating users to ATMs and other secure machines for cardless transactions
WO2014077187A1 (en) * 2012-11-13 2014-05-22 共同印刷株式会社 Two-dimensional code
CN105009147B (en) * 2012-12-19 2019-02-22 电装波动株式会社 Information code, information code generating method, information code reader and information code application system
CN105718840B (en) * 2016-01-27 2018-07-24 西安小光子网络科技有限公司 A kind of information interaction system and method based on optical label

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004070960A (en) 2002-08-07 2004-03-04 Shenzhen Syscan Technology Co Ltd Method for converting two-dimensional bar code into signal, scanner performing the same, and decoding method
WO2014077186A1 (en) 2012-11-13 2014-05-22 共同印刷株式会社 Two-dimensional code, system for creation of two-dimensional code, and analysis program
JP2016006639A (en) 2014-05-29 2016-01-14 コニカ ミノルタ ラボラトリー ユー.エス.エー.,インコーポレイテッド High capacity 2d color barcode and method for decoding high capacity 2d color barcode

Also Published As

Publication number Publication date
TWI696955B (en) 2020-06-21
TW201923661A (en) 2019-06-16
JP2019071045A (en) 2019-05-09

Similar Documents

Publication Publication Date Title
JP7167553B2 (en) Two-dimensional code
JP2009151446A (en) Optical information reading device
CN109657513B (en) Two-dimensional code
TWI725329B (en) Two-dimensional code and two-dimensional code reading device
KR102641301B1 (en) Systems and methods for user selection of barcode scanning range
JP6624318B2 (en) Optical information reader
JP6645393B2 (en) Optical information reader
JP5556684B2 (en) Information code reader
JP5104713B2 (en) Optical information reader
JP4650138B2 (en) Optical information reader
JP2011008574A (en) Optical information reader
JP7024665B2 (en) Information code, information code generation method, information code generator and information code reading system
JP5240124B2 (en) Optical information reader
JP5251854B2 (en) Optical information reader
JP6623549B2 (en) Optical information reader
JP6398809B2 (en) Information code reader
JP6070429B2 (en) Two-dimensional code display method and display medium
JP7091898B2 (en) Code reader and code reader
JP4293203B2 (en) Information code reader
JP5212389B2 (en) Optical information reader
JP2023015764A (en) Information code reading device and information code reading system
JP2002024751A (en) Bar code device and recording medium
JP2012118779A (en) Code analysis system
JP2000172777A (en) Method for reading two-dimensional code, two- dimensional code reader and recording medium
JP2012194853A (en) Optical information reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220118

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20220315

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220517

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220927

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221010

R150 Certificate of patent or registration of utility model

Ref document number: 7167553

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150