[go: up one dir, main page]

JP5298068B2 - Identification data recognition apparatus and control program thereof - Google Patents

Identification data recognition apparatus and control program thereof Download PDF

Info

Publication number
JP5298068B2
JP5298068B2 JP2010115648A JP2010115648A JP5298068B2 JP 5298068 B2 JP5298068 B2 JP 5298068B2 JP 2010115648 A JP2010115648 A JP 2010115648A JP 2010115648 A JP2010115648 A JP 2010115648A JP 5298068 B2 JP5298068 B2 JP 5298068B2
Authority
JP
Japan
Prior art keywords
decoding
identification data
result
recognition
image data
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
JP2010115648A
Other languages
Japanese (ja)
Other versions
JP2011243060A (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.)
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 JP2010115648A priority Critical patent/JP5298068B2/en
Publication of JP2011243060A publication Critical patent/JP2011243060A/en
Application granted granted Critical
Publication of JP5298068B2 publication Critical patent/JP5298068B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an identification data recognition device and a control program of the same capable of correctly recognizing identification data with high reliability without being affected by incident light even if light impinging on the identification data is reflected with high brightness to enter imaging means. <P>SOLUTION: If the result of decoding by line scanning satisfies recognition conditions, the result is confirmed as the result of recognition on a bar-code. If high brightness reflection data associated with high-brightness reflection on an article is contained in the result of decoding by line scanning, the recognition conditions are corrected. <P>COPYRIGHT: (C)2012,JPO&amp;INPIT

Description

本発明の実施形態は、識別データ認識装置およびその制御プログラムに関する。   Embodiments described herein relate generally to an identification data recognition apparatus and a control program thereof.

バーコード等の識別データが付された物品に光を照射し、その物品からの反射光を撮像手段で受けて識別データを認識する装置が知られている。   There is known an apparatus that irradiates an article with identification data such as a bar code and recognizes the identification data by receiving reflected light from the article with an imaging means.

特開平3−108084号公報Japanese Patent Laid-Open No. 3-108084

識別データに当たる光の強さや角度、あるいは識別データが印刷されている素材などの影響により、識別データに当たった光が高輝度で反射して撮像手段に入ることがある。   Due to the influence of the intensity and angle of light hitting the identification data or the material on which the identification data is printed, the light hitting the identification data may be reflected with high brightness and enter the imaging means.

この場合、識別データの画像を的確に捕えることができず、識別データを誤認識する可能性がある。   In this case, there is a possibility that the image of the identification data cannot be accurately captured and the identification data is erroneously recognized.

本発明の実施形態の目的は、識別データに当たった光が高輝度で反射して撮像手段に入った場合でも、それに影響を受けることなく、識別データを的確に認識することができる信頼性にすぐれた識別データ認識装置およびその制御プログラムを提供することである。   The object of the embodiment of the present invention is to ensure that the identification data can be accurately recognized without being affected even when the light hitting the identification data is reflected with high brightness and enters the imaging means. An excellent identification data recognition apparatus and a control program therefor are provided.

本発明の実施形態の識別データ認識装置は、識別データが付された物品に光を照射する光照射手段と、前記物品からの反射光を受けてその受光量に応じた信号を出力する撮像手段と、この撮像手段の出力を2値化する2値化手段と、この2値化手段による2値化データから識別データ候補領域の画像データを抽出する抽出手段と、この抽出手段で抽出される画像データをデコードするデコード手段と、このデコード手段のデコード結果が認識条件を満たした場合に、そのデコード結果を前記識別データに対する認識結果として確定する確定手段と、前記デコード手段のデコード結果に前記物品からの高輝度反射に基づく高輝度反射データが含まれているか否かを判定する判定手段と、この判定手段の判定結果が肯定の場合に、前記認識条件を補正する補正手段と、を備える。   An identification data recognition apparatus according to an embodiment of the present invention includes a light irradiating unit that irradiates light to an article with identification data, and an imaging unit that receives reflected light from the article and outputs a signal corresponding to the amount of received light. A binarizing unit that binarizes the output of the imaging unit, an extracting unit that extracts image data of the identification data candidate region from the binarized data by the binarizing unit, and the extracting unit extracts Decoding means for decoding image data, a confirmation means for confirming the decoding result as a recognition result for the identification data when the decoding result of the decoding means satisfies a recognition condition, and the article in the decoding result of the decoding means A determination unit that determines whether or not high-intensity reflection data based on high-intensity reflection from is included, and if the determination result of the determination unit is affirmative, the recognition condition is Comprising a positive correcting means.

一実施形態に関わる店舗のレジを示す外観図。The external view which shows the cash register of the shop in connection with one Embodiment. 同実施形態の要部の構成を示す図。The figure which shows the structure of the principal part of the embodiment. 同実施形態の制御回路のブロック図。The block diagram of the control circuit of the embodiment. 同実施形態の作用を説明するためのタイムチャート。The time chart for demonstrating the effect | action of the embodiment. 同実施形態の読取対象であるバーコードの画像データの例を示す図。The figure which shows the example of the image data of the barcode which is the reading object of the embodiment. 同実施形態の読取対象であるバーコードの画像データに高輝度反射データが含まれる例を示す図。The figure which shows the example in which high-intensity reflective data is contained in the image data of the barcode which is the reading target of the embodiment.

1…キャッシャの作業領域、2…チェックアウトカウンタ、3…レジ台、10…商品登録装置、11…バーコード認識装置、12…キーボード、13…オペレータ用ディスプレイ、14…客用ディスプレイ、15…読取窓、16,17…LED光源(光照射手段)、20…決済装置、30…商品(物品)、31…バーコード(識別データ)、42…CCDセンサ(撮像手段)、50…CPU、52…マイクロコンピュータ、61…ROM、62…RAM   DESCRIPTION OF SYMBOLS 1 ... Cashier work area, 2 ... Checkout counter, 3 ... Cash register, 10 ... Product registration device, 11 ... Bar code recognition device, 12 ... Keyboard, 13 ... Display for operator, 14 ... Display for customer, 15 ... Reading Windows, 16, 17 ... LED light source (light irradiation means), 20 ... settlement device, 30 ... merchandise (article), 31 ... bar code (identification data), 42 ... CCD sensor (imaging means), 50 ... CPU, 52 ... Microcomputer, 61 ... ROM, 62 ... RAM

以下、一実施形態について図面を参照して説明する。識別データ認識装置として、スーパーマーケット等の店舗のチェックアウト業務に用いるバーコード認識装置を例に説明する。   Hereinafter, an embodiment will be described with reference to the drawings. As an identification data recognition device, a barcode recognition device used for a checkout operation of a store such as a supermarket will be described as an example.

本実施形態に係る店舗のレジの外観を図1に示す。このレジには、チェックアウト業務担当の店員であるキャッシャの作業領域1を囲むように、商品登録装置10および決済装置20が設置されている。   FIG. 1 shows the appearance of a cash register in a store according to this embodiment. In this cash register, a merchandise registration apparatus 10 and a settlement apparatus 20 are installed so as to surround a work area 1 of a cashier who is a clerk in charge of checkout work.

商品登録装置10はチェックアウトカウンタ2に載置され、決済装置20はレジ台3の上にドロワ4を介して載置されている。   The merchandise registration apparatus 10 is placed on the checkout counter 2, and the settlement apparatus 20 is placed on the cash register 3 via the drawer 4.

チェックアウトカウンタ2は、顧客の通路に沿って配置されている。レジ台3は、顧客の通路におけるチェックアウトカウンタ2より下流側の位置に、かつチェックアウトカウンタ2に対してほぼ直角となる状態に配置されている。   The checkout counter 2 is arranged along the customer's passage. The cash register 3 is arranged at a position downstream of the checkout counter 2 in the customer's passage and at a substantially right angle to the checkout counter 2.

決済装置20は、例えばPOS(Point Of Sales)端末であり、決済に必要なデバイスとして、キーボード21、オペレータ用ディスプレイ22、客用ディスプレイ23、レシートプリンタ24などを備える。   The payment apparatus 20 is, for example, a POS (Point Of Sales) terminal, and includes a keyboard 21, an operator display 22, a customer display 23, a receipt printer 24, and the like as devices necessary for payment.

商品登録装置10は、商品の登録に必要なデバイスとして、バーコード認識装置11、キーボード12、オペレータ用ディスプレイ13、客用ディスプレイ14などを備える。バーコード認識装置11は、チェックアウトカウンタ2の長手方向略中央部に立設されている。キーボード12とオペレータ用ディスプレイ13は、バーコード認識装置11の上部に、作業領域1側を向けて取り付けられている。客用ディスプレイ14は、バーコード認識装置11の上部に、作業領域1とは反対側を向けて取り付けられている。   The product registration apparatus 10 includes a barcode recognition device 11, a keyboard 12, an operator display 13, a customer display 14 and the like as devices necessary for product registration. The bar code recognition device 11 is erected substantially at the center in the longitudinal direction of the checkout counter 2. The keyboard 12 and the operator display 13 are attached to the upper part of the barcode recognition device 11 with the work area 1 side facing. The customer display 14 is attached to the upper part of the barcode recognition device 11 with the side opposite to the work area 1 facing.

バーコード認識装置11は、キャッシャと対する側の面に、矩形状の読取窓15を有する。この読取窓15の上縁部および下縁部に沿う位置には、読取窓15の前にかざされる商品に対して光を照射する光照射手段、例えば発光ダイオードを用いたLED光源16,17が装着されている。   The barcode recognition device 11 has a rectangular reading window 15 on the surface facing the cashier. At positions along the upper and lower edges of the reading window 15, there are light irradiating means for irradiating the product held in front of the reading window 15, for example, LED light sources 16, 17 using light emitting diodes. It is installed.

チェックアウトカウンタ2におけるバーコード認識装置11の両隣りの位置には、顧客が購入する商品(物品)30が収容された買物容器5を置くスペース、およびバーコード認識装置11により登録された商品30を入れるための買物容器6を置くスペースが用意されている。   The checkout counter 2 has a space for placing a shopping container 5 containing a product (article) 30 to be purchased by a customer and a product 30 registered by the barcode recognition device 11 at positions adjacent to the barcode recognition device 11. A space is provided for placing a shopping container 6 for storing the item.

キャッシャは、買物容器5に収容された商品30を1品ずつ取り出し、その商品30に付された識別データであるバーコード31の面を図2のようにバーコード認識装置11の読取窓15にかざす。そして、キャッシャは、バーコード認識装置11によるバーコード認識が済んだ後、商品30を買物容器6に入れる。以上の作業を、買物容器5に収容された全ての商品30について1品毎に繰返し行い、完了したならば、決済装置20を操作して決済を行う。   The cashier takes out the products 30 stored in the shopping container 5 one by one, and the surface of the barcode 31 which is identification data attached to the products 30 is placed in the reading window 15 of the barcode recognition device 11 as shown in FIG. Hold it over. Then, after the barcode recognition by the barcode recognition device 11 is completed, the cashier puts the product 30 into the shopping container 6. The above operation is repeated for every product 30 stored in the shopping container 5 for each product, and when completed, the settlement device 20 is operated to perform settlement.

また、図2に示すように、バーコード認識装置11の読取窓15の内周縁は枠部材41で囲まれ、その枠部材41の開口と対向する位置に撮像手段たとえばCCDセンサ42が配置されている。このCCDセンサ42はセンサ制御ボード43に装着され、センサ制御ボード43はバーコード認識装置11全体を制御するメイン制御ボード44に装着されている。   As shown in FIG. 2, the inner peripheral edge of the reading window 15 of the barcode recognition device 11 is surrounded by a frame member 41, and imaging means such as a CCD sensor 42 is arranged at a position facing the opening of the frame member 41. Yes. The CCD sensor 42 is mounted on a sensor control board 43, and the sensor control board 43 is mounted on a main control board 44 that controls the entire barcode recognition device 11.

LED光源16,17が発光すると、その光が商品30に照射され、その商品30からの反射光が読取窓15を通ってCCDセンサ42に達する。CCDセンサ42は、商品30からの反射光を受けてその受光量に応じたレベルのアナログ信号を出力する。   When the LED light sources 16 and 17 emit light, the product 30 is irradiated with the light, and the reflected light from the product 30 passes through the reading window 15 and reaches the CCD sensor 42. The CCD sensor 42 receives the reflected light from the product 30 and outputs an analog signal having a level corresponding to the amount of light received.

このバーコード認識装置11のメイン制御ボード44に搭載された制御回路を図3に示す。
CPU50およびチップセット51に制御部であるマイクロコンピュータ52が接続され、そのマイクロコンピュータ52に、プログラム記憶用のROM61、各種データ記憶用のRAM62、出力ポート63、通信インタフェース64、キーボードコントローラ65、表示コントローラ66,67、光源コントローラ68、上記センサ制御ボード43が接続されている。
A control circuit mounted on the main control board 44 of the barcode recognition device 11 is shown in FIG.
A microcomputer 52, which is a control unit, is connected to the CPU 50 and the chip set 51. The microcomputer 52 includes a ROM 61 for storing programs, a RAM 62 for storing various data, an output port 63, a communication interface 64, a keyboard controller 65, and a display controller. 66, 67, the light source controller 68, and the sensor control board 43 are connected.

出力ポート63にはブザー70が接続されている。通信インタフェース64は、通信用ケーブルを介して決済装置20とのデータ送受信を行う。キーボードコントローラ65は、上記キーボード12を制御する。表示コントローラ66は、上記オペレータ用ディスプレイ13を制御する。表示コントローラ67は、上記客用ディスプレイ14を制御する。光源コントローラ68は、上記LED光源16,17を制御する。センサ制御ボード43は、上記CCDセンサ42を制御する。   A buzzer 70 is connected to the output port 63. The communication interface 64 performs data transmission / reception with the settlement apparatus 20 via a communication cable. The keyboard controller 65 controls the keyboard 12. The display controller 66 controls the operator display 13. The display controller 67 controls the customer display 14. The light source controller 68 controls the LED light sources 16 and 17. The sensor control board 43 controls the CCD sensor 42.

そして、マイクロコンピュータ52は、ROM61内の制御プログラムに基づく主要な機能として、次の(1)〜(7)の手段を有する。
(1)CCDセンサ42の出力を2値化する2値化手段。この2値化データは、RAM62に格納される。
The microcomputer 52 has the following means (1) to (7) as main functions based on the control program in the ROM 61.
(1) Binarization means for binarizing the output of the CCD sensor 42. The binarized data is stored in the RAM 62.

(2)上記2値化手段による2値化データからバーコード候補領域(識別データ候補領域)の画像データを抽出する抽出手段。この抽出手法として、例えば特開平9−62763号公報に開示された方法を利用することができる。   (2) Extraction means for extracting image data of a barcode candidate area (identification data candidate area) from the binarized data by the binarization means. As this extraction method, for example, a method disclosed in JP-A-9-62763 can be used.

(3)上記抽出手段で複数のバーコード候補領域の画像データが抽出された場合にそのうちの1つを選択する選択手段。   (3) Selection means for selecting one of a plurality of barcode candidate areas when the extraction means extracts image data of a plurality of barcode candidate areas.

(3)上記抽出手段で抽出または上記選択手段で選択される画像データをライン走査の繰り返しによりデコードするデコード手段。   (3) Decoding means for decoding the image data extracted by the extraction means or selected by the selection means by repeating line scanning.

(4)上記デコード手段のデコード結果が認識条件を満たした場合に、具体的にはデコード手段のデコード結果が設定回数X分のライン走査にわたり一致した場合に、そのデコード結果をバーコード認識結果として確定する確定手段。   (4) When the decoding result of the decoding means satisfies the recognition condition, specifically, when the decoding result of the decoding means matches over the line scan of the set number of times X, the decoding result is used as the barcode recognition result. Confirming means to confirm.

(5)上記デコード手段のデコード結果に商品30からの高輝度反射に基づく高輝度反射データが含まれているか否かを判定する判定手段。具体的には、バーコードの各バーの黒色画像パターンに欠け(不規則形状の白色画像パターン)が含まれていれば、その欠け部分を高輝度反射データとして捕らえる。   (5) Determination means for determining whether or not the decoding result of the decoding means includes high-intensity reflection data based on high-intensity reflection from the product 30. Specifically, if a black image pattern of each bar of the barcode includes a chip (irregular shape white image pattern), the chipped portion is captured as high-intensity reflection data.

(6)上記判定手段の判定結果が肯定の場合に、上記認識条件である設定回数Xを増大方向に補正する補正手段。   (6) Correction means for correcting the set number of times X, which is the recognition condition, in an increasing direction when the determination result of the determination means is affirmative.

(7)上記デコード手段のデコード結果が設定回数分のライン走査にわたり一致しないまま、そのデコード手段によるライン走査が上記選択手段で選択された画像データの領域から外れた場合に、その選択手段で別の1つの識別データ候補領域の画像データを選択せしめる制御手段。   (7) When the decoding result of the decoding means does not coincide with the set number of line scans and the line scanning by the decoding means deviates from the image data area selected by the selection means, the selection means separates Control means for selecting image data of one identification data candidate area.

つぎに、図3のフローチャートを参照しながら作用について説明する。
LED光源16,17の光が商品30のバーコード31に当たって反射すると、その反射光が読取窓15を通ってCCDセンサ42に入射する。このとき、CCDセンサ42は、受光量に応じたレベルのアナログ信号を出力する。
Next, the operation will be described with reference to the flowchart of FIG.
When the light from the LED light sources 16, 17 strikes the barcode 31 of the product 30 and is reflected, the reflected light enters the CCD sensor 42 through the reading window 15. At this time, the CCD sensor 42 outputs an analog signal having a level corresponding to the amount of received light.

CCDセンサ42の出力信号は2値化され、その2値化データがRAM62に格納される。そして、RAM62内の2値化データからバーコード候補領域(識別データ候補領域)の画像データが抽出される(ステップ101)。バーコード候補領域の画像データが抽出されない場合には(ステップ102のNO)、このまま処理終了となる。
抽出される画像データの例を図5および図6に示す。
The output signal of the CCD sensor 42 is binarized, and the binarized data is stored in the RAM 62. Then, the image data of the barcode candidate area (identification data candidate area) is extracted from the binarized data in the RAM 62 (step 101). If the image data of the barcode candidate area is not extracted (NO in step 102), the process ends as it is.
Examples of image data to be extracted are shown in FIGS.

バーコード候補領域として1つの画像データが抽出されると(ステップ102のYES)、その画像データがそのまま選択される(ステップ103)。抽出された画像データが複数の場合は(ステップ102のYES)、そのうちの1つの画像データが選択される(ステップ103)。   When one image data is extracted as a barcode candidate area (YES in step 102), the image data is selected as it is (step 103). If there are a plurality of extracted image data (YES in step 102), one of the image data is selected (step 103).

この抽出および選択されたバーコードの画像データに対し、バーの長さDを計測する処理が実行される(ステップ104)。さらに、計測された長さDにおいて実行可能なライン走査L11,L12…L16の本数Nが求められ、その長さDと本数Nからライン走査L11,L12…L16の相互間隔Sが算出される(ステップ105)。S=L/N
なお、ライン走査のことをデコード走査ともいう。また、ライン走査の方向を主走査、このライン走査が移行していく方向を副走査という。1本目のライン走査L11の先頭画素のx座標をx11、y座標をy11とすると、2本目のライン走査L12の先頭画素のx,y座標(x12,y12)は、ライン走査L11の先頭画素のx,y座標(x11,y11)を基準とし、それに上記算出した相互間隔Sをy座標のオフセット値として加算した座標値(x11,y12+S)として求めることができる。以降のライン走査の先頭画素のx,y座標も直前のライン走査を参照して同様に求めることができる。ライン走査L11の先頭画素のx,y座標(x11,y11)に続く各ライン走査上の先頭からn番目の画素は、座標値(x11+n,y11)を回転処理することにより求めることができる。
A process of measuring the bar length D is performed on the extracted and selected barcode image data (step 104). Further, the number N of line scans L11, L12... L16 that can be executed in the measured length D is obtained, and the mutual interval S between the line scans L11, L12. Step 105). S = L / N
Line scanning is also referred to as decoding scanning. The direction of line scanning is referred to as main scanning, and the direction in which this line scanning proceeds is referred to as sub-scanning. If the x coordinate of the first pixel of the first line scan L11 is x11 and the y coordinate is y11, the x and y coordinates (x12, y12) of the first pixel of the second line scan L12 are the first pixel of the line scan L11. It can be obtained as a coordinate value (x11, y12 + S) obtained by adding the calculated mutual interval S as an offset value of the y coordinate based on the x, y coordinate (x11, y11). The x and y coordinates of the first pixel of the subsequent line scan can be similarly obtained with reference to the immediately preceding line scan. The nth pixel from the head on each line scan following the x, y coordinates (x11, y11) of the head pixel of the line scan L11 can be obtained by rotating the coordinate value (x11 + n, y11).

そして、抽出および選択されたバーコードの画像データに対し、ライン走査によるデコードが実行される(ステップ106)。すなわち、バーコードの画像データに対し、各バーと直交する方向に最初のライン走査L11が実行され、これによりバーコードがデコードされる。   The extracted and selected barcode image data is decoded by line scanning (step 106). That is, the first line scan L11 is performed on the barcode image data in the direction orthogonal to each bar, and thereby the barcode is decoded.

このデコード結果が適正であれば(ステップ107のYES)、そのデコード結果に商品30からの高輝度反射に基づく高輝度反射データが含まれているか否かが判定される(ステップ108)。図5のように高輝度反射データが含まれていなければ(ステップ108のNO)、認識条件である設定回数Xたとえば“3”がそのまま保持される(ステップ110)。そして、デコード結果が設定回数X分のライン走査にわたり一致しているか否かが判定される(ステップ112)。この場合、まだ1本目のライン走査なので、判定結果は否定となり(ステップ112のNO)、次のライン走査L12が指定される(ステップ114)。   If the decoding result is appropriate (YES in step 107), it is determined whether or not the decoding result includes high-intensity reflection data based on the high-intensity reflection from the product 30 (step 108). If the high-intensity reflection data is not included as shown in FIG. 5 (NO in step 108), the set number X of recognition conditions such as “3” is held as it is (step 110). Then, it is determined whether or not the decoding result is consistent over the line scanning for the set number of times X (step 112). In this case, since it is still the first line scan, the determination result is negative (NO in step 112), and the next line scan L12 is designated (step 114).

この指定に基づいて次のライン走査L12によるデコードが実行され(ステップ106)、そのデコード結果が適正であれば(ステップ107のYES)、そのデコード結果に高輝度反射データが含まれているか否かが再び判定される(ステップ108)。高輝度反射データが含まれていなければ(ステップ108のNO)、設定回数Xがそのままの値Xに保持される(ステップ110)。そして、デコード結果が設定回数X分のライン走査にわたり一致しているか否かが判定される(ステップ112)。この場合、まだ2本目のライン走査なので判定結果は否定となり(ステップ112のNO)、次のライン走査L13が指定される(ステップ114)。   Based on this designation, decoding by the next line scan L12 is executed (step 106). If the decoding result is appropriate (YES in step 107), whether or not the high luminance reflection data is included in the decoding result. Is again determined (step 108). If high brightness reflection data is not included (NO in step 108), the set number X is held at the same value X (step 110). Then, it is determined whether or not the decoding result is consistent over the line scanning for the set number of times X (step 112). In this case, since it is still the second line scan, the determination result is negative (NO in step 112), and the next line scan L13 is designated (step 114).

この指定に基づいて次のライン走査L13によるデコードが実行され(ステップ106)、そのデコード結果が適正であれば(ステップ107のYES)、そのデコード結果に高輝度反射データが含まれているか否かが再び判定される(ステップ108)。高輝度反射データが含まれていなければ(ステップ108のNO)、設定回数Xがそのままの値Xに保持される(ステップ110)。そして、デコード結果が設定回数X分のライン走査にわたり一致しているか否かが判定される(ステップ112)。この3本目のライン走査でX回一致との判定結果が得られれば(ステップ112のYES)、デコード成立と判断され、デコード結果がバーコード31に対する認識結果として確定される(ステップ113)。これでバーコード認識の完了となる。   Based on this designation, decoding by the next line scan L13 is executed (step 106), and if the decoding result is appropriate (YES in step 107), whether or not the high luminance reflection data is included in the decoding result. Is again determined (step 108). If high brightness reflection data is not included (NO in step 108), the set number X is held at the same value X (step 110). Then, it is determined whether or not the decoding result is consistent over the line scanning for the set number of times X (step 112). If a determination result of X coincidence is obtained in the third line scanning (YES in step 112), it is determined that decoding is established, and the decoding result is determined as a recognition result for the barcode 31 (step 113). This completes barcode recognition.

なお、ノイズなど何らかの原因により、ライン走査L13によるデコード結果が適正でなかった場合には(ステップ107のNO)、次のライン走査L14が指定される(ステップ114)。この指定に基づいて次のライン走査L14によるデコードが実行され(ステップ106)、そのデコード結果が適正であれば(ステップ107のYES)、そのデコード結果に高輝度反射データが含まれているか否かが再び判定される(ステップ108)。高輝度反射データが含まれていなければ(ステップ108のNO)、設定回数Xがそのままの値Xに保持される(ステップ110)。そして、デコード結果が設定回数X分のライン走査にわたり一致しているか否かが判定される(ステップ112)。この4本目のライン走査でX回一致との判定結果が得られれば(ステップ112のYES)、デコード成立と判断され、そのデコード結果がバーコード認識結果として確定される(ステップ113)。これでバーコード認識の完了となる。   If the decoding result by the line scan L13 is not appropriate due to some cause such as noise (NO in step 107), the next line scan L14 is designated (step 114). Based on this designation, decoding by the next line scan L14 is executed (step 106). If the decoding result is appropriate (YES in step 107), whether or not the high luminance reflection data is included in the decoding result. Is again determined (step 108). If high brightness reflection data is not included (NO in step 108), the set number X is held at the same value X (step 110). Then, it is determined whether or not the decoding result is consistent over the line scanning for the set number of times X (step 112). If a determination result of X coincidence is obtained in the fourth line scan (YES in step 112), it is determined that decoding is established, and the decoding result is determined as a barcode recognition result (step 113). This completes barcode recognition.

また、ライン走査L13〜L16までのデコード結果が全て適正でなかった場合、あるいは最終のライン走査L16が終了してもデコード結果が設定回数X分のライン走査にわたり一致しなかった場合には、次に指定されるライン走査はバーコードの画像データの領域から外れてしまう(ステップ115のYES)。この場合、上記抽出されたバーコード候補領域の画像データが複数であれば、これまでの認識対象とは異なる別の1つの画像データが新たな認識対象として選択される(ステップ102のYES、ステップ103)。そして、選択された画像データに対し、上記同様のバーコード認識処理が実行される。   If all the decoding results for the line scans L13 to L16 are not appropriate, or if the decoding results do not coincide over the set number of line scans even after the final line scan L16 is completed, Therefore, the line scan specified in (1) deviates from the area of the barcode image data (YES in step 115). In this case, if there is a plurality of image data of the extracted barcode candidate area, another image data different from the previous recognition target is selected as a new recognition target (YES in step 102, step 103). Then, the barcode recognition process similar to the above is executed on the selected image data.

上記抽出されたバーコード候補領域の画像データが1つの場合は(ステップ102のNO)、バーコード認識が完了しないまま処理終了となる。   If there is one image data of the extracted barcode candidate area (NO in step 102), the process ends without completing barcode recognition.

一方、バーコード31の各バーは黒色画像パターンなので本来は反射光が少ないはずである。ところが、バーコード31の印刷面の材質(光沢のあるものなど)によっては、各バーの黒色画像パターンおよび各バーの相互間の白色画像パターンに関係なく高輝度の反射が生じ、図6に示すように各バーの黒色画像パターンの一部に欠け(不規則形状の白色画像パターンP)が含まれてしまう。   On the other hand, since each bar of the barcode 31 is a black image pattern, it should originally have little reflected light. However, depending on the material of the printing surface of the barcode 31 (such as glossy one), high-brightness reflection occurs regardless of the black image pattern of each bar and the white image pattern between the bars, as shown in FIG. As described above, a part of the black image pattern of each bar is missing (irregularly shaped white image pattern P).

このバーコードの画像データに対して各ライン走査によるデコードが実行された場合、各バーの黒色画像パターンの一部に存する不規則形状の白色画像パターンPが高輝度反射データとして検出される(ステップ108のYES)。この検出に伴い、認識条件の設定回数X(たとえば“3”)が所定回数α(たとえば“2”)だけ増大方向に補正される(ステップ111)。   When the barcode image data is decoded by each line scan, an irregularly shaped white image pattern P existing in a part of the black image pattern of each bar is detected as high-intensity reflection data (step). 108 YES). Accompanying this detection, the set number X (for example, “3”) of the recognition condition is corrected in an increasing direction by a predetermined number α (for example, “2”) (step 111).

そして、デコード結果が補正後の設定回数X(=“5”)分のライン走査にわたり一致すると(ステップ112のYES)、デコード成立と判断され、そのデコード結果がバーコード31に対する認識結果として確定される(ステップ113)。これでバーコード認識の完了となる。   When the decoded result matches over the number of line scans corresponding to the set number of times X (= “5”) after correction (YES in step 112), it is determined that decoding is established, and the decoded result is determined as a recognition result for the barcode 31. (Step 113). This completes barcode recognition.

このように、バーコードの画像データに高輝度反射データが含まれている場合には、設定回数Xを増大方向に補正して認識条件を厳しくすることにより、たとえ商品30のバーコード31部分で高輝度の反射が生じてその反射光がCCDセンサ42に入射しても、それに影響を受けることなく、バーコード31を的確に認識することができる。これによりバーコード認識の信頼性が大幅に向上する。   As described above, when the high-intensity reflection data is included in the barcode image data, the recognition condition is tightened by correcting the set number X in the increasing direction, so that the barcode 31 portion of the product 30 can be used. Even when high-brightness reflection occurs and the reflected light enters the CCD sensor 42, the barcode 31 can be accurately recognized without being affected by the reflection. This greatly improves the reliability of barcode recognition.

なお、上記実施形態では、識別データがバーコードである場合を例に説明したが、バーコードに限らず他の識別データに対しても同様に認識できる。また、認識条件である設定回数Xとして“3”、補正用の所定回数αとして“2”を用いたが、その設定回数Xおよび所定回数αについてはバーコードの大きさやCCDセンサ42の解像度などに応じて適宜に選定すればよい。
その他、この発明は上記各実施形態に限定されるものではなく、要旨を変えない範囲で種々変形実施可能である。
In the above-described embodiment, the case where the identification data is a barcode has been described as an example. However, not only the barcode but also other identification data can be similarly recognized. In addition, “3” is used as the set number X as a recognition condition and “2” is used as the predetermined number α for correction. The set number X and the predetermined number α are the barcode size, the resolution of the CCD sensor 42, and the like. It may be selected appropriately according to the situation.
In addition, this invention is not limited to each said embodiment, A various deformation | transformation implementation is possible in the range which does not change a summary.

Claims (6)

識別データが付された物品に光を照射する光照射手段と、
前記物品からの反射光を受けてその受光量に応じた信号を出力する撮像手段と、
この撮像手段の出力を2値化する2値化手段と、
この2値化手段による2値化データから識別データ候補領域の画像データを抽出する抽出手段と、
この抽出手段で抽出される画像データをデコードするデコード手段と、
このデコード手段のデコード結果が認識条件を満たした場合に、そのデコード結果を前記識別データに対する認識結果として確定する確定手段と、
前記デコード手段のデコード結果に前記物品からの高輝度反射に基づく高輝度反射データが含まれているか否かを判定する判定手段と、
この判定手段の判定結果が肯定の場合に、前記認識条件を補正する補正手段と、
を備えることを特徴とする識別データ認識装置。
A light irradiating means for irradiating the article with the identification data;
Imaging means for receiving reflected light from the article and outputting a signal corresponding to the amount of light received;
Binarization means for binarizing the output of the imaging means;
Extracting means for extracting image data of the identification data candidate area from the binarized data by the binarizing means;
Decoding means for decoding the image data extracted by the extracting means;
When the decoding result of the decoding means satisfies the recognition condition, a confirmation means for determining the decoding result as a recognition result for the identification data;
A determination unit that determines whether or not the decoding result of the decoding unit includes high-intensity reflection data based on high-intensity reflection from the article;
A correction unit that corrects the recognition condition when the determination result of the determination unit is affirmative;
An identification data recognition apparatus comprising:
前記識別データは、バーコードであり、
前記デコード手段は、前記抽出手段で抽出される画像データをライン走査の繰り返しによりデコードし、
前記確定手段は、前記デコード手段のデコード結果が設定回数分のライン走査にわたり一致した場合に、そのデコード結果を前記バーコードに対する認識結果として確定し、
前記補正手段は、前記判定手段の判定結果が肯定の場合に、前記設定回数を増大方向に補正する、
ことを特徴とする請求項1に記載の識別データ認識装置。
The identification data is a barcode,
The decoding means decodes the image data extracted by the extracting means by repeating line scanning,
The determination means determines the decoding result as a recognition result for the barcode when the decoding result of the decoding means coincides over a set number of line scans,
The correction means corrects the set number of times in an increasing direction when the determination result of the determination means is affirmative;
The identification data recognition apparatus according to claim 1.
前記抽出手段で複数の識別データ候補領域の画像データが抽出された場合にそのうちの1つを選択する選択手段、
をさらに備えることを特徴とする請求項2記載の識別データ認識装置。
Selection means for selecting one of the plurality of identification data candidate areas when the extraction means extracts image data;
The identification data recognition apparatus according to claim 2, further comprising:
前記デコード手段は、前記抽出手段で抽出または前記選択手段で選択される画像データをライン走査の繰り返しによりデコードする、
ことを特徴とする請求項3記載の識別データ認識装置。
The decoding means decodes the image data extracted by the extracting means or selected by the selecting means by repeating line scanning,
The identification data recognition apparatus according to claim 3.
前記デコード手段のデコード結果が設定回数分のライン走査にわたり一致しないまま、そのデコード手段によるライン走査が前記選択手段で選択された画像データの領域から外れた場合に、その選択手段で別の1つの識別データ候補領域の画像データを選択せしめる制御手段、
をさらに備えることを特徴とする請求項4記載の識別データ認識装置。
When the line scanning by the decoding means deviates from the area of the image data selected by the selection means while the decoding result of the decoding means does not coincide over the set number of line scans, another one is selected by the selection means. Control means for selecting the image data of the identification data candidate area;
The identification data recognition apparatus according to claim 4, further comprising:
識別データが付された物品に光を照射する光照射手段、前記物品からの反射光を受けてその受光量に応じた信号を出力する撮像手段、およびコンピュータを備えた識別データ認識装置において、
前記コンピュータに、
前記撮像手段の出力を2値化する機能と、
この2値化による2値化データから識別データ候補領域の画像データを抽出する機能と、
この抽出される画像データをデコードする機能と、
このデコード結果が認識条件を満たした場合に、そのデコード結果を前記識別データに対する認識結果として確定する機能と、
前記デコード結果に前記物品からの高輝度反射に基づく高輝度反射データが含まれているか否かを判定する機能と、
この判定結果が肯定の場合に、前記認識条件を補正する機能と、
を実現させることを特徴とする識別データ認識装置の制御プログラム。
In an identification data recognition device comprising a light irradiation means for irradiating an article with identification data, an imaging means for receiving reflected light from the article and outputting a signal corresponding to the amount of received light, and a computer,
In the computer,
A function of binarizing the output of the imaging means;
A function of extracting the image data of the identification data candidate area from the binarized data by the binarization;
A function of decoding the extracted image data;
When this decoding result satisfies a recognition condition, a function of determining the decoding result as a recognition result for the identification data;
A function of determining whether or not high-intensity reflection data based on high-intensity reflection from the article is included in the decoding result;
A function of correcting the recognition condition when the determination result is affirmative;
A control program for an identification data recognition apparatus, characterized in that
JP2010115648A 2010-05-19 2010-05-19 Identification data recognition apparatus and control program thereof Expired - Fee Related JP5298068B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010115648A JP5298068B2 (en) 2010-05-19 2010-05-19 Identification data recognition apparatus and control program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010115648A JP5298068B2 (en) 2010-05-19 2010-05-19 Identification data recognition apparatus and control program thereof

Publications (2)

Publication Number Publication Date
JP2011243060A JP2011243060A (en) 2011-12-01
JP5298068B2 true JP5298068B2 (en) 2013-09-25

Family

ID=45409632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010115648A Expired - Fee Related JP5298068B2 (en) 2010-05-19 2010-05-19 Identification data recognition apparatus and control program thereof

Country Status (1)

Country Link
JP (1) JP5298068B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6385991A (en) * 1986-09-30 1988-04-16 Tokyo Electric Co Ltd Bar code reader
JPS6459577A (en) * 1987-08-31 1989-03-07 Matsushita Electric Industrial Co Ltd Bar code detecting device
JP2908049B2 (en) * 1991-03-04 1999-06-21 富士通株式会社 Barcode demodulation method
JP4265526B2 (en) * 2004-11-08 2009-05-20 株式会社デンソーウェーブ Optical information reader

Also Published As

Publication number Publication date
JP2011243060A (en) 2011-12-01

Similar Documents

Publication Publication Date Title
US8528820B2 (en) Object identification using barcode reader
CN116134444B (en) Bar code reader with 3D camera(s)
CN107092849B (en) Method and apparatus for reading optical marks using multiple data sources
US7900840B2 (en) Methods and apparatus for directing bar code positioning for imaging scanning
US20120104087A1 (en) Code reading apparatus and code reading method
US20140285690A1 (en) Image acquisition method
JP5000738B2 (en) Code reader and program
CN105718833B (en) Pattern recognition device and commodity information processor
EP2507741B1 (en) Imaging-based scanner including border searching for image acquisition
US11210488B2 (en) Method for optimizing improper product barcode detection
US20100001075A1 (en) Multi-imaging scanner for reading images
US20130054344A1 (en) Code reading apparatus, sales data processing apparatus and sales data processing method
US11308303B2 (en) Using barcodes to determine item dimensions
CN111052125B (en) Method and system for reading a barcode captured on multiple images
US10817691B1 (en) Systems and methods for adapting swipe speeds for barcode readers
JP5256259B2 (en) Product code reading apparatus and product code reading method
JP2018067306A (en) Image processing device and image processing method
JP5298068B2 (en) Identification data recognition apparatus and control program thereof
US9038903B2 (en) Method and apparatus for controlling illumination
US20230162148A1 (en) Product registration apparatus, product registration method, and non-transitory storage medium
JP7337628B2 (en) Article recognition device
JP2734727B2 (en) Barcode reader

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120613

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130509

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130617

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees