JPH05151381A - Bar-code reader - Google Patents

Bar-code reader

Info

Publication number
JPH05151381A
JPH05151381A JP3316192A JP31619291A JPH05151381A JP H05151381 A JPH05151381 A JP H05151381A JP 3316192 A JP3316192 A JP 3316192A JP 31619291 A JP31619291 A JP 31619291A JP H05151381 A JPH05151381 A JP H05151381A
Authority
JP
Japan
Prior art keywords
data
bar
binarized
information density
bar code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3316192A
Other languages
Japanese (ja)
Inventor
Takahiro Toyama
孝広 外山
Hiroyuki Murayama
浩之 村山
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 Corp
Original Assignee
NipponDenso 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP3316192A priority Critical patent/JPH05151381A/en
Publication of JPH05151381A publication Critical patent/JPH05151381A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To read a bar-code extending over a wide range from low information density to high information density without being accompanied with an increase of a data processing time and a change of a hardware configuration. CONSTITUTION:Bar-code data which are read optically are stored in a storage means as binarized data DELTA1-DELTAn of 16 bits each divided at every bar. These data DELTA1-DELTAn are averaged, and its average value is stored as data for showing information density of a bar-code (this average value becomes large in the case the information density is low, and becomes small in the case the density is high). From these binarized data DELTA1-DELTAn of 16 bits, binarized data of 8 bits being suitable for a data analytic processing is fetched, and a fetching position in this case is shifted to a position being near the most significant bit of the data DELTA1-DELTAn, especially in the case the information density of the bar-code is low.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、光学的に検出したバー
コードを二値化データに変換してデータ解析処理に供す
るためのバーコード読取装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bar code reader for converting an optically detected bar code into binarized data for use in data analysis processing.

【0002】[0002]

【従来の技術】従来、この種のバーコード読取装置にお
いては、基本的には、被読み取りバーコードを照明する
ための発光ダイオードと、バーコードからの反射光を結
像用光学系を介して受けて電気信号に変換するCCDイ
メージセンサと、このイメージセンサの出力を電子的に
走査してデータ処理を行うことにより被読み取りバーコ
ードに応じた二値化データを出力するデコード回路とを
組み合わせた構成となっている。
2. Description of the Related Art Conventionally, in a bar code reading apparatus of this type, basically, a light emitting diode for illuminating a bar code to be read and reflected light from the bar code are passed through an image forming optical system. A CCD image sensor for receiving and converting into an electric signal and a decoding circuit for outputting binarized data according to a bar code to be read by electronically scanning the output of the image sensor to perform data processing are combined. It is composed.

【0003】この場合、上記デコード回路は、一般的に
はマイクロコンピュータを含んで構成されるもので、C
CDイメージセンサの出力により示されるバーコードの
各バー幅をデジタル的に計数することにより前記二値化
データを得るようになっており、斯様なデコード回路を
含むバーコード読取装置の読み取り精度は、上記デジタ
ル計数時の量子化密度に応じたものとなる。
In this case, the decoding circuit is generally constructed by including a microcomputer.
The binarized data is obtained by digitally counting each bar width of the bar code indicated by the output of the CD image sensor, and the reading accuracy of the bar code reader including such a decoding circuit is , According to the quantization density at the time of digital counting.

【0004】[0004]

【発明が解決しようとする課題】ところで、バーコード
は、標準倍率を基準とした一定範囲で拡大及び縮小する
ことが許容されているため、読み取り対象のバーコード
には情報密度が異なるものが混在することになる。これ
に対して、従来構成のバーコード読取装置では、読み取
り精度の上限が固定された状態となっているため、情報
密度が高いバーコード(つまり縮小率が大きいもの)の
読み取りが不可能になる場合がある。このような場合
に、単純にバーコードの読み取り精度を高めることによ
って対処したときには、低情報密度のバーコードの読み
取り時にその読み取り情報量が過多になってデジタル計
数によって得た二値化データがオーバーフローし、結果
的に低情報密度のバーコードの読み取りが不可能になる
虞がある。
By the way, since barcodes are allowed to be enlarged or reduced within a certain range based on the standard magnification, some barcodes to be read have different information densities. Will be done. On the other hand, in the conventional bar code reading device, the upper limit of the reading accuracy is fixed, and thus it becomes impossible to read the bar code having a high information density (that is, the bar code having a large reduction rate). There are cases. In such a case, if it is dealt with by simply increasing the barcode reading accuracy, the amount of read information becomes excessive when reading a barcode with a low information density, and the binary data obtained by digital counting overflows. However, as a result, it may be impossible to read a barcode having a low information density.

【0005】低情報密度から高情報密度までの広い範囲
に渡るバーコードを読み取り可能とするためには、デー
タ解析処理に供する二値化データのビット長を増やせば
良いが、このようなビット長の増加にソフトウエア処理
で対処する場合には、データ解析処理に要する時間が長
引くばかりか、データ解析処理用メモリとして大容量の
ものが必要になるという問題点を招く。また、ビット長
の増加にハ−ドウエアの変更をもって対処する場合に
は、ハ−ドウエア構成に大幅な追加を行わねばならず、
装置全体の大形化を招く。
In order to be able to read a wide range of bar codes from low information density to high information density, it is sufficient to increase the bit length of binarized data used for data analysis processing. If the software processing is used to deal with the increase in the number of times, the problem that not only the time required for the data analysis processing is prolonged but also a large-capacity memory for the data analysis processing is required is brought about. In addition, when dealing with the increase in bit length by changing the hardware, it is necessary to make a large addition to the hardware configuration.
This leads to an increase in the size of the entire device.

【0006】そこで、本発明の目的は、低情報密度から
高情報密度までの広い範囲に渡るバーコードの読み取り
を、データ処理時間の増大及びハ−ドウエア構成の変更
を伴うことなく可能にできるバーコード読取装置を提供
するにある。
Therefore, an object of the present invention is to make it possible to read a barcode in a wide range from low information density to high information density without increasing the data processing time and changing the hardware configuration. To provide a code reader.

【0007】[0007]

【課題を解決するための手段】本発明は、上記目的を達
成するために、光学的に検出したバーコードを二値化デ
ータに変換すると共に、その二値化データをデータ解析
処理に供するバーコード読取装置において、上記二値化
データを前記バーコードの各バーに対応したデータ毎に
区分した状態にて前述のデータ解析処理に必要な二値化
データのビット長より余分に記憶するための記憶手段、
並びに前記バーコードの情報密度を示すデータを設定す
るためのデータ設定手段を夫々設けた上で、前記記憶手
段の記憶二値化データを一定ビット長だけ取り出して前
記データ解析処理に供する信号処理手段を設ける構成と
したものであり、特に、上記信号処理手段を、前記デー
タ設定手段による設定データにより示される情報密度が
低くなるのに応じて、データ解析処理に供する二値化デ
ータの取り出し位置を記憶手段の記憶二値化データの最
上位ビット寄りにシフトする構成としたものである。
In order to achieve the above object, the present invention is a bar for converting an optically detected bar code into binarized data and providing the binarized data for data analysis processing. In the code reading device, for storing the binarized data in excess of the bit length of the binarized data necessary for the above-mentioned data analysis processing in a state where the binarized data is divided into data corresponding to each bar of the barcode. Storage means,
Also, the data setting means for setting the data indicating the information density of the bar code is provided respectively, and the binarized data stored in the storage means is taken out by a constant bit length and used for the data analysis processing. In particular, in the signal processing means, the extraction position of the binarized data to be subjected to the data analysis processing is set in accordance with the decrease in the information density indicated by the setting data by the data setting means. The configuration is such that the storage binarized data of the storage means is shifted toward the most significant bit.

【0008】[0008]

【作用】バーコードを光学的に検出して得た二値化デー
タは、記憶手段に対し、被読み取りバーコードの各バー
に対応したデータ毎に区分された状態にてデータ解析処
理に必要な二値化データのビット長より余分に記憶され
る。信号処理手段は、このような記憶手段の記憶二値化
データから一定ビット長の二値化データを取り出してデ
ータ解析処理に供するようになるが、このときのデータ
取り出し位置は、データ設定手段により設定されたデー
タにより示される被検出バーコードの情報密度が低くな
るのに応じて、上記記憶二値化データの最上位ビット寄
りにシフトされるようになる。
The binarized data obtained by optically detecting the bar code is necessary for the data analysis processing in the state of being divided into the data corresponding to each bar of the bar code to be read in the storage means. It is stored in excess of the bit length of the binarized data. The signal processing means takes out the binarized data of a constant bit length from the binarized data stored in the storage means and uses it for the data analysis process. The data take-out position at this time is determined by the data setting means. As the information density of the detected bar code indicated by the set data decreases, the bar code is shifted toward the most significant bit of the stored binarized data.

【0009】つまり、被読み取りバーコードの情報密度
が低い場合(各バーの幅が相対的に広い場合)には、デ
ータ解析処理に供される一定ビット長の二値化データ
が、記憶手段の記憶二値化データの最上位ビット寄り位
置から取り出されることになって、当該記憶二値化デー
タの縮小割合が大きくなり、また、被読み取りバーコー
ドの情報密度が高い場合(各バーの幅が相対的に狭い場
合)には、データ解析処理用の二値化データが、記憶手
段の記憶二値化データの最下位ビット寄り位置から取り
出されることになって、データの縮小割合が小さくな
る。従って、このように取り出されたデータ解析処理用
の一定ビット長の二値化データは、被読み取りバーコー
ドの情報密度に関係なく略一定した値を呈し、且つ当該
バーコードの各バーの幅を精度良く示すものとなる。
That is, when the information density of the bar code to be read is low (when the width of each bar is relatively wide), the binarized data of a constant bit length used for the data analysis process is stored in the storage means. When the stored binarized data is extracted from the position close to the most significant bit, the reduction ratio of the stored binarized data is large, and the information density of the read barcode is high (width of each bar is In the case of (relatively narrow), the binarized data for the data analysis process is taken out from the position of the storage binarized data in the storage means near the least significant bit, and the reduction ratio of the data becomes small. Therefore, the binarized data having a constant bit length for the data analysis process thus taken out has a substantially constant value regardless of the information density of the bar code to be read, and the width of each bar of the bar code is It will be shown accurately.

【0010】[0010]

【実施例】全体の概略構成を示す図1において、照明光
源1は、高輝度発光ダイオードにより構成されたもの
で、被読み取りバーコード2を均一に照明するように配
置されている。斯様な照明により、バーコード2からは
白バー及び黒バーの明暗に応じて強弱変化する反射光が
跳ね返るようになり、一次元CCDイメージセンサ3
は、このような反射光を結像用光学系4を介して受光す
る配置となっている。信号増幅回路5は、イメージセン
サ3からのアナログ電圧信号を増幅するものであり、こ
れにより、バーコード2が例えば図2(a)に示すよう
なパターンであった場合には、信号増幅回路5からは、
図2(b)に示すように変化するアナログ電圧信号Va
が出力される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS In FIG. 1 showing the overall schematic structure, an illumination light source 1 is composed of a high-intensity light emitting diode, and is arranged so as to uniformly illuminate a bar code 2 to be read. Due to such illumination, the reflected light that changes in intensity depending on the lightness and darkness of the white bar and the black bar bounces off from the barcode 2, and the one-dimensional CCD image sensor 3
Is arranged to receive such reflected light via the imaging optical system 4. The signal amplifying circuit 5 amplifies the analog voltage signal from the image sensor 3, so that when the bar code 2 has a pattern as shown in FIG. From
The analog voltage signal Va changing as shown in FIG.
Is output.

【0011】信号変換回路6は、上記アナログ電圧信号
Vaを図2(c)に示すようなパルス状電圧信号Vbに
変換するものであり、その電圧信号Vbはバーコードデ
ータに対応した二値化データとしてマイクロコンピュー
タ7に取り込まれる。このマイクロコンピュータ7は、
本発明でいうデータ設定手段及び信号処理手段を兼用し
たもので、これに付随して記憶手段としてのRAM7a
が設けられている。
The signal conversion circuit 6 converts the analog voltage signal Va into a pulsed voltage signal Vb as shown in FIG. 2C, and the voltage signal Vb is binarized corresponding to the bar code data. The data is taken into the microcomputer 7 as data. This microcomputer 7
The data setting means and the signal processing means in the present invention are also used, and the RAM 7a as a storage means is incidental to this.
Is provided.

【0012】マイクロコンピュータ7は、照明光源1及
びイメージセンサ3の動作を夫々照明駆動回路8及びセ
ンサ駆動回路9を通じて制御すると共に、上述のように
取り込んだ二値化データに基づいたバーコード読み取り
制御を行うものであり、以下においては、その制御内容
及びこれに関連した作用について、図3及び図4も参照
しながら説明する。但し、図3は、マイクロコンピュー
タ7の制御ルーチンの実行順を示し、図4は、RAM7
aのメモリマップの要部と、その記憶データの処理内容
を摸式的に示すものである。
The microcomputer 7 controls the operations of the illumination light source 1 and the image sensor 3 through the illumination drive circuit 8 and the sensor drive circuit 9, respectively, and the bar code reading control based on the binarized data fetched as described above. In the following, the control content and the operation related thereto will be described with reference to FIGS. 3 and 4. However, FIG. 3 shows the execution sequence of the control routine of the microcomputer 7, and FIG.
FIG. 3 schematically shows a main part of the memory map of a and processing contents of the stored data.

【0013】即ち、マイクロコンピュータ7は、図3に
示すデータ取り込みルーチンX1において、信号変換回
路6からのパルス状電圧信号Vbのマーク部及びスペー
ス部の幅を各々デジタル的に計数して量子化すると共
に、それらの量子化結果をバーコード2の各バー毎に区
分した例えば16ビット(2バイト)ずつの二値化デー
タとして順次取り込み、図4中のメモリマップに示すよ
うに、各二値化データΔ1〜ΔnをRAM7aに設定さ
れたデータ記憶領域に順次記憶する。つまり、このよう
に記憶される各二値化データΔ1〜Δnにより示される
データ値は、被読み取りバーコード2の黒バー及び白バ
ーの各幅に対応するものであり、その幅が広い場合ほど
大きな値となる。
That is, the microcomputer 7 digitally counts and quantizes the widths of the mark portion and the space portion of the pulsed voltage signal Vb from the signal conversion circuit 6 in the data fetching routine X1 shown in FIG. At the same time, the quantization results are sequentially fetched as binarized data of, for example, 16 bits (2 bytes) divided for each bar of the bar code 2, and each binarized as shown in the memory map in FIG. The data Δ1 to Δn are sequentially stored in the data storage area set in the RAM 7a. That is, the data values indicated by the respective binarized data Δ1 to Δn stored in this way correspond to the widths of the black bar and the white bar of the barcode 2 to be read. It will be a large value.

【0014】マイクロコンピュータ7は、上記ルーチン
X1の実行後には、被読み取りバーコード2の情報密度
を示すデータを設定するための情報密度算出ルーチンX
2を実行する。このルーチンX2では、RAM7aに記
憶したn個の二値化データΔ1〜Δnに基づいて、 Dn=(Δ1+Δ2+……+Δn)/n の演算を行うことにより、二値化データΔ1〜Δnの平
均値Dnを求め、その平均値Dnをバーコード2の情報
密度を示すデータとして例えば内部レジスタに設定(記
憶)する。つまり、このようにして得られる平均値Dn
は、バーコード2の情報密度が低い場合に大きくなり、
情報密度が高い場合に小さくなるから、バーコード2の
情報密度を示すデータとして利用できる。
After executing the routine X1, the microcomputer 7 sets an information density calculation routine X for setting data indicating the information density of the barcode 2 to be read.
Execute 2. In this routine X2, the average value of the binarized data Δ1 to Δn is calculated by performing an operation of Dn = (Δ1 + Δ2 + ... + Δn) / n based on the n pieces of binarized data Δ1 to Δn stored in the RAM 7a. Dn is obtained, and the average value Dn is set (stored) in, for example, an internal register as data indicating the information density of the barcode 2. That is, the average value Dn obtained in this way
Becomes large when the information density of barcode 2 is low,
Since the smaller the information density is, the data can be used as data indicating the information density of the barcode 2.

【0015】次いで、マイクロコンピュータ7は、16
ビットの二値化データΔ1〜Δnをデータ解析処理に適
した8ビットの二値化データδ1〜δnに縮小するため
のデータ変換ルーチンX3を実行する。このルーチンX
3では、RAM7aに記憶された16ビットの二値化デ
ータΔ1〜Δnから、一定ビット長たる8ビット分ずつ
のデータを取り出して被解析処理用二値化データδ1〜
δnを得るものであり、このような二値化データδ1〜
δnの取り出し位置は、前述の情報密度算出ルーチンX
2で設定されたデータにより示されるバーコード2の情
報密度が低い場合ほど、二値化データΔ1〜Δnの最上
位ビット(MSB)寄りの位置へシフトされる。尚、こ
のような二値化データδ1〜δnの取り出し位置のシフ
ト量は、例えば前記平均値Dnとシフト量との対応関係
を予め設定して成るデータテーブルに基づいて決定され
る構成となっている。
Next, the microcomputer 7 is 16
A data conversion routine X3 for reducing the binary data Δ1 to Δn of bits into 8-bit binary data δ1 to δn suitable for data analysis processing is executed. This routine X
3, data of 8 bits each having a constant bit length is extracted from the 16-bit binarized data Δ1 to Δn stored in the RAM 7a, and the binarized data δ1 to analyzed for processing is analyzed.
δn is obtained, and such binarized data δ1 to
The extraction position of δn is the information density calculation routine X described above.
The lower the information density of the bar code 2 indicated by the data set in 2, the more shifted to the position closer to the most significant bit (MSB) of the binarized data Δ1 to Δn. The shift amount of the extraction position of the binarized data δ1 to δn is determined based on, for example, a data table in which the correspondence between the average value Dn and the shift amount is preset. There is.

【0016】このような変換が行われる結果、図4に図
解して示すように、被読み取りバーコード2の情報密度
が低い場合、つまり被読み取りバーコード2の各バーの
幅が相対的に広い場合には、データ解析処理に供される
8ビットの二値化データδ1〜δnが16ビットの二値
化データΔ1〜Δnの最上位ビット寄り位置から取り出
されることになって、各データΔ1〜Δnを縮小する割
合が大きくなる。また、被読み取りバーコード2の情報
密度が高い場合、つまり各バーの幅が相対的に狭い場合
には、二値化データδ1〜δnが二値化データΔ1〜Δ
nの最下位ビット寄り位置から取り出されることになっ
て、各データΔ1〜Δnを縮小する割合が小さくなる。
従って、データ変換ルーチンX3で得られる二値化デー
タδ1〜δnは、被読み取りバーコード2の情報密度に
関係なく略一定した値を呈し、しかも当該バーコード2
の各バーの幅を精度良く示すものとなる。
As a result of such conversion, as shown in FIG. 4, when the information density of the read barcode 2 is low, that is, the width of each bar of the read barcode 2 is relatively wide. In this case, the 8-bit binarized data δ1 to δn used for the data analysis process are to be extracted from the 16-bit binarized data Δ1 to Δn from the most significant bit position, and the respective data Δ1 to The rate of reducing Δn increases. When the information density of the read barcode 2 is high, that is, when the width of each bar is relatively narrow, the binarized data δ1 to δn are the binarized data Δ1 to Δn.
Since the data is taken out from the position near the least significant bit of n, the rate of reducing each data Δ1 to Δn becomes small.
Therefore, the binarized data δ1 to δn obtained by the data conversion routine X3 exhibit a substantially constant value regardless of the information density of the barcode 2 to be read, and the barcode 2
The width of each bar is accurately indicated.

【0017】尚、マイクロコンピュータ7は、上記デー
タ変換ルーチンX3の実行後には、バーコードデータ解
析ルーチンX4において、データ縮小後の二値化データ
δ1〜δnに基づいた被読み取りバーコード2の解析処
理を実行する。
After the execution of the data conversion routine X3, the microcomputer 7 executes, in the bar code data analysis routine X4, an analysis process of the read bar code 2 based on the binarized data δ1 to δn after data reduction. To execute.

【0018】以上要するに、上記した本実施例の構成に
よれば、被読み取りバーコード2の情報密度が広い範囲
に渡る場合でも、そのバーコード2を8ビットの二値化
データδ1〜δnとして確実に読み取ることができるも
のであり、斯様な二値化データδ1〜δnに基づいてデ
ータ解析処理を効率良く行い得るようになる。この場
合、上記二値化データδ1〜δnのデータ長は8ビット
であって比較的短いから、従来構成のように、データ処
理時間が長引いたり、ハ−ドウエア構成に変更を加える
必要がなくなるものである。
In summary, according to the configuration of the present embodiment described above, even if the information density of the bar code 2 to be read extends over a wide range, the bar code 2 is surely converted into 8-bit binary data δ1 to δn. The data analysis process can be efficiently performed based on such binarized data δ1 to δn. In this case, since the data length of the binarized data .delta.1 to .delta.n is 8 bits and is relatively short, it is not necessary to prolong the data processing time or change the hardware configuration as in the conventional configuration. Is.

【0019】尚、上記実施例では、被読み取りバーコー
ド2の黒バー及び白バーの各幅を示す二値化データΔ1
〜Δnを平均することによって、そのバーコード2の情
報密度を算出する構成としたが、これに限らないことは
勿論である。具体的には、例えば、バーコード2中にワ
イドバー及びナローバーが必ず存在する場合には、上記
二値化データΔ1〜Δnの最大値と最小値との中心値に
基づいてバーコード2の情報密度を算出することがで
き、また、バーコード2全体の実際の幅寸法及びバー数
を夫々検出した結果に基づいて情報密度を算出すること
も可能となる。
In the above embodiment, the binarized data Δ1 indicating the widths of the black bar and the white bar of the bar code 2 to be read.
Although the information density of the bar code 2 is calculated by averaging ~ Δn, the present invention is not limited to this. Specifically, for example, when the wide bar and the narrow bar are always present in the barcode 2, the information of the barcode 2 is based on the center value of the maximum value and the minimum value of the binarized data Δ1 to Δn. It is possible to calculate the density, and it is also possible to calculate the information density based on the result of detecting the actual width dimension of the entire barcode 2 and the number of bars.

【0020】さらに、上記実施例では、バーコード2の
情報密度を、データ設定手段を構成するマイクロコンピ
ュータ7での演算に基づいて自動的に設定する構成とし
たが、これに代えて、手動操作によって複数段階の情報
密度を示すデータを入力設定するデータ設定手段を設け
る構成としても良いものである。
Further, in the above embodiment, the information density of the bar code 2 is automatically set based on the calculation in the microcomputer 7 which constitutes the data setting means. It is also possible to provide a data setting means for inputting and setting data indicating a plurality of levels of information density.

【0021】[0021]

【発明の効果】本発明によれば以上の説明によって明ら
かなように、バーコードを光学的に検出してデータ解析
処理用の二値化データを得るためのバーコード読取装置
において、その二値化データをデータ解析処理に必要な
データのビット長より余分に記憶する記憶手段を設け、
この記憶手段からデータ解析処理用の二値化データを一
定ビット長だけ取り出す際に、その取り出し位置を、被
読み取りバーコードの情報密度が低い場合ほど最上位ビ
ット寄りにシフトする構成としたので、データ解析処理
用の二値化データのビット長が比較的短く設定された場
合でも、その二値化データを、被読み取りバーコードの
情報密度に関係なく略一定した値を呈し且つ当該バーコ
ードの各バーの幅を精度良く示す信頼性の高いデータと
して得ることができるものであり、これによって、低情
報密度から高情報密度までの広い範囲に渡るバーコード
の読み取りを、データ処理時間の増大及びハ−ドウエア
構成の変更を伴うことなく可能にできるという優れた効
果を奏するものである。
As is apparent from the above description, according to the present invention, in a bar code reader for optically detecting a bar code to obtain binarized data for data analysis processing, the binary Storage means is provided for storing the digitized data in excess of the bit length of the data required for the data analysis processing,
When the binarized data for data analysis processing is fetched from the storage means by a fixed bit length, the fetch position is shifted toward the most significant bit as the information density of the read barcode is lower. Even when the bit length of the binarized data for data analysis processing is set to be relatively short, the binarized data exhibits a substantially constant value regardless of the information density of the barcode to be read and It is possible to obtain highly reliable data that indicates the width of each bar with high accuracy, and this makes it possible to read barcodes over a wide range from low information density to high information density and increase the data processing time. It has an excellent effect that it can be performed without changing the hardware configuration.

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

【図1】本発明の一実施例における全体の概略構成を実
体的に示すブロック図
FIG. 1 is a block diagram substantially showing the overall schematic configuration in an embodiment of the present invention.

【図2】バーコードのパターンと信号波形との関係の一
例を示す図
FIG. 2 is a diagram showing an example of a relationship between a barcode pattern and a signal waveform.

【図3】マイクロコンピュータの制御内容を示すフロー
チャート
FIG. 3 is a flowchart showing the control contents of the microcomputer.

【図4】RAMのメモリマップ及び記憶データの処理例
を摸式的に示す図
FIG. 4 is a diagram schematically showing a memory map of a RAM and a processing example of stored data.

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

図面中、1は照明光源、2はバーコード、3はCCDイ
メージセンサ、5はデコード回路、6は信号変換回路、
7はマイクロコンピュータ(データ設定手段、信号処理
手段)、7aはRAM(記憶手段)を示す。
In the drawing, 1 is an illumination light source, 2 is a bar code, 3 is a CCD image sensor, 5 is a decoding circuit, 6 is a signal conversion circuit,
Reference numeral 7 denotes a microcomputer (data setting means, signal processing means), and 7a denotes a RAM (storage means).

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 バーコードを光学的に検出して二値化す
ると共に、その二値化データをデータ解析処理に供する
バーコード読取装置において、 前記二値化データを前記バーコードの各バーに対応した
データ毎に区分した状態にて前記データ解析処理に必要
な二値化データのビット長より余分に記憶するための記
憶手段と、 前記バーコードの情報密度を示すデータ設定するための
データ設定手段と、 前記記憶手段の記憶二値化データを一定ビット長だけ取
り出して前記データ解析処理に供するように構成され前
記データ設定手段による設定データが示す情報密度が低
くなるのに応じて上記データ解析処理用の二値化データ
の取り出し位置を記憶二値化データの最上位ビット寄り
にシフトする信号処理手段とを備えたことを特徴とする
バーコード読取装置。
1. A bar code reading apparatus which optically detects a bar code and binarizes the bar code, and uses the binarized data for data analysis processing, wherein the binarized data is stored in each bar of the bar code. Storage means for storing in excess of the bit length of the binarized data necessary for the data analysis processing in a state of being divided into corresponding data, and data setting for setting data indicating the information density of the barcode. Means for extracting the binarized data stored in the storage means for a fixed bit length and subjecting the data to the data analysis processing, the data analysis is performed in accordance with a decrease in information density indicated by the setting data by the data setting means. And a signal processing means for shifting the extraction position of the binarized data for processing toward the most significant bit of the stored binarized data. Reader.
JP3316192A 1991-11-29 1991-11-29 Bar-code reader Pending JPH05151381A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3316192A JPH05151381A (en) 1991-11-29 1991-11-29 Bar-code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3316192A JPH05151381A (en) 1991-11-29 1991-11-29 Bar-code reader

Publications (1)

Publication Number Publication Date
JPH05151381A true JPH05151381A (en) 1993-06-18

Family

ID=18074326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3316192A Pending JPH05151381A (en) 1991-11-29 1991-11-29 Bar-code reader

Country Status (1)

Country Link
JP (1) JPH05151381A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9665847B2 (en) 2009-12-22 2017-05-30 Philip Morris Usa Inc. Method and apparatus for storage of data for manufactured items
US10579889B2 (en) 2015-08-25 2020-03-03 Inexto Sa Verification with error tolerance for secure product identifiers
US10587403B2 (en) 2015-08-13 2020-03-10 Inexto Sa Enhanced obfuscation or randomization for secure product identification and verification
US10594494B2 (en) 2015-08-25 2020-03-17 Inexto Sa Multiple authorization modules for secure production and verification
US10607181B2 (en) 2012-12-17 2020-03-31 Inexto Sa Method and apparatus for storage of data for tracking manufactured items
US10680826B2 (en) 2015-01-31 2020-06-09 Inexto Sa Secure product identification and verification
US10984370B2 (en) 2015-01-28 2021-04-20 Inexto Sa Method and apparatus for unit and container identification and tracking

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9665847B2 (en) 2009-12-22 2017-05-30 Philip Morris Usa Inc. Method and apparatus for storage of data for manufactured items
US10019606B2 (en) 2009-12-22 2018-07-10 Philip Morris Usa Inc. Method and apparatus for storage of data for manufactured items
US10083197B2 (en) 2009-12-22 2018-09-25 Philip Morris Usa Inc. Method and apparatus for storage of data for manufactured items
US10380095B2 (en) 2009-12-22 2019-08-13 Philip Morris Usa Inc. Method and apparatus for storage of data for manufactured items
US11797512B2 (en) 2009-12-22 2023-10-24 Philip Morris Usa Inc. Method and apparatus for storage of data for manufactured items
US10607181B2 (en) 2012-12-17 2020-03-31 Inexto Sa Method and apparatus for storage of data for tracking manufactured items
US10984370B2 (en) 2015-01-28 2021-04-20 Inexto Sa Method and apparatus for unit and container identification and tracking
US10680826B2 (en) 2015-01-31 2020-06-09 Inexto Sa Secure product identification and verification
US10587403B2 (en) 2015-08-13 2020-03-10 Inexto Sa Enhanced obfuscation or randomization for secure product identification and verification
US10579889B2 (en) 2015-08-25 2020-03-03 Inexto Sa Verification with error tolerance for secure product identifiers
US10594494B2 (en) 2015-08-25 2020-03-17 Inexto Sa Multiple authorization modules for secure production and verification
US10917245B2 (en) 2015-08-25 2021-02-09 Inexto Sa Multiple authorization modules for secure production and verification

Similar Documents

Publication Publication Date Title
US6264105B1 (en) Bar code reader configured to read fine print barcode symbols
US5723853A (en) Bar code reader
JP2738098B2 (en) Optical scanning device
US9230147B2 (en) Method and apparatus for optically reading out information stored in a barcode
EP0551923B1 (en) System and method for digital data retrieving
US4110795A (en) Method of graphic data redundancy reduction in an optical facsimile system
US5270525A (en) Non-decoded type bar code reading apparatus
JP2007079781A (en) Two-dimensional code division display method, two-dimensional code reading method and two-dimensional code reader
JPH05151381A (en) Bar-code reader
US5764798A (en) Prioritized searching methods for finding a coded symbol in a digitized image
US6305606B1 (en) Process for scanning a bar code
JP2003006568A (en) Area code reader and area code read method
JP2005018391A (en) Code reading device and program
JPH08263585A (en) Bar code reading device
JP5183612B2 (en) Symbol recognition apparatus and control program therefor
US6478224B1 (en) Symbology-independent method and apparatus for identifying potential bar code data
JP2949958B2 (en) Barcode reader
JPS6233630B2 (en)
JPH0954044A (en) Image processor
JP4555952B2 (en) Bar code symbol reading apparatus, start margin candidate detection method using the same, and bar code symbol reading method
JP2732914B2 (en) Barcode reader
JP2576370B2 (en) ID mark reading device
US6260764B1 (en) Method of detecting a bar code on a scan line, and an apparatus for detecting and decoding a bar code
JPH0244484A (en) Bar code reader
JPH02244291A (en) Optical sensor output binarizing system