JP2006236134A - Two-dimensional code and two-dimensional code display medium - Google Patents

Two-dimensional code and two-dimensional code display medium Download PDF

Info

Publication number
JP2006236134A
JP2006236134A JP2005051783A JP2005051783A JP2006236134A JP 2006236134 A JP2006236134 A JP 2006236134A JP 2005051783 A JP2005051783 A JP 2005051783A JP 2005051783 A JP2005051783 A JP 2005051783A JP 2006236134 A JP2006236134 A JP 2006236134A
Authority
JP
Japan
Prior art keywords
dimensional code
code
data description
data
card
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.)
Pending
Application number
JP2005051783A
Other languages
Japanese (ja)
Inventor
Hiroshi Inoue
洋思 井上
Yuriko Tanaka
百合子 田中
Kazuhiro Togashi
和広 富樫
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2005051783A priority Critical patent/JP2006236134A/en
Publication of JP2006236134A publication Critical patent/JP2006236134A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To perform stable code recognition processing without using a complicated image processing algorithm even if the direction of a display medium changes. <P>SOLUTION: This two-dimensional code display medium includes a data description part DT for arranging a plurality of cells in two dimensions and setting these cells to either first or second color, thereby representing a code, wherein picking symbols SS, SE for showing the existing direction of the data description part DT by the shape and inherent color are disposed at both ends of the data description part DT. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、例えば意見集約法を採用した会議やワークショップを支援するシステムにおいて、意見が記載されたカードを識別するために使用される二次元コードとこの二次元コードを表示する表示媒体に関する。   The present invention relates to a two-dimensional code used for identifying a card on which an opinion is described and a display medium for displaying the two-dimensional code in a system that supports a conference or workshop that employs an opinion aggregation method, for example.

会議やワークショップの場において利用される意見集約法の1つとして、KJ法が知られている。KJ法は、ブレーンストーミング等で出されたアイディアや意見、又は各種調査の現場から収集された雑多な情報を1つずつ小さなカード(紙切れ)に書き込み、それらのカードの中から内容の近いもの同士を集めてグループ化してゆく作業の中で、テーマの解決に役立つヒントやひらめきを生み出していこうとするものである。   The KJ method is known as one of the opinion gathering methods used in meetings and workshops. The KJ method writes ideas and opinions from brainstorming, etc., and miscellaneous information collected from various survey sites one by one on a small card (out of paper), and those with similar contents from each other In the work of collecting and grouping, we try to generate hints and inspirations that help solve the theme.

KJ法の基本的な手順を以下に示す。はじめに、参加者は発想したアイディアや収集した情報などのデータを1つずつ1枚の小さなカードに書き込んでいく。次に、作成したカード群を机などに並べて、カードに書かれたデータが同類の内容であるカード同士を集めグループを作成する。また、作成した各グループには、その内容を要約した表札をつける。カードのグループ編成は、まず、小グループを作り、次に小グループを同士で中グループを、さらに中グループ同士で大グループを作成していく。このようにKJ法を使用すると、カードのグループ編成を繰り返しながら様々な意見を集約して、テーマ解決に役立つヒントを導き出すことが可能である。   The basic procedure of the KJ method is shown below. First, participants write data such as ideas and collected information on a small card one by one. Next, the created cards are arranged on a desk or the like, and a group is created by collecting cards whose contents written on the cards are similar. In addition, a nameplate summarizing the contents is attached to each created group. In the card group organization, first, a small group is created, then a small group is created as a middle group, and then a middle group is created as a large group. When the KJ method is used in this way, it is possible to collect various opinions while repeating the grouping of cards and derive hints useful for the theme solution.

ところで、最近上記KJ法を使用した会議やワークショップにおいて、意見集約のプロセスを記録し、この記録された情報を後にバーチャル会議等に再利用する試みがなされている。プロセスの記録手法としては、例えばビデオカメラを使用してカードのグループ化作業の過程を撮像し、この撮像された画像データから各カードの移動履歴を検出し記録するものが使用される。その際、各カードにはカードを識別するためのコードを印刷しておき、撮像された画像データに対し画像処理を行って上記コードを認識することにより各カードの移動履歴を検出するようにしている。なお、コードとしては、汎用の1次元バーコードや、水平及び垂直方向に情報を持つQRコード等の2次元バーコードが使用される(例えば、非特許文献1を参照。)。   By the way, recently, in meetings and workshops using the KJ method, an attempt has been made to record the process of collecting opinions and to reuse the recorded information for a virtual meeting or the like later. As a process recording method, for example, a video camera is used to capture an image of a card grouping process, and a movement history of each card is detected and recorded from the captured image data. At that time, a code for identifying the card is printed on each card, and the movement history of each card is detected by performing image processing on the captured image data and recognizing the code. Yes. As the code, a general-purpose one-dimensional barcode or a two-dimensional barcode such as a QR code having information in the horizontal and vertical directions is used (see, for example, Non-Patent Document 1).

http://www.keyence.co.jp/barcode/2jigenbasic/chishiki4.htmlhttp://www.keyence.co.jp/barcode/2jigenbasic/chishiki4.html

ところが、上記KJ法を使用した会議やワークショップにおいて、机又は壁に配置される各カードの向きは区々であり、しかもこの向きはカードが移動されるごとに変化する。このため、既存のコードを使用した従来のシステムでは、カードの向きによってはコードを正しく認識できなくなるおそれがある。また、正確に認識するために、例えばカードの向きに応じて画像データに対し傾き補正を行った上でコードの認識処理を行うことも考えられるが、このようにするとコードの認識処理に複雑なアルゴリズムと多くの処理時間を必要とするという別の問題を生じる。   However, in meetings and workshops using the KJ method, the orientation of each card placed on the desk or wall varies, and this orientation changes each time the card is moved. For this reason, in a conventional system using an existing code, the code may not be recognized correctly depending on the orientation of the card. In addition, in order to recognize correctly, for example, it may be possible to perform a code recognition process after correcting the inclination of image data according to the orientation of the card, but this makes the code recognition process complicated. Another problem is that it requires an algorithm and a lot of processing time.

この発明は、上記事情に着目してなされたもので、その目的とするところは、表示媒体の向きが変化しても複雑な画像処理アルゴリズムを用いることなく安定したコード認識処理を行えるようにし、特に意見集約プロセスの記録過程に使用する場合に好適な二次元コード及び二次元コード表示媒体を提供することにある。   The present invention has been made paying attention to the above circumstances, and its purpose is to enable stable code recognition processing without using a complicated image processing algorithm even if the orientation of the display medium changes, In particular, it is an object of the present invention to provide a two-dimensional code and a two-dimensional code display medium suitable for use in the recording process of the opinion gathering process.

上記目的を達成するためにこの発明に係わる二次元コード及び二次元コード表示媒体は、複数のセルを二次元配列してこれらのセルを第1及び第2の色のいずれかに設定することによりコードを表現するコードデータ記述部を備え、かつこのコードデータ記述部の両端部にそれぞれ当該コードデータ記述部の位置を示す位置検出用パターン部を配置したものである。   In order to achieve the above object, a two-dimensional code and a two-dimensional code display medium according to the present invention are arranged by two-dimensionally arranging a plurality of cells and setting these cells to one of the first and second colors. A code data description part that expresses a code is provided, and a position detection pattern part that indicates the position of the code data description part is arranged at both ends of the code data description part.

したがってこの発明によれば、コードデータ記述部の位置を示す位置検出用パターン部を利用してコードデータ記述部を見付け出すことができる。このため、二次元コードを含む画像データから画像処理により二次元コードを認識する際に、二次元コードの向きが任意の方向に回転していても、画像データに対し傾き補正等を行うことなくコードデータ記述部を高い確率で検出し、そのコードデータを復号することが可能となる。このため、複雑な画像処理アルゴリズムを用いることなく、簡単かつ短時間に効率良く二次元コードを認識できる。   Therefore, according to the present invention, the code data description part can be found using the position detection pattern part indicating the position of the code data description part. For this reason, when recognizing a two-dimensional code by image processing from image data including a two-dimensional code, even if the direction of the two-dimensional code is rotated in an arbitrary direction, the image data is not subjected to inclination correction or the like. The code data description part can be detected with high probability, and the code data can be decoded. Therefore, a two-dimensional code can be recognized easily and efficiently in a short time without using a complicated image processing algorithm.

さらに、コードデータ記述部は、複数のセルを二次元配列してこれらのセルの色を異ならせることによりコードデータを表現している。このため、一次元コードのようにコード幅を高精度に識別する必要がなく、比較的簡単な画像認識処理によりコードを正確に認識することができる。   Further, the code data description unit expresses code data by two-dimensionally arranging a plurality of cells and changing the colors of these cells. For this reason, it is not necessary to identify the code width with high accuracy unlike a one-dimensional code, and the code can be accurately recognized by a relatively simple image recognition process.

この発明は、次のような各種具体的な構成を備えることも特徴とする。
第1の構成は、上記コードデータ記述部に、二次元コードの正当性を表すチェックパターンを含めたものである。このように構成すると、コードデータ記述部を解析する際に上記チェックパターンにより二次元コードの正当性を判定することが可能となる。このため、例えば画像雑音等の影響により媒体画像データ中にコードデータ記述部と類似する画像パターンが存在した場合に、これを即時コードデータ記述部として誤認識しないようにすることができる。
The present invention is also characterized by including the following various specific configurations.
In the first configuration, a check pattern representing the validity of a two-dimensional code is included in the code data description section. If comprised in this way, when analyzing a code data description part, it will become possible to determine the validity of a two-dimensional code by the said check pattern. Therefore, for example, when an image pattern similar to the code data description portion exists in the medium image data due to the influence of image noise or the like, it can be prevented from being erroneously recognized as an immediate code data description portion.

第2の構成は、上記位置検出用パターン部に、コードデータ記述部の存在方向を形状により表す方向指示パターンを設けたものである。このような構成であると、位置検出用パターン部をその方向指示パターンにより迅速かつ正確に検出でき、しかも方向指示パターンを形状によりコードデータ記述部の存在方向を簡単かつ確実に認識することが可能となる。   In the second configuration, the position detection pattern portion is provided with a direction indication pattern that represents the direction in which the code data description portion exists by a shape. With this configuration, the position detection pattern portion can be detected quickly and accurately by the direction indication pattern, and the direction of the code data description portion can be easily and reliably recognized by the shape of the direction indication pattern. It becomes.

第3の構成は、上記位置検出用パターン部を、当該位置検出用パターン部固有の第3の色に設定したものである。このように構成すると、位置検出用パターン部を形状のみに頼ることなく上記色によっても検出でき、これにより媒体画像データ中に位置検出パターンと類似する形状の画像パターンが含まれている場合でも、位置検出パターンをより一層正確に検出することが可能となる。   In the third configuration, the position detection pattern portion is set to a third color unique to the position detection pattern portion. When configured in this manner, the position detection pattern portion can be detected by the above color without depending only on the shape, and even when an image pattern having a shape similar to the position detection pattern is included in the medium image data, It becomes possible to detect the position detection pattern more accurately.

要するにこの発明では、複数のセルを二次元配列してこれらのセルを第1及び第2の色のいずれかに設定することによりコードを表現するコードデータ記述部を備え、このコードデータ記述部の両端部にそれぞれ、当該コードデータ記述部の存在方向を示す位置検出用パターン部を配置するようにしている。   In short, the present invention includes a code data description unit that expresses a code by two-dimensionally arranging a plurality of cells and setting these cells to one of the first and second colors. A position detection pattern portion indicating the direction in which the code data description portion exists is arranged at both ends.

したがってこの発明によれば、表示媒体の向きが変化しても複雑な画像処理アルゴリズムを用いることなく安定したコード認識処理を行うことができ、特に意見集約プロセスの記録過程に使用する場合に好適な二次元コード及び二次元コード表示媒体を提供することができる。   Therefore, according to the present invention, stable code recognition processing can be performed without using a complicated image processing algorithm even if the orientation of the display medium changes, and this is particularly suitable for use in the recording process of the opinion aggregation process. A two-dimensional code and a two-dimensional code display medium can be provided.

以下、図面を参照してこの発明の実施形態を説明する。
図1は、この発明に係わる二次元コードの用途の一つである会議支援システムの一実施形態を示す概略構成図である。このシステムは、サーバ装置SVにボード撮像装置VI及びカード撮像装置CAを信号ケーブルを介して接続すると共に、上記サーバ装置SVに対しユーザ端末PC1〜PCkを通信ネットワークNWを介して接続可能としたものである。通信ネットワークNWは、例えばインターネットやLAN(Local Area Network)により構成される
サーバ装置SVは、会議情報管理装置としての機能を備えたもので、上記ボード撮像装置VIにより撮像された映像データをケーブルを介して取り込む機能と、上記カード撮像装置CAにより撮像された画像データをケーブルを介して取り込む機能とを備える。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a schematic configuration diagram showing an embodiment of a conference support system which is one of uses of a two-dimensional code according to the present invention. In this system, a board imaging device VI and a card imaging device CA are connected to a server device SV via a signal cable, and user terminals PC1 to PCk can be connected to the server device SV via a communication network NW. It is. The communication network NW is composed of, for example, the Internet or a LAN (Local Area Network). The server device SV has a function as a conference information management device. The video data captured by the board imaging device VI is cabled. And a function of capturing image data captured by the card imaging apparatus CA via a cable.

ユーザ端末PC1〜PCkはパーソナル・コンピュータにより構成され、表示装置とキーボードやマウスなどの入力装置を備えている。これらのユーザ端末PC1〜PCkは、通信ネットワークNWを介して上記サーバ装置SVと通信を行い、会議の閲覧者たるユーザが配信された会議情報をバーチャルな環境で閲覧するために使用する。   The user terminals PC1 to PCk are configured by a personal computer and include a display device and input devices such as a keyboard and a mouse. These user terminals PC1 to PCk communicate with the server device SV via the communication network NW, and are used to view the conference information distributed by the user who is the conference viewer in a virtual environment.

図2は、図1に示すシステムにおける会議情報の記録の様子を示す図である。同図において、ボード1は机上または壁等に備えられ、このボード1上においてKJ法等による意見集約のプロセスが実行される。このプロセスは、例えば意見を記入したカード21〜2iをボード1上に配置し、これらのカード21〜2iを参加者がボード1上で手操作により移動させることで、記入された意見の近いもの同士のグループを構成することにより行われる。ボード1は、市販のホワイトボードや模造紙等でも良いし、会場の壁や机をそのまま利用しても構わない。   FIG. 2 is a diagram showing how conference information is recorded in the system shown in FIG. In the figure, a board 1 is provided on a desk or a wall, and an opinion collecting process by the KJ method or the like is executed on the board 1. In this process, for example, cards 21 to 2i on which opinions are entered are placed on the board 1, and these cards 21 to 2i are manually moved on the board 1 by the participants so that the entered opinions are close to each other. This is done by forming a group between each other. The board 1 may be a commercially available white board, imitation paper, or the like, or may use the wall or desk of the venue as it is.

カード21〜2iには、例えば図3に示すように意見記入エリア21Aと、カード識別エリア21Bとが設けられる。意見記入エリア21Aは、会議参加者がペンなどを用いて意見を記載する領域である。カード識別エリア21Bには二次元コードが表示される。二次元コードは、カードごとに固有の個別識別情報(以下、カードIDと呼称する)を含み、カードに予め印刷される。なお、カード21〜2iは、ペンなどの筆記具を用いて意見が記入できるものであれば形状及び材質には制限はなく、例えば市販されている粘着剤付きの付箋紙などが利用できる。   The cards 21 to 2i are provided with an opinion entry area 21A and a card identification area 21B, for example, as shown in FIG. The opinion entry area 21A is an area where conference participants write their opinions using a pen or the like. A two-dimensional code is displayed in the card identification area 21B. The two-dimensional code includes individual identification information unique to each card (hereinafter referred to as a card ID), and is printed on the card in advance. The cards 21 to 2i are not limited in shape and material as long as opinions can be entered using a writing instrument such as a pen. For example, commercially available sticky notes with an adhesive can be used.

ボード撮像装置VIは例えば動画の撮像が可能なビデオカメラからなり、意見集約が行われるボード1全体を時間経過にしたがって撮像する。そして、この撮像により得られるボード映像データとディジタル音声データを、例えばDVケーブルなどを介してサーバ装置SVへ送る。
カード撮像装置CAは例えばディジタルスチルカメラにより構成され、カード21〜2iを一枚ずつ撮像する。そして、この撮像により得られたカード画像データを、例えばUSBケーブルなどを介してサーバ装置SVへ送る。
The board imaging device VI is composed of, for example, a video camera capable of capturing moving images, and images the entire board 1 on which opinions are aggregated over time. Then, the board video data and digital audio data obtained by this imaging are sent to the server apparatus SV via, for example, a DV cable.
The card imaging device CA is constituted by, for example, a digital still camera, and images the cards 21 to 2i one by one. Then, the card image data obtained by this imaging is sent to the server device SV via, for example, a USB cable.

サーバ装置SVは、上記ボード撮像装置VIから送られたボード映像データ、およびカード撮像装置CAから送られたカード画像データをそれぞれ記憶する。そして、この記憶されたカード画像データを読み出して、画像認識処理によりカード識別エリア21Bに表示された二次元コードを認識してカードIDを解読する。次に、ボード映像データとカード画像データに含まれるカードIDを比較し、一致する場合にボード映像データ上のカードの位置を検出する。そして、検出されたカードの位置情報を移動履歴情報としてサーバ装置SVが備えるメモリに記憶する。このように記憶されたカードの移動履歴情報とカード画像データから会議情報データを再構成し、ユーザ端末PC1〜PCkに対して配信するものである。   The server device SV stores board video data sent from the board imaging device VI and card image data sent from the card imaging device CA. Then, the stored card image data is read, and the two-dimensional code displayed in the card identification area 21B is recognized by the image recognition process to decode the card ID. Next, the card IDs included in the board video data and the card image data are compared, and if they match, the position of the card on the board video data is detected. Then, the detected position information of the card is stored in the memory included in the server device SV as movement history information. The conference information data is reconstructed from the card movement history information and the card image data stored in this manner and distributed to the user terminals PC1 to PCk.

ところで、上記カード21〜2iのカード識別エリア21Bに表示される二次元コードは、次のように構成される。図4はその構成を示すものである。
すなわち、二次元コードは、複数のセルを二次元配列したデータ記述部DTと、その両端部に配置される切り出し用シンボル部SS,SEとから構成される。データ記述部DTのセルは、コードを表す最小単位の要素であり、例えば正方形により構成される。各セルはそれぞれ白又は黒で表示されることにより1ビットの情報を表し、このようなセルの集合体によりカードIDを表現する。
By the way, the two-dimensional code displayed in the card identification area 21B of the cards 21 to 2i is configured as follows. FIG. 4 shows the configuration.
That is, the two-dimensional code includes a data description part DT in which a plurality of cells are two-dimensionally arranged, and cutout symbol parts SS and SE arranged at both ends thereof. A cell of the data description part DT is an element of a minimum unit representing a code, and is configured by a square, for example. Each cell is displayed in white or black to represent 1-bit information, and a card ID is represented by a collection of such cells.

切り出し用シンボル部SS,SEは、二次元コードを認識する際にカード21上における上記データ記述部DTの位置を見付けるためのもので、データ記述部DTの存在方向を指し示す方向指示パターンを形成する。この方向指示パターンは、例えば図4に示すようにパターン形状が「逆コ型」と「コ型」を組み合わせたものからなる。なお、切り出し用シンボル部SS,SEの方向指示パターンのパターン形状は「逆コ型」及び「コ型」に限定されるものではなく、「<型」と「>型」とを組み合わせたものや、「→」と「←」とを組み合わせたもの等、データ記述部DTの存在方向を指し示すものであれば任意の形状の組み合わせを使用できる。また上記方向指示パターンは固有の色に着色されている。この固有の色には、会議支援システムにおいて使用されない色が選ばれる。   The cut-out symbol parts SS and SE are used to find the position of the data description part DT on the card 21 when recognizing a two-dimensional code, and form a direction indication pattern indicating the direction in which the data description part DT exists. . For example, as shown in FIG. 4, the direction indicating pattern is formed by combining a pattern shape of “reverse U shape” and “U shape”. Note that the pattern shape of the direction indicating pattern of the cutout symbol portions SS and SE is not limited to “reverse U type” and “U type”, but a combination of “<type” and “> type” Any combination of shapes can be used as long as it indicates the direction in which the data description part DT exists, such as a combination of “→” and “←”. The direction indicating pattern is colored in a unique color. As this unique color, a color that is not used in the conference support system is selected.

一方、上記二次元コードを作成するための装置は次のように構成される。図5はその機能構成を示すブロック図である。
すなわち、二次元コード作成装置は、マイクロプロセッサなどの中央処理ユニット(CPU:Central Processing Unit)11を備える。このCPU11には、バス12を介してデータメモリ13およびプログラムメモリ14及びデータメモリ14が接続され、さらに入力インタフェース(入力I/F)15、出力インタフェース(出力I/F)16及び送信インタフェース(送信入力I/F)17が接続されている。
On the other hand, an apparatus for creating the two-dimensional code is configured as follows. FIG. 5 is a block diagram showing the functional configuration.
That is, the two-dimensional code creation device includes a central processing unit (CPU) 11 such as a microprocessor. A data memory 13, a program memory 14, and a data memory 14 are connected to the CPU 11 via a bus 12, and an input interface (input I / F) 15, an output interface (output I / F) 16, and a transmission interface (transmission) Input I / F) 17 is connected.

入力I/F15にはキーボードやマウス等の入力デバイス18が接続され、入力I/F15は上記入力デバイス18においてユーザが入力した情報を取り込む機能を有する。また入力I/F15には、画像データを入力するためのスキャナ等の画像入力デバイスも接続される。   An input device 18 such as a keyboard or a mouse is connected to the input I / F 15, and the input I / F 15 has a function of capturing information input by the user in the input device 18. An image input device such as a scanner for inputting image data is also connected to the input I / F 15.

出力I/F16にはディスプレイ19とプリンタ20が接続される。出力I/F16は、CPU11の制御の下、作成された後述する二次元コード及びスケール用スクウェアの画像データをディスプレイ19に表示させると共に、プリンタ20へ出力してカード21〜2iに印刷させる。   A display 19 and a printer 20 are connected to the output I / F 16. The output I / F 16 displays the created two-dimensional code and scale square image data, which will be described later, on the display 19 under the control of the CPU 11, and outputs the data to the printer 20 for printing on the cards 21 to 2i.

送信I/F17は、CPU11の制御の下、作成された後述するシンボルテンプレート情報及びコード属性情報をコード認識処理に必要な情報としてコード認識装置BSへ転送する。なお、会議支援システムにあって上記コード認識装置BSはサーバSV内に設けられるが、単独で設けてもよい。   Under the control of the CPU 11, the transmission I / F 17 transfers the created symbol template information and code attribute information described later to the code recognition device BS as information necessary for the code recognition process. In the conference support system, the code recognition device BS is provided in the server SV, but may be provided alone.

データメモリ14は、記憶媒体として例えばRAM又はハードディスクを使用したもので、作成条件記憶エリア14aと、二次元コード記憶エリア14bと、シンボルテンプレート記憶エリア14cと、スケール用スクウェア記憶エリア14dと、コード属性データ記憶エリア14eとを備えている。   The data memory 14 uses, for example, a RAM or a hard disk as a storage medium, and includes a creation condition storage area 14a, a two-dimensional code storage area 14b, a symbol template storage area 14c, a scale square storage area 14d, and a code attribute. And a data storage area 14e.

一方、プログラムメモリ13には、この発明に係わるアプリケーション・プログラムとして、作成条件入力制御プログラム13aと、シンボルサイズ制御プログラム13bと、シンボルテンプレート作成プログラム13cと、二次元コード作成プログラム13dと、スケール用スクウェア作成プログラム13eと、データ出力制御プログラム13fが格納されている。   On the other hand, the program memory 13 includes, as application programs according to the present invention, a creation condition input control program 13a, a symbol size control program 13b, a symbol template creation program 13c, a two-dimensional code creation program 13d, and a scale square. A creation program 13e and a data output control program 13f are stored.

作成条件入力制御プログラム13aは、二次元コードの作成に先立ち、入力デバイス18において入力される作成条件を入力I/F15を介して取り込んで上記作成条件記憶エリアに記憶する。入力される作成条件としては、セルの一辺の長さ[pixels]と、セルの配列を表す情報と、切り出し用シンボル部SS,SEの形状及び色を表す画像データと、カードIDを表す数字データがある。このうちセルの配列を表す情報は、セルの列数と行数とにより表される。また、切り出し用シンボル部SS,SEの形状及び色を表す画像データには、ビットマップ形式の画像データが用いられる。   Prior to the creation of the two-dimensional code, the creation condition input control program 13a takes in the creation conditions input at the input device 18 via the input I / F 15 and stores them in the creation condition storage area. As the creation conditions to be input, the length [pixels] of one side of the cell, the information representing the cell arrangement, the image data representing the shape and color of the cutout symbol portions SS and SE, and the numeric data representing the card ID There is. Of these, information representing the cell array is represented by the number of columns and the number of rows of cells. Also, bitmap image data is used as the image data representing the shape and color of the cutout symbol portions SS and SE.

シンボルサイズ制御プログラム13bは、二次元コードを作成するにあたり、切り出し用シンボル部SS,SEのサイズをデータ記述部DTのサイズに合わせるための調整を行う。二次元コード作成プログラム13dは、上記作成条件記憶エリア14aに記憶された作成条件に従い二次元コードを作成し、作成した二次元コードを二次元コード記憶エリア14bに記憶する。   When creating the two-dimensional code, the symbol size control program 13b performs adjustment for adjusting the size of the clipping symbol parts SS and SE to the size of the data description part DT. The two-dimensional code creation program 13d creates a two-dimensional code according to the creation conditions stored in the creation condition storage area 14a, and stores the created two-dimensional code in the two-dimensional code storage area 14b.

シンボルテンプレート作成プログラム13cは、コード認識装置BSが二次元コードを認識する際に必要なシンボルテンプレートを作成し、作成したシンボルテンプレートをシンボルテンプレート記憶エリア14cに記憶する。シンボルテンプレートは、切り出し用シンボル部SS,SEの形状及び色を表す画像データと、切り出し用シンボル部SS,SEの辺の長さ[pixels]と、切り出し用シンボル部SS,SE間の距離[pixels]とにより表される。   The symbol template creation program 13c creates a symbol template required when the code recognition device BS recognizes a two-dimensional code, and stores the created symbol template in the symbol template storage area 14c. The symbol template includes image data representing the shape and color of the cutout symbol portions SS and SE, the side length [pixels] of the cutout symbol portions SS and SE, and the distance between the cutout symbol portions SS and SE [pixels]. ].

スケール用スクウェア作成プログラム13eは、コード認識装置BSが二次元コードを認識する際に必要なスケール用スクウェアを表す情報を作成し、この作成したスケール用スクウェアを表す情報をスケール用スクウェア記憶エリア14dに記憶する。スケール用スクウェアを表す情報は、上記二次元コード作成プログラム13dにより作成された二次元コードの短辺の長さを一辺とする正方形の画像データと、上記作成された二次元コードの長辺の長さ一辺とする正方形の画像データとからなる。   The scale square creation program 13e creates information representing the scale square necessary when the code recognition device BS recognizes the two-dimensional code, and stores the information representing the created scale square in the scale square storage area 14d. Remember. The information indicating the scale square includes square image data having a short side length of the two-dimensional code created by the two-dimensional code creation program 13d as one side, and the long side length of the created two-dimensional code. It consists of square image data with one side.

データ出力制御プログラム13fは、上記二次元コード記憶エリア14bに記憶された二次元コードと、上記スケール用スクウェア記憶エリア14dに記憶されたスケール用スクウェアを表す情報を、出力I/F16を介してディスプレイ19に表示させると共に、プリンタ20においてカード221〜2iに印刷させる。   The data output control program 13f displays the two-dimensional code stored in the two-dimensional code storage area 14b and the information indicating the scale square stored in the scale square storage area 14d via the output I / F 16. 19 and the printer 20 prints on the cards 221 to 2i.

またデータ出力制御プログラム13fは、上記シンボルテンプレート記憶エリア14cに記憶されたシンボルテンプレートと、上記コード属性データ記憶エリア14eに記憶されるコード属性データを、送信I/F17からコード認識装置BSへ転送させる。コード属性データには、作成条件として入力されたセルの一辺の長さ[pixels]及びセルの配列を表す情報と、上記二次元コード作成プログラム13dによる二次元コードの作成に際し計算される二次元コードの長辺方向の長さ及び短辺方向の長さが含まれる。   Further, the data output control program 13f transfers the symbol template stored in the symbol template storage area 14c and the code attribute data stored in the code attribute data storage area 14e from the transmission I / F 17 to the code recognition device BS. . The code attribute data includes the cell side length [pixels] input as the creation condition and the cell array information, and the two-dimensional code calculated when the two-dimensional code is created by the two-dimensional code creation program 13d. The length in the long side direction and the length in the short side direction are included.

次に、以上のように構成された二次元コード作成装置の動作を説明する。図6はその作成手順と内容を示すフローチャートである。
先ずオペレータは、入力デバイス18を操作してセルの一辺の長さ[pixels]と、セルの配列を表す情報を入力する。そうすると二次元コード作成装置のCPU11は、ステップ6aにより作成条件入力制御プログラム13aを実行し、入力I/F15を介して上記入力されたセルの一辺の長さ[pixels]と、セルの配列を表す情報をそれぞれ取り込み、これらを作成条件記憶エリア14aに記憶する。なお、上記セルの配列を表す情報は、先に述べたようにセルの列数と行数により表される。
Next, the operation of the two-dimensional code creation device configured as described above will be described. FIG. 6 is a flowchart showing the creation procedure and contents.
First, the operator operates the input device 18 to input the length [pixels] of one side of the cell and information indicating the cell arrangement. Then, the CPU 11 of the two-dimensional code creation device executes the creation condition input control program 13a in step 6a, and represents the length [pixels] of one side of the cell input via the input I / F 15 and the cell array. Information is taken in and stored in the creation condition storage area 14a. The information representing the cell arrangement is represented by the number of columns and the number of rows of cells as described above.

上記作成条件を取り込むとCPU11は、先ずステップ6bにおいて、上記記憶されたセルの一辺の長さ[pixels]と、セルの列数及び行数とをもとに、データ記述部DTを作成する。例えば、入力指定されたセルの一辺の長さがw[pixels]、セルの列数及び行数がそれぞれm,nであれば、図10に示すようなデータ記述部を作成する。そして、ステップ6cにおいて、上記作成されてデータ記述部DTの行幅、つまり図10であればn×w[pixels]を画素単位で検出し、この値をコード属性データの一つであるコード全体の短辺方向の長さとして、ステップ6dによりコード属性データ記憶エリア14eに記憶する。   In step 6b, the CPU 11 first creates the data description part DT based on the stored length [pixels] of one side of the cell and the number of columns and rows of the cell. For example, if the length of one side of an input designated cell is w [pixels] and the number of columns and the number of cells are m and n, respectively, a data description part as shown in FIG. 10 is created. In step 6c, the line width of the data description portion DT created as described above, that is, n × w [pixels] in the case of FIG. 10 is detected in units of pixels, and this value is the entire code that is one of the code attribute data. Is stored in the code attribute data storage area 14e in step 6d.

次にCPU11は、上記作成されたデータ記述部DT内の所定の位置にチェックパターンCPを作成する。例えば、図11に示すようにデータ記述部DT内の最左上の4(2×2)セルをチェックパターン用記述エリアとする。そして、このチェックパターン用記述エリアの4セルのうち、図11に示すように最左上の1セルのみを“黒”とし、他の3セルを“白”とする。この4セルがチェックパターンCPとして機能する。   Next, the CPU 11 creates a check pattern CP at a predetermined position in the created data description part DT. For example, as shown in FIG. 11, the upper left 4 (2 × 2) cell in the data description part DT is used as a check pattern description area. Of the four cells in the check pattern description area, only the upper left one cell is set to “black” and the other three cells are set to “white” as shown in FIG. These four cells function as a check pattern CP.

続いてCPU11は、オペレータによるカードIDの入力を待ち、この状態でカードIDが入力されると、ステップ6fによりこの入力されたカードIDを入力I/F15を介して取り込んで、作成条件記憶エリア14aに記憶する。そして、ステップ6gにより二次元コード作成プログラム13dを実行し、これにより上記作成されたデータ記述部DTに対するコードデータの書き込み処理を行う。図7はその処理手順と処理内容を示すフローチャートである。   Subsequently, the CPU 11 waits for an operator to input a card ID. When the card ID is input in this state, the input card ID is fetched through the input I / F 15 in step 6f, and the creation condition storage area 14a. To remember. Then, in step 6g, the two-dimensional code creation program 13d is executed, whereby the code data is written into the created data description part DT. FIG. 7 is a flowchart showing the processing procedure and processing contents.

すなわち、先ずステップ7aにより上記入力されたカードIDを2進数に変換する。次にステップ7bにおいて、上記データ記述部DT内のセルのうち上記チェックパターンCPを除いたセル群をすべて“白”に初期化し、この初期化されたデータ用セル群の最下行でかつ最右端のセルを選択する(ステップ7c)。そして、この選択された最右下のセルに上記カードIDの最下桁の値に従い“白”又は“黒”を書き込む(ステップ7d)。例えば、カードIDの2進数の値が“0”であれば“白”を、一方“1”であれば“黒”を書き込む。   That is, first, in step 7a, the input card ID is converted into a binary number. Next, in step 7b, all the cells in the data description part DT excluding the check pattern CP are initialized to “white”, and are the lowest row and the rightmost end of the initialized data cell group. Are selected (step 7c). Then, “white” or “black” is written in the selected lowermost cell according to the value of the lowest digit of the card ID (step 7d). For example, if the binary value of the card ID is “0”, “white” is written, while if it is “1”, “black” is written.

次にステップ7eにより、書き込み位置を1セル分左方向へシフト移動させ、当該セルに上記カードIDの下第2桁の値にしたがって“白”又は“黒”を書き込む。以後同様に、書き込み位置を順に左方向へシフト移動するごとに、当該セルに上記カードIDの各桁の値に従い“白”又は“黒”を書き込む。そして、最左端のセルへの書き込みが終了すると、続いて下から2番目の行の最右端のセルを選択し、このセルにカードIDの値に従い“白”又は“黒”を書き込む。このように、書き込み対象のセルの位置を順次右から左へ、さらに下の行から上の行へシフト移動させるごとに、カードIDの各桁の値に従い“白”又は“黒”を書き込む。そうしてカードIDのすべての桁の書き込みを終了すると、これをステップ7fにより検出してデータ記述部DTへのコードデータの書き込みを終了する。   Next, in step 7e, the writing position is shifted to the left by one cell, and “white” or “black” is written into the cell according to the value of the second digit of the card ID. Thereafter, similarly, each time the writing position is shifted to the left in order, “white” or “black” is written into the cell according to the value of each digit of the card ID. When the writing to the leftmost cell is completed, the rightmost cell in the second row from the bottom is selected, and “white” or “black” is written in this cell according to the value of the card ID. In this way, every time the position of the cell to be written is shifted from right to left and further from the lower row to the upper row, “white” or “black” is written according to the value of each digit of the card ID. When the writing of all the digits of the card ID is finished, this is detected in step 7f, and the writing of the code data to the data description part DT is finished.

次にCPU11は、ステップ6hにより、切り出しシンボル部SS,SEのビットマップ画像データの入力を受け付ける。そしてCPU11は、ステップ6iによりシンボルサイズ制御プログラム13bを実行し、上記入力された切り出しシンボル部SS,SEのサイズ調整を行う。このサイズ調整は、上記入力された切り出しシンボル部SS,SEのサイズを、コード属性データ記憶部14eに記憶されたコード全体の短辺方向の長さ(データ記述部DTの行幅)に合わせるためのもので、拡大又は縮小処理により行われる。   Next, in step 6h, the CPU 11 accepts input of bitmap image data of the cutout symbol portions SS and SE. Then, the CPU 11 executes the symbol size control program 13b in step 6i to adjust the size of the input cutout symbol parts SS and SE. This size adjustment is performed in order to match the size of the input cutout symbol parts SS and SE with the length of the entire code stored in the code attribute data storage part 14e in the short side direction (line width of the data description part DT). It is performed by enlargement or reduction processing.

例えば、図12に示すように、入力された切り出しシンボル部SSaのサイズが“a”であり、一方データ記述部DTの行幅が“b”であれば、入力された切り出しシンボル部SSaのサイズをb/a×100[%]倍に縮小してSSbを生成する。同様に切り出しシンボル部SEaについても同様の倍率を掛けることで縮小しSEbを生成する。   For example, as shown in FIG. 12, if the size of the input cut-out symbol part SSa is “a” and the line width of the data description part DT is “b”, the size of the input cut-out symbol part SSa Is reduced by a factor of b / a × 100 [%] to generate SSb. Similarly, the cut-out symbol part SEa is reduced by applying the same magnification to generate SEb.

そして、ステップ6jにより、上記サイズ調整された各切り出しシンボル部SSb,SEbを図12に示すようにデータ記述部DTの両端部にそれぞれ配置する。このとき、各切り出しシンボル部SSb,SEbとデータ記述部DTとの間には、例えば図4に示したように1セル分の間隔が設けられる。   Then, in step 6j, the cut out symbol parts SSb and SEb whose sizes have been adjusted are arranged at both ends of the data description part DT as shown in FIG. At this time, an interval of one cell is provided between each cut-out symbol part SSb, SEb and the data description part DT, for example, as shown in FIG.

かくして、二次元コードが作成される。この作成された二次元コードは二次元コード記憶エリア14bに保存される。図13に、以上のようにして作成された二次元コードの一例を示す。同図に示すように、二次元コードはデータ記述部DTの左右両端部にそれぞれ切り出し用シンボル部SSb,SEbを配置したもので、切り出し用シンボル部SSb,SEbはデータ記述部DTの存在方向を示す「逆コ型」及び「コ型」のパターン形状を有し、かつ固有色に着色されている。   Thus, a two-dimensional code is created. The created two-dimensional code is stored in the two-dimensional code storage area 14b. FIG. 13 shows an example of the two-dimensional code created as described above. As shown in the figure, the two-dimensional code has cutout symbol parts SSb and SEb arranged at the left and right ends of the data description part DT, respectively, and the cutout symbol parts SSb and SEb indicate the existence direction of the data description part DT. It has a “reverse U-shaped” and “U-shaped” pattern shapes, and is colored in a unique color.

また、このときCPU11は、ステップ6kにより、上記作成された二次元コードの長さを画素単位で検出し、この値をコード属性データの一つであるコード全体の長辺方向の長さとしてコード属性データ記憶エリア14eに記憶する。   At this time, the CPU 11 detects the length of the created two-dimensional code in units of pixels in step 6k, and uses this value as the length in the long side direction of the entire code as one of the code attribute data. Store in the attribute data storage area 14e.

最後にCPU11は、ステップ6mによりデータ出力制御プログラム13eを実行し、上記二次元コード記憶エリア14bに保存された二次元コードを読み出し、出力I/F16を介してディスプレイに供給し表示させる。また、それと共に二次元コードを出力I/F16を介してプリンタ20に供給してカードに印刷することも可能である。   Finally, the CPU 11 executes the data output control program 13e in step 6m, reads the two-dimensional code stored in the two-dimensional code storage area 14b, and supplies it to the display via the output I / F 16 for display. In addition, a two-dimensional code can be supplied to the printer 20 via the output I / F 16 and printed on a card.

またこの実施例に係わる二次元コード作成装置は、上記二次元コードの作成が終了すると、引き続きシンボルテンプレート及びスケール用スクウェアを表す情報を作成する。図8はシンボルテンプレートの作成制御手順とその内容を示すフローチャート、図9はスケール用スクウェアを表す情報の作成制御手順とその内容を示すフローチャートである。   Further, the two-dimensional code creating apparatus according to this embodiment, when the creation of the two-dimensional code is completed, continuously creates information representing the symbol template and the scale square. FIG. 8 is a flowchart showing symbol template creation control procedures and contents, and FIG. 9 is a flowchart showing information creation control procedures and contents representing scale squares.

先ずシンボルテンプレートを作成する場合にCPU11は、シンボル部プレート作成プログラム13cを実行する。すなわち、先ずステップ8aで作成条件記憶エリア14aから切り出し用シンボル部SS,SEの形状及び色を表す画像データを読み出す。次に、ステップ8bによりコード属性データ記憶エリア14eから、先に作成された二次元コードの短辺方向の長さを読み出し、この読み出された短辺方向の長さをもとにステップ8cで切り出し用シンボル部SSb,SEbのサイズを算出する。また、ステップ8dによりコード属性データ記憶エリア14eから、先に作成された二次元コードの長辺方向の長さを読み出し、この読み出された長辺方向の長さをもとにステップ8eで切り出し用シンボル部SSb,SEb間の距離を算出する。図14に、以上のように作成されたシンボル部プレートを表す情報の一例を示す。   First, when creating a symbol template, the CPU 11 executes a symbol portion plate creation program 13c. That is, first, in step 8a, image data representing the shape and color of the cutout symbol portions SS and SE are read from the creation condition storage area 14a. Next, in step 8b, the length in the short side direction of the previously created two-dimensional code is read from the code attribute data storage area 14e, and in step 8c based on the read length in the short side direction. The sizes of the cutout symbol parts SSb and SEb are calculated. In step 8d, the length in the long side direction of the previously created two-dimensional code is read from the code attribute data storage area 14e, and cut out in step 8e based on the read length in the long side direction. The distance between the symbol parts SSb and SEb for use is calculated. FIG. 14 shows an example of information representing the symbol part plate created as described above.

そして、最後にステップ8fにおいてデータ出力制御プログラム13eを実行し、上記読み出された切り出し用シンボル部SS,SEの形状及び色を表す画像データと、上記算出された切り出し用シンボル部SSb,SEbのサイズ[pixels]と、上記算出された及び切り出し用シンボル部SSb,SEb間の距離[pixels]とを、シンボル部プレートを表す情報として送信I/F17からコード認識装置BSへ転送する。   Finally, in step 8f, the data output control program 13e is executed, and the read image data representing the shape and color of the cutout symbol portions SS and SE, and the calculated cutout symbol portions SSb and SEb. The size [pixels] and the calculated distance [pixels] between the cutout symbol parts SSb and SEb are transferred from the transmission I / F 17 to the code recognition device BS as information representing the symbol part plate.

次に、スケール用スクウェアを表す情報を作成する場合にCPU11は、スケール用スクウェア作成プログラム13eを実行する。すなわち、先ずステップ9a及びステップ9bによりそれぞれ、コード属性データ記憶エリア14eから二次元コードの短辺方向の長さ及び長辺方向の長さを読み出す。続いてステップ9cにより、上記読み出された長辺方向の長さを一辺とする正方形の第1の画像データと、短辺方向の長さを一辺とする正方形の第2の画像データとをそれぞれ作成する。例えば、いま二次元コードの短辺方向の長さがb、長辺方向の長さがcであれば、図15に示すような正方形を表すビットマップ形式の画像データが作成される。   Next, when creating information representing the scale square, the CPU 11 executes the scale square creation program 13e. That is, first, in step 9a and step 9b, the length in the short side direction and the length in the long side direction of the two-dimensional code are read from the code attribute data storage area 14e, respectively. Subsequently, in step 9c, the first image data having a square with the length in the long-side direction read out as one side and the second image data having a square with the length in the short-side direction as one side are respectively obtained. create. For example, if the length in the short side direction of the two-dimensional code is b and the length in the long side direction is c, bitmap-format image data representing a square as shown in FIG. 15 is created.

上記第1の画像データは、ボード画像データ中から二次元コードを認識する場合に使用され、一方上記第2の画像データはカード画像データ中から二次元コードを認識する場合に使用される。このようにサイズの異なる2種類のスケール用スクウェア画像を用意し、これらの画像をボード画像データとカード画像データとで使い分けることにより、多数の二次元コードが小さいサイズで含まれているボード画像データ中からでも、また比較的大きいサイズの二次元コードが1個だけ含まれているカード画像データ中からでも、二次元コードを効率良くかつ正確に認識することが可能となる。   The first image data is used when a two-dimensional code is recognized from the board image data, while the second image data is used when a two-dimensional code is recognized from the card image data. By preparing two types of scale square images of different sizes and using these images separately for board image data and card image data, board image data containing a large number of two-dimensional codes in small sizes. It is possible to recognize the two-dimensional code efficiently and accurately even from the inside or from the card image data containing only one relatively large size two-dimensional code.

そして、CPU11はステップ9dにおいてデータ出力制御プログラム13eを実行し、上記作成された第1及び第2のスケール用スクウェア画像データを、出力I/F16を介してディスプレイ19に表示させる。またそれと共に、上記第1及び第2のスケール用スクウェア画像データをそれぞれボード画像データ及びカード画像データに加えた状態でプリンタ20に供給しプリントアウトさせる。   In step 9d, the CPU 11 executes the data output control program 13e, and causes the display 19 to display the first and second scale square image data created as described above via the output I / F 16. At the same time, the first and second scale square image data are added to the board image data and the card image data, respectively, and supplied to the printer 20 for printing.

以上述べたようにこの実施形態では、二次元コードを、複数のセルを二次元配列して、これらのセルをカードIDの各ビット値に従い白または黒に設定したデータ記述部DTと、このデータ記述部DTの両端部にそれぞれ配置され、当該データ記述部DTの存在方向を示す「逆コ型」及び「コ型」のパターン形状を有しかつこのパターンが固有色に着色されてなる切り出し用シンボル部SS,SEとにより構成している。   As described above, in this embodiment, the data description part DT in which a plurality of cells are two-dimensionally arranged and these cells are set to white or black according to each bit value of the card ID, and the data For cut-out, which is arranged at both ends of the description part DT, has a pattern shape of “reverse U type” and “U type” indicating the existence direction of the data description part DT, and this pattern is colored in a unique color It consists of symbol parts SS and SE.

したがって、データ記述部DTの両端部に、当該データ記述部DTの存在方向を示す切り出し用シンボル部SS,SEを配置したことにより、カードのサイズが小さくてもまたカードが傾いていても、上記切り出し用シンボル部SS,SEによりデータ記述部DTを高い確率で検出することが可能となり、これによりカードを効率良くかつ正確に識別することが可能となる。   Therefore, by arranging the cutout symbol parts SS and SE indicating the existence direction of the data description part DT at both ends of the data description part DT, even if the card size is small or the card is tilted, The data description part DT can be detected with a high probability by the cutout symbol parts SS and SE, whereby the card can be identified efficiently and accurately.

しかも、上記切り出し用シンボル部SS,SEの色を固有色に設定しているので、種々の情報が含まれるカード画像データの中から切り出し用シンボル部SS,SEを短時間のうちに簡単に検出することが可能となる。さらに、切り出し用シンボル部SS,SEのパターン形状を、図4及び図13等に示したように、データ記述部DTの存在方向を指し示す「逆コ型」と「コ型」とを組み合わせた形状に設定している。このため、切り出し用シンボル部SS,SEのいずれか一方でも見つかれば、そのパターン形状をもとにデータ記述部DTの存在方向を特定することが可能となり、これにより認識効率をより一層高めることができる。   In addition, since the colors of the cutout symbol portions SS and SE are set to unique colors, the cutout symbol portions SS and SE can be easily detected in a short time from card image data including various information. It becomes possible to do. Further, as shown in FIGS. 4 and 13 and the like, the pattern shape of the cutout symbol parts SS and SE is a combination of “reverse U type” and “U type” indicating the direction in which the data description part DT exists. Is set. Therefore, if one of the cutout symbol portions SS and SE is found, it is possible to specify the direction in which the data description portion DT exists based on the pattern shape, thereby further improving the recognition efficiency. it can.

また、データ記述部DTは、指定された作成条件に応じてサイズ及びセル数が予め規定された複数のセルを二次元配列し、これらのセルを用いてカードIDのビット値を白又は黒として表現するようにしている。このため、一次元コードのようにコード幅を高精度に識別する必要がなく、比較的簡単な画像認識処理によりコードを正確に認識することができる。しかも、データ記述部DTにチェックパターンCPを設けたことにより、二次元コードの正当性を判定することができ、これにより他の疑似画像パターンをコードとして誤認識する不具合を低減して、コードの認識効率をさらに高めることができる。   In addition, the data description unit DT two-dimensionally arranges a plurality of cells having a predetermined size and number of cells according to the specified creation conditions, and uses these cells to set the bit value of the card ID as white or black. I try to express it. For this reason, it is not necessary to identify the code width with high accuracy unlike a one-dimensional code, and the code can be accurately recognized by a relatively simple image recognition process. In addition, the validity of the two-dimensional code can be determined by providing the check pattern CP in the data description part DT, thereby reducing the problem of misrecognizing other pseudo image patterns as codes, Recognition efficiency can be further increased.

さらに、二次元コードのスケール基準を定義するスケール用スクウェアの画像データを作成すると共に、上記切り出し用シンボル部SS,SEのテンプレートを作成して、コード認識処理のために提供するようにしている。このため、コード認識装置BSにおいて二次元コードを認識する際に、上記作成されたスケール用スクウェアの画像データにより二次元コードのスケール基準を事前に把握でき、さらにシンボルテンプレートをもとに上記切り出し用シンボル部SS,SEを簡単かつ正確に認識することが可能となる。したがって、さらに迅速かつ正確なコード認識が可能となる。   Furthermore, the image data of the scale square that defines the scale reference of the two-dimensional code is created, and the template of the cutout symbol parts SS and SE is created and provided for the code recognition process. Therefore, when the code recognition device BS recognizes the two-dimensional code, the scale reference of the two-dimensional code can be grasped in advance from the image data of the scale scale created as described above, and further, the above-mentioned cutout can be performed based on the symbol template The symbol parts SS and SE can be recognized easily and accurately. Therefore, more rapid and accurate code recognition is possible.

しかも、上記スケール用スクウェア画像SSとして、二次元コードの長辺方向の長さを一辺とする第1の正方形画像と、二次元コードの短辺方向の長さを一辺とする第2の正方形画像とを用意し、ボード画像データ中から二次元コードを認識する場合には上記第1の正方形画像を使用し、一方カード画像データ中から二次元コードを認識する場合には上記第2の正方形画像を使用するようにしている。このため、多数の二次元コードが小さいサイズで含まれているボード画像データ中からでも、また比較的大きいサイズの二次元コードが1個だけ含まれているカード画像データ中からでも、二次元コードを効率良くかつ正確に認識することが可能となる。   Moreover, as the square image for scale SS, a first square image having a length in the long side direction of the two-dimensional code as one side and a second square image having a length in the short side direction of the two-dimensional code as one side. When the two-dimensional code is recognized from the board image data, the first square image is used. On the other hand, when the two-dimensional code is recognized from the card image data, the second square image is used. Like to use. For this reason, even if the board image data contains a large number of two-dimensional codes in a small size, or the card image data contains only one relatively large size two-dimensional code. Can be recognized efficiently and accurately.

なお、この発明は上記実施形態に限定されるものではない。例えば、前記実施形態ではデータ記述部DTの左右に切り出し用シンボル部SS,SEを配置する場合を例にとって説明したが、データ記述部DTの上下に切り出し用シンボル部SS,SEを配置するようにしてもよい。また、切り出し用シンボル部における方向指示パターンの形状と固有色についても、任意に設定できる。さらに、データ記述部の各セルの色についても白と黒に限定されるものではなく、白と青や白と赤など、その他の色の組み合わせを使用できる。   The present invention is not limited to the above embodiment. For example, in the above-described embodiment, the case where the clipping symbol portions SS and SE are arranged on the left and right of the data description portion DT has been described as an example. However, the clipping symbol portions SS and SE are arranged above and below the data description portion DT. May be. In addition, the shape and specific color of the direction indicating pattern in the cutout symbol portion can be arbitrarily set. Further, the color of each cell in the data description section is not limited to white and black, and other color combinations such as white and blue, white and red, and the like can be used.

その他、データ記述部を構成するセルの数やサイズ、二次元配列の構成、第1及び第2の位置検出用パターンのサイズや形状、データ記述部に対する配置位置、二次元コードの作成手順とその内容、スケール用スクウェア及びシンボルテンプレートの構成とその作成方法などについても、この発明の要旨を逸脱しない範囲で種々変形して実施できる。   In addition, the number and size of cells constituting the data description part, the configuration of the two-dimensional array, the size and shape of the first and second position detection patterns, the arrangement position with respect to the data description part, the procedure for creating the two-dimensional code The contents, the configuration of the scale square and the symbol template, and the creation method thereof can be variously modified and implemented without departing from the gist of the present invention.

要するにこの発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を適宜組み合せてもよい。   In short, the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.

この発明に係わる二次元コードの用途の一つである会議支援システムの一実施形態を示す概略構成図。The schematic block diagram which shows one Embodiment of the meeting assistance system which is one of the uses of the two-dimensional code concerning this invention. 図1に示すシステムにおける会議情報の記録の様子を示す図。The figure which shows the mode of the recording of the meeting information in the system shown in FIG. 図1に示すシステムで使用されるカードの構成を示す図。The figure which shows the structure of the card | curd used with the system shown in FIG. この発明の一実施形態に係わる二次元コードの構成を示す図。The figure which shows the structure of the two-dimensional code concerning one Embodiment of this invention. 図4に示した二次元コードを作成する装置の構成の一例を示す機能ブロック図。The functional block diagram which shows an example of a structure of the apparatus which produces the two-dimensional code shown in FIG. 図5に示した二次元コード作成装置における二次元コードの作成手順とその内容を示すフローチャート。The flowchart which shows the production procedure and the content of the two-dimensional code in the two-dimensional code production apparatus shown in FIG. データ記述部へのコードデータの記述手順とその内容を示すフローチャート。The flowchart which shows the description procedure and the content of the code data to a data description part. シンボルテンプレートの作成手順とその内容を示すフローチャート。The flowchart which shows the preparation procedure and the content of the symbol template. スケール用スクウェアの作成手順とその内容を示すフローチャート。The flowchart which shows the creation procedure of the square for scale, and its content. 図5に示した二次元コード作成装置により作成されるデータ記述部の一例を示す図。The figure which shows an example of the data description part produced by the two-dimensional code production apparatus shown in FIG. 図5に示した二次元コード作成装置により作成されるチェックパターンの一例を示す図。The figure which shows an example of the check pattern produced by the two-dimensional code production apparatus shown in FIG. 図5に示した二次元コード作成装置により実行される切り出し用シンボル部のサイズ調整の一例を説明するための図。The figure for demonstrating an example of the size adjustment of the symbol part for a cutting performed by the two-dimensional code production apparatus shown in FIG. 図5に示した二次元コード作成装置により作成される二次元コードの一例を示す図。The figure which shows an example of the two-dimensional code produced by the two-dimensional code production apparatus shown in FIG. 図5に示した二次元コード作成装置により作成されるシンボルテンプレートの一例を示す図。The figure which shows an example of the symbol template produced by the two-dimensional code production apparatus shown in FIG. 図5に示した二次元コード作成装置により作成されるスケール用スクウェアの一例を示す図。The figure which shows an example of the square for a scale produced with the two-dimensional code production apparatus shown in FIG.

符号の説明Explanation of symbols

SV…サーバ装置、VI…ボード撮像装置、CA…カード撮像装置、通信ネットワーク…NW、PC1〜PCk…ユーザ端末、1…ボード、21〜2i…カード、21A…意見記入エリア、21B…2次元コード記入エリア、AS…二次元コード作成装置、BS…コード認識装置、DT…データ記述部、SS,SE…切り出し用シンボル部、11…CPU、12…バス、13…プログラムメモリ、13a…作成条件入力制御プログラム、13b…シンボルサイズ制御プログラム、13c…シンボルテンプレート作成プログラム、13d…二次元コード作成プログラム、13e…スケール用スクウェア作成プログラム、13f…データ出力制御プログラム、14…データメモリ、14a…作成条件記憶エリア、14b…二次元コード記憶エリア、14c…シンボルテンプレート記憶エリア、14d…スケール用スクウェア記憶エリア、14e…コード属性データ記憶エリア、15…入力I/F、16…出力I/F、17…送信I/F、18…入力デバイス、19…ディスプレイ、20…プリンタ。   SV ... Server device, VI ... Board imaging device, CA ... Card imaging device, communication network ... NW, PC1-PCk ... User terminal, 1 ... Board, 21-2i ... Card, 21A ... Opinion entry area, 21B ... Two-dimensional code Entry area, AS ... Two-dimensional code creation device, BS ... Code recognition device, DT ... Data description part, SS, SE ... Symbol part for extraction, 11 ... CPU, 12 ... Bus, 13 ... Program memory, 13a ... Input of creation conditions Control program, 13b ... Symbol size control program, 13c ... Symbol template creation program, 13d ... Two-dimensional code creation program, 13e ... Scale creation program, 13f ... Data output control program, 14 ... Data memory, 14a ... Creation condition storage Area, 14b ... Two-dimensional code storage area 14c ... Symbol template storage area, 14d ... Square storage area for scale, 14e ... Code attribute data storage area, 15 ... Input I / F, 16 ... Output I / F, 17 ... Transmission I / F, 18 ... Input device, 19 ... display, 20 ... printer.

Claims (8)

複数のセルを二次元配列し、これらのセルを第1及び第2の色のいずれかに設定することによりコードを表現するコードデータ記述部と、
前記コードデータ記述部の両端部にそれぞれ配置され、当該コードデータ記述部の存在位置を示す位置検出用パターン部と
を具備することを特徴とする二次元コード。
A code data description part that represents a code by two-dimensionally arranging a plurality of cells and setting these cells to one of the first and second colors;
A two-dimensional code, comprising: a position detection pattern portion that is disposed at both ends of the code data description portion and indicates a position where the code data description portion exists.
前記コードデータ記述部は、二次元コードの正当性を表すチェックパターンを含むことを特徴とする請求項1記載の二次元コード。   The two-dimensional code according to claim 1, wherein the code data description unit includes a check pattern indicating the validity of the two-dimensional code. 前記位置検出用パターン部は、前記コードデータ記述部の存在方向を形状により表す方向指示パターンを有することを特徴とする請求項1記載の二次元コード。   The two-dimensional code according to claim 1, wherein the position detection pattern portion has a direction indication pattern that represents a direction in which the code data description portion exists by a shape. 前記位置検出用パターン部は、当該位置検出用パターン部固有の第3の色に設定されてなることを特徴とする請求項1乃至3のいずれかに記載の二次元コード。   The two-dimensional code according to any one of claims 1 to 3, wherein the position detection pattern portion is set to a third color unique to the position detection pattern portion. 複数のセルを二次元配列し、これらのセルを第1及び第2の色のいずれかに設定することによりコードを表現するコードデータ記述部と、
前記コードデータ記述部の両端部にそれぞれ配置され、当該コードデータ記述部の存在位置を示す位置検出用パターン部と
を、表示してなる二次元コード表示媒体。
A code data description part that represents a code by two-dimensionally arranging a plurality of cells and setting these cells to one of the first and second colors;
A two-dimensional code display medium, which is arranged at both ends of the code data description part and displays a position detection pattern part indicating an existing position of the code data description part.
前記コードデータ記述部は、二次元コードの正当性を表すチェックパターンを含むことを特徴とする請求項5記載の二次元コード表示媒体。   6. The two-dimensional code display medium according to claim 5, wherein the code data description unit includes a check pattern indicating the validity of the two-dimensional code. 前記位置検出用パターン部は、前記コードデータ記述部の存在方向を形状により表す方向指示パターンを有することを特徴とする請求項5記載の二次元コード表示媒体。   6. The two-dimensional code display medium according to claim 5, wherein the position detection pattern portion has a direction indication pattern that represents the direction in which the code data description portion exists by a shape. 前記位置検出用パターン部は、当該位置検出用パターン部固有の第3の色に設定されてなることを特徴とする請求項5乃至7のいずれかに記載の二次元コード表示媒体。   The two-dimensional code display medium according to claim 5, wherein the position detection pattern portion is set to a third color unique to the position detection pattern portion.
JP2005051783A 2005-02-25 2005-02-25 Two-dimensional code and two-dimensional code display medium Pending JP2006236134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005051783A JP2006236134A (en) 2005-02-25 2005-02-25 Two-dimensional code and two-dimensional code display medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005051783A JP2006236134A (en) 2005-02-25 2005-02-25 Two-dimensional code and two-dimensional code display medium

Publications (1)

Publication Number Publication Date
JP2006236134A true JP2006236134A (en) 2006-09-07

Family

ID=37043692

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005051783A Pending JP2006236134A (en) 2005-02-25 2005-02-25 Two-dimensional code and two-dimensional code display medium

Country Status (1)

Country Link
JP (1) JP2006236134A (en)

Similar Documents

Publication Publication Date Title
US9846797B2 (en) Method for producing indicators and processing apparatus and system utilizing the indicators
CN103218595B (en) The recognition methods of a kind of terminal and Quick Response Code
CN102667913B (en) Augmented reality system method and apparatus for displaying an item image in acontextual environment
CN100517368C (en) Positionally encoded document image analysis and labele
KR101026580B1 (en) Active embedded interaction coding
CN1744104B (en) Method and device for determining captured array position
DE202014011491U1 (en) Mobile device with improved user interface for reading code symbols
US20130153662A1 (en) Barcode Photo-image Processing System
KR20190095651A (en) Apparatus for generating training data for character learning and method thereof
Zhang et al. Viscode: Embedding information in visualization images using encoder-decoder network
JP2008145611A (en) Information processor and program
CN104751094A (en) Article with visual code, visual code reading apparatus and information conveying method
KR100905705B1 (en) Method for Providing Electronic Note Service by Using Digital Paper and Pen, System and Computer-Readable Recording Medium with Program Therefor
JP2007043456A (en) Qr-code preparation program, computer readable-recording medium with the program stored, qr-code preparation apparatus, and qr-code preparation method
JP4247190B2 (en) Two-dimensional code recognition device and program
JP4542050B2 (en) Digital pen input system
JP4206078B2 (en) Two-dimensional code creation device and its program
JP2006236134A (en) Two-dimensional code and two-dimensional code display medium
US8649055B2 (en) Image processing apparatus and computer readable medium
CN107644245A (en) Three value two-dimensional code generation methods, coding/decoding method and device
JP2023533297A (en) Segmentation of consecutive dynamic scans
JP4741363B2 (en) Image processing apparatus, image processing method, and image processing program
JP7142071B2 (en) GEOGRAPHIC INFORMATION CAPTURE SYSTEM, GEOGRAPHIC INFORMATION CAPTURE METHOD AND PROGRAM
JP2015135701A (en) Two-dimensional code, image reader, image reading method, program, and storage medium
JP2006079286A (en) Bar code, its cell and bar code display medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090818

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091013

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100126