JP2004213061A - Optical character reader and reading method of two-dimensional code - Google Patents
Optical character reader and reading method of two-dimensional code Download PDFInfo
- Publication number
- JP2004213061A JP2004213061A JP2002378272A JP2002378272A JP2004213061A JP 2004213061 A JP2004213061 A JP 2004213061A JP 2002378272 A JP2002378272 A JP 2002378272A JP 2002378272 A JP2002378272 A JP 2002378272A JP 2004213061 A JP2004213061 A JP 2004213061A
- Authority
- JP
- Japan
- Prior art keywords
- dimensional code
- reading
- code
- configuration
- scanner
- 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
Links
Images
Landscapes
- Character Input (AREA)
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、フォーマットコントロール(FC)情報を用いて帳票に記録(印字)された情報を読み取る光学的文字読取装置、およびスキャナを用いた2次元コードの読取方法に関する。
【0002】
【従来の技術】
バーコードシンボルは、各分野で、省力化、自動化のための情報入力手段として使用されている。バーコードが横方向にしか情報をもたないのに対して、2次元コードは、縦、横方向に情報をもつことで、大容量のデータを記録することができる。この2次元コードとして、近年では、漢字データ等を効率的に記録することができるQRコードが広く用いられる(例えば、非特許文献1参照)。
【0003】
このQRコードのシンボル構成例を図9に示す。QRコードは、符号化領域と機能パターンとにより構成される。機能パターンには、図10に示すような三隅に配置される3個の位置検出パターン(Pa)、図11に示すような位置あわせパターン(Pb)等があり、更にその他にも、分離パターン、タイミングパターン、拡張パターン等がある。尚、位置あわせパターン(Pb)はモデル2、拡張パターンはモデル1に用いられる。2次元コードには、上記したQRコード以外に、Vereコード、DataMatrix等のマトリックス型2次元コードがある。従来では、上記した2次元コード読取に、それぞれ専用のバーコードリーダが用いられていた(例えば、特許文献1参照)。
【0004】
上記した2次元コードの記録領域を所定フォーマット形式の帳票に設けて、2次元コードを含めた帳票読取を行おうとしたとき、従来では、帳票読取と2次元コード読取とをそれぞれ異なる読取機構で別々に読み取らなければならなかった。
【0005】
【非特許文献1】
http;//www.keyence.co.jp/barcode/2jigenbacic.html
【0006】
【特許文献1】
特開平7−254037号公報(図17)
【0007】
【発明が解決しようとする課題】
上述したように、所定フォーマット形式の帳票上に2次元コードの記録領域を設けて、2次元コードを含めた帳票読取を行おうとしたとき、従来では、帳票読取と2次元コード読取とをそれぞれ異なる読取機構で別々に読み取らなければならず、従って、帳票の取り扱いが容易でなく使い勝手が悪いという問題が生じるとともに、読取機構全体が大型化して、コストが嵩み、しかも大きなスペースが必要になる等、種々の問題があった。
【0008】
本発明は上記実情に鑑みなされたもので、簡単かつ安価な構成で、使い勝手のよい2次元コードの読取機能を実現できる光学的文字読取装置、およびスキャナを用いた2次元コードの読取方法を提供することを目的とする。
【0009】
【課題を解決するための手段】
本発明は、フォーマットコントロール(FC;Format Control)により2次元コード読取を支援することで、帳票に記録された2次元コードの読取を可能にした光学的文字読取装置を特徴とする。
【0010】
また、本発明は、2次元コードシンボルの構成を予め定義しておくことで、スキャナを用いた2次元コード読取を可能にした2次元コードの読取方法を特徴とする。
【0011】
即ち、本発明は、帳票上を走査して帳票に記録されたイメージを読み取るスキャナ部と、前記スキャナ部で読み取る被帳票に記録される2次元コードシンボルの構成を定義したフォーマットコントロールと、前記フォーマットコントロールの情報をもとに、前記スキャナ部で読み取った帳票イメージから帳票に記録した2次元コードを読み取る読取手段とを具備した光学的文字読取装置を特徴とする。
【0012】
また、本発明は、前記光学的文字読取装置に於いて、前記2次元コードシンボルの構成を前記フォーマットコントロールに定義するための所定の設定画面をもつグラフィックユーザインタフェースを更に具備したことを特徴とする。
【0013】
また、本発明は、スキャナを用いた2次元コードの読取方法であって、前記スキャナが読み取る帳票に記録される2次元コードシンボルの構成を読取支援情報として保存しておき、前記読取支援情報をもとに、前記スキャナで読み取った帳票イメージから前記帳票に記録された2次元コードを読み取ることを特徴とする。
【0014】
【発明の実施の形態】
以下、図面を参照して本発明の実施形態を説明する。
【0015】
図1は本発明の実施形態に於ける光学的文字読取装置の本発明に関係する要部の構成を示すブロック図である。
【0016】
この図1に示す光学的文字読取装置は、スキャナ部11と、フォーマットコントロール作成部12と、フォーマットコントロール管理部13と、フォーマットコントロール記憶部14と、2次元コード検出部15と、2次元コード読取部16と、読取出力部17とを具備して構成される。
【0017】
スキャナ部11は、帳票上を走査して、その帳票に記録された画像を読み込む。この実施形態では、帳票に記録された、図10、図11に示すような機能パターンをもつ、図9に示すようなQRコードシンボルのイメージを読み取る。
【0018】
フォーマットコントロール作成部12は、GUI(Graphical User Interface)により帳票読取に使用するフォーマットコントロール(FC)を作成する。この実施形態では、後述する図3に示されるようなQRコード読取フィールド用のGUI画面を用いて、QRコードシンボルの印字領域、サイズ、モジュール数、位置検出パターンのサイズ、位置あわせパターンのサイズと位置、型番等の少なくともいずれかを含んだQRコードシンボルの構成を定義したフォーマットコントロール(FC)を作成する。
【0019】
フォーマットコントロール管理部13は、フォーマットコントロール部12で作成されたフォーマットコントロール(FC)をフォーマットコントロール記憶部14上で管理する。この実施形態ではフォーマットコントロール作成部12で作成されたQRコードシンボルの構成を示す、QRコードの型番、QRコードシンボルの印字領域、サイズ、モジュール数、位置検出パターンのサイズ、位置あわせパターンのサイズと位置等の各種パラメータが型番単位でフォーマットコントロール記憶部14に記録され、フォーマットコントロール管理部13により管理される。尚、ここで扱うQRコードの型番( version)は、21×21モジュール(1型)から177×177モジュール(40型)までである。
【0020】
2次元コード検出部15は、フォーマットコントロール管理部13より取り出したQRコードシンボルの構成を示すパラメータを用いて、スキャナ部11が帳票上を走査した取得した帳票のイメージからQRコードの画像パターンを検出し、そのQRコードの符号化領域から数値パターン化されたコード情報を取得する。
【0021】
2次元コード読取部16は上記2次元コード検出部15が取得したコード情報をデコードし、QRコードシンボルの符号化領域に記録された符号化パターンに従うデータを生成(復元)する。
【0022】
出力部17は上記2次元コード読取部16でデコードした、数字、英字、漢字等のデータを、例えば表示若しくは印字出力する。
【0023】
図2は上記実施形態に於ける2次元コード読取用フォーマットコントロールの設定手順を示すフローチャートである。
【0024】
図3乃至図8はそれぞれ上記図2に示す2次元コード読取用フォーマットコントロールの設定手順に従うGUI画面の構成並びに状態遷移を示す図である。この図3乃至図8に示すGUI画面は、標準的なOCRの各種読取フィールドに加え、2次元コードフィールドが選択対象として設けられたフィールド種類選択エリア101と、このフィールド種類選択エリア101で2次元コードフィールドが選択されている際に表示される、QRコードシンボルの構成を設定するパラメータ設定エリア103と、このパラメータ設定エリア103の設定内容が反映される帳票イメージの表示エリア102とを有して構成される。尚、上記フィールド種類選択エリア101はQRコードシンボルの構成を設定するGUI画面以外の、例えばスキャナ部11が読み取る被読取帳票の帳票サイズ、帳票の向き、スキャナ解像度等を設定するGUI画面上に於いても表示され、このフィールド種類選択エリア101のプルダウンメニュー上で、例えば手書きフィールド、バーコードフィールド、2次元コードフィールド等、任意の読取フィールドを選択することで、その選択された読取フィールドについてGUI画面上でパラメータ設定が可能となる。
【0025】
ここで、上記各図を参照して本発明の実施形態に於ける動作を説明する。
【0026】
スキャナ部11で読み取る被読取帳票の所定の領域には、図9に示すようなQRコードシンボルが記録されているものとする。この帳票に記録したQRコードのスキャナ読取を支援(助ける)ために、上記QRコードシンボルの構成をフォーマットコントロール作成部12により設定し、QRコード読み取り用のフォーマットコントロール(FC)として、フォーマットコントロール記憶部14に予め登録しておく。この際の登録処理の具体例について図2に示すフローチャート、および図3乃至図8に示すGUI画面を参照して説明する。
【0027】
この実施形態では、まず、スキャナ部11に読み取られる、QRコードシンボルの記録領域をもつ被読取帳票について、標準的なOCRの帳票読取の場合と同様に、帳票サイズ、帳票の向き、スキャナ解像度等を例えばGUI画面を用いて設定する(図2ステップS1)。
【0028】
この設定に従い、上記GUI画面上に、図3に示すように、帳票イメージの表示エリア102が開かれ、その帳票イメージの表示エリア102に上記設定内容に従う帳票イメージが表示される(図2ステップS2)。尚、この設定は帳票のプリスキャンによって設定することも可能である。
【0029】
更に、このGUI画面上のフィールド種類選択エリア101に設けられたプルダウンメニュー上で、2次元コードフィールドを選択することにより、図3に示すように、上記QRコードの構成を定義するためのパラメータ設定エリア103が開かれる(図2ステップS3)。
【0030】
この図3に示すGUI画面上のパラメータ設定エリア103を用いて、被読取帳票上に於けるQRコードシンボルの記録(印字)領域を設定する(図2ステップS4)。ここでは、図4に示すように、帳票の左上を起点として、QRコードシンボルの始点(XSTT,YSTT)および記録領域(WIDTH,HEIGHT)が設定される。この設定は、パラメータ設定エリア103上で数値入力により設定する設定手段、若しくは帳票イメージの表示エリア102をマウス等のポインティングデバイスで操作して座標入力することも可能である。このポインティングデバイスを用いた座標入力では、操作入力された座標値が実時間処理で即座に帳票イメージの表示エリア102、およびパラメータ設定エリア103に反映される。尚、ここでは、所定セル単位のクワイエットゾーン(マージン)を含めてQRコードシンボルの記録領域(図示波線参照)を指定する。また、ここでは上記パラメータ設定エリア103に於いて、次に入力するパラメータの名称(ここではアルファベットの文字列表示を例に示している)を予め設定した順序でパラメータの設定毎に順次更新してゆくパラメータ設定のガイド機能をもつ構成としているが、パラメータ設定エリア103上で個々に入力することも可能である。
【0031】
次にGUI画面上でモジュール数を設定する(図2ステップS5)。尚、モジュール(module)はシンボルを構成する単位正方形のセルであり、1モジュールが1ビットに相当する。ここで扱う(設定可能な)モジュール数は、21×21モジュールから177×177モジュールまでである。
【0032】
ここでのモジュール数の設定は、図5に示すように、型番( version)のプルダウンメニュー104を開き、そのメニューリストから設定するモジュール数の型番(VER)を選択することで、容易に設定が可能である。
【0033】
次にGUI画面上でQRコードのシンボルサイズ(クワイエットゾーンを除いたシンボルの大きさ)を設定する(図2ステップS6)。この実施形態では、図6に示すように、GUI画面上のパラメータ設定エリア103に、シンボル(実体)の縦横サイズ(XL,YL)を設定する。この設定は、パラメータ設定エリア103上で数値入力により設定する設定手段、若しくは帳票イメージの表示エリア102をマウス等のポインティングデバイスで操作して座標入力することも可能である。このポインティングデバイスを用いた座標入力では、操作入力された座標値が実時間処理で即座に帳票イメージの表示エリア102、およびパラメータ設定エリア103に反映される。
【0034】
次にGUI画面上で、図10および図11に示す、QRコードシンボルの3隅に設けられた位置検出パターン(Pa)の向きおよびサイズを設定する(図2ステップS7)。この実施形態では、図7に示すように、パラメータ設定エリア103上の位置検出パターンの向き(ROT)を設定するパラメータ入力フィールド上でプルダウンメニューを開いて位置検出パターン(Pa)の向き(ROT)を設定することにより、その設定に従った3隅に位置検出パターン(Pa)がグレーゾーン若しくはグレーパターンで表示されるものとする。尚、位置検出パターンの向き(ROT)を設定するプルダウンメニューに於いては、正位置と各90度単位で回転する各位置との中から任意の向きが選択可能である。この位置検出パターン(Pa)のサイズ(XFP,YFP)の設定は、パラメータ設定エリア103上で数値入力により設定する設定手段、若しくは帳票イメージの表示エリア102をマウス等のポインティングデバイスで操作して座標入力することも可能である。このポインティングデバイスを用いた座標入力では、操作入力された座標値が実時間処理で即座に帳票イメージの表示エリア102、およびパラメータ設定エリア103に反映される。
【0035】
次にGUI画面上で、図11に示す位置あわせパターン(Pb)のサイズと座標を設定する(図2ステップS8)。尚、この位置あわせパターン(Pb)の設定は、モデル2のQRコードシンボルについてのみであり、サイズは上記選択した型番に固有のものであることから、ここでは位置あわせパターン(Pb)の領域を指定することで、その各中心座標値(XAP,YAP)が設定され、その設定内容が帳票イメージの表示エリア102、およびパラメータ設定エリア103に反映される。この実施形態では、位置あわせパターン(Pb)の領域を設定することにより、その設定に従った位置あわせパターン(Pb)が帳票イメージの表示エリア102にグレーゾーン若しくはグレーパターンで表示されるものとする。
【0036】
このようにして、フォーマットコントロール作成部12により、図3乃至図8に示すGUI画面上にて、スキャナ部11で読み取る被読取帳票に記録(印字)されたQRコードシンボルの構成を定義した各種のパラメータが設定され、QRコード読取用のフォーマットコントロールとしてフォーマットコントロール記憶部14に記憶されて、フォーマットコントロール管理部13により管理される。
【0037】
次に、上記フォーマットコントロール記憶部14に記憶されたQRコード読取用のフォーマットコントロールを用いて、QRコードシンボルを記録(印字)した帳票から、QRコードを読み取る処理動作を説明する。
【0038】
スキャナ部11は、上記帳票上を走査して、その帳票に記録された画像を読み込む。ここでは、帳票に記録された図9に示すようなQRコードシンボルのイメージを読み取る。
【0039】
フォーマットコントロール管理部13は、上記スキャナ部11で読み取る帳票に対して、その帳票に記録(印字)されるQRコードシンボルのフォーマットコントロールをフォーマットコントロール記憶部14から読み出し、2次元コード検出部15に供給する。
【0040】
2次元コード検出部15は、上記フォーマットコントロール管理部13より供給されたQRコードシンボルのフォーマットコントロール、即ち被読取帳票に記録(印字)されたQRコードシンボルの構成を示すパラメータを用いて、スキャナ部11が帳票上を走査した取得した帳票のイメージからQRコードの画像パターンを検出し、そのQRコードの符号化領域から数値パターン化されたコード情報を取得して、そのコード情報を2次元コード読取部16に供給する。
【0041】
2次元コード読取部16は上記2次元コード検出部15より受けたコード情報をデコードし、QRコードシンボルの符号化領域に記録された符号化パターンに従う、数字、英字、漢字等のデータを生成して、当該データを読取出力部17を介し、表示若しくは印字出力する。
【0042】
このように、スキャナ部11で読み取ったQRコードシンボルについて、予め設定したQRコードシンボルの構成を示すパラメータを用いて、読取支援を行うことで、スキャナを用いた信頼性の高い2次元コード読取が可能となる。
【0043】
尚、上記した実施形態では、QRコードシンボルの印字領域、サイズ、モジュール数、位置検出パターンのサイズ、位置あわせパターンのサイズと位置について、そのすべてを設定したが、これに限らず、その一部の必須パラメータのみを設定してもよい。例えば位置検出パターンのサイズから1セルの大きさを割り出すことができ、1セルの大きさ分かればシンボル全体の大きさ(セル数=モジュール数)が分かる。このように規格に基づいて波及的に割り出すことのできるパラメータについては、その設定を省略することが可能である。また、上記したQRコード読取支援のためのフォーマットコントロールとして、例えばQRコードシンボルの符号化領域の字種、桁数、フィールド数、誤り訂正レベル、フォーマット情報、タイミングパターン、その他の機能パターン等を必要に応じて適宜定義することにより、スキャナを用いた、より信頼性の高い2次元コード読取が可能となる。
【0044】
【発明の効果】
以上詳記したように本発明によれば、簡単かつ安価な構成で、使い勝手のよい2次元コードの読取機能を実現できる光学的文字読取装置、およびスキャナを用いた2次元コードの読取方法が提供できる。
【図面の簡単な説明】
【図1】本発明の実施形態に於ける光学的文字読取装置の本発明に関係する要部の構成を示すブロック図。
【図2】上記実施形態に於ける2次元コード読取用フォーマットコントロールの設定手順を示すフローチャート。
【図3】上記実施形態に於けるGUI画面の構成並びに状態遷移を示す図。
【図4】上記実施形態に於けるGUI画面の構成並びに状態遷移を示す図。
【図5】上記実施形態に於けるGUI画面の構成並びに状態遷移を示す図。
【図6】上記実施形態に於けるGUI画面の構成並びに状態遷移を示す図。
【図7】上記実施形態に於けるGUI画面の構成並びに状態遷移を示す図。
【図8】上記実施形態に於けるGUI画面の構成並びに状態遷移を示す図。
【図9】本発明の実施形態で適用されるQRコードシンボルの構成例を示す図。
【図10】上記実施形態で適用されるQRコードシンボルの位置検出パターンを示す図。
【図11】上記実施形態で適用されるQRコードシンボルの位置あわせパターンを示す図。
【符号の説明】
11…スキャナ部、12…フォーマットコントロール作成部、13…フォーマットコントロール管理部、14…フォーマットコントロール記憶部、15…2次元コード検出部、16…2次元コード読取部、17…出力部。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an optical character reading device that reads information recorded (printed) on a form using format control (FC) information, and a two-dimensional code reading method using a scanner.
[0002]
[Prior art]
Barcode symbols are used in various fields as information input means for labor saving and automation. While a barcode has information only in the horizontal direction, a two-dimensional code can record a large amount of data by having information in the vertical and horizontal directions. In recent years, a QR code capable of efficiently recording kanji data and the like has been widely used as the two-dimensional code (for example, see Non-Patent Document 1).
[0003]
FIG. 9 shows a symbol configuration example of this QR code. The QR code is composed of an encoding area and a function pattern. The functional patterns include three position detection patterns (Pa) arranged at three corners as shown in FIG. 10, a positioning pattern (Pb) as shown in FIG. 11, and the like. There are a timing pattern, an extension pattern and the like. The alignment pattern (Pb) is used for model 2 and the extended pattern is used for model 1. In addition to the QR code described above, the two-dimensional code includes a matrix type two-dimensional code such as a Vere code and DataMatrix. Conventionally, dedicated bar code readers have been used for the two-dimensional code reading described above (for example, see Patent Document 1).
[0004]
Conventionally, when the above-described two-dimensional code recording area is provided in a form of a predetermined format to read a form including the two-dimensional code, conventionally, the form reading and the two-dimensional code reading are separately performed by different reading mechanisms. Had to read.
[0005]
[Non-patent document 1]
http; // www. keyence. co. jp / barcode / 2jigenbacic. html
[0006]
[Patent Document 1]
JP-A-7-254037 (Fig. 17)
[0007]
[Problems to be solved by the invention]
As described above, when a recording area of a two-dimensional code is provided on a form in a predetermined format to read a form including a two-dimensional code, conventionally, the form reading and the two-dimensional code reading are different from each other. The documents must be read separately by the reading mechanism. Therefore, there is a problem that the handling of the form is not easy and the usability is poor. In addition, the entire reading mechanism becomes large, the cost increases, and a large space is required. There were various problems.
[0008]
The present invention has been made in view of the above circumstances, and provides an optical character reading device capable of realizing a convenient two-dimensional code reading function with a simple and inexpensive configuration, and a two-dimensional code reading method using a scanner. The purpose is to do.
[0009]
[Means for Solving the Problems]
The present invention is characterized by an optical character reading device that enables reading of a two-dimensional code recorded on a form by supporting two-dimensional code reading by a format control (FC).
[0010]
In addition, the present invention is characterized by a two-dimensional code reading method in which a two-dimensional code can be read using a scanner by defining the configuration of the two-dimensional code symbol in advance.
[0011]
That is, the present invention provides a scanner unit that scans a form and reads an image recorded on the form, a format control that defines the configuration of a two-dimensional code symbol recorded on a form to be read by the scanner unit, An optical character reading apparatus comprising: reading means for reading a two-dimensional code recorded on a form from a form image read by the scanner unit based on control information.
[0012]
Further, the present invention is characterized in that the optical character reading device further comprises a graphic user interface having a predetermined setting screen for defining the configuration of the two-dimensional code symbol in the format control. .
[0013]
The present invention also relates to a method of reading a two-dimensional code using a scanner, wherein a configuration of a two-dimensional code symbol recorded on a form read by the scanner is stored as read support information, and the read support information is stored in the form. The two-dimensional code recorded on the form is read from the form image read by the scanner.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0015]
FIG. 1 is a block diagram showing a configuration of a main part of an optical character reading apparatus according to an embodiment of the present invention, which is related to the present invention.
[0016]
The optical character reading apparatus shown in FIG. 1 includes a
[0017]
The
[0018]
The format
[0019]
The format
[0020]
The two-dimensional
[0021]
The two-dimensional
[0022]
The
[0023]
FIG. 2 is a flowchart showing a setting procedure of the format control for reading a two-dimensional code in the embodiment.
[0024]
FIGS. 3 to 8 are views showing the configuration and state transition of the GUI screen according to the setting procedure of the format control for two-dimensional code reading shown in FIG. The GUI screens shown in FIGS. 3 to 8 include a field
[0025]
Here, the operation in the embodiment of the present invention will be described with reference to the above-described drawings.
[0026]
It is assumed that a QR code symbol as shown in FIG. 9 is recorded in a predetermined area of the form to be read by the
[0027]
In this embodiment, first, for a form to be read having a QR code symbol recording area read by the
[0028]
According to this setting, a form
[0029]
Further, by selecting a two-dimensional code field on a pull-down menu provided in a field
[0030]
Using the
[0031]
Next, the number of modules is set on the GUI screen (step S5 in FIG. 2). Note that a module is a unit square cell that forms a symbol, and one module corresponds to one bit. The number of modules handled (settable) here is from 21 × 21 modules to 177 × 177 modules.
[0032]
The number of modules can be set easily by opening the model number (version) pull-
[0033]
Next, the symbol size of the QR code (the size of the symbol excluding the quiet zone) is set on the GUI screen (step S6 in FIG. 2). In this embodiment, as shown in FIG. 6, the vertical and horizontal sizes (XL, YL) of the symbol (substance) are set in the
[0034]
Next, the direction and size of the position detection pattern (Pa) provided at the three corners of the QR code symbol shown in FIGS. 10 and 11 are set on the GUI screen (step S7 in FIG. 2). In this embodiment, as shown in FIG. 7, a pull-down menu is opened on a parameter input field for setting the direction (ROT) of the position detection pattern on the
[0035]
Next, the size and coordinates of the alignment pattern (Pb) shown in FIG. 11 are set on the GUI screen (step S8 in FIG. 2). Note that the setting of the alignment pattern (Pb) is only for the QR code symbol of the model 2, and the size is specific to the selected model number. By designating, the respective center coordinate values (XAP, YAP) are set, and the set contents are reflected in the
[0036]
In this manner, the format
[0037]
Next, a processing operation of reading a QR code from a form on which a QR code symbol is recorded (printed) using the format control for reading a QR code stored in the format
[0038]
The
[0039]
The format
[0040]
The two-dimensional
[0041]
The two-dimensional
[0042]
As described above, by performing reading support for the QR code symbol read by the
[0043]
In the above-described embodiment, all of the QR code symbol print area, size, number of modules, size of the position detection pattern, and size and position of the alignment pattern are set. However, the present invention is not limited to this. May be set. For example, the size of one cell can be determined from the size of the position detection pattern. If the size of one cell is known, the size of the entire symbol (the number of cells = the number of modules) can be known. As described above, it is possible to omit the setting of the parameters that can be determined based on the standard. Also, as the format control for supporting the QR code reading described above, for example, the character type, the number of digits, the number of fields, the error correction level, the format information, the timing pattern, the other functional patterns, etc. of the encoding area of the QR code symbol are required. , A more reliable two-dimensional code reading using a scanner becomes possible.
[0044]
【The invention's effect】
As described above in detail, according to the present invention, an optical character reading device capable of realizing an easy-to-use two-dimensional code reading function with a simple and inexpensive configuration, and a two-dimensional code reading method using a scanner are provided. it can.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a main part of an optical character reading apparatus according to an embodiment of the present invention, which is related to the present invention.
FIG. 2 is a flowchart showing a setting procedure of a format control for reading a two-dimensional code in the embodiment.
FIG. 3 is a view showing a configuration and a state transition of a GUI screen in the embodiment.
FIG. 4 is a view showing a configuration and a state transition of a GUI screen in the embodiment.
FIG. 5 is a view showing a configuration and a state transition of a GUI screen in the embodiment.
FIG. 6 is a view showing a configuration and a state transition of a GUI screen in the embodiment.
FIG. 7 is a view showing a configuration and a state transition of a GUI screen in the embodiment.
FIG. 8 is a view showing a configuration and a state transition of a GUI screen in the embodiment.
FIG. 9 is a diagram showing a configuration example of a QR code symbol applied in the embodiment of the present invention.
FIG. 10 is a view showing a position detection pattern of a QR code symbol applied in the embodiment.
FIG. 11 is a diagram showing a QR code symbol alignment pattern applied in the embodiment.
[Explanation of symbols]
11 scanner unit, 12 format control creation unit, 13 format control management unit, 14 format control storage unit, 15 two-dimensional code detection unit, 16 two-dimensional code reading unit, 17 output unit.
Claims (7)
前記スキャナ部で読み取る被帳票に記録される2次元コードシンボルの構成を定義したフォーマットコントロールと、
前記フォーマットコントロールの情報をもとに、前記スキャナ部で読み取った帳票イメージから帳票に記録した2次元コードを読み取る読取手段と
を具備したことを特徴とする光学的文字読取装置。A scanner unit,
A format control defining a configuration of a two-dimensional code symbol recorded on a form to be read by the scanner unit;
An optical character reading device comprising: reading means for reading a two-dimensional code recorded on a form from a form image read by the scanner unit based on the information of the format control.
2次元コードフィールドを含む複数種の帳票読取フィールドから任意のフィールドが選択可能なフィールド種類選択エリアと、
前記フィールド種類選択エリアで前記2次元コードフィールドが選択された際に有効となる、前記2次元コードシンボルの構成を設定するパラメータ設定エリア、および前記パラメータ設定エリアの設定内容が反映される帳票イメージの表示エリアを有する設定画面を具備する請求項4記載の光学的文字読取装置。The graphic user interface comprises:
A field type selection area in which an arbitrary field can be selected from a plurality of types of form reading fields including a two-dimensional code field;
A parameter setting area for setting the configuration of the two-dimensional code symbol, which is enabled when the two-dimensional code field is selected in the field type selection area, and a form image on which the setting content of the parameter setting area is reflected. The optical character reading device according to claim 4, further comprising a setting screen having a display area.
前記スキャナが読み取る帳票に記録される2次元コードシンボルの構成を読取支援情報として保存しておき、
前記読取支援情報をもとに、前記スキャナで読み取った帳票イメージから前記帳票に記録された2次元コードを読み取ることを特徴とする2次元コードの読取方法。A two-dimensional code reading method using a scanner,
The configuration of the two-dimensional code symbol recorded on the form read by the scanner is stored as reading support information,
A two-dimensional code reading method, wherein a two-dimensional code recorded on the form is read from a form image read by the scanner based on the read support information.
前記定義された2次元コードシンボルの構成内容を保存するステップと、
前記保存された2次元コードシンボルの構成内容を参照して、前記スキャナにより帳票上を走査し、前記帳票に記録された2次元コードを読み取るステップとを具備したことを特徴とする2次元コードの読取方法。Defining a configuration of a two-dimensional code symbol for the two-dimensional code read by the scanner;
Storing the configuration of the defined two-dimensional code symbol;
Scanning the form with the scanner with reference to the configuration contents of the stored two-dimensional code symbol and reading the two-dimensional code recorded on the form. Reading method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002378272A JP2004213061A (en) | 2002-12-26 | 2002-12-26 | Optical character reader and reading method of two-dimensional code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002378272A JP2004213061A (en) | 2002-12-26 | 2002-12-26 | Optical character reader and reading method of two-dimensional code |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004213061A true JP2004213061A (en) | 2004-07-29 |
Family
ID=32815197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002378272A Pending JP2004213061A (en) | 2002-12-26 | 2002-12-26 | Optical character reader and reading method of two-dimensional code |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004213061A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007086936A (en) * | 2005-09-20 | 2007-04-05 | Fuji Xerox Co Ltd | Method and device for detecting two-dimensional bar code |
US8061615B2 (en) | 2005-09-20 | 2011-11-22 | Fuji Xerox Co., Ltd. | Detection method of two-dimensional code, detection device for the same, and storage medium storing detection program for the same |
JP2012018494A (en) * | 2010-07-07 | 2012-01-26 | Keyence Corp | Bar code symbol reader, bar code symbol reading method, and computer program |
US8584949B2 (en) | 2011-05-17 | 2013-11-19 | Toshiba Tec Kabushiki Kaisha | Code reading apparatus and method |
-
2002
- 2002-12-26 JP JP2002378272A patent/JP2004213061A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007086936A (en) * | 2005-09-20 | 2007-04-05 | Fuji Xerox Co Ltd | Method and device for detecting two-dimensional bar code |
JP4645384B2 (en) * | 2005-09-20 | 2011-03-09 | 富士ゼロックス株式会社 | Two-dimensional barcode detection method and detection apparatus |
US8061615B2 (en) | 2005-09-20 | 2011-11-22 | Fuji Xerox Co., Ltd. | Detection method of two-dimensional code, detection device for the same, and storage medium storing detection program for the same |
JP2012018494A (en) * | 2010-07-07 | 2012-01-26 | Keyence Corp | Bar code symbol reader, bar code symbol reading method, and computer program |
US8584949B2 (en) | 2011-05-17 | 2013-11-19 | Toshiba Tec Kabushiki Kaisha | Code reading apparatus and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9785815B2 (en) | Imaging terminal, imaging sensor to determine document orientation based on bar code orientation and methods for operating the same | |
US6707466B1 (en) | Method and system for form recognition and digitized image processing | |
EP1758045B1 (en) | Method for forming 2-dimensional code by laser marking and laser marking device | |
US5298731A (en) | Method for printing and reading for orthogonal bar code patterns | |
CN102375969B (en) | System and method for document processing | |
EP1416433B1 (en) | Active embedded interaction coding | |
US6600482B1 (en) | Method and system for form recognition and digitized image processing | |
WO1994010652A1 (en) | Apparatus and method for a text input system and universal computer input device | |
EA004418B1 (en) | Automatic barcode creation for data transfer and retrieval | |
JP4271097B2 (en) | Automatic correction of machine readable code during image processing | |
KR100455802B1 (en) | Method and apparatus for displaying a time-varying code to a handheld terminal, and method and apparatus for approval and authentication processing by using the same | |
US20060290999A1 (en) | Image processing apparatus and network system | |
JP2004213061A (en) | Optical character reader and reading method of two-dimensional code | |
US8649055B2 (en) | Image processing apparatus and computer readable medium | |
JP2009295108A (en) | Information code reader and information code reading method | |
JPH0338791A (en) | Symbol for confirmation and confirmation device thereof | |
CA2397151A1 (en) | A method and system for form recognition and digitized image processing | |
KR100829108B1 (en) | Apparatus and method for reading 2 dimensional barcode with a pattern gradient calculation function | |
CN102810171B (en) | Chinese-sensible code and construction method thereof | |
JP3690281B2 (en) | Information code | |
JP4383961B2 (en) | Digital information record carrier | |
JP3853331B2 (en) | Digital information recording method | |
JP2008244545A (en) | Image processor | |
JP2000242751A (en) | Code sheet | |
JP2002216073A (en) | Device for reading readable character or the like and method for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050120 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050222 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20050628 |