JPS6385992A - Code reader - Google Patents

Code reader

Info

Publication number
JPS6385992A
JPS6385992A JP61231914A JP23191486A JPS6385992A JP S6385992 A JPS6385992 A JP S6385992A JP 61231914 A JP61231914 A JP 61231914A JP 23191486 A JP23191486 A JP 23191486A JP S6385992 A JPS6385992 A JP S6385992A
Authority
JP
Japan
Prior art keywords
barcode
code
circuit
line
data memory
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
JP61231914A
Other languages
Japanese (ja)
Inventor
Sanefumi Kariya
假屋 実文
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
Tokyo Electric 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
Priority to JP61231914A priority Critical patent/JPS6385992A/en
Publication of JPS6385992A publication Critical patent/JPS6385992A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Discrimination (AREA)

Abstract

PURPOSE:To read a bar code and the two-dimensional picture information of a character, to reduce the burden of an operator and to improve an operation efficiency by providing a two-dimensional optical reading sensor, a bar code decoding circuit and an OCR circuit. CONSTITUTION:When the bar code is added to a goods, a change over switch 14 attached to a wand part 11 is turned to a change over contact (a) side. The two-dimensional picture information of the bar code is read by the two-dimensional optical reading sensor 20 and thereafter stored in a picture data memory 25. A correct line data signal outputted from an X axis and Y axis correction circuits 27, 28 is converted into correct code data in the bar code decoder circuit 29. When a goods code is applied to the character, the change over switch 14 is turned to a change over contact (b), the two-dimensional picture information corresponding to the character is read by the two-dimensional optical reading sensor 20 and stored in the picture data memory 25. The stored-two dimensional picture information is inputted to an OCR decoder circuit 33 through the change over switch 14 as the line data signal and converted into the code data corresponding to the character.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はバーコード表示された商品コードと文字表示さ
れた商品コードとのいずれの商品コードをも読取ること
が可能なコード読取装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a code reading device that can read both product codes displayed as bar codes and product codes displayed as characters.

[従来の技術] 例えば電子キャッシュレジスタに接続され、各販売商品
に付されたバーコードを読取って商品コード等のコード
データに変換するバーコード読取装置の一つとして、オ
ペレータが片手で持って扱うことができるワンド部を備
えたバーコード読取装置がある。
[Prior art] For example, it is connected to an electronic cash register and is held and handled by an operator with one hand as one of the barcode reading devices that read the barcode attached to each sales product and convert it into code data such as a product code. There are barcode reading devices equipped with wands that can be used to read barcodes.

この手持用のバーコード読取装置は周知のようにワンド
部内に光源と複数の受光素子が1次元配列された線状フ
ォトセンサとを設け、光源から出力された光がワンド部
の読取窓から出力され、読取窓の外側に近接されたバー
コード表面で反射され、この反射光がバーコードの画像
情報として線状フォトセンサへ入力される。この場合、
線状フォトセンサの配列方向とバーコードの各バーの配
列方向とが一致するように、読取窓を商品に付されたバ
ーコードに押当てる。したがって、線状フォトセンサに
はバーコードの各バーの配列に対応した明暗の縞模様が
投影される。その結果、この線状フォトセンサから、線
状フォトセンサを構成する各受光素子の設置位置に対応
して信号レベルが変化するアナログのラインデータ信号
が出力される。このアナログのラインデータ信号を量子
化回路でHレベル又はLレベルの2値打号に直してデジ
タルのラインデータへ変換する。そして、バーコードデ
コーダ回路でもって、このラインデータをバーコードに
対応する商品コード等の数字又は記号からなるコードデ
ータへ変換する。
As is well known, this hand-held barcode reading device is equipped with a light source and a linear photosensor in which a plurality of light-receiving elements are arranged one-dimensionally in the wand, and the light output from the light source is output from the reading window of the wand. The light is reflected on the surface of the barcode located close to the outside of the reading window, and this reflected light is input to the linear photosensor as image information of the barcode. in this case,
The reading window is pressed against the barcode attached to the product so that the arrangement direction of the linear photosensors matches the arrangement direction of each bar of the barcode. Therefore, a bright and dark striped pattern corresponding to the arrangement of each bar of the barcode is projected onto the linear photosensor. As a result, this linear photosensor outputs an analog line data signal whose signal level changes depending on the installation position of each light receiving element constituting the linear photosensor. This analog line data signal is converted into a binary signal of H level or L level by a quantization circuit and converted into digital line data. Then, a barcode decoder circuit converts this line data into code data consisting of numbers or symbols such as a product code corresponding to the barcode.

一方、商品によっては商品コードをバーコード表示せず
にそのまま複数桁の数字又は英字等の文字で表示したも
のがある。このような商品コードを読取る場合は、文字
読取り専用のOCR(光学文字読取)装置を設置する必
要がある。例えば、手持ち用のOCR装置のワンド部内
には読取窓内へ入力される文字等の2次元画像情報を読
取る2次元光学読取センサが設けられており、OCRデ
コーダ回路でもってこの2次元光学読取センサにて読取
られた2次元画像情報に含まれる文字情報をその文字に
対応したコードデータへ変換する。
On the other hand, for some products, the product code is not displayed as a bar code, but instead is displayed as a multi-digit number or characters such as alphabets. When reading such a product code, it is necessary to install an OCR (optical character reading) device exclusively for reading characters. For example, a two-dimensional optical reading sensor that reads two-dimensional image information such as characters input into a reading window is installed in the wand part of a hand-held OCR device, and the two-dimensional optical reading sensor is equipped with an OCR decoder circuit. The character information included in the two-dimensional image information read in is converted into code data corresponding to the character.

[発明が解決しようとする問題点] しかしながら、上記のように構成されたバーコード読取
装置やOCR装置においても次のような問題問題があっ
た。すなわち、デパートやスーパーマーケットで取扱う
商品の種類は種々雑多であり、商品コードを表示するの
に、バーコードのみを付した商品や、数字や英字等の文
字で表示した商品や、又はこれ等両方を付した商品があ
る。そしてこれ等種々雑多な商品が一つの売場に混在す
る場合がよくある。このような売場に設置される電子キ
ャッシュレジスタにおいては、バーコードを専用に読取
るバーコード読取装置と、文字を専用に読取るOCR装
置とを備える必要がある。
[Problems to be Solved by the Invention] However, the barcode reading device and OCR device configured as described above also have the following problems. In other words, there are many different types of products handled in department stores and supermarkets, and when displaying product codes, some products have only barcodes, some have numbers or letters, or both. There is a product with this. These various miscellaneous products are often mixed together in one sales floor. An electronic cash register installed in such a sales floor needs to be equipped with a barcode reader that exclusively reads barcodes and an OCR device that exclusively reads characters.

しかし、上述したバーコード読取装置やOCR装置は非
常に高価なものであるので、一つの電子キャッシュレジ
スタに両方の装置を取付けると電子キャッシュレジスタ
を含む販売登録装置全体の設備費が上昇する問題があっ
た。
However, the above-mentioned barcode reading device and OCR device are very expensive, so if both devices are installed in one electronic cash register, the equipment cost of the entire sales registration device including the electronic cash register will increase. there were.

また、電子キャッシュレジスタにおいて実際に販売登録
業務を実行するオペレータにとっても、異なる種類の商
品を登録操作する度にバーコード読取装置とOCR装置
とを持換える必要があるので、操作が煩雑になり、オペ
レータの負担が増大する。また、販売登録業務全体の作
業能率が低下する問題がある。
Furthermore, for the operator who actually carries out the sales registration work at the electronic cash register, the operation becomes complicated as it is necessary to change the barcode reading device and the OCR device each time a different type of product is registered. The burden on the operator increases. Additionally, there is a problem that the efficiency of the entire sales registration process is reduced.

本発明は、2次元光学読取センサを設け、この2次元光
学読取センサによって文字の2次元画像情報に加えてバ
ーコードの2次元画像情報をも読取ることによって、バ
ーコード読取装置とOCR装置との両方の機能を持つこ
とができ、装置全体の設備費を低下でき、オペレータの
負担を軽減できるとともに全体の作業能率を向上できる
コード読取装置を提供することを目的とする。
The present invention provides a two-dimensional optical reading sensor, and uses the two-dimensional optical reading sensor to read two-dimensional image information of barcodes in addition to two-dimensional image information of characters. It is an object of the present invention to provide a code reading device that can have both functions, reduce the equipment cost of the entire device, reduce the burden on the operator, and improve the overall work efficiency.

[問題点を解決するための手段] 本発明のコード読取装置においては、第1図に示すよう
に、受光素子を複数個線状に配列した線状フォトセンサ
1をこの線状フォトセンサ1の直交方向に複数個配列し
てなり、ワンド部の読取窓2から入力された2次元画像
情報を読取る2次元光学読取センサ3と、この2次元光
学読取センサ3の各線状フォトセンサ1で読取られた各
ラインデータを2値符号化する量子化回路4と、この量
子化回路4で2値符号化された各ラインデータを記憶す
る画像データメモリ5と、この画像データメモリ5から
出力される各ラインデータをバーコードに対応するコー
ドデータへ変換するバーコードデコーダ回路6と、画像
データメモリ5から出力される各ラインデータからなる
2次元画像情報に含まれる文字情報をその文字に対応し
たコードデータへ変換するOCRデコーダ回路7とを設
け、切換スイッチ8によって、画像データメモリ5から
出力されるラインデータの送出先をバーコードデコーダ
回路6又はOCRデコーダ回路7へ択一的に切換えるよ
うにしている。
[Means for Solving the Problems] In the code reading device of the present invention, as shown in FIG. A plurality of two-dimensional optical reading sensors 3 are arranged in a perpendicular direction and read two-dimensional image information inputted from the reading window 2 of the wand part, and each linear photosensor 1 of this two-dimensional optical reading sensor 3 reads the information. a quantization circuit 4 for binary encoding each line data, an image data memory 5 for storing each line data binary encoded by the quantization circuit 4, and an image data memory 5 for storing each line data outputted from the image data memory 5. A barcode decoder circuit 6 converts line data into code data corresponding to a barcode, and a barcode decoder circuit 6 converts line data into code data corresponding to a barcode, and character information included in two-dimensional image information consisting of each line data output from an image data memory 5 is converted into code data corresponding to the character. An OCR decoder circuit 7 for converting the image data into a bar code decoder circuit 6 or an OCR decoder circuit 7 is provided, and a changeover switch 8 is used to selectively switch the destination of the line data output from the image data memory 5 to the bar code decoder circuit 6 or the OCR decoder circuit 7. .

また、別の発明においては、上記発明の切換スイッチ8
の代りに、画像データメモリ5に記憶された各ラインデ
ータからなる2次元画像情報がバーコード情報を示すも
のか又は文字情報を示すものかを判定する判定回路9を
設け、判定回路9がバーコード情報を判定したとき、バ
ーコードデコーダ回路6によって画像データメモリ5か
ら出力される各ラインデータをバーコードに対応するコ
ードデータへ変換し、判定回路9が文字情報を判定した
とき、OCRデコーダ回路7によって画像データメモリ
5から出力される各ラインデータからなる2次元画像情
報に含まれる文字情報をその文字に対応したコードデー
タへ変換するようにしている。
Further, in another invention, the changeover switch 8 of the above invention
Instead, a determination circuit 9 is provided which determines whether the two-dimensional image information consisting of each line data stored in the image data memory 5 indicates barcode information or character information, and the determination circuit 9 determines whether the barcode information or character information is indicated. When code information is determined, the barcode decoder circuit 6 converts each line data output from the image data memory 5 into code data corresponding to the barcode, and when the determination circuit 9 determines character information, the OCR decoder circuit 7 converts the character information included in the two-dimensional image information consisting of each line data output from the image data memory 5 into code data corresponding to the character.

[作用] このように構成されたコード読取装置であれば、ワンド
部の読取窓から入力された2次元画像情報は2次元光学
読取センサを構成する各線状フォトセンサにて読取られ
、各ラインデータとして2値符号化されて画像データメ
モリへ一旦格納される。
[Operation] With the code reading device configured in this way, the two-dimensional image information input from the reading window of the wand part is read by each linear photosensor constituting the two-dimensional optical reading sensor, and each line data is The image data is binary encoded and temporarily stored in the image data memory.

そして、バーコードを読取る場合に切換スイッチをバー
コードデコーダ回路側に投入すると、画像データメモリ
から出力される各ラインデータはバーコードデコーダ回
路によってバーコードに対応したコードデータへ変換さ
れる。一方文字を読取る場合に切換スイッチをOCRデ
コーダ回路側へ投入すると、画像データメモリから出力
される各ラインデータからなる2次元画像情報に含まれ
る文字情報はOCRデコード回路によってその文字に対
応するコードデータへ変換される。
When a changeover switch is turned on to the barcode decoder circuit when reading a barcode, each line of data output from the image data memory is converted by the barcode decoder circuit into code data corresponding to the barcode. On the other hand, when reading characters, when the changeover switch is turned on to the OCR decoder circuit side, the character information contained in the two-dimensional image information consisting of each line data output from the image data memory is converted into code corresponding to that character by the OCR decoding circuit. is converted to

また別の発明の作用は、画像データメモリに記憶された
各ラインデータからなる2次元画像情報がバーコード情
報を示すものか文字情報を示すものが判定回路でもって
自動的に判定される。そして、判定結果に基づいて画像
データメモリに記憶された各ラインデータがバーコード
デコーダ回路でバーコードに対応したコードデータへ変
換されたり、OCRデコーダ回路で文字に対応したコー
ドデータへ変換される。したがって、オペレータは読取
対象物がバーコードであるか文字であるかを判断する必
要ない。
Another advantage of the present invention is that the determining circuit automatically determines whether the two-dimensional image information consisting of each line of data stored in the image data memory represents barcode information or character information. Based on the determination result, each line data stored in the image data memory is converted into code data corresponding to a bar code by a bar code decoder circuit, or into code data corresponding to characters by an OCR decoder circuit. Therefore, the operator does not need to judge whether the object to be read is a bar code or a character.

[実施例] 以下本発明の一実施例を図面を用いて説明する。[Example] An embodiment of the present invention will be described below with reference to the drawings.

第2図は実施例のコード読皐装置を構成するオペレータ
が手持ちするワンド部11を示す外観図である。ケース
12の先端部に読取窓13が形成されており、ケース1
2の上面には読取対象物がバーコードであるか文字であ
るかを選択する切換ψ スイチ14が配設されている。
FIG. 2 is an external view showing the wand portion 11 held by the operator, which constitutes the code reading device of the embodiment. A reading window 13 is formed at the tip of the case 12.
A switch 14 for selecting whether the object to be read is a bar code or a character is provided on the top surface of the scanner 2.

ケース12内には、第3図に示すように、近赤色光線を
出力する例えば発光ダイオード(LED)等で形成され
た光源15が配設されており、この光源15から出力さ
れた光線16は読取窓13からケース12外へ出力され
、商品に付されたバーコード又は文字の2次元画像17
にて乱反射される。そして、乱反射された光線16は再
び読取窓13を介してケース12内へ入射し、反射鏡1
8および集光レンズ19を介して2次元光学読取センサ
20へ入力される。すなわち、バーコード又は文字の2
次元画像情報は2次元光学読取センサ20上に結像する
As shown in FIG. 3, inside the case 12, a light source 15 made of, for example, a light emitting diode (LED) that outputs a near-red light beam is disposed, and a light beam 16 output from this light source 15 is A two-dimensional image 17 of the barcode or characters attached to the product is output from the reading window 13 to the outside of the case 12.
It is diffusely reflected. Then, the diffusely reflected light beam 16 enters the case 12 through the reading window 13 again, and the reflecting mirror 1
8 and a condensing lens 19 to a two-dimensional optical reading sensor 20 . i.e. barcode or character 2
The dimensional image information is imaged onto the two-dimensional optical reading sensor 20.

この2次元光学読取センサ20の受光面は方形形状を有
し、そのX軸方向およびY軸方向は読取窓13の横方向
および縦方向に対応している。そして、この2次元光学
読取センサ20は、多数の受光素子をX軸方向に線状に
配列してなる線状フォトセンサを、Y軸方向に複数行に
亘って配列したものである。実施例においては、一つの
線状フォトセンサは120個の受光素子で形成され、こ
の線状フォトセンサをY軸方向に80行配列している。
The light receiving surface of this two-dimensional optical reading sensor 20 has a rectangular shape, and its X-axis direction and Y-axis direction correspond to the horizontal and vertical directions of the reading window 13. The two-dimensional optical reading sensor 20 is a linear photosensor in which a large number of light-receiving elements are linearly arranged in the X-axis direction, which are arranged in a plurality of rows in the Y-axis direction. In the embodiment, one linear photosensor is formed of 120 light receiving elements, and these linear photosensors are arranged in 80 rows in the Y-axis direction.

すなわち、この2次元光学読取センサ20は120 X
8O−98(10個の受光素子で形成されている。
That is, this two-dimensional optical reading sensor 20 has 120
8O-98 (formed with 10 light receiving elements.

この2次元光学読取センサ20の受光面に結像したバー
コード又は文字の2次元画像情報は各受光素子にて電気
信号に変換される。変換された電気信号は図示しない出
力制御部によって、各線状フォトセンサ毎に受光素子単
位でシリアルのラインデータ信号として順次出力され、
増幅器21で増幅されたのちケース12外に設けられた
第4図に示すサンプルホールド回路22へ入力される。
The two-dimensional image information of the barcode or characters imaged on the light-receiving surface of the two-dimensional optical reading sensor 20 is converted into an electrical signal by each light-receiving element. The converted electric signal is sequentially output as a serial line data signal for each light receiving element for each linear photosensor by an output control section (not shown).
After being amplified by an amplifier 21, the signal is input to a sample hold circuit 22 shown in FIG. 4 provided outside the case 12.

このサンプルボールド回路22へ入力するまでのライン
データ信号は受光素子単位でリセット信号にて区切られ
ており、各受光素子単位で断続的になっている。そこで
、このサンプルボールド回路22にてリセット信号成分
を除去し、前記2次元画像17の画像情報(パターン)
成分のみを有した電気信号へ変換する。サンプルホール
ド回路22により、リセット信号成分が除去され段階的
になったラインデータ信号を次のローパスフィルタ23
にて滑らかに整形する。そして、次段の量子化回路24
によってHレベル又はLレベルへ2値符号化する。
The line data signal input to the sample bold circuit 22 is separated by a reset signal for each light receiving element, and is intermittent for each light receiving element. Therefore, this sample bold circuit 22 removes the reset signal component and generates image information (pattern) of the two-dimensional image 17.
Converts to an electrical signal containing only the components. The sample and hold circuit 22 removes the reset signal component and sends the stepwise line data signal to the next low-pass filter 23.
Shape it smoothly. Then, the next stage quantization circuit 24
Binary encoding is performed to H level or L level.

2値符号化された各線状フォトセンサのラインデータ信
号は画像データメモリ25へ順次格納される。この画像
データメモリ25は、2次元光学読取センサ20の各受
光素子と同一配列された記憶素子を有し、第5図に示す
ように、各記憶素子は(XO,YO)から(XN、YM
)までの座標番号が付されている。そして、各ラインデ
ータ信号に含まれる各受光素子に対応するHレベル又は
Lレベルのデータは、X座標が0からNまで変化しY座
標値が共通する、各ラインデータメモリ26に格納され
る。なお、実施例においてはN−199であり、M−7
9である。したがって、バーコード又は文字の2次元画
像情報はこの画像データメモリ25へ記憶されることに
なる。
The binary encoded line data signals of each linear photosensor are sequentially stored in the image data memory 25. This image data memory 25 has a memory element arranged in the same manner as each light receiving element of the two-dimensional optical reading sensor 20, and as shown in FIG.
) are given coordinate numbers. The H level or L level data corresponding to each light receiving element included in each line data signal is stored in each line data memory 26 whose X coordinate changes from 0 to N and whose Y coordinate value is common. In addition, in the example, it is N-199, and M-7
It is 9. Therefore, two-dimensional image information of barcodes or characters is stored in this image data memory 25.

画像データメモリ25から出力されたラインデータ信号
はワンド部11に設けられた切換スイッチ14の共通端
子Cに入力される。この切換スイッチ14の共通端子C
へ入力されたラインデータ信号は切換接点aを介してX
軸位相補正回路27へ入力される。
The line data signal output from the image data memory 25 is input to the common terminal C of the changeover switch 14 provided in the wand section 11. Common terminal C of this changeover switch 14
The line data signal input to
The signal is input to the shaft phase correction circuit 27.

このX軸位相補正回路27は、画像データメモリ25か
ら順次出力されるラインデータ信号における信号レベル
が先頭バーの存在にてHレベルへ変化する各基準X座標
位置を基準となるラインデータ信号の基準X座標位置に
一致するように各ラインデータ信号の全X座標位置をシ
フト補正する回路であり、シフト補正された後の各ライ
ンデータ信号を次段のY軸補正回路28へ送出する。
This X-axis phase correction circuit 27 uses each reference X-coordinate position, at which the signal level of the line data signals sequentially outputted from the image data memory 25 changes to H level due to the presence of the leading bar, as a reference for the line data signal. This circuit shifts and corrects all the X-coordinate positions of each line data signal so that they match the X-coordinate position, and sends each line data signal after the shift correction to the Y-axis correction circuit 28 at the next stage.

また、このY軸補正回路28は、X軸位相補正回路27
にてX軸方向の位相が全部のラインデータ信号に亘って
整合された各ラインデータ信号における各同−X座標位
置における各データを全部のラインデータ信号に亘って
加算する。そして、この加算された後の一つのラインデ
ータ信号を図示しない量子化回路で2値符号化して新た
な合成された一つのラインデータ信号として出力する。
Further, this Y-axis correction circuit 28 is connected to the X-axis phase correction circuit 27.
, the respective data at the same -X coordinate position in each line data signal whose phase in the X-axis direction has been matched across all line data signals is added over all line data signals. Then, this added line data signal is binary encoded by a quantization circuit (not shown) and output as a new combined line data signal.

このY軸補正回路28から出力されたラインデータ信号
はバーコードデコーダ回路29にて、バーコードに対応
するコードデータへ変換される。
The line data signal outputted from the Y-axis correction circuit 28 is converted by a barcode decoder circuit 29 into code data corresponding to a barcode.

変換されたコードデータはフォーマツティング回路30
で伝送用の伝文に組込まれてインターフェース回路31
を介して電子キャッシュレジスタ32へ入力される。
The converted code data is sent to the formatting circuit 30.
The interface circuit 31 is incorporated into the transmission message.
is input to the electronic cash register 32 via the electronic cash register 32.

一方、切換スイッチ14が切換端子す側に投入されてい
た場合は、画像データメモリ25から出力される各ライ
ンデータ信号はOCRデコーダ回路33へ入力される。
On the other hand, when the changeover switch 14 is turned on to the changeover terminal side, each line data signal outputted from the image data memory 25 is inputted to the OCR decoder circuit 33.

このOCRデコーダ回路33は、順次入力される各ライ
ンデータ信号を再び2次元画像情報に合成してこの2次
元画像情報に含まれる文字情報をその文字に対応するコ
ードデータへ変換する。そして、変換後のコードデータ
を前記フォーマツティング回路30へ送出する。
The OCR decoder circuit 33 synthesizes the sequentially inputted line data signals into two-dimensional image information again, and converts character information included in this two-dimensional image information into code data corresponding to the characters. Then, the converted code data is sent to the formatting circuit 30.

このように構成されたコード読取装置の動作を第6図乃
至第10図を用いて説明する。すなわち、商品に商品コ
ードとしてバーコードが付されていた場合は、電子キャ
ッシュレジスタ32を操作するオペレータはワンド部1
1に取付けられた切換スイッチ14を切換接点a側に投
入する。すると、第6図に示すように、バーコードの2
次元画像情報が2次元光学読取センサ20で読取られた
のち画像データメモリ25内に格納される。すなわち、
バーコードの黒で示すバ一部分はHレベルであり、白で
示すバーとパートの間の部分はLレベルである。したが
って、Y座標方向のy −to〜B9の各ラインデータ
メモリ26に対応する各ラインデータ信号は第7図の信
号aに示すようにバーコードに対応した正常なラインデ
ータ信号になる。
The operation of the code reading device configured in this way will be explained using FIGS. 6 to 10. In other words, if a barcode is attached to the product as a product code, the operator who operates the electronic cash register 32 uses the wand part 1.
The changeover switch 14 attached to 1 is turned on to the changeover contact a side. Then, as shown in Figure 6, 2 of the barcode
After the dimensional image information is read by the two-dimensional optical reading sensor 20, it is stored in the image data memory 25. That is,
The part of the bar code shown in black is at H level, and the part between the bar and part shown in white is at L level. Therefore, each line data signal corresponding to each line data memory 26 from y-to to B9 in the Y coordinate direction becomes a normal line data signal corresponding to the bar code, as shown by signal a in FIG.

一方、ワンド部11の読取窓13がバーコードに正確に
押し当られていなくて、読取窓13のY方向とバーコー
ドのバ一方向とが一致していない場合は、第8図に示す
ように画像データメモリ25内にバーコードの2次元画
像情報が傾斜した状態で格納される。この場合、Y軸方
向に配列された各ラインデータメモリ26に格納された
各ラインデータに対応す各ラインデータ信号のX軸方向
の位相が順次遅れていくことになる。このX軸方向の位
相のずれは前述したX軸位相補正回路27にてシフト補
正されるので、全部のラインデータ信号はX軸方向位相
も含めて第7図の信号aで示した同一波形となる。
On the other hand, if the reading window 13 of the wand part 11 is not pressed against the barcode accurately and the Y direction of the reading window 13 does not match the bar code direction, as shown in FIG. Two-dimensional image information of the barcode is stored in the image data memory 25 in an inclined state. In this case, the phase in the X-axis direction of each line data signal corresponding to each line data stored in each line data memory 26 arranged in the Y-axis direction is sequentially delayed. This phase shift in the X-axis direction is shifted and corrected by the aforementioned X-axis phase correction circuit 27, so that all line data signals, including the phase in the X-axis direction, have the same waveform as signal a in FIG. 7. Become.

さらに、商品に付されたバーコードがセロファン紙等の
透明の包装紙で覆われていた場合に、この包装紙により
鏡面反射が生じると、バーコードが正確に読取れない。
Furthermore, when a barcode attached to a product is covered with a transparent wrapping paper such as cellophane paper, if the wrapping paper causes specular reflection, the barcode cannot be read accurately.

例えば鏡面反射がバーコードの対角線方向に発生したと
すると、画像データメモリ25内においても、格納され
た2次元画像情報に白レベルの鏡面反射部34が生じる
。この場合、各ラインデータメモリ26から出力される
各ラインデータ信号に鏡面反射部34による信号欠落部
が生じているので、このままでは正しいコードデータを
得ることは不可能である。しかし、これ等互いに異なる
X座標位置に欠落部が生じている各ラインデータ信号は
Y軸補正回路28でもって、Y軸方向に加算されるので
、Y軸補正回路28から出力される合成された1つのラ
インデータ信号は第7図の信号aに示すように正しいラ
インデータ信号となる。
For example, if specular reflection occurs in the diagonal direction of the barcode, a white-level specular reflection portion 34 will occur in the two-dimensional image information stored in the image data memory 25 as well. In this case, each line data signal output from each line data memory 26 has a signal dropout due to the specular reflection section 34, so it is impossible to obtain correct code data as it is. However, since each line data signal having a missing portion at a different X-coordinate position is added in the Y-axis direction by the Y-axis correction circuit 28, the combined line data signals output from the Y-axis correction circuit 28 are One line data signal becomes a correct line data signal as shown by signal a in FIG.

Y軸補正回路28から出力された正しいラインデータ信
号はバーコードデコーダ回路29で正確なコードデータ
に変換されて電子キャッシュレジスタ32へ入力される
ことになる。
The correct line data signal output from the Y-axis correction circuit 28 is converted into accurate code data by the bar code decoder circuit 29 and input to the electronic cash register 32.

また、商品に文字で商品コードが付されてい場合は、オ
ペレータはワンド部11の切換スイッチ14を切換接点
すへ投入する。そして、ワンド部12の読取窓13を文
字に押し当てると、文字に対応する2次元画像情報が2
次元光学読取センサ20にて読取られて、第10図に示
すように、画像データメモリ25へ格納される。
If the product has a written product code, the operator turns the changeover switch 14 of the wand portion 11 into the changeover contact. When the reading window 13 of the wand portion 12 is pressed against the character, two-dimensional image information corresponding to the character is read out.
It is read by the dimensional optical reading sensor 20 and stored in the image data memory 25 as shown in FIG.

画像データメモリ25の各ラインデータメモリ26へ格
納された2次元画像情報を構成する各ラインデータはそ
れぞれラインデータ信号として前記切換スイッチ14を
介してOCRデコーダ回路33へ入力される。しかして
、このOCRデコーダ回路33にて文字に対応するコー
ドデータへ変換されてフォーマツティング回路30へ送
出される。その結果、文字に対応する商品コードを示す
コードデータが電子キャッシュレジスタ32へ入力され
る。
Each line data constituting the two-dimensional image information stored in each line data memory 26 of the image data memory 25 is input as a line data signal to the OCR decoder circuit 33 via the changeover switch 14. The OCR decoder circuit 33 converts the data into code data corresponding to the characters, and sends it to the formatting circuit 30. As a result, code data indicating the product code corresponding to the characters is input to the electronic cash register 32.

このように構成されたコード読取り装置であれば、商品
に付された商品コードがバーコードで表示されていた場
合は、ワンド部11に取付けられた切換スイッチ14を
切換接点aで示すバーコード側に投入して、読取窓13
をバーコードに押し当てれば、商品コードに対応したコ
ードデータが電子キャッシュレジスタ32へ入力される
。また、商品に付された商品コードが曳数桁の数字や英
字等の文字で表示されていた場合は、ワンド部11に取
付けられた切換スイッチ14を切換接点すで示す文字側
に投入して、読取窓13を文字に押し当てれば、商品コ
ードに対応したコードデータが電子キャッシュレジスタ
32へ入力される。このように1台のコード読取装置で
バーコードと文字との両方に対処することが可能である
ので、それぞれ専用の読取装置を設置する従来の場合に
比較して全体の設備費を大幅に低減することが可能であ
る。
With the code reading device configured in this way, if the product code attached to the product is displayed as a barcode, the changeover switch 14 attached to the wand part 11 is connected to the barcode side indicated by the changeover contact a. into the reading window 13.
When pressed against the barcode, code data corresponding to the product code is input to the electronic cash register 32. In addition, if the product code attached to the product is displayed with a number of digits or alphabetic characters, please insert the changeover switch 14 attached to the wand part 11 to the side of the changeover contact indicated by the character. , when the reading window 13 is pressed against a character, code data corresponding to the product code is input into the electronic cash register 32. In this way, it is possible to handle both barcodes and characters with one code reading device, significantly reducing overall equipment costs compared to the conventional case where dedicated reading devices are installed for each. It is possible to do so.

また、オペレータはバーコードと文字とでコード読取装
置のワンド部を持換える必要ないので、オペレータの負
担を軽減できるとともに、販売登録業務全体の作業能率
を大幅に向上できる。特に、実施例においては、切換ス
イッチ14をワンド部11に取付けたので、オペレータ
はワンド部11を持った手でこの切換スイッチ14を切
換操作できる。その結果、さらに操作性を向上できる。
In addition, since the operator does not have to change the wand of the code reading device between barcodes and characters, the burden on the operator can be reduced and the efficiency of the entire sales registration process can be greatly improved. In particular, in the embodiment, since the changeover switch 14 is attached to the wand part 11, the operator can operate the changeover switch 14 with the hand holding the wand part 11. As a result, operability can be further improved.

さらにこの実施例においては、X軸位相補正回路27と
Y軸補正回路28とを組込んでいるので、たとえ読取窓
13がバーコードに対して斜めに押し当てられたとして
も、また、バーコードを対角線状に横切る鏡面反射が生
じたとしても、バーコードデコーダ回路29には常に正
しい合成された一つのラインデータ信号が入力されるの
で、読取りエラーの発生確率を低減でき、オペレータの
負担をさらに軽減できるとともに、読取操作全体の作業
能率をさらに向上できる。
Furthermore, since this embodiment incorporates an X-axis phase correction circuit 27 and a Y-axis correction circuit 28, even if the reading window 13 is pressed diagonally against the barcode, the barcode Even if specular reflection occurs diagonally across the barcode decoder circuit 29, one correct combined line data signal is always input to the barcode decoder circuit 29, reducing the probability of reading errors and further reducing the burden on the operator. This can be reduced, and the efficiency of the entire reading operation can be further improved.

!811図は本発明の別の実施例に係わるコード読取装
置のワンド部11を示す外観図である。この実施例のワ
ンド部11には第2図における切換スイッチ14は取付
けられていない。また、第12図は全体を示すブロック
図である。第4図と同一部分には同一符号を付して重複
する説明を省略する。
! FIG. 811 is an external view showing the wand portion 11 of a code reading device according to another embodiment of the present invention. The changeover switch 14 shown in FIG. 2 is not attached to the wand portion 11 of this embodiment. Further, FIG. 12 is a block diagram showing the entire system. Components that are the same as those in FIG. 4 are designated by the same reference numerals and redundant explanations will be omitted.

この実施例においては、切換スイッチの代りに判定回路
35が設けられている。この判定回路35は、画像デー
タメモリ25から入力される各ラインデータ信号から再
び2次元画像情報を構成し、この2次元画像情報がバー
コード情報を示すものであるか又は文字情報を示すもの
かを判定する。具体的には、読取られる文字の縦方向寸
法はJIS規格等にて一定値以内に規制されており、一
方バーコードの各バーのバ一方向の長さは長いことが特
徴であるので、この縦(バ一方向)の長さでもってバー
コードか文字かを判定する。そして、バーコードと判定
すると、画像データメモリ25から入力された各ライン
データ信号をX軸位相補正回路27へ送出する。一方、
文字と判定すると、前記各ラインデータ信号をOCRデ
コーダ回路33へ送出する。
In this embodiment, a determination circuit 35 is provided in place of the changeover switch. This determination circuit 35 again constructs two-dimensional image information from each line data signal inputted from the image data memory 25, and determines whether this two-dimensional image information indicates barcode information or character information. Determine. Specifically, the vertical dimension of characters to be read is regulated within a certain value by JIS standards, etc., and on the other hand, the length of each bar in a barcode is long in one direction, so this Determine whether it is a barcode or a character based on the vertical length (in one direction). If it is determined to be a barcode, each line data signal input from the image data memory 25 is sent to the X-axis phase correction circuit 27. on the other hand,
If it is determined to be a character, each line data signal is sent to the OCR decoder circuit 33.

このように構成されたコード読取装置であれば、ワンド
部11の読取窓13から入力された2次元画像情報の種
類が判定回路35で自動的に判定されてその種類に対応
するデーコード処理が実行される。したがって、電子キ
ャッシュレジスタ32を操作するオペレータは商品に付
された商品コードがバーコード表示であろうと文字表示
であろうと全く関与せずワンド部11でもって同一の読
取操作を実行すればよいので、オペレータの負担をさら
に軽減でき、作業能率をより一層向上できる。
With the code reading device configured in this way, the type of two-dimensional image information input through the reading window 13 of the wand section 11 is automatically determined by the determination circuit 35, and decode processing corresponding to the type is performed. executed. Therefore, the operator who operates the electronic cash register 32 can perform the same reading operation with the wand part 11 without being involved at all, regardless of whether the product code attached to the product is a bar code or a text display. The burden on the operator can be further reduced and work efficiency can be further improved.

[発明の効果] 以上説明したように本発明によれば、2次元光学読取セ
ンサを設け、この2次元光学読取センサによってバーコ
ードおよび文字の2次元画像情報を読取るようにしてい
る。したがって、1台の装置でバーコードと文字とを両
方読取ることができ、オペレータの負担を軽減できると
ともに読取操作全体の作業能率を向上できる。
[Effects of the Invention] As described above, according to the present invention, a two-dimensional optical reading sensor is provided, and two-dimensional image information of barcodes and characters is read by this two-dimensional optical reading sensor. Therefore, one device can read both barcodes and characters, reducing the burden on the operator and improving the overall efficiency of the reading operation.

また、読取った2次元画像情報がバーコードのものであ
るか文字のものであるかを自動的に判定しているので、
上述した効果をさらに向上できる。
In addition, it automatically determines whether the read two-dimensional image information is a barcode or text, so
The above effects can be further improved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の構成を示す図、第2図乃至第10図は
本発明の一実施例に係わるコード読取装置を示すもので
あり、第2図はワンド部を示す外観図、第3図はワンド
部内の構成を示す模式図、第4図は全体を示すブロック
図、第5図乃至第6図および第8図乃至第10図は画像
データメモリを示す図、第7図は動作を示すタイムチャ
ートであり、第11図は本発明の別の実施例に係わるコ
ード読取装置のワンド部を示す外観図、第12図は同実
施例全体を示すブロック図である。 11・・・ワンド部、12・・・ケース、13・・・読
取窓、14・・・切換スイッチ、15・・・光源、16
・・・光線、17・・・2次元画像、20・・・2次元
光学読取センサ、22・・・サンプルホールド回路、2
4・・・量子化回路、25・・・画像データメモリ、2
6・・・ラインデータメモリ、27・・・X軸位相補正
回路、28・・・Y軸補正回路、29・・・バーコード
デコーダ回路、30・・・フォーマツティング回路、3
2・・・電子キャッシュレジスタ、33・・・OCRデ
コーダ回路、34・・・鏡面反射部、35・・・判定回
路。 出願人代理人 弁理士 鈴江武彦 第6図 第7図 第8図 第9図 第10図
FIG. 1 is a diagram showing the configuration of the present invention, FIGS. 2 to 10 are diagrams showing a code reading device according to an embodiment of the present invention, FIG. 2 is an external view showing the wand portion, and FIG. The figure is a schematic diagram showing the internal configuration of the wand, FIG. 4 is a block diagram showing the whole, FIGS. 5 to 6 and 8 to 10 are diagrams showing the image data memory, and FIG. 7 is a diagram showing the operation. FIG. 11 is an external view showing the wand portion of a code reading device according to another embodiment of the present invention, and FIG. 12 is a block diagram showing the entire embodiment. DESCRIPTION OF SYMBOLS 11... Wand part, 12... Case, 13... Reading window, 14... Changeover switch, 15... Light source, 16
... Light beam, 17 ... Two-dimensional image, 20 ... Two-dimensional optical reading sensor, 22 ... Sample hold circuit, 2
4... Quantization circuit, 25... Image data memory, 2
6... Line data memory, 27... X-axis phase correction circuit, 28... Y-axis correction circuit, 29... Barcode decoder circuit, 30... Formatting circuit, 3
2... Electronic cash register, 33... OCR decoder circuit, 34... Specular reflection section, 35... Judgment circuit. Applicant's Representative Patent Attorney Takehiko Suzue Figure 6 Figure 7 Figure 8 Figure 9 Figure 10

Claims (2)

【特許請求の範囲】[Claims] (1)受光素子を複数個線状に配列してなる線状フォト
センサをこの線状フォトセンサの直交方向に複数個配列
してなり、ワンド部の読取窓から入力された2次元画像
情報を読取る2次元光学読取センサと、この2次元光学
読取センサの各線状フォトセンサで読取られた各ライン
データを2値符号化する量子化回路と、この量子化回路
で2値符号化された各ラインデータを記憶する画像デー
タメモリと、この画像データメモリから出力される各ラ
インデータをバーコードに対応するコードデータへ変換
するバーコードデコーダ回路と、前記画像データメモリ
から出力される各ラインデータからなる2次元画像情報
に含まれる文字情報をその文字に対応したコードデータ
へ変換するOCRデコーダ回路と、前記画像データメモ
リから出力されるラインデータの送出先を前記バーコー
ドデコーダ回路又は前記OCRデコーダ回路へ択一的に
切換える切換スイッチとを有したことを特徴とするコー
ド読取装置。
(1) A linear photosensor consisting of a plurality of light-receiving elements arranged in a line is arranged in a direction orthogonal to the linear photosensor, and the two-dimensional image information input from the reading window of the wand is read. A two-dimensional optical reading sensor for reading, a quantization circuit for binary encoding each line data read by each linear photosensor of this two-dimensional optical reading sensor, and each line binary-encoded by this quantization circuit. Consisting of an image data memory that stores data, a barcode decoder circuit that converts each line of data output from this image data memory into code data corresponding to a barcode, and each line of data that is output from the image data memory. an OCR decoder circuit that converts character information included in two-dimensional image information into code data corresponding to the characters; and a destination for sending line data output from the image data memory to the barcode decoder circuit or the OCR decoder circuit. A code reading device characterized by having a changeover switch that selectively switches.
(2)受光素子を複数個線状に配列してなる線状フォト
センサをこの線状フォトセンサの直交方向に複数個配列
してなり、ワンド部の読取窓から入力された2次元画像
情報を読取る2次元光学読取センサと、この2次元光学
読取センサの各線状フォトセンサで読取られた各ライン
データを2値符号化する量子化回路と、この量子化回路
で2値符号化された各ラインデータを記憶する画像デー
タメモリと、この画像データメモリに記憶された各ライ
ンデータからなる2次元画像情報がバーコード情報を示
すものか又は文字情報を示すものかを判定する判定回路
と、この判定回路がバーコード情報を判定したとき、前
記画像データメモリから出力される各ラインデータをバ
ーコードに対応するコードデータへ変換するバーコード
デコーダ回路と、前記判定回路が文字情報を判定したと
き、前記画像データメモリから出力される各ラインデー
タからなる2次元画像情報に含まれる文字情報をその文
字に対応したコードデータへ変換するOCRデコーダ回
路とを有したことを特徴とするコード読取装置。
(2) A linear photosensor consisting of a plurality of light-receiving elements arranged in a line is arranged in a direction perpendicular to the linear photosensor, and the two-dimensional image information input from the reading window of the wand is read. A two-dimensional optical reading sensor for reading, a quantization circuit for binary encoding each line data read by each linear photosensor of this two-dimensional optical reading sensor, and each line binary-encoded by this quantization circuit. an image data memory that stores data; a determination circuit that determines whether the two-dimensional image information consisting of each line data stored in the image data memory indicates barcode information or character information; and this determination circuit. a barcode decoder circuit that converts each line of data output from the image data memory into code data corresponding to the barcode when the circuit determines barcode information; A code reading device comprising an OCR decoder circuit that converts character information included in two-dimensional image information consisting of each line data output from an image data memory into code data corresponding to the character.
JP61231914A 1986-09-30 1986-09-30 Code reader Pending JPS6385992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61231914A JPS6385992A (en) 1986-09-30 1986-09-30 Code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61231914A JPS6385992A (en) 1986-09-30 1986-09-30 Code reader

Publications (1)

Publication Number Publication Date
JPS6385992A true JPS6385992A (en) 1988-04-16

Family

ID=16931035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61231914A Pending JPS6385992A (en) 1986-09-30 1986-09-30 Code reader

Country Status (1)

Country Link
JP (1) JPS6385992A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177509A (en) * 2019-12-16 2020-05-19 航天信息股份有限公司 Method and system for judging information based on multiple modes

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5495123A (en) * 1978-01-13 1979-07-27 Mitsubishi Rayon Co Identification code reading method
JPS584486A (en) * 1981-07-01 1983-01-11 Sumitomo Electric Ind Ltd Optical reader
JPS5818117A (en) * 1981-07-07 1983-02-02 シ−メンス・アクチエンゲゼルシヤフト Digital measuring sensor
JPS59205678A (en) * 1983-05-09 1984-11-21 Sharp Corp Input device for form information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5495123A (en) * 1978-01-13 1979-07-27 Mitsubishi Rayon Co Identification code reading method
JPS584486A (en) * 1981-07-01 1983-01-11 Sumitomo Electric Ind Ltd Optical reader
JPS5818117A (en) * 1981-07-07 1983-02-02 シ−メンス・アクチエンゲゼルシヤフト Digital measuring sensor
JPS59205678A (en) * 1983-05-09 1984-11-21 Sharp Corp Input device for form information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177509A (en) * 2019-12-16 2020-05-19 航天信息股份有限公司 Method and system for judging information based on multiple modes

Similar Documents

Publication Publication Date Title
US5477042A (en) 2-D bar code scanner/decoder having a redundancy canceller
EP0791204B1 (en) Anti-hand-jittering dataform readers and methods
US5153418A (en) Multiple resolution machine readable symbols
US5223701A (en) System method and apparatus using multiple resolution machine readable symbols
JP3725879B2 (en) Multi-resolution machine readable symbol
US20040012569A1 (en) Method for displaying and reading information code for commercial transaction
US5767500A (en) Automatic identification of hardware
JPH064695A (en) Bar code reader
US5550363A (en) Optical information reading apparatus
JPH064699A (en) Bar code reader
EP0331758B1 (en) Data code on a code sheet and apparatus of recognizing the code
JPS6385992A (en) Code reader
JP3690281B2 (en) Information code
JPS6385991A (en) Bar code reader
JP3140184B2 (en) Barcode symbol reader
JPH09274637A (en) Two-dimensional code reader
JP2890935B2 (en) Portable optical information reader
TW297889B (en)
JPH0217585A (en) Optical character reader
JPH10143595A (en) Separation type electronic equipment
JP2002216073A (en) Device for reading readable character or the like and method for the same
JP4211613B2 (en) Optical information reader
EP0140527B1 (en) Document reading system
JP2734781B2 (en) Barcode reader
JP4063021B2 (en) Optical information reader