JP2002298077A - Two-dimensional code, reading method of two-dimensional code, program, and computer readable record medium - Google Patents

Two-dimensional code, reading method of two-dimensional code, program, and computer readable record medium

Info

Publication number
JP2002298077A
JP2002298077A JP2001100189A JP2001100189A JP2002298077A JP 2002298077 A JP2002298077 A JP 2002298077A JP 2001100189 A JP2001100189 A JP 2001100189A JP 2001100189 A JP2001100189 A JP 2001100189A JP 2002298077 A JP2002298077 A JP 2002298077A
Authority
JP
Japan
Prior art keywords
contact
end point
projection
dimensional code
point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001100189A
Other languages
Japanese (ja)
Other versions
JP3499220B2 (en
Inventor
Tsutomu Fujita
田 勉 藤
Kozo Kuroiwa
岩 浩 三 黒
Satoshi Mizoguchi
口 さとし 溝
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.)
KOSAIDO CO Ltd
ORIGINAL DESIGN KK
Original Assignee
KOSAIDO CO Ltd
ORIGINAL DESIGN KK
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 KOSAIDO CO Ltd, ORIGINAL DESIGN KK filed Critical KOSAIDO CO Ltd
Priority to JP2001100189A priority Critical patent/JP3499220B2/en
Priority to PCT/JP2002/003207 priority patent/WO2002080087A1/en
Priority to AU2002244953A priority patent/AU2002244953A1/en
Publication of JP2002298077A publication Critical patent/JP2002298077A/en
Application granted granted Critical
Publication of JP3499220B2 publication Critical patent/JP3499220B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a two-dimensional code capable of storing a large capacity of information, its reading method, a program, and a computer readable record medium. SOLUTION: Circumferential sides of a two-dimensional matrix 2 are surrounded with solid lines a-d, heading lines R11 and R12 are disposed outside a rectangular corner D, heading lines R13 and R14 are disposed outsides rectangular corners B and C respectively, heading lines R21-R23 and R31-R33 are disposed outsides the sides a and b, heading lines R41-R43 and R51-R53 are disposed insides the sides c and d. The heading lines R21-R23 and R41-R43 are disposed at a same pitch P1, and the heading lines R31-R33 and R51-R53 are disposed at a same pitch P2. Data density information and positioning information are obtained in decoding based on the heading lines.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、二次元コードおよ
びその読取方法に関し、特に、データ密度の向上を可能
にする二次元コード、その読取方法、この読取方法をコ
ンピュータに実行させるプログラムおよびコンピュータ
読み取り可能な記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a two-dimensional code and a method for reading the same, and more particularly, to a two-dimensional code capable of improving data density, a method for reading the two-dimensional code, a program for causing a computer to execute the method, and a method for reading a computer. It relates to a possible recording medium.

【0002】[0002]

【従来の技術】従来、二次元コードとしては、例えば特
開平7−168902号公報に記載されているように、
二次元データ要素を複数に分割して二次元アレイを形成
させて、各々の核コードに位置情報及び密度情報を表示
させる二次元コード、または特開平7−254037号
公報に記載されているように、二次元マトリックス内部
に位置判別用の形状を埋め込んで構成する二次元コード
など、記号をCCD(Charge Coupled Device)イメー
ジスキャナー等の装置で読み取るときの読取速度と読取
精度を向上させる試みが行われてきたことは知られてい
る。
2. Description of the Related Art Conventionally, as a two-dimensional code, for example, as described in JP-A-7-168902,
A two-dimensional data element is divided into a plurality of parts to form a two-dimensional array, and a two-dimensional code for displaying position information and density information on each core code, or as described in JP-A-7-254037. Attempts have been made to improve the reading speed and reading accuracy when reading a symbol such as a two-dimensional code formed by embedding a shape for position determination in a two-dimensional matrix with a device such as a CCD (Charge Coupled Device) image scanner. It is known that it has been.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
た試みは、従来の一次元バーコードリーダの性能を前提
として考案されてきた。このため、位置判定情報および
密度情報を容易に取得できるという利点はあったが、大
容量の情報を格納しようとすると、情報量の大きさに比
例して二次元コードの占有面積も大きくなっていた。こ
の一方、近年の技術革新により、読取速度については、
DSP(Digital Signal Processor)などにより、著
しく高性能化されており、画像処理技術の向上と高解像
度CCD素子の開発の進展によって読取精度も飛躍的に
向上しており、限られた面積での情報の高密度化が可能
な環境が整ってきている。
However, the above-described attempts have been devised on the premise of the performance of a conventional one-dimensional barcode reader. Therefore, there is an advantage that the position determination information and the density information can be easily obtained. However, when storing a large amount of information, the area occupied by the two-dimensional code increases in proportion to the size of the information amount. Was. On the other hand, due to recent technological innovation, the reading speed
Remarkably high performance has been achieved by DSP (Digital Signal Processor), etc., and reading accuracy has been dramatically improved by improvement of image processing technology and development of high resolution CCD device. An environment that can increase the density of the equipment has been prepared.

【0004】本発明は上記事情に鑑みてなされたもので
あり、その目的は、情報の高密度化が可能な二次元コー
ド、その読取方法、この読取方法をコンピュータに実行
させるプログラムおよびコンピュータ読み取り可能な記
録媒体を提供することにある。
The present invention has been made in view of the above circumstances, and has as its object to provide a two-dimensional code capable of increasing the density of information, a method of reading the two-dimensional code, a program for causing a computer to execute the method of reading, and a computer readable code. To provide a simple recording medium.

【0005】[0005]

【課題を解決するための手段】本発明は、以下の手段に
より上記課題の解決を図る。
The present invention solves the above problems by the following means.

【0006】即ち、本発明によれば、バイナリデータが
セル状に記号化されて二次元マトリクスをなすように配
置されたデータ領域と、上記第1のデータ領域を囲むよ
うに配置され、上記データ領域のデータ密度の情報と位
置決め情報とを与えるパターンと、を備える二次元コー
ドであって、上記パターンは、隣り合う第1の辺と第2
の辺とが上記第1のデータ領域に近接し、上記第1の辺
と上記第2の辺にそれぞれ対向する第3の辺と第4の辺
とが上記データ領域に離隔するように配置されたほぼ矩
形の実線と、上記第1の辺と上記第2の辺から外側に延
在するようにそれぞれ所定ピッチで配置された第1の突
起部と第2の突起部と、上記第3の辺と上記第4の辺か
ら上記データ領域に向かって内側に延在するようにそれ
ぞれ所定ピッチで配置された第3の突起部と第4の突起
部と、上記第1の辺と上記第2の辺の交点である第1の
端点から上記第1の辺と上記第2の辺とをそれぞれ延長
するように配置された第5の突起部および第6の突起部
と、上記第1の端点とは異なる上記第1の辺の端点であ
る第2の端点から上記第4の辺を延長させるように配置
された第7の突起部と、上記第1の端点とは異なる上記
第2の辺の端点である第3の端点から、上記第3の辺を
延長させるように配置された第8の突起部と、を含み、
上記第3の辺と上記第4の辺との交点である第4の端点
には突起部が配置されない二次元コードが提供される。
That is, according to the present invention, the data area is arranged so as to form a two-dimensional matrix by encoding binary data into cells, and the data area is arranged so as to surround the first data area. A two-dimensional code including a pattern for providing information on a data density of a region and positioning information, wherein the pattern includes an adjacent first side and a second side.
Are arranged so as to be close to the first data area, and the third side and the fourth side respectively opposed to the first side and the second side are separated from the data area. A substantially rectangular solid line, a first protrusion and a second protrusion arranged at a predetermined pitch so as to extend outward from the first side and the second side, respectively, A third projection and a fourth projection arranged at a predetermined pitch so as to extend inward from the side and the fourth side toward the data area; A fifth protrusion and a sixth protrusion arranged so as to extend the first side and the second side from a first end point which is an intersection of the first and second sides, respectively, and the first end point A seventh protrusion arranged to extend the fourth side from a second end point which is an end point of the first side different from the seventh side When, wherein the third endpoint and the first end point is a terminal point of a different said second side, and the eighth of protrusions arranged so as to extend the third side, and
A two-dimensional code is provided in which a projection is not disposed at a fourth end point, which is an intersection of the third side and the fourth side.

【0007】本発明によれば、上記データ密度と上記位
置決め情報とを与える上記パターンを備えるので、上記
バイナリデータの数量を増大させて上記データ領域の占
有面積が増大しても、単一のパターンで上記セルの位置
決めを行なうことができる。これにより、二次元コード
全体の占有面積を、上記データ領域に格納する情報量の
単純な倍数よりもはるかに小さくできる。この結果、大
容量の情報を高密度で格納する二次元コードが提供され
る。
According to the present invention, since the pattern for providing the data density and the positioning information is provided, even if the occupation area of the data area is increased by increasing the number of the binary data, a single pattern is provided. Can be used to position the cell. As a result, the area occupied by the entire two-dimensional code can be made much smaller than a simple multiple of the amount of information stored in the data area. As a result, a two-dimensional code that stores a large amount of information at a high density is provided.

【0008】上記第1から第8の突起部は、読み取り画
像内で上記データ密度と上記位置決め情報とを取得する
ための見出し線として機能する。即ち、上記第1の端点
に上記第5および第6の突起部が配置され、上記第2お
よび第3の端点に上記第7および第8の突起部がそれぞ
れ配置される一方、上記第4の端点には突起部が配置さ
れないので、上記第4の端点は、読み取り画像内で上記
セルの位置座標を特定するための基準点として選択する
ことができる。また、上記第1から第4の突起部がそれ
ぞれ所定ピッチで上記矩形実線に配置されるので、これ
らの突起部の数量を算出することにより、上記データ領
域内に記号化された上記バイナリデータの数量を算出す
ることが可能になる。これにより、上記データ領域にお
けるデータ密度の情報を取得することができる。さら
に、読み取り画像内で上記突起部同士を結ぶ直線を設け
ることにより、これらの直線の交点の座標に基づいて上
記セルの各位置座標を特定することが可能になる。
The first to eighth projections function as index lines for acquiring the data density and the positioning information in the read image. That is, the fifth and sixth protrusions are arranged at the first end point, the seventh and eighth protrusions are arranged at the second and third end points, respectively, while the fourth and fourth protrusions are arranged at the second and third end points, respectively. Since no projection is provided at the end point, the fourth end point can be selected as a reference point for specifying the position coordinates of the cell in the read image. In addition, since the first to fourth protrusions are respectively arranged on the rectangular solid line at a predetermined pitch, by calculating the number of these protrusions, the binary data of the binary data symbolized in the data area is calculated. The quantity can be calculated. Thereby, information on the data density in the data area can be obtained. Further, by providing straight lines connecting the protruding portions in the read image, it is possible to specify each position coordinate of the cell based on the coordinates of the intersection of these straight lines.

【0009】上記第1乃至第4の辺の線幅と上記第1乃
至第8の突起部の幅は、上記セルのサイズに対応して設
定されることが望ましい。
Preferably, the line width of the first to fourth sides and the width of the first to eighth projections are set in accordance with the size of the cell.

【0010】上記第1の突起部は、上記第1の端点から
上記第2の端点に向かって第1の長さのピッチでN(N
は自然数)個配置され、上記第2の突起部は、上記第1
の端点から上記第3の端点に向かって第2の長さのピッ
チでM(Mは自然数)個配置され、上記第3の突起部
は、上記第3の端点から上記第4の端点に向かって上記
第1の長さのピッチで上記N個配置され、上記第4の突
起部は、上記第2の端点から上記第4の端点に向かって
上記第2の長さのピッチで上記M個配置されると良い。
上記データ領域のデータの容量は、上記第1から第4の
突起部を認識し、上記NとMの具体的数量を特定するこ
とにより、容易に算出できる。
[0010] The first protrusion is formed at a pitch of N (N) at a first length pitch from the first end point to the second end point.
Is a natural number), and the second protrusion is the first protrusion.
M (M is a natural number) are arranged at a pitch of a second length from the end point of the third end point to the third end point, and the third protruding portion extends from the third end point to the fourth end point. The N number of the fourth protrusions are arranged at a pitch of the second length from the second end point toward the fourth end point. Good to be arranged.
The data capacity of the data area can be easily calculated by recognizing the first to fourth protrusions and specifying the specific quantities of N and M.

【0011】また、本発明によれば、上述した本発明に
かかる二次元コードの読取方法であって、上記二次元コ
ードの画像を取得する手順と、取得された上記画像内
で、周縁が上記第4の端点に接するとともに、上記第7
の突起部の少なくとも一部と上記第8の突起部の少なく
とも一部とを含むように、上記パターンを取囲む矩形領
域を切り出す手順と、上記第4の端点、上記第7の突起
部および上記第8の突起部と上記矩形領域の周縁との各
接点をそれぞれ第1の接点、第2の接点および第3の接
点として特定し、上記第5または第6の突起部と上記矩
形領域の周縁との接点を第4の接点として認識する手順
と、上記第1の接点と上記第2の接点とを結ぶ第1の線
分を設定し、上記第1の接点と上記第3の接点とを結ぶ
第2の線分を設定する手順と、上記第1の線分に平行な
第1の仮想線を設定して上記第4の接点から上記第3の
接点の方向へ移動させることにより、上記第1の突起部
と上記第3の突起部と上記第2の辺とを認識する手順
と、上記第2の線分に平行な第2の仮想線を設定して上
記第4の接点から上記第2の接点の方向へ移動させるこ
とにより、上記第2の突起部と上記第4の突起部と上記
第1の辺とを認識する手順と、認識された第1乃至第4
の突起部の数量に基づいて上記データ領域における上記
バイナリデータの容量を算出する手順と、上記第1の線
分および上記第2の線分をX軸またはY軸とする座標系
または上記矩形領域の周縁をなす辺のうち互いに直交す
る2辺をX軸またはY軸とする座標系を設定して上記デ
ータ領域内の各セルの座標を特定する手順と、上記セル
座標に基づいて上記記号化されたバイナリデータをビッ
ト列データに変換する手順と、を備える二次元コードの
読取方法が提供される。
According to the present invention, there is provided the above-described method for reading a two-dimensional code according to the present invention, wherein the step of obtaining an image of the two-dimensional code includes the steps of: While contacting the fourth end point,
A step of cutting out a rectangular area surrounding the pattern so as to include at least a part of the projections and at least a part of the eighth projections; Each contact between the eighth protrusion and the periphery of the rectangular area is specified as a first contact, a second contact, and a third contact, respectively, and the fifth or sixth protrusion and the periphery of the rectangular area are specified. A step of recognizing a contact point with the first contact point as a fourth contact point, a first line segment connecting the first contact point and the second contact point is set, and the first contact point and the third contact point are determined. The procedure of setting a second line segment to be connected, and the step of setting a first virtual line parallel to the first line segment and moving the virtual line from the fourth contact point to the third contact point, A procedure for recognizing a first projection, the third projection, and the second side; By setting a parallel second virtual line and moving it from the fourth contact point to the second contact point, the second projection, the fourth projection, the first side, And the recognized first to fourth steps
Calculating the capacity of the binary data in the data area on the basis of the number of the projections, a coordinate system using the first line segment and the second line segment as the X axis or the Y axis, or the rectangular area. A procedure of setting a coordinate system in which two sides orthogonal to each other among the sides forming the periphery of the cell are set as the X axis or the Y axis and specifying the coordinates of each cell in the data area; For converting the converted binary data into bit string data.

【0012】上記二次元コードの読み取り方法によれ
ば、上記複数の突起部に基づいて読み取り画像内におけ
る各セルの位置座標を特定するので、記号化されたバイ
ナリデータを高精度で復元することができる。また、認
識された第1乃至第4の突起部の数量に基づいて上記デ
ータ領域における上記バイナリデータの容量を算出する
ので、上記データ領域のデータ密度を容易かつ迅速に取
得することができる。
According to the two-dimensional code reading method, since the position coordinates of each cell in the read image are specified based on the plurality of projections, the symbolized binary data can be restored with high accuracy. it can. Further, since the capacity of the binary data in the data area is calculated based on the recognized number of the first to fourth protrusions, the data density of the data area can be easily and quickly obtained.

【0013】また、本発明によれば、上述した二次元コ
ードの読取方法を上記コンピュータに実行させるプログ
ラムおよびこのプログラムを記録したコンピュータ読み
取り可能な記録媒体が提供される。
Further, according to the present invention, there is provided a program for causing the computer to execute the above-described method for reading a two-dimensional code, and a computer-readable recording medium on which the program is recorded.

【0014】[0014]

【発明の実施の形態】以下、本発明の実施の形態のいく
つかについて図面を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Some embodiments of the present invention will be described below with reference to the drawings.

【0015】(1)二次元コードの実施形態 図1は、本発明にかかる二次元コードの一実施形態を示
す概略図である。同図に示すように、本実施形態の二次
元コード1は、二進化したデータが明暗の正方形のセル
の形態で格納されたマトリックスデータ部2と、マトリ
ックスデータ部2を囲むように配置された四角形と、こ
の四角形の各辺a〜dからそれぞれ垂直に延設した実線
による見出し線(突起部)R11〜R14,R21〜R
23,R31〜R33,R41〜R43,R51〜R5
3とを備える。四角形と見出し線R11〜R53は、本
実施形態におけるパターンであり、これにより、後述す
る読み取り方法を用いてデータ密度情報と位置決め情報
が与えられる。四角形と各見出し線の幅は、データセル
の一辺の長さと同じである。
(1) Embodiment of Two-Dimensional Code FIG. 1 is a schematic diagram showing an embodiment of a two-dimensional code according to the present invention. As shown in the figure, the two-dimensional code 1 of the present embodiment is arranged so as to surround a matrix data section 2 in which binarized data is stored in the form of bright and dark square cells, and a matrix data section 2. Heading lines (protrusions) R11 to R14, R21 to R formed by a rectangle and solid lines extending vertically from the sides a to d of the rectangle, respectively.
23, R31 to R33, R41 to R43, R51 to R5
3 is provided. The squares and the header lines R11 to R53 are patterns in the present embodiment, whereby data density information and positioning information are given using a reading method described later. The width of the rectangle and each heading line is the same as the length of one side of the data cell.

【0016】見出し線R11,R12は、点Dからそれ
ぞれ辺b,aを延在するように配置される。また、見出
し線R13は、点Bから辺dを延長するように配置さ
れ、さらに、見出し線R14は、点Cから辺cを延長す
るように配置される。これらの見出し線R11〜R14
は、それぞれ本実施形態において第5〜第8の突起部に
相当する。四角形の各コーナA〜Dのうち、点A(第4
の端点に相当する)の1カ所のみは、見出し線が設けら
れていない。これにより、後述するように、点Aは、各
セルの位置座標を特定するため画像処理において二次元
コードの原点として利用することができる。
The headlines R11 and R12 are arranged so as to extend from the point D to the sides b and a, respectively. The heading line R13 is arranged so as to extend the side d from the point B, and the heading line R14 is arranged so as to extend the side c from the point C. These headlines R11 to R14
Respectively correspond to the fifth to eighth protrusions in the present embodiment. Of the square corners A to D, the point A (the fourth
(Corresponding to the end point of the above) is not provided with a heading line. Thereby, as described later, the point A can be used as the origin of the two-dimensional code in the image processing for specifying the position coordinates of each cell.

【0017】見出し線R21〜R23,R31〜R3
3,R41〜R43,R51〜R53は、それぞれ特定
のデータセルの行方向または列方向の位置を指す。見出
し線R21〜R23,R41〜R43は、それぞれ四角
形の辺a,cに一定の長さのピッチP1で配置され、そ
れぞれ本実施形態において第1の突起物と第3の突起物
に相当する。また、見出し線R31〜R33,R51〜
R53は、それぞれ四角形の辺b,dに一定の長さのピ
ッチP2で配置され、それぞれ本実施形態において第2
の突起物と第4の突起物に相当する。ピッチP1,P2
のそれぞれの長さは既知の定数であり、本実施形態にお
いては同一の値である。
Heading lines R21 to R23, R31 to R3
3, R41 to R43 and R51 to R53 indicate the positions of specific data cells in the row direction or the column direction, respectively. The headlines R21 to R23 and R41 to R43 are arranged on the sides a and c of the rectangle at a pitch P1 having a fixed length, respectively, and correspond to the first protrusion and the third protrusion in the present embodiment, respectively. Also, heading lines R31-R33, R51-
R53 is arranged at a pitch P2 of a fixed length on each of the sides b and d of the rectangle, and each of the R53 is a second pitch in this embodiment.
And the fourth projection. Pitch P1, P2
Are respectively known constants, and have the same value in the present embodiment.

【0018】見出し線R21〜R23,R31〜R33
は、それぞれ辺a,bにから四角形の外側向きに延在す
るように配置される。この一方、見出し線R41〜R4
3,R51〜R53は、他方の隣接する二辺c,dから
四角形の内側向きに延在するように配置される。本実施
形態において各見出し線の長さは全て同一であるが、内
側向きの見出し線R41〜R43,R51〜R53がマ
トリックスデータ部2に重なることがないよう、辺c,
dは、マトリックスデータ部2の周縁から離隔されて配
置される。
Heading lines R21 to R23, R31 to R33
Are arranged so as to extend outward from the sides a and b, respectively, of the rectangle. On the other hand, heading lines R41 to R4
3, R51 to R53 are arranged so as to extend inward of the square from the other two adjacent sides c and d. In the present embodiment, the lengths of the heading lines are all the same, but the sides c, c are set so that the inward heading lines R41 to R43, R51 to R53 do not overlap the matrix data part 2.
d is arranged at a distance from the periphery of the matrix data section 2.

【0019】見出し線の数は、マトリックスデータ部の
データの数によって水平方向、垂直方向の各方向で独立
に増減可能である。従って、データの容量や印刷する場
所等の用途によって様々なサイズや形状の二次元コード
を構成することが可能である。このように、本実施形態
の二次元コード1においては、マトリックスデータ部2
の中に切り出しや位置決め等のための特別な印刷パター
ンが存在しないので、その分小面積でより多くのデータ
を搭載することができる。さらに、データ容量を増大さ
せても、マトリックスデータ部2を囲む単一のパターン
で切り出しと位置決めを行なうことができるので、二次
元コード全体の占有面積は、データ容量の増大に比例す
る大きさよりもはるかに小さい。この結果、大容量の情
報を高密度で格納する二次元コードが提供される。
The number of heading lines can be independently increased or decreased in each of the horizontal and vertical directions according to the number of data in the matrix data section. Therefore, it is possible to configure two-dimensional codes of various sizes and shapes depending on uses such as data capacity and printing place. Thus, in the two-dimensional code 1 of the present embodiment, the matrix data unit 2
Since there is no special print pattern for cutting out, positioning, etc., more data can be mounted in a smaller area. Further, even if the data capacity is increased, the cutout and positioning can be performed in a single pattern surrounding the matrix data section 2, so that the occupied area of the entire two-dimensional code is larger than the size proportional to the increase in the data capacity. Much smaller. As a result, a two-dimensional code that stores a large amount of information at a high density is provided.

【0020】(2)二次元コードの読取方法の実施形態 次に、図1に示す二次元コードの読取方法について本発
明にかかる二次元コードの読取方法の実施の一形態とし
て説明する。ここでは、本発明にかかる二次元コードに
特有の読み取り手順のみを示し、読み取り処理上一般的
に必要となる詳細な手順や調整に関する説明は省略す
る。
(2) Embodiment of Two-Dimensional Code Reading Method Next, a two-dimensional code reading method shown in FIG. 1 will be described as one embodiment of a two-dimensional code reading method according to the present invention. Here, only a reading procedure specific to the two-dimensional code according to the present invention is shown, and detailed procedures and adjustments generally required in the reading process are omitted.

【0021】図2は、本実施形態の読取方法の説明図で
あり、また、図3は図2に示す読取方法の概略手順を示
すフローチャートである。
FIG. 2 is an explanatory diagram of the reading method according to the present embodiment, and FIG. 3 is a flowchart showing a schematic procedure of the reading method shown in FIG.

【0022】1)まず、CCD等の撮像素子を用いて二
次元コード1のデジタル画像データを取り込む(ステッ
プS1)。
1) First, digital image data of a two-dimensional code 1 is captured using an image pickup device such as a CCD (step S1).

【0023】2)次に、この画像データの縦横の暗セル
が存在する分布(ヒストグラム)を調べ、図2に示すよ
うに、二次元コード1を取囲む矩形エリアARを画定す
る(ステップS2)。
2) Next, the distribution (histogram) of the image data in which vertical and horizontal dark cells are present is examined, and a rectangular area AR surrounding the two-dimensional code 1 is defined as shown in FIG. 2 (step S2). .

【0024】3)次に、この矩形エリアARの周縁の各
辺に接する点を探す(ステップS3)。図2の場合は、
点A,E、F,Hが求まる。
3) Next, a point that contacts each side of the periphery of the rectangular area AR is searched (step S3). In the case of FIG.
Points A, E, F, and H are obtained.

【0025】4)続いて、これらの点A,E、F,Hの
隣り合った点同士を結ぶ線分上のドットを調べ、暗い実
線が四角形の辺a〜dのうちどの線分に相当するかを判
定する(ステップS4)。図2に示す場合は、線分AE
と線分AFがそれぞれ四角形の辺d,cの実線に対応す
ることが判定される。この一方、線分EHと線分FHに
は対応する実線が存在しない。線分AEと線分AFとの
交点Aを二次元コード1の原点として選択する(ステッ
プS5)。
4) Subsequently, the dots on the line connecting the points A, E, F and H adjacent to each other are examined, and a dark solid line corresponds to any line among the sides a to d of the rectangle. It is determined whether or not to perform (Step S4). In the case shown in FIG. 2, the line segment AE
And the line segment AF respectively correspond to the solid lines of the sides d and c of the rectangle. On the other hand, there is no corresponding solid line between the line segment EH and the line segment FH. An intersection A between the line segment AE and the line segment AF is selected as the origin of the two-dimensional code 1 (step S5).

【0026】5)次に、線分AFと平行でかつ長さがほ
ぼ同一である線分を点Aから点Eに向かって調べ、線分
BHを特定してその端点から点Bと点Hを特定する。同
様にして、点Aから点Fに向かって線分AEと平行でか
つ長さがほぼ同一である線分CGを調べ、これから点C
と点Gを求め、さらに線分BHと線分CGとの交点Dを
特定する(ステップS6)。
5) Next, a line segment parallel to the line segment AF and having substantially the same length is examined from the point A to the point E, the line segment BH is specified, and the point B and the point H are determined from the end point. To identify. Similarly, a line segment CG which is parallel to the line segment AE from the point A to the point F and whose length is almost the same is examined.
And a point G, and an intersection D between the line segment BH and the line segment CG is specified (step S6).

【0027】6)次いで、線分AFに平行でかつ長さが
同一である仮想破線(見出し破線)を設定し、点Aから
出発して点Eの方向へbd1、bd2…と走査すること
により、見出し線R31とR53,R32とR52,R
33とR51を探索してゆく(ステップS7)。このと
き、見出し線R31とR53とを結ぶ見出し破線bd1
から点Aまでの距離と、各見出し線の長さとピッチとは
データセルのサイズを単位として既知の定数であるた
め、上述した手順で既に特定した各点A〜Dの間の位置
関係に基づいて各見出し線の位置と長さが予測できる。
同様にして、線分AEに平行でかつ長さが同一である仮
想破線を設定し、点Aから出発して点Fの方向へac
1、ac2…と走査することにより、見出し線R23と
R43,R22とR42,R21とR41を探索する
(ステップS7)。ここで、線分AC(4角形の辺c)
から内側に垂直に延在するものと認識された見出し線の
数と線分BD(4角形の辺a)から外側に垂直に延在す
るものと認識された各見出し線の数とは同一であり、ま
た同様に、線分AB(4角形の辺d)から内側に垂直に
延在するものと認識された見出し線の数と線分CD(4
角形の辺b)から外側に垂直に延在すると認識された見
出し線の数が同一であれば、正常に各見出し線の探索が
行われたことを確認できる。また、上述したとおり、見
出し線の数は、マトリックスデータ部2のデータ数に応
じて水平方向、垂直方向の各方向で独立して決定されて
いるので、各線分(辺)で認識された見出し線の数に応
じて、マトリックスデータの容量を決定する。
6) Next, a virtual dashed line (heading dashed line) which is parallel to the line segment AF and has the same length is set, and starting from point A, scanning is performed in the direction of point E in the direction of bd1, bd2. , Heading lines R31 and R53, R32 and R52, R
Search for 33 and R51 (step S7). At this time, a headline dashed line bd1 connecting headlines R31 and R53.
And the length and pitch of each headline are known constants in units of the size of the data cell. Therefore, based on the positional relationship between the points A to D already specified in the above-described procedure. Thus, the position and length of each headline can be predicted.
Similarly, an imaginary dashed line which is parallel to the line segment AE and has the same length is set, and starting from point A, ac is set in the direction of point F.
By scanning 1, ac2,..., A search is made for heading lines R23 and R43, R22 and R42, and R21 and R41 (step S7). Here, the line segment AC (side c of the rectangle)
Are the same as the number of heading lines recognized as extending vertically inward and the number of heading lines recognized as extending vertically outward from the line segment BD (side a of the rectangle). Similarly, the number of heading lines recognized as extending vertically inward from the line segment AB (side d of the rectangle) and the line segment CD (4
If the number of heading lines recognized as extending vertically outward from the side b) of the square is the same, it can be confirmed that the search for each heading line has been performed normally. As described above, the number of heading lines is determined independently in each of the horizontal direction and the vertical direction according to the number of data in the matrix data section 2, so that the number of heading lines recognized by each line segment (side) is determined. The capacity of the matrix data is determined according to the number of lines.

【0028】7)続いて、図2の破線に示すように、4
角形のそれぞれ平行する二辺で認識された見出し線の線
上の点同士を順に結んで格子形状を構成する線分bd1
〜bd3,ac1〜ac3を再度想定し、これらの線分
の交点n11〜n33の座標を算出する(ステップS
8)。これらの座標は、マトリックスデータ部2内のデ
ータセルの座標を等間隔に抜き出したものに相当する。
7) Subsequently, as shown by the broken line in FIG.
A line segment bd1 forming a lattice shape by sequentially connecting points on the headline recognized by two parallel sides of the polygon
To bd3, ac1 to ac3 are again assumed, and the coordinates of the intersections n11 to n33 of these line segments are calculated (step S
8). These coordinates correspond to the coordinates of the data cells in the matrix data section 2 extracted at regular intervals.

【0029】8)さらに、上記7)で求めた交点の座標
から、既知である見出し線間のセル数により各セルの座
標値を求め、各セルの二進数の値をサンプリングしてビ
ット列のデータとする(ステップS9)。
8) Further, from the coordinates of the intersection obtained in the above 7), the coordinate value of each cell is obtained from the number of cells between the known header lines, and the binary value of each cell is sampled to obtain the bit string data. (Step S9).

【0030】9)最後に、二次元コード1のビット列デ
ータには予め誤り訂正符号が付加されているので、これ
を用いて誤り訂正を行う。これにより、元のデータが復
元される(ステップS10)。
9) Finally, since an error correction code is added to the bit string data of the two-dimensional code 1 in advance, error correction is performed using this. Thereby, the original data is restored (step S10).

【0031】このように、本実施形態の二次元コードの
読取方法によれば、簡易な画像処理により、マトリック
スデータ部2に格納されたデータを高精度で復元できる
とともに、データの容量を迅速に取得することができ
る。
As described above, according to the two-dimensional code reading method of the present embodiment, the data stored in the matrix data section 2 can be restored with high accuracy by simple image processing, and the data capacity can be quickly reduced. Can be obtained.

【0032】(3)プログラムおよび記録媒体 上述した二次元コードの読取方法の一連の手順は、プロ
グラムに組み込んで画像データ処理可能なコンピュータ
に読込ませて実行させても良い。これにより、本発明に
かかる二次元コードの読取方法を汎用コンピュータを用
いて実現することができる。また、上述した二次元コー
ドの読取方法の一連の手順を画像データ処理可能なコン
ピュータに実行させるプログラムとしてフレキシブルデ
ィスクやCD−ROM等の記録媒体に収納し、コンピュ
ータに読込ませて実行させても良い。記録媒体は、磁気
ディスクや光ディスク等の携帯可能なものに限定され
ず、ハードディスク装置やメモリなどの固定型の記録媒
体でも良い。また、上述した二次元コードの読取方法の
一連の手順を組込んだプログラムをインターネット等の
通信回線(無線通信を含む)を介して頒布しても良い。
さらに、上述した二次元コードの読取方法の一連の手順
を組込んだプログラムを暗号化したり、変調をかけた
り、圧縮した状態で、インターネット等の有線回線や無
線回線を介して、あるいは記録媒体に収納して頒布して
も良い。
(3) Program and Recording Medium A series of procedures of the two-dimensional code reading method described above may be incorporated in a program and read and executed by a computer capable of processing image data. This makes it possible to implement the two-dimensional code reading method according to the present invention using a general-purpose computer. A series of procedures of the above-described two-dimensional code reading method may be stored in a recording medium such as a flexible disk or a CD-ROM as a program for causing a computer capable of processing image data to read the program and execute the program. . The recording medium is not limited to a portable medium such as a magnetic disk or an optical disk, but may be a fixed recording medium such as a hard disk device or a memory. Further, a program incorporating a series of procedures of the above-described two-dimensional code reading method may be distributed via a communication line (including wireless communication) such as the Internet.
Furthermore, a program incorporating a series of procedures of the above-described two-dimensional code reading method is encrypted, modulated, or compressed in a state where the program is transmitted via a wired or wireless line such as the Internet or a recording medium. It may be stored and distributed.

【0033】以上、本発明の実施の形態のいくつかにつ
いて説明したが、本発明は上記形態にかぎることなく、
その技術的範囲内で種々変形して実施できることは勿論
である。
While some embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments.
It goes without saying that various modifications can be made within the technical scope.

【0034】[0034]

【発明の効果】以上詳述したとおり、本発明は、以下の
効果を奏する。
As described in detail above, the present invention has the following effects.

【0035】即ち、本発明にかかる二次元コードによれ
ば、データ領域を囲むように配置され、上記データ領域
のデータ密度と位置決め情報とを与える複数の突起部が
設けられたほぼ矩形状のパターンを備えるので、上記デ
ータ領域に格納されるデータ容量の大きさにかかわら
ず、単一のパターンで各セルの位置決めを行なうことが
できる。これにより、大容量の情報を格納するとともに
読み取り精度の高い二次元コードが提供される。
That is, according to the two-dimensional code according to the present invention, a substantially rectangular pattern provided so as to surround the data area and provided with a plurality of projections for providing the data density and the positioning information of the data area. , Each cell can be positioned in a single pattern regardless of the size of the data capacity stored in the data area. This provides a two-dimensional code that stores a large amount of information and has high reading accuracy.

【0036】また、本発明かかる二次元コードの読取方
法によれば、上記複数の突起部に基づいて読み取り画像
内における各セルの位置座標を特定するので、記号化さ
れたバイナリデータを高精度で復元することができる。
また、認識された第1乃至第4の突起部の数量に基づい
て上記データ領域における上記バイナリデータの容量を
算出する手順を備えるので、上記データ領域のデータ密
度を容易かつ迅速に取得することができる。
Further, according to the two-dimensional code reading method of the present invention, since the position coordinates of each cell in the read image are specified based on the plurality of protrusions, the symbolized binary data can be converted with high accuracy. Can be restored.
In addition, since the method includes the step of calculating the capacity of the binary data in the data area based on the recognized number of the first to fourth protrusions, the data density of the data area can be easily and quickly obtained. it can.

【0037】また、本発明かかるプログラムおよびコン
ピュータ読み取り可能な記録媒体によれば、上述した二
次元コードの読取方法を汎用のコンピュータを用いて実
行することができる。
Further, according to the program and the computer-readable recording medium of the present invention, the above-described two-dimensional code reading method can be executed using a general-purpose computer.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明にかかる二次元コードの実施の一形態を
示す概略図である。
FIG. 1 is a schematic diagram showing an embodiment of a two-dimensional code according to the present invention.

【図2】本発明にかかる二次元コードの読取方法の実施
の一形態の説明図である。
FIG. 2 is an explanatory diagram of one embodiment of a two-dimensional code reading method according to the present invention.

【図3】図2に示す読取方法の概略手順を説明するフロ
ーチャートである。
FIG. 3 is a flowchart illustrating a schematic procedure of a reading method illustrated in FIG. 2;

【符号の説明】[Explanation of symbols]

1 二次元コード 2 マトリックスデータ部 a〜d 四角形の辺 bd1〜bd3,ac1〜ac3 仮想破線 P1,P2 見出し線間のピッチ R11〜R14,R21〜R23,R31〜R33,R
41〜R43,R51〜R53 見出し線(突起部)
Reference Signs List 1 2D code 2 Matrix data part a to d Square side bd1 to bd3, ac1 to ac3 Virtual broken line P1, P2 Pitch between heading lines R11 to R14, R21 to R23, R31 to R33, R
41 to R43, R51 to R53 Heading line (projection)

フロントページの続き (72)発明者 黒 岩 浩 三 神奈川県川崎市川崎区京町2丁目24番3− 104号 (72)発明者 溝 口 さとし 神奈川県中郡二宮町中里2丁目21番32号 ダイアパレス湘南ヒルズ二宮402 Fターム(参考) 5B072 AA02 CC21 DD02 DD23 HH11 LL19 Continuation of the front page (72) Inventor Kozo Kuroiwa 2-24-3, 104, Kyomachi, Kawasaki-ku, Kawasaki-shi, Kanagawa Prefecture (72) Inventor Satoshi Mizoguchi 2-2-132, Nakazato, Ninomiyacho, Naka-gun, Kanagawa Prefecture Shonan Hills Ninomiya 402 F-term (reference) 5B072 AA02 CC21 DD02 DD23 HH11 LL19

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】バイナリデータがセル状に記号化されて二
次元マトリクスをなすように配置されたデータ領域と、 前記第1のデータ領域を囲むように配置され、前記デー
タ領域のデータ密度の情報と位置決め情報とを与えるパ
ターンと、を備え、 前記パターンは、 隣り合う第1の辺と第2の辺とが前記第1のデータ領域
に近接し、前記第1の辺と前記第2の辺にそれぞれ対向
する第3の辺と第4の辺とが前記データ領域に離隔する
ように配置されたほぼ矩形の実線と、 前記第1の辺と前記第2の辺から外側に延在するように
それぞれ所定ピッチで配置された第1の突起部と第2の
突起部と、 前記第3の辺と前記第4の辺から前記データ領域に向か
って内側に延在するようにそれぞれ所定ピッチで配置さ
れた第3の突起部と第4の突起部と、 前記第1の辺と前記第2の辺の交点である第1の端点か
ら前記第1の辺と前記第2の辺とをそれぞれ延長するよ
うに配置された第5の突起部および第6の突起部と、 前記第1の端点とは異なる前記第1の辺の端点である第
2の端点から前記第4の辺を延長させるように配置され
た第7の突起部と、 前記第1の端点とは異なる前記第2の辺の端点である第
3の端点から、前記第3の辺を延長させるように配置さ
れた第8の突起部と、を含み、 前記第3の辺と前記第4の辺との交点である第4の端点
には突起部が配置されない、二次元コード。
1. A data area in which binary data is symbolized into cells and arranged to form a two-dimensional matrix; and a data area arranged to surround the first data area; And a pattern for providing positioning information, wherein the first side and the second side are adjacent to the first data area, and the first side and the second side are adjacent to each other. A substantially rectangular solid line arranged so that a third side and a fourth side respectively facing each other are separated from the data area, and extend outward from the first side and the second side. A first projection and a second projection respectively arranged at a predetermined pitch, and at a predetermined pitch so as to extend inward from the third side and the fourth side toward the data area. A third projection and a fourth projection arranged, The fifth protrusion and the sixth protrusion arranged so as to extend the first side and the second side respectively from a first end point which is an intersection of the first side and the second side. A projection, a seventh projection arranged to extend the fourth side from a second end point that is an end point of the first side different from the first end point, An eighth projection that is arranged to extend the third side from a third end point that is an end point of the second side different from the end point; A two-dimensional code in which no protrusion is arranged at a fourth end point that is an intersection with the side of No. 4.
【請求項2】前記第1乃至第4の辺の線幅と前記第1乃
至第8の突起部の幅は、前記セルのサイズに対応して設
定されることを特徴とする請求項1に記載の二次元コー
ド。
2. The method according to claim 1, wherein the line widths of the first to fourth sides and the widths of the first to eighth protrusions are set in accordance with the size of the cell. The described two-dimensional code.
【請求項3】前記第1の突起部は、前記第1の端点から
前記第2の端点に向かって第1の長さのピッチでN(N
は自然数)個配置され、 前記第2の突起部は、前記第1の端点から前記第3の端
点に向かって第2の長さのピッチでM(Mは自然数)個
配置され、 前記第3の突起部は、前記第3の端点から前記第4の端
点に向かって前記第1の長さのピッチで前記N個配置さ
れ、 前記第4の突起部は、前記第2の端点から前記第4の端
点に向かって前記第2の長さのピッチで前記M個配置さ
れることを特徴とする請求項1または2に記載の二次元
コード。
3. The method according to claim 1, wherein the first protrusion has a pitch of N (N) at a first length from the first end point toward the second end point.
Is a natural number), and M (M is a natural number) number of the second protrusions are arranged at a pitch of a second length from the first end point toward the third end point; The N protrusions are arranged at a pitch of the first length from the third end point toward the fourth end point, and the fourth protrusion is the second protrusion from the second end point. 3. The two-dimensional code according to claim 1, wherein the M pieces are arranged at a pitch of the second length toward an end point of No. 4. 4.
【請求項4】前記第1の長さと前記第2の長さは、それ
ぞれ前記セルのサイズに対応して設定されることを特徴
とする請求項3に記載の二次元コード。
4. The two-dimensional code according to claim 3, wherein said first length and said second length are respectively set according to the size of said cell.
【請求項5】請求項1乃至4のいずれかに記載の二次元
コードの読取方法であって、 前記二次元コードの画像を取得する手順と、 取得された前記画像内で、周縁が前記第4の端点に接す
るとともに、前記第7の突起部の少なくとも一部と前記
第8の突起部の少なくとも一部とを含むように、前記パ
ターンを取囲む矩形領域を切り出す手順と、 前記第4の端点、前記第7の突起部および前記第8の突
起部と前記矩形領域の周縁との各接点をそれぞれ第1の
接点、第2の接点および第3の接点として特定し、前記
第5または第6の突起部と前記矩形領域の周縁との接点
を第4の接点として認識する手順と、 前記第1の接点と前記第2の接点とを結ぶ第1の線分を
設定し、前記第1の接点と前記第3の接点とを結ぶ第2
の線分を設定する手順と、 前記第1の線分に平行な第1の仮想線を設定して前記第
4の接点から前記第3の接点の方向へ移動させることに
より、前記第1の突起部と前記第3の突起部と前記第2
の辺とを認識する手順と、 前記第2の線分に平行な第2の仮想線を設定して前記第
4の接点から前記第2の接点の方向へ移動させることに
より、前記第2の突起部と前記第4の突起部と前記第1
の辺とを認識する手順と、 認識された第1乃至第4の突起部の数量に基づいて前記
データ領域における前記バイナリデータの容量を算出す
る手順と、 前記矩形領域の周縁をなす辺のうち互いに直交する2辺
をX軸またはY軸とする座標系を設定して前記データ領
域内の各セルの座標を特定する手順と、 前記セル座標に基づいて前記記号化されたバイナリデー
タをビット列データに変換する手順と、を備える二次元
コードの読取方法。
5. The method of reading a two-dimensional code according to claim 1, wherein: a step of acquiring an image of the two-dimensional code; A step of cutting out a rectangular area surrounding the pattern so as to be in contact with an end point of No. 4 and to include at least a part of the seventh protrusion and at least a part of the eighth protrusion; The end point, the seventh projection, the eighth projection, and the respective contacts of the peripheral edge of the rectangular area are specified as a first contact, a second contact, and a third contact, respectively, and the fifth or the fifth contact is specified. A step of recognizing a contact point between the protrusion of No. 6 and the periphery of the rectangular area as a fourth contact point; setting a first line segment connecting the first contact point and the second contact point; A second connecting the third contact to the third contact
And setting a first virtual line parallel to the first line segment and moving it from the fourth contact point to the third contact point. A projection, the third projection, and the second
And a second virtual line parallel to the second line segment is set and moved from the fourth contact point in the direction of the second contact point, whereby the second A projection, the fourth projection, and the first
A step of recognizing a side of the rectangular area; a step of calculating a capacity of the binary data in the data area based on the number of recognized first to fourth protrusions; A procedure of setting a coordinate system having two sides orthogonal to each other as an X axis or a Y axis to specify the coordinates of each cell in the data area; and converting the symbolized binary data into bit string data based on the cell coordinates. And a procedure for reading the two-dimensional code.
【請求項6】請求項1乃至4のいずれかに記載の二次元
コードの画像を取得する手順と、 取得された前記画像内で、周縁が前記第4の端点に接す
るとともに、前記第7の突起部の少なくとも一部と前記
第8の突起部の少なくとも一部とを含むように、前記パ
ターンを取囲む矩形領域を切り出す手順と、 前記第4の端点、前記第7の突起部および前記第8の突
起部と前記矩形領域の周縁との各交点をそれぞれ第1の
接点、第2の接点および第3の接点として特定し、前記
第5または第6の突起部と前記矩形領域の周縁との交点
を第4の接点として認識する手順と、 前記第1の接点と前記第2の接点とを結ぶ第1の線分を
設定し、前記第1の接点と前記第3の接点とを結ぶ第2
の線分を設定する手順と、 前記第1の線分に平行な第1の仮想線を設定して前記第
3の接点の方向へ移動させることにより、前記第1の突
起部と前記第3の突起部と前記第2の辺とを認識する手
順と、 前記第2の線分に平行な第2の仮想線を設定して前記第
2の接点の方向へ移動させることにより、前記第2の突
起部と前記第4の突起部と前記第1の辺とを認識する手
順と、 認識された第1乃至第4の突起部の数量に基づいて前記
データ領域における前記バイナリデータの容量を算出す
る手順と、 前記矩形領域の周縁をなす辺のうち互いに直交する2辺
をX軸またはY軸とする座標系を設定して前記データ領
域内の各セルの座標を特定する手順と、 前記セル座標に基づいて前記記号化されたバイナリデー
タをビット列データに変換する手順と、を備える二次元
コードの読取方法をコンピュータに実行させるプログラ
ム。
6. A procedure for acquiring an image of a two-dimensional code according to claim 1, wherein, in the acquired image, a peripheral edge is in contact with the fourth end point, and A step of cutting out a rectangular area surrounding the pattern so as to include at least a part of the projection and at least a part of the eighth projection; and the fourth end point, the seventh projection, and the 8 are specified as a first contact point, a second contact point, and a third contact point, respectively, with the fifth or sixth protrusion and the periphery of the rectangular area. A first line segment connecting the first contact and the second contact, and connecting the first contact and the third contact. Second
And setting a first virtual line parallel to the first line segment and moving it in the direction of the third contact point, so that the first protrusion and the third A step of recognizing the protrusion and the second side; and setting a second imaginary line parallel to the second line segment and moving the line in the direction of the second contact point, thereby obtaining the second point. Recognizing the projections, the fourth projections, and the first side, and calculating the capacity of the binary data in the data area based on the number of the recognized first to fourth projections. Setting a coordinate system in which two sides orthogonal to each other among the sides forming the periphery of the rectangular area are set as the X axis or the Y axis, and specifying the coordinates of each cell in the data area; Converting the encoded binary data into bit string data based on the coordinates; Program for executing the, the reading method of the two-dimensional code comprising a computer.
【請求項7】請求項1乃至4のいずれかに記載の二次元
コードの画像を取得する手順と、 取得された前記画像内で、周縁が前記第4の端点に接す
るとともに、前記第7の突起部の少なくとも一部と前記
第8の突起部の少なくとも一部とを含むように、前記パ
ターンを取囲む矩形領域を切り出す手順と、 前記第4の端点、前記第7の突起部および前記第8の突
起部と前記矩形領域の周縁との各交点をそれぞれ第1の
接点、第2の接点および第3の接点として特定し、前記
第5または第6の突起部と前記矩形領域の周縁との交点
を第4の接点として認識する手順と、 前記第1の接点と前記第2の接点とを結ぶ第1の線分を
設定し、前記第1の接点と前記第3の接点とを結ぶ第2
の線分を設定する手順と、 前記第1の線分に平行な第1の仮想線を設定して前記第
3の接点の方向へ移動させることにより、前記第1の突
起部と前記第3の突起部と前記第2の辺とを認識する手
順と、 前記第2の線分に平行な第2の仮想線を設定して前記第
2の接点の方向へ移動させることにより、前記第2の突
起部と前記第4の突起部と前記第1の辺とを認識する手
順と、 認識された第1乃至第4の突起部の数量に基づいて前記
データ領域における前記バイナリデータの容量を算出す
る手順と、 前記矩形領域の周縁をなす辺のうち互いに直交する2辺
をX軸またはY軸とする座標系を設定して前記データ領
域内の各セルの座標を特定する手順と、 前記セル座標に基づいて前記記号化されたバイナリデー
タをビット列データに変換する手順と、を備える二次元
コードの読取方法をコンピュータに実行させるプログラ
ムを記録したコンピュータ読み取り可能な記録媒体。
7. A procedure for acquiring an image of a two-dimensional code according to claim 1, wherein, in the acquired image, a peripheral edge is in contact with the fourth end point and the seventh image is acquired. A step of cutting out a rectangular area surrounding the pattern so as to include at least a part of the projection and at least a part of the eighth projection; and the fourth end point, the seventh projection, and the 8 are specified as a first contact point, a second contact point, and a third contact point, respectively, with the fifth or sixth protrusion and the periphery of the rectangular area. A first line segment connecting the first contact and the second contact, and connecting the first contact and the third contact. Second
And setting a first virtual line parallel to the first line segment and moving it in the direction of the third contact point, so that the first protrusion and the third A step of recognizing the protrusion and the second side; and setting a second imaginary line parallel to the second line segment and moving the line in the direction of the second contact point, thereby obtaining the second point. Recognizing the projections, the fourth projections, and the first side, and calculating the capacity of the binary data in the data area based on the number of the recognized first to fourth projections. Setting a coordinate system in which two sides orthogonal to each other among the sides forming the periphery of the rectangular area are set as the X axis or the Y axis, and specifying the coordinates of each cell in the data area; Converting the encoded binary data into bit string data based on the coordinates; When the computer-readable recording medium recording a program for executing a method of reading the two-dimensional code to the computer with a.
JP2001100189A 2001-03-29 2001-03-30 Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium Expired - Lifetime JP3499220B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2001100189A JP3499220B2 (en) 2001-03-30 2001-03-30 Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium
PCT/JP2002/003207 WO2002080087A1 (en) 2001-03-29 2002-03-29 Two-dimensional code, method for converting two-dimensional code into speech, method for converting text document into speech, braille data creation apparatus
AU2002244953A AU2002244953A1 (en) 2001-03-29 2002-03-29 Two-dimensional code, method for converting two-dimensional code into speech, method for converting text document into speech, braille data creation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001100189A JP3499220B2 (en) 2001-03-30 2001-03-30 Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium

Publications (2)

Publication Number Publication Date
JP2002298077A true JP2002298077A (en) 2002-10-11
JP3499220B2 JP3499220B2 (en) 2004-02-23

Family

ID=18953656

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001100189A Expired - Lifetime JP3499220B2 (en) 2001-03-29 2001-03-30 Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP3499220B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003076962A (en) * 2001-09-04 2003-03-14 Kosaido Co Ltd Two-dimensional code, read method for two-dimensional code, program and computer readable recording medium
JP2011070477A (en) * 2009-09-28 2011-04-07 Npo Japan Association For The Visually-Impaired Information Support Two-dimensional code reading method, two-dimensional code to be read by two-dimensional code reading method, and recording medium with the two-dimensional code reading method recorded thereon
JP2015114680A (en) * 2013-12-09 2015-06-22 眞理子 溝口 Two-dimensional code reading method and recording medium of two-dimensional code

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003076962A (en) * 2001-09-04 2003-03-14 Kosaido Co Ltd Two-dimensional code, read method for two-dimensional code, program and computer readable recording medium
JP2011070477A (en) * 2009-09-28 2011-04-07 Npo Japan Association For The Visually-Impaired Information Support Two-dimensional code reading method, two-dimensional code to be read by two-dimensional code reading method, and recording medium with the two-dimensional code reading method recorded thereon
JP2015114680A (en) * 2013-12-09 2015-06-22 眞理子 溝口 Two-dimensional code reading method and recording medium of two-dimensional code

Also Published As

Publication number Publication date
JP3499220B2 (en) 2004-02-23

Similar Documents

Publication Publication Date Title
US6786412B2 (en) Two-dimensional code reading method, two-dimensional code reading program, recording medium with two-dimensional code reading program, two-dimensional code reading device, digital camera and portable terminal with digital camera
KR100414524B1 (en) Two-dimensional Code having superior decoding property which is possible to control the level of error correcting codes, and method for encoding and decoding the same
CN102243704B (en) Positioning system for two-dimension bar code and two-dimension bar code identification method and equipment
US6752316B2 (en) Two-dimensional code
US5686718A (en) Recording method, decoding method, and decoding apparatus for digital information
US10679175B2 (en) Two-dimensional code, system for creation of two-dimensional code, and analysis program
EP2849115B1 (en) Method for decoding matrix-type two-dimensional code
US7942341B2 (en) Two dimensional dot code, and decoding apparatus and method for a two dimensional dot code
US20150339508A1 (en) Two-dimensional code
JP4898771B2 (en) Bar code removing apparatus and method for removing the same
US7857232B2 (en) Two-dimensional bar code, information processing device, information processing method, and program
JP6856956B2 (en) How to detect and recognize long-range high-density visual markers
US8534565B2 (en) Two-dimensional optical identification device with same gray level for quick decoding and decoding method therefor
CN116739022B (en) Decoding method and device for bar code image and electronic equipment
JP2002298077A (en) Two-dimensional code, reading method of two-dimensional code, program, and computer readable record medium
JP2003346105A (en) Two-dimensional bar code and method for recording the same
JP4978879B2 (en) Two-dimensional code generation system and two-dimensional code generation program
JP5184672B2 (en) Two-dimensional code reading method and program
JP4744745B2 (en) 2D code
CN113536822A (en) Two-dimensional code correction method and device and computer readable storage medium
JP4905767B2 (en) Two-dimensional code detection system and two-dimensional code detection program
JPH11312215A (en) Two-dimensional code decoder and storage medium thereof
CN102810152B (en) Can fast decoding etc. gray scale two-dimensional optical identification code device and coding/decoding method
JP2003076960A (en) Two-dimensional code
JP2004246927A (en) Digital information recording method

Legal Events

Date Code Title Description
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: 20031031

R150 Certificate of patent or registration of utility model

Ref document number: 3499220

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071205

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081205

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091205

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091205

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101205

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101205

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111205

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121205

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131205

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term