JPH05334482A - Bar code symbol reader - Google Patents

Bar code symbol reader

Info

Publication number
JPH05334482A
JPH05334482A JP4136725A JP13672592A JPH05334482A JP H05334482 A JPH05334482 A JP H05334482A JP 4136725 A JP4136725 A JP 4136725A JP 13672592 A JP13672592 A JP 13672592A JP H05334482 A JPH05334482 A JP H05334482A
Authority
JP
Japan
Prior art keywords
bar code
symbol
decoding
code symbol
image
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.)
Withdrawn
Application number
JP4136725A
Other languages
Japanese (ja)
Inventor
Hisakatsu Tanaka
久勝 田中
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.)
Olympus Corp
Original Assignee
Olympus Optical Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP4136725A priority Critical patent/JPH05334482A/en
Priority to US08/018,878 priority patent/US5365048A/en
Priority to KR1019930002235A priority patent/KR100271245B1/en
Priority to CN93101652A priority patent/CN1035287C/en
Publication of JPH05334482A publication Critical patent/JPH05334482A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a sure double reading preventing function by inhibiting the reading of a bar code symbol until the separation of the bar code symbol from a bar code symbol reader is detected. CONSTITUTION:An image of a sheet including a bar code symbol 1 stored in a frame memory 4 is scanned by a rapid arithmetic circuit 5 and the detection of the existence of the symbol 1 and decoding are executed. At the time of ending the decoding, the circuit 5 clears a decoding permission flag 7, i.e., inhibits decoding. At the time of receiving the detection, decoding and check end signal of the symbol 1 from the circuit 5, a CPU 8 controls the operation of respective parts, and when the symbol 1 is not included in an image inputted to the memory 4, the removal of the symbol 1 is judged and sets up the flag 7. Consequently the sure double reading preventing function can be obtained.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はバーコードシンボルを読
み取るためのバーコードシンボル読取装置に係り、特
に、ビデオカメラ等の2次元撮像デバイスを使用したバ
ーコードシンボル読取装置に於ける『2度読み防止』機
能に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code symbol reading device for reading a bar code symbol, and more particularly to a "double reading" in a bar code symbol reading device using a two-dimensional image pickup device such as a video camera. Prevention ”function.

【0002】[0002]

【従来の技術】現在、バーコードシンボルは、多くの国
で採用されており、その種類も非常に多い。代表的なバ
ーコードシンボルとしては、JAN/UPC/EANコ
ード,ITF(Interleaved 2 of 5)コード,CODE
39,NW−7コード,CODE128,等がある。ま
た最近では、より多くの情報を表現したい、より狭いと
ころに貼りたい、等の要求から、情報量の多い、記録密
度の高い2次元バーコードシンボルも提案され始めてい
る。このような2次元バーコードシンボルとしては、C
ODE16K,CODE49,PDF417,DATA
CODE,等がある。
2. Description of the Related Art At present, bar code symbols are used in many countries, and the types thereof are very large. Typical bar code symbols are JAN / UPC / EAN code, ITF (Interleaved 2 of 5) code, CODE
39, NW-7 code, CODE128, etc. Also, recently, two-dimensional bar code symbols having a large amount of information and a high recording density have begun to be proposed due to demands for expressing more information, sticking in a narrower space, and the like. As such a two-dimensional barcode symbol, C
ODE16K, CODE49, PDF417, DATA
CODE, etc.

【0003】これらJAN/UPC/EANコード,I
TF(Interleaved 2 of 5)コード,CODE39,N
W−7コード,CODE128,等の1次元バーコード
を読み取るための装置も種類が多く、代表的なタイプと
しては、ペンタイプ,タッチタイプ,レーザータイプが
ある。一方、2次元バーコードシンボルを読み取るため
の装置は種類が少なく、その読み取り技術もまだ確立さ
れていない。
These JAN / UPC / EAN codes, I
TF (Interleaved 2 of 5) code, CODE39, N
There are many types of devices for reading one-dimensional bar codes such as W-7 code and CODE128, and typical types include a pen type, a touch type, and a laser type. On the other hand, there are few types of devices for reading a two-dimensional barcode symbol, and the reading technique has not been established yet.

【0004】しかし、バーコードシンボルの読み取り方
法の基本は、2次元バーコードシンボルの場合でも従来
の1次元バーコードの場合とほとんど同じである。すな
わち、光源よりバーコードシンボルに光を照射し、バー
コードシンボルで反射された光を読取装置内部の受光素
子に集光させる。この集光させた信号を、マイクロコン
ピュータ等によって構成される電気回路にてデコード処
理することによりバーコードシンボルを読み取ることに
なる。
However, the basic method of reading a barcode symbol is almost the same as in the case of a conventional one-dimensional barcode even in the case of a two-dimensional barcode symbol. That is, the barcode symbol is irradiated with light from the light source, and the light reflected by the barcode symbol is condensed on the light receiving element inside the reading device. A barcode symbol is read by decoding the collected signal with an electric circuit configured by a microcomputer or the like.

【0005】ここで、読み取り技術以外に重要な課題、
即ちバーコードシンボル読取装置として必要な機能の一
つに、1度読み取ったバーコードシンボルは再度読み取
っていけないという、『2度読み防止』機能を挙げるこ
とができる。特に、スーパーマーケット等のレジでは、
この機能が当然必要になる。
Here, there are important problems other than reading technology,
That is, one of the functions required as a barcode symbol reading device is a "double-reading prevention" function that a once read barcode symbol cannot be read again. Especially at cash registers such as supermarkets,
This function is of course necessary.

【0006】従来のバーコードであるJAN/UPC/
EANコード,ITE(lnterleaved 2 of 5)コード,
CODE39,NW−7コード,CODE128,等の
1次元バーコードを読み取るための装置では、『2度読
み防止』機能として、読み取ったデータが前回と同じで
あったらホストコンピュータへはデータを転送しないと
いう方法や、ホストコンピュータへデータの転送後一定
時間は次のバーコードは読み取りしないという方法、読
み取り開始のためのスイッチを設け操作者がスイッチを
操作するという方法、等の方法が採用されている。
The conventional bar code is JAN / UPC /
EAN code, ITE (lnterleaved 2 of 5) code,
In a device for reading a one-dimensional bar code such as CODE39, NW-7 code, CODE128, etc., if the read data is the same as the last time, the data is not transferred to the host computer as a "double reading prevention" function. There are employed methods such as a method of not reading the next bar code for a certain period of time after the data is transferred to the host computer, and a method of providing a switch for starting the reading and operating the switch by an operator.

【0007】[0007]

【発明が解決しようとする課題】ところが、上記読み取
ったデータが前回と同じであったらホストコンピュータ
へはデータを転送しないという方法では、読み取り時間
が非常に短い従来のバーコードに関しては問題がない
が、読み取り時間が長い2次元バーコードシンボルに関
しては良い方法とは言えない。
However, if the read data is the same as the previous one, the method of not transferring the data to the host computer does not cause a problem with the conventional bar code having a very short reading time. However, it is not a good method for a two-dimensional barcode symbol having a long reading time.

【0008】また、ホストコンピュータへデータの転送
後一定時間は次のバーコードは読み取りしないという方
法では、この一定時間の設定が非常に難しく、設定時間
が長い場合には次のバーコードをなかなか読み取らない
し、また設定時間が短い場合には同じバーコードを2度
読みしてしまうという問題が残されている。さらに、操
作者がバーコードシンボルの記録されているシートを置
き忘れた場合には、『2度読み』してしまうことにな
る。
In addition, it is very difficult to set the fixed time by the method that the next bar code is not read for a fixed time after the data is transferred to the host computer. If the set time is long, it is difficult to read the next bar code. Moreover, there is still a problem that the same bar code is read twice when the set time is short. Further, if the operator leaves the sheet on which the barcode symbol is recorded, the operator will "read twice".

【0009】また、読み取り開始のためのスイッチを設
け、操作者がスイッチを操作するという方法では、スイ
ッチを設けるために部品点数が増え、スイッチを操作す
る手間が必要となるという問題がある。本発明は、上記
の点に鑑みてなされたもので、確実な『2度読み防止』
機能を持ったバーコードシンボル読取装置を提供するこ
とを目的とする。
Further, in the method in which a switch for starting reading is provided and the operator operates the switch, there is a problem in that the number of parts is increased and the labor for operating the switch is required because the switch is provided. The present invention has been made in view of the above points, and provides reliable "double reading prevention".
An object is to provide a barcode symbol reading device having a function.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
に、本発明によるバーコードシンボル読取装置は、バー
とスペースとからなるバーコードを撮像するための撮像
手段と、該撮像手段の出力信号からバーコードシンボル
の有無を検出するバーコードシンボル検出手段と、バー
コードシンボルのデコード許可/不許可状態を示す状態
情報を保持する状態保持手段と、該状態保持手段に保持
された状態情報がバーコードシンボルのデコード許可状
態にあることを示すときに、前記撮像手段により撮像さ
れた前記バーコードシンボルの像から当該バーコードシ
ンボルの内容を解釈するバーコードシンボルデコード手
段と、該バーコードシンボルデコード手段によるバーコ
ードシンボルのデコーダ後、前記状態保持手段に於ける
状態情報の内容をデコード不許可状態とし、その後、前
記バーコードシンボル検出手段により少なくとも1回、
バーコードシンボルが検出できないときに、前記状態保
持手段に於ける状態情報の内容をデコード許可状態とす
る制御手段とを備えることを特徴としている。
In order to achieve the above object, a bar code symbol reading apparatus according to the present invention comprises an image pickup means for picking up an image of a bar code composed of a bar and a space, and an output signal of the image pickup means. A bar code symbol detecting means for detecting the presence or absence of a bar code symbol from the bar code, a state holding means for holding state information indicating a bar code symbol decoding permission / non-permission state, and a state information held by the state holding means. A bar code symbol decoding means for interpreting the content of the bar code symbol from the image of the bar code symbol imaged by the imaging means when indicating that the code symbol is in a decoding enabled state; and the bar code symbol decoding means. After decoding the bar code symbol by, the contents of the state information in the state holding means are And code disallowed state, then, at least once by the bar code symbol detection unit,
And a control means for setting the content of the status information in the status holding means to the decoding enabled state when the barcode symbol cannot be detected.

【0011】[0011]

【作用】即ち、本発明のバーコードシンボル読取装置で
は、制御手段によって、バーコードシンボルデコード手
段によるバーコードシンボルのデコーダ後、状態保持手
段に於ける状態情報の内容をデコード不許可状態とし、
その後、バーコードシンボル検出手段により少なくとも
1回、バーコードシンボルが検出できないときに、前記
状態保持手段に於ける状態情報の内容をデコード許可状
態とすることにより、バーコードシンボルが当該バーコ
ードシンボル読取装置から外されたことが検出されるま
ではバーコードシンボルの読み取り(デコード)を行わ
ないようにし、『2度読み』を防止している。
That is, in the bar code symbol reading apparatus of the present invention, the control means sets the content of the state information in the state holding means to the decoding disallowed state after the bar code symbol is decoded by the bar code symbol decoding means.
After that, when the barcode symbol cannot be detected at least once by the barcode symbol detecting means, the content of the state information in the state holding means is set to the decode enable state so that the barcode symbol is read. The bar code symbol is not read (decoded) until it is detected that the bar code symbol has been removed from the device, thus preventing "double reading".

【0012】[0012]

【実施例】以下、図面を参照して、本発明の一実施例を
説明する。図1はその構成を示す図で、図示しない照明
装置によりバーコードシンボル1を含むシート等が照明
され、その反射光がビデオカメラ2に入射される。ビデ
オカメラ2では光信号を電気信号に変換し、さらに同期
信号などを付加してビデオ信号とし、これをビデオ回路
3へ送る。ビデオ回路3では、入力されたビデオ信号か
ら同期信号を分離し、さらにA/D変換しディジタル化
する。このディジタル化されれた信号は、フレームメモ
リ4へ格納される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing the configuration thereof. A sheet or the like including the barcode symbol 1 is illuminated by an illumination device (not shown), and the reflected light is incident on the video camera 2. The video camera 2 converts the optical signal into an electric signal, further adds a synchronizing signal or the like to form a video signal, and sends the video signal to the video circuit 3. The video circuit 3 separates the sync signal from the input video signal, and further A / D converts it to digitize it. The digitized signal is stored in the frame memory 4.

【0013】フレームメモリ4へ格納されたバーコード
シンボル1を含むシートの画像は、高速演算回路5によ
り走査され(メモリ4から画像情報が検出され)、バー
コードシンボル1の有無の検出及びバーコードシンボル
1のデコードが実施される。デコードされた内容は、デ
コード結果格納メモリ6へ一時格納される。高速演算回
路5は、このデコード終了に伴って、デコード許可フラ
グ7をクリア(デコード禁止)する。
The image of the sheet containing the barcode symbol 1 stored in the frame memory 4 is scanned by the high-speed arithmetic circuit 5 (image information is detected from the memory 4) to detect the presence or absence of the barcode symbol 1 and the barcode. Decoding of symbol 1 is performed. The decoded contents are temporarily stored in the decoding result storage memory 6. The high-speed arithmetic circuit 5 clears the decoding permission flag 7 (decoding is prohibited) upon completion of the decoding.

【0014】CPU8は、各構成部を制御するものであ
り、例えばビデオ回路3へはフレームメモリ4への画像
の取り込みを指示する取り込み開始信号を出力し、高速
演算回路5へはバーコードシンボル1の検出開始信号及
びバーコードシンボル1のデコード開始信号を出力し、
また高速演算回路5からバーコードシンボル1の検出状
態信号及びバーコードシンボル1のデコード及びチェッ
ク終了信号を受けて各部の動作を制御する。また、バー
コードシンボル1が検出できた時には、バーコードシン
ボル1をデコードして良いかどうかを示すデコード許可
フラグ7をセット(デコード許可)し、デコード結果格
納メモリ6からバーコードシンボル1に記録された情報
を取り出し、ホストインタフェース回路9を制御して、
その情報を図示しないホストコンピュータへ転送する。
The CPU 8 controls each component, for example, outputs a capture start signal for instructing capture of an image to the frame memory 4 to the video circuit 3, and outputs the barcode symbol 1 to the high-speed arithmetic circuit 5. The detection start signal of and the decoding start signal of the barcode symbol 1 are output,
Further, it receives the detection state signal of the bar code symbol 1 and the decoding and check end signal of the bar code symbol 1 from the high speed operation circuit 5 and controls the operation of each part. Further, when the barcode symbol 1 can be detected, the decoding permission flag 7 indicating whether or not the barcode symbol 1 can be decoded is set (decoding permitted), and is recorded in the barcode symbol 1 from the decoding result storage memory 6. Extracted information and controls the host interface circuit 9,
The information is transferred to a host computer (not shown).

【0015】以下、このような構成のバーコードシンボ
ル読取装置に於ける『2度読み防止』機構の動作を、図
2のフローチャートを参照して説明する。先ず、CPU
8は、ビデオ回路3へ取り込み開始信号を出力して、フ
レームメモリ4への画像の取り込みを行う(ステップS
1)。この画像の取り込み終了後、CPU8は、高速演
算回路5へバーコードシンボル1の検出開始信号を出力
し、高速演算回路5によってバーコードシンボル1の有
無の検出を行なう(ステップS2)。このバーコードシ
ンボルの検出には、種々の方法が知られており、例えば
特開平2−23483号公報に開示されているように、
平行なバーが複数あることを確認したときにバーコード
シンボルがあると判断する方法が知られている。また、
PDF417やDATA CODE等の2次元バーコー
ドシンボルでは、スタートビッグバーやL字形の外枠と
いった特徴的な部分の存在を確認することにより、バー
コードシンボルの存在を検知するという方法をとること
ができる。そして、高速演算回路5は、バーコードシン
ボル1の検出結果を、検出状態信号としてCPU8に出
力する。
The operation of the "double-reading prevention" mechanism in the bar code symbol reading apparatus having such a structure will be described below with reference to the flow chart of FIG. First, the CPU
8 outputs a capture start signal to the video circuit 3 to capture an image in the frame memory 4 (step S
1). After the completion of capturing the image, the CPU 8 outputs a barcode symbol 1 detection start signal to the high-speed arithmetic circuit 5, and the high-speed arithmetic circuit 5 detects the presence or absence of the barcode symbol 1 (step S2). Various methods are known for detecting the barcode symbol, and as disclosed in, for example, Japanese Patent Application Laid-Open No. 2-23483,
A method of determining that there is a bar code symbol when it is confirmed that there are a plurality of parallel bars is known. Also,
With a two-dimensional barcode symbol such as PDF417 or DATA CODE, it is possible to detect the presence of the barcode symbol by confirming the presence of a characteristic portion such as a start big bar or an L-shaped outer frame. .. Then, the high speed operation circuit 5 outputs the detection result of the barcode symbol 1 to the CPU 8 as a detection state signal.

【0016】CPU8は、この高速演算回路5からの検
出状態信号を判断することにより、フレームメモリ4に
取り込んだ画像中にバーコードシンボル1が存在するか
どうかを判断する(ステップS3)。そして、バーコー
ドシンボル1が存在しない時には、上記ステップS1に
戻って、再度、画像の取り込みを指示する。また、バー
コードシンボル1が存在する時には、高速演算回路5へ
バーコードシンボル1のデコード開始信号を出力して、
高速演算回路5にバーコードシンボル1のデコードを行
なわせる(ステップS4)。高速演算回路5は、このデ
コード開始信号に応じて、デコード許可フラグ7がセッ
ト(デコード許可)されていることを確認した後、フレ
ームメモリ4に取り込んだバーコードシンボル1の画像
から当該バーコードシンボルの情報をデコードする。さ
らに、高速演算回路5は、このデコード結果のチェック
を行う(ステップS5)。このデコード内容チェック
は、単にデコード結果の確認のみの場合(JAN/UP
C/EANコード,ITF((lnterleaved 2 of 5)コ
ード,CODE39,NW−7コード,CODE12
8,等)もあるが、エラー訂正を伴う場合(PDF41
7,DATA CODE,等の2次元バーコードシンボ
ル)もある。そして、高速演算回路5は、そのチェック
結果の情報を含むバーコードシンボル1のデコード及び
チェック終了信号をCPU8に出力する。
The CPU 8 judges whether or not the bar code symbol 1 is present in the image taken into the frame memory 4 by judging the detection state signal from the high speed operation circuit 5 (step S3). Then, when the bar code symbol 1 does not exist, the process returns to step S1 to instruct the image capture again. When the bar code symbol 1 is present, a decode start signal for the bar code symbol 1 is output to the high-speed arithmetic circuit 5,
The high speed operation circuit 5 is caused to decode the bar code symbol 1 (step S4). The high-speed arithmetic circuit 5 confirms that the decoding permission flag 7 is set (decoding is permitted) in response to the decoding start signal, and then, from the image of the barcode symbol 1 fetched in the frame memory 4, the barcode symbol concerned. Decode the information in. Further, the high speed operation circuit 5 checks the decoding result (step S5). This decoding content check is only for confirming the decoding result (JAN / UP
C / EAN code, ITF ((lnterleaved 2 of 5) code, CODE39, NW-7 code, CODE12
8, etc.), but with error correction (PDF41
There are also two-dimensional bar code symbols (7, DATA CODE, etc.). Then, the high-speed arithmetic circuit 5 outputs the decoding and check completion signal of the barcode symbol 1 including the information of the check result to the CPU 8.

【0017】ここで、CPU8は、高速演算回路5から
の上記デコード及びチェック終了信号を判断し(ステッ
プS6)、正しくデコードできていない時には、上記ス
テップS1に戻って、再度、画像の取り込みから繰り返
す。また、正しくデコードできている時には、CPU8
は、高速演算回路5にデコード結果保持信号を出力す
る。高速演算回路5は、このデコード結果保持信号に応
じて、デコードした内容をデコード結果格納メモリ6へ
一時格納すると共に、デコード許可フラグ7をクリア
(デコード禁止)する(ステップS7)。
Here, the CPU 8 judges the decoding and check end signal from the high-speed operation circuit 5 (step S6), and when the decoding is not correctly performed, the process returns to the step S1 and the image capturing is repeated again. .. Also, when the decoding is successful, the CPU8
Outputs a decode result holding signal to the high speed arithmetic circuit 5. The high-speed operation circuit 5 temporarily stores the decoded contents in the decoding result storage memory 6 and clears the decoding permission flag 7 (prohibits decoding) according to the decoding result holding signal (step S7).

【0018】次に、CPU8は、デコード結果格納メモ
リ6からバーコードシンボル1に記録された情報を取り
出し、ホストインタフェース回路9を制御して、その情
報を図示しないホストコンピュータへ転送する(ステッ
プS8)。
Next, the CPU 8 takes out the information recorded in the bar code symbol 1 from the decoding result storage memory 6, controls the host interface circuit 9, and transfers the information to a host computer (not shown) (step S8). ..

【0019】以降の処理が、『2度読み防止』機能部分
である。即ち、再度、CPU8からビデオ回路3へフレ
ームメモリ4への画像の取り込み開始信号が出力されて
画像が取り込まれ(ステップS9)、この画像の取り込
み終了後、高速演算回路5によってバーコードシンボル
1の有無の検出が行なわれる(ステップS10)。ここ
で、フレームメモリ4に取り込んだ画像中にバーコード
シンボル1が存在する時には、デコード許可フラグ7が
クリアされていることを確認し(ステップS11)、上
記ステップS9の画像の取り込みから繰り返される。つ
まり、ホストへの転送が終了した後に、まだバーコード
シンボル1がある場合には、ホストへの転送が終了した
バーコードシンボル1がまだ当該読取装置から取り除か
れていないものと判断して、以降の処理に進まないよう
にしている。
The subsequent processing is the "double reading prevention" function part. That is, the CPU 8 outputs the image capture start signal to the video circuit 3 again to the frame memory 4 to capture the image (step S9). After the capture of this image is completed, the high speed arithmetic circuit 5 outputs the barcode symbol 1 Presence / absence is detected (step S10). Here, when the bar code symbol 1 exists in the image captured in the frame memory 4, it is confirmed that the decoding permission flag 7 is cleared (step S11), and the image capturing in step S9 is repeated. That is, when the barcode symbol 1 is still present after the transfer to the host is completed, it is determined that the barcode symbol 1 that has been transferred to the host has not been removed from the reading device, and I am trying not to proceed to the processing of.

【0020】一方、バーコードシンボル1が存在しない
時には(ステップS11)、再度、CPU8からビデオ
回路3へフレームメモリ4への画像の取り込み開始信号
が出力されて画像が取り込まれ(ステップS12)、こ
の画像の取り込み終了後、高速演算回路5によってバー
コードシンボル1の有無の検出が行なわれる(ステップ
S13)。ここで、フレームメモリ4に取り込んだ画像
中にバーコードシンボル1が存在する時には、デコード
許可フラグ7がクリアされていることを確認し(ステッ
プS14)、上記ステップS9の画像の取り込みから繰
り返される。即ち、ステップS12乃至ステップS14
として、上記ステップS9乃至ステップS11の処理と
同様の処理を繰り返している。
On the other hand, when the bar code symbol 1 does not exist (step S11), the CPU 8 again outputs an image capture start signal to the frame memory 4 to the video circuit 3 to capture the image (step S12). After the image is captured, the high speed operation circuit 5 detects the presence or absence of the barcode symbol 1 (step S13). Here, when the bar code symbol 1 is present in the image captured in the frame memory 4, it is confirmed that the decode permission flag 7 is cleared (step S14), and the image capturing in step S9 is repeated. That is, steps S12 to S14
As a result, the same processing as the processing of steps S9 to S11 is repeated.

【0021】上記ステップS14にてバーコードシンボ
ル1が存在しないと判断された時は、CPU8は、デコ
ード許可フラグ7をセットする(ステップS15)。即
ち、フ2回連続してレームメモリ4へ取り込んだ画像中
にバーコードシンボル1が存在しない時に、デコード許
可フラグ7がセットされることになる。その後、上記ス
テップS1に戻って、前述の処理が繰り返される。
When it is determined in step S14 that the bar code symbol 1 does not exist, the CPU 8 sets the decode permission flag 7 (step S15). That is, the decoding permission flag 7 is set when the bar code symbol 1 is not present in the image captured in the frame memory 4 twice in a row. Then, the process returns to step S1 and the above-described process is repeated.

【0022】ここで、この実施例では2回連続フレーム
メモリ4へ取り込んだ画像中にバーコードシンボル1が
存在しない時に、バーコードシンボル1が取り除かれた
ものとして、デコード許可フラグ7をセットするように
しているが、1回でも存在しなければ、バーコードシン
ボル1が取り除かれたものとしてデコード許可フラグ7
をセットするようにしても『2度読み防止』機能を果た
すことが可能である。この実施例のように、2回連続し
て存在しないと判断されたときにデコード許可フラグ7
をセットするようにすると、当該読取装置やバーコード
シンボル1が何らかの原因で振動したような場合に、そ
のタイミングでフレームメモリ4へ画像を取り込んでし
まうと、バーコードシンボル1が取り除かれていなくて
もバーコードシンボル1が存在しないと判断されてしま
う恐れがある時、さらには、取り除き動作の途中つまり
バーコードシンボル1を移動させている時には画像がブ
レてバーコードシンボル1が存在しないと判断される
が、もしこの途中で一担バーコードシンボル1が止まっ
てしまった時には、デコード済みのバーコードシンボル
1であるにもかかわらず再びデコード、つまり2度読み
されてしまう時に対しても、2度読みを防止できるた
め、信頼性が高くなる。さらに、2回連続に限定される
わけではなく、3回以上でも同様の効果が得られる。
Here, in this embodiment, when the bar code symbol 1 does not exist in the image captured twice in the continuous frame memory 4, it is determined that the bar code symbol 1 has been removed, and the decoding permission flag 7 is set. However, if it does not exist even once, it means that the barcode symbol 1 has been removed and the decoding permission flag 7 is set.
Even if this is set, the function of "preventing double reading" can be fulfilled. As in this embodiment, when it is determined that the decoding permission flag 7 does not exist twice consecutively, the decoding permission flag 7
When the reading device or the bar code symbol 1 vibrates for some reason, if the image is taken into the frame memory 4 at that timing, the bar code symbol 1 is not removed. Even when it is determined that the barcode symbol 1 does not exist, and further during the removal operation, that is, when the barcode symbol 1 is being moved, the image is blurred and it is determined that the barcode symbol 1 does not exist. However, if the one-sided bar code symbol 1 stops during this process, it will be decoded twice even if it is a bar code symbol 1 that has already been decoded, that is, twice even if it is read twice. Since reading can be prevented, reliability is improved. Furthermore, the effect is not limited to two consecutive times, and the same effect can be obtained by three times or more.

【0023】なお、上記のような恐れを回避するために
は、実際には、バーコードシンボル1の画像のフレーム
メモリ4への取り込みからバーコードシンボル1の有無
判断までの読み込みサイクルが密接な関係を有する。即
ち、この読み込みサイクルが長すぎると、ステップS9
での取り込みからステップS12での取り込みまでの間
にバーコードシンボル1が入れ換えられてしまい、まだ
デコードしていないバーコードシンボル1であるにもか
かわらずデコードされないこととなってしまう。そこ
で、本実施例では、この読み込みサイクルは、0.3秒
程度としている。
In order to avoid the above-mentioned fear, the reading cycle from the acquisition of the image of the barcode symbol 1 into the frame memory 4 to the determination of the presence or absence of the barcode symbol 1 is actually closely related. Have. That is, if this read cycle is too long, step S9
The barcode symbol 1 is exchanged between the capture in 1 and the capture in step S12, and the barcode symbol 1 which has not been decoded yet is not decoded. Therefore, in this embodiment, this read cycle is set to about 0.3 seconds.

【0024】また、上記実施例のように順次取り込んだ
画像からバーコードシンボル1を検出する代わりに、例
えばフレームメモリ4を2画面分の容量とし、所定の時
間間隔で各画面に画像を取り込み、両画面でバーコード
シンボル1が検出されない場合に、デコード許可フラグ
7をセットするようにしても、同様の効果が得られる。
Further, instead of detecting the bar code symbol 1 from the sequentially captured images as in the above embodiment, for example, the frame memory 4 has a capacity of two screens and the images are captured on each screen at a predetermined time interval. Even if the decoding permission flag 7 is set when the barcode symbol 1 is not detected on both screens, the same effect can be obtained.

【0025】なお、上記実施例では、特に読み取るバー
コードシンボルの種類は限定せずに説明してきたが、バ
ーコードシンボル1の検出方法に関しては、JAN/U
PC/EANコード,ITF(lnterleaved 2 of 5)コ
ード,CODE39,NW−7コード,CODE12
8,等の各バーコードの検出方法を使用すれば良く、ま
た、2次元バーコードシンボル(CODE16K,CO
DE49,PDF417,DATA CODE等)に関
しても各バーコードの検出方法を使用すれば問題ない。
このように、実施例はバーコードシンボルの種類には限
定されないが、読み取り時間が長い2次元バーコードシ
ンボルに関しては特に有効である。
In the above embodiment, the kind of bar code symbol to be read is not particularly limited, but the method of detecting the bar code symbol 1 is JAN / U.
PC / EAN code, ITF (lnterleaved 2 of 5) code, CODE39, NW-7 code, CODE12
It suffices to use the method of detecting each bar code such as No. 8, etc., and the two-dimensional bar code symbol (CODE 16K, CO
For DE49, PDF417, DATA CODE, etc.), there is no problem if the detection method of each bar code is used.
As described above, the embodiment is not limited to the type of barcode symbol, but is particularly effective for a two-dimensional barcode symbol having a long reading time.

【0026】以上説明してきたように、本実施例ではバ
ーコードシンボル1をデコードするのではなく、シンボ
ルの有無の検出によってのみ『2度読み防止』機能が実
現できるので、処理スピードは十分早い。つまり、バー
コードシンボル1のデコード処理に先立ってシンボル検
出処理は必ず必要なものであるから、本実施例ではシン
ボル検出処理がなされるまでの時間で済むのに対して、
従来はこの時間に加えてさらにデコード処理するまでの
時間が必要である。また、バーコードシンボル1が記録
されているシートを置き忘れても、『2度読み』される
ことはなく、スイッチなどの付加部品を使用していない
ので、部品点数や操作性から非常に好ましい方法である
と言える。
As described above, in the present embodiment, the "double reading prevention" function can be realized only by detecting the presence or absence of the symbol instead of decoding the bar code symbol 1, so the processing speed is sufficiently high. That is, since the symbol detection processing is always necessary prior to the decoding processing of the barcode symbol 1, in the present embodiment, the time until the symbol detection processing is performed is sufficient.
Conventionally, in addition to this time, time is required until the decoding process is further performed. In addition, even if the sheet on which the bar code symbol 1 is recorded is left behind, it will not be "read twice" and no additional parts such as switches are used, so it is a very preferable method from the viewpoint of the number of parts and operability. It can be said that

【0027】また、前述したように、2回連続してフレ
ームメモリ4へ取り込んだ画像中にバーコードシンボル
1が存在しない時に、バーコードシンボル1が取り除か
れたものとして、デコード許可フラグ7をセットするよ
うにしているため、当該読取装置やバーコードシンボル
1が何らかの原因で振動したような場合に、そのタイミ
ングでフレームメモリ4へ画像を取り込んでしまうと、
バーコードシンボル1が取り除かれていなくてもバーコ
ードシンボル1が存在しないと判断されてしまうこと
や、さらには、取り除き動作の途中つまりバーコードシ
ンボル1を移動させている時には画像がブレてバーコー
ドシンボル1が存在しないと判断されるが、もしこの途
中で一担バーコードシンボル1が止まってしまった時に
は、デコード済みのバーコードシンボル1であるにもか
かわらず再びデコード、つまり2度読みされてしまうと
いうことがなくなる。
Further, as described above, when the bar code symbol 1 does not exist in the images successively fetched into the frame memory 4 twice, it is determined that the bar code symbol 1 has been removed, and the decoding permission flag 7 is set. Therefore, if the reading device or the bar code symbol 1 vibrates for some reason, if an image is taken into the frame memory 4 at that timing,
Even if the bar code symbol 1 is not removed, it is determined that the bar code symbol 1 does not exist, and further, during the removal operation, that is, when the bar code symbol 1 is being moved, the image blurs and the bar code symbol 1 is removed. Although it is determined that the symbol 1 does not exist, if the barcode symbol 1 for a part of the code stops in the middle of this, it is decoded again, that is, read twice even though the barcode symbol 1 has already been decoded. It will not be lost.

【0028】[0028]

【発明の効果】以上詳述したように、本発明によれば、
確実な『2度読み防止』機能を持ったバーコードシンボ
ル読取装置を提供することができる。
As described in detail above, according to the present invention,
It is possible to provide a barcode symbol reading device having a reliable "double reading prevention" function.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例のブロック構成図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】実施例の動作を説明するためのフローチャート
である。
FIG. 2 is a flow chart for explaining the operation of the embodiment.

【符号の説明】[Explanation of symbols]

1…バーコードシンボル、2…ビデオカメラ、3…ビデ
オ回路、4…フレームメモリ、5…高速演算回路、6…
デコード結果格納メモリ、7…デコード許可フラグ、8
…CPU、9…ホストインタフェース回路。
1 ... Bar code symbol, 2 ... Video camera, 3 ... Video circuit, 4 ... Frame memory, 5 ... High-speed arithmetic circuit, 6 ...
Decoding result storage memory, 7 ... Decoding permission flag, 8
... CPU, 9 ... Host interface circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 バーとスペースとからなるバーコードを
撮像するための撮像手段と、 該撮像手段の出力信号からバーコードシンボルの有無を
検出するバーコードシンボル検出手段と、 バーコードシンボルのデコード許可/不許可状態を示す
状態情報を保持する状態保持手段と、 該状態保持手段に保持された状態情報がバーコードシン
ボルのデコード許可状態にあることを示すときに、前記
撮像手段により撮像された前記バーコードシンボルの像
から当該バーコードシンボルの内容を解釈するバーコー
ドシンボルデコード手段と、 該バーコードシンボルデコード手段によるバーコードシ
ンボルのデコーダ後、前記状態保持手段に於ける状態情
報の内容をデコード不許可状態とし、その後、前記バー
コードシンボル検出手段により少なくとも1回、バーコ
ードシンボルが検出できないときに、前記状態保持手段
に於ける状態情報の内容をデコード許可状態とする制御
手段と、 を具備してなることを特徴とするバーコードシンボル読
取装置。
1. An image pickup unit for picking up an image of a bar code including a bar and a space, a bar code symbol detection unit for detecting the presence or absence of a bar code symbol from an output signal of the image pick-up unit, and a bar code symbol decoding permission. / State holding means for holding state information indicating a non-permitted state, and the state imaged by the image capturing means when the state information held in the state holding means indicates that the decoding of the bar code symbol is permitted. After decoding the barcode symbol decoding means for interpreting the contents of the barcode symbol from the image of the barcode symbol, and decoding the barcode symbol by the barcode symbol decoding means, the contents of the state information in the state holding means are not decoded. Then, the barcode symbol detection means sets at least 1 When the bar code symbol can not be detected, reading bar code symbols and control means, characterized by comprising comprises a to which the contents of in the state information and the decoding permission state to the state holding means device.
JP4136725A 1992-02-20 1992-05-28 Bar code symbol reader Withdrawn JPH05334482A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP4136725A JPH05334482A (en) 1992-05-28 1992-05-28 Bar code symbol reader
US08/018,878 US5365048A (en) 1992-02-20 1993-02-17 Bar code symbol reading apparatus with double-reading preventing function
KR1019930002235A KR100271245B1 (en) 1992-02-20 1993-02-18 Bar code reading apparatus
CN93101652A CN1035287C (en) 1992-02-20 1993-02-20 Bar code marks reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4136725A JPH05334482A (en) 1992-05-28 1992-05-28 Bar code symbol reader

Publications (1)

Publication Number Publication Date
JPH05334482A true JPH05334482A (en) 1993-12-17

Family

ID=15182042

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4136725A Withdrawn JPH05334482A (en) 1992-02-20 1992-05-28 Bar code symbol reader

Country Status (1)

Country Link
JP (1) JPH05334482A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012008788A (en) * 2010-06-24 2012-01-12 Toshiba Tec Corp Merchandise code reader and program
JP2022008716A (en) * 2016-01-26 2022-01-14 レノボ・シンガポール・プライベート・リミテッド Information processing device, identification code reading method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012008788A (en) * 2010-06-24 2012-01-12 Toshiba Tec Corp Merchandise code reader and program
JP2022008716A (en) * 2016-01-26 2022-01-14 レノボ・シンガポール・プライベート・リミテッド Information processing device, identification code reading method, and program

Similar Documents

Publication Publication Date Title
KR100271245B1 (en) Bar code reading apparatus
JP4058529B2 (en) Optical information reader
EP0592736A1 (en) Method and apparatus for scanning and decoding a bar code
JPS61115179A (en) Bar code reader
KR930023863A (en) Barcode reader with automatic readout
US6964373B2 (en) Recording medium and coded image reader apparatus
KR930010782A (en) Symbol information reading device
JPH05334482A (en) Bar code symbol reader
JP5221599B2 (en) Product code reader and program
JPH05233867A (en) Bar code reader
JP3140184B2 (en) Barcode symbol reader
JP2005052226A (en) Card reader utilizing bar code
JPH06266881A (en) Bar code symbol reader
JP3302057B2 (en) Symbol information reader
JP4058883B2 (en) Optical information reader
JP2000057250A (en) Reading method for two-dimensional code
JP2669087B2 (en) Optical reader
JP3244040B2 (en) Optical information reader
JPH06231297A (en) Bar code symbol reader
JPH0765104A (en) Bar code reader
JP2002133365A (en) Mark reader
JP3793286B2 (en) Symbol reader
JP2002216072A (en) Two-dimensional code reader and two-dimensional code analyzing system
JP2002024751A (en) Bar code device and recording medium
JP2891821B2 (en) Barcode identification method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990803