JPS6160186A - Optical character reader - Google Patents

Optical character reader

Info

Publication number
JPS6160186A
JPS6160186A JP59182291A JP18229184A JPS6160186A JP S6160186 A JPS6160186 A JP S6160186A JP 59182291 A JP59182291 A JP 59182291A JP 18229184 A JP18229184 A JP 18229184A JP S6160186 A JPS6160186 A JP S6160186A
Authority
JP
Japan
Prior art keywords
circuit
characters
bar
barcode
identification
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
JP59182291A
Other languages
Japanese (ja)
Inventor
Koji Sato
浩二 佐藤
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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP59182291A priority Critical patent/JPS6160186A/en
Publication of JPS6160186A publication Critical patent/JPS6160186A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PURPOSE:To read both bar codes and characters with a single optical character reader by discriminating whether a detected pattern is equal to the characters or bar codes and executing and each discriminating job according to the result of said discrimination. CONSTITUTION:The output signal of an image sensor 16 is applied to a binary coding circuit 18 for decision of white/black binary coding. Then the binary coded signals are applied to a deciding circuit 19, a horizontal separation circuit 20 and a feature extracting circuit 21. The circuit 19 obtains a black OR of plural columns for each row and discriminates the characters circuit 20 obtains the position information on a pattern and sends it to the circuit 21. A discriminating circuit 22 combines the features of each row given from the circuit 21 to perform discrimination among characters, the bar color and the bar width respectively. When the characters are decided, they are delivered as they are. While the bar codes if decided are discriminated respectively after the emerging orders of each bar are combined by a synthesizing circuit 23.

Description

【発明の詳細な説明】 (イ)技術分野 本発明は紙面上に記載された文字を読み取ると共に、バ
ーコード情報を識別し得ることを特徴とする光学的読取
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field The present invention relates to an optical reading device that is capable of reading characters written on paper and identifying barcode information.

(ロ)従来技術 デパート、スーパーマーケット等の販売場で単価の異な
る多くの商品に関する販売情報を迅速かつ正確に得るた
めには、ポイントオプ セールス(pos)と呼ばれる
システムが普及している。
(b) Prior Art In order to quickly and accurately obtain sales information regarding many products with different unit prices at sales outlets such as department stores and supermarkets, a system called point-op sales (POS) has become widespread.

このシステムでは、商品ごとに品名コード、価格、製造
番号、メーカー等の商品情報を記載した°゛商品タグ′
°がつけられており、これらの中から必要な項目を自動
的に光学的又は磁気的な文字読取装置で読取って、結果
をコンピュータへ入力し、データ処理するのが通例であ
る。しかし現実の商品流通の過程では、前記のタグに記
載の商品情報の表示形式は不統一である。例えば食料品
、雑貨類はバーコードと文字(この場合は数字)で表示
され、又、衣料品類は文字の組み合わせ(この場合は片
カナと数字)により表示されている。ここで、文字の言
葉は数字、記号を含むものとして使用されている。この
ように表示様式が不統一の場合、商品情報を読取るため
にはそれぞれの表示様式に適した読取装置を複数設置し
ておく必要があり、同一の販売拠点でい(つかの同じ機
能の装置を使いわけしなげればならないという問題があ
った。
In this system, product information such as product name code, price, serial number, and manufacturer are recorded for each product.
It is customary to automatically read the necessary items from these with an optical or magnetic character reader, input the results into a computer, and process the data. However, in the actual process of product distribution, the display format of product information written on the tags is not uniform. For example, food products and miscellaneous goods are displayed using barcodes and letters (in this case, numbers), and clothing items are displayed using a combination of letters (in this case, Katakana characters and numbers). Here, written words are used to include numbers and symbols. When the display formats are inconsistent in this way, it is necessary to install multiple reading devices suitable for each display format in order to read product information, and it is necessary to install multiple reading devices suitable for each display format at the same sales location (some devices with the same function There was a problem of having to use them differently.

また文字とバーコードに対応するそれぞれ独立した識別
部を有し、両者の識別結果に基づいて最終的な認識を行
うことを特徴とする光学的装置として、特開昭57−1
82284号公報あるいは特開昭57−182285号
公報に開示されたものである。この装置は例えば第9図
に示す構成が知られている。
In addition, as an optical device characterized by having independent identification sections corresponding to characters and barcodes, and performing final recognition based on the identification results of both, Japanese Patent Laid-Open No. 57-1
This is disclosed in Japanese Patent Application Laid-open No. 82284 or Japanese Patent Application Laid-Open No. 182285/1982. For example, the configuration of this device shown in FIG. 9 is known.

即ち、第9図においてAの部分がバーコードを識別し、
Bの部分が文字を識別する。■は2次元のイメージセン
サであり、2は増幅回路であるo3及び5は二値化回路
で4はバーコードの識別部である。6は文字の識別部で
ある。7はバーコードか文字かを判定する手段であり、
バーコードの識別部4および文字の識別部60両方から
送られて(ると同時に行われた識別結果ケもとにそのど
ちらか夕決めているもので、バーコード識別のAおよび
文字識別Bのいずれも並行して同時に動作している。
That is, in FIG. 9, part A identifies the barcode,
Part B identifies characters. 2 is a two-dimensional image sensor, 2 is an amplifier circuit, o3 and 5 are binarization circuits, and 4 is a bar code identification section. 6 is a character identification part. 7 is a means to determine whether it is a barcode or a character,
It is sent from both the barcode identification unit 4 and the character identification unit 60 (whichever is determined based on the identification results that are carried out at the same time), and the barcode identification A and character identification B are sent from both. Both are running in parallel and at the same time.

H発明が解決しようとする問題点 第9図に示す文字とバーコードを夫々独立に識別する識
別部を有する光学的読取装置は、バーコードおよび文字
を夫々の識別部で同時に識別動作ケ行い、両者の識別結
果のうち、どちらか一方の識別結果を出力するものであ
る。このため、文字とバーコードの区別を行う前に識別
対象の識別ケ行うから、識別対象の汚れなどによるノイ
ズの影響ケ受は易く、誤識別を生じる問題があった。ま
た、バーコードおよび文字の両識別手段を必要とするた
め、装置が高価になる欠点があった。
H Problems to be Solved by the Invention The optical reading device shown in FIG. 9, which has an identification section that independently identifies characters and barcodes, has a method of simultaneously identifying barcodes and characters with their respective identification sections, Out of both identification results, one of the identification results is output. For this reason, since the object to be identified is identified before distinguishing between characters and barcodes, the object to be identified is easily affected by noise due to dirt, etc., resulting in the problem of erroneous identification. Furthermore, since both barcode and character identification means are required, the apparatus has the disadvantage of being expensive.

この発明の目的は、ひとつの装置で文字とバーコードの
双方を読み取ることができ、しかもノイズの影響乞減少
して読取り性能の優れた光学的読取装置を提供すること
である。
An object of the present invention is to provide an optical reading device that can read both characters and barcodes with one device and has excellent reading performance by reducing the influence of noise.

また、この発明の別の目的は、バーコードおよび文字を
一つの識別部で識別することにより、安価な光学的読取
装置を提供することである。
Another object of the present invention is to provide an inexpensive optical reading device by identifying barcodes and characters with one identification section.

に)問題点を解決するための手段 前述の問題ケ解決するため、本装置は次の如く構成され
ている。即ち、イメージセンサの出力信号をディジタル
化して文字、バーコードのパター°゛黒′°の論理和と
から6黒”の連続する行数を求め、前記パターンが文字
かバーコードかを判別する判別手段と、前記パターンの
文字およびバーコードの位置情報を求める手段と、前記
位置情報に基づいて各行ごとに特徴を分類する特徴抽出
手段と、前記特徴分類の情報に基づいて文字およびバー
コードのバー色とバー幅とを識別する識別手段と、前記
識別されたバー色とバー幅の出現順序からバーコードを
識別する手段とを備え、前記判別結果が文字の場合は前
記識別手段の識別結果をそのまま出力し、バーコードの
場合は前記バーコードの識別結果を出力するよう構成さ
れている。
B) Means for Solving the Problems In order to solve the above-mentioned problems, the present apparatus is constructed as follows. That is, the output signal of the image sensor is digitized and the number of consecutive lines of 6 black is calculated from the logical sum of the pattern of characters and barcodes, and it is determined whether the pattern is a character or a barcode. means for determining positional information of characters and barcodes in the pattern; feature extracting means for classifying features for each line based on the positional information; an identification means for identifying a color and a bar width, and a means for identifying a barcode from the order of appearance of the identified bar color and bar width, and when the identification result is a character, the identification result of the identification means is It is configured to output it as is, and in the case of a barcode, output the identification result of the barcode.

(ホ)作用 イメージセンサによって捉えられ、さらに二値化された
文字又はバーコードのパターンは夫々文字又はパターン
として具体的に識別される前に、このパターンが文字か
バーコードかを判別される。
(e) Before the character or barcode pattern captured by the operational image sensor and further converted into a binary value is specifically identified as a character or pattern, it is determined whether the pattern is a character or a barcode.

この判別結果に基づいて文字又はバーコードに夫夫対応
した具体的な識別が実行され、さらに判別結果に応じて
夫々対応する識別結果が出力される。
Based on this determination result, specific identification is performed in correspondence with characters or barcodes, and further, corresponding identification results are output in accordance with the determination results.

(へ)実施例 本発明の構成を第1図に示す。(f) Example The configuration of the present invention is shown in FIG.

スキャナ11を人手12で持ち文字あるいはバーコード
情報等の用紙13上の読取対象を水平方向に走査するも
のとする。光源14で文字等の読取対象の記載された用
紙13を照射すると、用紙」二に記載された読取対象の
パターンがレンズ系15ケ介してイメージセンサ16上
に結像されろ。イメージセンサ16は光電変換素子を面
状(二次元)に配列したものが用いられる。用紙13の
背景領域と読取対象となる文字等の領域との反射光はそ
れぞれ異なるから、これらに対応した各光電変換素子で
得られた信号は、増幅回路■7を通り、二値化回路18
に与えられる。二値化回路■8はレベル判定により白、
黒の二値化判定を行い、例えば°0“が背景領域(白)
に対応し、II 11+が文字領域(黒)に対応する信
号として出力されろ。
It is assumed that a scanner 11 is held by a human hand 12 and an object to be read on a paper 13, such as characters or barcode information, is scanned in the horizontal direction. When the light source 14 illuminates the paper 13 on which objects to be read, such as characters, are written, the pattern of the object to be read written on the paper is imaged onto the image sensor 16 via the lens system 15. The image sensor 16 is one in which photoelectric conversion elements are arranged in a planar (two-dimensional) manner. Since the reflected light from the background area of the paper 13 and the areas such as characters to be read are different from each other, the signals obtained by the corresponding photoelectric conversion elements pass through the amplification circuit 7 and are sent to the binarization circuit 18.
given to. Binarization circuit■8 is white by level judgment,
Performs a binary judgment on black, for example, °0" is the background area (white)
Corresponding to this, II 11+ is output as a signal corresponding to the character area (black).

以下、イメージセンサ16の光電変換素子ケセルと称し
て説明する。
Hereinafter, the photoelectric conversion element of the image sensor 16 will be referred to as a cell.

文字を読取る場合イメージセンサ16上の結像が第2図
のごとくであったとすると、この第2図はイメージセン
サの各セルと、二値化回路18からの二値化信号との対
応例を示すことになる。今、nXm個のセルで構成され
ろパターンな画面と称すると、二値化回路18は最上行
L1のB1列から順次B2、B3、・・・・Bn列に対
応する信号(” O”/” l ” )を出力し、次に
次行L2のB1、B2、・・・・、Bn列、その後53
行、最後にLm行のB1、・・・・13行列に対応する
信号を出力することにより1画面の走査を終える。第3
図は用紙13上に印されたバーコードの一例を示すもの
で、これをスキャナ11によって走査して得られた二値
化回路18からの二値化信号との対応例が第4図に示さ
れている。
When reading characters, assuming that the image formed on the image sensor 16 is as shown in FIG. 2, this FIG. It will be shown. Now, if we say that the screen is a pattern consisting of nXm cells, the binarization circuit 18 sequentially outputs signals ("O"/ "l"), then output B1, B2, ..., Bn columns of the next row L2, and then 53
Finally, the scanning of one screen is completed by outputting signals corresponding to the 13th matrix, B1, . . ., in the Lm row. Third
The figure shows an example of a barcode marked on a sheet of paper 13, and an example of its correspondence with the binarized signal from the binarization circuit 18 obtained by scanning this with the scanner 11 is shown in FIG. has been done.

前記二値化回路18からの二値化信号は判定回路19、
水平方向切出し回路20および特徴抽出゛回路21に夫
々与えられる。
The binarized signal from the binarization circuit 18 is sent to a determination circuit 19;
The signal is applied to a horizontal extraction circuit 20 and a feature extraction circuit 21, respectively.

判定回路19は文字であるか、バーコードであるかの判
別を行うもので、その構成は第6図に示される。第6図
において、31はオアゲートであり、各行ごとにB1列
からBn列までの各セルからの二値化信号の°゛黒″論
理和を求めるものである。すなわち、論理和が°゛l″
のとき、旧〜Bnまでの少なくとも1セルに°゛黒パが
存在するものとする。オアゲート31の出力は読出専用
記憶装置(以下ROMと称す)32に与えられ、ROM
32からの出力はレジスタ33に与えられる。このレジ
スタ33の内容はB1行の走査が開始される前にクリア
される。ROM32にはオアゲー)31を介したB1行
のB1〜Bn列の各セルの出力信号の論理和の結果およ
びレジスタ33の内容がアドレスとして与えられ、この
アドレスによって読み出されたROM32の内容はレジ
スタ33にセットされる。次に、B2行の論理和とレジ
スタ33の内容をアドレスとして再びレジスタ33ヘセ
ツトする。これを順次Lm行まで操り返す。ROM 3
2には6黒″の存在する状態がコード化されて書き込ま
れているので、このROM32の対応する内容が読出さ
れてレジスタ33にセットされると、レジスタ33かも
6黒”の状態を知ることができる0 文字かバーコードかの判定は次のように行なわれる。即
ち、B1行の列BlがらBnにおける論理和をA1、L
m行の列B1からBnまでの論理和の結果なAmとする
。また、BlからBnまでの論理和°゛■′が連続する
行数なaとする。ここで、h。
The determination circuit 19 determines whether it is a character or a bar code, and its configuration is shown in FIG. In FIG. 6, numeral 31 is an OR gate, which calculates the "black" logical sum of the binary signals from each cell from the B1 column to the Bn column for each row. That is, the logical sum is ″
In this case, it is assumed that a black spot exists in at least one cell from old to Bn. The output of the OR gate 31 is given to a read-only storage device (hereinafter referred to as ROM) 32.
The output from 32 is provided to register 33. The contents of this register 33 are cleared before scanning of row B1 is started. The ROM 32 is given the result of the logical sum of the output signals of the cells in the B1 row and B1 to Bn columns via the OR game 31 and the contents of the register 33 as an address, and the contents of the ROM 32 read by this address are sent to the register. It is set to 33. Next, the logical sum of the B2 row and the contents of the register 33 are set into the register 33 again as an address. This is sequentially manipulated back to the Lm line. ROM 3
Since the state in which "6 black" exists is coded and written in ROM 32, when the corresponding contents of this ROM 32 are read out and set in the register 33, the register 33 also knows the state of "6 black". The determination of whether it is a 0 character or a barcode is performed as follows. That is, the logical sum of columns Bl to Bn in row B1 is A1, L
Let Am be the result of the logical sum of m rows and columns B1 to Bn. Further, it is assumed that a is the number of consecutive lines of the logical sum ゛■' from Bl to Bn. Here, h.

Cを予め定めた定数とし、論理和“1′” が連続する
行の上下は論理和“°0パであり、読取対象がイメージ
センサの視野内にあるとすると、読取対象のパターンが
文字のときはh < (L < cが成立する。
Let C be a predetermined constant, and the upper and lower rows of consecutive logical sums "1'" are logical sums "°0", and if the object to be read is within the field of view of the image sensor, then the pattern to be read is the character. When h < (L < c holds true).

また、df予め定めた定数とし、イメージセンサの視野
よりもバーコードが長い場合はAl或いはAmが1″で
あるから、読取対象のパターンがバーコードの場合はα
ンdとなる。このようにして、読取対象のパターンが文
字か、あるいはバーコードかが判別される。レジスタ3
3は文字のとき信号CHAおよび信号VAを、バーコー
ドのとき信号BARを夫々出力する。
In addition, df is a predetermined constant, and if the barcode is longer than the field of view of the image sensor, Al or Am is 1'', so if the pattern to be read is a barcode, α
becomes d. In this way, it is determined whether the pattern to be read is a character or a barcode. register 3
3 outputs a signal CHA and a signal VA when it is a character, and outputs a signal BAR when it is a bar code.

第1図に示すように、判定回路19から出力される信号
C)TA、BARは合成回路23および水平方向切出し
回路20へ送られる。判定回路19は文字の場合は垂直
方向の文字エリアも検出する。
As shown in FIG. 1, the signals C)TA and BAR outputted from the determination circuit 19 are sent to a combining circuit 23 and a horizontal cutting circuit 20. In the case of characters, the determination circuit 19 also detects the character area in the vertical direction.

例えば、第2図のよ5?、C文字の画面であれば、Lj
行からB11行までが文字であると判定し、この文字エ
リア内で識別するように信号VA’11水平方向切′出
し回路20および特徴抽出回路21へ送る。
For example, 5 in Figure 2? , if it is a C character screen, Lj
It is determined that the area from line B11 to line B11 is a character, and a signal VA'11 is sent to the horizontal direction cutout circuit 20 and feature extraction circuit 21 so as to be identified within this character area.

次に、文字およびバーコードの識別について説明する。Next, character and barcode identification will be explained.

まず、文字識別について説明する。1画面分の信号は、
文字パターンが第2図のようにイメージセンサ16の視
野内に正しく入っている場合にのみ識別し出力する必要
がある。水平方向切出し回路20は、ハンドスキャナ1
1を移動させたとき、文字パターンがイメージセンサ1
6の所定の位置にあるか否かを判断する。この位置判断
は、例えば第1列Blが全部°゛白′″で且っ第2列B
2がその少な(とも1行に6黒゛′が含まれ、列Biが
全部°°白”′のときに正しい位置とし、文字はB2か
らB1−1列までと判断する。そして、水平方向切出し
回路20は文字位置B2がらB i−1を特徴抽出回路
21へ送る。
First, character identification will be explained. The signal for one screen is
It is necessary to identify and output the character pattern only when it is correctly within the field of view of the image sensor 16 as shown in FIG. The horizontal cutting circuit 20 is connected to the hand scanner 1
When moving 1, the character pattern will be displayed on image sensor 1.
6 is located at the predetermined position. This position judgment can be performed, for example, if the first row Bl is entirely white and the second row Bl is
2 is the smallest (each line contains 6 black characters and column Bi is all white), the correct position is determined, and the characters are determined to be from B2 to B1-1 column.Then, in the horizontal direction The extraction circuit 20 sends B i-1 from the character position B2 to the feature extraction circuit 21.

次に、バーコードの識別について説明する。第4図に示
すように、B1列が°゛白“でがつB2列が°゛黒”で
次の”白”がB’に列であると、黒バーの位置はB2か
らBk−1とする。また、第4図に示すように、B1列
が“黒″でかっB2列が”白″で次の°°黒”′がB1
列である場合、白バー位置はB2からR1−1とする。
Next, barcode identification will be explained. As shown in Figure 4, if the B1 column is 'white' and the B2 column is 'black' and the next 'white' is in the B' column, the position of the black bar is from B2 to Bk-1. shall be. Also, as shown in Figure 4, the B1 column is "black" and the B2 column is "white" and the next °°black' is B1.
In the case of a column, the white bar position is from B2 to R1-1.

このように識別されたバー位置情報、則ち、黒バー位置
B2がらBk−1、白バー位置B2からB1−1 は水
平方向切出し回路20から特徴抽出回路21へ送られる
The thus identified bar position information, ie, the black bar position B2 to Bk-1 and the white bar position B2 to B1-1, is sent from the horizontal extraction circuit 20 to the feature extraction circuit 21.

識別は特開昭54−16133号公報の技術を一部利用
する。特開昭54−1.6133号公報では文字だけの
識別方法であるが、本発明では文字およびバーコードの
バー色、バー幅を識別する。
For identification, a part of the technology disclosed in Japanese Patent Application Laid-open No. 16133/1983 is used. JP-A-54-1.6133 discloses a method for identifying only characters, but the present invention identifies characters, bar code bar color, and bar width.

特徴抽出回路21は判定回路19および水平方向切出し
回路20から送られてくる文字又はバーコードの位置情
報をもとに各行ごとに°゛黒′および°°白パの連続す
る長さや発生数によって特徴ごとに分類する。第7図は
特徴別に分類された一例を示すもので、同図において、
COから07 は文字識別用、C8からC15はバーコ
ード識別用である。このように、特徴抽出回路21によ
って分類された各行ごとの特徴は識別回路22へ送られ
る。
The feature extraction circuit 21 extracts character or barcode position information from the determination circuit 19 and the horizontal extraction circuit 20, and determines the length and number of consecutive occurrences of black and white spaces for each line. Classify by characteristic. Figure 7 shows an example of classification by characteristics.
CO to 07 are for character identification, and C8 to C15 are for barcode identification. In this way, the features of each row classified by the feature extraction circuit 21 are sent to the identification circuit 22.

例えば、第2図の文字パターンではLj行、Lj+1行
でC6y、L’+2でC3Y抽出し、以下、Lj+3か
らLs行までC3,C3,C3,C6,C6,C1,C
1,。
For example, in the character pattern shown in Figure 2, C6y is extracted from the Lj line and Lj+1 line, C3Y is extracted from L'+2, and then C3, C3, C3, C6, C6, C1, C is extracted from the Lj+3 to Ls line.
1,.

CI、C1,C6,C6を順次抽出する。CI, C1, C6, and C6 are sequentially extracted.

識別回路22は、特徴抽出回路21から送られる特徴を
組み合わせて識別を行う。例えば、第2図の文字パター
ンの特徴C6,C6・・・・・・C6が送られてくると
、第8図に示すように、順次送られて(る特徴を組み合
わせて最後に文字112 I+  を識別する。第4図
のバーコードのパターンの場合は、■モジュールの黒バ
ーとして各行ともにC8が特徴抽出回路21から順次送
られてくるから、識別回路22はC8だげの組み合わせ
は1モジユールの黒バーと識別する。第5図のバーコー
ドのパターンの場合は、特徴抽出回路21がら各行とも
3モジユールの白バーを示すC8が抽出され、識別回路
22において3モジユールの白バーと識別する。識別回
路22の識別結果は合成回路23へ送られる。
The identification circuit 22 performs identification by combining the features sent from the feature extraction circuit 21. For example, when characters C6, C6, C6, etc. of the character pattern shown in Figure 2 are sent, as shown in Figure 8, they are sent one after another (combining the features) to finally form the character 112 I+. In the case of the barcode pattern shown in Fig. 4, C8 is sequentially sent from the feature extraction circuit 21 in each row as the black bar of the module, so the identification circuit 22 recognizes that a combination of only C8 is one module. In the case of the barcode pattern shown in FIG. 5, the feature extraction circuit 21 extracts C8, which indicates a 3-module white bar in each row, and the identification circuit 22 identifies it as a 3-module white bar. The identification result of the identification circuit 22 is sent to the synthesis circuit 23.

合成回路23は信号BARが与えられるバーコードの場
合、識別回路22がら送られる識別したバーコードの各
バーの出現順序を組み合iせて最終的なバーコードとし
て識別する。例えば、バーコードのパターンが第4図か
ら第5図へと変化した場合、■モジュールの黒バー、3
モジユー/l/(7)白バー、以下同様の識別結果が識
別回路22から順次合成回路23に与えられ、これらを
合成回路23は合成してバーコードがどの数字か記号か
に対応するかを決定する。合成回路23は信号CI(A
が与えられる文字の場合には、識別回路22がら送られ
る識別結果をそのまま出力する。
In the case of a barcode to which the signal BAR is applied, the synthesis circuit 23 combines the appearance order of each bar of the identified barcode sent from the identification circuit 22 and identifies it as a final barcode. For example, if the barcode pattern changes from Figure 4 to Figure 5,
Module/l/(7) White bar, similar identification results are sequentially provided from the identification circuit 22 to the synthesis circuit 23, and the synthesis circuit 23 synthesizes these to determine which number or symbol the barcode corresponds to. decide. The synthesis circuit 23 receives the signal CI(A
In the case of a character that is given, the identification result sent from the identification circuit 22 is output as is.

(ト)効果 本□発明の光学的読取装置は、バーコード表示のタグ及
び文字表示のタグでも同一の装置で読み取れるので、バ
ーコード表示あるいは文字表示の混在するPOSシステ
ムにおいて、レジでのスピードアップが可能となる。
(G) Effect □ The optical reading device of the invention can read both barcode display tags and text display tags with the same device, so it speeds up the checkout process in POS systems that use both barcode display and text display. becomes possible.

また、本発明は文字かバーコードかの区別を行なった後
、パターンの識別を行なっているので、汚れなどのノイ
ズに対して誤識別することが少なく、正確にタグを読み
取ることができる。
Furthermore, since the present invention identifies patterns after distinguishing between characters and barcodes, it is possible to accurately read tags with less erroneous identification due to noise such as dirt.

また、本発明は一つの識別手段で文字およびバ−コード
を夫々同一に扱って識別するので、安価な装置を実現で
きろ。
Furthermore, since the present invention treats characters and bar codes in the same way and identifies them using one identification means, an inexpensive device can be realized.

また、本発明は識別する文字やバーコードの位置を決め
て処理し、しかも二次元情報として扱っているので操作
するスキャナの動作の影響を受けない。
Furthermore, the present invention determines and processes the positions of characters and barcodes to be identified, and treats them as two-dimensional information, so it is not affected by the operation of the scanner being operated.

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

第1図はこの発明の一実施例を示す構成図、第2図はイ
メージセンサ上の像を二値化して対応させた図、第3図
は用紙に印されたバーコードの一例を示す図、第4図お
よび第5図は第3図のイメージセンサ上の像を二値化し
て対応させた図、第6図は判定回路の構成図、第7図は
特徴抽出回路による特微分類例図、第8図は識別回路の
文字を識別する場合の説明図、第9図は従来の光学的読
取装置の構成図である。 11・・・・ スキャナ、  13・・・・・・ 用紙
、14・・・・ 光源、   ■5・・・・ レンズ系
、16・・・・ イメージセンサ、 17・・・・ 増幅回路、 18・・・・ 二値化回路
、19・・・・ 判定回路、 20・・・・ 水平方向切出し回路、 21・・・・ 特徴抽出回路、  22・・・・識別回
路、23・・・・ 合成回路。 特許出願人 住友電気工業株式会社 (外5名) 第 第2図 Br BzBs −−−一−−−−−−Bj −−−−
−−Bn特開昭Gl−GO18G(6) 4図 第 5図BtBz  BI L+非H形釡W羽 第6図 第7図 冒捧芽判 1J開#JH61−60186’J) 第8図 第9図
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a diagram showing an image on an image sensor that has been binarized and corresponds to each other, and Fig. 3 is a diagram showing an example of a barcode marked on paper. , Fig. 4 and Fig. 5 are diagrams in which the image on the image sensor in Fig. 3 is binarized and corresponded to each other, Fig. 6 is a configuration diagram of the determination circuit, and Fig. 7 is an example of feature classification by the feature extraction circuit. FIG. 8 is an explanatory diagram for identifying characters using an identification circuit, and FIG. 9 is a configuration diagram of a conventional optical reading device. 11... Scanner, 13... Paper, 14... Light source, ■5... Lens system, 16... Image sensor, 17... Amplification circuit, 18. ... Binarization circuit, 19 ... Judgment circuit, 20 ... Horizontal extraction circuit, 21 ... Feature extraction circuit, 22 ... Identification circuit, 23 ... Synthesis circuit . Patent applicant: Sumitomo Electric Industries, Ltd. (5 others) Figure 2 Br BzBs ---1 ------Bj ---
--Bn JP-A-Sho Gl-GO18G (6) 4 Fig. 5 BtBz BI L+ non-H type pot W wing Fig. 7 Fig. 7 Blasphemy bud size 1J opening #JH61-60186'J) Fig. 8 Fig. 9 figure

Claims (1)

【特許請求の範囲】[Claims] (1)面状に配列された複数の光電変換素子からなるイ
メージセンサを用いて光学的に文字とバーコードとを読
み取る手持ち式の光学的読取装置において、 イメージセンサの視野内に文字、バーコードの読取対象
を結像させる結像手段と、前記イメージセンサの出力信
号をディジタル化して文字、バーコードのパターンを形
成する手段と、検出したパターンの任意の列のディジタ
ル信号あるいは各行ごとの任意の複数列の“黒”の論理
和とから“黒”の連続する行数を求め、前記パターンが
文字かバーコードかを判別する判別手段と、前記パター
ンの文字およびバーコードの位置情報を求める手段と、
前記位置情報に基づいて各行ごとに特徴を分類する特許
抽出手段と、前記特徴分類の情報に基づいて文字および
バーコードのバー色とバー幅とを識別する識別手段と、
前記識別されたバー色とバー幅の出現順序からバーコー
ドを識別する手段とを備え、 前記判別結果が文字の場合は前記識別手段の識別結果を
そのまま出力し、バーコードの場合は前記バーコードの
識別結果を出力することを特徴とする光学的読取装置。
(1) In a hand-held optical reading device that optically reads characters and barcodes using an image sensor consisting of a plurality of photoelectric conversion elements arranged in a planar arrangement, characters and barcodes are detected within the field of view of the image sensor. imaging means for forming an image of the object to be read; means for digitizing the output signal of the image sensor to form a character or barcode pattern; determining means for determining whether the pattern is a character or a barcode by determining the number of consecutive rows of "black" from a logical sum of "black" in a plurality of columns; and means for determining position information of characters and barcodes in the pattern. and,
patent extraction means for classifying features for each line based on the position information; identification means for identifying bar colors and bar widths of characters and barcodes based on the information on the feature classification;
means for identifying a barcode from the order of appearance of the identified bar color and bar width; if the determination result is a character, the identification result of the identification means is output as is, and if it is a barcode, the identification result is output as is; An optical reading device characterized in that it outputs an identification result.
JP59182291A 1984-08-31 1984-08-31 Optical character reader Pending JPS6160186A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59182291A JPS6160186A (en) 1984-08-31 1984-08-31 Optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59182291A JPS6160186A (en) 1984-08-31 1984-08-31 Optical character reader

Publications (1)

Publication Number Publication Date
JPS6160186A true JPS6160186A (en) 1986-03-27

Family

ID=16115711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59182291A Pending JPS6160186A (en) 1984-08-31 1984-08-31 Optical character reader

Country Status (1)

Country Link
JP (1) JPS6160186A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63182460A (en) * 1987-01-20 1988-07-27 ユニ・チヤ−ム株式会社 Perforated nonwoven fabric and its production
JP2008003994A (en) * 2006-06-26 2008-01-10 Oki Data Corp Printing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63182460A (en) * 1987-01-20 1988-07-27 ユニ・チヤ−ム株式会社 Perforated nonwoven fabric and its production
JP2008003994A (en) * 2006-06-26 2008-01-10 Oki Data Corp Printing system

Similar Documents

Publication Publication Date Title
US4748317A (en) Optical reader
US5128527A (en) Apparatus for reading a bar code
JPH0512487A (en) Optical recognizing system and recognizing method of bar code character
JPS62200488A (en) Optical character reader
EP0144006B1 (en) An improved method of character recognitionand apparatus therefor
KR890003689B1 (en) Optical reading devices
JPS6160186A (en) Optical character reader
JPS62162181A (en) Optical reader
JPS5981766A (en) Optical reading device
JP2836773B2 (en) Barcode data detection method and device
JPS60241180A (en) Optical reader
JPS584486A (en) Optical reader
JP2741404B2 (en) Barcode reader
JP2722434B2 (en) Optical character reader
JP2001216464A (en) Bar code
JP2953143B2 (en) Barcode reading device and barcode reading method
JPH08180126A (en) Method and device for reading bar code
JPH0997303A (en) Optical information reader
JPH0887563A (en) Code reading device
JPH08272892A (en) Bar code reader
JPH0469785A (en) Optical information reader
JPS63111591A (en) Optical character reader
JP2906608B2 (en) Optical character reader
JP2754440B2 (en) Barcode judgment method
JPS6278686A (en) Optical character reader