JP6261118B2 - Two-dimensional code reading method and recording medium for the two-dimensional code - Google Patents

Two-dimensional code reading method and recording medium for the two-dimensional code Download PDF

Info

Publication number
JP6261118B2
JP6261118B2 JP2013253813A JP2013253813A JP6261118B2 JP 6261118 B2 JP6261118 B2 JP 6261118B2 JP 2013253813 A JP2013253813 A JP 2013253813A JP 2013253813 A JP2013253813 A JP 2013253813A JP 6261118 B2 JP6261118 B2 JP 6261118B2
Authority
JP
Japan
Prior art keywords
dimensional code
length
scanning
mda
square
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
JP2013253813A
Other languages
Japanese (ja)
Other versions
JP2015114680A (en
Inventor
眞理子 溝口
眞理子 溝口
▲さとし▼ 溝口
▲さとし▼ 溝口
Original Assignee
眞理子 溝口
眞理子 溝口
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 眞理子 溝口, 眞理子 溝口 filed Critical 眞理子 溝口
Priority to JP2013253813A priority Critical patent/JP6261118B2/en
Publication of JP2015114680A publication Critical patent/JP2015114680A/en
Application granted granted Critical
Publication of JP6261118B2 publication Critical patent/JP6261118B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、イメージセンサー及びカメラ等の画像入力装置で取り込んだ二次元コード画像から二次元コードを読み取るための二次元コード読取方法及び該二次元コードの記録媒体に関する。   The present invention relates to a two-dimensional code reading method for reading a two-dimensional code from a two-dimensional code image captured by an image input device such as an image sensor and a camera, and a recording medium for the two-dimensional code.

1980年代に二次元コードが米国にて発明されて以来、大容量のデータを記録することが可能で、読み取り精度が高くなる二次元コード及び二次元コードの読取方法が開示されている(例えば、特許文献1参照。)。バイナリデータがセル化され、当該セルが縦横の2方向に配列されることで二次元マトリックス状に構成されたデータ要素領域と、データ要素領域を囲む破線から成る矩形部と、矩形部を成す破線の各線分から垂直に延出された見出し線とから構成されると共に、破線の線分及び見出し線でT字形に形成されデータ要素領域の切り出しと画像切り出しを行うためのデータ認識用T字形マーカを破線の線分の数だけ有する二次元コードを読み取ることで、データ要素領域に記録された情報を得ることができる二次元コード読取方法であって、二次元コードの画像データを取得する第1のステップと、第1のステップで取得した画像データからT字形状の連続したピクセル領域を検出する第2のステップと、第2のステップで検出したT字形状の連続したピクセル領域が、データ認識用T字形マーカであるか否かを判定する第3のステップと、第3のステップでデータ認識用T字形マーカと判定されたT字形状の連続したピクセル領域の数が、データ要素領域の切り出しと画像切り出しを行うことができる予め定められた最低数に達しているか否かを判定する第4のステップと、第4のステップで切り出しと画像切り出しを行うことができる予め定められた最低数に達していると判定すると、データ認識用T字形マーカと判定されたT字形状の連続したピクセル領域群を使用してデータ要素領域のセル配列を検出する第5のステップと、第5のステップで検出したデータ要素領域のセル配列に基づき、当該データ要素領域から情報を取得する第6のステップとを有するものである。   Since the two-dimensional code was invented in the United States in the 1980s, a two-dimensional code and a two-dimensional code reading method that can record a large amount of data and have high reading accuracy have been disclosed (for example, (See Patent Document 1). Binary data is converted into cells, and the cells are arranged in two vertical and horizontal directions. The data element area is configured in a two-dimensional matrix, a rectangular part consisting of a broken line surrounding the data element area, and a broken line that forms the rectangular part. And a T-shaped marker for data recognition for cutting out a data element area and cutting out an image formed in a T-shape with broken line segments and a heading line. A two-dimensional code reading method capable of obtaining information recorded in a data element region by reading a two-dimensional code having the number of broken line segments, and is a first method for acquiring image data of a two-dimensional code. A step, a second step of detecting a T-shaped continuous pixel region from the image data acquired in the first step, and a T-shape detected in the second step. A third step of determining whether or not the continued pixel region is a T-shaped marker for data recognition, and a T-shaped continuous pixel region determined as a T-shaped marker for data recognition in the third step. A fourth step for determining whether or not the number has reached a predetermined minimum number at which a data element region can be cut out and an image can be cut out; If it is determined that the predetermined minimum number has been reached, a cell array of data element regions is detected using a T-shaped continuous pixel region group determined as a T-shaped marker for data recognition. And a sixth step of acquiring information from the data element region based on the cell array of the data element region detected in the fifth step.

このような第1の態様である二次元コード読取方法によれば、T字形状の連続したピクセル領域をイメージデータとして検出して、標準であるデータ認識用T字形マーカと形状を比較するだけで、データ要素領域の周りに当該領域の切り出しと画像切り出しに応じて複数配設されているT字形状の連続したピクセル領域群を検出することができるので、二次元コードの周りに4セル分以上の白色のマージンを確保しなくとも、二次元コード読取装置による二次元コードの認識率を向上させることが可能になる。 According to the two-dimensional code reading method according to the first aspect as described above, it is only necessary to detect a continuous T-shaped pixel region as image data and compare the shape with a standard T-shaped marker for data recognition. Since it is possible to detect a plurality of T-shaped continuous pixel region groups arranged around the data element region in accordance with the segmentation and image segmentation, more than 4 cells around the two-dimensional code It is possible to improve the recognition rate of the two-dimensional code by the two-dimensional code reader without securing the white margin.

特開2011−70477号公報JP 2011-70477 A

しかし、上記の画像認識方法は、二次元コードの画像データを取得する第1のステップと、第1のステップで取得した画像データからT字形状の連続したピクセル領域を検出する第2のステップと、第2のステップで検出したT字形状の連続したピクセル領域が、データ認識用T字形マーカであるか否かを判定する第3のステップと、第3のステップでデータ認識用T字形マーカと判定されたT字形状の連続したピクセル領域の数が、データ要素領域の切り出しと画像切り出しを行うことができる予め定められた最低数に達しているか否かを判定する第4のステップと、第4のステップで切り出しと画像切り出しを行うことができる予め定められた最低数に達していると判定すると、データ認識用T字形マーカと判定されたT字形状の連続したピクセル領域群を使用してデータ要素領域のセル配列を検出する第5のステップと、第5のステップで検出したデータ要素領域のセル配列に基づき、当該データ要素領域から情報を取得する第6のステップとを必要としており、画像認識までのステップが非常に多く、画像切り出しに多大の時間を要するという難点があった。 However, the above-described image recognition method includes a first step of acquiring image data of a two-dimensional code, and a second step of detecting T-shaped continuous pixel regions from the image data acquired in the first step. A third step for determining whether the T-shaped continuous pixel region detected in the second step is a T-shaped marker for data recognition, and a T-shaped marker for data recognition in the third step A fourth step of determining whether or not the number of determined T-shaped continuous pixel regions has reached a predetermined minimum number at which a data element region can be cut out and an image can be cut out; If it is determined that the predetermined minimum number that can be cut out and cut out in step 4 has been reached, the T-shapes determined to be data recognition T-shaped markers are consecutive. A fifth step of detecting a cell array of the data element region using the pixel region group, and a sixth step of acquiring information from the data element region based on the cell array of the data element region detected in the fifth step Steps are required, and there are many steps until image recognition, and it takes a lot of time to cut out images.

また、上記の試みは従来の画像切り出しのアルゴリズム、つまり、二次元コードの画像を撮像して、二値化処理をしてデータ認識用T字形マーカを見つけて認識する、という画像切り出し方式を踏襲しており、画像切り出しに時間を要するという欠点が存在していた。 In addition, the above attempt follows the conventional image segmentation algorithm, that is, an image segmentation method in which an image of a two-dimensional code is captured and binarized to find and recognize a T-shaped marker for data recognition. However, there is a drawback that it takes time to cut out an image.

しかし、近年の著しい技術革新により、イメージスキャナーの高画素化とCPU処理速度の高速化により読取精度が飛躍的に拡大していることにより、旧来と同様な二次元コードの画像切り出し形成方法を採用する意味が薄れている。 However, due to the remarkable technological innovation in recent years, the reading accuracy has been dramatically increased by increasing the pixel count of the image scanner and increasing the CPU processing speed. The meaning to do is fading.

本発明は、このような従来の二次元コードでは、相容れないとされた、素早い記号認識と大容量の二次元コードを提供することを目的とする。 An object of the present invention is to provide quick symbol recognition and a large capacity two-dimensional code, which are considered incompatible with such a conventional two-dimensional code.

上述の発明の目的を達成するのに、本発明の二次元コードでは、従来の二次元コードでは画像切り出し用のシンボルを目立つような形状にしたり、T字形状マーカを多数マトリックスデータ要素部(MDA)の外側に設けてマトリックスデータ部の領域を狭めていた形状を改め、画像の切り出しを形状の異なる4隅の画像切り出し用シンボル4個のみに限定する事により、また歪み補正用の角括弧の線分を4辺に設け、前記角括弧の線分よりマトリックスデータ部(MDA)に向けて内側にスキャニングガイドラインを配置することにより、二次元コードの画像切り出しと認識速度を高めた。 In order to achieve the above-mentioned object, the two-dimensional code of the present invention uses a conventional two-dimensional code to make a symbol for image clipping conspicuous, or a large number of T-shaped markers in a matrix data element part (MDA). ) And the shape of the matrix data area narrowed, and the image cutout is limited to only four image cutout symbols at four corners having different shapes. The line segment is provided on four sides, and the scanning guideline is arranged on the inner side from the square bracket line segment toward the matrix data part (MDA), thereby increasing the image cut-out and recognition speed of the two-dimensional code.

また、上記従来の画像の印字構成のセルは、1セル4ドットの構成にしており、データマトリックス領域(MDA)において、隣接するセルが印字される紙質及び印刷機の状況により重なり合い、データ認識用T字形マーカ画像の切り出しに不具合が生じるといった欠点もあったので、本発明の印字構成を1セル3ドット以下に設定して、セル同士の重なり合いを防ぐことにより、情報量の増大および認識速度の高速化を計れる二次元コードを提供するものである。 In addition, the conventional image printing configuration cell has a configuration of 4 dots per cell, and in the data matrix area (MDA), it overlaps depending on the paper quality on which adjacent cells are printed and the status of the printing machine, and is used for data recognition. Since there is a defect that the T-shaped marker image is cut out, the print configuration of the present invention is set to 3 dots or less per cell to prevent overlapping of cells, thereby increasing the information amount and the recognition speed. It provides a two-dimensional code that can be accelerated.

この発明によれば、二次元のマトリックスデータ要素領域の4隅に形状の異なる画像切り出し用シンボルを4個配置して、パターンの特徴認識処理を実行し、パターン特徴認識処理では同じ図形に同種類の特徴図形が存在すると、認識に時間がかかるゆえに、MDA領域のセル構成を1セル3ドット以下にすることにより、画像切り出し用の4個のシンボルは即座に認識可能となり、容易に位置情報および回転情報の取得が可能となる。 According to the present invention, four image segmentation symbols having different shapes are arranged at the four corners of the two-dimensional matrix data element region, and the pattern feature recognition process is executed. If there is a feature figure, it takes time to recognize, so by making the cell configuration of the MDA area less than 3 dots per cell, it is possible to immediately recognize the 4 symbols for image cropping, and position information and Rotation information can be acquired.

またMDAの4辺上部に角括弧形状の歪み補正用シンボルを4個配置し、前記角括弧形状の歪み補正用シンボルからMDAに向かって内側にスキャニングガイドライン設けたことにより、MDAにデータブロックラインを上下に形成することができるので、誤り訂正処理及び圧縮処理等の実行が、効率的に運用が可能となる二次元コードを提供できる。 In addition, four square bracket-shaped distortion correction symbols are arranged at the top of the four sides of the MDA, and a scanning guideline is provided inward from the square bracket-shaped distortion correction symbol toward the MDA. Since they can be formed vertically, it is possible to provide a two-dimensional code that can be efficiently used for execution of error correction processing and compression processing.

本発明にかかる二次元コードの実施の一形態を示す概略図である。It is the schematic which shows one Embodiment of the two-dimensional code concerning this invention. 本発明の二次元コードの画像切り出しパターンの一形態を示す図である。It is a figure which shows one form of the image cutout pattern of the two-dimensional code of this invention. 本発明の二次元コードの歪み補正パターンとスキャニングガイドラインの一形態を示す図である。It is a figure which shows one form of the distortion correction pattern of the two-dimensional code of this invention, and a scanning guideline. 本発明の二次元コードのデータブロックラインの一形態を示す図である。It is a figure which shows one form of the data block line of the two-dimensional code of this invention. 本発明の二次元コード読取方法による好ましい実施の形態例を示すフローチャート図である。It is a flowchart figure which shows the example of preferable embodiment by the two-dimensional code reading method of this invention.

以下、本発明の二次元コード読取方法及び該二次元コードの記録媒体を実施するための最良の形態例について、図面に基づき説明する。   The best mode for carrying out the two-dimensional code reading method and the two-dimensional code recording medium of the present invention will be described below with reference to the drawings.

二次元コードの実施形態図1は、本発明にかかる二次元コードの一実施形態を示す概略図である。同図に示すように、本実施形態の二次元コード1は、二進化したデータが明暗の正方形のセルの形態で格納されたマトリックスデータ部(MDA)と、マトリックスデータ部(MDA)の4隅に設置された4種類の画像切り出しパターンと、MDAを囲むように配置された4個の角括弧と、この角括弧の各辺K1、K2、K3、K4から、それぞれマトリックスデータ部2に向けて垂直に延設した実線によるスキャニングライン(突起部)K10〜K17、K20〜K27、K30〜K37、K40〜K47とを備える。   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 according to the present embodiment includes a matrix data portion (MDA) in which binarized data is stored in the form of light and dark square cells, and four corners of the matrix data portion (MDA). 4 types of image cutout patterns, four square brackets arranged so as to surround the MDA, and each side K1, K2, K3, K4 of the square brackets toward the matrix data part 2 respectively Scanning lines (projections) K10 to K17, K20 to K27, K30 to K37, and K40 to K47 with solid lines extending vertically are provided.

図2に示されているのは、画像切り出しパターンに一形態であり、マトリックスデータ部(MDA)の左上角部に配置されたAは、一辺の長さを各スキャニングラインの各長さと等しくする正方形であり、黒く塗りつぶされている。マトリックスデータ部(MDA)の右上角部に横長に配置されたBは、その左右の短辺の長さを各スキャニングラインの長さと等しくする長方形であり、この長方形の内側右端には一辺の長さを各スキャニングラインの長さと等しくする正方形を配置し、この正方形は黒く塗りつぶされている。マトリックスデータ部(MDA)の右下角部に配置されたCは、各スキャニングラインの長さと等しい長さを、逆L字の左下部と右上部の短辺の幅として黒く塗りつぶした逆L字型である。マトリックスデータ部(MDA)の左下角部に縦長に配置されたDは、その上下の短辺の長さを各スキャニングラインの長さと等しくする縦長の長方形であり、この長方形の内側下端には、一辺の長さを各スキャニングラインの長さと等しくする正方形を配置し、この正方形は黒く塗りつぶされている。   FIG. 2 shows one form of the image cut-out pattern, and A arranged at the upper left corner of the matrix data part (MDA) makes the length of one side equal to the length of each scanning line. It is a square and is painted black. B arranged horizontally in the upper right corner of the matrix data part (MDA) is a rectangle whose left and right short sides are equal to the length of each scanning line, and the inner right end of this rectangle has a length of one side. A square with a length equal to the length of each scanning line is placed, and this square is filled with black. C arranged in the lower right corner of the matrix data portion (MDA) is an inverted L shape in which the length equal to the length of each scanning line is blacked out as the width of the lower left portion of the inverted L shape and the short side of the upper right portion. It is. D arranged vertically in the lower left corner of the matrix data part (MDA) is a vertically long rectangle whose upper and lower short sides are equal to the length of each scanning line. A square with the length of one side equal to the length of each scanning line is arranged, and this square is filled with black.

図3に示されているのは、角括弧形状のK1、K2、K3、K4は、それぞれ突起部を持つ角括弧であり、マトリックスデータ部(MDA)に向かって内向きに、K1とK3、K2とK4が向き合うように配置され、マトリックスデータ部のデータ量に対応して一定間隔にスキャニングガイドラインK10〜K47が配置されている。 Shown in FIG. 3 are K1, K2, K3, and K4 in the shape of square brackets, each having square projections, inwardly facing the matrix data portion (MDA), K1 and K3, K2 and K4 are arranged to face each other, and scanning guidelines K10 to K47 are arranged at regular intervals corresponding to the data amount of the matrix data portion.

データ要素領域MDAのセル配列を検出は、角括弧形状の線分K1、K2、K3、K4からMDA方向に向けて垂直内側に延出されたスキャニングガイドラインK10、K11、K12、K13、K15、K16、K17、K20、K21、K22、K23、K24、K25、K26、K27、K30、K31、K32、K33、K34、K35、K36、K37、K40、K41、K42、K43、K44、K45、K46、K47によってデータ要素領域MDA内を走査することができる。例えば、スキャニングガイドラインK40とK20とを結ぶことでデータブロックラインを求めることができ、何れか一方のスキャニングガイドラインが存在すれば、K1あるいはK3に平行な線を求めることで、このデータブロックラインを求めることができる。したがって、スキャニングガイドラインK43とK23とを結ぶデータブロックライン、及びスキャニングガイドラインK46とK26とを結ぶデータブロックラインも、それぞれ何れか一方の見出し線が存在すれば、K1あるいはK3に平行な線を求めることで、このデータブロックラインを求めることができる。また、スキャニングガイドラインK11とK31とを結ぶデータブロックライン、スキャニングガイドラインK17とK37とを結ぶデータブロックラインも、それぞれ何れか一方のスキャニングガイドラインが存在すれば、K2およびK4に平行な線を求めることで、このデータブロックラインを求められる。 The cell arrangement of the data element area MDA is detected by scanning guidelines K10, K11, K12, K13, K15, K16 extending vertically inward from the square bracket-shaped line segments K1, K2, K3, K4 in the MDA direction. K17, K20, K21, K22, K23, K24, K25, K26, K27, K30, K31, K32, K33, K34, K35, K36, K37, K40, K41, K42, K43, K44, K45, K46, K47 Can scan the data element area MDA. For example, the data block line can be obtained by connecting the scanning guidelines K40 and K20. If either one of the scanning guidelines exists, the data block line is obtained by obtaining a line parallel to K1 or K3. be able to. Accordingly, the data block line connecting the scanning guidelines K43 and K23 and the data block line connecting the scanning guidelines K46 and K26 are also determined to be parallel to K1 or K3 if either one of the heading lines exists. Thus, this data block line can be obtained. In addition, the data block line connecting the scanning guidelines K11 and K31 and the data block line connecting the scanning guidelines K17 and K37 can be obtained by obtaining a line parallel to K2 and K4, respectively, if any one of the scanning guidelines exists. This data block line is required.

なお、スキャニングガイドラインの数は、データ要素領域MDAのデータ数に応じて水平方向(X軸方向)、垂直方向(Y軸方向)の各方向で独立して決定されているので、マトリックスデータ部(MDA)の容量を決定することができる。   The number of scanning guidelines is determined independently in each of the horizontal direction (X-axis direction) and the vertical direction (Y-axis direction) according to the number of data in the data element area MDA. MDA) capacity can be determined.

スキャニングガイドラインでデータ要素領域MDA内のデータセルを等分割してその位置座標を求め、各データセルの二進数の値をサンプリングしてビット列のデータとすることで、元のデータを復元することができる。なお、二次元コードのビット列データに誤り訂正符号が付加されている場合には、誤り訂正を行うことになる。   It is possible to restore the original data by equally dividing the data cell in the data element area MDA by scanning guidelines to obtain the position coordinates, and by sampling the binary value of each data cell to obtain bit string data. it can. If an error correction code is added to the bit string data of the two-dimensional code, error correction is performed.

このように、本発明の二次元コードによれば、マトリックスデータ部(MDA)の4隅に設けられた形状の異なるシンボルをグレースケール画像より画像切り出しパターンとして検出することにより、従来のような二値化作業を行わなくても、画像の認識速度を速めて、二次元コード読取装置による二次元コードの認識率を向上させることが可能になる。   As described above, according to the two-dimensional code of the present invention, symbols having different shapes provided at the four corners of the matrix data portion (MDA) are detected as image cut-out patterns from the grayscale image, and thus two conventional codes are used. Even without performing the digitization work, it is possible to increase the recognition speed of the image and improve the recognition rate of the two-dimensional code by the two-dimensional code reader.

なお、図5に示すフローチャートのようなデータ処理手順を行うようにしてもよい。   Note that a data processing procedure as shown in the flowchart of FIG. 5 may be performed.

このデータ処理手順は図2に示すように、イメージスキャナーにてグレースケールの画像を撮像して、図2に示されているように設置された4個の形状の異なる画像切り出し用シンボルを認識させ、予め記憶させたパターン形状と合致または定められた誤差範囲内にあるか否かを判定する。なお、従来の二次元コードでは、印字のセル構成が1セルを4ドットの構成をしていたが、印刷機または印字する紙の品質によりセル同士の重なり合いが生じて、データ領域の認識に時間がかかるという欠点があったので、マトリックスデータ部(MDA)の印字設定セル構成を、1セル3ドット以下として、セル同士の重なりが無いような構造にしておくことにより、画像切り出し用シンボルの認識が容易に可能となる。   In this data processing procedure, as shown in FIG. 2, a gray scale image is taken by an image scanner, and the four image-cutting symbols having different shapes are recognized as shown in FIG. Then, it is determined whether or not the pattern shape is stored in advance or within a predetermined error range. In the conventional two-dimensional code, the cell configuration for printing is a 4-dot configuration for each cell. However, the cells overlap each other depending on the quality of the printing machine or paper to be printed, and it takes time to recognize the data area. Since the cell data setting cell configuration of the matrix data part (MDA) is set to 3 dots or less per cell so that the cells do not overlap each other, the symbol for image clipping is recognized. Is easily possible.

続いて、図3に示された4辺の角括弧形状の歪み補正パターンを認識して、二次元コードの画像角度の調整を行い、画像を切り出す。 Subsequently, the four-sided square bracket-shaped distortion correction pattern shown in FIG. 3 is recognized, the image angle of the two-dimensional code is adjusted, and the image is cut out.

続いて、図4に示すように、4角形のそれぞれ平行する二辺で認識されたスキャニングガイドラインの線上の対向するライン同士を順に結んでデータブロックラインを形成する。 Subsequently, as shown in FIG. 4, the data block lines are formed by sequentially connecting the opposing lines on the scanning guide line recognized by the two parallel sides of the square.

さらに、各セルの値をサンプリングしてビット列のデータとして、
二次元コードのビット列データには予め誤り訂正符号が付加されているので、これを用いて誤り訂正を行い、最後に圧縮処理をする。
Furthermore, the value of each cell is sampled and used as bit string data.
Since the error correction code is added to the bit string data of the two-dimensional code in advance, error correction is performed using this, and finally compression processing is performed.

このように、本実施形態の二次元コードの読取方法によれば、形状の異なる4個の画像切り出しシンボルの特徴パターン認識画像処理により、画像を迅速に切り出すことが可能となり、データ取り込みも容易に行うことができる。 As described above, according to the two-dimensional code reading method of the present embodiment, it is possible to quickly cut out an image by feature pattern recognition image processing of four image cut-out symbols having different shapes, and to easily capture data. It can be carried out.

このようなデータ処理手順が二次元コード読取装置の制御部によって実行されるプログラムは、コンピュータ読み取り可能なCD、DVD等の記録媒体に記録させておくことで、複数の二次元コード読取装置やコンピュータで利用可能になる。 A program in which such a data processing procedure is executed by the control unit of the two-dimensional code reader is recorded on a computer-readable recording medium such as a CD or DVD, so that a plurality of two-dimensional code readers or computers are recorded. Available at

これまで本発明について図面に示した特定の実施の形態をもって説明してきたが、本発明は図面に示した実施の形態に限定されるものではなく、本発明の効果を奏する限り、これまで知られたいかなる構成であっても採用することができることはいうまでもないことである。 Although the present invention has been described with the specific embodiments shown in the drawings, the present invention is not limited to the embodiments shown in the drawings, and is known so far as long as the effects of the present invention are achieved. It goes without saying that any configuration can be adopted.

A ・・・・ 左上角部に配置された画像切り出しシンボル
B ・・・・ 右上角部に横長に配置された画像切り出しシンボル
C ・・・・ 右下角部に配置された逆L字型画像切り出しシンボル
D ・・・・ 左下角部に縦長に配置された長方形画像切り出しシンボル
K1・・・・ AとBの画像切り出しシンボル間に配置された角括弧形状の歪み補正の線
K2・・・・ BとCの画像切り出しシンボル間に配置された角括弧形状の歪み補正の線
K3・・・・ CとDの画像切り出しシンボル間に配置された角括弧形状の歪み補正の線
K4・・・・ AとDの画像切り出しシンボル間に配置された角括弧形状の歪み補正の線
K10、K11、K12、K13、K14、K15、K16、K17 ・・・K1の線分からMDA方向に向けて垂直内側に延出されたスキャニングガイドライン
K20、K21、K22、K23、K24、K25、K26、K27 ・・・K2の線分からMDA方向に向けて垂直内側に延出されたスキャニングガイドライン
K30、K31、K32、K33、K34、K35、K36、K37 ・・・K3の線分からMDA方向に向けて垂直内側に延出されたスキャニングガイドライン
K40、K41、K42、K43、K44、K45、K46、K47 ・・・K4の線分からMDA方向に向けて垂直内側に延出されたスキャニングガイドライン
MDA ・・・・ マトリックスデータ部








A ・ ・ ・ ・ Image clipping symbol placed in the upper left corner
B ··· Image clipping symbol placed horizontally in the upper right corner
C ・ ・ ・ ・ Reverse L-shaped image cutout symbol placed in the lower right corner
D ・ ・ ・ ・ Rectangular image cut out symbol placed vertically in the lower left corner
K1 ··· A square bracket-shaped distortion correction line placed between A and B image cutout symbols
K2 ... A square bracket-shaped distortion correction line placed between the B and C image cutout symbols.
K3 ······ Bracket-shaped distortion correction line placed between C and D image cutout symbols
K4 ··· Square bracket-shaped distortion correction line placed between A and D image cutout symbols
K10, K11, K12, K13, K14, K15, K16, K17 ・ ・ ・ Scanning guideline extending vertically inward from the line K1 toward the MDA
K20, K21, K22, K23, K24, K25, K26, K27 ・ ・ ・ Scanning guideline extending vertically inward from the line segment K2 in the MDA direction
K30, K31, K32, K33, K34, K35, K36, K37 ・ ・ ・ Scanning guideline extending vertically inward from the line K3 in the MDA direction
K40, K41, K42, K43, K44, K45, K46, K47 ・ ・ ・ Scanning guideline extending vertically inward from the line segment of K4 in the MDA direction
MDA ・ ・ ・ ・ Matrix data section








Claims (2)

バイナリデータがセル状に記号化されて二次元マトリックスをなすように配置されたマトリックスデータ部(MDA)と、前記第1のマトリックスデータ部(MDA)の4隅に形状の異なる画像切り出しパターンA、B、C、Dと、を備え、前記の4隅の画像切り出しパターンの間にMDA部に向かって内向きに突起部持つ4個の角括弧を設け、前記角括弧内部よりMDA部に向けて垂直に延設した実線によるスキャニングガイドライン(突起部)を複数個有し、
前記マトリックスデータ部(MDA)の4隅に備えられた画像切り出しパターンの形状は、左上角部に配置されたパターンAは、一辺の長さを各スキャニングガイドラインの各長さと等しくする正方形であり、黒く塗りつぶされており、右上角部に横長に配置されたパターンBは、その左右の短辺の長さを各スキャニングガイドラインの長さと等しくする長方形であり、この長方形の内側右端には一辺の長さを各スキャニングガイドラインの長さと等しくする正方形を配置し、この正方形は黒く塗りつぶされており、右下角部に配置されたパターンCは、各スキャニングガイドラインの長さと等しい長さを、逆L字の左下部と右上部の短辺の幅として黒く塗りつぶした逆L字型であり、左下角部に縦長に配置されたパターンDは、その上下の短辺の長さを各スキャニングガイドラインの長さと等しくする長方形であり、この長方形の内側下端には、一辺の長さを各スキャニングガイドラインの長さと等しくする正方形を配置し、この正方形は黒く塗りつぶされていることを特徴とする二次元コード。
A matrix data portion (MDA) in which binary data is symbolized in a cell shape to form a two-dimensional matrix, and image cutout patterns A having different shapes at the four corners of the first matrix data portion (MDA), B, C, D are provided, and four square brackets having protrusions inward toward the MDA portion are provided between the image cutout patterns at the four corners, and from the inside of the square brackets toward the MDA portion. It has a number of scanning guidelines (protrusions) with a solid line extending vertically ,
The shape of the image cutout pattern provided at the four corners of the matrix data part (MDA) is a square in which the pattern A arranged at the upper left corner is equal in length to one side of each scanning guideline. Pattern B, which is painted black and placed horizontally in the upper right corner, is a rectangle whose left and right short sides are equal to the length of each scanning guideline. A square having a length equal to the length of each scanning guideline is arranged, and this square is filled with black. Inverted L-shaped, painted black as the width of the short side at the lower left and upper right, and the pattern D arranged vertically at the lower left corner is the upper and lower short sides The length is a rectangle equal to the length of each scanning guidelines on the inner lower end of the rectangle, placing a square of equal length of one side and the length of each scanning guidelines have the square blacked out Rukoto Two-dimensional code characterized by
前記画像切り出しパターンA、B、C、Dの特徴認識において、同種類のパターンが二次元コード内に存在すると、誤認識して特徴認識が遅くなるために、MDAのセル構成を1セル4ドット構成から、1セルの構成を3ドット以下にして、印字の際にセルの結合が防げて、同種類のパターンの発生を防止する
ことを特徴とする請求項1に記載の二次元コード。
In the feature recognition of the image cut-out patterns A, B, C, and D, if the same type of pattern exists in the two-dimensional code, the feature recognition is delayed and the feature recognition is delayed. 2. The two-dimensional code according to claim 1, wherein the structure of one cell is set to 3 dots or less to prevent the cells from being combined during printing and to prevent the generation of the same type of pattern .
JP2013253813A 2013-12-09 2013-12-09 Two-dimensional code reading method and recording medium for the two-dimensional code Active JP6261118B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013253813A JP6261118B2 (en) 2013-12-09 2013-12-09 Two-dimensional code reading method and recording medium for the two-dimensional code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013253813A JP6261118B2 (en) 2013-12-09 2013-12-09 Two-dimensional code reading method and recording medium for the two-dimensional code

Publications (2)

Publication Number Publication Date
JP2015114680A JP2015114680A (en) 2015-06-22
JP6261118B2 true JP6261118B2 (en) 2018-01-17

Family

ID=53528478

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013253813A Active JP6261118B2 (en) 2013-12-09 2013-12-09 Two-dimensional code reading method and recording medium for the two-dimensional code

Country Status (1)

Country Link
JP (1) JP6261118B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6810940B2 (en) * 2019-04-10 2021-01-13 ソノー電機工業株式会社 Two-dimensional code, recognition processing program, recognition processing device, and recognition processing method
JP6894600B2 (en) * 2019-04-10 2021-06-30 ソノー電機工業株式会社 Two-dimensional code, recognition processing program, recognition processing device, and recognition processing method
KR102260493B1 (en) * 2019-11-15 2021-06-03 주식회사 씨케이앤비 Contents generating device for certificating genuine product and system for integrated certification of using the same

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB9408626D0 (en) * 1994-04-29 1994-06-22 Electronic Automation Ltd Machine readable binary code
JP3499220B2 (en) * 2001-03-30 2004-02-23 株式会社 廣済堂 Two-dimensional code, two-dimensional code reading method, program, and computer-readable recording medium
JP5120156B2 (en) * 2008-03-27 2013-01-16 株式会社デンソーウェーブ 2D code
JP5321352B2 (en) * 2009-08-27 2013-10-23 富士ゼロックス株式会社 Two-dimensional code generation apparatus, image forming system, two-dimensional code reading apparatus, computer program, and medium
JP4865844B2 (en) * 2009-09-28 2012-02-01 さとし 溝口 Two-dimensional code reading method, two-dimensional code for reading by the two-dimensional code reading method, and recording medium on which the two-dimensional code reading method is recorded

Also Published As

Publication number Publication date
JP2015114680A (en) 2015-06-22

Similar Documents

Publication Publication Date Title
US7273175B2 (en) Method, an apparatus and a storage medium for locating QR codes
US7636483B2 (en) Code type determining method and code boundary detecting method
JP4911340B2 (en) Two-dimensional code detection system and two-dimensional code detection program
US9087253B2 (en) Method and system for determining edge line in QR code binary image
US8254683B2 (en) Code image processing method
EP1909215B1 (en) Image region detection method, recording medium, and device therefor
US9177188B2 (en) Method and system for detecting detection patterns of QR code
US20130058569A1 (en) Image processing apparatus, image processing method, and non-transitory computer readable medium
US7969631B2 (en) Image processing apparatus, image processing method and computer readable medium storing image processing program
JP6261118B2 (en) Two-dimensional code reading method and recording medium for the two-dimensional code
JP6665595B2 (en) Character recognition device, method and program
US10936837B1 (en) 2D barcode overlays
JP4565396B2 (en) Image processing apparatus and image processing program
US9392140B2 (en) Image processing apparatus
JP4865844B2 (en) Two-dimensional code reading method, two-dimensional code for reading by the two-dimensional code reading method, and recording medium on which the two-dimensional code reading method is recorded
JP5720623B2 (en) Two-dimensional code reader
JP4398498B2 (en) Code boundary detection method
JP2014115965A (en) Two-dimensional code reading method, and recording medium recording two-dimensional code reading method
US10091390B2 (en) Image processing apparatus and image processing method for extracting feature points of a document image
JP5967000B2 (en) Information code reading system, information code reading device, information code
JP2009250739A (en) Method for processing image and program
US9325872B2 (en) Image processing apparatus
JP2007328652A (en) Image processing device and image processing program
US9007634B2 (en) Information processing device, information processing method, and computer program product
JP2008206037A (en) Image processing apparatus and image processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170331

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171003

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171024

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20171024

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171211

R150 Certificate of patent or registration of utility model

Ref document number: 6261118

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S804 Written request for registration of cancellation of exclusive licence

Free format text: JAPANESE INTERMEDIATE CODE: R314803

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350