JP2009123088A - Data code reader and its method - Google Patents

Data code reader and its method Download PDF

Info

Publication number
JP2009123088A
JP2009123088A JP2007298298A JP2007298298A JP2009123088A JP 2009123088 A JP2009123088 A JP 2009123088A JP 2007298298 A JP2007298298 A JP 2007298298A JP 2007298298 A JP2007298298 A JP 2007298298A JP 2009123088 A JP2009123088 A JP 2009123088A
Authority
JP
Japan
Prior art keywords
data
decoding
decoded
code
imaging
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.)
Granted
Application number
JP2007298298A
Other languages
Japanese (ja)
Other versions
JP4815423B2 (en
Inventor
Hidemi Mihara
日出海 見原
Hitoshi Iizaka
仁志 飯坂
Shoya Yamada
祥也 山田
Osamu Tsuchiya
修 土屋
Hidehiro Naito
英浩 内藤
Norihiko Kurihara
規彦 栗原
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2007298298A priority Critical patent/JP4815423B2/en
Publication of JP2009123088A publication Critical patent/JP2009123088A/en
Application granted granted Critical
Publication of JP4815423B2 publication Critical patent/JP4815423B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To enable a data code to be normally read even when a white smear portion and a dark image are generated in the image data of the data code. <P>SOLUTION: The device is equipped with an imaging device for iteratively imaging an area, including the data code, attached to a moving object and comprising, at least, a plurality of data blocks, a decoding part for decoding to each of, at least, the two image data acquired by iterative imaging by this imaging device, a decoding judging part for judging whether decoding result by the decoding part for each of the plurality of data blocks of at least two image data is allowed or not, and a decoding combination part for acquiring the final decoding result by combining the decoding data of each of the data blocks judged allowed to be decoded by this decoding judging part. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、例えば2次元の撮像装置の前方で移動される商品等の物体に添付され、かつ複数のデータブロックから成る少なくともデータコードを読み取るデータコード読取装置及びその方法に関する。   The present invention relates to a data code reading apparatus and method for reading at least a data code consisting of a plurality of data blocks attached to an object such as a commodity moved in front of a two-dimensional imaging apparatus, for example.

2次元のバーコードやQRコード、記号等のデータコードの読取や認識等を行うデータコード認識装置がある。このデータコード認識装置は、例えば撮像装置によって2次元のバーコードやQRコード、記号等のデータコードを撮像し、この撮像装置から出力される多値の濃淡レベルを有する画像信号を画像処理する。この画像処理では、多値の濃淡レベルを有する画像信号を2値化する前処理を行い、この2値化された2値化画像データに基づいてバーコードのデコードやパターン認識等の各種処理を行う。   There are data code recognition devices that read and recognize data codes such as two-dimensional bar codes, QR codes, and symbols. This data code recognition device images a data code such as a two-dimensional barcode, QR code, symbol, etc., for example, by an imaging device, and performs image processing on an image signal having a multi-value gray level output from the imaging device. In this image processing, preprocessing for binarizing an image signal having a multilevel gray level is performed, and various processes such as barcode decoding and pattern recognition are performed based on the binarized binary image data. Do.

このようなデータコード認識装置では、2次元のバーコードやQRコード、記号等のデータコードを撮像装置により撮像する際、これらデータコードを精度高く認識するために照明が行われる。この照明を行う技術としては、例えば特許文献1がある。この特許文献1は、LED等の複数の照明光源から出力される光のうち拡散板の通過孔を通して直接光により基板マークを照明するとともに、拡散板から斜めに入射する拡散光により基板マークを照明することを開示し、又基板マークの反射特性に合わせて複数の照明光源を選択的に点灯することを開示する。
特開2001−304817
In such a data code recognition device, when a data code such as a two-dimensional barcode, QR code, or symbol is imaged by an imaging device, illumination is performed in order to recognize these data codes with high accuracy. As a technique for performing this illumination, for example, there is Patent Document 1. This Patent Document 1 illuminates a substrate mark with direct light through a passage hole of a diffusion plate among lights output from a plurality of illumination light sources such as LEDs, and illuminates the substrate mark with diffuse light incident obliquely from the diffusion plate It is also disclosed that a plurality of illumination light sources are selectively turned on in accordance with the reflection characteristics of the substrate mark.
JP 2001-304817 A

しかしながら、2次元のバーコードやQRコード、記号等のデータコードを照明した状態で撮像装置によって撮像する場合、QRコードを印字してある印字面が鏡面反射の特性を有すると、LED等の複数の照明光源から出力され、QRコードの印字面で反射して撮像装置に入射する光のうち反射光量の大きい部分が生じる。これにより、撮像装置の撮像によって取得される画像データには、例えば図9に示すように複数のLED等の照明光源に対応してQRコード1中に反射光量が大きくなる部分、いわゆる白とび部分2が複数生じることがある。このため、QRコード1の正常な画像データを取得することができず、QRコード1のデコードができない。又、QRコード1を照明したとしても例えば図10に示すように照明ムラが生じ、QRコード1の隅部の濃淡レベルが他の部分と比較して低く暗い画像部分3が生じることがある。この場合でも、QRコード1の正常な画像データを取得することができず、QRコード1のデコードができない。   However, when an image pickup apparatus captures an image with a data code such as a two-dimensional bar code, QR code, or symbol illuminated, if the print surface on which the QR code is printed has specular reflection characteristics, a plurality of LEDs, etc. The portion of the light that is output from the illumination light source, reflected by the QR code printing surface, and incident on the imaging device is large. Thus, for example, as shown in FIG. 9, the image data acquired by the imaging device includes a portion in which the amount of reflected light increases in the QR code 1 corresponding to an illumination light source such as a plurality of LEDs, a so-called overexposed portion. A plurality of 2 may occur. For this reason, normal image data of QR code 1 cannot be acquired, and QR code 1 cannot be decoded. Even if the QR code 1 is illuminated, for example, illumination unevenness occurs as shown in FIG. 10, and the dark and dark image portion 3 may be generated in which the gray level at the corner of the QR code 1 is lower than other portions. Even in this case, normal image data of QR code 1 cannot be acquired, and QR code 1 cannot be decoded.

本発明の目的は、データコードの画像データ中に白とび部分や暗い画像が生じたとしても正常にデータコードを読み取ることができるデータコード読取装置及びその方法を提供することにある。   An object of the present invention is to provide a data code reading apparatus and method that can normally read a data code even if an overexposed portion or a dark image occurs in image data of the data code.

本発明の主要な局面に係るデータコード読取装置は、移動する物体に添付され、かつ複数のデータブロックから成る少なくともデータコードを含む領域を少なくとも2回繰り返して撮像する撮像装置と、撮像装置の撮像により取得される少なくとも2つの画像データのそれぞれに対して複数のデータブロック毎にデコードを行うデコード部と、少なくとも2つの画像データの複数のデータブロック毎にそれぞれデコード部によるデコード結果の可・不可を判定するデコード判定部と、デコード判定部によりデコード可と判定した各データブロックのデコードデータを組み合わせて最終のデコード結果を取得するデコード組合せ部とを具備する。   A data code reading device according to a main aspect of the present invention includes an imaging device that is attached to a moving object and that images at least a region including at least a data code composed of a plurality of data blocks, and images the imaging device. A decoding unit that performs decoding for each of a plurality of data blocks with respect to each of at least two image data acquired by the above, and whether or not the decoding result by the decoding unit for each of a plurality of data blocks of at least two image data is enabled / disabled A decoding determining unit for determining, and a decoding combining unit for acquiring the final decoding result by combining the decoding data of each data block determined to be decodable by the decoding determining unit.

本発明の主要な他の局面に係るデータコード読取方法は、移動する物体に添付され、かつ複数のデータブロックから成る少なくともデータコードを含む領域を少なくとも2回繰り返して撮像し、この撮像により取得される少なくとも2つの画像データのそれぞれに対して複数のデータブロック毎にデコードを行い、少なくとも2つの画像データの複数のデータブロック毎にそれぞれデコード結果の可・不可を判定し、このデコード結果の判定によりデコード可と判定した各データブロックのデコードデータを組み合わせて最終のデコード結果を取得する。   According to another aspect of the present invention, there is provided a data code reading method, wherein a region attached to a moving object and including at least a data code composed of a plurality of data blocks is imaged at least twice and acquired by this imaging. Each of the at least two image data is decoded for each of a plurality of data blocks, and each of the plurality of data blocks of the at least two image data is determined as to whether or not the decoding result is possible. The decoding result of each data block determined to be decodable is combined to obtain the final decoding result.

本発明によれば、データコードの画像データ中に白とび部分や暗い画像が生じたとしても正常にデータコードを読み取ることができるデータコード読取装置及びその方法を提供できる。   According to the present invention, it is possible to provide a data code reading apparatus and method that can normally read a data code even if an overexposed portion or a dark image is generated in the image data of the data code.

以下、本発明の一実施の形態について図面を参照して説明する。
図1はデータコード読取装置の構成図を示す。このデータコード読取装置は、例えば電子キャッシュレジスタに用いられる。このデータコード読取装置は、制御部本体としてCPU(Central Processing Unit)10を搭載している。このCPU10には、ROM(Read Only Memory)11と、RAM(Random Access Memory)12と、通信インタフェース(通信I/F)13と、撮像装置14とが接続されると共に、CPU10からの指令を受ける2値化処理部15と、デコード部16と、デコード判定部17と、デコード組合せ部18と、点灯部19とを有する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 shows a configuration diagram of a data code reader. This data code reader is used for an electronic cash register, for example. This data code reader is equipped with a CPU (Central Processing Unit) 10 as a control unit main body. The CPU 10 is connected to a ROM (Lead Only Memory) 11, a RAM (Random Access Memory) 12, a communication interface (communication I / F) 13, and an imaging device 14, and receives a command from the CPU 10. A binarization processing unit 15, a decoding unit 16, a decoding determination unit 17, a decoding combination unit 18, and a lighting unit 19 are included.

ROM12には、例えば電子キャッシュレジスタの業務を実行させるための業務プログラムやデータコード読取プログラムが予め格納されている。データコード読取プログラムは、撮像装置14によりデータコードとして例えば商品20に貼られたラベル上に印字されたQRコード1を含む領域を少なくとも2回繰り返して撮像させて少なくとも2つの多階調の画像データを取得させ、これら多階調の画像データのそれぞれに対してデコート゜部16により複数のデータブロック毎にデコードを行わさせ、これらデータブロック毎にそれぞれデコード結果の可・不可をデコード判定部17により判定させ、このデコード結果の判定によりデコード可と判定した各データブロックのデコードデータをデコード組合せ部18により組み合わせて最終のデコード結果を取得させる。   In the ROM 12, for example, a business program and a data code reading program for executing the business of the electronic cash register are stored in advance. The data code reading program causes at least two multi-tone image data to be obtained by repeatedly capturing an area including QR code 1 printed on a label affixed to the product 20 as a data code by the imaging device 14 at least twice. The decoding unit 16 decodes each of the multi-gradation image data for each of the plurality of data blocks, and the decoding determination unit 17 determines whether the decoding result is possible for each data block. The decoding combination unit 18 combines the decoded data of each data block determined to be decodable by the determination of the decoding result, and obtains the final decoding result.

RAM12は、各種データを一時記憶するためのエリアが形成され、例えば撮像装置14の撮像により取得された多階調の画像データを当該エリアに一時記憶したり、デコード部16によりデコードされたQRコード1に含む情報等を同エリアに一時記憶する。
通信I/F13には、図示しない伝送路を通して外部機器が接続されている。この通信I/F13は、伝送路を通して外部機器の間でデータ通信を行う。
撮像装置14は、商品20に貼られたラベル上のQRコード1を含む領域を撮像し、その多階調の画像信号を出力するもので、例えばCCD等により成るイメージセンサが用いられる。この撮像装置14は、所定周期毎に繰り返して撮像動作を行っている状態に、例えばオペレータの操作によって商品20が当該撮像装置14の撮像範囲内に1回横切って移動すると、この撮像装置14によるQRコード1に対する撮像動作は、少なくとも2回行われる。なお、撮像装置14の撮像範囲内に商品20が1回横切って移動中に行われる撮像動作の回数は、オペレータの操作によって移動する商品20の移動速度と撮像装置14による撮像動作の繰り返し周期とに基づいて決定され、例えば2回以上行われる場合もある。
The RAM 12 is formed with an area for temporarily storing various data. For example, the multi-gradation image data acquired by imaging of the imaging device 14 is temporarily stored in the area, or the QR code decoded by the decoding unit 16 is stored. The information included in 1 is temporarily stored in the same area.
An external device is connected to the communication I / F 13 through a transmission path (not shown). The communication I / F 13 performs data communication between external devices through a transmission path.
The imaging device 14 images an area including the QR code 1 on the label attached to the product 20 and outputs a multi-gradation image signal. For example, an image sensor including a CCD or the like is used. When the product 20 moves once within the imaging range of the imaging device 14 by an operator's operation, for example, when the imaging device 14 is repeatedly performing imaging operations at predetermined intervals, the imaging device 14 The imaging operation for QR code 1 is performed at least twice. Note that the number of imaging operations performed while the product 20 moves once across the imaging range of the imaging device 14 is the moving speed of the product 20 that is moved by an operator's operation and the repetition period of the imaging operation by the imaging device 14. For example, it may be performed twice or more.

2値化処理部15は、撮像装置14から出力された多階調の画像信号に対してそれぞれしきい値を用いて2値化し、その2値化画像データを取得する。
デコード部16は、2値化処理部16により取得された2値化画像データからQRコード1中の複数のデータブロック毎にそれぞれデコードを行う。すなわち、QRコード1は、例えば図2の模式図に示すように複数のデータブロック、例えば各データブロックb〜bを有する。これにより、デコード部16は、QRコード1中の各データブロックb〜b毎にそれぞれデコードを行う。なお、QRコード1は、チェックを行うためのチェックサムを符号化した誤り訂正ブロックも有する。
The binarization processing unit 15 binarizes the multi-tone image signal output from the imaging device 14 using a threshold value, and acquires the binarized image data.
The decoding unit 16 performs decoding for each of a plurality of data blocks in the QR code 1 from the binarized image data acquired by the binarization processing unit 16. That is, the QR code 1 has a plurality of data blocks, for example, data blocks b 1 to b 7 as shown in the schematic diagram of FIG. Thereby, the decoding unit 16 performs decoding for each of the data blocks b 1 to b 7 in the QR code 1. The QR code 1 also has an error correction block in which a checksum for checking is encoded.

デコード判定部17は、デコード部16によるQRコード1中の各データブロックb〜b毎の各デコード結果の可・不可を判定する。このうちデコード結果が可であれば、QRコード1中の各データブロックb〜b毎の各デコードが正常に行われたことを示す。デコード結果が不可であれば、QRコード1中の各データブロックb〜b毎の各デコードが正常に行われず、デコードデータが欠落していることを示す。 The decoding determination unit 17 determines whether each decoding result for each data block b 1 to b 7 in the QR code 1 by the decoding unit 16 is acceptable or not. If the decoding result is acceptable, it indicates that each decoding of each data block b 1 to b 7 in the QR code 1 has been normally performed. If the decoding result is not possible, it indicates that the decoding for each of the data blocks b 1 to b 7 in the QR code 1 is not normally performed and the decoding data is missing.

デコード組合せ部18は、デコード判定部17によりデコード可と判定した各データブロックb〜bの各デコードデータを組み合わせて最終のデコード結果を取得する。すなわち、QRコード1を含む多階調の画像データは、撮像装置14の撮像範囲内に商品20が1回横切って移動したときに少なくとも2枚取得される。そして、QRコード1中の各データブロックb〜b毎のデコードは、撮像装置14の撮像範囲内に商品20が1回横切って移動したときに取得される少なくとも2枚の多階調の画像データ毎に行われる。従って、デコード組合せ部18は、少なくとも2枚の多階調の画像データ毎に行われる各データブロックb〜b毎の各デコードの結果のうちデコード可と判定した各データブロックb〜bの各デコードデータを組み合わせて最終のデコード結果を取得する。 The decode combination unit 18 combines the decode data of the data blocks b 1 to b 7 determined to be decodable by the decode determination unit 17 and acquires the final decoding result. That is, at least two pieces of multi-tone image data including the QR code 1 are acquired when the product 20 moves once across the imaging range of the imaging device 14. Decoding for each of the data blocks b 1 to b 7 in the QR code 1 is performed with at least two multi-gradations acquired when the product 20 moves once across the imaging range of the imaging device 14. This is performed for each image data. Therefore, the decoding combination unit 18 determines each data block b 1 to b determined as being decodable among the results of decoding for each data block b 1 to b 7 performed for each of at least two multi-gradation image data. 7 to obtain the final decoding result.

具体的にデコード組合せ部18は、撮像装置14による1回目の撮像により取得された多諧調の画像データに対する各データブロックb〜b毎のデコードの結果、少なくとも1つのデータブロック、例えばデータブロックbにデコード不可の判定結果であれば、当該デコード不可のデータブロックbに欠落しているデコードデータを、撮像装置14による2回目以降の撮像により取得された多諧調の各画像データに対するデコード結果のうちデコード不可と判定されたデータブロックbと同一でかつデコード可と判定されたデータブロックbのデコードデータに書き換える。 Specifically, the decoding combination unit 18 obtains at least one data block, for example, a data block, as a result of decoding for each of the data blocks b 1 to b 7 for the multi-tone image data acquired by the first imaging by the imaging device 14. if the determination result of the decoding not to b 2, decodes the decoded data missing data block b 2 of the decoding impossible, for each image data of the multi-gradation obtained by the imaging of the second and subsequent from the imaging device 14 The result is rewritten to the decoded data of the data block b 2 that is the same as the data block b 2 determined to be undecodable and determined to be decodable.

この場合、デコード組合せ部18は、撮像装置14による1回目の撮像により取得された多諧調の画像データに対する各データブロックb〜b毎のデコードの結果、少なくとも1つのデータブロックbにデコード不可の判定結果であれば、当該デコード不可のデータブロックbを含む各データブロックb〜bのデコードデータを例えばRAM12に保存する。そして、デコード組合せ部18は、撮像装置14による2回目の撮像以降に、RAM12に保存した各データブロックb〜bのデコードデータのうちデコード不可のデコードデータをデコード可と判定されたデータブロックbのデコードデータに書き換える。 In this case, the decoding combination unit 18 decodes each data block b 1 to b 7 to at least one data block b 2 as a result of decoding the multi-tone image data acquired by the first imaging by the imaging device 14. If the determination result indicates that the data block cannot be decoded, the decoded data of each of the data blocks b 1 to b 7 including the data block b 2 that cannot be decoded is stored in the RAM 12, for example. Then, after the second imaging by the imaging device 14, the decoding combination unit 18 is a data block that is determined to be able to decode the decoding data that cannot be decoded among the decoding data of the data blocks b 1 to b 7 stored in the RAM 12. It rewrites the decoded data of b 2.

デコード組合せ部18は、撮像装置14による1回目の撮像により取得された多諧調の画像データに対してデコード部16により各データブロックb〜b毎にデコードを行った結果、全てのデータブロックb〜bがデコード可の判定結果であれば、当該各データブロックb〜bのデコードデータを最終のデコード結果とする。 The decoding combination unit 18 performs decoding on each of the data blocks b 1 to b 7 by the decoding unit 16 with respect to the multi-tone image data acquired by the first imaging by the imaging device 14, and as a result, all the data blocks If b 1 to b 7 are determination results that can be decoded, the decoded data of the respective data blocks b 1 to b 7 is set as the final decoding result.

点灯部19は、複数の光源、例えばLED21−1〜21−nを点灯する。これらLED21−1〜21−nは、例えばオペレータの操作によって撮像装置14の撮像範囲内に移動させる商品20を照明する。   The lighting unit 19 lights a plurality of light sources, for example, LEDs 21-1 to 21-n. These LEDs 21-1 to 21-n illuminate the product 20 to be moved within the imaging range of the imaging device 14 by an operator's operation, for example.

次に、上記の如く構成された装置によるデータコードの読み取り動作について図3に示すデータコード読取フローチャートに従って説明する。
撮像装置14は、所定周期毎に撮像動作を行い、その多階調の画像信号を出力する。CPU10は、ステップ#1において、所定周期毎に撮像装置14から出力される多階調の画像信号を入力し、この多階調の画像信号を2値化処理部15に送る。この2値化処理部15は、撮像装置14の撮像により取得された多階調の画像信号に対してそれぞれしきい値を用いて2値化し、その2値化画像データを取得する。なお、撮像装置14の撮像動作時、点灯部19は、例えばLED21−1〜21−nを点灯する。
Next, a data code reading operation by the apparatus configured as described above will be described with reference to a data code reading flowchart shown in FIG.
The imaging device 14 performs an imaging operation every predetermined period and outputs the multi-gradation image signal. In step # 1, the CPU 10 inputs a multi-tone image signal output from the imaging device 14 at predetermined intervals, and sends the multi-tone image signal to the binarization processing unit 15. The binarization processing unit 15 binarizes the multi-gradation image signal acquired by the imaging device 14 using a threshold value, and acquires the binarized image data. Note that during the imaging operation of the imaging device 14, the lighting unit 19 lights, for example, the LEDs 21-1 to 21-n.

次に、CPU10は、ステップ#2において、2値化処理部15により取得された2値化画像データに基づいてQRコード1を検出する。この検出の結果、QRコード1が検出されなければ、CPU10は、ステップ#1に戻る。   Next, in step # 2, the CPU 10 detects the QR code 1 based on the binarized image data acquired by the binarization processing unit 15. If the QR code 1 is not detected as a result of this detection, the CPU 10 returns to step # 1.

一方、撮像装置14が所定周期毎に繰り返して撮像動作を行っている状態に例えばオペレータの操作によって商品20が当該撮像装置14の撮像範囲内に1回横切って移動されると、撮像装置14は、商品20に貼られたラベル上のQRコード1を含む領域を撮像し、その多階調の画像信号を出力する。このとき、商品20が撮像装置14の撮像範囲内に1回横切って移動中に行われるQRコード1に対する撮像装置14の撮像動作回数は、オペレータの操作によって移動する商品20の移動速度と撮像装置14による撮像動作の繰り返し周期とに基づいて決定され、例えば2回撮像動作が行われる。このときも点灯部19は、例えばLED21−1〜21−nを点灯する。これにより、オペレータの操作によって移動される商品20及びこの商品29に貼られているラベル上のQRコード1は、LED21−1〜21−nから出力される照明光により照明される。   On the other hand, when the product 20 is moved once within the imaging range of the imaging device 14 by an operator's operation, for example, when the imaging device 14 repeatedly performs imaging operations at predetermined intervals, the imaging device 14 The region including the QR code 1 on the label attached to the product 20 is imaged, and the multi-tone image signal is output. At this time, the number of imaging operations of the imaging device 14 with respect to the QR code 1 performed while the product 20 moves once within the imaging range of the imaging device 14 depends on the moving speed of the product 20 that is moved by the operation of the operator and the imaging device. 14 is determined based on the repetition period of the imaging operation according to 14, and for example, the imaging operation is performed twice. Also at this time, the lighting unit 19 lights the LEDs 21-1 to 21-n, for example. Thereby, the QR code 1 on the product 20 moved by the operator's operation and the label attached to the product 29 is illuminated by the illumination light output from the LEDs 21-1 to 21-n.

しかるに、1回目の撮像動作時に、CPU10は、ステップ#1において、撮像装置14から出力される多階調の画像信号を入力し、この多階調の画像信号を2値化処理部15に送る。この2値化処理部15は、撮像装置14の撮像により取得された多階調の画像信号に対してそれぞれしきい値を用いて2値化し、その2値化画像データDを取得する。図4は1回目の撮像動作により取得された2値化画像データDの摸式図を示す。この2値化画像データDは、QRコード1の像を示すと共に、実際には撮像されないがQRコード1と複数のLED21−1〜21−n例えば各LED21−1〜21−6との位置関係を分かり易く示すために各LED21−1〜21−6も示してある。 However, at the time of the first imaging operation, the CPU 10 inputs a multi-tone image signal output from the imaging device 14 and sends the multi-tone image signal to the binarization processing unit 15 in step # 1. . The binarization processing section 15 binarizes using a threshold respectively multi-gradation image signal obtained by the imaging of the imaging device 14, and acquires the binarized image data D 1. Figure 4 shows a schematic view of the obtained binarized image data D 1 by the imaging operation of the first. The binary image data D 1, as well as showing the image of QR code 1, are not actually imaged is positioned between the QR code 1 and a plurality of LED21-1~21-n for example, each LED21-1~21-6 The LEDs 21-1 to 21-6 are also shown for easy understanding of the relationship.

次に、CPU10は、ステップ#2において、2値化処理部15により取得された2値化画像データDに基づいてQRコード1を検出する。次に、CPU10は、ステップ#4に移り、QRコード1中の各誤り訂正ブロック毎に記述されている各チェックを用いて誤りの検出、訂正の処理を行う。 Then, CPU 10 at step # 2, detects the QR code 1 on the basis of the 2 obtained by the binarization processing section 15 binarizes the image data D 1. Next, the CPU 10 proceeds to step # 4, and performs error detection and correction processing using each check described for each error correction block in the QR code 1.

次に、デコード部16は、ステップ#5において、2値化処理部16により取得された2値化画像データDからQRコード1中の例えば図2に示す複数のデータブロックb〜b毎にそれぞれデコードを行う。図5は各データブロックb〜b毎のデコード結果を示す。このデコード結果は、例えば各データブロックb、b、b〜bについてデコード可(OK)であるが、各データブロックb、bについてデコード不可(NG)である。 Next, the decoding unit 16 includes a plurality of data blocks b 1 to b 7 shown in FIG. 2 in the QR code 1 from the binarized image data D 1 acquired by the binarization processing unit 16 in step # 5, for example. Decode each time. FIG. 5 shows a decoding result for each of the data blocks b 1 to b 7 . The decoding result is, for example, that the data blocks b 1 , b 3 , b 5 to b 7 can be decoded (OK), but the data blocks b 2 and b 4 cannot be decoded (NG).

次に、デコード判定部17は、ステップ#6において、デコード部16による図5に示すようなQRコード1中の各データブロックb〜b毎の各デコード結果の可・不可を判定する。すなわち、デコード判定部17は、デコード結果が可であれば、QRコード1中の各データブロックb、b、b〜b毎の各デコードが正常に行われたと判定し、かつデコード結果が不可であれば、QRコード1中の各データブロックb、b毎の各デコードが正常に行われず、デコードデータが欠落していると判定する。しかるに、デコード判定部17は、全てのデータブロックb〜bの判定結果がデコード可でないので、この旨をCPU10に送る。このCPU10は、全てのデータブロックb〜bの判定結果がデコード可でない旨を受けると、ステップ#7に移り、図5に示すQRコード1中の各データブロックb〜b毎の各デコード結果を例えばRAM12に保存する。
次に、CPU10は、ステップ#8において、RAM12に前回のデコード結果の保存があるか否かを判断する。この判断の結果、RAM12に前回のデコード結果の保存が無いので、CPU10は、再び、ステップ#1に戻る。
Next, in step # 6, the decoding determination unit 17 determines whether each decoding result for each data block b 1 to b 7 in the QR code 1 as shown in FIG. That is, if the decoding result is acceptable, the decoding determination unit 17 determines that each decoding of each data block b 1 , b 3 , b 5 to b 7 in the QR code 1 is normally performed, and decodes If the result is not possible, it is determined that the decoding for each data block b 2 and b 4 in the QR code 1 is not normally performed and the decoded data is missing. However, since the determination results of all the data blocks b 1 to b 7 are not decodable, the decode determination unit 17 sends this fact to the CPU 10. When the CPU 10 receives that the determination results of all the data blocks b 1 to b 7 are not decodable, the CPU 10 proceeds to step # 7, and for each data block b 1 to b 7 in the QR code 1 shown in FIG. Each decoding result is stored in the RAM 12, for example.
Next, in step # 8, the CPU 10 determines whether or not the previous decoding result is stored in the RAM 12. As a result of this determination, since the previous decoding result is not stored in the RAM 12, the CPU 10 returns to step # 1 again.

次に、2回目の撮像動作時に、CPU10は、ステップ#1において、撮像装置14から出力された多階調の画像信号を2値化処理部15に送る。この2値化処理部15は、上記同様に、多階調の画像信号に対してそれぞれしきい値を用いて2値化し、例えば図6に示すような2値化画像データDを取得する。この2値化画像データD上でのQRコード1の位置は、2値化画像データD上のQRコード1の位置よりも左側に移動している。次に、CPU10は、ステップ#2において、2値化画像データDに基づいてQRコード1を検出し、ステップ#4において、QRコード1中の各誤り訂正ブロック毎に記述されている各チェックを用いて誤りの検出、訂正の処理を行う。 Next, during the second imaging operation, the CPU 10 sends the multi-gradation image signal output from the imaging device 14 to the binarization processing unit 15 in step # 1. As described above, the binarization processing unit 15 binarizes multi-tone image signals using threshold values, and obtains binarized image data D 2 as shown in FIG. 6, for example. . Position of the QR code 1 in on the binary image data D 2 is moved to the left from the position of the QR code 1 on the binary image data D 1. Then, CPU 10 at step # 2, based on the binary image data D 2 detects a QR code 1, at step # 4, the check described in each error correction block in QR Code 1 Is used to detect and correct errors.

次に、デコード部16は、ステップ#5において、2値化画像データDからQRコード1中の各データブロックb〜b毎にそれぞれデコードを行う。図7は各データブロックb〜b毎のデコード結果を示し、例えば各データブロックb、b、b〜bについてデコード可(OK)であるが、各データブロックbについてデコード不可(NG)である。 Next, in step # 5, the decoding unit 16 performs decoding for each of the data blocks b 1 to b 7 in the QR code 1 from the binarized image data D 2 . Figure 7 shows the result of decoding of each data block b 1 ~b 7, for example, a decodable for each data block b 1, b 2, b 4 ~b 7 (OK), the decoding for each data block b 3 Impossible (NG).

次に、デコード判定部17は、ステップ#6において、図7に示すようなQRコード1中の各データブロックb〜b毎の各デコード結果の可・不可を判定し、QRコード1中の各データブロックb、b、b〜b毎の各デコードが正常に行われたと判定し、かつQRコード1中の各データブロックbのデコードが正常に行われず、デコードデータが欠落していると判定する。しかるに、デコード判定部17は、全てのデータブロックb〜bの判定結果がデコード可でないので、この旨をCPU10に送る。これにより、CPU10は、ステップ#7において、図7に示すQRコード1中の各データブロックb〜b毎の各デコード結果を例えばRAM12に保存する。 Next, the decoding judgment unit 17 in step # 6, it is judged Yes, not for each decoding result of each data block b 1 ~b 7 in QR code 1 as shown in FIG. 7, in the QR code 1 That each data block b 1 , b 2 , b 4 to b 7 is normally decoded and each data block b 3 in the QR code 1 is not normally decoded. Judge that it is missing. However, since the determination results of all the data blocks b 1 to b 7 are not decodable, the decode determination unit 17 sends this fact to the CPU 10. Thus, CPU 10, at step # 7, is stored in for example RAM12 each decoding result of each data block b 1 ~b 7 in QR code 1 shown in FIG.

なお、1回目の撮像動作時に取得された図5に示すQRコード1中の各データブロックb〜b毎の各デコード結果と2回目の撮像動作時に取得された図7に示すQRコード1中の各データブロックb〜b毎の各デコード結果とが相違するのは、例えばオペレータの操作によって商品20が撮像装置14の撮像範囲内に1回横切って移動されることにより図4及び図6に示すようにQRコード1と各LED21−1〜21−6との位置関係が変化し、この位置関係の変化によってQRコード1に対する照明位置及びその照明光量が変化することによる。これによって、例えば上記図9に示すようにQRコード1中に反射光量が大きくなる部分、いわゆる白とび部分2が複数生じたり、又、例えば上記図10に示すように照明ムラが生じ、QRコード1の隅部の濃淡レベルが他の部分と比較して低く暗い画像部分3が生じることがある。 Note that each decoding result for each of the data blocks b 1 to b 7 in the QR code 1 shown in FIG. 5 acquired during the first imaging operation and the QR code 1 shown in FIG. 7 acquired during the second imaging operation are shown. The difference between the decoding results for each of the data blocks b 1 to b 7 in FIG. 4 is that the product 20 is moved once within the imaging range of the imaging device 14 by an operator's operation, for example. As shown in FIG. 6, the positional relationship between the QR code 1 and the LEDs 21-1 to 21-6 changes, and the illumination position with respect to the QR code 1 and the amount of illumination light change due to the change in the positional relationship. As a result, for example, as shown in FIG. 9, the QR code 1 has a plurality of portions where the amount of reflected light increases, so-called whiteout portions 2, or illumination unevenness occurs, for example, as shown in FIG. In some cases, the darkness level of the corners of one is lower than that of the other parts, resulting in a dark image part 3.

次に、CPU10は、ステップ#8において、RAM12に前回のデコード結果の保存があるか否かを判断し、この判断の結果、RAM12に前回のデコード結果である図5に示すQRコード1中の各データブロックb〜b毎の各デコード結果の保存があるので、デコード組合せ部18に対してデコード結果を組み合せる指令を発する。 Next, in step # 8, the CPU 10 determines whether or not the previous decoding result is stored in the RAM 12, and as a result of this determination, the RAM 12 stores the previous decoding result in the QR code 1 shown in FIG. Since there is storage of each decoding result for each of the data blocks b 1 to b 7, a command for combining the decoding results is issued to the decoding combination unit 18.

このデコード組合せ部18は、ステップ#9において、RAM12に保存されている1回目の撮像動作時の図5に示すQRコード1中の各データブロックb〜b毎の各デコード結果と、図7に示すQRコード1中の各データブロックb〜b毎の各デコード結果とを読み出す。
次に、デコード組合せ部18は、例えば図5に示すQRコード1中の各データブロックb〜b毎の各デコード結果のうちデコード不可となって欠落している各データブロックb、bのデコードデータを図7に示すQRコード1中の各データブロックb、bの各デコード結果から読み取る。
次に、デコード組合せ部18は、それぞれ読み取った図7に示すQRコード1中の各データブロックb、bの各デコードデータを図5に示すQRコード1中の各データブロックb〜b毎の各デコード結果のうちデコード不可となって欠落している各データブロックb、bに書き換える。この結果、デコード組合せ部18は、図8に示すようなQRコード1中の各データブロックb〜bに対する最終のデコード結果を取得する。この最終のデコード結果は、QRコード1中の全てのデータブロックb〜bのデコード結果がデコード可になっている。
In step # 9, the decoding combination unit 18 performs decoding for each data block b 1 to b 7 in the QR code 1 shown in FIG. 5 at the time of the first imaging operation stored in the RAM 12, 7 and the respective decoding results for each of the data blocks b 1 to b 7 in the QR code 1 shown in FIG.
Next, for example, the decoding combination unit 18 makes each data block b 2 , b that is missing and becomes undecoded among the decoding results for each data block b 1 to b 7 in the QR code 1 shown in FIG. 4 decode data is read from the decode results of the data blocks b 2 and b 4 in the QR code 1 shown in FIG.
Next, the decode combination unit 18 reads the decoded data of the data blocks b 2 and b 4 in the QR code 1 shown in FIG. 7 and the data blocks b 1 to b in the QR code 1 shown in FIG. Of the decoding results for every 7, the data blocks b 2 and b 4 are rewritten to be missing because they cannot be decoded. As a result, the decoding combination unit 18 acquires the final decoding result for each of the data blocks b 1 to b 7 in the QR code 1 as shown in FIG. As the final decoding result, the decoding results of all the data blocks b 1 to b 7 in the QR code 1 can be decoded.

なお、デコード組合せ部18は、例えば図7に示すQRコード1中の各データブロックb〜b毎の各デコード結果のうちデコード不可となって欠落しているデータブロックbのデコードデータを図5に示すQRコード1中の各データブロックbのデコード結果から読み取り、この読み取った図5に示すQRコード1中のデータブロックbのデコードデータを図7に示すQRコード1中のデータブロックbに書き換えてもよい。 For example, the decoding combination unit 18 decodes the decoded data of the data block b 3 which is missing and becomes undecoded among the decoding results for each of the data blocks b 1 to b 7 in the QR code 1 shown in FIG. Read from the decoding result of each data block b 3 in the QR code 1 shown in FIG. 5, and the read decoded data of the data block b 3 in the QR code 1 shown in FIG. 5 is the data in the QR code 1 shown in FIG. it may be rewritten in the block b 3.

次に、デコード判定部17は、再び、ステップ#6において、図8に示すQRコード1中の各データブロックb〜b毎の各デコード結果の可・不可を判定し、QRコード1中の全てのデータブロックb、b、b〜b毎の各デコードが正常に行われたと判定する。
しかるに、CPU10は、ステップ#10において、図8に示すQRコード1中の各データブロックb〜b毎の各デコード結果を例えば通信I/F13を通して例えばPOSシステム等の外部機器に送る。そして、CPU10は、ステップ#11において、RAM12に保存されている図5に示すQRコード1中の各データブロックb〜b毎の各デコード結果と、図7に示すQRコード1中の各データブロックb、bの各デコード結果とをクリアすると共に、図8に示すQRコード1中の各データブロックb〜b毎の各デコード結果もクリアする。
Next, in step # 6, the decode determination unit 17 again determines whether or not each decode result for each data block b 1 to b 7 in the QR code 1 shown in FIG. It is determined that each decoding of all the data blocks b 1 , b 3 , b 5 to b 7 is normally performed.
However, in step # 10, the CPU 10 sends each decoding result for each of the data blocks b 1 to b 7 in the QR code 1 shown in FIG. 8 to an external device such as a POS system through the communication I / F 13, for example. Then, in step # 11, the CPU 10 decodes each data block b 1 to b 7 in the QR code 1 shown in FIG. 5 stored in the RAM 12 and each QR code 1 shown in FIG. The decoding results of the data blocks b 2 and b 4 are cleared, and the decoding results of the data blocks b 1 to b 7 in the QR code 1 shown in FIG. 8 are also cleared.

なお、1回目の撮像動作時に、デコード判定部17は、ステップ#6において、図5に示すようなQRコード1中の各データブロックb〜b毎の各デコード結果の可・不可を判定するが、この判定の結果、全てのデータブロックb〜bがデコード可の判定結果であれば、デコード組合せ部18は、当該判定結果の各データブロックb〜bのデコードデータを最終のデコード結果とする。 At the time of the first imaging operation, the decode determination unit 17 determines whether or not each decode result for each data block b 1 to b 7 in the QR code 1 as shown in FIG. However, as a result of this determination, if all the data blocks b 1 to b 7 are determined to be decodable, the decode combining unit 18 finalizes the decoded data of each data block b 1 to b 7 of the determination result. Is the decoding result.

このように上記一実施の形態によれば、例えば1回目の撮像動作時の例えば図5に示すQRコード1中の各データブロックb〜b毎の各デコード結果のうちデコード不可となって欠落している各データブロックb、bのデコードデータを、例えば2回目の撮像動作時の図7に示すQRコード1中の各データブロックb、bの各デコード結果から読み取り、この読み取った各データブロックb、bの各デコードデータを図5に示すQRコード1中の各デコード結果のうちデコード不可となって欠落している各データブロックb、bに書き換える。これにより、図8に示すような全てのデータブロックb〜bのデコード結果がデコード可である最終のデコード結果を取得できる。 As described above, according to the above-described embodiment, for example, decoding is impossible among the decoding results for each of the data blocks b 1 to b 7 in the QR code 1 illustrated in FIG. 5 at the time of the first imaging operation, for example. reads the missing data blocks b 2, decoded data of b 4, for example, from second each decoding result of each data block b 2, b 4 in QR code 1 shown in FIG. 7 at the time of imaging operation, the rewriting the decoded data for each data block b 2, b 4 read the QR code each data block b 2 missing become decode not among the decoded result in 1, b 4 shown in FIG. 5. As a result, it is possible to obtain a final decoding result in which the decoding results of all the data blocks b 1 to b 7 as shown in FIG. 8 can be decoded.

従って、例えばオペレータの操作によって商品20が撮像装置14の撮像範囲内に1回横切って移動されることにより図4及び図6に示すようにQRコード1と各LED21−1〜21−6との位置関係の変化によってQRコード1に対する照明位置及びその照明光量が変化し、例えば上記図9に示すようにQRコード1中に反射光量が大きくなる部分、いわゆる白とび部分2が複数生じたり、又、例えば上記図10に示すように照明ムラが生じ、QRコード1の隅部の濃淡レベルが他の部分と比較して低く暗い画像部分3が生じたとしても、デコード不可となって欠落しているデータブロックのデコードデータをデコード可のデコードデータに書き換えることができる。この結果、例えばオペレータの操作によって商品20が撮像装置14の撮像範囲内に1回横切って移動するだけでも、全てのデータブロックb〜bのデコード結果がデコード可である最終のデコード結果を取得できる。これにより、QRコード1のデコードの成功率を向上できる。 Therefore, for example, when the product 20 is moved once within the imaging range of the imaging device 14 by the operation of the operator, the QR code 1 and each of the LEDs 21-1 to 21-6 as shown in FIGS. The illumination position with respect to the QR code 1 and the amount of illumination light change due to the change in the positional relationship. For example, as shown in FIG. For example, as shown in FIG. 10 above, even if illumination unevenness occurs and the darkness level of the corner of the QR code 1 is lower than that of the other portions and the dark image portion 3 is generated, it cannot be decoded and is missing. The decoded data of the existing data block can be rewritten to decode data that can be decoded. As a result, for example, even if the product 20 is moved once within the imaging range of the imaging device 14 by the operation of the operator, the final decoding result in which the decoding results of all the data blocks b 1 to b 7 can be decoded is obtained. You can get it. Thereby, the success rate of decoding QR code 1 can be improved.

上記一実施の形態では、例えば2回の撮像動作によってそれぞれ取得されたQRコード1中の各データブロックb〜b毎の各デコード結果からデコード可のデコード結果を組み合わせて全てのデータブロックb〜bのデコード結果がデコード可である最終のデコード結果を取得しているが、これに限らず、商品20が撮像装置14の撮像範囲内に1回横切って移動するときに例えば3回以上の撮像動作が行われれば、これら3回以上の撮像動作によってそれぞれ取得されたQRコード1中の各データブロックb〜b毎の各デコード結果からデコード可のデコード結果を組み合わせて全てのデータブロックb〜bのデコード結果がデコード可である最終のデコード結果を取得してよい。 In the above embodiment, for example, all the data blocks b are obtained by combining the decode results that can be decoded from the decode results for each of the data blocks b 1 to b 7 in the QR code 1 acquired by two imaging operations, for example. Although the final decoding result in which the decoding results 1 to b 7 are decodable is acquired, the present invention is not limited to this, and for example, when the product 20 moves once within the imaging range of the imaging device 14, for example, three times If the above imaging operation is performed, all the decoding results that can be decoded are combined from the decoding results for each of the data blocks b 1 to b 7 in the QR code 1 respectively acquired by these three or more imaging operations. decoding result of the data blocks b 1 ~b 7 may acquire the final decoding result is decodable.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。
例えば、上記一実施の形態では、データコードとしてQRコード1の読み取りに適用した場合について説明したが、これに限らず、2次元のバーコードや記号等のデータコードを読み取る場合にも適用可能である。
Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.
For example, in the above-described embodiment, the case where the data code is applied to the reading of the QR code 1 has been described. However, the present invention is not limited to this, and the present invention can be applied to the case of reading a data code such as a two-dimensional bar code or a symbol. is there.

本発明に係るデータコード読取装置の一実施の形態を示す構成図。1 is a configuration diagram showing an embodiment of a data code reading device according to the present invention. 同装置により読み取るQRコードにおける複数のデータブロックを示す模式図。The schematic diagram which shows the some data block in QR Code read by the apparatus. 同装置におけるデータコード読取フローチャート。The data code reading flowchart in the same apparatus. 同装置における撮像装置の1回目の撮像動作により取得された2値化画像データの摸式図。FIG. 4 is a schematic diagram of binarized image data acquired by the first imaging operation of the imaging apparatus in the apparatus. 同装置による1回目の撮像動作時におけるQRコード中の各データブロックのデコード結果を示す摸式図。FIG. 6 is a schematic diagram showing a decoding result of each data block in the QR code during the first imaging operation by the apparatus. 同装置における撮像装置の2回目の撮像動作により取得された2値化画像データの摸式図。FIG. 6 is a schematic diagram of binarized image data acquired by a second imaging operation of the imaging device in the same device. 同装置による2回目の撮像動作時におけるQRコード中の各データブロックのデコード結果を示す摸式図。FIG. 6 is a schematic diagram showing a decoding result of each data block in the QR code during the second imaging operation by the apparatus. 同装置により取得されるQRコード中の各データブロックに対する最終のデコード結果を示す模式図。The schematic diagram which shows the last decoding result with respect to each data block in QR Code acquired by the apparatus. QRコード中に白とび部分が生じた画像データを示す模式図。The schematic diagram which shows the image data which the overexposure part produced in QR Code. QRコード中に照明ムラによって暗い画像部分が生じた画像データを示す模式図。The schematic diagram which shows the image data which the dark image part produced by illumination unevenness in QR Code.

符号の説明Explanation of symbols

1:QRコード、10:CPU、11:ROM、12:RAM、13:通信インタフェース(通信I/F)、14:撮像装置、15:2値化処理部、16:デコード部、17:デコード判定部、18:デコード組合せ部、19:点灯部、20:商品、21−1〜21−n:LED。   1: QR code, 10: CPU, 11: ROM, 12: RAM, 13: communication interface (communication I / F), 14: imaging device, 15: binarization processing unit, 16: decoding unit, 17: decoding determination Part, 18: decoding combination part, 19: lighting part, 20: product, 21-1 to 21-n: LED.

Claims (9)

移動する物体に添付され、かつ複数のデータブロックから成る少なくともデータコードを含む領域を繰り返して撮像する撮像装置と、
前記撮像装置による繰り返しの撮像により取得される少なくとも2つの画像データのそれぞれに対して前記複数のデータブロック毎にデコードを行うデコード部と、
前記少なくとも2つの画像データの前記複数のデータブロック毎にそれぞれ前記デコード部によるデコード結果の可・不可を判定するデコード判定部と、
前記デコード判定部により前記デコード可と判定した前記各データブロックのデコードデータを組み合わせて最終のデコード結果を取得するデコード組合せ部と、
を具備することを特徴とするデータコード読取装置。
An imaging device that repeatedly attaches an image to an object that is attached to a moving object and includes at least a data code including a plurality of data blocks;
A decoding unit that decodes each of the plurality of data blocks with respect to each of at least two image data acquired by repeated imaging by the imaging device;
A decoding determination unit that determines whether the decoding result by the decoding unit is possible or not for each of the plurality of data blocks of the at least two image data;
A decoding combination unit that obtains a final decoding result by combining the decoding data of each of the data blocks determined to be decodable by the decoding determination unit;
A data code reading apparatus comprising:
前記デコード組合せ部は、前記デコード判定部による判定の結果、前記デコード不可の前記データブロックが有ると、当該データブロックに欠落しているデコードデータを当該データブロックと同一でかつデコード可と判定された他の前記画像データの前記データブロックのデコードデータに書き換えることを特徴とする請求項1記載のデータコード読取装置。   As a result of the determination by the decode determination unit, the decode combination unit determines that the decoded data missing in the data block is the same as the data block and can be decoded if there is the data block that cannot be decoded. 2. The data code reading device according to claim 1, wherein the data code reading device is rewritten to decode data of the data block of the other image data. 前記デコード部は、前記撮像装置の撮像範囲内に前記物体が1回横切って移動したときに取得された前記少なくとも2つの画像データのそれぞれに対して前記複数のデータブロック毎にデコードを行い、
前記デコード判定部は、前記デコード部による前記デコード結果の可・不可を判定し、
前記デコード組合せ部は、前記デコード判定部により前記デコード可と判定した前記各データブロックのデコードデータを組み合わせて最終のデコード結果を取得する、
ことを特徴とする請求項1記載のデータコード読取装置。
The decoding unit performs decoding for each of the plurality of data blocks with respect to each of the at least two image data acquired when the object moves once across the imaging range of the imaging device,
The decoding determination unit determines whether the decoding result by the decoding unit is acceptable;
The decoding combination unit obtains a final decoding result by combining the decoding data of the data blocks determined to be decodable by the decoding determination unit,
The data code reader according to claim 1.
前記デコード組合せ部は、前記撮像装置による1回目の撮像により取得された前記画像データに対する前記複数のデータブロック毎の前記デコードの結果、少なくとも1つの前記データブロックに前記デコード不可の判定結果であれば、当該デコード不可の前記データブロックに欠落している前記デコードデータを、前記撮像装置による2回目以降の撮像により取得された前記各画像データに対する前記デコード結果のうち前記デコード不可と判定された前記データブロックと同一でかつ前記デコード可と判定された前記データブロックの前記デコードデータに書き換えることを特徴とする請求項1記載のデータコード読取装置。   The decoding combination unit is a determination result indicating that at least one data block cannot be decoded as a result of the decoding for each of the plurality of data blocks with respect to the image data acquired by first imaging by the imaging device. The decoded data missing in the undecodable data block is determined to be undecodeable among the decoding results for the respective image data acquired by the second or subsequent imaging by the imaging device. 2. The data code reading apparatus according to claim 1, wherein the data code reading device is rewritten to the decoded data of the data block that is the same as the block and is determined to be decodable. 前記デコード組合せ部は、前記少なくとも1つの前記データブロックに前記デコード不可の判定結果であれば、前記デコード不可の前記データブロックを含む前記複数のデータブロックのデコードデータを保存し、前記撮像装置による2回目の撮像以降に、前記保存した前記複数のデータブロックのデコードデータのうち前記デコード不可の前記デコードデータを前記デコード可と判定された前記データブロックの前記デコードデータに書き換えることを特徴とする請求項4記載のデータコード読取装置。   The decoding combination unit stores the decoded data of the plurality of data blocks including the data block that cannot be decoded if the determination result is that the at least one data block cannot be decoded. The imaging data of the plurality of stored data blocks is rewritten to the decoded data of the data block determined to be decodable from the stored decoded data of the plurality of data blocks after the second imaging. 4. The data code reading device according to 4. 前記デコード組合せ部は、前記撮像装置による1回目の撮像により取得された前記画像データに対して前記デコード部により前記複数のデータブロック毎にデコードを行った結果、全ての前記データブロックが前記デコード可の判定結果であれば、当該複数のデータブロックのデコードデータを前記最終のデコード結果とすることを特徴とする請求項1記載のデータコード読取装置。   The decoding combination unit decodes the image data obtained by the first imaging by the imaging device for each of the plurality of data blocks by the decoding unit, so that all the data blocks can be decoded. 2. The data code reading apparatus according to claim 1, wherein the decoded data of the plurality of data blocks is used as the final decoding result. 前記データコードは、QRコードであることを特徴とする請求項1記載のデータコード読取装置。   The data code reader according to claim 1, wherein the data code is a QR code. 移動する物体に添付され、かつ複数のデータブロックから成る少なくともデータコードを含む領域を繰り返して撮像し、
前記繰り返しの撮像により取得される少なくとも2つの画像データのそれぞれに対して前記複数のデータブロック毎にデコードを行い、
前記少なくとも2つの画像データの前記複数のデータブロック毎にそれぞれ前記デコード結果の可・不可を判定し、
前記デコード結果の判定により前記デコード可と判定した前記各データブロックのデコードデータを組み合わせて最終のデコード結果を取得する、
ことを特徴とするデータコード読取方法。
Repetitively image a region attached to a moving object and including at least a data code composed of a plurality of data blocks,
Perform decoding for each of the plurality of data blocks for each of at least two image data acquired by repeated imaging,
Determining whether the decoding result is possible or not for each of the plurality of data blocks of the at least two image data;
The final decoding result is obtained by combining the decoding data of each data block determined to be decodable by the determination of the decoding result,
A data code reading method.
前記デコード結果の可・不可の判定の結果、前記デコード不可の前記データブロックが有ると、当該データブロックに欠落しているデコードデータを当該データブロックと同一でかつデコード可と判定された他の前記画像データの前記データブロックのデコードデータに書き換えることを特徴とする請求項8記載のデータコード読取方法。   If there is the data block that cannot be decoded as a result of the determination as to whether the decoding result is possible or not, the other decoded data that is determined to be the same as the data block and that can be decoded are included in the data block. 9. The data code reading method according to claim 8, wherein the data block is rewritten to decoded data of the data block.
JP2007298298A 2007-11-16 2007-11-16 Data code reading apparatus and method Expired - Fee Related JP4815423B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007298298A JP4815423B2 (en) 2007-11-16 2007-11-16 Data code reading apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007298298A JP4815423B2 (en) 2007-11-16 2007-11-16 Data code reading apparatus and method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011183983A Division JP5232904B2 (en) 2011-08-25 2011-08-25 Data code reading apparatus and method

Publications (2)

Publication Number Publication Date
JP2009123088A true JP2009123088A (en) 2009-06-04
JP4815423B2 JP4815423B2 (en) 2011-11-16

Family

ID=40815149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007298298A Expired - Fee Related JP4815423B2 (en) 2007-11-16 2007-11-16 Data code reading apparatus and method

Country Status (1)

Country Link
JP (1) JP4815423B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101986709A (en) * 2010-11-08 2011-03-16 福州瑞芯微电子有限公司 Video decoding method for high-efficiency fetching of matching block and circuit
JP2011233099A (en) * 2010-04-30 2011-11-17 Optoelectronics Co Ltd Optical information reader and optical information reading method
CN113296719A (en) * 2020-02-21 2021-08-24 东芝泰格有限公司 Label issuing device, label issuing system, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10187864A (en) * 1996-12-20 1998-07-21 Matsushita Electric Ind Co Ltd Optical information reader and image sensor
JPH11120284A (en) * 1997-10-15 1999-04-30 Denso Corp Optical information reader and recording medium
JP2000148922A (en) * 1998-09-03 2000-05-30 Denso Corp Two-dimensional code, method for reading two- dimensional code, method for generating two-dimensional code and recording medium
JP2007041691A (en) * 2005-08-01 2007-02-15 Fuji Xerox Co Ltd Code pattern image generating device and method, code pattern image reading device and method, and code pattern image medium
JP2007087005A (en) * 2005-09-21 2007-04-05 Denso Wave Inc Optical information reader

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10187864A (en) * 1996-12-20 1998-07-21 Matsushita Electric Ind Co Ltd Optical information reader and image sensor
JPH11120284A (en) * 1997-10-15 1999-04-30 Denso Corp Optical information reader and recording medium
JP2000148922A (en) * 1998-09-03 2000-05-30 Denso Corp Two-dimensional code, method for reading two- dimensional code, method for generating two-dimensional code and recording medium
JP2007041691A (en) * 2005-08-01 2007-02-15 Fuji Xerox Co Ltd Code pattern image generating device and method, code pattern image reading device and method, and code pattern image medium
JP2007087005A (en) * 2005-09-21 2007-04-05 Denso Wave Inc Optical information reader

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011233099A (en) * 2010-04-30 2011-11-17 Optoelectronics Co Ltd Optical information reader and optical information reading method
CN101986709A (en) * 2010-11-08 2011-03-16 福州瑞芯微电子有限公司 Video decoding method for high-efficiency fetching of matching block and circuit
CN101986709B (en) * 2010-11-08 2013-04-10 福州瑞芯微电子有限公司 Video decoding method for high-efficiency fetching of matching block and circuit
CN113296719A (en) * 2020-02-21 2021-08-24 东芝泰格有限公司 Label issuing device, label issuing system, and storage medium
CN113296719B (en) * 2020-02-21 2024-05-14 东芝泰格有限公司 Label issuing device, label issuing system, and storage medium

Also Published As

Publication number Publication date
JP4815423B2 (en) 2011-11-16

Similar Documents

Publication Publication Date Title
JP4058529B2 (en) Optical information reader
AU2018334449B2 (en) Methods and system for reading barcodes captured on multiple images
JP4815423B2 (en) Data code reading apparatus and method
JP5673257B2 (en) Code reading apparatus, code reading method and code reading program
US20060177093A1 (en) Sheet identifying device and method
JP5232904B2 (en) Data code reading apparatus and method
US10460142B2 (en) Barcode identification method for improving decoding reliability by correcting image distortion
US9607234B2 (en) Method and apparatus for processing images, and storage medium storing the program
JP4749382B2 (en) Two-dimensional code reading apparatus and method
JP5264956B2 (en) Two-dimensional code reading apparatus and method
JP5427828B2 (en) Two-dimensional code reading apparatus and method
JP4728297B2 (en) Two-dimensional code reading apparatus and method
JP4622992B2 (en) Optical information reader
WO2014191028A1 (en) Bar code reading device and detection method
JP4100273B2 (en) Two-dimensional code reading method and two-dimensional code reading apparatus
JP2008305058A (en) Code reading device and method
JP4905767B2 (en) Two-dimensional code detection system and two-dimensional code detection program
JP4729363B2 (en) Photo side detection device, ID card creation device, photo side detection method, and ID card creation method
JP2006134160A (en) Optical information reading device
JP3891072B2 (en) Bar code reading method and bar code reading apparatus
JP2005165949A (en) Bar code reading method and bar code reading device
JP5660465B2 (en) Optical information reader
JP2010026736A (en) Code detecting apparatus and code detecting method
JP2003273507A (en) Board mounting method for electronic component
JP2006023912A (en) Information code reader and information code reading method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110315

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110513

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110829

R150 Certificate of patent or registration of utility model

Ref document number: 4815423

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees