JP4470860B2 - Information code reader - Google Patents

Information code reader Download PDF

Info

Publication number
JP4470860B2
JP4470860B2 JP2005324831A JP2005324831A JP4470860B2 JP 4470860 B2 JP4470860 B2 JP 4470860B2 JP 2005324831 A JP2005324831 A JP 2005324831A JP 2005324831 A JP2005324831 A JP 2005324831A JP 4470860 B2 JP4470860 B2 JP 4470860B2
Authority
JP
Japan
Prior art keywords
information code
image
decoding
code
resolution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005324831A
Other languages
Japanese (ja)
Other versions
JP2007133566A (en
Inventor
敏生 森本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Wave Inc
Original Assignee
Denso Wave Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Wave Inc filed Critical Denso Wave Inc
Priority to JP2005324831A priority Critical patent/JP4470860B2/en
Publication of JP2007133566A publication Critical patent/JP2007133566A/en
Application granted granted Critical
Publication of JP4470860B2 publication Critical patent/JP4470860B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、バーコード等の一次元情報コード、QRコード(登録商標)等の二次元情報コードを読み取る情報コード読取装置に関するものである。 The present invention relates to an information code reader for reading a one-dimensional information code such as a barcode and a two-dimensional information code such as a QR code (registered trademark).

情報コード読取装置では、バーコード等の一次元情報コード、QRコード等の二次元情報コードの画像を撮像素子で取得し、デコードを行って情報を読み取っている。近年、イメージセンサ等の撮像素子の画素数を増大させ画像の解像度を高めることで、読み取り精度を向上させてきたが、反面、デコードを行う情報量が増えて、デコード処理時間が長くなるという問題が生じてきた。さらに、画素数の大きな画像をメモリに取り込むため、取り込み時間も飛躍的に長くなっている。 In an information code reading device, an image of a one-dimensional information code such as a bar code or a two-dimensional information code such as a QR code is acquired by an image sensor, and the information is decoded and read. In recent years, the accuracy of reading has been improved by increasing the number of pixels of an image sensor such as an image sensor and increasing the resolution of the image, but on the other hand, the amount of information to be decoded has increased and the decoding processing time has become longer. Has arisen. Furthermore, since an image with a large number of pixels is captured in the memory, the capture time is also greatly increased.

係る課題に対応するため、特許文献1に、二次元コードの画像を高解像度で撮像してメモリに記憶し、この画像を縮小し、縮小した画像から二次元コードを切り出す二次元コード読み取り装置が提案されている。
特開2000−259761号公報
In order to cope with such a problem, Patent Document 1 discloses a two-dimensional code reading apparatus that captures a two-dimensional code image at a high resolution and stores it in a memory, reduces the image, and extracts a two-dimensional code from the reduced image. Proposed.
JP 2000-259761 A

しかしながら、特許文献1の二次元コード読み取り装置では、高解像度で撮像してメモリに記憶しているため、撮像に時間が掛かるという課題がある。即ち、二次元コードを構成するセルの大きさ様々であり、ファインピッチのセルを用いている二次元コードに対しては、高解像度で撮像しないと読み取りれないことがあるが、通常の大きさのセルより成る二次元コードに対しては、不必要に高い解像度で撮像することになってしまい、撮像・デコードに時間が掛かり、読み取り時間が長くなる。 However, since the two-dimensional code reader of Patent Document 1 captures images with high resolution and stores them in a memory, there is a problem that it takes time to capture images. In other words, the size of the cells that make up a two-dimensional code varies, and a two-dimensional code that uses fine-pitch cells may not be read unless imaged at a high resolution. For a two-dimensional code consisting of the above cells, imaging is performed at an unnecessarily high resolution, which takes time for imaging and decoding, and increases the reading time.

本発明は、上述した課題を解決するためになされたものであり、その目的とするところは、短時間で確実に情報コードの読み取りができる情報コード読取装置を提供することにある。 The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an information code reader capable of reading an information code reliably in a short time.

上記目的を達成するため、請求項1の発明は、情報コードを読み取る情報コード読取装置10であって:
実質的に同じ撮像領域において、低い解像度にて情報コードの画像を取得する低解像度画像取得手段(S12)と、低解像度画像取得手段よりも高い解像度にて該情報コードの画像を取得する高解像度画像取得手段(S30)と;
前記低い解像度の画像から情報コードの読み取りが可能か否かを判断する判断手段(S18)と;
前記判断手段により読み取り可能と判断された際に(S18:Yes)、当該低い解像度の情報コードの画像からデコードを行い、不可能と判断された際に(S18:No)、前記高い解像度の情報コードの画像からデコードを行うデコード手段(S30、S32)とを備え
前記低い解像度の情報コードの画像からデコードを行い、デコードを失敗した場合に(S22:Yes)、デコードを失敗した領域ERを特定し(S24)、
前記低い解像度の画像で既に完了しているデコードを用いると共に、高い解像度の画像から前記デコードを失敗した領域ERのデコードを行い、前記低い解像度の画像から行ったデコードの失敗を補完する(S28)ことを技術的特徴とする。
In order to achieve the above object, the invention of claim 1 is an information code reader 10 for reading an information code:
A low-resolution image acquisition unit (S12) that acquires an image of an information code at a low resolution in a substantially same imaging region, and a high resolution that acquires an image of the information code at a higher resolution than the low-resolution image acquisition unit Image acquisition means (S30);
Determining means (S18) for determining whether or not the information code can be read from the low resolution image;
When it is determined by the determination means that it can be read (S18: Yes), the information of the low resolution information code is decoded, and when it is determined that it is not possible (S18: No), the high resolution information. Decoding means (S30, S32) for decoding from a code image ;
When decoding is performed from the low-resolution information code image and decoding fails (S22: Yes), the region ER where decoding has failed is identified (S24),
The decoding that has already been completed with the low resolution image is used, and the region ER where the decoding has failed is decoded from the high resolution image to complement the decoding failure performed from the low resolution image (S28). This is a technical feature.

請求項1では、低い解像度にて情報コードの画像を取得し(S12)、該低い解像度の画像から情報コードの読み取りが可能か否かを判断し(S18)、読み取り可能と判断した際に(S18:Yes)、当該低い解像度の情報コードの画像からデコードを行う(S20)。低い解像度の画像でデコードするため、高い解像度の画像を取得しデコードするのに比べて、短時間で情報コードの読み取りができる。一方、低い解像度の情報コードの画像からのデコードが不可能と判断した際に(S18:No)、高い解像度の情報コードの画像からデコードを行う(S32)。このため、確実に情報コードを読み取ることができる。特に、低い解像度の画像で実際にデコードを行い、デコードが失敗した際に、高い解像度の画像でデコードするのと比べて、予め低い解像度の画像でのデコードが可能か否かを判断するため、情報コードの読み取り時間を短縮可能である。さらに、低い解像度の情報コードの画像でデコードを失敗した場合に(S22:Yes)、デコードを失敗した領域ERを特定する(S24)。そして、低い解像度の画像で既に完了しているデコードを用いると共に、高い解像度の画像からのデコードを失敗した領域ERで行い、低い解像度の画像から行ったデコードの失敗を補完する(S28)。このため、例え、低い解像度の情報コードの画像からのデコードに失敗して、高い解像度の情報コードの画像からデコードを行う際にも、低い解像度の画像で既に完了しているデコードを用い、デコードに失敗した最小限の領域ERのみをデコードするため、デコードに時間が掛からず、短時間で情報コードの読み取りができる。 In claim 1, an information code image is acquired at a low resolution (S12), and it is determined whether or not the information code can be read from the low resolution image (S18). S18: Yes), decoding is performed from the low resolution information code image (S20). Since decoding is performed with an image having a low resolution, an information code can be read in a shorter time than when a high resolution image is acquired and decoded. On the other hand, when it is determined that decoding from a low-resolution information code image is impossible (S18: No), decoding is performed from a high-resolution information code image (S32). For this reason, an information code can be read reliably. In particular, in order to determine whether or not decoding with a low resolution image is possible in advance compared to decoding with a high resolution image when decoding actually fails with a low resolution image, The reading time of the information code can be shortened. Furthermore, when decoding fails with an image of a low resolution information code (S22: Yes), the region ER where decoding has failed is identified (S24). Then, the decoding that has already been completed for the low resolution image is used, and the decoding from the high resolution image is performed in the area ER, and the decoding failure performed from the low resolution image is complemented (S28). For this reason, even when decoding from an image with a low resolution information code fails and decoding from an image with a high resolution information code is performed, the decoding that has already been completed with the low resolution image is used. Since only the minimum area ER that failed to be decoded is decoded, it does not take time for decoding, and the information code can be read in a short time.

請求項2では、低い解像度の画像から情報コードの存在している領域E1を検出する(S14)。そして、高い解像度の情報コードの画像からデコードを行う際に、検出された情報コードの存在している領域E2をデコードする(S32)。このため、例え、低い解像度の情報コードの画像からのデコードが不可能で、高い解像度の情報コードの画像からデコードを行う際にも、情報コードの存在している最小限の領域E2のみをデコードするため、デコードに時間が掛からず、短時間で情報コードの読み取りができる。 In claim 2, the area E1 where the information code exists is detected from the low resolution image (S14). Then, when decoding from an image of a high-resolution information code, the area E2 where the detected information code exists is decoded (S32). For this reason, for example, decoding from a low resolution information code image is impossible, and even when decoding from a high resolution information code image, only the minimum area E2 where the information code exists is decoded. Therefore, decoding does not take time, and the information code can be read in a short time.

請求項3では、低い解像度の画像から情報コードの読み取りが可能か否かを、低い解像度の画像中で情報コードを構成する明暗Cの最小単位の少なくとも一方が、予め設定された画素数以上かにより判断する(S18)。このため、低い解像度の画像でデコードを試みることなく、情報コードの読み取りが可能か否かを判断できる。これにより、低い解像度の画像で実際にデコードを行い、デコードが失敗した際に、高い解像度の画像でデコードするのと比べて、情報コードの読み取り時間を短縮可能である。 According to the third aspect of the present invention, whether or not the information code can be read from the low resolution image is determined by checking whether at least one of the minimum units of the light and dark C constituting the information code in the low resolution image is equal to or more than a preset number of pixels. (S18). For this reason, it is possible to determine whether or not the information code can be read without trying to decode the image with a low resolution. As a result, it is possible to shorten the information code reading time compared to decoding with a high resolution image when decoding is actually performed with a low resolution image and decoding fails.

請求項5では、低い解像度の画像では情報コードの読み取り不可能と判断された際に(S18:No)、高い解像度にて該情報コードの画像を取得する(S30)。即ち、低い解像度にて情報コードの画像を取得し、該低い解像度の画像から情報コードの読み取りが可能と判断した際に、当該低い解像度の情報コードの画像からデコードを行い、高い解像度の画像を取得しないため、短時間で情報コードの読み取りができる。 According to the fifth aspect, when it is determined that the information code cannot be read in the low resolution image (S18: No), the information code image is acquired at the high resolution (S30). That is, when an information code image is acquired at a low resolution and it is determined that the information code can be read from the low resolution image, the information code image is decoded from the low resolution image, and a high resolution image is obtained. Since it is not acquired, the information code can be read in a short time.

請求項6では、情報コードが一次元コードか二次元コードかを識別し(S29)、一次元コードと識別された際に(S29:Yes)、水平方向のみに高い解像度にて該情報コードの画像を取得し(S31)、二次元コードと識別された際にのみ(S29:No)、水平・垂直方向の高い解像度にて該情報コードの画像を取得する(S30)。即ち、垂直方向への高解像度が必要とされない一次元コードに対しては、水平方向のみに高い解像度にて画像を取得するため、短時間で一次元コードの読み取りができる。 In claim 6, whether the information code is a one-dimensional code or a two-dimensional code is identified (S 29), and when the information code is identified as a one-dimensional code (S 29: Yes), the information code is displayed with high resolution only in the horizontal direction. An image is acquired (S31), and only when it is identified as a two-dimensional code (S29: No), an image of the information code is acquired with high resolution in the horizontal and vertical directions (S30). That is, for a one-dimensional code that does not require high resolution in the vertical direction, an image is acquired with a high resolution only in the horizontal direction, so that the one-dimensional code can be read in a short time.

[第1実施形態]
以下、本発明の情報コード読取装置の第1実施形態について図を参照して説明する。まず、本実施形態に係る情報コード読取装置10の構成概要を図1、図2に基づいて説明する。
図1に示すように、情報コード読取装置10は、主に、縦長のほぼ矩形箱状なすハウジング11と、このハウジング11内に収容される回路部20と、同じくこのハウジング11内に収容されて回路部20に駆動電力を供給する電池49と、により構成されている。
[First embodiment]
Hereinafter, a first embodiment of an information code reader according to the present invention will be described with reference to the drawings. First, a configuration outline of the information code reading apparatus 10 according to the present embodiment will be described with reference to FIGS. 1 and 2.
As shown in FIG. 1, the information code reader 10 is mainly accommodated in a vertically long, substantially rectangular box-shaped housing 11, a circuit portion 20 accommodated in the housing 11, and the housing 11. And a battery 49 for supplying driving power to the circuit unit 20.

ハウジング11は、例えば、ABS樹脂等の合成樹脂からなる成形部品で、その一端側に、ハウジング11の裏面方向に前傾するように「首曲がり形状」をなす読取口11aを備えている。この読取口11aは、後述する回路部20の受光センサ23に入射する入射光を導入可能な開口部である。一方、このハウジング11の他端側には、電池49を収容可能な図略の電池ボックスが形成されている。また、ハウジング11の表面側には液晶表示器46を取付可能な開口部も形成されており、情報コード読取装置10の使用者が液晶表示器46に表示する表示内容を視覚的に把握可能に構成している。 The housing 11 is a molded part made of synthetic resin such as ABS resin, for example, and is provided with a reading port 11a having a “neck bend shape” at one end thereof so as to tilt forward toward the back surface of the housing 11. The reading port 11a is an opening through which incident light incident on a light receiving sensor 23 of the circuit unit 20 described later can be introduced. On the other hand, an unillustrated battery box capable of accommodating the battery 49 is formed on the other end side of the housing 11. In addition, an opening to which the liquid crystal display 46 can be attached is formed on the front surface side of the housing 11 so that the user of the information code reading device 10 can visually grasp the display contents displayed on the liquid crystal display 46. It is composed.

回路部20は、ハウジング11の内部に収容されているプリント配線板15、16に実装される各種の電子部品18等によって構成されている。即ち、回路部20は、主に、照明光源21、受光センサ23、結像レンズ27等の光学系と、メモリ35、制御回路40、操作スイッチ42、液晶表示器46等のマイクロコンピュータ(以下「マイコン」という)系と、電源スイッチ41、電池49等の電源系と、から構成されている。そして、これらはプリント配線板15、16に実装されたり、あるいはハウジング11内に内装されている。 The circuit unit 20 is configured by various electronic components 18 and the like mounted on the printed wiring boards 15 and 16 housed in the housing 11. That is, the circuit unit 20 mainly includes an optical system such as an illumination light source 21, a light receiving sensor 23, and an imaging lens 27, and a microcomputer such as a memory 35, a control circuit 40, an operation switch 42, and a liquid crystal display 46 (hereinafter, “ And a power supply system such as a power switch 41 and a battery 49. These are mounted on the printed wiring boards 15 and 16 or are housed in the housing 11.

ここで、回路部20の構成について図2を参照して後述する。図2に示すように、回路部20を構成する光学系は、照明光源21、受光センサ23、マーカ光源25、結像レンズ27等から構成されている。照明光源21は、図1には記載されていないが、照明光発光可能な照明光源として機能するもので、例えば、赤色のLEDとこのLEDの出射側に設けられる拡散レンズ、集光レンズ等とから構成されている。本実施形態では受光センサ23を挟んだ両側に照明光源21が設けられており、ハウジング11の読取口11aを介して読取対象物Rに向けて照明光Lfを照射可能に構成されている。 Here, the configuration of the circuit unit 20 will be described later with reference to FIG. As shown in FIG. 2, the optical system constituting the circuit unit 20 includes an illumination light source 21, a light receiving sensor 23, a marker light source 25, an imaging lens 27, and the like. Although the illumination light source 21 is not described in FIG. 1, it functions as an illumination light source capable of emitting illumination light. For example, a red LED and a diffusing lens, a condensing lens, and the like provided on the emission side of the LED are provided. It is composed of In the present embodiment, illumination light sources 21 are provided on both sides of the light receiving sensor 23, and configured to be able to irradiate the illumination light Lf toward the reading object R through the reading port 11 a of the housing 11.

なお、本実施形態では、赤色のLEDを用いているが、例えば青色、白色等といった多種多様な発光色を、当該2次元コードQを読み取り得る2次元バーコードリーダ(光学情報読取装置)の照明光Lfの発光色に合わせても良い。これにより、2次元バーコードリーダの照明光の発光状態に近い状態で、照明光源21から照明光Lfを照射できる。 In the present embodiment, a red LED is used, but illumination of a two-dimensional barcode reader (optical information reader) that can read the two-dimensional code Q with various emission colors such as blue and white. You may match with the luminescent color of the light Lf. Thereby, the illumination light Lf can be irradiated from the illumination light source 21 in a state close to the light emission state of the illumination light of the two-dimensional barcode reader.

受光センサ23は、読取対象物Rや2次元コードQに照射されて反射した反射光Lrを受光可能に構成されるもので、例えば、C−MOSやCCD等の固体撮像素子である受光素子をm行n列の2次元に配列したエリアセンサが相当し、640×480画素を備える。この受光センサ23の受光センサ23aには、ハウジング11の外から読取口11aを介して外観可能に構成されており、受光センサ23は、結像レンズ27を介して入射する入射光をこの受光センサ23aで受光可能にプリント配線板15に実装されている。 The light receiving sensor 23 is configured to receive the reflected light Lr irradiated and reflected on the reading object R or the two-dimensional code Q. For example, the light receiving sensor 23 is a solid-state image pickup device such as a C-MOS or CCD. This corresponds to an area sensor arranged two-dimensionally in m rows and n columns, and has 640 × 480 pixels. The light receiving sensor 23a of the light receiving sensor 23 is configured to be externally visible from the outside of the housing 11 through the reading port 11a. The light receiving sensor 23 receives incident light incident through the imaging lens 27. It is mounted on the printed wiring board 15 so that it can receive light at 23a.

マーカ光源25は、情報コード読取装置10の使用者に対して適切な読取位置を知らせるためのマーカ光Mfを発光可能なマーカ光源として機能するもので、例えばレーザダイオードとこのレーザダイオードの出射側に設けられる拡散レンズ、集光レンズやマーカ光MfによるセンターマークMXやコーナーマークMLといったパターンを形成可能なスリット盤、結像レンズ、絞り盤から構成されている。 The marker light source 25 functions as a marker light source capable of emitting marker light Mf for notifying the user of the information code reading device 10 of an appropriate reading position. For example, the marker light source 25 is provided on the laser diode and on the emission side of the laser diode. It comprises a diffusing lens, a condensing lens, a slit disk that can form a pattern such as a center mark MX and a corner mark ML by marker light Mf, an imaging lens, and a diaphragm.

結像レンズ27は、外部からハウジング11を介して入射する入射光を集光して受光センサ23の受光センサ23aに像を結像可能な結像光学系として機能しうるもので、例えば鏡筒とこの鏡筒に収容される複数の集光レンズとにより構成されている。なお、図2には示されていないが、図1に示すように、2次元コードQ等に反射して読取口11aに入射した反射光Lrの光路を変更する反射鏡26が読取口11a内に設けられている。 The imaging lens 27 can function as an imaging optical system capable of condensing incident light incident from the outside via the housing 11 and forming an image on the light receiving sensor 23a of the light receiving sensor 23. For example, the lens barrel And a plurality of condensing lenses housed in the lens barrel. Although not shown in FIG. 2, as shown in FIG. 1, a reflecting mirror 26 that changes the optical path of the reflected light Lr reflected by the two-dimensional code Q or the like and incident on the reading port 11a is provided in the reading port 11a. Is provided.

次にマイコン系の構成概要を説明する。図2に示すように、マイコン系は、増幅回路31、A/D変換回路33、メモリ35、アドレス発生回路36、同期信号発生回路38、制御回路40、操作スイッチ42、LED43、ブザー44、液晶表示器46、通信インタフェース48等から構成されている。このマイコン系は、その名の通り、マイコン(情報処理装置)として機能しうる制御回路40およびメモリ35を中心に構成されるもので、前述した光学系により撮像された2次元コードQの画像信号等をハードウエア的およびソフトウエア的に信号処理し得るものである。また制御回路40は、当該情報コード読取装置10の全体のシステムに関する制御も行っている。液晶表示器46は、上述した640×480画素の受光センサ23で撮像した画像を320×240画素で映し出すビューファインダを構成している。 Next, an outline of the configuration of the microcomputer system will be described. As shown in FIG. 2, the microcomputer system includes an amplifier circuit 31, an A / D conversion circuit 33, a memory 35, an address generation circuit 36, a synchronization signal generation circuit 38, a control circuit 40, an operation switch 42, an LED 43, a buzzer 44, and a liquid crystal. It comprises a display 46, a communication interface 48, and the like. As the name suggests, this microcomputer system is composed mainly of a control circuit 40 and a memory 35 that can function as a microcomputer (information processing apparatus). The image signal of the two-dimensional code Q imaged by the optical system described above. Etc. can be processed by hardware and software. The control circuit 40 also performs control related to the entire system of the information code reader 10. The liquid crystal display 46 constitutes a viewfinder that displays an image captured by the above-described light receiving sensor 23 of 640 × 480 pixels at 320 × 240 pixels.

光学系の受光センサ23から出力される画像信号は、増幅回路31に入力されることで所定原因で増幅した後、A/D変換回路33に入力されるとアナログ信号からデジタル信号に変換される。そして、デジタル化された画像信号、つまり画像データはメモリ35に入力されると所定の入力バッファに蓄積される。なお、同期信号発生回路38は、受光センサ23およびアドレス発生回路36に対する同期信号を発生可能に構成されており、またアドレス発生回路36は、この同期信号発生回路38から供給される同期信号に基づいてメモリ35に格納される画像データの格納アドレスを発生可能に構成されている。 The image signal output from the light receiving sensor 23 of the optical system is amplified by a predetermined cause by being input to the amplification circuit 31, and then converted from an analog signal to a digital signal when input to the A / D conversion circuit 33. . When the digitized image signal, that is, image data is input to the memory 35, it is stored in a predetermined input buffer. The synchronization signal generation circuit 38 is configured to generate a synchronization signal for the light receiving sensor 23 and the address generation circuit 36. The address generation circuit 36 is based on the synchronization signal supplied from the synchronization signal generation circuit 38. The storage address of the image data stored in the memory 35 can be generated.

メモリ35は、半導体メモリ装置で、例えば読取対象物RAM(DRAM、SRAM等)や読取対象物ROM(EPROM、EEPROM等)がこれに相当する。このメモリ35のうちのRAMには、所定のバッファ領域やこのほか制御回路40が算術演算や論理演算等の各処理に利用する作業領域等も確保可能に構成されている。また、ROMには、所定のプログラムやその他、照明光源21、受光センサ23やマーカ光源25等の各ハードウェアの制御可能なシステムプログラム等が予め格納されている。 The memory 35 is a semiconductor memory device, and corresponds to a reading object RAM (DRAM, SRAM, etc.) and a reading object ROM (EPROM, EEPROM, etc.), for example. The RAM of the memory 35 is configured to be able to secure a predetermined buffer area and a work area used by the control circuit 40 for each processing such as arithmetic operation and logical operation. The ROM stores in advance a predetermined program and a system program that can control each hardware such as the illumination light source 21, the light receiving sensor 23, the marker light source 25, and the like.

制御回路40は、情報コード読取装置10全体の制御を可能なマイコンで、CPU、システムバス、入出力インタフェースとからなり、メモリ35と共に情報処理装置を構成し情報処理機能を有する。この制御回路40には、内蔵された入出力インタフェースを介して種々の入出力装置(周辺装置)と接続可能に構成されており、本実施形態の場合、電源スイッチ41、操作スイッチ42、LED43、ブザー44、液晶表示器46、通信インタフェース48等を接続している。これにより、例えば、電源スイッチ41や操作スイッチ42の監視や管理、またインジケータとして機能するLED43の点灯・消灯、ビープ音やアラーム音を発生可能なブザー44の鳴動のオンオフ、さらには読み取った2次元コードQの評価結果を表示可能な液晶表示器46の画面制御や外部機器とのシリアル通信を可能にする通信インタフェース48の通信制御等を可能にしている。なお、操作スイッチ42には、照明光源21による照明光Lfの照射を指示するトリガースイッチ14が含まれている。 The control circuit 40 is a microcomputer capable of controlling the entire information code reader 10, and includes a CPU, a system bus, and an input / output interface. The control circuit 40 constitutes an information processing apparatus together with the memory 35 and has an information processing function. The control circuit 40 is configured to be connectable to various input / output devices (peripheral devices) via a built-in input / output interface. In the present embodiment, the power switch 41, the operation switch 42, the LED 43, A buzzer 44, a liquid crystal display 46, a communication interface 48, and the like are connected. Thereby, for example, monitoring and management of the power switch 41 and the operation switch 42, turning on / off the LED 43 functioning as an indicator, turning on / off the buzzer 44 capable of generating a beep sound and an alarm sound, and further reading the two-dimensional Screen control of the liquid crystal display 46 capable of displaying the evaluation result of the code Q, communication control of the communication interface 48 enabling serial communication with an external device, and the like are enabled. The operation switch 42 includes the trigger switch 14 that instructs the illumination light source 21 to irradiate the illumination light Lf.

電源系は、電源スイッチ41、電池49等に構成されており、制御回路40により管理されている電源スイッチ41のオンオフによって、前述した各装置や各回路に、電池49から供給される駆動電圧の導通や遮断が制御されている。なお、電池49は、所定の直流電圧を発生可能な二次電池で、例えば、リチウムイオン電池等がこれに相当する。 The power supply system is configured by a power switch 41, a battery 49, and the like. By turning on / off the power switch 41 managed by the control circuit 40, the drive voltage supplied from the battery 49 to each device and each circuit described above is set. Continuity and interruption are controlled. The battery 49 is a secondary battery that can generate a predetermined DC voltage, and corresponds to, for example, a lithium ion battery.

引き続き、第1実施形態の情報コード読取装置10による情報コードの読み取り処理について図3(A)、図5、図7を参照して説明する。
図3(A)は第1実施形態の情報コード読取装置10での解像度切り替えの模式図であり、図5(A)は解像度を切り替えて撮像したQRコードの説明図である。
第1実施形態の情報コード読取装置10は、低解像度(320×240)と高解像度(640×480)とを切り替えて撮像できるように構成されている。該情報コード読取装置10は、先ず、低解像度でQRコードを撮像し、当該低解像度でQRコードがデコードできるかを判断し、デコード可能な際は、撮像した低解像度の画像でQRコードのデコードを開始する。一方、低解像度でデコードが不可能と判断した際には、高解像度でQRコードを撮像し、該高解像度の画像からQRコードをデコードする。ここで、低解像度でデコードが不可能と判断した際には、図5(A)左図に示すように当該低解像度の画像でQRコードQの存在している領域E1を特定しておき、高解像度の画像からデコードを行う際に、図5(A)右図に示すように高解像度の画像中の該当領域E2をデコードすることで、デコードを行う範囲を狭め、デコード時間の短縮を図っている。
Next, information code reading processing by the information code reading device 10 of the first embodiment will be described with reference to FIGS. 3 (A), 5, and 7.
FIG. 3A is a schematic diagram of resolution switching in the information code reading apparatus 10 of the first embodiment, and FIG. 5A is an explanatory diagram of a QR code imaged by switching the resolution.
The information code reader 10 according to the first embodiment is configured to be able to capture an image by switching between a low resolution (320 × 240) and a high resolution (640 × 480). The information code reader 10 first captures a QR code at a low resolution, determines whether the QR code can be decoded at the low resolution, and if it can be decoded, decodes the QR code from the captured low resolution image. To start. On the other hand, when it is determined that decoding is impossible at low resolution, the QR code is imaged at high resolution, and the QR code is decoded from the high resolution image. Here, when it is determined that decoding is impossible at a low resolution, an area E1 where the QR code Q exists is specified in the low resolution image as shown in the left diagram of FIG. When decoding from a high resolution image, the corresponding area E2 in the high resolution image is decoded as shown in the right diagram of FIG. 5A, thereby narrowing the decoding range and shortening the decoding time. ing.

図7は、情報コード読取装置10によるQRコードの読み取り処理を示すフローチャートである。
先ず、低解像度(320×240)でQRコードQの画像を取得する(S12)。この低解像度の画像としては、ビューファインダを構成する液晶表示器46用の画像を流用することができる。そして、該低解像度画像で、QRコードの大まかな位置(図5(A)左図の領域E1)、及び、モジュール(セル)サイズを確認する(S14)。ここで、QRコードの大まかな位置の探索には、特開2000−353210号の手法を用いる。一方、モジュールサイズとは、図5(B)中に示すQRコードを構成するモジュール(セル)Cの大きさを意味し、具体的には、情報コード読取装置10がセルCの有る(B)無し(W)を暗(セル有り)明(セル無し)で識別しており、このセルCが当該低解像度(320×240)での何画素に相当するかによりサイズを確認する。次に、QRコードが画像内にデコードするのに十分あるか、即ち、操作者によりQRコードが適切に捉えられ、画像内にQRコードが存在しているかを判断する(S16)。ここで、QRコードが適切に捉えられていない場合には(S16:No)、一旦処理を終了する。
FIG. 7 is a flowchart showing a QR code reading process by the information code reading device 10.
First, an image of QR code Q is acquired with a low resolution (320 × 240) (S12). As this low-resolution image, an image for the liquid crystal display 46 constituting the viewfinder can be used. Then, the rough position of the QR code (area E1 in the left diagram of FIG. 5A) and the module (cell) size are confirmed in the low-resolution image (S14). Here, a technique disclosed in Japanese Patent Laid-Open No. 2000-353210 is used for searching for a rough position of the QR code. On the other hand, the module size means the size of the module (cell) C constituting the QR code shown in FIG. 5B. Specifically, the information code reader 10 has the cell C (B). None (W) is identified as dark (cell present) or light (cell absent), and the size is confirmed by the number of pixels corresponding to the cell C at the low resolution (320 × 240). Next, it is determined whether the QR code is sufficient to be decoded in the image, that is, whether the QR code is properly captured by the operator and the QR code exists in the image (S16). Here, if the QR code is not properly captured (S16: No), the process is temporarily terminated.

QRコードが画像内にデコードするのに十分ある際には(S16:Yes)、上記S14で確認した、モジュールのサイズがデコード可能な大きさか、即ち、低解像度の画像からQRコードがデコードできるか否かを判断する(S18)。ここでは、図5(B)中に示す1個のモジュールCのサイズが、4画素以上かを判断する。ここで、モジュールCのサイズは、モジュール有り(暗B)を基準として判断することも、モジュール無し(明W)を基準として判断することも、両方併用して判断することも可能である。 When the QR code is sufficient to be decoded in the image (S16: Yes), is the module size confirmed in S14 described above, that is, whether the QR code can be decoded from the low resolution image? It is determined whether or not (S18). Here, it is determined whether the size of one module C shown in FIG. 5B is 4 pixels or more. Here, the size of the module C can be determined based on the presence of the module (dark B), the determination based on the absence of the module (bright W), or a combination of both.

モジュールのサイズがデコード可能な4画素以上の場合、即ち、低解像度の画像からQRコードがデコードできる際には(S18:Yes)、当該低解像度の画像からQRコードのデコードを行う(S20)。そして、デコードが成功した際には(S22:No)、デコードを終了し、読み取り結果を出力して(S34)、処理を終了する。 When the module size is 4 pixels or more that can be decoded, that is, when the QR code can be decoded from the low resolution image (S18: Yes), the QR code is decoded from the low resolution image (S20). When the decoding is successful (S22: No), the decoding is terminated, the reading result is output (S34), and the process is terminated.

他方、低解像度でのデコードが失敗した際には(S22:Yes)、図5(C)左図に示すように、失敗した領域ERを特定する(S26)。そして、高解像度(640×480)で画像を取得し(S26)、低解像度画像にてデコードを失敗した領域ERをデコードし(図5(C)右図参照)、これを低解像度終えているデコードに補完することで、デコードを完了させる(S28)。そして、読み取り結果を出力して(S34)、処理を終了する。 On the other hand, when the decoding at the low resolution fails (S22: Yes), as shown in the left diagram of FIG. 5C, the failed area ER is specified (S26). Then, an image is acquired with a high resolution (640 × 480) (S26), and the region ER that has failed to decode in the low resolution image is decoded (see the right figure in FIG. 5C), and the low resolution is finished. By complementing the decoding, the decoding is completed (S28). Then, the reading result is output (S34), and the process is terminated.

一方、上述したS18の低解像度の画像からQRコードがデコードできないと判断した際には(S18:No)、高解像度(640×480)で画像を取得し(S30)、S32で低解像度画像にてQRコードの存在を特定した領域E2をデコードする(図5(A)右図参照)。そして、読み取り結果を出力して(S34)、処理を終了する。 On the other hand, when it is determined that the QR code cannot be decoded from the low-resolution image of S18 described above (S18: No), the image is acquired at a high resolution (640 × 480) (S30), and the low-resolution image is converted at S32. Then, the area E2 that identifies the presence of the QR code is decoded (see the right figure in FIG. 5A). Then, the reading result is output (S34), and the process is terminated.

第1実施形態の情報コード読取装置10では、低解像度でQRコードの位置(領域E1)を特定し、高解像度画像中でその領域E2のみをデコードしたが、図6(A)左側に示すように、低解像度でQRコードの位置を特定し、図6(A)右側に示すように当該QRコードが存在している領域E3(例えば、低解像度と同じ320×240画素分)のみを高解像度(640×480相当)で撮像することも可能である。 In the information code reading apparatus 10 of the first embodiment, the QR code position (area E1) is specified at a low resolution, and only the area E2 is decoded in the high resolution image, as shown on the left side of FIG. In addition, the position of the QR code is specified at a low resolution, and only the region E3 where the QR code exists (for example, 320 × 240 pixels, which is the same as the low resolution) is displayed at a high resolution as shown on the right side of FIG. It is also possible to capture an image (equivalent to 640 × 480).

第1実施形態の情報コード読取装置10では、低解像度の画像から情報コードの読み取りが可能か否かを判断し、読み取り可能と判断した際に、当該低解像度の情報コードの画像からデコードを行う。低解像度の画像でデコードするため、高解像度の画像を取得しデコードするのに比べて、短時間で情報コードの読み取りができる。一方、低解像度の情報コードの画像からのデコードが不可能と判断された際に、高解像度の情報コードの画像からデコードを行う。このため、確実に情報コードを読み取ることができる。特に、低解像度の画像で実際にデコードを行い、デコードが失敗した際に、高解像度の画像でデコードするのと比べて、予め低解像度の画像でのデコードが可能か否かを判断するため、情報コードの読み取り時間を短縮可能である。 In the information code reader 10 of the first embodiment, it is determined whether or not the information code can be read from the low-resolution image. When it is determined that the information code can be read, the information code is decoded from the low-resolution information code image. . Since decoding is performed with a low-resolution image, the information code can be read in a shorter time than when a high-resolution image is acquired and decoded. On the other hand, when it is determined that decoding from an image with a low resolution information code is impossible, decoding is performed from an image with a high resolution information code. For this reason, an information code can be read reliably. In particular, in order to determine whether or not decoding with a low-resolution image is possible in advance compared to decoding with a high-resolution image when decoding actually fails with a low-resolution image and decoding fails, The reading time of the information code can be shortened.

また、情報コード読取装置10は、低解像度の画像から情報コードの存在している領域E1を検出する。そして、高解像度の情報コードの画像からデコードを行う際に、検出された情報コードの存在している領域E2をデコードする。このため、例え、低解像度の情報コードの画像からのデコードが不可能で、高解像度の情報コードの画像からデコードを行う際にも、情報コードの存在している最小限の領域E2のみをデコードするため、デコードに時間が掛からず、短時間で情報コードの読み取りができる。 Further, the information code reading device 10 detects an area E1 where an information code exists from a low resolution image. Then, when decoding from the high-resolution information code image, the area E2 where the detected information code exists is decoded. For this reason, for example, it is impossible to decode a low-resolution information code from an image, and even when decoding from a high-resolution information code image, only the minimum area E2 where the information code exists is decoded. Therefore, decoding does not take time, and the information code can be read in a short time.

更に、第1実施形態の情報コード読取装置10では、低解像度の画像からQRコードの読み取りが可能か否かを、低解像度の画像中でQRコードを構成するモジュールCが、予め設定された画素数(4)以上かにより判断する。このため、低解像度の画像でデコードを試みることなく、QRコードの読み取りが可能か否かを判断できる。 Further, in the information code reading device 10 of the first embodiment, whether or not the QR code can be read from the low resolution image is determined based on whether the module C constituting the QR code in the low resolution image has a preset pixel. Judgment is made based on whether the number is 4 or more. For this reason, it is possible to determine whether or not the QR code can be read without trying to decode a low-resolution image.

更にまた、第1実施形態の情報コード読取装置10では、低解像度の情報コードの画像でデコードを失敗した場合に、デコードを失敗した領域ERを特定する。そして、高解像度の画像からのデコードを失敗した領域ERで行い、低解像度の画像から行ったデコードの失敗を補完する。このため、例え、低解像度の情報コードの画像からのデコードに失敗して、高解像度の情報コードの画像からデコードを行う際にも、低解像度の画像で既に完了しているデコードを用い、デコードに失敗した最小限の領域のみをデコードするため、デコードに時間が掛からず、短時間で情報コードの読み取りができる。 Furthermore, in the information code reader 10 of the first embodiment, when decoding fails with an image of a low resolution information code, the region ER where decoding has failed is specified. Then, the decoding from the high resolution image is performed in the failed area ER, and the decoding failure performed from the low resolution image is complemented. For this reason, even when decoding from an image with a low resolution information code fails and decoding from an image with a high resolution information code, the decoding that has already been completed with the low resolution image is used. Since only the minimum area that failed to be decoded is decoded, it takes no time for decoding, and the information code can be read in a short time.

なお、上述した第1実施形態では、低解像度の画像と高解像度の画像とを別々のタイミングで取得したが、これを同時に取得することも、また、予め取り込んだ高解像度の画像から低解像度の画像を生成することも可能である。 In the first embodiment described above, the low-resolution image and the high-resolution image are acquired at different timings. However, it is also possible to acquire them simultaneously from the high-resolution image captured in advance. It is also possible to generate an image.

[第2実施形態]
図3(B)及び図6(B)を参照して第2実施形態に係る情報コード読取装置10について説明する。
第2実施形態の情報コード読取装置10は、上述した第1実施形態と同様に低解像度での読み取りが出来ない場合には、高解像度で情報コードを読み取る。但し、第2実施形態では、情報コードがバーコードかQRコードかを識別し、バーコード(一次元コード)と識別された際に、水平方向のみに高い解像度にて該バーコードの画像を取得し、QRコード(二次元コード)と識別された際にのみ、水平・垂直方向の高い解像度にて該QRコードの画像を取得する。即ち、垂直方向への高解像度が必要とされないバーコード(一次元コード)に対しては、水平方向のみに高い解像度にて画像を取得することで、短時間でバーコードの読み取りを可能にしている。
[Second Embodiment]
An information code reading apparatus 10 according to the second embodiment will be described with reference to FIGS. 3B and 6B.
The information code reader 10 of the second embodiment reads the information code at a high resolution when reading at a low resolution is not possible as in the first embodiment described above. However, in the second embodiment, when the information code is identified as a barcode or a QR code, when the barcode is identified as a barcode (one-dimensional code), an image of the barcode is acquired with high resolution only in the horizontal direction. Only when it is identified as a QR code (two-dimensional code), an image of the QR code is acquired with high resolution in the horizontal and vertical directions. In other words, for barcodes that do not require high resolution in the vertical direction (one-dimensional code), the barcode can be read in a short time by acquiring an image with high resolution only in the horizontal direction. Yes.

この第2実施形態の情報コード読取装置10によるバーコード、QRコードの読み取り処理を図8に示すフローチャートを参照して説明する。
S12〜S28までの処理は、図7を参照して上述した第1実施形態と同様である。ここで、S18でのモジュールのサイズがデコード可能な大きさか、即ち、低解像度の画像から情報コードがデコードできるか否かを判断で、低解像度でデコードできないと判断した際には(S18:No)、情報コードの形状(正方形か矩形か)に基づきバーコードかQRコードかを判断する(S29)。ここで、バーコードであると判断した際には(S29:Yes)、図6(B)に示すように、水平方向のみに解像度を高めた高解像度(640×240)で画像を取り込む(S31)。なお、ここでは、バーコードに対しては、操作者がバーコードの水平方向と、情報コード読取装置10の水平方向とがほぼ一致するようにして撮像しているものとする。但し、解像度の低い画像で、バーコードの向きが垂直方向であることが判別された場合には、垂直方向に解像度を高くした画像を取り込みようにしても良い。
A barcode and QR code reading process by the information code reader 10 of the second embodiment will be described with reference to a flowchart shown in FIG.
The processes from S12 to S28 are the same as those in the first embodiment described above with reference to FIG. Here, when it is determined whether the size of the module in S18 can be decoded, that is, whether the information code can be decoded from the low-resolution image, it is determined that the information cannot be decoded at the low resolution (S18: No). ) Based on the information code shape (square or rectangular), it is determined whether it is a bar code or a QR code (S29). When it is determined that the barcode is used (S29: Yes), as shown in FIG. 6B, an image is captured at a high resolution (640 × 240) in which the resolution is increased only in the horizontal direction (S31). ). Here, it is assumed that the operator is imaging the barcode in such a manner that the horizontal direction of the barcode and the horizontal direction of the information code reading device 10 substantially coincide. However, if it is determined that the barcode direction is the vertical direction in an image with a low resolution, an image with a high resolution in the vertical direction may be captured.

他方、QRコードであると判断した際には(S29:No)、図6(C)に示すように、水平、垂直方向への解像度を高めた高解像度(640×480)で画像を取り込む(S30)。以降の処理は第1実施形態と同様であるため、説明を省略する。 On the other hand, when it is determined that the code is a QR code (S29: No), as shown in FIG. 6C, an image is captured at a high resolution (640 × 480) in which the resolution in the horizontal and vertical directions is increased ( S30). Since the subsequent processing is the same as that of the first embodiment, description thereof is omitted.

[参考例]
図4を参照して参考例に係る情報コード読取装置10について説明する。
第1、第2実施形態の情報コード読取装置10は、低解像度と高解像度との2段階の解像度での撮像が可能であった。これに対して、図4に示すように参考例の実施形態では、低解像度(320×240)、中解像度(640×480)、高解像度(1280×960)、高高解像度(2560×19200)の4段階の解像度の切り替えが可能に構成されており、低解像度(320×240)の画像を基に、読み取りに必要とされる解像度を判断し、必要最小限の解像度で撮像し、情報コードを読み取る。
[ Reference example ]
An information code reader 10 according to a reference example will be described with reference to FIG.
The information code reader 10 according to the first and second embodiments can capture images at two resolutions, low resolution and high resolution. On the other hand, as shown in FIG. 4, in the embodiment of the reference example , low resolution (320 × 240), medium resolution (640 × 480), high resolution (1280 × 960), and high high resolution (2560 × 19200). 4 resolutions can be switched, the resolution required for reading is determined based on the low resolution (320 × 240) image, and the information code is captured with the minimum necessary resolution. Read.

この参考例の情報コード読取装置10によるQRコードの読み取り処理を図9に示すフローチャートを参照して説明する。
先ず、低解像度(320×240)でQRコードQの画像を取得する(S52)。そして、モジュールCのサイズがデコード可能な大きさか、即ち、低解像度の画像からQRコードがデコードできるか否かを、モジュールC(図5(B)参照)のサイズが4画素以上かにより判断する(S54)。ここで、モジュールCのサイズがデコード可能な4画素以上の場合、即ち、低解像度の画像からQRコードがデコードできる際には(S54:Yes)、当該低解像度(320×240)の画像からQRコードのデコードを行う(S66)。
The QR code reading process by the information code reading device 10 of this reference example will be described with reference to the flowchart shown in FIG.
First, an image of QR code Q is acquired with a low resolution (320 × 240) (S52). Then, whether or not the size of the module C can be decoded, that is, whether or not the QR code can be decoded from the low-resolution image, is determined based on whether the size of the module C (see FIG. 5B) is 4 pixels or more. (S54). When the size of the module C is 4 pixels or more that can be decoded, that is, when the QR code can be decoded from the low resolution image (S54: Yes), the QR from the low resolution (320 × 240) image is displayed. The code is decoded (S66).

一方、モジュールCのサイズが4画素未満の場合、即ち、低解像度(320×240)の画像からQRコードがデコードできない場合には(S54:No)、モジュールCのサイズが4画素未満で3画素以上、即ち、3画素で中解像度(640×480)でデコード可能かを判断する(S56)。ここで、中解像度の画像からQRコードがデコードできる際には(S56:Yes)、中解像度(640×480)の画像を取得し(S60)、取得した中解像度の画像からQRコードのデコードを行う(S66)。 On the other hand, when the size of the module C is less than 4 pixels, that is, when the QR code cannot be decoded from the low resolution (320 × 240) image (S54: No), the size of the module C is less than 4 pixels and 3 pixels. That is, it is determined whether decoding is possible with 3 pixels and medium resolution (640 × 480) (S56). Here, when the QR code can be decoded from the medium resolution image (S56: Yes), the medium resolution (640 × 480) image is acquired (S60), and the QR code is decoded from the acquired medium resolution image. Perform (S66).

一方、モジュールCのサイズが3画素未満の場合、即ち、中解像度(640×480)の画像からQRコードがデコードできない場合には(S56:No)、モジュールCのサイズが3画素未満で2画素以上、即ち、2画素で高解像度(1280×960)でデコード可能かを判断する(S58)。ここで、高解像度の画像からQRコードがデコードできる際には(S58:Yes)、高解像度(1280×960)の画像を取得し(S62)、取得した高解像度の画像からQRコードのデコードを行う(S66)。 On the other hand, when the size of the module C is less than 3 pixels, that is, when the QR code cannot be decoded from the medium resolution (640 × 480) image (S56: No), the size of the module C is less than 3 pixels and 2 pixels. That is, it is determined whether or not decoding is possible with two pixels and high resolution (1280 × 960) (S58). Here, when the QR code can be decoded from the high-resolution image (S58: Yes), the high-resolution (1280 × 960) image is acquired (S62), and the QR code is decoded from the acquired high-resolution image. Perform (S66).

一方、モジュールCのサイズが2画素未満の場合、即ち、高解像度(1280×960)の画像でもデコードできない場合には(S58:No)、高高解像度(2560×1920)の画像を取得し(S64)、取得した高高解像度の画像からQRコードのデコードを行う(S66)。 On the other hand, when the size of the module C is less than two pixels, that is, when decoding cannot be performed even with a high resolution (1280 × 960) image (S58: No), a high high resolution (2560 × 1920) image is acquired ( In S64, the QR code is decoded from the acquired high-resolution image (S66).

参考例の情報コード読取装置10では、低解像度の画像を基に読み取りに必要な解像度を決定するため、確実に情報コードを読み取ることができ、また、必要最小限の解像度で情報コードを読み取るため、情報コードの読み取り時間を短縮することが可能である。なお、参考例では、解像度を4段階用意したが、3段階以上であれば、何段であっても適用可能である。 In the information code reader 10 of the reference example , since the resolution required for reading is determined based on the low-resolution image, the information code can be reliably read, and the information code is read with the minimum necessary resolution. It is possible to shorten the reading time of the information code. In the reference example , four levels of resolution are prepared. However, any number of levels can be applied as long as the number is three or more.

本発明の第1実施形態に係る情報コード読取装置の断面図である。It is sectional drawing of the information code reader which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係る情報コード読取装置の回路部の構成概要を示すブロック図である。It is a block diagram which shows the structure outline | summary of the circuit part of the information code reader which concerns on 1st Embodiment of this invention. 図3(A)は第1実施形態の情報コード読取装置での解像度切り替えの模式図であり、図3(B)は第2実施形態の情報コード読取装置での解像度切り替えの模式図である。FIG. 3A is a schematic diagram of resolution switching in the information code reader of the first embodiment, and FIG. 3B is a schematic diagram of resolution switching in the information code reader of the second embodiment. 参考例の情報コード読取装置での解像度切り替えの模式図である。It is a schematic diagram of the resolution switching in the information code reader of a reference example . 図5(A)、図5(C)は、第1実施形態の情報コード読取装置で解像度を切り替えて撮像したQRコードの説明図であり、図5(B)はQRコードを構成するモジュール(セル)の説明図である。FIGS. 5A and 5C are explanatory diagrams of QR codes captured by switching the resolution with the information code reader according to the first embodiment, and FIG. 5B is a module (FIG. 5B) that configures the QR codes. It is explanatory drawing of a cell. 図6(A)は、第1実施形態の別例に係る情報コード読取装置で解像度を切り替えて撮像したQRコードの説明図であり、図6(B)は第2実施形態の情報コード読取装置で解像度を切り替えて撮像したバーコードの説明図であり、図6(C)は第2実施形態の情報コード読取装置で解像度を切り替えて撮像したQRコードの説明図である。FIG. 6A is an explanatory diagram of a QR code imaged by switching the resolution with an information code reader according to another example of the first embodiment, and FIG. 6B is an information code reader of the second embodiment. FIG. 6C is an explanatory diagram of a QR code imaged with the resolution switched by the information code reader according to the second embodiment. 第1実施形態に係る情報コード読取装置によるQRコードの読み取り処理を示すフローチャートである。It is a flowchart which shows the reading process of QR code by the information code reading apparatus which concerns on 1st Embodiment. 第2実施形態に係る情報コード読取装置によるバーコード、QRコードの読み取り処理を示すフローチャートである。It is a flowchart which shows the reading process of the barcode and QR code by the information code reader which concerns on 2nd Embodiment. 参考例に係る情報コード読取装置によるQRコードの読み取り処理を示すフローチャートである。It is a flowchart which shows the reading process of QR Code by the information code reader which concerns on a reference example .

符号の説明Explanation of symbols

10 情報コード読取装置
20 回路部
23 受光センサ
35 メモリ
40 制御回路
DESCRIPTION OF SYMBOLS 10 Information code reader 20 Circuit part 23 Light reception sensor 35 Memory 40 Control circuit

Claims (5)

情報コードを読み取る情報コード読取装置であって:
実質的に同じ撮像領域において、低い解像度にて情報コードの画像を取得する低解像度画像取得手段と、低解像度画像取得手段よりも高い解像度にて該情報コードの画像を取得する高解像度画像取得手段と;
前記低い解像度の画像から情報コードの読み取りが可能か否かを判断する判断手段と;
前記判断手段により読み取り可能と判断された際に、当該低い解像度の情報コードの画像からデコードを行い、不可能と判断された際に、前記高い解像度の情報コードの画像からデコードを行うデコード手段とを備え
前記デコード手段は、
前記低い解像度の情報コードの画像からデコードを行い、デコードを失敗した場合に、デコードを失敗した領域を特定し、
前記低い解像度の画像で既に完了しているデコードを用いると共に、高い解像度の画像から前記デコードを失敗した領域のデコードを行い、前記低い解像度の画像から行ったデコードの失敗を補完することを特徴とする情報コード読取装置。
An information code reading device for reading an information code comprising:
Low resolution image acquisition means for acquiring an image of an information code at a low resolution in a substantially same imaging region, and high resolution image acquisition means for acquiring an image of the information code at a higher resolution than the low resolution image acquisition means When;
Determining means for determining whether or not an information code can be read from the low resolution image;
Decoding means for decoding from the low resolution information code image when it is determined to be readable by the determination means, and decoding from the high resolution information code image when it is determined impossible; equipped with a,
The decoding means includes
When decoding is performed from the image of the information code of the low resolution and decoding fails, an area where decoding has failed is identified,
The decoding which has already been completed with the low resolution image is used, the decoding failure area is decoded from the high resolution image, and the decoding failure made from the low resolution image is complemented. Information code reader.
前記低い解像度の画像から情報コードの存在している領域を検出する存在領域検出手段を備え、
前記デコード手段が、前記高い解像度の情報コードの画像からデコードを行う際には、前記存在領域検出手段により検出された情報コードの存在している領域をデコードすることを特徴とする請求項1の情報コード読取装置。
A presence region detecting means for detecting a region where an information code is present from the low resolution image;
2. The decoding unit according to claim 1, wherein when the decoding unit performs decoding from an image of the high-resolution information code, the decoding unit decodes a region where the information code detected by the presence region detection unit exists. Information code reader.
前記判断手段は、低い解像度の画像中で情報コードを構成する明暗の最小単位の少なくとも一方が、予め設定された画素数以上である場合に情報コードの読み取りが可能であると判断することを特徴とする請求項1又は請求項2の情報コード読取装置。 The determination means determines that the information code can be read when at least one of the minimum units of light and dark that constitute the information code in the low resolution image is equal to or more than a preset number of pixels. The information code reading device according to claim 1 or 2. 前記判断手段により読み取り不可能と判断された際に、前記高解像度画像取得手段が高い解像度にて該情報コードの画像を取得することを特徴とする請求項1〜請求項のいずれか1の情報コード読取装置。 When it is judged unreadable by the determining means, the high at resolution image acquisition means higher resolution any one of claims 1 to 3, characterized in that to obtain the image of the information code Information code reader. 情報コードが一次元コードか二次元コードかを識別する情報コード識別手段を備え、
一次元コードと識別された際に、前記高解像度画像取得手段が水平方向のみに高い解像度にて該一次元コードの画像を取得し、
二次元コードと識別された際に、前記高解像度画像取得手段が水平・垂直方向の高い解像度にて該二次元コードの画像を取得することを特徴とする請求項の情報コード読取装置。
An information code identifying means for identifying whether the information code is a one-dimensional code or a two-dimensional code;
When identified as a one-dimensional code, the high-resolution image acquisition means acquires an image of the one-dimensional code at a high resolution only in the horizontal direction,
5. The information code reading apparatus according to claim 4 , wherein when the image is identified as a two-dimensional code, the high-resolution image acquisition means acquires the image of the two-dimensional code at a high resolution in the horizontal and vertical directions.
JP2005324831A 2005-11-09 2005-11-09 Information code reader Expired - Fee Related JP4470860B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005324831A JP4470860B2 (en) 2005-11-09 2005-11-09 Information code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005324831A JP4470860B2 (en) 2005-11-09 2005-11-09 Information code reader

Publications (2)

Publication Number Publication Date
JP2007133566A JP2007133566A (en) 2007-05-31
JP4470860B2 true JP4470860B2 (en) 2010-06-02

Family

ID=38155186

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005324831A Expired - Fee Related JP4470860B2 (en) 2005-11-09 2005-11-09 Information code reader

Country Status (1)

Country Link
JP (1) JP4470860B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5062633B2 (en) * 2008-09-03 2012-10-31 株式会社リコー Image processing apparatus, image processing method, and program
US8083148B2 (en) * 2008-12-16 2011-12-27 Hand Held Products, Inc. Indicia reading terminal including frame processing
JP2015032213A (en) * 2013-08-05 2015-02-16 株式会社東芝 Information processing apparatus, information processing method, and information processing program
JP6372396B2 (en) * 2015-03-04 2018-08-15 株式会社デンソーウェーブ Information transmission system
JP6249025B2 (en) * 2016-02-16 2017-12-20 カシオ計算機株式会社 Image processing apparatus and program
JP6907055B2 (en) * 2017-07-11 2021-07-21 Phcホールディングス株式会社 Mobile terminal, imaging method, and imaging program
KR102659734B1 (en) * 2019-10-31 2024-04-22 주식회사 크래비스 Information Code Pattern Recognition Apparatus
CN116757231A (en) * 2023-08-22 2023-09-15 北京紫光青藤微系统有限公司 Method and device for generating super-resolution training atlas for bar code image

Also Published As

Publication number Publication date
JP2007133566A (en) 2007-05-31

Similar Documents

Publication Publication Date Title
JP4470860B2 (en) Information code reader
JP2007133851A (en) Imaging device
JP4186915B2 (en) Optical information reader
JP2006244139A (en) Optical information reading device
US8903201B2 (en) Method and apparatus for enhanced document capture
JP4968093B2 (en) Optical information reader
JP4325602B2 (en) Optical information reader
JP4650138B2 (en) Optical information reader
JP5556684B2 (en) Information code reader
JP4466522B2 (en) Optical information reader
JP5888199B2 (en) Bar code reader
JP5104557B2 (en) Optical information reader
JP5786784B2 (en) Information code reader
JP7167553B2 (en) Two-dimensional code
JP5104713B2 (en) Optical information reader
JP2011008574A (en) Optical information reader
JP5522093B2 (en) Optical information reader
JPH06139398A (en) Two-dimensional scanner
JP2010097316A (en) Optical information reader
JP5381928B2 (en) Optical information reader
JP2778884B2 (en) 2D code scanner
JP2007226411A (en) Code image output device
JP5007952B2 (en) Optical information reader
JP4487919B2 (en) Optical information reader
JP2016170599A (en) Information code reading device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090630

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090825

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

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

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

Free format text: PAYMENT UNTIL: 20130312

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20130312

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130312

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130312

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140312

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees