JP2004013260A - Two dimensional code reader - Google Patents

Two dimensional code reader Download PDF

Info

Publication number
JP2004013260A
JP2004013260A JP2002162506A JP2002162506A JP2004013260A JP 2004013260 A JP2004013260 A JP 2004013260A JP 2002162506 A JP2002162506 A JP 2002162506A JP 2002162506 A JP2002162506 A JP 2002162506A JP 2004013260 A JP2004013260 A JP 2004013260A
Authority
JP
Japan
Prior art keywords
dimensional code
information
image
external device
decoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002162506A
Other languages
Japanese (ja)
Inventor
Keiichi Kobayashi
小林 圭一
Tetsuya Kannou
観音 哲哉
Yasuhiko Makaji
眞梶 康彦
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002162506A priority Critical patent/JP2004013260A/en
Publication of JP2004013260A publication Critical patent/JP2004013260A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a two dimensional code reader of which adjustment work can be performed accurately in its installation by transmitting status of its decryption processing to an external device and displaying the status externally and which is capable of coping with aging of a marker to print a code and a label printer and deterioration of a light source. <P>SOLUTION: The two dimensional code reader is capable of transmitting information on a cause of a decryption error to an external device when there occurs a decryption error in a decrypting part that decrypts informationof the two dimensional code. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明はイメージセンサを用い2次元コードを読み取る2次元コードリーダに関するものである。
【0002】
【従来の技術】
今日バーコードは、コンピュータへの情報入力手段として広く利用されているが、近年バーコードに比べ数十倍の情報記録密度を有する2次元コードが工場内の生産管理システムや物流管理システムをはじめ様々な用途で利用されはじめている。現在、2次元コードは国際標準規格化が進められており、今後一層の普及が予想される。
【0003】
図5にバーコード(a)と2次元コード(b)の例を示す。同図に示すように2次元コード(b)は、バーコード(a)がX方向だけに情報を記録するのに比べ、X、Y方向に情報を記録するため前述のように情報記録密度を向上する事が出来る。このように2次元コードは、エリアで情報を記録するため、コードを読み取るセンサもエリアのイメージセンサが使用される。図6に2次元コードリーダの構成例を示す。同図の1は、2次元コード、2は2次元コード1の像をイメージセンサ3上に結像させる受光レンズ、3は2次元コード1の像を電気信号に変換するイメージセンサ、4はイメージセンサ3の出力信号をデジタル信号へ変換する回路部、5は回路部4の出力信号を記憶する画像メモリ、6は画像メモリ5の記憶情報をもとに2次元コード1の情報を解読するマイクロプロセッサ、7はマイクロプロセッサ6の解読情報を外部機器へ送信する通信部、8はイメージセンサ3でとらえた画像を外部の画像モニタへ送信するためのモニタインターフェースである。9は解読完了等の情報を外部に表示する外部表示部で、LEDやブザーで構成する。図7は、図6に示した2次元コードリーダを生産現場に設置した例で、101は2次元コード1を印字した生産加工品。11は2次元コード1を照明する照明光源。10は2次元コードリーダ。12は、2次元コードリーダ10内のイメージセンサ3でとらえた画像を表示する画像モニタ。13は2次元コードリーダ10からの解読情報等を処理する情報端末でパソコンやシーケンサが用いられている。図7に示すように、2次元リーダ10を生産現場へ設置する場合、図7の画像モニタ12で2次元コード1の画像を確認しながら、受光レンズ2のピントや絞りの調整、照明光源11の光量や照射角度の調整を行い、設置調整する方法が一般的に行われている。
【0004】
【発明が解決しようとする課題】
しかし画像モニタ12を用いた設置・調整では、2次元コードが読み取れない場合、解読エラーの要因解明に時間を費やしてしまうことや、設置時に読み取りが可能であった場合でも、読み取りの裕度が不明であるため、設置後ちょっとした条件の変化、例えば2次元コード1の印字濃度のバラツキで、読み取り不良が多発する可能性がある。また、設置後の稼働時においても、2次元コードを印字するマーカやラベルプリンタの経時変化による、印字品質悪化や、照明光源9の光量低下による、画像コントラスト悪化で、稼働中に読み取り率が低下する現象が発生する。
【0005】
本発明はこのような課題を解決するために2次元コードリーダの解読処理の状況を外部機器に送信すること、あるいは解読処理の状況を外部に表示することにより、設置時の調整作業をより正確に行うとともに、コードを印字するマーカ、ラベルプリンタの経時変化や、照明光源の劣化に対しても対応することが出来る2次元コードリーダを提供することを目的とする。
【0006】
【課題を解決するための手段】
このような課題を解決するため本発明第1の2次元コードリーダは、2次元コードの像をイメージセンサ上に結像する受光レンズと、前記2次元コードの像を電気信号に変換するイメージセンサと前記イメージセンサの出力信号をデジタル信号へ変換するA/D変換部と、前記A/D変換部出力信号を記憶する画像メモリと前記画像メモリ内の情報を処理し前記2次元コードの情報を解読するデコーダと、前記デコーダの解読情報を外部機器へ送信する通信部から構成し、前記デコーダが前記2次元コードの情報を解読出来ず解読エラーとなった場合、前記通信部から解読エラーの要因情報を外部機器へ送信するものである。
【0007】
本発明第2の2次元コードリーダは、2次元コードの像をイメージセンサ上に結像する受光レンズと、前記2次元コードの像を電気信号に変換するイメージセンサと前記イメージセンサの出力信号をデジタル信号へ変換するA/D変換部と、前記A/D変換部出力信号を記憶する画像メモリと前記画像メモリ内の情報を処理し前記2次元コードの情報を解読するデコーダと、前記デコーダの解読情報を外部機器へ送信する通信部から構成し、前記デコーダの前記2次元コードの情報を解読時、前記2次元コードを構成する所定の位置の明部と暗部のパターンのコントラスト値を前記2次元コードの解読情報とともに前記通信部より外部機器へ送信するものである。
【0008】
本発明第3の2次元コードリーダは、前記コントラスト値をあらかじめ設定した値と比較し、前記比較結果が所定の値より小さい場合、外部機器へ表示する表示機能を備えたものである。
【0009】
本発明第4の2次元コードリーダは、前記コントラスト値をあらかじめ設定した値と比較し、前記比較結果が所定の値より小さい場合、前記通信部より、外部機器へ警告情報を送信する機能を備えたものである。
【0010】
本発明第5の2次元コードリーダは、2次元コードの像をイメージセンサ上に結像する受光レンズと、前記2次元コードの像を電気信号に変換するイメージセンサと前記イメージセンサの出力信号をデジタル信号へ変換するA/D変換部と、前記A/D変換部出力信号を記憶する画像メモリと前記画像メモリ内の情報を処理し前記2次元コードの情報を解読するデコーダと、前記デコーダの解読情報を外部機器へ送信する通信部から構成し、前記デコーダの前記2次元コードの情報を解読時に算出する誤り訂正情報を、前記2次元コードの解読情報と共に前記通信部より外部機器へ送信するものである。
【0011】
本発明第6の2次元コードリーダは、前記誤り訂正情報をあらかじめ設定した値と比較し、前記比較結果が所定の値より大きい場合、外部機器へ表示する表示機能を備えたものである。
【0012】
本発明第7の2次元コードリーダは、前記誤り訂正情報をあらかじめ設定した値と比較し、前記比較結果が所定の値より大きい場合、前記通信部より、外部機器へ警告情報を送信する機能を備えたものである。
【0013】
上記の構成に示すように本発明第1の2次元コードリーダでは、解読エラー時に解読処理を行ったデコーダのエラー判定内容を外部機器へ送信するため、エラーを引き起こした要因が、印字品質であるか、または照明光源や受光レンズの調整であるかの推定を容易にすることが出来る。
【0014】
また、本発明第2、第5の2次元コードリーダでは、解読時の明部と暗部のパターンのコントラスト値あるいは解読時の誤り訂正情報を解読情報とともに外部機器へ送信するため、読み取り時の裕度確認が可能となり、より正確な設置調整が行える。
【0015】
本発明の第3、第4、第6、第7の2次元コードリーダでは、解読処理時の2次元コードの明部と暗部のコントラスト値あるいは誤り訂正情報の裕度を解読処理毎に比較判定し、その結果を外部機器へ通信あるいは表示警告するため、稼働時の読み取り率低下を事前に防止することが可能となる。
【0016】
【発明の実施の形態】
以下に本発明の一実施の形態の2次元コードリーダを図1、2、3、4を参照しながら説明する。
【0017】
図1は、本発明第1の2次元コードリーダの一実施例を示すフローである。マイクロプロセッサ6は、画像メモリ5に記憶された画像情報を処理し、画像情報を明部と暗部に分離する2値化処理を行う(処理ア)。明部と暗部の判定が行えず2値化エラーとなった場合は、2値化エラー情報を外部機器へ送信し処理を完了する(処理イ、ウ)。2値化が正常に行えた場合は、2次元コードの位置検出処理を行う(処理イ、エ)。2次元コードの位置検出処理は、例えば図2に示す2次元コードの例では、四角形をした3ヵ所の位置検出パターンを検出する処理である。位置検出が出来なかった場合は、位置検出エラー情報を外部機器に送信して処理を完了する(処理エ、オ)。位置検出が正常に行えた場合、リードソロモン符号を用いた誤り訂正処理を行う(処理エ、カ)。誤り訂正処理がエラーとなった場合は、誤り訂正処理エラー情報を外部機器へ送信し処理を完了する(処理カ、キ)。誤り訂正処理が正常に行えた場合(処理カ)、2次元コード情報を解読し(処理ク)、解読結果を外部機器に送信して(処理ケ)、解読処理を正常完了する。以上の処理により、例えば図7に示すような2次元コードリーダ10を現場に設置する場合、2次元コードリーダ10に接続された情報処理端末13に送信されたエラー情報を参考に設置が行える。例えば、2値化エラーが送信された場合は、外部照明光源11の輝度や受光レンズ2の調整不良の可能性高く、誤り訂正処理エラーが送信された場合は、2次元コード1自体の印字不良の可能性が高いと推定できるため、画像モニタ12だけの設置作業に比べ作業の効率化が図れる。
【0018】
図3は、本発明の第2、第3、第4の2次元コードリーダの一実施例を示すフローである。マイクロプロセッサ6は、2次元コード情報を解読した後(処理ク)、2次元コードを構成する明、暗パターン(セル)に対し、所定の位置における明部、暗部の輝度差(コントラスト値)を算出する(処理コ)。本実施の形態では、図2に示すように2次元コードのX方向、Y方向の中心部(走査線a、b)の位置の明部パターン(セル)と暗部パターン(セル)のそれぞれの平均値の差分をもとめ、コントラスト値とした。本実施の形態では、走査線a、bの2本としたが、走査線本数を増やしてコントラスト値や、2次元コードの中心部(走査線a、bの交点近傍)のエリアでコントラスト値を計算することも可能である。また、コントラスト値算出結果と解読結果情報を外部機器に送信して解読処理を完了する(処理ス、セ)。
【0019】
さらには、コントラスト値算出結果を所定の値と比較し(処理サ)、比較結果が所定の値より小さい場合、外部表示部9より警告表示を行い(処理シ)、解読結果を外部機器に送信し処理を完了する(処理セ)。本実施の形態では、外部表示部9で赤色LEDの点灯を行った。
【0020】
また、本発明の実施の形態において、警告情報を解読結果情報と共に外部機器へ送信し処理を完了する(処理セ、ソ)。本実施の形態では、外部表示部9で警告表示は行わなかったが、警告情報を送信すると共に警告表示9も点灯することも可能である。
【0021】
図4は、本発明の第5、第6、第7の2次元コードリーダの一実施の形態を示すフローである。マイクロプロセッサ6は、2次元コード情報を解読した後(処理ク)、誤り訂正処理情報を算出処理を行う(処理タ)。国際規格化が進められている主要な2次元コードでは、リードソロモン符号による誤り訂正機能が用いられている。リードソロモン符号は、2次元コードのデータ表示エリアの中にデータ修復のために配置され、解読処理のなかで、数字的に処理することにより、汚れ等で欠落したデータを修復する事ができる。このデータ修復の計算課程で誤り位置多項式を生成するが、その多項式の次数を検出することにより、解読処理を行っているコードの誤り個数を検出することができる。本実施の形態では、解読情報に対する誤り個数の割合を算出し、誤り訂正情報としている。本発明の第5の2次元コードリーダでは、解読結果と共に誤り訂正情報を外部機器へ送信し解読処理を完了する(処理テ、ト)。
【0022】
また、本実施の形態では誤り訂正情報算出結果を所定の値と比較し(処理チ)、比較結果が所定の値より大きい場合、外部表示部9より警告表示を行い(処理ツ)、解読結果を外部機器に送信し処理を完了する(処理ト)。本実施例では、外部表示部9で赤色LEDの点灯を行った。
【0023】
さらに本実施の形態では、警告情報を解読結果情報と共に外部機器へ送信し処理を完了する(処理ト、ナ)。本実施例では、外部表示部9で警告表示は行わなかったが、警告情報を送信すると共に警告表示9も点灯することも可能である。
【0024】
以上の実施の形態で示すようにコントラスト値あるいは誤り訂正情報を外部機器に送信すること、または、所定の値と比較し、比較結果が所定の範囲を超えている場合、外部に警告情報を表示あるいは送信することにより、コードの印字品質の変化や照明光源の輝度変化を検出することができ、例えば生産ライン稼働中の読み取り率低下を事前に防止することができる。
【0025】
【発明の効果】
本発明の2次元コードリーダでは、生産現場等への設置が容易に行えると共に、稼働中の印字品質の変化や照明光源の輝度低下に対し、事前に警告表示を行うため読み取り率を低下させる前に、対策をとることができる。
【図面の簡単な説明】
【図1】本発明の2次元コードリーダの一実施の形態の処理フローを示す図
【図2】本発明の2次元コードリーダの一実施の形態によるコントラスト値算出処理を説明するための図
【図3】本発明の2次元コードリーダの一実施の形態の処理フローを示す図
【図4】本発明の2次元コードリーダの一実施の形態の処理フローを示す図
【図5】バーコードと2次元コードの例を示す図
【図6】本発明の2次元コードリーダの構成例を示す図
【図7】本発明の2次元コードリーダの生産現場での設置例を示す図
【符号の説明】
1  2次元コード
2  受光レンズ
3  イメージセンサ
4  回路部
5  画像メモリ
6  マイクロプロセッサ
7  通信部
8  モニタインターフェース
9  外部表示部
10 2次元コードリーダ
11 照明光源
12 画像モニタ
13 情報処理端末
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a two-dimensional code reader that reads a two-dimensional code using an image sensor.
[0002]
[Prior art]
Today, barcodes are widely used as a means of inputting information to computers. In recent years, two-dimensional codes having an information recording density several tens of times higher than barcodes have been widely used in production management systems and distribution management systems in factories. It is beginning to be used for various purposes. Currently, international standardization of two-dimensional codes is being promoted, and further spread is expected in the future.
[0003]
FIG. 5 shows an example of the bar code (a) and the two-dimensional code (b). As shown in the figure, the two-dimensional code (b) records information in the X and Y directions as compared with the bar code (a) recording information only in the X direction. Can be improved. As described above, in the two-dimensional code, information is recorded in the area. Therefore, a sensor that reads the code uses an image sensor in the area. FIG. 6 shows a configuration example of a two-dimensional code reader. 1 is a two-dimensional code, 2 is a light receiving lens that forms an image of the two-dimensional code 1 on the image sensor 3, 3 is an image sensor that converts the image of the two-dimensional code 1 into an electric signal, and 4 is an image. A circuit section for converting an output signal of the sensor 3 into a digital signal; 5, an image memory for storing the output signal of the circuit section 4; A processor 7 is a communication unit for transmitting decoding information of the microprocessor 6 to an external device, and a monitor interface 8 is for transmitting an image captured by the image sensor 3 to an external image monitor. Reference numeral 9 denotes an external display unit for externally displaying information such as completion of decoding, which is constituted by an LED or a buzzer. FIG. 7 shows an example in which the two-dimensional code reader shown in FIG. 6 is installed at a production site. Reference numeral 101 denotes a processed product on which a two-dimensional code 1 is printed. An illumination light source 11 illuminates the two-dimensional code 1. 10 is a two-dimensional code reader. Reference numeral 12 denotes an image monitor that displays an image captured by the image sensor 3 in the two-dimensional code reader 10. Reference numeral 13 denotes an information terminal for processing decoding information and the like from the two-dimensional code reader 10, and a personal computer or a sequencer is used. As shown in FIG. 7, when the two-dimensional reader 10 is installed at the production site, the focus of the light receiving lens 2 and the adjustment of the aperture and the illumination light source 11 are checked while checking the image of the two-dimensional code 1 on the image monitor 12 of FIG. In general, a method of adjusting the amount of light and the irradiation angle and adjusting the installation is performed.
[0004]
[Problems to be solved by the invention]
However, in the installation / adjustment using the image monitor 12, when the two-dimensional code cannot be read, it takes time to elucidate the cause of the decoding error. Since it is unknown, a slight change in conditions after installation, for example, a variation in the printing density of the two-dimensional code 1 may cause frequent reading defects. In addition, even during operation after installation, the reading rate is reduced during operation due to deterioration of printing quality due to the aging of the marker or label printer that prints the two-dimensional code, and deterioration of image contrast due to the decrease in the amount of light of the illumination light source 9. Phenomenon occurs.
[0005]
The present invention solves this problem by transmitting the status of the decoding process of the two-dimensional code reader to an external device, or displaying the status of the decoding process to the outside, thereby making the adjustment work at the time of installation more accurate. It is another object of the present invention to provide a two-dimensional code reader capable of coping with a marker for printing a code, a change over time of a label printer, and deterioration of an illumination light source.
[0006]
[Means for Solving the Problems]
In order to solve such a problem, a first two-dimensional code reader according to the present invention includes a light receiving lens for forming an image of a two-dimensional code on an image sensor, and an image sensor for converting the image of the two-dimensional code into an electric signal. An A / D converter for converting an output signal of the image sensor into a digital signal; an image memory for storing the output signal of the A / D converter; and processing of information in the image memory to obtain information of the two-dimensional code. A decoder for decoding, and a communication unit for transmitting decoding information of the decoder to an external device, and when the decoder fails to decode the information of the two-dimensional code and a decoding error occurs, the cause of the decoding error from the communication unit. The information is transmitted to an external device.
[0007]
A second two-dimensional code reader according to the present invention includes a light receiving lens that forms an image of a two-dimensional code on an image sensor, an image sensor that converts the two-dimensional code image into an electric signal, and an output signal of the image sensor. An A / D converter for converting the signal into a digital signal; an image memory for storing the output signal of the A / D converter; a decoder for processing information in the image memory to decode the two-dimensional code information; When the decoder decodes the information of the two-dimensional code, the contrast value of the pattern of the bright part and the dark part at a predetermined position constituting the two-dimensional code is determined by the communication unit that transmits the decoding information to an external device. The communication unit transmits the dimensional code decoding information to an external device together with the decoding information.
[0008]
The third two-dimensional code reader of the present invention has a display function of comparing the contrast value with a preset value, and displaying the result to an external device when the comparison result is smaller than a predetermined value.
[0009]
The fourth two-dimensional code reader of the present invention has a function of comparing the contrast value with a preset value, and transmitting warning information from the communication unit to an external device when the comparison result is smaller than a predetermined value. It is a thing.
[0010]
A fifth two-dimensional code reader according to the present invention includes a light receiving lens that forms an image of a two-dimensional code on an image sensor, an image sensor that converts the two-dimensional code image into an electric signal, and an output signal of the image sensor. An A / D converter for converting the signal into a digital signal; an image memory for storing the output signal of the A / D converter; a decoder for processing information in the image memory to decode the two-dimensional code information; A communication unit configured to transmit decoding information to an external device, and error correction information calculated by the decoder when decoding the two-dimensional code information is transmitted from the communication unit to the external device together with the two-dimensional code decoding information. Things.
[0011]
The sixth two-dimensional code reader of the present invention has a display function of comparing the error correction information with a preset value, and displaying the error correction information to an external device when the comparison result is larger than a predetermined value.
[0012]
The seventh two-dimensional code reader of the present invention has a function of comparing the error correction information with a preset value, and transmitting a warning information from the communication unit to an external device when the comparison result is larger than a predetermined value. It is provided.
[0013]
As shown in the above configuration, in the first two-dimensional code reader of the present invention, the error determination content of the decoder that has performed the decoding process at the time of the decoding error is transmitted to the external device, so the factor that caused the error is the print quality. It is possible to easily estimate whether the adjustment is an adjustment of an illumination light source or a light receiving lens.
[0014]
Further, in the second and fifth two-dimensional code readers of the present invention, the contrast value of the pattern of the bright part and the dark part at the time of decoding or the error correction information at the time of decoding is transmitted to the external device together with the decoding information. Can be checked, and more accurate installation adjustment can be performed.
[0015]
In the third, fourth, sixth, and seventh two-dimensional code readers of the present invention, the contrast value of the bright part and the dark part of the two-dimensional code at the time of decoding processing or the margin of error correction information is compared and determined for each decoding processing. However, since the result is communicated or displayed to an external device, a decrease in the reading rate during operation can be prevented in advance.
[0016]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a two-dimensional code reader according to an embodiment of the present invention will be described with reference to FIGS.
[0017]
FIG. 1 is a flowchart showing one embodiment of the first two-dimensional code reader of the present invention. The microprocessor 6 processes the image information stored in the image memory 5 and performs a binarization process for separating the image information into a bright part and a dark part (processing a). If a bright part and a dark part cannot be determined and a binarization error occurs, the binarization error information is transmitted to the external device, and the processing is completed (processing a, c). If the binarization has been performed normally, a two-dimensional code position detection process is performed (processes a and d). The two-dimensional code position detection process is a process of detecting three rectangular position detection patterns in the example of the two-dimensional code shown in FIG. 2, for example. If the position cannot be detected, the position detection error information is transmitted to the external device and the process is completed (processes d and e). If the position is detected normally, an error correction process using a Reed-Solomon code is performed (processes d and f). If the error correction processing results in an error, the error correction processing error information is transmitted to the external device, and the processing is completed (processing f). When the error correction processing is performed normally (processing f), the two-dimensional code information is decoded (processing h), the decoding result is transmitted to an external device (processing k), and the decoding processing is completed normally. According to the above processing, for example, when the two-dimensional code reader 10 as shown in FIG. 7 is installed at the site, the installation can be performed with reference to the error information transmitted to the information processing terminal 13 connected to the two-dimensional code reader 10. For example, when a binarization error is transmitted, there is a high possibility that the luminance of the external illumination light source 11 or the light receiving lens 2 is incorrectly adjusted, and when an error correction processing error is transmitted, a printing error of the two-dimensional code 1 itself is caused. Can be estimated to be high, so that the work efficiency can be improved as compared with the installation work using only the image monitor 12.
[0018]
FIG. 3 is a flowchart showing an embodiment of the second, third, and fourth two-dimensional code readers of the present invention. After decoding the two-dimensional code information (processing step c), the microprocessor 6 calculates the brightness difference (contrast value) between the bright and dark parts at a predetermined position with respect to the light and dark patterns (cells) constituting the two-dimensional code. Calculate (processing). In the present embodiment, as shown in FIG. 2, the average of the bright part pattern (cell) and the dark part pattern (cell) at the position of the center (scanning lines a and b) in the X and Y directions of the two-dimensional code. The difference between the values was determined and used as the contrast value. In the present embodiment, two scanning lines a and b are used. However, the number of scanning lines is increased to increase the contrast value or the contrast value in the central area of the two-dimensional code (near the intersection of the scanning lines a and b). It is also possible to calculate. Further, the contrast value calculation result and the decoding result information are transmitted to the external device, and the decoding process is completed (processing steps S and S).
[0019]
Further, the contrast value calculation result is compared with a predetermined value (processing step). If the comparison result is smaller than the predetermined value, a warning is displayed on the external display unit 9 (processing step), and the decoding result is transmitted to the external device. Processing is completed (processing section). In the present embodiment, the red LED is lit on the external display unit 9.
[0020]
Further, in the embodiment of the present invention, the warning information is transmitted to the external device together with the decryption result information, and the processing is completed (processing steps S and S). In the present embodiment, no warning display is performed on the external display unit 9, but it is also possible to transmit warning information and also to turn on the warning display 9.
[0021]
FIG. 4 is a flowchart showing one embodiment of the fifth, sixth, and seventh two-dimensional code readers of the present invention. After decoding the two-dimensional code information (processing step h), the microprocessor 6 performs error correction processing information calculation processing (processing step). In a main two-dimensional code whose international standardization is being advanced, an error correction function using a Reed-Solomon code is used. The Reed-Solomon code is arranged in the data display area of the two-dimensional code for data recovery, and by performing numerical processing in the decoding process, data lost due to dirt or the like can be recovered. An error locator polynomial is generated in the calculation process of the data restoration. By detecting the degree of the polynomial, it is possible to detect the number of errors in the code undergoing the decoding process. In the present embodiment, the ratio of the number of errors to the decryption information is calculated and used as error correction information. In the fifth two-dimensional code reader according to the present invention, the error correction information is transmitted to the external device together with the decoding result, and the decoding process is completed (process T, G).
[0022]
Further, in this embodiment, the error correction information calculation result is compared with a predetermined value (processing H), and if the comparison result is larger than the predetermined value, a warning is displayed on the external display unit 9 (processing H), and the decoding result is obtained. Is transmitted to the external device to complete the process (process G). In this embodiment, the red LED is turned on on the external display unit 9.
[0023]
Further, in the present embodiment, the warning information is transmitted to the external device together with the decryption result information, and the process is completed (processes g and n). In the present embodiment, the warning display is not performed on the external display unit 9, but the warning information can be transmitted and the warning display 9 can be turned on.
[0024]
As described in the above embodiment, the contrast value or the error correction information is transmitted to an external device, or is compared with a predetermined value, and when the comparison result exceeds a predetermined range, warning information is externally displayed. Alternatively, by transmitting, it is possible to detect a change in code printing quality and a change in luminance of the illumination light source, and for example, it is possible to prevent a decrease in the reading rate during operation of the production line in advance.
[0025]
【The invention's effect】
The two-dimensional code reader of the present invention can be easily installed on a production site or the like, and also displays a warning beforehand for a change in printing quality during operation or a decrease in the luminance of an illumination light source before the reading rate is reduced. In addition, measures can be taken.
[Brief description of the drawings]
FIG. 1 is a diagram showing a processing flow of one embodiment of a two-dimensional code reader of the present invention; FIG. 2 is a diagram for explaining a contrast value calculation process according to one embodiment of a two-dimensional code reader of the present invention; FIG. 3 is a diagram showing a processing flow of one embodiment of the two-dimensional code reader of the present invention. FIG. 4 is a diagram showing a processing flow of one embodiment of the two-dimensional code reader of the present invention. FIG. 6 is a diagram showing an example of a two-dimensional code reader. FIG. 6 is a diagram showing a configuration example of a two-dimensional code reader of the present invention. FIG. 7 is a diagram showing an example of installation of a two-dimensional code reader of the present invention at a production site. ]
DESCRIPTION OF SYMBOLS 1 Two-dimensional code 2 Light-receiving lens 3 Image sensor 4 Circuit part 5 Image memory 6 Microprocessor 7 Communication part 8 Monitor interface 9 External display part 10 Two-dimensional code reader 11 Illumination light source 12 Image monitor 13 Information processing terminal

Claims (7)

2次元コードの像をイメージセンサ上に結像する受光レンズと、前記2次元コードの像を電気信号に変換するイメージセンサと、前記イメージセンサの出力信号をデジタル信号へ変換するA/D変換部と、前記A/D変換部出力信号を記憶する画像メモリと、前記画像メモリ内の情報を処理し前記2次元コードの情報を解読する解読部と、前記解読部の解読情報を外部機器へ送信する通信部から構成し、前記解読部が前記2次元コードの情報を解読出来ず解読エラーとなった場合、前記通信部から解読エラーの要因情報を外部機器へ送信する2次元コードリーダ。A light-receiving lens that forms an image of a two-dimensional code on an image sensor; an image sensor that converts the image of the two-dimensional code into an electric signal; and an A / D converter that converts an output signal of the image sensor into a digital signal An image memory that stores the output signal of the A / D converter, a decoding unit that processes information in the image memory and decodes the information of the two-dimensional code, and transmits decoding information of the decoding unit to an external device. A two-dimensional code reader configured to include: a communication unit configured to perform decoding error information from the communication unit to an external device when the decoding unit cannot decode the information of the two-dimensional code and a decoding error occurs. 2次元コードの像をイメージセンサ上に結像する受光レンズと、前記2次元コードの像を電気信号に変換するイメージセンサと前記イメージセンサの出力信号をデジタル信号へ変換するA/D変換部と、前記A/D変換部出力信号を記憶する画像メモリと前記画像メモリ内の情報を処理し前記2次元コードの情報を解読するデコーダと、前記デコーダの解読情報を外部機器へ送信する通信部から構成し、前記デコーダの前記2次元コードの情報を解読時、前記2次元コードを構成する所定の位置の明部と暗部のパターンのコントラスト値を前記2次元コードの解読情報とともに前記通信部より外部機器へ送信する2次元コードリーダ。A light-receiving lens that forms an image of a two-dimensional code on an image sensor, an image sensor that converts the image of the two-dimensional code into an electric signal, and an A / D converter that converts an output signal of the image sensor into a digital signal An image memory for storing the output signal of the A / D converter, a decoder for processing the information in the image memory to decode the information of the two-dimensional code, and a communication unit for transmitting the decoded information of the decoder to an external device. When the decoder decodes the information of the two-dimensional code, the decoder contrasts the contrast value of the pattern of the bright part and the dark part at a predetermined position constituting the two-dimensional code together with the decoding information of the two-dimensional code from the communication unit. A two-dimensional code reader that transmits to devices. コントラスト値をあらかじめ設定した値と比較し、前記比較結果が所定の値より小さい場合、外部機器へ表示する表示機能を備えた請求項2に記載の2次元コードリーダ。3. The two-dimensional code reader according to claim 2, further comprising a display function of comparing a contrast value with a preset value, and displaying a result of the comparison when the comparison result is smaller than a predetermined value to an external device. コントラスト値をあらかじめ設定した値と比較し、この比較結果が所定の値より小さい場合、前記通信部より、外部機器へ警告情報を送信する機能を備えた請求項2に記載の2次元コードリーダ。3. The two-dimensional code reader according to claim 2, further comprising a function of comparing a contrast value with a preset value, and transmitting a warning information from the communication unit to an external device when the comparison result is smaller than a predetermined value. 4. 2次元コードの像をイメージセンサ上に結像する受光レンズと、前記2次元コードの像を電気信号に変換するイメージセンサと前記イメージセンサの出力信号をデジタル信号へ変換するA/D変換部と、前記回路部出力信号を記憶する画像メモリと前記画像メモリ内の情報を処理し前記2次元コードの情報を解読するデコーダと、前記デコーダの解読情報を外部機器へ送信する通信部から構成し、前記デコーダの前記2次元コードの情報を解読時に算出する誤り訂正情報を、前記2次元コードの解読情報と共に前記通信部より外部機器へ送信する2次元コードリーダ。A light-receiving lens that forms an image of a two-dimensional code on an image sensor, an image sensor that converts the image of the two-dimensional code into an electric signal, and an A / D converter that converts an output signal of the image sensor into a digital signal An image memory that stores the circuit unit output signal, a decoder that processes information in the image memory and decodes the information of the two-dimensional code, and a communication unit that transmits decoding information of the decoder to an external device, A two-dimensional code reader which transmits error correction information calculated at the time of decoding the information of the two-dimensional code of the decoder together with the decoding information of the two-dimensional code from the communication unit to an external device. 誤り訂正情報をあらかじめ設定した値と比較し、この比較結果が所定の値より大きい場合、外部機器へ表示する表示機能を備えた請求項5に記載の2次元コードリーダ。6. The two-dimensional code reader according to claim 5, further comprising a display function of comparing the error correction information with a preset value, and displaying the result of the comparison when the comparison result is larger than a predetermined value to an external device. 誤り訂正情報をあらかじめ設定した値と比較し、この比較結果が所定の値より大きい場合、前記通信部より、外部機器へ警告情報を送信する機能を備えた請求項5に記載の2次元コードリーダ。The two-dimensional code reader according to claim 5, further comprising a function of comparing the error correction information with a preset value, and transmitting a warning information from the communication unit to an external device when the comparison result is larger than a predetermined value. .
JP2002162506A 2002-06-04 2002-06-04 Two dimensional code reader Pending JP2004013260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002162506A JP2004013260A (en) 2002-06-04 2002-06-04 Two dimensional code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002162506A JP2004013260A (en) 2002-06-04 2002-06-04 Two dimensional code reader

Publications (1)

Publication Number Publication Date
JP2004013260A true JP2004013260A (en) 2004-01-15

Family

ID=30431228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002162506A Pending JP2004013260A (en) 2002-06-04 2002-06-04 Two dimensional code reader

Country Status (1)

Country Link
JP (1) JP2004013260A (en)

Similar Documents

Publication Publication Date Title
JP3516144B1 (en) Optical information code reading method and optical information code reader
US6685095B2 (en) Apparatus and method for decoding damaged optical codes
US6830197B2 (en) Compact matrix code and one-touch device and method for code reading
CN106997446B (en) Enhanced matrix symbol error correction method
JP2004234318A (en) Two-dimension information code, and display method, generation method and reading method thereof
US6941026B1 (en) Method and apparatus using intensity gradients for visual identification of 2D matrix symbols
JP2007079781A (en) Two-dimensional code division display method, two-dimensional code reading method and two-dimensional code reader
JP2011081832A (en) Two-dimensional code division display method, two-dimensional code reading method and two-dimensional code reader
JP2004013260A (en) Two dimensional code reader
US20120278670A1 (en) Image Processing Apparatus
US20120113455A1 (en) Image processing device, image processing system, and computer readable medium
JP4058478B2 (en) Optical information reading method
JP2004054645A (en) Two-dimensional code reader, two-dimensional code reading method, two-dimensional code reading program and computer-readable recording medium
JP2007102386A (en) Symbol information reading method and symbol information reading device
JP2011054211A (en) Two-dimensional code dividing and displaying method, two-dimensional code reading method, and two-dimensional code reader
CN104811581A (en) Image processing apparatus
US20220188534A1 (en) Symbol evaluation device and evaluation method
JP4378491B2 (en) Code image output device
JP2007328672A (en) Two-dimensional code decoder, two-dimensional code decoding method, and program
US10614333B2 (en) Method for reading graphical indicator, indicator structure and electronic apparatus thereof
JP2009123088A (en) Data code reader and its method
JP2012208824A (en) Optical information reading apparatus
EP3567513B1 (en) Optical information reading apparatus and optical information reading method
JPH09274636A (en) Optical information reader
JP3963656B2 (en) Meter information automatic reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040608

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060411

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060822