JP4058478B2 - Optical information reading method - Google Patents

Optical information reading method Download PDF

Info

Publication number
JP4058478B2
JP4058478B2 JP2003184802A JP2003184802A JP4058478B2 JP 4058478 B2 JP4058478 B2 JP 4058478B2 JP 2003184802 A JP2003184802 A JP 2003184802A JP 2003184802 A JP2003184802 A JP 2003184802A JP 4058478 B2 JP4058478 B2 JP 4058478B2
Authority
JP
Japan
Prior art keywords
information
partial information
partial
code
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2003184802A
Other languages
Japanese (ja)
Other versions
JP2005018579A (en
Inventor
昌宏 原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2003184802A priority Critical patent/JP4058478B2/en
Publication of JP2005018579A publication Critical patent/JP2005018579A/en
Application granted granted Critical
Publication of JP4058478B2 publication Critical patent/JP4058478B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、所定のデータが部分データに分割された状態で各部分データ毎に表現された複数個の情報コードを光学的に読取るための読取方法およびその方法を用いた光学的情報読取装置に関する。
【0002】
【従来の技術】
従来より光学的情報読取装置は、POSシステム,OAシステムおよびFAシステム等に広く利用されており、例えば紙面等に印刷表示されたバーコードや二次元コード等の情報コードを光学的に読取るための装置として一般に普及している。このような情報コードを例えば紙面などに印刷表示するためには所定の表示スペースを確保する必要があり、その必要不可欠な表示スペースは情報コードの情報量に応じて規定されている。
【0003】
一般に、情報コードで表現する所定のデータの情報量が多くなればなるほど表示スペースは大きくなる。そこで近年、このような表示スペースに制限が存在する場合に備えて、所定のデータを部分データに分割し各部分データ毎に部分情報コードで表現し、所定のデータを複数個の部分情報コードで表現することが近年実施されている。尚、特許文献1には、希望する読取対象に隣接する別の読取対象の情報が誤って読取られてしまうことを防止することができる光学的情報読取装置の一例が開示されている。
【0004】
【特許文献1】
特開2001−147987号公報
【0005】
【発明が解決しようとする課題】
複数個の部分情報コードを光学的に読取るときに部分情報コードを一個ずつ光学的情報読取装置の読取視野領域内に入れて読取る読取装置が提供されているが、複数個の部分情報コードを一個ずつ読取ると読取,解読時間が長くなるため好ましくない。
【0006】
本発明は、上記事情に鑑みてなされたものであり、その目的は、複数個の部分情報コードを読取る読取時間を短縮することができる光学的情報読取装置およびその読取方法を提供することにある。
【0007】
【課題を解決するための手段】
請求項記載の発明によれば、読取視野領域における部分情報コードを含む画像データを取込み、取込まれた画像データに含まれる部分情報コードを一括して解読するため、複数個の部分情報コードを読取る場合であっても、読取時間を短縮することができる。
【0008】
しかも、部分情報コードが情報パターンおよび特定パターンとからなるものである場合には、取込まれた画像データから特定パターンおよびその個数を検出し、検出された特定パターンの個数に基づいて画像データに含まれる部分情報コードの個数を判定し、部分情報コードの特定パターンを位置基準として判定された個数分の部分情報コードを解読するため、読取視野領域内に含まれる部分情報コードを全て光学的に読取ることができる。
【0009】
請求項2記載の発明によれば、読取装置本体に予め設定されると共に部分情報コードの序列情報や読取対象物情報に対応する解読対象の部分情報コードを解読成功した場合には他の部分情報コードの解読を終了するため、解読対象に設定された部分情報コードを解読する場合には、取込まれた画像データに含まれる部分情報コードをすべて解読する必要がなくなり、解読対象の部分情報コードを素早く読取完了することができる。
請求項3記載の発明によれば、請求項1または2記載の発明において、部分情報コードが情報パターンおよび複数個の特定パターンとからなるものである場合には、取込まれた画像データから複数個の特定パターンを抽出し、抽出された複数個の特定パターン間の距離等のパラメータを算出し、算出されたパラメータに対して所定の評価演算式に基づく演算処理を行い所定の評価基準を満たすか否かを判定し、所定の評価基準を満たすことが判定された場合に抽出された複数個の特定パターンを部分情報コードの位置基準と見なし解読するため、個々の部分情報コード中に複数個の特定パターンを有していると共に読取視野領域の中に複数個の部分情報コードが含まれたとしても、所定の評価基準が適切に設定されていれば、複数個の特定パターンをランダムに抽出してその特定パターンを位置基準として解読することに比較して、素早く解読処理を成功させることができる。
【0010】
請求項4記載の発明によれば、請求項1ないし3の何れかに記載の発明において、部分情報コードが情報パターンと当該情報パターンの位置を特定するための位置基準となる特定パターンとからなるものである場合には、取込まれた画像データから複数個の特定パターンを検出し、検出された複数個の特定パターンに基づいて取込まれた画像データに含まれる部分情報コードの全体の外形を検出し、当該検出されている部分情報コードの全体の外形および複数個の特定パターンに基づいて部分情報コード間の境界を検出するため、個々の部分情報コードの境界を検出するときに素早く検出することができる。
【0011】
ところで、このように部分情報コードを一括解読する場合には、複数個の部分情報コードを読取視野領域の略全体で画像データを取込むことが多い。したがって、例えば画像データを取込むときに、読取装置側の光学的特性により読取視野領域の明るさの斑(例えば、端部分が中央部分に比較して暗い場合等)がある場合には、一括して解読したとしても全ての部分情報コードを解読失敗として判定してしまう。一括解読を失敗した場合には、再度画像データを取込み一括解読することになるが時間を浪費してしまう。
【0012】
そこで、請求項5記載の発明によれば、請求項1ないし4の何れかに記載の発明において、部分情報コードが情報パターンと当該情報パターンの位置を特定するための位置基準となる特定パターンとからなり、さらにそれらの情報パターンの示す情報にそれぞれ、部分情報コードの分割数情報および序列情報が含まれている場合には、複数個のうちの何れかの部分情報コードが解読された後、解読された部分情報コードの位置,情報パターンの分割数情報および序列情報を対応させて記憶し、取込まれた画像データに含まれる複数個の部分情報コードを全て解読成功するまでに解読失敗した場合には再度画像データを取込み、再度取込まれた画像データに含まれる複数個の部分情報コードを再度解読する前には記憶された部分情報コードの位置,情報パターンの分割数情報および序列情報を読出し、解読された部分情報コードの位置以外の部分情報コードを優先的に再度解読するため、解読失敗した場合にも一度解読成功した部分情報コードを再度解読する必要がなくなり、解読処理を素早く行うことができる。
【0013】
請求項2ないし5の何れかに記載の発明において、請求項6記載の発明のように、特定パターンが幾何学的なパターンまたは部分情報コードのあらかじめ定められた場所に位置する明暗パターンからなっている場合には、部分情報コードを位置特定するための位置基準として適したものとすることができる。尚、幾何学的なパターンとは、方形・三角形・菱形・多角形・円形・L字形・コの字形などからなるパターン,およびそのパターンを組み合わせたパターンをも含んでいることを示している。
【0014】
請求項7記載の発明によれば、請求項1ないし6の何れかに記載の発明において、部分情報コードが情報パターンとこの位置を特定するための位置基準となる特定パターンとからなるものである場合には、取込まれた画像データから特定パターンを2つ順次検出し、計測された距離間隔に基づいて検出されていない部分情報コードもしくは当該部分情報コードの特定パターンの位置を推定するため、特に取込まれた画像データに3つ以上の部分情報コードが含まれている場合には、推定された存在推定位置において部分情報コードもしくは部分情報コードの特定パターンを探索することができ、素早く部分情報コードを探索することができる。
【0016】
請求項記載の発明によれば、請求項1ないしの何れかに記載の光学的情報の読取方法により複数個の部分情報コードを解読できない場合には、解読された部分情報コードの序列情報や読取対象物情報等の情報を出力するため、解読できた部分情報コードの示す情報を出力することができる。しかも、解読されていない部分情報コードが存在することを報知するため、部分情報コードを解読できていないことを操作者に対して通知することができる。
【0017】
【発明の実施の形態】
(第1の実施形態)
以下本発明を、二次元コード読取装置に適用した第1の実施形態について、図1ないし図5を参照しながら説明する。
図2は、二次元コード読取装置の電気的構成を概略的に示している。
光学的情報読取装置としての二次元コード読取装置(以下、読取装置本体と称する)1は、明暗パターンのセルが二次元マトリックス状に配置されて構成されたQRコード等の二次元情報コードBを光学的に読取るためのものである。本実施形態においては、QRコードを読取る実施形態を説明する。
【0018】
読取装置本体1は、電源回路2,制御回路3,記憶手段としてのメモリ4,操作部5,照明駆動回路6,照射部7,結像手段8,センサ駆動回路9,光学的センサ10,波形整形部11,外部インタフェイス部12,報知手段としての表示部13を備えている。制御回路3は、本発明の解読手段,取込手段として機能するものである。電源回路2は、例えばAC/DC変換器により構成されるもので、外部から供給された交流電源を直流に変換し読取装置本体1の全構成に直流電源供給するようになっている。
【0019】
制御回路3は、例えばマイクロコンピュータにより構成されており制御用プログラムに基づいて、読取装置本体1を電気的に制御するようになっている。操作部5は、例えばトリガーキーや数字キー等の各種操作設定用キーが設けられており、操作者等によりトリガーキーが操作されると操作信号が制御回路3に与えられ、制御回路3の制御に基づいて読取装置本体1が動作する。照明駆動回路6は、制御回路3の制御に基づいて照射部7に駆動信号を与える。照射部7は、例えばLED等により構成されており、照明駆動回路6から駆動信号が与えられると読取対象Aに光を照射する。
【0020】
結像手段8は、例えばレンズにより構成されており、照射部7から読取対象Aに照射され反射した光を結像し光学的センサ10に反射光を導く。光学的センサ10は例えばエリアセンサとも称されており、CCD等の受光素子が二次元平面上に配列されており、読取対象Aに反射した反射光を光電変換する。この光学的センサ10で露光するための露光時間は、制御回路3により設定可能に構成されている。
【0021】
センサ駆動回路9は、光学的センサ10の受光素子から画素信号を出力させるためのクロックを光学的センサ10に与えるように構成されており、制御回路3がセンサ駆動回路9を介して光学的センサ10を駆動制御すると、光学的センサ10は光電変換した信号を波形整形部11に与えるようになっている。
【0022】
波形整形部11は、光学的センサ10により光電変換された信号を増幅し輝度レベルの信号を制御回路3に与える。波形整形部11の増幅率は、制御回路3により設定可能に構成されている。外部インタフェイス部12は、制御回路3と外部装置(図示せず)との間でデータを入出力するようになっている。
【0023】
<部分情報コードについて>
ここで、読取装置本体1が光学的に読取る対象としている部分情報コードについて説明する。図3は、二次元情報コードの一例を示している。二次元情報コードBBは、情報パターンB1,および位置基準となる位置決めパターン(特定パターン)B2とからなっている。一般に、二次元情報コードBで表現する必要性の有る全データの情報量が多くなるに従い表示スペースDが大きくなる。例えばQRコードの場合には、白黒(明暗)の小さな正方形セルが縦横方向に配列され、ある所定大の正方形に形成されているので、表示スペースDが直方形状であってQRコードで表現すべき全データの情報量が多い場合には、全データ情報が含まれる一つのQRコードを形成し当該表示スペースDに表示しようとしても表示しきれない場合がある(図3(a)参照)。したがって、全データを部分データに分割し、各部分データ毎に部分情報コードBで表現し当該表示スペースDに表示させている(図3(b)参照)。このような部分情報コードは、連結コードとも称されている。
【0024】
図3(a)および(b)に示すようなQRコードの場合、その位置決めパターン(特定パターン)B2は、外枠(暗点),中枠(明点),内枠(暗点)に組み合わされて形成されておりその明暗パターンの割合は1(暗点):1(明点):3(暗点):1(明点):1(暗点)で規定されており、部分情報コードBを位置特定するための位置基準として用いられる(図3参照)。
【0025】
QRコードによる部分情報コードBの場合、各々の部分情報コードBに含まれる情報パターンB1部分のデータは、連結モード識別子,コード番号情報,分割数情報,パリティ部,データ部を含んでいる。
【0026】
このうち連結モード識別子は、当該情報コードが所定のデータが分割された状態で各部分データ毎に表現された部分的な情報コード(すなわち部分情報コード)であるか,もしくは1つの独立した情報コードであるかを判別するための識別部(フラグ)を示している。コード番号情報は、部分情報コードの序列情報として機能する番号情報を示しており、当該部分情報コードが何番目の部分情報コードであるかを判別するための識別部を示している。また分割数情報は、情報パターンが何分割されているかを判別するための識別部を示している。さらにパリティ部は、一連の各部分情報コードに全て同一の符号が割り当てられており、他の情報コードと誤判別しないように設けられている識別部である。データ部は、本来のデータ値と誤り訂正用の誤り訂正コードを含んでいる。
【0027】
上記構成の作用について、図1をも参照しながら説明する。
読取装置本体1の読取視野領域A(図2参照)内に複数個の部分情報コードが含まれるように設定された状態で、操作部5のトリガスイッチが操作者により操作されると、制御回路3に読取指示信号が与えられ、読取装置本体1は、図1に示すような複数個の部分情報コードの一括解読処理を開始する。このとき、制御回路3は、S1において、露光条件を設定する(S1)。この露光条件とは、光学的センサ10の露光時間および波形整形部11における増幅回路の増幅率を示しており、制御回路3の制御に基づいて設定される。
【0028】
制御回路3は、光学的センサ10の読取視野領域Aにおいて画像データを取込む(S2)。このように制御回路3が、波形整形部11から一画像領域分の画像データを取込むときには、一画素毎に輝度レベルを検出し、ある所定の第1のしきい値以上の輝度レベルを明点(白),ある所定の第2のしきい値以下の輝度レベルを暗点(黒)に対応するように二値化データに変換(明点,暗点を表わすデジタル値に変換)し、一画素毎にメモリ4に対して画像データの二値化データを格納することで画像データを取込む。そして、制御回路3は、メモリ4に記憶された画像データから部分情報コードを切出す。
【0029】
<部分情報コード切出し処理について>
この情報コード切出し処理とは、読取視野領域Aの画像データ内に含まれる情報コードを背景画像と切り分け、部分情報コードを切出す処理を示している。本実施形態の情報コード切出し処理においては、制御回路3は取込まれた画像データに含まれる複数個の部分情報コードを個々の部分情報コードに分割する処理をも行っている。以下、その処理内容について図4を参照しながら説明する。
この図4において、制御回路3は、取込まれた画像データから位置決めパターンB2を探索し検出する(T1)。このとき、制御回路3は取込まれた画像データ中に位置決めパターンB2が含まれる個数を計数して検出する(T2)。制御回路3は、この位置決めパターンB2が含まれる個数に基づいて画像データに含まれる部分情報コードBの個数を判定する。具体的には、図3に示すQRコードの場合、位置決めパターンB2は部分情報コードB全体のうち左上部,右上部,左下部の3箇所に位置しているため、画像データ中に位置決めパターンB2の存在する個数が9である場合には9/3=3個と判定することができる。
【0030】
制御回路3は、メモリ4に記憶された画像データから位置決めパターンB2の全体の外形を検出し、これと共に複数個の位置決めパターンB2に基づいて部分情報コードB間の境界を検出する。具体的には、制御回路3は比例計算により各部分情報コードB間の境界を算出し、この境界で個々の部分情報コードB2を切出す(T4〜T6)。この詳細な具体例を図5に示している。この図5(a)において制御回路3は位置決めパターンB2のコーナを検出する。制御回路3は各位置決めパターンB2が直線状に並ぶ一辺側および他辺側のコーナを検出する(図5(a)中C1からC2部分,およびC3からC4部分参照)。また制御回路3は、他の位置決めパターンB2のコーナ(図5(a)中において例えば符号C5部分,またそれ以外のコーナも含む)の位置を検出する。
【0031】
そして制御回路3は、各コーナ間の距離を算出する。例えばC1とC5間,C5とC2間,C3とC4間の距離を算出する。その後、一辺部のコーナC3およびC4間の距離と略同一距離となるコーナ間距離を探索することにより、コーナC3およびC4に対応するコーナとして、コーナC1およびC5を他辺部の対応コーナと推定する。
【0032】
制御回路3は、対応するコーナ間の比例関係を利用し部分情報コードBの外形を検出する。すなわち(C1とC5間距離):(C5とC2間距離)=(C3とC4間距離):(C4とC6間距離)となることを利用し、比例計算によりコーナC6の位置を算出することで、複数個の部分情報コードBの全体外形を検出する。
【0033】
尚、前述したようにQRコードは、QRコード全体のうち位置決めパターンB2の位置が予め定められているため、その位置決めパターンB2の存在するコーナの検出は、位置決めパターンB2の存在しないコーナ(例えば、部分情報コードBの外形の右下部のコーナC6参照)の検出に比して時間を要することなく検出することができる。したがって、上述のように比例計算を利用することにより複数個の部分情報コードBの全体の外形を素早く検出することができる。
【0034】
以下、個々の部分情報コードBの切出し方法について図5(b)を参照しながら説明する。部分情報コードBの全体外形を検出した後、制御回路3は、個々の部分情報コードBの境界を検出する。具体的には制御回路3は、位置決めパターンB2の上辺部(他辺部)における位置決めパターンB2のコーナC7およびC8等を検出し、部分情報コードBの位置決めパターンB2の存在しないコーナC9およびC10を上述同様にして比例計算により位置を算出する。これにより、部分情報コードB,B間の境界を比例計算により算出し検出することができ、個々の部分情報コードBの境界を検出して切出し処理を行う際には、素早く行うことができる。制御回路3は、部分情報コードBの全体外形および個々の部分情報コードB,Bの境界を検出すると、部分情報コードBの切出し処理を終了する。
【0035】
図1に戻って、制御回路3は、部分情報コードBの切出し処理が終了すると、そのうち一の部分情報コードBを、対応して検出された位置決めパターンB2を位置基準として解読する(S4)。この解読処理については、従来より行われている情報コードの解読(デコード)処理と同様であるため、その説明を省略する。ここで、制御回路3は、部分情報コードBの解読処理が失敗すると(S5:NO)、再度S2の露光条件の設定処理から処理を繰り返すが、解読が成功すると(S5:YES)、解読された情報コードが部分情報コードBであるか否かを判定する。
【0036】
具体的に説明すると、制御回路3は、解読された部分情報コードBの情報パターンB1中の連結モード識別子を判別することにより、部分情報コードBであるか否かを判定する。このとき、制御回路3は単独の情報コードであった場合には終了するが、部分情報コードBであることが判別されると、S7以降の処理を行う。
【0037】
制御回路3は、S7において、解読された部分情報コードBの位置を内蔵のメモリに記憶させる。例えば、図5において、制御回路3が読取視野領域Aにおける一端部(例えば左端部)に位置する部分情報コードBを解読した場合には、算出された部分情報コードBのコーナC1,C3,C8,C10の位置を記憶させることになる。さらに制御回路3は、分割数情報とコード番号情報をメモリに記憶させ(S8)、解読されたデータを記憶させる(S9)。
【0038】
そして制御回路3は、次の部分情報コードBを解読する(S10)。このとき制御回路3は、例えば、読取視野領域Aの画像データの中央部に含まれる部分情報コードBを解読する。制御回路3は次の部分情報コードBを解読成功した場合には、全てのコード番号情報が揃ったか否かを判定し、揃っていなければS7から繰り返し処理を行う。S11において制御回路3は、解読成功しなければ再度露光条件を設定し(S13)、画像データを取込み(S14)、明点と暗点の輝度レベルの差が所定レベル以上あるか否かを判定する(S15)。
【0039】
このS15の処理を具体的に説明すると、制御回路3は、波形整形部11から一画像領域分の画像データが与えられた場合、全体の画像データのうちで明点と想定される輝度レベルの最小値と、暗点と想定される輝度レベルの最大値とを比較し、その差が所定レベル以上あるか否かを判定する。これは、露光条件が適切に設定されているか否か,さらに部分情報コードBが画像データに含まれているか否かを判定するために行われる。すなわち制御回路3は、その差が所定レベル以上なければ、露光条件が適切に設定されていないか,もしくは部分情報コードBが画像データに含まれていないと判定し、再度S13に戻り処理を行う。逆に制御回路3は、その差が所定レベル以上ある場合には、部分情報コードBが画像データに含まれていると判定し、S16に移行する。そして制御回路3は、記憶された位置以外の部分情報コードBの切出し処理を行う(S16)。
【0040】
具体的には、制御回路3は、解読された部分情報コードBの分割数情報およびコード番号情報を読出し、解読された部分情報コードBの位置以外の部分情報コードBを切出す。例えば制御回路3は、中央部の部分情報コードBを切出す場合には、図5(b)において複数個の部分情報コード全体のコーナC1,C3,C2,C6の位置とコーナC7の位置からコーナC9の位置を算出し、中央部の部分情報コードBのみを切出す。すなわち、コーナC8およびC10の位置を算出することなく切出し処理を行う。これにより、部分情報コードBの切出し処理を素早く行うことができる。
【0041】
そして、制御回路3は読取視野領域Aにおける中央部の部分情報コードBを優先的に解読する(S17)。このとき、一端部に位置する部分情報コードBを解読することなく、中央部の部分情報コードBを優先的に解読するため、一度解読成功した部分情報コードBを再度解読処理することがなくなり、解読処理を素早く行うことができる。
【0042】
制御回路3が解読成功すればS12に移行するが、解読成功しない場合には再度S13に戻り処理を繰り返す。これらのS7〜S18が全てのコード番号情報が揃う(S12:YES)まで繰り返される。すなわち図5に示すように、部分情報コードBが、読取装置本体1の制御回路3に取込まれた画像データに複数個含まれている場合には、制御回路3が一端部,中央部,他端部に位置する3個の部分情報コードBを解読成功すればコード番号情報が揃う。
【0043】
そして制御回路3は、それぞれの部分情報コードBのデータを合成し(S19)終了する。このようにして制御回路3は、複数個の部分情報コードBを含む画像データを取込み、複数個の部分情報コードを一括解読することができる。尚、制御回路3は読取視野領域Aに含まれる複数個の部分情報コードBを一括解読することが望ましい。
【0044】
このような本実施形態によれば、複数個の部分情報コードBを含む画像データを取込み、取込まれた画像データに含まれる複数個の部分情報コードを一括して解読するため、読取時間を短縮することができる。
【0045】
制御回路3は、複数個の部分情報コードBを含む画像データを取込み、一の部分情報コードBを解読し、次の部分情報コードを解読成功しない場合には、解読された部分情報コードの位置以外の部分情報コードの切出し処理および解読処理を行うので、読取時間の短縮化を図ることができる。
【0046】
(第2の実施形態)
図6および図7は、本発明の第2の実施形態を説明するためのもので、第1の実施形態と異なるところは、部分情報コードの切出し処理動作にある。第1の実施形態と同一部分については同一符号を付してその説明を省略する。
部分情報コードBの切出し処理を概略的に示す図6において、前述した第1の実施形態と同様に制御回路3は、取込まれた画像データの中から位置決めパターンB2を検出し(U1)、位置決めパターンB2の個数を検出する(U2)。制御回路3は、部分情報コードBの個数を判定する(U3)。このとき、制御回路3は、部分情報コードBに含まれる3個の位置決めパターンB2を適宜抽出する(U4)。尚、位置決めパターンB2は、検出された位置決めパターンB2の中から適宜抽出される。この後、制御回路3は、位置決めパターンB2間の距離および角度(パラメータに相当)を算出し(U5)、位置決めパターンB2の位置と対応させて評価値を順次メモリに記憶させる(U6)。この評価値fは、(1)式のように表わされる。
【0047】
f = α・abs(θ−90°)+β・abs(x/y−1) …(1)
この(1)式が本発明の所定の評価演算式に相当している。ここでabsは絶対値関数を表わしており、α,βは正の係数、θは抽出された3個の各位置決めパターンB2の中心間のなす角、x,yは各位置決めパターンB2間の距離を表わしている。
【0048】
この評価値fは、角度θが90°に近づくほど小さな値が得られると共に、距離xが距離yに近づくほど小さな値が得られるようになっており、0が最良値である。このとき制御回路3は、評価値fがしきい値以下(許容誤差範囲内)であるか否かを判定することで、評価基準を満たすか否かを判定する(U7)。制御回路3は、その評価値fがしきい値以下となる場合には、この境界で切出し処理を行う(U8)。
【0049】
以下この処理を具体的に説明する。例えば図7を用いて説明すると、位置決めパターンB2のうちXYDの3つの位置決めパターンB2が抽出されると、頂点をXとしても、X−Y間の距離cおよびX−D間の距離bが同一にはならないため、評価値fは比較的大きな値が得られる。したがってXYDの3つの位置決めパターンB2で切出し処理および解読処理を行うことはない。
【0050】
位置決めパターンB2のうちXYZの3つの位置決めパターンB2が抽出されたとき、頂点をXとする場合には、X−Y間の距離cおよびX−Z間の距離aが略同一となり、θ=∠YXZ=略90°になるため、評価値fは略0に近い値が得られる。またその他、頂点をYやZとした場合には、評価値fは大きな値が得られる。すなわち、XYZの3つの位置決めパターンB2が抽出され評価値fの値が評価基準を満たしていれば、そのXYZの位置決めパターンB2を外枠端に位置する二次元平面範囲において切出し処理が行われる。
【0051】
この場合の切出し処理は、QRコードの場合、3個の位置決めパターンB2が抽出されたときには、その3個の位置決めパターンB2を外枠端部に位置する二次元平面範囲が決定されるため、該外枠端内の平面範囲で切出し処理が行われる。したがって、制御回路3は、Xを頂点としたYおよびZの位置決めパターンB2を抽出して切出し処理を行う。
【0052】
特にQRコードを切出す場合には、抽出された位置特定パターンB2をランダムに抽出してQRコードを切出して解読すると、当該処理に多大な時間を必要とすることが確認されており、前述したように所定の評価基準を満たすことが判定された後、抽出された3個の位置決めパターンB2に基づいて切出し処理を行うことで、切出し処理時間や解読時間を短縮させることができる。
【0053】
U8において切出し処理が行われると、制御回路3は、部分情報コードB2を全て切出したか否かを判定し(U9)、全ての部分情報コードB2の切出し処理を終了していない場合には再度U4から処理を繰り返す。
【0054】
他方、制御回路3は、U7において、評価値fがしきい値を超えていると判定した場合には、位置決めパターンB2を抽出する組合せが他に存在するか否かを判定する(U10)。すなわち制御回路3は、U4において3個の位置決めパターンB2を適宜抽出するが、この位置決めパターンB2の組合せが他に存在するか否かを判定する。制御回路3は、この組合せが他に存在すると判定すれば(U10:YES)再びU4に戻り処理を繰り返す。
【0055】
他方、制御回路3は、U10において、位置決めパターンB2の組合せが他に存在しないことを判定した場合には、U6においてメモリに記憶されている評価値fの中で最小値(すなわち最良)が得られた3個の位置決めパターンB2を選択し(U11)、当該選択された位置決めパターンB2の境界で切出し処理を行う。そしてU9において、制御回路3が全ての部分情報コードB2を切出した場合には、部分情報コードBの切出し処理を終了する。切出し処理が終了すると、制御回路3はこのように抽出され切出された3個の位置決めパターンB2を部分情報コードBの位置基準と見なして解読する。尚、他の部分については前述した実施形態と略同様のためその説明を省略する。
【0056】
このような本実施形態によれば、取込まれた画像データの中から3個の位置決めパターンB2を抽出し、抽出された3個の位置決めパターンB2間の距離,角度のパラメータを算出し、距離および角度に基づいて(1)式の評価値fがしきい値以下となることを条件として、抽出された3個の位置決めパターンB2を部分情報コードBの位置基準と見なして解読するため、解読処理を素早く成功させることができる。
【0057】
(第3の実施形態)
図8および図9は、本発明の第3の実施形態を説明するためのものであり、第1の実施形態と異なるところは一括解読処理にある。以下、第1の実施形態と異なる部分についてのみ説明する。
データコード(部分情報コードBに相当)は、DataMatrixコードとも称されており、そのパターンの一例を図9に示すように、それぞれ、タイミングセルと称されるセルからなる情報パターンB1と、1つのL字形の位置決めパターン(特定パターン)B2を備えて構成されている。読取装置本体1は、このL字形の位置決めパターンB2を検出することで、位置決めパターンB2を位置基準としてデータコードを解読することができる。
【0058】
この動作を、図8を参照しながら以下説明する。制御回路3は、露光条件を設定する(V1)。そして制御回路3は、読取視野領域Aにおける複数個の部分情報コードBを含む画像データを取込み(V2)、画像データから暗点を探索することで一端(左端)側から部分情報コードBのL字形の位置決めパターンB2を検出した後、部分情報コードBを切出し処理することにより解読し、次の中央部のL字形の位置決めパターンB2を検出し、さらにこの検出された部分情報コードBを切出し処理し解読終了するまで処理を行う(V3〜V8)。
【0059】
このようにして、2つのL字形の位置決めパターンB2の検出が順次行われると、制御回路3は、L字形の位置決めパターンB2を構成する端部B2aの暗点の距離間隔Lを計測し(V9)、左端部(前回)に検出された部分情報コードBの端部B2aから中央部(次)に検出された部分情報コードBの端部B2a方向に向かう延長方向に、計測された距離間隔Lだけ離間した位置付近にL字形の部分情報コードBの存在位置を推定する(V10)。このとき制御回路3は位置決めパターンB2が存在する探索エリアEを設定する。
【0060】
この探索エリアEは、検出されていない右端部に位置するL字形の位置決めパターンB2の存在推定範囲を示している(図9参照)。制御回路3は、この探索エリアE内で位置決めパターンB2の暗点やL字形の位置決めパターンB2を探索し検出する(V11)。
【0061】
その後、制御回路3は、位置決めパターンB2が検出された部分情報コードBを切出し処理して解読する(V12)。制御回路3は、情報パターンB1を解読する際に得られるコード番号情報が揃ったか否かを判定し(V13)、揃っていなければV10に戻りさらに存在位置を推定する処理を行う。制御回路3は、コード番号情報が揃えばデータを合成し(V14)、データを出力し終了する。
【0062】
この場合、制御回路3は、右端部の部分情報コードBを探索する際には、位置決めパターンB2の存在位置が推定された探索エリアEのみしか探索しないので、図9に示すように、画像データが取込まれたときに中央部の部分情報コードBの位置と右端部の部分情報コードBの位置との間に汚部Fが画像データに含まれた状態で取込まれたとしても、この汚部Fを暗点として検出することなく右端部の部分情報コードBを検出することができる。これにより素早く部分情報コードBを探索し検出することができる。
【0063】
(第4の実施形態)
図10ないし図14は、本発明の第4の実施形態を説明するためのもので、工場等の検査ラインで部分情報コードを読取り解読する実施形態を示している。この検査ラインにおける概略的な構成を示す図10において、検査ラインZの両側方には読取装置本体1…1が4つの工程▲1▼〜▲4▼毎に設置されている。これらの読取装置本体1…1には、それぞれの外部インタフェース部13を介してこれらを統括制御するコンピュータ14が接続されている。
【0064】
検査ラインZ上を流れる被検査物Yには、それぞれ、4個の部分情報コードB…Bが印刷されたラベルXが貼付されている。図11には、このラベルXの内容を概略的に示している。ラベルXに印刷されている4つの部分情報コードB…Bの情報パターンB1のデータ値には、それぞれ、被検査物Yの品番情報,被検査物YのロットNo情報,被検査物Yの製造日情報,被検査物Yの製造場所情報等の読取対象物情報が含まれて表現されている。
【0065】
このとき被検査物Yを検査ラインZ上で移動させながら、ラベルXに印刷された部分情報コードB…Bを各工程▲1▼〜▲4▼毎に解読する作業ライン工程を設定することができる(図12および図14参照)。すなわち、各読取装置本体1のメモリ4には、各工程▲1▼〜▲4▼において解読対象となる各読取対象物情報(品番情報,ロットNo情報,製造日情報,製造場所情報)が記憶されており、各制御回路3は、読取視野領域Aに含まれる部分情報コードBを一括解読する際には、この情報に基づいて読取装置本体1毎に設定された解読対象の部分情報コードBを解読する。この一括解読の詳細については前述実施形態と同様であるためその説明を省略する。
【0066】
したがって、工程▲1▼では、品番情報を示す部分情報コードBを解読し、工程▲2▼ではロットNo情報を示す部分情報コードBを解読し、工程▲3▼では製造日情報を示す部分情報コードBを解読し、工程▲4▼では製造場所情報を示す部分情報コードBを解読する。したがって、各工程▲1▼〜▲4▼で必要な部分データのみを部分情報コードBとして生成し、所定の表示スペースを有するラベルXに印刷し被検査物Yに貼付することで、各工程▲1▼〜▲4▼の読取装置本体1の制御回路3は必要な部分情報コードBを確実に解読することができる。
【0067】
また、図13に制御動作の流れの一部をフローチャートで示すように、読取装置本体1に設定されたコード番号情報や読取対象物情報に対応する部分情報コードBを解読する場合に、解読対象の部分情報コードBを解読成功したことが判定されたときには部分情報コードBの解読を直ぐに終了するようにしても良い。
【0068】
具体的には、前述実施形態で説明したS9とS10との間にS20に示す処理を挿入して構成すると良い。この場合、S1〜S19の処理については、前述実施形態と同様であるためその詳細な説明を省略するが、S9において解読されたデータを記憶し、S20において制御回路3は、読取装置本体1のメモリ4に記憶されたコード番号情報や読取対象物情報に対応する解読対象の部分情報コードBを解読した場合には終了し(YES)、解読対象の部分情報コードBを解読しない場合には(NO)、S10において次の部分情報コードBを解読する。したがって、解読対象の部分情報コードBを解読する場合、取込まれた画像データに含まれる部分情報コードBの全てを解読する必要がなくなり、素早く読取完了することができる。
【0069】
図14(a)および(b)は、読取視野領域状態の一例を示している。
部分情報コードBを読取,解読する場合には、読取視野領域A内に部分情報コードBの全体が含まれない限り部分情報コードBを全て読取,解読することができない。したがって、図14に示すように、読取視野領域Aの領域が極端に小さい場合には、全ての部分情報コードBを読取視野領域A内に入れることが困難な場合もある(図14(a)参照)。尚、図14中、「1/5」のうち、「5」は分割数情報を示しており、「1」はコード番号を示している。
【0070】
そこで制御回路3は、取込まれた画像データに含まれる部分情報コードBを解読後、解読された部分情報コードBの情報(例えばコード番号情報,分割数情報,解読されたデータ等)を表示部13に表示させる。制御回路3は、当該情報を外部インタフェイス部12を介してコンピュータ14に送信し、コンピュータ14はこの情報をディスプレイに表示させる。尚、図10にはコード番号情報および分割数情報を表示部13およびディスプレイに表示した一例を示している。
【0071】
すなわち、工程▲3▼の読取装置本体1を例に挙げて説明すると、図14(a)に示すように、分割数「5」で分割された部分情報コードBのうちコード番号「2,3,4」の部分情報コードBが読取視野領域Aに入る場合には、制御回路3は、これらの部分情報コードBを解読することができるので、当該コード番号「2,3,4」および分割数情報「5」を表示部13に表示させる。すると、この読取装置本体1を操作する操作者はこの表示部13を見ることによりコード番号「1」の部分情報コードBが読取視野領域Aに入っていないことを理解する。したがって、操作者が工程▲3▼の読取装置本体1にコード番号「1」の部分情報コードBを読取らせる場合には、操作者が被検査物Yの位置を移動させたり、検査ラインZが流れることにより、コード番号「1」の部分情報コードBを読取装置本体1の制御回路3に解読させることができる。この場合には、制御回路3は、解読された部分情報コードBのコード番号情報「1,2,3,4」および分割数情報「5」を表示部13に表示させる。
【0072】
このようにして、複数個の部分情報コードBを全て解読できない場合には、解読された部分情報コードBのコード番号を表示部13に表示させると共に、分割数情報を表示部13に表示させることで、解読されていない部分情報コードBが存在することを通知するため、部分情報コードBの少なくとも一部が未解読であることを操作者に対して通知することができ、利便性を向上することができる。
【0073】
図10に示すように、コンピュータ14が各読取装置本体1…1の情報(コード番号情報,分割数情報)を一括管理するように構成した場合には、コンピュータ14はディスプレイに当該情報を表示させるため、部分情報コードBの少なくとも一部が未解読であることをコンピュータ14の操作者に通知することができる。この場合、各読取装置本体1の表示部13は必要に応じて設ければ良い。
【0074】
(他の実施形態)
本発明は、前記実施形態に限定されるものではなく、例えば以下のような拡張もしくは変形が可能である。
バーコード等の一次元コードを読取る光学的情報読取装置に適用しても良い。
【0075】
第3の実施形態においては、3つの部分情報コードBを探索する実施形態を示したが、4以上の部分情報コードを探索するようにしても良い。
報知する手段として表示部13に表示させる実施形態を示したが、ブザー等を鳴動させるように構成しても良い。
【0076】
QRコードやデータコードに適用した実施形態を示したが、当然他の二次元コードに適用しても良いし、バーコード等の一次元コードに適用しても良い。
【図面の簡単な説明】
【図1】 本発明の第1の実施形態の動作を示すフローチャート
【図2】 電気的構成図
【図3】 (a)表示スペースに対する情報コードの配置関係を示す図、(b)表示スペースに対する部分情報コードの配置関係を示す図
【図4】 情報コード切出し処理を示すフローチャート
【図5】 (a)(b)部分情報コードの切出し処理の説明図
【図6】 本発明の第2の実施形態を示す図4相当図
【図7】 特定パターン抽出時のその評価基準の説明図
【図8】 本発明の第3の実施形態を示す図1相当図
【図9】 部分情報コードの特定パターンの位置を推定する方法を示す図
【図10】 本発明の第4の実施形態における部分情報コードの読取状態を示す図
【図11】 部分情報コードにデータを分割して表示させた一例を示す図
【図12】 作業ライン工程に適用した一例を示す図
【図13】 追加処理を示すフローチャート
【図14】 (a)(b)読取視野領域に含まれる部分情報コードの状態を示す図
【符号の説明】
1は読取装置本体(光学的情報読取装置)、3は制御回路(解読手段,取込手段)、4はメモリ(記憶手段)、10は光学的センサ、13は表示部(報知手段)、Aは読取視野領域、Bは部分情報コード、B1は情報パターン、B2は位置決めパターン(特定パターン)である。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a reading method for optically reading a plurality of information codes expressed for each partial data in a state where predetermined data is divided into partial data, and an optical information reading device using the method. .
[0002]
[Prior art]
Conventionally, optical information readers are widely used in POS systems, OA systems, FA systems, etc., for example, for optically reading information codes such as barcodes and two-dimensional codes printed and displayed on paper. Generally used as a device. In order to print and display such an information code on, for example, paper, it is necessary to secure a predetermined display space, and the indispensable display space is defined according to the information amount of the information code.
[0003]
Generally, the display space increases as the information amount of predetermined data expressed by an information code increases. Therefore, in recent years, in preparation for the case where such a display space is limited, predetermined data is divided into partial data, each partial data is represented by a partial information code, and the predetermined data is expressed by a plurality of partial information codes. In recent years, expression has been carried out. Note that Patent Document 1 discloses an example of an optical information reading apparatus that can prevent information on another reading target adjacent to a desired reading target from being erroneously read.
[0004]
[Patent Document 1]
JP 2001-147987 A
[0005]
[Problems to be solved by the invention]
There is provided a reading device for reading a plurality of partial information codes by placing each partial information code in a reading visual field region of the optical information reading device one by one. Reading each time is not preferable because reading and decoding time becomes longer.
[0006]
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide an optical information reading apparatus and a reading method thereof that can shorten the reading time for reading a plurality of partial information codes. .
[0007]
[Means for Solving the Problems]
  Claim1According to the described invention, in the case of reading a plurality of partial information codes in order to capture image data including partial information codes in the reading visual field region and collectively decode the partial information codes included in the captured image data Even so, the reading time can be shortened.
[0008]
  Moreover,When the partial information code is composed of an information pattern and a specific pattern, the specific pattern and its number are detected from the captured image data, and are included in the image data based on the number of detected specific patterns. The number of partial information codes is determined, and all partial information codes included in the reading visual field area are optically read in order to decode the partial information codes corresponding to the number determined based on the specific pattern of the partial information code. Can do.
[0009]
  According to the second aspect of the present invention, when the partial information code to be decoded corresponding to the order information of the partial information code and the information to be read is successfully decoded, other partial information is preset. When the partial information code set as the decryption target is decrypted to finish the decryption of the code, it is not necessary to decrypt all the partial information codes included in the captured image data, and the partial information code to be decrypted Can be read quickly.
  According to the invention described in claim 3, in the invention described in claim 1 or 2, when the partial information code is composed of an information pattern and a plurality of specific patterns, a plurality of images are taken from the captured image data. Extract a specific pattern, calculate parameters such as the distance between the extracted specific patterns, and perform a calculation process based on a predetermined evaluation formula for the calculated parameter to satisfy a predetermined evaluation standard In order to interpret a plurality of specific patterns extracted when it is determined that the predetermined evaluation standard is satisfied as a position reference of the partial information code, a plurality of specific patterns are included in each partial information code. Even if the reading visual field region includes a plurality of partial information codes, if a predetermined evaluation criterion is appropriately set, a plurality of specific patterns are included. Compare the over emissions extracted at random to decrypt the particular pattern as the position reference can be a successful quick decryption processing.
[0010]
According to the invention described in claim 4, in the invention described in any one of claims 1 to 3, the partial information code includes an information pattern and a specific pattern serving as a position reference for specifying the position of the information pattern. If it is, a plurality of specific patterns are detected from the captured image data, and the entire outline of the partial information code included in the image data captured based on the detected plurality of specific patterns Is detected, and the boundary between the partial information codes is detected based on the entire external shape of the detected partial information code and a plurality of specific patterns, so that it is quickly detected when the boundary of each partial information code is detected. can do.
[0011]
By the way, when partial information codes are decoded at once as described above, it is often the case that a plurality of partial information codes are taken in image data in substantially the entire reading visual field region. Therefore, for example, when image data is taken in, if there is a brightness spot in the reading visual field area due to optical characteristics on the reading device side (for example, when the end portion is darker than the center portion), all at once. Even if it is decrypted, all partial information codes are determined as decryption failures. If batch decoding fails, image data is taken in again and batch decoding is performed, but time is wasted.
[0012]
Therefore, according to the invention described in claim 5, in the invention described in any one of claims 1 to 4, the partial information code includes an information pattern and a specific pattern serving as a position reference for specifying the position of the information pattern. In addition, when the information indicated by those information patterns includes division number information and rank information of partial information codes, after any partial information code of a plurality is decoded, The position of the decoded partial information code, the information pattern division number information and the order information are stored in association with each other, and the decoding fails until all of the partial information codes included in the captured image data are successfully decoded. In such a case, the image data is taken in again, and the position of the stored partial information code is determined before re-decoding a plurality of partial information codes included in the retaken image data. , In order to read the division number information and the order information of the information pattern and to decode the partial information code other than the position of the decoded partial information code preferentially again. There is no need for decryption, and the decryption process can be performed quickly.
[0013]
In the invention according to any one of claims 2 to 5, as in the invention according to claim 6, the specific pattern comprises a geometric pattern or a light / dark pattern located at a predetermined location of the partial information code. If it is, it can be suitable as a position reference for locating the partial information code. It should be noted that the geometric pattern includes a pattern composed of a square, a triangle, a rhombus, a polygon, a circle, an L shape, a U shape, and a combination of the patterns.
[0014]
According to the invention described in claim 7, in the invention described in any one of claims 1 to 6, the partial information code includes an information pattern and a specific pattern serving as a position reference for specifying the position. In this case, two specific patterns are sequentially detected from the captured image data, and the partial information code not detected based on the measured distance interval or the position of the specific pattern of the partial information code is estimated. In particular, when three or more partial information codes are included in the captured image data, a partial information code or a specific pattern of the partial information code can be searched at the estimated existence estimated position, and a partial Information codes can be searched.
[0016]
  Claim8According to the described invention, claims 1 to7If a plurality of partial information codes cannot be decoded by the optical information reading method described in any of the above, information such as the order information of the decoded partial information codes and information on the object to be read is output, so that the information can be decoded. The information indicated by the partial information code can be output. Moreover, since it is notified that there is a partial information code that has not been decoded, it is possible to notify the operator that the partial information code has not been decoded.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
(First embodiment)
Hereinafter, a first embodiment in which the present invention is applied to a two-dimensional code reader will be described with reference to FIGS.
FIG. 2 schematically shows an electrical configuration of the two-dimensional code reader.
A two-dimensional code reading device (hereinafter referred to as a reading device main body) 1 as an optical information reading device has a two-dimensional information code B such as a QR code configured by arranging cells of a light and dark pattern in a two-dimensional matrix. It is for optical reading. In this embodiment, an embodiment for reading a QR code will be described.
[0018]
The reading device body 1 includes a power supply circuit 2, a control circuit 3, a memory 4 as a storage unit, an operation unit 5, an illumination drive circuit 6, an irradiation unit 7, an imaging unit 8, a sensor drive circuit 9, an optical sensor 10, and a waveform. A shaping unit 11, an external interface unit 12, and a display unit 13 as notification means are provided. The control circuit 3 functions as the decoding means and the taking-in means of the present invention. The power supply circuit 2 is configured by, for example, an AC / DC converter, and converts AC power supplied from the outside into DC and supplies DC power to all the components of the reader main body 1.
[0019]
The control circuit 3 is constituted by, for example, a microcomputer, and electrically controls the reading apparatus main body 1 based on a control program. The operation unit 5 is provided with various operation setting keys such as a trigger key and a numeric key. For example, when the trigger key is operated by an operator or the like, an operation signal is given to the control circuit 3, and the control of the control circuit 3 is performed. The reading apparatus main body 1 operates based on the above. The illumination drive circuit 6 gives a drive signal to the irradiation unit 7 based on the control of the control circuit 3. The irradiation unit 7 is configured by, for example, an LED or the like, and irradiates the reading object A with light when a driving signal is given from the illumination driving circuit 6.
[0020]
The image forming means 8 is constituted by, for example, a lens, forms an image of the light irradiated and reflected from the irradiation unit 7 onto the reading object A, and guides the reflected light to the optical sensor 10. The optical sensor 10 is also referred to as an area sensor, for example. Light receiving elements such as CCDs are arranged on a two-dimensional plane, and photoelectrically convert reflected light reflected on the reading object A. The exposure time for exposure by the optical sensor 10 is configured to be set by the control circuit 3.
[0021]
The sensor driving circuit 9 is configured to give a clock for outputting a pixel signal from the light receiving element of the optical sensor 10 to the optical sensor 10, and the control circuit 3 passes the optical sensor through the sensor driving circuit 9. When driving 10 is controlled, the optical sensor 10 provides the waveform shaping unit 11 with a photoelectrically converted signal.
[0022]
The waveform shaping unit 11 amplifies the signal photoelectrically converted by the optical sensor 10 and gives a signal of a luminance level to the control circuit 3. The amplification factor of the waveform shaping unit 11 is configured to be set by the control circuit 3. The external interface unit 12 inputs and outputs data between the control circuit 3 and an external device (not shown).
[0023]
<About partial information code>
Here, the partial information code that is read by the reading device main body 1 will be described. FIG. 3 shows an example of the two-dimensional information code. The two-dimensional information code BB includes an information pattern B1 and a positioning pattern (specific pattern) B2 serving as a position reference. Generally, the display space D increases as the information amount of all data that needs to be expressed by the two-dimensional information code B increases. For example, in the case of the QR code, small black and white (bright and dark) square cells are arranged in the vertical and horizontal directions and are formed in a certain predetermined square, so that the display space D has a rectangular shape and should be expressed by the QR code. When the amount of information of all data is large, there is a case where one QR code including all data information is formed and cannot be displayed even if it is displayed in the display space D (see FIG. 3A). Therefore, all data is divided into partial data, and each partial data is expressed by a partial information code B and displayed in the display space D (see FIG. 3B). Such a partial information code is also called a concatenated code.
[0024]
In the case of a QR code as shown in FIGS. 3A and 3B, the positioning pattern (specific pattern) B2 is combined with an outer frame (dark spot), a middle frame (bright spot), and an inner frame (dark spot). The ratio of the light-dark pattern is defined as 1 (dark spot): 1 (light spot): 3 (dark spot): 1 (light spot): 1 (dark spot), and the partial information code Used as a position reference for locating B (see FIG. 3).
[0025]
In the case of the partial information code B based on the QR code, the data of the information pattern B1 portion included in each partial information code B includes a connection mode identifier, code number information, division number information, a parity part, and a data part.
[0026]
Among these, the connection mode identifier is a partial information code (that is, a partial information code) expressed for each partial data in a state where predetermined data is divided, or one independent information code. The identification part (flag) for discriminating whether it is is shown. The code number information indicates number information that functions as order information of the partial information code, and indicates an identification unit for determining which number of partial information code the partial information code is. The division number information indicates an identification unit for determining how many pieces of the information pattern are divided. Furthermore, the parity part is an identification part provided so that the same code is allotted to each of the series of partial information codes and is not mistakenly distinguished from other information codes. The data portion includes an original data value and an error correction code for error correction.
[0027]
The operation of the above configuration will be described with reference to FIG.
When the trigger switch of the operation unit 5 is operated by the operator in a state where a plurality of partial information codes are included in the reading visual field area A (see FIG. 2) of the reading apparatus body 1, the control circuit 3 is given a reading instruction signal, and the reading apparatus main body 1 starts a batch decoding process of a plurality of partial information codes as shown in FIG. At this time, the control circuit 3 sets exposure conditions in S1 (S1). This exposure condition indicates the exposure time of the optical sensor 10 and the amplification factor of the amplification circuit in the waveform shaping unit 11, and is set based on the control of the control circuit 3.
[0028]
The control circuit 3 captures image data in the reading visual field area A of the optical sensor 10 (S2). As described above, when the control circuit 3 takes in the image data for one image area from the waveform shaping unit 11, the brightness level is detected for each pixel, and the brightness level equal to or higher than a predetermined first threshold value is set. A point (white), a luminance level equal to or lower than a predetermined second threshold value is converted into binarized data so as to correspond to a dark point (black) (converted to a digital value representing a light point or a dark point), Image data is taken in by storing binary data of image data in the memory 4 for each pixel. Then, the control circuit 3 cuts out the partial information code from the image data stored in the memory 4.
[0029]
<About partial information code extraction processing>
This information code cutting process indicates a process of cutting out a partial information code by separating an information code included in the image data of the reading visual field area A from a background image. In the information code cutout process of the present embodiment, the control circuit 3 also performs a process of dividing a plurality of partial information codes included in the captured image data into individual partial information codes. The processing contents will be described below with reference to FIG.
In FIG. 4, the control circuit 3 searches and detects the positioning pattern B2 from the captured image data (T1). At this time, the control circuit 3 counts and detects the number of positioning patterns B2 included in the captured image data (T2). The control circuit 3 determines the number of partial information codes B included in the image data based on the number including the positioning pattern B2. Specifically, in the case of the QR code shown in FIG. 3, since the positioning pattern B2 is located at three positions, the upper left part, the upper right part, and the lower left part of the entire partial information code B, the positioning pattern B2 is included in the image data. In the case where the number of exists is 9, it can be determined that 9/3 = 3.
[0030]
The control circuit 3 detects the entire outer shape of the positioning pattern B2 from the image data stored in the memory 4, and also detects the boundary between the partial information codes B based on the plurality of positioning patterns B2. Specifically, the control circuit 3 calculates a boundary between each partial information code B by proportional calculation, and cuts out each partial information code B2 at this boundary (T4 to T6). A detailed example of this is shown in FIG. In FIG. 5A, the control circuit 3 detects the corner of the positioning pattern B2. The control circuit 3 detects corners on one side and the other side where the positioning patterns B2 are arranged in a straight line (refer to the C1 to C2 and C3 to C4 portions in FIG. 5A). Further, the control circuit 3 detects the position of the corner of another positioning pattern B2 (including, for example, the portion C5 in FIG. 5A and other corners).
[0031]
Then, the control circuit 3 calculates the distance between the corners. For example, the distances between C1 and C5, between C5 and C2, and between C3 and C4 are calculated. Thereafter, by searching for a distance between corners that is substantially the same distance as the distance between corners C3 and C4 on one side, corners C1 and C5 are estimated as corresponding corners on the other side as corners corresponding to corners C3 and C4. To do.
[0032]
The control circuit 3 detects the outer shape of the partial information code B using the proportional relationship between the corresponding corners. That is, using the fact that (distance between C1 and C5) :( distance between C5 and C2) = (distance between C3 and C4) :( distance between C4 and C6), the position of corner C6 is calculated by proportional calculation. Thus, the entire outer shape of the plurality of partial information codes B is detected.
[0033]
As described above, since the position of the positioning pattern B2 in the QR code is determined in advance as described above, the corner where the positioning pattern B2 exists is detected by a corner where the positioning pattern B2 does not exist (for example, Compared with the detection of the corner C6 at the lower right of the outer shape of the partial information code B), it can be detected without taking time. Therefore, the entire outer shape of the plurality of partial information codes B can be quickly detected by using proportional calculation as described above.
[0034]
Hereinafter, a method for cutting out each partial information code B will be described with reference to FIG. After detecting the entire outer shape of the partial information code B, the control circuit 3 detects the boundaries of the individual partial information codes B. Specifically, the control circuit 3 detects the corners C7 and C8 of the positioning pattern B2 on the upper side (other side) of the positioning pattern B2, and detects the corners C9 and C10 where the positioning pattern B2 of the partial information code B does not exist. The position is calculated by proportional calculation in the same manner as described above. Thereby, the boundary between the partial information codes B and B can be calculated and detected by proportional calculation, and when the boundary of each partial information code B is detected and cut out, it can be performed quickly. When the control circuit 3 detects the entire outer shape of the partial information code B and the boundaries between the individual partial information codes B and B, the control circuit 3 ends the extraction process of the partial information code B.
[0035]
Returning to FIG. 1, when the cutting process of the partial information code B is completed, the control circuit 3 decodes one of the partial information codes B using the positioning pattern B2 detected correspondingly as a position reference (S4). Since this decoding process is the same as the conventional decoding (decoding) process of the information code, its description is omitted. Here, when the decoding process of the partial information code B fails (S5: NO), the control circuit 3 repeats the process from the exposure condition setting process of S2 again, but if the decoding is successful (S5: YES), it is decoded. It is determined whether or not the information code is the partial information code B.
[0036]
Specifically, the control circuit 3 determines whether or not it is the partial information code B by determining the connection mode identifier in the information pattern B1 of the decoded partial information code B. At this time, the control circuit 3 ends if it is a single information code, but if it is determined that it is the partial information code B, the processing from S7 is performed.
[0037]
In S7, the control circuit 3 stores the decoded position of the partial information code B in the built-in memory. For example, in FIG. 5, when the control circuit 3 decodes the partial information code B located at one end (for example, the left end) in the reading visual field area A, the corners C1, C3, C8 of the calculated partial information code B are obtained. , C10 is stored. Further, the control circuit 3 stores the division number information and the code number information in the memory (S8), and stores the decoded data (S9).
[0038]
Then, the control circuit 3 decodes the next partial information code B (S10). At this time, the control circuit 3 decodes, for example, the partial information code B included in the central portion of the image data in the reading visual field area A. When the next partial information code B is successfully decoded, the control circuit 3 determines whether or not all the code number information is prepared, and if not, repeats the process from S7. In S11, if the decoding is not successful, the control circuit 3 sets the exposure condition again (S13), fetches the image data (S14), and determines whether or not the difference between the brightness levels of the bright and dark spots is greater than or equal to a predetermined level. (S15).
[0039]
The processing of S15 will be described in detail. When the image data for one image area is given from the waveform shaping unit 11, the control circuit 3 has a luminance level assumed to be a bright point in the entire image data. The minimum value is compared with the maximum value of the luminance level assumed to be a dark spot, and it is determined whether or not the difference is greater than or equal to a predetermined level. This is performed in order to determine whether or not the exposure conditions are properly set and whether or not the partial information code B is included in the image data. That is, if the difference is not greater than or equal to the predetermined level, the control circuit 3 determines that the exposure condition is not set appropriately or the partial information code B is not included in the image data, and returns to S13 to perform the process again. . Conversely, if the difference is greater than or equal to the predetermined level, the control circuit 3 determines that the partial information code B is included in the image data, and proceeds to S16. Then, the control circuit 3 performs a cutting process of the partial information code B other than the stored position (S16).
[0040]
Specifically, the control circuit 3 reads the division number information and the code number information of the decoded partial information code B, and cuts out the partial information code B other than the position of the decoded partial information code B. For example, when the control circuit 3 cuts out the partial information code B at the center, in FIG. 5B, from the positions of the corners C1, C3, C2, C6 and the position of the corner C7 of the plurality of partial information codes. The position of the corner C9 is calculated, and only the partial information code B at the center is cut out. That is, the cutting process is performed without calculating the positions of the corners C8 and C10. Thereby, the cutting-out process of the partial information code B can be performed quickly.
[0041]
Then, the control circuit 3 preferentially decodes the partial information code B at the center in the reading visual field area A (S17). At this time, without decoding the partial information code B located at the one end, the central partial information code B is preferentially decoded, so that the partial information code B once successfully decoded is not decoded again, The decoding process can be performed quickly.
[0042]
If the control circuit 3 succeeds in decoding, the process proceeds to S12. If the decoding is not successful, the process returns to S13 and repeats the process. These S7 to S18 are repeated until all the code number information is obtained (S12: YES). That is, as shown in FIG. 5, when a plurality of partial information codes B are included in the image data taken in the control circuit 3 of the reading device body 1, the control circuit 3 has one end portion, a central portion, If the three partial information codes B located at the other end are successfully decoded, the code number information is obtained.
[0043]
Then, the control circuit 3 combines the data of the partial information codes B (S19) and ends. In this manner, the control circuit 3 can take in the image data including the plurality of partial information codes B and collectively decode the plurality of partial information codes. The control circuit 3 desirably decodes a plurality of partial information codes B included in the reading visual field area A at a time.
[0044]
According to the present embodiment, image data including a plurality of partial information codes B is taken in, and a plurality of partial information codes included in the captured image data are collectively decoded. It can be shortened.
[0045]
The control circuit 3 takes in image data including a plurality of partial information codes B, decodes one partial information code B, and if the next partial information code is not successfully decoded, the position of the decoded partial information code Since the partial information code cutting process and decoding process other than the above are performed, the reading time can be shortened.
[0046]
(Second Embodiment)
FIG. 6 and FIG. 7 are for explaining the second embodiment of the present invention. The difference from the first embodiment resides in the partial information code cutting processing operation. The same parts as those in the first embodiment are denoted by the same reference numerals and the description thereof is omitted.
In FIG. 6 schematically showing the cutting process of the partial information code B, the control circuit 3 detects the positioning pattern B2 from the captured image data (U1) as in the first embodiment, The number of positioning patterns B2 is detected (U2). The control circuit 3 determines the number of partial information codes B (U3). At this time, the control circuit 3 appropriately extracts the three positioning patterns B2 included in the partial information code B (U4). The positioning pattern B2 is appropriately extracted from the detected positioning pattern B2. Thereafter, the control circuit 3 calculates the distance and angle (corresponding to the parameters) between the positioning patterns B2 (U5), and sequentially stores the evaluation values in the memory in correspondence with the positions of the positioning patterns B2 (U6). This evaluation value f is expressed as in equation (1).
[0047]
f = α · abs (θ−90 °) + β · abs (x / y−1) (1)
This expression (1) corresponds to a predetermined evaluation calculation expression of the present invention. Here, abs represents an absolute value function, α and β are positive coefficients, θ is an angle formed between the centers of the three extracted positioning patterns B2, and x and y are distances between the positioning patterns B2. Represents.
[0048]
The evaluation value f is such that a smaller value is obtained as the angle θ approaches 90 °, and a smaller value is obtained as the distance x approaches the distance y, with 0 being the best value. At this time, the control circuit 3 determines whether or not the evaluation standard is satisfied by determining whether or not the evaluation value f is equal to or less than a threshold value (within an allowable error range) (U7). When the evaluation value f is equal to or less than the threshold value, the control circuit 3 performs the cutting process at this boundary (U8).
[0049]
This process will be specifically described below. For example, referring to FIG. 7, when three positioning patterns B2 of XYD are extracted from the positioning patterns B2, the distance c between XY and the distance b between X-D are the same even if the vertex is X. Therefore, the evaluation value f is relatively large. Therefore, the cutting process and the decoding process are not performed with the three positioning patterns B2 of XYD.
[0050]
When the three positioning patterns B2 of XYZ are extracted from the positioning pattern B2, when the vertex is X, the distance c between XY and the distance a between X and Z are substantially the same, and θ = ∠ Since YXZ = approximately 90 °, the evaluation value f is approximately 0. In addition, when the vertex is set to Y or Z, a large evaluation value f is obtained. That is, if three positioning patterns B2 of XYZ are extracted and the value of the evaluation value f satisfies the evaluation criteria, the XYZ positioning pattern B2 is cut out in a two-dimensional plane range positioned at the outer frame end.
[0051]
In this case, in the case of the QR code, when the three positioning patterns B2 are extracted, the two-dimensional plane range where the three positioning patterns B2 are positioned at the outer frame end is determined. The cut-out process is performed in the plane range within the outer frame end. Therefore, the control circuit 3 extracts the Y and Z positioning patterns B2 having X as the apex, and performs the cutting process.
[0052]
In particular, in the case of cutting out a QR code, it has been confirmed that if the extracted position specifying pattern B2 is randomly extracted and the QR code is cut out and decoded, the processing requires a lot of time. Thus, after it is determined that the predetermined evaluation standard is satisfied, the extraction processing time and the decoding time can be shortened by performing the extraction processing based on the extracted three positioning patterns B2.
[0053]
When the cut-out process is performed in U8, the control circuit 3 determines whether or not all the partial information codes B2 have been cut out (U9). If the cut-out process for all the partial information codes B2 has not been completed, the control circuit 3 again returns to U4. Repeat the process.
[0054]
On the other hand, when it is determined in U7 that the evaluation value f exceeds the threshold value, the control circuit 3 determines whether there is another combination for extracting the positioning pattern B2 (U10). That is, the control circuit 3 appropriately extracts three positioning patterns B2 in U4, but determines whether there are other combinations of the positioning patterns B2. If it is determined that there is another combination (U10: YES), the control circuit 3 returns to U4 again and repeats the process.
[0055]
On the other hand, if the control circuit 3 determines in U10 that there is no other combination of the positioning pattern B2, the minimum value (that is, the best) is obtained from the evaluation values f stored in the memory in U6. The selected three positioning patterns B2 are selected (U11), and a cutting process is performed at the boundary of the selected positioning patterns B2. When the control circuit 3 cuts out all the partial information codes B2 in U9, the partial information code B cut-out process is terminated. When the cut-out process is completed, the control circuit 3 interprets the three positioning patterns B2 extracted and cut out in this way as the position reference of the partial information code B. The other parts are substantially the same as those of the above-described embodiment, and the description thereof is omitted.
[0056]
According to the present embodiment, three positioning patterns B2 are extracted from the captured image data, and parameters of distance and angle between the extracted three positioning patterns B2 are calculated. Since the extracted three positioning patterns B2 are regarded as the position reference of the partial information code B on the condition that the evaluation value f of the expression (1) is equal to or less than the threshold value based on the angle and the angle, the decoding is performed. Processing can be done quickly.
[0057]
(Third embodiment)
FIG. 8 and FIG. 9 are for explaining the third embodiment of the present invention, and the difference from the first embodiment is in the batch decoding process. Only the parts different from the first embodiment will be described below.
The data code (corresponding to the partial information code B) is also called a DataMatrix code. As shown in FIG. 9, an example of the pattern is an information pattern B1 made up of cells called timing cells, An L-shaped positioning pattern (specific pattern) B2 is provided. The reader main body 1 can decode the data code using the positioning pattern B2 as a position reference by detecting the L-shaped positioning pattern B2.
[0058]
This operation will be described below with reference to FIG. The control circuit 3 sets exposure conditions (V1). Then, the control circuit 3 takes in the image data including the plurality of partial information codes B in the reading visual field area A (V2), and searches for the dark spot from the image data, thereby the L of the partial information code B from one end (left end) side. After detecting the letter-shaped positioning pattern B2, the partial information code B is decoded by cutting it out, detecting the next central L-shaped positioning pattern B2, and then cutting out the detected partial information code B. Then, processing is performed until the decoding is completed (V3 to V8).
[0059]
When the detection of the two L-shaped positioning patterns B2 is sequentially performed in this way, the control circuit 3 measures the distance L between the dark spots of the end B2a constituting the L-shaped positioning pattern B2 (V9). ), A distance L measured in the extending direction from the end B2a of the partial information code B detected at the left end (previous) to the end B2a of the partial information code B detected at the center (next) The existence position of the L-shaped partial information code B is estimated in the vicinity of the position separated by only (V10). At this time, the control circuit 3 sets a search area E where the positioning pattern B2 exists.
[0060]
This search area E indicates the existence estimation range of the L-shaped positioning pattern B2 located at the right end that is not detected (see FIG. 9). The control circuit 3 searches and detects the dark spot of the positioning pattern B2 and the L-shaped positioning pattern B2 in the search area E (V11).
[0061]
Thereafter, the control circuit 3 cuts out and decodes the partial information code B from which the positioning pattern B2 has been detected (V12). The control circuit 3 determines whether or not the code number information obtained when decoding the information pattern B1 is complete (V13). If not, the control circuit 3 returns to V10 and further performs a process of estimating the presence position. The control circuit 3 combines the data when the code number information is complete (V14), outputs the data, and ends.
[0062]
In this case, when searching for the partial information code B at the right end, the control circuit 3 searches only for the search area E where the existence position of the positioning pattern B2 is estimated. Therefore, as shown in FIG. Even if the dirty portion F is included in the image data between the position of the partial information code B at the center and the position of the partial information code B at the right end when The partial information code B at the right end can be detected without detecting the dirty portion F as a dark spot. Thereby, the partial information code B can be searched and detected quickly.
[0063]
(Fourth embodiment)
FIGS. 10 to 14 are for explaining a fourth embodiment of the present invention, and show an embodiment in which a partial information code is read and decoded on an inspection line of a factory or the like. In FIG. 10 showing a schematic configuration of this inspection line, the reader main bodies 1... 1 are installed on both sides of the inspection line Z for each of the four steps (1) to (4). A computer 14 that performs overall control of these devices is connected to each of these reading device bodies 1...
[0064]
A label X on which four partial information codes B... B are printed is affixed to the inspection object Y flowing on the inspection line Z. FIG. 11 schematically shows the contents of the label X. The data value of the information pattern B1 of the four partial information codes B ... B printed on the label X includes the product number information of the inspection object Y, the lot number information of the inspection object Y, and the manufacture of the inspection object Y, respectively. Reading object information such as date information and manufacturing place information of the inspection object Y is included and expressed.
[0065]
At this time, while moving the inspection object Y on the inspection line Z, it is possible to set a work line process for decoding the partial information code B... B printed on the label X for each process (1) to (4). (See FIGS. 12 and 14). That is, the memory 4 of each reading device body 1 stores each reading object information (part number information, lot number information, manufacturing date information, manufacturing location information) to be decoded in each step (1) to (4). When each control circuit 3 collectively decodes the partial information code B included in the reading visual field area A, the partial information code B to be decoded set for each reading apparatus body 1 based on this information. Decipher. The details of the batch decoding are the same as those in the above-described embodiment, and thus description thereof is omitted.
[0066]
Therefore, in the process (1), the partial information code B indicating the product number information is decoded, in the process (2), the partial information code B indicating the lot number information is decoded, and in the process (3), the partial information indicating the manufacturing date information. The code B is decoded, and in the step (4), the partial information code B indicating the manufacturing location information is decoded. Therefore, only the necessary partial data is generated as the partial information code B in each step (1) to (4), printed on the label X having a predetermined display space, and affixed to the inspection object Y. The control circuit 3 of the reading device main body 1 1 to 4 can reliably decode the necessary partial information code B.
[0067]
Further, as shown in the flowchart of a part of the flow of the control operation in FIG. 13, when decoding the partial information code B corresponding to the code number information and the reading object information set in the reading device body 1, When it is determined that the partial information code B has been successfully decoded, the partial information code B may be immediately decoded.
[0068]
Specifically, the process shown in S20 may be inserted between S9 and S10 described in the above embodiment. In this case, since the processes in S1 to S19 are the same as those in the above-described embodiment, the detailed description thereof is omitted. However, the data decoded in S9 is stored, and in S20, the control circuit 3 causes the reading device body 1 to If the partial information code B to be decoded corresponding to the code number information and the reading object information stored in the memory 4 is decoded (YES), the partial information code B to be decoded is not decoded ( NO), the next partial information code B is decoded in S10. Therefore, when the partial information code B to be decoded is decoded, it is not necessary to decode all the partial information codes B included in the captured image data, and the reading can be completed quickly.
[0069]
FIGS. 14A and 14B show an example of the reading visual field region state.
When the partial information code B is read and decoded, the partial information code B cannot be read and decoded as long as the entire partial information code B is not included in the reading visual field area A. Therefore, as shown in FIG. 14, when the area of the reading visual field area A is extremely small, it may be difficult to put all the partial information codes B into the reading visual field area A (FIG. 14A). reference). In FIG. 14, among “1/5”, “5” indicates division number information, and “1” indicates a code number.
[0070]
Therefore, the control circuit 3 displays the information (for example, code number information, division number information, decoded data, etc.) of the decoded partial information code B after decoding the partial information code B included in the captured image data. Display on the unit 13. The control circuit 3 transmits the information to the computer 14 via the external interface unit 12, and the computer 14 displays this information on the display. FIG. 10 shows an example in which the code number information and the division number information are displayed on the display unit 13 and the display.
[0071]
That is, the reading apparatus main body 1 in step (3) will be described as an example. As shown in FIG. 14A, the code number “2, 3” of the partial information code B divided by the division number “5” is shown. , 4 "enters the reading visual field area A, the control circuit 3 can decode these partial information codes B, so that the code number" 2, 3, 4 "and the division Number information “5” is displayed on the display unit 13. Then, an operator who operates the reading device main body 1 understands that the partial information code B having the code number “1” does not enter the reading visual field region A by looking at the display unit 13. Therefore, when the operator causes the reading device main body 1 in step (3) to read the partial information code B having the code number “1”, the operator moves the position of the inspection object Y or checks the inspection line Z. , The partial information code B having the code number “1” can be decoded by the control circuit 3 of the reading apparatus main body 1. In this case, the control circuit 3 displays the code number information “1, 2, 3, 4” and the division number information “5” of the decoded partial information code B on the display unit 13.
[0072]
In this way, when all of the plurality of partial information codes B cannot be decoded, the code number of the decoded partial information code B is displayed on the display unit 13 and the division number information is displayed on the display unit 13. Therefore, since there is a notification that there is a partial information code B that has not been decoded, it is possible to notify the operator that at least a part of the partial information code B has not been decoded, thereby improving convenience. be able to.
[0073]
As shown in FIG. 10, when the computer 14 is configured to collectively manage the information (code number information, division number information) of each reading device body 1... 1, the computer 14 displays the information on the display. Therefore, it is possible to notify the operator of the computer 14 that at least a part of the partial information code B has not been decoded. In this case, the display unit 13 of each reading apparatus main body 1 may be provided as necessary.
[0074]
(Other embodiments)
The present invention is not limited to the embodiment described above, and can be expanded or modified as follows, for example.
You may apply to the optical information reader which reads one-dimensional code, such as a barcode.
[0075]
In the third embodiment, an embodiment in which three partial information codes B are searched is shown. However, four or more partial information codes may be searched.
Although an embodiment in which the information is displayed on the display unit 13 as a notification means has been described, a buzzer or the like may be sounded.
[0076]
Although the embodiment applied to a QR code or a data code has been shown, it may naturally be applied to other two-dimensional codes or a one-dimensional code such as a barcode.
[Brief description of the drawings]
FIG. 1 is a flowchart showing the operation of a first embodiment of the present invention.
[Fig. 2] Electrical configuration diagram
3A is a diagram showing an arrangement relationship of information codes with respect to a display space, and FIG. 3B is a diagram showing an arrangement relationship of partial information codes with respect to a display space.
FIG. 4 is a flowchart showing information code cutting processing;
FIGS. 5A and 5B are explanatory diagrams of partial information code cutting processing; FIG.
FIG. 6 is a view corresponding to FIG. 4 showing a second embodiment of the present invention.
FIG. 7 is an explanatory diagram of the evaluation criteria when extracting a specific pattern
FIG. 8 is a view corresponding to FIG. 1, showing a third embodiment of the present invention.
FIG. 9 is a diagram illustrating a method for estimating the position of a specific pattern of a partial information code.
FIG. 10 is a diagram showing a reading state of a partial information code in the fourth embodiment of the invention.
FIG. 11 is a diagram showing an example in which data is divided into partial information codes and displayed.
FIG. 12 is a diagram showing an example applied to a work line process
FIG. 13 is a flowchart showing additional processing.
FIGS. 14A and 14B are diagrams showing states of partial information codes included in a reading visual field region. FIGS.
[Explanation of symbols]
1 is a reader main body (optical information reader), 3 is a control circuit (decoding means, taking means), 4 is a memory (storage means), 10 is an optical sensor, 13 is a display unit (notification means), A Is a reading visual field area, B is a partial information code, B1 is an information pattern, and B2 is a positioning pattern (specific pattern).

Claims (8)

所定のデータが部分データに分割された状態で各部分データ毎に表現され読取視野領域に表示された複数個の部分情報コードを光学的に読取る方法において、
前記部分情報コードは、情報パターンと、当該情報パターンの位置を特定するための位置基準となる特定パターンとからなるものであって、
読取視野領域における部分情報コードを含む画像データを取込み、
取込まれた画像データから特定パターンおよびその個数を検出し、
検出された特定パターンの個数に基づいて画像データに含まれる部分情報コードの個数を判定し、
取込まれた画像データに含まれる前記判定された個数分の部分情報コードを、部分情報コードの特定パターンを位置基準として一括して解読することを特徴とする光学的情報の読取方法。
In a method of optically reading a plurality of partial information codes expressed for each partial data and displayed in a reading visual field area in a state where predetermined data is divided into partial data,
The partial information code is composed of an information pattern and a specific pattern serving as a position reference for specifying the position of the information pattern,
Capture image data including partial information code in the reading field area,
Detect specific patterns and their numbers from the captured image data,
Based on the number of detected specific patterns, determine the number of partial information codes included in the image data,
A method for reading optical information, comprising: collectively decoding the determined number of partial information codes included in captured image data using a specific pattern of the partial information code as a position reference .
所定のデータが部分データに分割された状態で各部分データ毎に表現され読取視野領域に表示された複数個の部分情報コードを光学的に読取る方法において、
読取視野領域における部分情報コードを含む画像データを取込み、
取込まれた画像データに含まれる部分情報コードを一括して解読し、
読取装置本体に予め設定されると共に部分情報コードの序列情報や読取対象物情報に対応する解読対象の部分情報コードを解読成功した場合には、他の部分情報コードの解読を終了することを特徴とする光学的情報の読取方法。
In a method of optically reading a plurality of partial information codes expressed for each partial data and displayed in a reading visual field area in a state where predetermined data is divided into partial data,
Capture image data including partial information code in the reading field area,
Partially decode the partial information code included in the captured image data ,
The decoding of the other partial information code is terminated when the partial information code to be decoded corresponding to the order information of the partial information code and the information to be read is successfully decoded. A method for reading optical information.
請求項1または2記載の光学的情報の読取方法において、
前記部分情報コードは、情報パターンと、当該情報パターンの位置を特定するための位置基準となる複数個の特定パターンとからなるものであって、
取込まれた画像データから複数個の特定パターンを抽出するステップと、
抽出された複数個の特定パターン間の距離等のパラメータを算出するステップと、
算出されたパラメータに対して所定の評価演算式に基づく演算処理を行い所定の評価基準を満たすか否かを判定するステップと、
前記所定の評価基準を満たすことが判定された場合に前記抽出された複数個の特定パターンを部分情報コードの位置基準と見なし解読するステップとを具備したことを特徴とする光学的情報の読取方法。
The method for reading optical information according to claim 1 or 2,
The partial information code is composed of an information pattern and a plurality of specific patterns serving as a position reference for specifying the position of the information pattern,
Extracting a plurality of specific patterns from the captured image data;
Calculating a parameter such as a distance between a plurality of extracted specific patterns;
A step of performing arithmetic processing based on a predetermined evaluation arithmetic expression for the calculated parameter and determining whether or not a predetermined evaluation criterion is satisfied;
An optical information reading method comprising: deciphering the plurality of extracted specific patterns as position references of partial information codes when it is determined that the predetermined evaluation standard is satisfied. .
請求項1ないし3の何れかに記載の光学的情報の読取方法において、
前記部分情報コードは、情報パターンと、当該情報パターンの位置を特定するための位置基準となる特定パターンとからなるものであって、
取込まれた画像データから複数個の特定パターンを検出するステップと、
検出された複数個の特定パターンに基づいて取込まれた画像データに含まれる部分情報コードの全体の外形を検出するステップと、
検出されている部分情報コードの全体外形および複数個の特定パターンに基づいて部分情報コード間の境界を検出するステップとを具備したことを特徴とする光学的情報の読取方法。
The method for reading optical information according to any one of claims 1 to 3,
The partial information code is composed of an information pattern and a specific pattern serving as a position reference for specifying the position of the information pattern,
Detecting a plurality of specific patterns from the captured image data;
Detecting the entire outer shape of the partial information code included in the image data captured based on the plurality of detected specific patterns;
And a step of detecting a boundary between the partial information codes based on the entire outer shape of the partial information code being detected and a plurality of specific patterns.
請求項1ないし4の何れかに記載の光学的情報の読取方法において、
前記部分情報コードは、情報パターンと、当該情報パターンの位置を特定するための位置基準となる特定パターンとからなるものであって、
複数個の部分情報コードの情報パターンの示す情報には、それぞれ、部分情報コードの分割数情報および序列情報が含まれ、
複数個のうちの何れかの部分情報コードが解読された後、解読された部分情報コードの位置,情報パターンの分割数情報および序列情報を対応させて記憶するステップと、
取込まれた画像データに含まれる複数個の部分情報コードを全て解読成功するまでに解読失敗した場合には再度前記画像データを取込むステップと、
再度取込まれた画像データに含まれる複数個の部分情報コードを再度解読する前には前記記憶された部分情報コードの位置,情報パターンの分割数情報および序列情報を読出すステップと、
解読された部分情報コードの位置以外の部分情報コードを優先的に再度解読するステップとを具備することを特徴とする光学的情報の読取方法。
The method for reading optical information according to any one of claims 1 to 4,
The partial information code is composed of an information pattern and a specific pattern serving as a position reference for specifying the position of the information pattern,
The information indicated by the information patterns of the plurality of partial information codes includes division number information and rank information of the partial information codes,
After the partial information code of any of the plurality is decoded, the step of storing the position of the decoded partial information code, the division number information of the information pattern and the rank information in correspondence with each other;
If the decoding fails before all the partial information codes included in the captured image data are successfully decoded, the step of capturing the image data again;
Before re-decoding a plurality of partial information codes included in the re-captured image data, reading the stored partial information code position, information pattern division number information and order information,
A step of preferentially re-decoding the partial information code other than the position of the decoded partial information code.
請求項ないし5の何れかに記載の光学的情報の読取方法において、
前記特定パターンは、幾何学的なパターンまたは部分情報コードのあらかじめ定められた場所に位置する明暗パターンからなることを特徴とする光学的情報の読取方法。
The method for reading optical information according to any one of claims 1 to 5,
The method for reading optical information, wherein the specific pattern is a geometric pattern or a light / dark pattern located at a predetermined location of a partial information code.
請求項1ないし6の何れかに記載の光学的情報の読取方法において、
前記部分情報コードは、それぞれ、情報パターンと、当該情報パターンの位置を特定するための位置基準となる特定パターンとからなるものであって、
取込まれた画像データから特定パターンを2つ順次検出するステップと、
検出された2つの特定パターンの距離間隔を計測するステップと、
計測された距離間隔に基づいて検出されていない部分情報コードもしくは当該部分情報コードの特定パターンの位置を推定するステップとを備えたことを特徴とする光学的情報の読取方法。
The method for reading optical information according to any one of claims 1 to 6,
Each of the partial information codes includes an information pattern and a specific pattern serving as a position reference for specifying the position of the information pattern,
Detecting two specific patterns sequentially from the captured image data;
Measuring a distance between two detected specific patterns;
And a step of estimating a position of a partial information code not detected based on a measured distance interval or a specific pattern of the partial information code.
請求項1ないし7の何れかに記載の光学的情報の読取方法により複数個の部分情報コードを解読できない場合には、解読された部分情報コードの序列情報や読取対象物情報等の情報を出力するステップと、
解読されていない部分情報コードが存在することを報知するステップとを備えたことを特徴とする光学的情報の読取方法。
8. If a plurality of partial information codes cannot be decoded by the optical information reading method according to claim 1, information such as order information of the decoded partial information codes and reading object information is output. And steps to
And a step of notifying that there is a partial information code that has not been decoded .
JP2003184802A 2003-06-27 2003-06-27 Optical information reading method Expired - Lifetime JP4058478B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003184802A JP4058478B2 (en) 2003-06-27 2003-06-27 Optical information reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003184802A JP4058478B2 (en) 2003-06-27 2003-06-27 Optical information reading method

Publications (2)

Publication Number Publication Date
JP2005018579A JP2005018579A (en) 2005-01-20
JP4058478B2 true JP4058478B2 (en) 2008-03-12

Family

ID=34184454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003184802A Expired - Lifetime JP4058478B2 (en) 2003-06-27 2003-06-27 Optical information reading method

Country Status (1)

Country Link
JP (1) JP4058478B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11449699B2 (en) * 2019-03-04 2022-09-20 Denso Wave Incorporated Information code reading system

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4645384B2 (en) * 2005-09-20 2011-03-09 富士ゼロックス株式会社 Two-dimensional barcode detection method and detection apparatus
KR100828539B1 (en) 2005-09-20 2008-05-13 후지제롯쿠스 가부시끼가이샤 Detection method of two dimensional code, detection device thereof, and storage medium having detection program storaged therein
JP5329510B2 (en) * 2010-10-29 2013-10-30 富士通フロンテック株式会社 Reading device, voting ticket refund device, voting ticket issuing device, and reading method
JP5970546B2 (en) * 2012-05-31 2016-08-17 株式会社オプトエレクトロニクス Reading apparatus, reading result output method, and program
JP6361406B2 (en) * 2014-09-17 2018-07-25 株式会社デンソーウェーブ Information code reading system
JP7246134B2 (en) * 2018-01-22 2023-03-27 株式会社デンソーウェーブ Information code generation system
JP7246135B2 (en) * 2018-01-22 2023-03-27 株式会社デンソーウェーブ Information code generation system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11449699B2 (en) * 2019-03-04 2022-09-20 Denso Wave Incorporated Information code reading system

Also Published As

Publication number Publication date
JP2005018579A (en) 2005-01-20

Similar Documents

Publication Publication Date Title
JP3516144B1 (en) Optical information code reading method and optical information code reader
JP4058529B2 (en) Optical information reader
JP5140820B2 (en) Symbol information reading apparatus and symbol information reading method
JP4058478B2 (en) Optical information reading method
CN111052125B (en) Method and system for reading a barcode captured on multiple images
JP2009187209A (en) Optical information reader
JP6361265B2 (en) Information code reader
JP4650138B2 (en) Optical information reader
JP5780192B2 (en) Information code reader
JP4591216B2 (en) Information code reading system, information code reading device, and label
JP2011197856A (en) Optical information reading device
CN102272772A (en) Minimizing misdecodes in electro-optical readers
JP4438620B2 (en) Two-dimensional code reader
JP5786783B2 (en) Information code reader
JP2006134160A (en) Optical information reading device
JP5221590B2 (en) Symbol code reader and its control program
JP5282559B2 (en) Information code reader
JP5152086B2 (en) Bar code reading method and bar code reading apparatus
JP4951745B2 (en) Bar code reader
JP2009294769A (en) Optical information reader
JP2007226411A (en) Code image output device
JP4238796B2 (en) Optical information reading method
JP6091018B2 (en) Information reader
JP2009169931A (en) Optical information reader
JP5401619B2 (en) Symbol code reader and its control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070724

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070904

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071112

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

Free format text: PAYMENT UNTIL: 20101228

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4058478

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101228

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111228

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20111228

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121228

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20121228

Year of fee payment: 5

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20121228

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121228

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131228

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term