JPH09134403A - Optical information reader - Google Patents

Optical information reader

Info

Publication number
JPH09134403A
JPH09134403A JP7288829A JP28882995A JPH09134403A JP H09134403 A JPH09134403 A JP H09134403A JP 7288829 A JP7288829 A JP 7288829A JP 28882995 A JP28882995 A JP 28882995A JP H09134403 A JPH09134403 A JP H09134403A
Authority
JP
Japan
Prior art keywords
binary data
data
dimensional
rows
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
JP7288829A
Other languages
Japanese (ja)
Inventor
Atsushi Nakazawa
敦 中澤
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 JP7288829A priority Critical patent/JPH09134403A/en
Publication of JPH09134403A publication Critical patent/JPH09134403A/en
Pending legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an optical information reader capable of reading out a one-dimensional(1D) bar code without depending upon the image forming position of an image at the time of using a two-dimensional(2D) image sensor as a reading medium and capable of efficiently reading out also a multistage 2D bar code and reducing the necessary capacity of a memory. SOLUTION: An entering part 16 enters binary data for plural lines so as to insert space every (n) lines out of binary data corresponding to a gradation signal outputted from a 2D image sensor part 14. A bar code identifying part 21 extracts binary data expressing a bar/space array pattern out of the entered binary data for plural lines. Then 1D bar code identification processing or multistage 2D bar code identification processing is executed based on the extracted binary data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、読取面に記録され
た一次元バーコード等の複数種類の読取対象を二次元イ
メージセンサを用いて光学的に読み取るための光学的情
報読取装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical information reader for optically reading a plurality of types of objects to be read such as a one-dimensional bar code recorded on a reading surface by using a two-dimensional image sensor.

【0002】[0002]

【従来の技術】従来、販売店等で普及しているPOS(P
oint Of Sales)システム、工場等で普及している物流管
理システム等では、通常、品名コード,価格,製造番
号,製造者等の情報が記録されたタグを製品に添付し、
前記タグに記録された情報を光学的に読み取ることによ
り製品の在庫管理等が行われている。
2. Description of the Related Art POS (P
(oint Of Sales) system, distribution systems widely used in factories, etc., usually attach a tag in which information such as product name code, price, manufacturing number, and manufacturer is recorded to the product,
Product inventory management and the like are performed by optically reading the information recorded on the tag.

【0003】前記タグに記録された情報として現在用い
られている形式には、たとえば一次元バーコード,この
一次元バーコードが列方向複数段配列された多段型二次
元バーコード,マトリクス型二次元バーコードおよび文
字といった種類がある。このうち、一次元バーコードの
読取りの具体例は、たとえば特開平4-69787 号公報に開
示されている。
The format currently used as the information recorded on the tag is, for example, a one-dimensional bar code, a multi-stage two-dimensional bar code in which the one-dimensional bar code is arranged in a plurality of columns in the column direction, a matrix two-dimensional bar code. There are types such as barcodes and characters. Among these, a specific example of reading a one-dimensional bar code is disclosed in, for example, Japanese Patent Laid-Open No. 4-69787.

【0004】より詳述すると、この公開公報に開示され
ている技術では、読取媒体として二次元イメージセンサ
が用いられる。二次元イメージセンサは、たとえば10
(μm)×10(μm)の略正方形状の読取画素が行方向
(水平方向)および列方向(高さ方向)に二次元的に配
列された結像面を備えている。一次元バーコードを読み
取る場合、前記二次元イメージセンサが内蔵されたスキ
ャナの開口部を一次元バーコードが収まるようにタグに
当て、この状態で光を照射し、前記一次元バーコードに
対応する像をレンズ系を介して前記二次元イメージセン
サの結像面に結像させる。
More specifically, the technique disclosed in this publication uses a two-dimensional image sensor as a reading medium. Two-dimensional image sensor, for example, 10
It has an image plane in which (μm) × 10 (μm) substantially square read pixels are two-dimensionally arranged in the row direction (horizontal direction) and the column direction (height direction). When reading a one-dimensional bar code, the opening of the scanner incorporating the two-dimensional image sensor is applied to the tag so that the one-dimensional bar code fits, and light is emitted in this state to correspond to the one-dimensional bar code. An image is formed on the image plane of the two-dimensional image sensor through a lens system.

【0005】結像面に一次元バーコードに対応する像が
結像すると、前記各読取画素において前記像の濃淡に応
じた濃淡信号が作成される。作成された濃淡信号は二値
データに変換される。その後、前記変換された二値デー
タのうち、いずれか定められた1行の二値データが抽出
される。そして、前記抽出された二値データに基づいて
バー/スペースの配列パターンが識別され、その識別結
果に基づいて、前記像がいずれの一次元バーコードに対
応するかが認識される。
When an image corresponding to a one-dimensional bar code is formed on the image forming surface, a gradation signal corresponding to the gradation of the image is created in each of the read pixels. The created grayscale signal is converted into binary data. Then, one of the defined binary data is extracted from the converted binary data. Then, the bar / space array pattern is identified based on the extracted binary data, and which one-dimensional barcode the image corresponds to is recognized based on the identification result.

【0006】前記識別に1行の二値データのみを用いる
理由は、一次元バーコードには行方向にのみ濃淡情報が
含まれているため、1行分の二値データがあれば十分だ
からである。一方、多段型二次元バーコードを読み取る
際には、前記一次元バーコードの場合と同様に、二次元
イメージセンサを用いる必要がある。
The reason why only one line of binary data is used for the identification is that the one-dimensional bar code contains the grayscale information only in the line direction, so that one line of binary data is sufficient. is there. On the other hand, when reading a multi-stage two-dimensional barcode, it is necessary to use a two-dimensional image sensor as in the case of the one-dimensional barcode.

【0007】ここで、多段型二次元バーコードに対応す
る像と結像面との位置関係について説明すると、多段型
二次元バーコードの像のうち、各段を構成する一次元バ
ーコードのバーに対応する像は、バーコードの印刷の大
きさにもよるが、結像面の列方向の複数行分(たとえば
9行)にわたって結像される。多段型二次元バーコード
の読取りは、識別処理において、一次元バーコードと異
なる。すなわち、多段型二次元バーコードの識別処理で
は、二次元イメージセンサの全行分に対応する二値デー
タに基づいて、バー/スペースの配列パターンが識別さ
れる。そして、この識別結果に基づいて、結像面に結像
された像がいずれの多段型二次元バーコードに対応する
かが認識される。
Here, the positional relationship between the image corresponding to the multi-stage two-dimensional bar code and the image plane will be described. Of the multi-stage two-dimensional bar code image, the bar of the one-dimensional bar code forming each stage is described. The image corresponding to is formed over a plurality of rows (for example, 9 rows) in the column direction of the imaging surface, depending on the size of the printed barcode. Reading a multi-stage two-dimensional barcode is different from a one-dimensional barcode in the identification process. That is, in the multi-stage two-dimensional barcode identification process, the bar / space array pattern is identified based on the binary data corresponding to all the rows of the two-dimensional image sensor. Then, based on the identification result, it is recognized which multi-step two-dimensional bar code the image formed on the image forming surface corresponds to.

【0008】[0008]

【発明が解決しようとする課題】ところで、スキャナの
開口部をタグに当てる際、常に同じ結像面上の位置に像
が結像されるように当てることは困難である。一方、前
記従来技術で読取媒体として用いられている二次元イメ
ージセンサが内蔵されたスキャナの開口部は、列方向の
長さが一次元イメージセンサを用いる場合に比べて長
い。したがって、前記従来技術では、一次元バーコード
に対応する像は、二値データを抽出すべき行に対応する
結像面上の位置ではなく、別の位置に結像される場合が
ある。このような場合、バー/スペースの配列パターン
を判定することはできない。その結果、一次元バーコー
ドを読み取ることができないという不具合が生じる。
By the way, when the opening of the scanner is applied to the tag, it is difficult to always apply the image so that the image is formed at the same position on the image forming plane. On the other hand, the opening of the scanner in which the two-dimensional image sensor used as the reading medium in the above-mentioned conventional technique is built is longer in the column direction than when the one-dimensional image sensor is used. Therefore, in the above-mentioned conventional technique, the image corresponding to the one-dimensional bar code may be formed at another position instead of the position on the image plane corresponding to the row from which the binary data is to be extracted. In such a case, the bar / space arrangement pattern cannot be determined. As a result, there is a problem that the one-dimensional barcode cannot be read.

【0009】一方、多段型二次元バーコードを読み取る
場合には、前述のように、全行分の二値データを用いて
識別処理を行っている。しかしながら、多段型二次元バ
ーコードは、前述のように、一次元バーコードが列方向
に複数段配列されたものである。したがって、各段に対
応する行数分の二値データは、1つの一次元バーコード
のバー/スペースの配列パターンを表す二値データであ
る。
On the other hand, when reading a multi-stage two-dimensional bar code, as described above, the identification processing is performed using the binary data for all lines. However, the multi-stage two-dimensional barcode is a one-dimensional barcode arranged in a plurality of columns in the column direction as described above. Therefore, the binary data for the number of rows corresponding to each row is binary data representing the bar / space array pattern of one one-dimensional barcode.

【0010】そのため、前記従来技術では、1つのバー
/スペースの配列パターンを識別するために、複数行分
の二値データを用いる、という非効率的で、かつ無駄な
処理を行っていることになる。その上、識別処理を実行
する前には通常二値データをメモリにいったん記憶させ
るが、そのメモリも無用な二値データを記憶する容量を
有するものである必要がある。
Therefore, in the above-mentioned conventional technique, inefficient and useless processing of using binary data for a plurality of lines in order to identify one bar / space array pattern is performed. Become. Moreover, binary data is usually stored in a memory before the identification process is executed, and the memory also needs to have a capacity for storing useless binary data.

【0011】そこで、本発明の目的は、上述の技術的課
題を解決し、読取媒体として二次元イメージセンサを用
いる場合、像の結像位置に依存することなく、一次元バ
ーコードを読み取ることができる光学的情報読取装置を
提供することである。また、本発明の他の目的は、多段
型二次元バーコードを効率的に読み取ることができると
ともに、メモリの小容量化を図ることができる光学的情
報読取装置を提供することである。
Therefore, an object of the present invention is to solve the above-mentioned technical problems, and when a two-dimensional image sensor is used as a reading medium, it is possible to read a one-dimensional bar code without depending on the image forming position. It is to provide an optical information reading device that can be used. Another object of the present invention is to provide an optical information reading device capable of efficiently reading a multi-stage two-dimensional bar code and reducing the memory capacity.

【0012】[0012]

【課題を解決するための手段】前記目的を達成するため
の請求項1記載の光学的情報読取装置は、読取面に記録
された複数種類の読取対象を光学的に読み取るための光
学的情報読取装置であって、複数の読取画素が行方向お
よび列方向に二次元的に配列された結像面を備え、この
結像面に結像される像の濃淡に応じた濃淡信号を前記各
読取画素ごとに分担して作成するとともに、この作成さ
れた濃淡信号を順次出力するための二次元イメージセン
サ部と、像を前記二次元イメージセンサ部に備えられて
いる結像面に結像させる結像手段と、前記二次元イメー
ジセンサから出力される濃淡信号を二値化して二値デー
タを作成するための二値化手段と、この二値化手段で作
成された二値データのうち、複数行の二値データをn行
(nは2以上の自然数)間隔で取り込むためのデータ取
込手段と、このデータ取込手段で取り込まれた複数行の
二値データのうち、バー/スペースの配列パターンを表
す行の二値データを判定し、抽出するためのデータ抽出
手段と、このデータ抽出手段で抽出された二値データに
基づいて、一次元バーコード識別処理または多段型二次
元バーコード識別処理を実行し、その識別結果のうち識
別に成功したものを認識するための認識手段とを含むこ
とを特徴とする。
In order to achieve the above object, an optical information reading apparatus according to claim 1 is an optical information reading apparatus for optically reading a plurality of types of reading objects recorded on a reading surface. The apparatus is provided with an image forming plane in which a plurality of read pixels are two-dimensionally arranged in a row direction and a column direction, and a grayscale signal corresponding to the light and shade of an image formed on the image forming plane is read in each of the reading. The two-dimensional image sensor unit for sequentially outputting the created gray-scale signal and the image is formed on the image forming surface provided in the two-dimensional image sensor unit. Image means, binarizing means for binarizing the grayscale signal output from the two-dimensional image sensor to create binary data, and a plurality of binary data created by the binarizing means Binary data of n rows (n is 2 or more (Number) Data fetching means for fetching at intervals, and among the binary data of a plurality of rows fetched by this data fetching means, the binary data of a row representing a bar / space array pattern is judged and extracted. Based on the data extraction means and the binary data extracted by this data extraction means, the one-dimensional barcode identification processing or the multi-stage two-dimensional barcode identification processing is executed, and the identification is successful among the identification results. A recognition means for recognizing an object is included.

【0013】この構成では、二次元イメージセンサの結
像面の全行分に対応する二値データの中からn行ずつ間
隔のあいた複数行の二値データが取り込まれ、この取り
込まれた二値データの中からバー/スペースの配列パタ
ーンを表す二値データが判定され、当該二値データのみ
が抽出される。そして、この抽出された濃淡信号に基づ
いて、一次元バーコード識別処理または多段型二次元バ
ーコード識別処理が実行される。
In this configuration, a plurality of rows of binary data spaced by n rows are fetched from the binary data corresponding to all the rows of the image plane of the two-dimensional image sensor, and the fetched binary data is fetched. Binary data representing a bar / space array pattern is determined from the data, and only the binary data is extracted. Then, the one-dimensional barcode identifying process or the multi-stage two-dimensional barcode identifying process is executed based on the extracted grayscale signal.

【0014】一方、たとえば一次元バーコードに対応す
る像が結像面上のいずれの位置に結像されても、当該結
像位置は、通常、前記n行ずつ間隔のあいた複数行のう
ちいずれかの行に対応する位置となる。したがって、バ
ー/スペースの配列パターンを表す濃淡信号を確実に抽
出できる。そのため、像の結像位置に依存することな
く、一次元バーコードを読み取ることができる。
On the other hand, for example, no matter which position on the image plane the image corresponding to the one-dimensional bar code is formed, the image formation position is usually any one of a plurality of lines spaced by n lines. The position corresponds to that line. Therefore, the grayscale signal representing the bar / space array pattern can be reliably extracted. Therefore, the one-dimensional barcode can be read without depending on the image forming position.

【0015】また、n行ずつ間隔のあいた複数行の二値
データを取り込み、その上バー/スペースの配列パター
ンを表す二値データを抽出し、この抽出された二値デー
タに基づいて、多段型二次元バーコード識別処理を実行
しているので、多段型二次元バーコードを効率的に識別
することができる。また、たとえば識別処理実行前に前
記二値データをメモリに記憶する場合には、そのメモリ
は、n行ずつ間隔のあいた複数行の二値データを記憶で
きる容量のもので十分である。
In addition, a plurality of rows of binary data spaced by n rows are taken in, binary data representing an array pattern of bars / spaces is extracted, and a multistage type is extracted based on the extracted binary data. Since the two-dimensional bar code identification process is executed, the multi-stage two-dimensional bar code can be efficiently identified. Further, for example, when the binary data is stored in the memory before the identification process is executed, the memory is sufficient to have a capacity capable of storing the binary data in a plurality of rows spaced by n rows.

【0016】なお、前記バー/スペースの配列パターン
を表す二値データであるか否かは、たとえばバーコード
の両端にある各バーコード固有の両端データの存在を確
認することによって判定できる。請求項2記載の光学的
情報読取装置は、読取面に記録された複数種類の読取対
象を光学的に読み取るための光学的情報読取装置であっ
て、複数の読取画素が行方向および列方向に二次元的に
配列された結像面を備え、この結像面に結像される像の
濃淡に応じた濃淡信号を前記各読取画素ごとに分担して
作成するとともに、この作成された濃淡信号をインタラ
イン方式で出力するための二次元イメージセンサ部と、
像を前記二次元イメージセンサ部に備えられている結像
面に結像させる結像手段と、前記二次元イメージセンサ
から出力される濃淡信号を二値化して二値データを作成
するための二値化手段と、この二値化手段で二値化され
た二値データのうち、奇数行または偶数行の二値データ
を取り込むためのデータ取込手段と、このデータ取込手
段で取り込まれた二値データのうち、バー/スペースの
配列パターンを表す行の二値データを判定し、抽出する
ためのデータ抽出手段と、このデータ抽出手段で抽出さ
れた二値データに基づいて、一次元バーコード識別処理
または多段型二次元バーコード識別処理を実行し、その
識別結果のうち識別に成功したものを認識するための認
識手段とを含むことを特徴とする。
Whether or not the data is binary data representing the bar / space arrangement pattern can be determined by, for example, confirming the existence of both-end data unique to each barcode at both ends of the barcode. The optical information reading device according to claim 2 is an optical information reading device for optically reading a plurality of types of reading targets recorded on a reading surface, wherein a plurality of reading pixels are arranged in a row direction and a column direction. An image plane is arranged two-dimensionally, and a grayscale signal corresponding to the grayscale of the image formed on the image plane is shared by each of the read pixels, and the grayscale signal is created. A two-dimensional image sensor unit for outputting in an interline system,
An image forming means for forming an image on an image forming surface provided in the two-dimensional image sensor unit, and a binary image forming unit for binarizing a grayscale signal output from the two-dimensional image sensor to create binary data. The binarizing means, the data fetching means for fetching the binary data of the odd-numbered rows or the even-numbered rows of the binary data binarized by the binarizing means, and the data fetching means Of the binary data, the one-dimensional bar is determined based on the data extracting means for determining and extracting the binary data of the row representing the bar / space array pattern, and the binary data extracted by the data extracting means. It is characterized by including a recognition means for executing the code identification processing or the multi-stage two-dimensional bar code identification processing and recognizing the identification result that has been successfully identified.

【0017】この構成では、インタライン方式で濃淡信
号が出力される場合には、その出力される奇数行または
偶数行の濃淡信号に対応する二値データに基づいて、一
次元バーコード識別処理または多段型二次元バーコード
識別処理が実行される。すなわち、前記請求項1記載の
構成におけるnが「2」に設定されている場合と同じ態
様となる。
With this configuration, when the grayscale signal is output by the interline method, the one-dimensional bar code identification processing or the one-dimensional barcode identification processing is performed based on the binary data corresponding to the grayscale signal of the odd-numbered row or even-numbered row that is output. A multi-stage two-dimensional barcode identification process is executed. That is, it is the same mode as the case where n is set to “2” in the configuration according to claim 1.

【0018】したがって、前記請求項1等に記載された
構成と同様に、像の結像位置に依存することなく、一次
元バーコードを読み取ることができる。また、多段型二
次元バーコードを効率的に読み取ることができる。請求
項3記載の光学的情報読取装置は、前記請求項1または
2記載の光学的情報読取装置であって、前記認識手段に
おいて識別に成功したものを認識できたか否かを判別す
るための判別手段と、この判別手段で識別に成功したも
のを認識できなかったと判別された場合、前記結像手段
に、像を前記結像面に新たに結像させるための結像制御
手段と、この結像制御手段の制御により前記結像面に新
たに結像された像に対応する二値データであって、かつ
全行の二値データに基づいて、マトリクス型二次元バー
コード識別処理および文字識別処理を並列に、またはこ
れらのうちいずれか一方を実行し、その識別結果のうち
識別に成功したものを認識するための第2の認識手段と
をさらに含むことを特徴とする。
Therefore, as in the structure described in the first aspect, the one-dimensional bar code can be read without depending on the image forming position. In addition, the multi-stage two-dimensional barcode can be efficiently read. The optical information reading device according to claim 3 is the optical information reading device according to claim 1 or 2, wherein it is determined whether or not the recognition means has succeeded in recognizing a successfully identified object. Means and an image forming control means for newly forming an image on the image forming surface on the image forming means when it is judged that the object which has been successfully identified by the judging means cannot be recognized. Matrix-type two-dimensional bar code identification processing and character identification based on the binary data corresponding to the image newly formed on the image forming surface under the control of the image control means, and the binary data of all rows. The present invention is characterized by further including a second recognition means for performing the processing in parallel or performing one of these, and recognizing one of the identification results that has been successfully identified.

【0019】この構成では、前記一次元バーコード識別
処理または多段型二次元バーコード識別処理を実行した
結果、識別に失敗した場合には、新たに像が結像され、
その結果得られる全行分の二値データに基づいて、マト
リクス型二次元バーコード識別処理および文字識別処理
が並列に、またはこれらのうちいずれか一方が実行され
る。そして、その結果のうち識別に成功したものが認識
される。
With this configuration, when the identification fails as a result of the execution of the one-dimensional barcode identification processing or the multi-stage two-dimensional barcode identification processing, a new image is formed,
Based on the resulting binary data for all lines, the matrix type two-dimensional barcode identification process and the character identification process are executed in parallel or one of them is executed. Then, of the results, the one that has been successfully identified is recognized.

【0020】すなわち、この構成によれば、一次元バー
コードおよび多段型二次元バーコードだけでなく、マト
リクス型二次元バーコードおよび/または文字を単一の
装置で読み取ることができる。請求項4記載の光学的情
報読取装置は、前記請求項1、2または3記載の光学的
情報読取装置であって、前記二次元イメージセンサ部
は、各読取画素で作成される濃淡信号を読出クロックに
応答して順次出力するものであり、前記データ取込手段
で取り込むべき行の濃淡信号を出力させる場合、通常周
期の読出クロックを前記二次元イメージセンサに与え、
前記データ取込手段で取り込むべき行以外の行の濃淡信
号を出力させる場合、前記通常周期よりも短い周期の読
出クロックを前記二次元イメージセンサに与えるための
クロック供給手段をさらに含むことを特徴とする。
That is, according to this configuration, not only the one-dimensional bar code and the multi-stage two-dimensional bar code but also the matrix type two-dimensional bar code and / or the character can be read by a single device. The optical information reading device according to claim 4 is the optical information reading device according to claim 1, 2 or 3, wherein the two-dimensional image sensor unit reads a grayscale signal created by each read pixel. When outputting a grayscale signal of a row to be captured by the data capturing means, the readout clock having a normal cycle is applied to the two-dimensional image sensor,
When the grayscale signal of a row other than the row to be captured by the data capturing means is output, a clock supply means for providing a read clock having a cycle shorter than the normal cycle to the two-dimensional image sensor is further included. To do.

【0021】この構成では、信号取込手段で取り込むべ
き行以外の行の濃淡信号は、取り込むべき行の濃淡信号
よりも高速で読み出される。したがって、不要な濃淡信
号を読み出す時間を節約することができる。請求項5記
載の光学的情報読取装置は、前記請求項1記載の光学的
情報読取装置であって、前記二値化手段で作成された二
値データを行単位で記憶するためのデータ記憶手段をさ
らに含み、前記データ取込手段は、前記データ記憶手段
に保持されている二値データの中からn行ずつ間隔のあ
いた複数行の二値データを読み出すものであり、前記認
識手段において識別に成功したものを認識できたか否か
を判別するための判別手段と、この判別手段で識別に成
功したものを認識できなかったと判別された場合、前記
データ記憶手段に記憶されている全行の二値データを読
み出すための第2のデータ取込手段と、この第2のデー
タ取込手段で読み出された二値データに基づいて、マト
リクス型二次元バーコード識別処理および文字識別処理
を並列に、またはこれらのうちいずれか一方を実行し、
その識別結果のうち識別に成功したものを認識するため
の第2の認識手段とをさらに含むことを特徴とする。
In this structure, the grayscale signals of the rows other than the row to be captured by the signal capturing means are read out at a higher speed than the grayscale signals of the row to be captured. Therefore, it is possible to save the time for reading unnecessary grayscale signals. An optical information reading device according to claim 5 is the optical information reading device according to claim 1, wherein data storage means for storing the binary data created by the binarization means in units of rows. Further, the data fetching means reads out a plurality of rows of binary data with an interval of n rows from the binary data held in the data storage means, and the recognition means identifies the binary data. If it is determined that the successful identification could not be recognized, and if the successful identification could not be recognized, the two of all the rows stored in the data storage means Based on the second data fetching means for reading the value data and the binary data read by the second data fetching means, the matrix type two-dimensional bar code identifying process and the character identifying process are performed in parallel. Or perform either of these,
Second recognition means for recognizing one of the identification results that has been successfully identified is further included.

【0022】この構成では、前記一次元バーコード識別
処理または多段型二次元バーコード識別処理を実行した
結果、識別に失敗した場合には、従前に作成して記憶し
てある全行分の二値データを用いて、マトリクス型二次
元バーコード識別処理および文字識別処理が並列に、ま
たはこれらのうちいずれか一方が実行される。したがっ
て、前記請求項2記載の構成と同様に、一次元バーコー
ドおよび多段型二次元バーコードだけでなく、マトリク
ス型二次元バーコードおよび/または文字を読み取るこ
ともできる。
With this configuration, if the identification fails as a result of the execution of the one-dimensional bar code identification process or the multi-stage two-dimensional bar code identification process, the two lines of all the lines previously created and stored are stored. Using the value data, the matrix type two-dimensional barcode identification process and the character identification process are executed in parallel or one of them is executed. Therefore, similar to the configuration according to the second aspect, not only the one-dimensional barcode and the multi-step two-dimensional barcode but also the matrix two-dimensional barcode and / or the character can be read.

【0023】しかも、従前に作成して記憶してある二値
データがあるので、請求項2記載の構成のように、新た
に像を結像させる必要はない。したがって、前記請求項
2記載の構成に比べて処理を簡単にすることができる。
Moreover, since there is binary data that has been created and stored before, it is not necessary to form a new image as in the configuration of claim 2. Therefore, the processing can be simplified as compared with the configuration according to the second aspect.

【0024】[0024]

【発明の実施の形態】以下では、本発明の実施の形態
を、添付図面を参照して詳細に説明する。図1は、本発
明の第1実施形態の光学的情報読取装置の電気的構成を
示す概略ブロック図である。この光学的情報読取装置
は、読取面1に記録された読取対象である一次元バーコ
ードまたは多段型二次元バーコード(以下単に「バーコ
ード」という)2を光学的に読み取るためのもので、ス
キャナ10および本体処理部20を備えている。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 1 is a schematic block diagram showing the electrical configuration of the optical information reading device of the first embodiment of the present invention. This optical information reader is for optically reading a one-dimensional bar code or a multi-stage two-dimensional bar code (hereinafter simply referred to as “bar code”) 2 which is a reading target recorded on the reading surface 1. The scanner 10 and the main body processing unit 20 are provided.

【0025】図2は、バーコード2の例を示す図であ
る。一次元バーコードは、図2(a) に示すように、バー
およびスペースが一次元的に配列されたものである。多
段型二次元バーコードは、図2(b) に示すように、前記
一次元バーコードが列方向Rに複数段(図では6段)配
列されたものである。一次元バーコードおよび多段型二
次元バーコードの両端部分は、それぞれ固有の配列パタ
ーンでバー/スペースが配列されている。
FIG. 2 is a diagram showing an example of the bar code 2. The one-dimensional barcode is a one-dimensional array of bars and spaces, as shown in FIG. 2 (a). As shown in FIG. 2 (b), the multi-stage two-dimensional bar code has the one-dimensional bar code arranged in a plurality of rows (6 rows in the figure) in the column direction R. Both ends of the one-dimensional barcode and the multi-stage two-dimensional barcode have bars / spaces arranged in a unique arrangement pattern.

【0026】図3は、前記スキャナ10の外観構成を示
す図である。このスキャナ10は、ユーザが手で持つこ
とのできるサイズおよび形状を有するもので、開口部1
0aが形成されている。開口部10aの縦縁部10b
は、前記一次元バーコードのバーよりも長く形成されて
いる。開口部10aの縦縁部10bが長い理由は、この
スキャナ10が後述する二次元イメージセンサ部を内蔵
しているためである。
FIG. 3 is a diagram showing an external configuration of the scanner 10. The scanner 10 has a size and shape that a user can hold by hand, and the opening 1
0a is formed. Vertical edge 10b of the opening 10a
Is longer than the bar of the one-dimensional bar code. The reason why the vertical edge portion 10b of the opening portion 10a is long is that the scanner 10 has a two-dimensional image sensor portion described later built therein.

【0027】図1に戻って、スキャナ10は、スキャナ
10の制御中枢として機能するスキャナ制御部11を備
えている。スキャナ10は、また、光を照射するための
光源12を備えている。光源12には、発光ダイオード
(LED)や半導体レーザ等が適用可能である。光源1
2の点灯は、前記スキャナ制御部11によって制御され
る。
Returning to FIG. 1, the scanner 10 includes a scanner control section 11 that functions as a control center of the scanner 10. The scanner 10 also includes a light source 12 for emitting light. A light emitting diode (LED), a semiconductor laser, or the like can be applied to the light source 12. Light source 1
Lighting of No. 2 is controlled by the scanner control unit 11.

【0028】バーコード2を読み取る場合には、スキャ
ナ10の開口部10a(図3参照)を読取面1に当て、
この状態で光源12からの光をバーコード2に向けて照
射させる。その結果、バーコード2の濃淡に応じた光が
乱反射する。この乱反射した光は、レンズ系13を介し
て、二次元イメージセンサ部14に入射する。このよう
に、この実施形態では、前記スキャナ制御部11、光源
12およびレンズ系13が結像手段として機能する。
When reading the bar code 2, the opening 10a (see FIG. 3) of the scanner 10 is applied to the reading surface 1,
In this state, the light from the light source 12 is emitted toward the barcode 2. As a result, light corresponding to the shade of the barcode 2 is diffusely reflected. The irregularly reflected light enters the two-dimensional image sensor unit 14 via the lens system 13. As described above, in this embodiment, the scanner control unit 11, the light source 12, and the lens system 13 function as an image forming unit.

【0029】二次元イメージセンサ部14は、たとえば
CCD(電荷結合素子)イメージセンサで構成されたも
ので、バーコード2の全体の像を結像できる視野を有す
るものである。二次元イメージセンサ部14には、結像
面14aが備えられている。前記レンズ系13b等を介
して入射した反射光は、この結像面14aで結像され
る。結像面14aは、図4に示すように、行方向Gおよ
び列方向Rに二次元的に配列された複数の読取画素Pe
で構成されたもので、略正方形状のものである。読取画
素Peは、たとえば縦10( μm) ×横10( μm) のサイ
ズを有する略正方形状のもので、フォトトランジスタ等
の光電変換素子で構成されている。
The two-dimensional image sensor section 14 is composed of, for example, a CCD (charge coupled device) image sensor, and has a visual field capable of forming an image of the entire bar code 2. The two-dimensional image sensor unit 14 is provided with an image forming surface 14a. The reflected light that has entered through the lens system 13b or the like is imaged on the image forming surface 14a. As shown in FIG. 4, the image plane 14a has a plurality of read pixels Pe arranged two-dimensionally in the row direction G and the column direction R.
It has a substantially square shape. The reading pixel Pe is, for example, of a substantially square shape having a size of 10 (μm) in length × 10 (μm) in width, and is composed of a photoelectric conversion element such as a phototransistor.

【0030】二次元イメージセンサ部14の結像面14
aにバーコード2に対応する像が結像されると、各読取
画素Peでは、当該読取画素Pe上に結像された像の濃
淡に応じた電気信号(以下「濃淡信号」という)が作成
される。具体的には、たとえばバーに対応する像が結像
された場合には相対的に低いレベルの濃淡信号が作成さ
れ、スペースに対応する像が結像された場合には相対的
に高いレベルの濃淡信号が作成される。また、バーのエ
ッジに対応する像が結像される場合には、前記黒い像の
読取画素Peに対する面積占有率に比例したレベルの濃
淡信号が作成される。
Image plane 14 of two-dimensional image sensor unit 14
When an image corresponding to the barcode 2 is formed on a, an electric signal (hereinafter referred to as a “gray level signal”) corresponding to the gray level of the image formed on the read pixel Pe is created at each read pixel Pe. To be done. Specifically, for example, when an image corresponding to a bar is formed, a gray level signal of a relatively low level is generated, and when an image corresponding to a space is formed, a gray level signal of a relatively high level is formed. A gray signal is created. Further, when an image corresponding to the edge of the bar is formed, a gray level signal having a level proportional to the area occupancy of the black image with respect to the read pixel Pe is created.

【0031】読取画素Peで作成される濃淡信号は、ス
キャナ制御部11から出力される一定周期の読出クロッ
クに応答して順次出力される。より詳述すると、スキャ
ナ制御部11からは、読出クロックとして、垂直転送ク
ロックおよび水平転送クロックが与えられる。垂直転送
クロックとは、読出対象の行番号の変更を指示するため
のクロックであり、水平転送クロックとは、読出対象の
列番号の変更を指示するためのクロックである。垂直転
送クロックは、行の末尾の列番号を指示する水平転送ク
ロックが出力されたことに応答して出力される。
The grayscale signals produced by the read pixels Pe are sequentially output in response to the read clock of a constant cycle output from the scanner control section 11. More specifically, the scanner controller 11 supplies a vertical transfer clock and a horizontal transfer clock as the read clocks. The vertical transfer clock is a clock for instructing to change the row number to be read, and the horizontal transfer clock is a clock for instructing to change the column number to be read. The vertical transfer clock is output in response to the output of the horizontal transfer clock indicating the column number at the end of the row.

【0032】二次元イメージセンサ部14は、前記水平
転送クロックが与えられることに応答して、同一行上の
読取画素Peで作成された濃淡信号を行方向Gに向かっ
て順次出力し、前記垂直転送クロックが与えられたこと
に応答して、出力対象の行を次の行に移行させ、前述と
同様の出力処理を繰り返す。二次元イメージセンサ部1
4から出力される濃淡信号は、二値化部15に与えられ
る。
In response to the horizontal transfer clock being applied, the two-dimensional image sensor unit 14 sequentially outputs the grayscale signal created by the read pixels Pe on the same row in the row direction G, and then the vertical direction. In response to the transfer clock being applied, the row to be output is shifted to the next row, and the same output processing as described above is repeated. Two-dimensional image sensor unit 1
The grayscale signal output from 4 is supplied to the binarization unit 15.

【0033】二値化部15では、前記与えられた濃淡信
号が二値化される。その結果、二値データが作成され
る。作成された二値データは、取込部16に与えられ
る。取込部16では、前記与えられる二値データの中か
ら特定の二値データが取り込まれる。取込部16におけ
る二値データの取込みは、スキャナ制御部11によって
制御される。
The binarization unit 15 binarizes the given grayscale signal. As a result, binary data is created. The created binary data is provided to the capturing unit 16. The capture unit 16 captures specific binary data from the given binary data. The capture of binary data in the capture unit 16 is controlled by the scanner control unit 11.

【0034】スキャナ制御部11は、前記二次元イメー
ジセンサ部14に与える垂直転送クロックをカウント
し、このカウント結果に基づいて、取込許容信号を取込
部16に与える。具体的には、スキャナ制御部11は、
n行(たとえばn=4)ずつ間隔があくタイミングで取
込許容信号を与える。取込部16は、前記取込許容信号
が与えられると、これに応答して二値データを取り込
む。その結果、n行ごとに複数行の二値データが取り込
まれることになる。すなわち、図5に示すように、n行
ずつ間隔のあいた複数行L1 ,Ln+1 ,L2n+1,・・・
の二値データが取り込まれる。取り込まれた二値データ
はメモリ17に与えられ、行単位で保持される。その
後、保持された二値データは、所定のタイミングで、本
体処理部20に与えられる。
The scanner control section 11 counts the vertical transfer clock given to the two-dimensional image sensor section 14, and gives a fetch permission signal to the fetch section 16 based on the count result. Specifically, the scanner control unit 11
The take-in permission signal is given at intervals of n rows (for example, n = 4). When the capturing permission signal is given, the capturing unit 16 captures the binary data in response to this. As a result, a plurality of rows of binary data are captured every n rows. That is, as shown in FIG. 5, a plurality of rows L 1 , L n + 1 , L 2n + 1 , ...
The binary data of is captured. The fetched binary data is given to the memory 17 and held in row units. After that, the held binary data is given to the main body processing unit 20 at a predetermined timing.

【0035】本体処理部20には、バーコード識別部2
1が備えられている。バーコード識別部21は、まず、
前記与えられた複数行の二値データの中から、バー/ス
ペースの配列パターンを表す行の二値データを抽出す
る。具体的には、前記二値データの中からバー/スペー
スの配列パターンの両端部分を表す二値データ(以下
「両端データ」という)を判定し、その結果判定された
両端データを含む行の二値データを抽出する。
The main body processing section 20 includes a bar code identifying section 2
1 is provided. First, the barcode identification unit 21
Binary data representing a row / space array pattern is extracted from the given plurality of rows of binary data. Specifically, binary data (hereinafter referred to as “both end data”) representing both end portions of the bar / space array pattern is determined from the above binary data, and the binary data of the row including the determined both end data is determined. Extract value data.

【0036】ここで、この実施形態のスキャナ10の開
口部10a(図3参照)は、前述のように、縦縁部10
bが比較的長い。したがって、たとえば一次元バーコー
ドを読み取る場合、当該一次元バーコードに対応する像
は、結像面14a上のすべての行に対応する位置にわた
って結像されるのではなく、一部の行に対応する位置に
結像される場合がある。
Here, the opening 10a (see FIG. 3) of the scanner 10 of this embodiment has the vertical edge 10 as described above.
b is relatively long. Therefore, for example, when reading a one-dimensional bar code, the image corresponding to the one-dimensional bar code does not form an image over the positions corresponding to all the rows on the imaging surface 14a, but corresponds to a part of the rows. An image may be formed at a position where

【0037】一方、この実施形態では、n行ずつ間隔の
あいた複数行の二値データを取り込み、この取り込まれ
た二値データの中から両端データを含む行の二値データ
を判定して抽出するようにしている。したがって、前記
像の結像位置は、通常、前記取り込まれた複数行のうち
いずれかに対応する。そのため、両端データを含む行の
二値データを確実に抽出することができる。
On the other hand, in this embodiment, a plurality of rows of binary data spaced by n rows are fetched, and the binary data of the rows including both end data are judged and extracted from the fetched binary data. I am trying. Therefore, the image formation position of the image usually corresponds to any one of the captured plurality of rows. Therefore, it is possible to reliably extract the binary data of the row including the data at both ends.

【0038】また、前記判定対象である両端データは、
前述したように、一次元バーコードまたは多段型二次元
バーコードに固有のものである。したがって、両端デー
タの判定と同時に、当該二値データが一次元バーコード
または多段型二次元バーコードのいずれに対応するもの
なのかを識別することができる。両端データを含む行の
二値データを抽出した後、当該両端データが一次元バー
コードに対応している場合には、前記抽出された二値デ
ータの中から任意の1行の二値データを抽出し、この抽
出された二値データに基づいて、バー/スペースの配列
パターンを識別する。この識別結果は、一次元バーコー
ド認識部22aにのみ与えられる。
Further, the both-end data to be judged is
As described above, it is unique to the one-dimensional barcode or the multi-stage two-dimensional barcode. Therefore, it is possible to determine whether the binary data corresponds to the one-dimensional barcode or the multi-stage two-dimensional barcode simultaneously with the determination of the both-end data. After extracting the binary data of the row including the both-end data, if the both-end data corresponds to the one-dimensional barcode, select any one row of the binary data from the extracted binary data. The bar / space arrangement pattern is identified based on the extracted binary data. This identification result is given only to the one-dimensional barcode recognition unit 22a.

【0039】一方、前記両端データが多段型二次元バー
コードに対応している場合には、前記抽出された二値デ
ータに基づいて、各段のバー/スペースの配列パターン
を識別する。この識別結果は、多段型二次元バーコード
認識部22bにのみ与えられる。各認識部22a,22
bでは、与えられた識別結果に基づいて、それぞれ、一
次元バーコード認識アルゴリズムまたは多段型二次元バ
ーコード認識アルゴリズムに従い、前記与えられた識別
結果であるバー/スペースの配列パターンがいずれの一
次元バーコードまたは多段型二次元バーコードに対応す
るかが認識される。この認識結果は、出力判定部23に
与えられる。
On the other hand, when the both-end data corresponds to the multi-stage two-dimensional bar code, the bar / space arrangement pattern of each stage is identified based on the extracted binary data. This identification result is given only to the multistage two-dimensional barcode recognition unit 22b. Each recognition unit 22a, 22
In b, according to the one-dimensional barcode recognition algorithm or the multi-stage two-dimensional barcode recognition algorithm, respectively, based on the given identification result, the one-dimensional array pattern of the bar / space which is the given identification result is obtained. It is recognized whether it corresponds to a barcode or a multi-stage two-dimensional barcode. The recognition result is given to the output determination unit 23.

【0040】出力判定部23は、前記各認識部22a,
22bから与えられた認識結果に基づき、いずれの認識
結果が成功しているかを判定する。このとき、認識結果
はいずれか一方の認識部22a,22bからのみ出力さ
れるので、当該出力された認識結果を認識に成功したも
のと判定する。その後、この認識結果を図外の上位コン
ピュータ等に送信する。これにより、読取面1に記録さ
れたバーコード2の読取りが達成される。
The output judging section 23 includes the recognizing sections 22a,
Based on the recognition result given from 22b, it is determined which recognition result is successful. At this time, since the recognition result is output from only one of the recognition units 22a and 22b, it is determined that the output recognition result has been successfully recognized. After that, the recognition result is transmitted to a host computer or the like (not shown). Thereby, the reading of the barcode 2 recorded on the reading surface 1 is achieved.

【0041】以上のようにこの第1実施形態の光学的情
報読取装置によれば、n行ずつ間隔のあいた複数行の二
値データを取り込み、この取り込まれた二値データの中
からバー/スペースの配列パターンを含む行の二値デー
タを抽出しているので、像の結像位置に依存することな
く、バー/スペースの配列パターンを含む行の二値デー
タを確実に抽出することができる。したがって、像の結
像位置に依存することなく、読取面1に記録された一次
元バーコードを正確に読み取ることができる。
As described above, according to the optical information reading apparatus of the first embodiment, a plurality of rows of binary data spaced by n rows are fetched, and the bar / space is selected from the fetched binary data. Since the binary data of the row including the array pattern is extracted, the binary data of the row including the bar / space array pattern can be reliably extracted without depending on the image forming position. Therefore, the one-dimensional barcode recorded on the reading surface 1 can be accurately read without depending on the image forming position.

【0042】また、n行ずつ間隔のあいた二値データに
基づいて多段型二次元バーコード識別処理を実行してい
るので、全行分の二値データに基づいて識別処理を行っ
ていた従来技術に比べて、多段型二次元バーコードを効
率的に読み取ることができる。しかも、二値データを記
憶するメモリ17は、n行ずつ間隔のあいた二値データ
を記憶できる容量であれば十分なので、メモリの小容量
化を図ることができる。
Further, since the multi-stage type two-dimensional bar code identification processing is executed based on the binary data having an interval of n rows, the identification processing is performed based on the binary data of all rows. Compared with, the multi-stage two-dimensional barcode can be efficiently read. Moreover, the memory 17 for storing the binary data is sufficient if it has a capacity for storing the binary data with intervals of n rows, so that the capacity of the memory can be reduced.

【0043】図6は、本発明の第2実施形態の光学的情
報読取装置の一部であるスキャナ制御部の内部構成を示
すブロック図である。以下の説明では、前記図1も必要
に応じて参照する。前記第1実施形態では、二次元イメ
ージセンサ部14で作成された濃淡信号の出力方式とし
ていわゆるノンインタライン方式を採用しているのに対
して、この第2実施形態では、二次元イメージセンサ部
14で作成された濃淡信号の出力方式としていわゆるイ
ンタライン方式を採用している、という点が相違する。
FIG. 6 is a block diagram showing the internal arrangement of the scanner control section which is a part of the optical information reading apparatus according to the second embodiment of the present invention. In the following description, FIG. 1 will be referred to as necessary. In the first embodiment, the so-called non-interline method is adopted as the output method of the grayscale signal created by the two-dimensional image sensor section 14, whereas in the second embodiment, the two-dimensional image sensor section is used. The difference is that the so-called interline method is adopted as the output method of the grayscale signal created in 14.

【0044】すなわち、この第2実施形態では、すべて
の奇数行(または偶数行)の濃淡信号を出力した後、偶
数行(または奇数行)の濃淡信号が出力される。この出
力切換えは、スキャナ制御部11によって制御される。
次に、図6を参照して、この第2実施形態のスキャナ制
御部11について説明する。
That is, in the second embodiment, after the grayscale signals of all odd rows (or even rows) are output, the grayscale signals of even rows (or odd rows) are output. This output switching is controlled by the scanner control unit 11.
Next, the scanner control unit 11 of the second embodiment will be described with reference to FIG.

【0045】このスキャナ制御部11には、奇数行用垂
直転送クロック生成部11z、偶数行用垂直転送クロッ
ク生成部11yおよびクロック選択部11xが備えられ
ている。各クロック生成部11z,11yは、それぞ
れ、偶数行および奇数行の濃淡信号を読み出す際に出力
される固有の垂直転送クロックを生成するためのもので
ある。各クロック生成部11z,11yで生成された垂
直転送クロックは、クロック選択部11xに与えられ
る。
The scanner controller 11 is provided with a vertical transfer clock generator 11z for odd rows, a vertical transfer clock generator 11y for even rows, and a clock selector 11x. Each of the clock generation units 11z and 11y is for generating a unique vertical transfer clock that is output when reading the grayscale signals of the even-numbered rows and the odd-numbered rows. The vertical transfer clocks generated by the clock generation units 11z and 11y are given to the clock selection unit 11x.

【0046】クロック選択部11xには、偶数行および
奇数行のいずれの濃淡信号を最初に出力させるかを示す
データが設定されている。クロック選択部11xでは、
前記クロック生成部11z,11yから垂直転送クロッ
クが与えられると、前記設定されているデータに基づい
て、いずれかの垂直転送クロックが選択される。選択さ
れた垂直転送クロックは、二次元イメージセンサ部14
(図1参照)に与えられる。
In the clock selection section 11x, data indicating which grayscale signal of the even-numbered row or the odd-numbered row is to be output first is set. In the clock selection unit 11x,
When the vertical transfer clock is given from the clock generators 11z and 11y, one of the vertical transfer clocks is selected based on the set data. The selected vertical transfer clock corresponds to the two-dimensional image sensor unit 14
(See FIG. 1).

【0047】二次元イメージセンサ部14は、前記垂直
転送クロックが偶数行に固有のクロックである場合に
は、偶数行の濃淡信号のみを順に出力する。反対に、前
記垂直転送クロックが奇数行に固有のクロックである場
合には、奇数行の濃淡信号のみを順に出力する。ここ
で、奇数行または偶数行の濃淡信号のみを順次出力して
いるので、取込部16(図1参照)に二値データが与え
られるときには、2行ずつ間隔を開けた二値データが与
えられることになる。すなわち、前記n=2が設定され
ている場合と同じ態様となる。
When the vertical transfer clock is a clock unique to even rows, the two-dimensional image sensor section 14 sequentially outputs only the grayscale signals of even rows. On the contrary, when the vertical transfer clock is a clock unique to the odd rows, only the grayscale signals of the odd rows are sequentially output. Here, since only the grayscale signals of the odd-numbered rows or the even-numbered rows are sequentially output, when the binary data is given to the acquisition unit 16 (see FIG. 1), the binary data with an interval of two rows is given. Will be done. That is, the same mode as when n = 2 is set.

【0048】したがって、スキャナ制御部11は、前記
奇数行または偶数行の濃淡信号を出力している間のみ、
取込許容信号を出力するようにすればよい。また、奇数
行または偶数行の濃淡信号の中からさらにn行ずつ間隔
をあけて二値データが取り込まれるように、取込許容信
号を出力するようにしてもよい。以上のようにこの第2
実施形態の光学的情報読取装置によっても、前記第1実
施形態と同様に、像の結像位置に依存することなく、一
次元バーコードを読み取ることができる。また、多段型
二次元バーコードを効率的に読み取ることができるとと
もに、メモリの小容量化を図ることができる。
Therefore, the scanner control section 11 is only able to output the grayscale signals of the odd-numbered rows or even-numbered rows.
It suffices to output a capture permission signal. Further, the capture permission signal may be output so that the binary data is captured at intervals of n rows from the grayscale signals of the odd-numbered rows or even-numbered rows. This second as above
The optical information reading device of the embodiment can also read the one-dimensional barcode without depending on the image forming position, as in the first embodiment. In addition, the multi-stage two-dimensional bar code can be efficiently read, and the capacity of the memory can be reduced.

【0049】図7は、本発明の第3実施形態の光学的情
報読取装置の電気的構成を示すブロック図である。図7
において、前記図1と同じ機能部分については同一の参
照符号を使用する。前記第1実施形態または第2実施形
態では、一次元バーコードおよび多段型二次元バーコー
ドを読取対象としてるのに対して、この第3実施形態で
は、前記一次元バーコードおよび多段型二次元バーコー
ドに加えて、マトリクス型二次元バーコードおよび文字
を読取対象としている、という点が相違する。したがっ
て、以下では、「バーコード2」を「情報2」と呼ぶこ
とにする。
FIG. 7 is a block diagram showing the electrical construction of the optical information reading apparatus of the third embodiment of the present invention. FIG.
In FIG. 1, the same reference numerals are used for the same functional parts as in FIG. In the first embodiment or the second embodiment, the one-dimensional barcode and the multi-stage two-dimensional barcode are targeted for reading, whereas in the third embodiment, the one-dimensional barcode and the multi-stage two-dimensional barcode are read. In addition to the barcode, the matrix type two-dimensional barcode and the character are different from each other in that they are read. Therefore, in the following, "bar code 2" will be referred to as "information 2".

【0050】図8は、前記マトリクス型二次元バーコー
ドを示す図である。マトリクス型二次元バーコードは、
白黒のます目状のもので、白黒の配列パターンによって
情報を表現している。図7に戻って、この第3実施形態
では、マトリクス型二次元バーコードおよび文字も読取
対象としているのに伴い、本体処理部20には、さら
に、マトリクス型二次元バーコード識別部24、マトリ
クス型二次元バーコード認識部25、文字識別部26、
文字認識部27、および全体制御部28が備えられてい
る。全体制御部28は、本体処理部20の制御中枢とし
て機能するものである。この全体制御部28は、また、
スキャナ10に備えられているスキャナ制御部11の動
作も制御できるようにされている。
FIG. 8 is a diagram showing the matrix type two-dimensional bar code. Matrix type two-dimensional barcode,
It is a black and white grid and expresses information by a black and white array pattern. Returning to FIG. 7, in the third embodiment, the matrix type two-dimensional barcode and the characters are also read, so that the main body processing unit 20 further includes the matrix type two-dimensional barcode identifying unit 24 and the matrix. Type two-dimensional barcode recognition unit 25, character identification unit 26,
The character recognition unit 27 and the overall control unit 28 are provided. The overall control unit 28 functions as a control center of the main body processing unit 20. The overall control unit 28 also
The operation of the scanner control unit 11 provided in the scanner 10 can also be controlled.

【0051】この構成において、ユーザによって情報2
の読取りが指示されると、全体制御部28は、スキャナ
制御部11に光源駆動指示信号を与えるとともに、取込
指示信号を与える。スキャナ制御部11は、前記光源駆
動指示信号が与えられたことに応答して光源12を点灯
させる。その結果、読取面1に記録された情報2に光が
照射され、前記情報2に対応する像が結像面14aに結
像される。そして、前記像に対応する濃淡信号が出力さ
れ、この出力された濃淡信号が二値データに変換され
る。
In this configuration, the information 2 is set by the user.
When the instruction to read is given, the overall control unit 28 gives the scanner control unit 11 a light source drive instruction signal and an acquisition instruction signal. The scanner controller 11 turns on the light source 12 in response to the application of the light source drive instruction signal. As a result, the information 2 recorded on the reading surface 1 is irradiated with light, and an image corresponding to the information 2 is formed on the image forming surface 14a. Then, a grayscale signal corresponding to the image is output, and the output grayscale signal is converted into binary data.

【0052】スキャナ制御部11は、また、前記取込指
示信号が与えられたことに応答して取込部16に取込許
容信号を与える。ここで、スキャナ制御部11は、二次
元イメージセンサ部14がノンインタライン方式によっ
て濃淡信号を出力するものである場合には、前記変換さ
れた二値データの中からn行ずつ間隔のあいた複数行の
二値データが取り込まれるように、取込部16に取込許
容信号を与える。
The scanner control section 11 also gives an acceptance permission signal to the acceptance section 16 in response to the acceptance instruction signal. Here, when the two-dimensional image sensor unit 14 outputs a grayscale signal by the non-interline method, the scanner control unit 11 includes a plurality of n-row-spaced data from the converted binary data. A capture permission signal is given to the capture unit 16 so that the binary data of the row is captured.

【0053】一方、二次元イメージセンサ部14がイン
タライン方式によって濃淡信号を出力するものである場
合には、すでに2行ずつ間隔のあいた二値データが与え
られるので、二値データが与えられている間中、取込許
容信号を与える。あるいは、2行ずつ間隔のあいた二値
データの中からさらにn行ずつ間隔のあいた二値データ
が取り込まれるように、取込部16に取込許容信号を与
える。
On the other hand, when the two-dimensional image sensor unit 14 outputs the grayscale signal by the interline method, since the binary data having the intervals of two rows is already given, the binary data is given. It gives a capture acceptance signal during the whole period. Alternatively, a take-in permission signal is given to the taking-in section 16 so that the binary data having an interval of n rows can be taken in from the binary data having an interval of two rows.

【0054】取込部16によって取り込まれた二値デー
タは、メモリ17でいったん保持された後、本体処理部
20に与えられる。全体制御部28は、また、ユーザに
よる読取指示に応答して、バーコード識別部21に実行
許容信号を与えるとともに、マトリクス型二次元バーコ
ード識別部24および文字識別部26に実行禁止信号を
与える。その結果、バーコード識別部21においての
み、前記与えられた二値データに基づいて、前記第1実
施形態と同様に、両端データを含む二値データの抽出等
の識別処理が実行される。そして、この識別結果に応じ
て、一次元バーコード認識部22aまたは多段型二次元
バーコード認識部22bにおいて認識処理が実行され
る。
The binary data fetched by the fetching section 16 is once held in the memory 17 and then given to the main body processing section 20. The overall control unit 28 also gives an execution permission signal to the barcode identification unit 21 and gives an execution prohibition signal to the matrix type two-dimensional barcode identification unit 24 and the character identification unit 26 in response to the reading instruction from the user. . As a result, only in the barcode identifying section 21, an identification process such as extraction of binary data including both-end data is executed based on the given binary data, as in the first embodiment. Then, according to the identification result, the recognition processing is executed in the one-dimensional barcode recognition unit 22a or the multi-stage two-dimensional barcode recognition unit 22b.

【0055】ここで、バーコード識別部21において両
端データを含む二値データを抽出できない場合、あるい
は一次元バーコード認識部22aまたは多段型二次元バ
ーコード認識部22bにおいて一次元バーコードまたは
多段型二次元バーコードを認識できない場合がある。こ
のような場合、結像面14aに結像された像に対応する
情報2は、マトリクス型二次元バーコードまたは文字で
ある可能性がある。
Here, when the binary data including both-ends data cannot be extracted by the barcode identification unit 21, or the one-dimensional barcode or the multiple-stage type is detected by the one-dimensional barcode recognition unit 22a or the multi-stage two-dimensional barcode recognition unit 22b. The two-dimensional barcode may not be recognized. In such a case, the information 2 corresponding to the image formed on the image forming surface 14a may be a matrix type two-dimensional barcode or a character.

【0056】そこで、この第3実施形態では、前述のよ
うな場合には、バーコード識別部21、一次元バーコー
ド認識部22aまたは多段型二次元バーコード認識部2
2bから、識別不能または認識不能を示す信号(以下
「認識不能信号」という)を全体制御部28に与えるこ
ととしている。全体制御部28は、前記認識不能信号が
与えられると、これに応答して、スキャナ制御部11に
光源駆動指示信号および取込禁止信号を与える。また、
全体制御部28は、バーコード識別部21に実行禁止信
号を与えるとともに、マトリクス型二次元バーコード識
別部24および文字識別部26に実行許容信号を与え
る。
Therefore, in the third embodiment, in the above-mentioned case, the bar code identifying section 21, the one-dimensional bar code recognizing section 22a or the multi-stage two-dimensional bar code recognizing section 2 is used.
From 2b, a signal indicating unrecognizable or unrecognizable (hereinafter referred to as "unrecognizable signal") is given to the overall control unit 28. When the unrecognizable signal is given, the overall control section 28 responds to this by giving the scanner control section 11 a light source drive instruction signal and a capture prohibition signal. Also,
The overall control unit 28 gives an execution prohibition signal to the barcode identification unit 21, and also gives an execution permission signal to the matrix type two-dimensional barcode identification unit 24 and the character identification unit 26.

【0057】スキャナ制御部11は、前記光源駆動指示
信号が与えられたことに応答して再度光源12を点灯さ
せる。これにより、新たな像が結像面14aに結像さ
れ、二値化された後、取込部16に与えられる。一方、
スキャナ制御部11には、取込禁止信号が与えられてい
るので、取込部16にはスキャナ制御部11からの取込
許容信号は与えられない。その結果、全行分の二値デー
タがメモリ17に保持され、本体処理部20に与えられ
る。
The scanner controller 11 turns on the light source 12 again in response to the application of the light source drive instruction signal. As a result, a new image is formed on the image forming surface 14a, binarized, and then provided to the capturing unit 16. on the other hand,
Since the scanner control unit 11 is supplied with the capture prohibition signal, the capture unit 16 is not supplied with the capture permission signal from the scanner control unit 11. As a result, the binary data for all rows are held in the memory 17 and given to the main body processing unit 20.

【0058】一方、本体処理部20では、前述のよう
に、バーコード識別部21に実行禁止信号が与えられて
いるとともに、マトリクス型二次元バーコード識別部2
4および文字識別部26に実行許容信号が与えられてい
る。したがって、バーコード識別部21における識別処
理は実行されずに、マトリクス型二次元バーコード識別
部24および文字認識部26において、前記全行分の二
値データに基づいて、マトリクス型二次元バーコード識
別処理および文字識別処理がそれぞれ並列に実行され
る。
On the other hand, in the main body processing section 20, as described above, the execution prohibition signal is given to the barcode identifying section 21 and the matrix type two-dimensional barcode identifying section 2 is provided.
4 and the character identification unit 26 are provided with the execution permission signal. Therefore, the identification process in the barcode identification unit 21 is not executed, and in the matrix type two-dimensional barcode identification unit 24 and the character recognition unit 26, the matrix type two-dimensional barcode is generated based on the binary data of all the lines. The identification process and the character identification process are executed in parallel.

【0059】その後、マトリクス型二次元バーコード認
識部25および文字認識部27において、マトリクス型
二次元バーコード認識アルゴリズムおよび文字認識アル
ゴリズムに従い、マトリクス型二次元バーコード認識処
理および文字認識処理がそれぞれ並列に実行される。な
お、マトリクス型二次元バーコード識別部24および文
字識別部26における識別処理、ならびにマトリクス型
二次元バーコード認識部25および文字認識部27にお
ける認識処理は従来公知なので、その詳細な説明は省略
する。
Thereafter, in the matrix type two-dimensional bar code recognition section 25 and the character recognition section 27, the matrix type two-dimensional bar code recognition processing and the character recognition processing are performed in parallel in accordance with the matrix type two-dimensional bar code recognition algorithm and the character recognition algorithm. To be executed. The identification processing in the matrix type two-dimensional bar code identifying section 24 and the character identifying section 26, and the recognition processing in the matrix type two-dimensional bar code recognizing section 25 and the character recognizing section 27 are conventionally known, and therefore detailed description thereof is omitted. .

【0060】以上のようにこの第3実施形態の光学的情
報読取装置によれば、n行ずつ間隔のあいた複数行の二
値データを取り込み、この取り込まれた複数行の二値デ
ータ中からバー/スペースの配列パターンを含む行の二
値データを抽出し、識別処理を実行しているので、前記
第1実施形態と同様に、像の結像位置に依存することな
く、一次元バーコードまたは多段型二次元バーコードを
読み取ることができる。
As described above, according to the optical information reading apparatus of the third embodiment, a plurality of rows of binary data spaced by n rows are fetched, and a bar is read from the fetched plurality of rows of binary data. Since the binary data of the row including the / space array pattern is extracted and the identification processing is executed, the one-dimensional barcode or the one-dimensional barcode can be obtained without depending on the image forming position, as in the first embodiment. Can read multi-stage two-dimensional barcodes.

【0061】また、認識速度が相対的に速く、かつ認識
処理が相対的に容易な一次元バーコードまたは多段型二
次元バーコードに対応する認識処理を先に実行し、その
後に認識速度が相対的に遅く、かつ認識処理が相対的に
困難なマトリクス型二次元バーコードまたは文字に対応
する認識処理を実行しているので、全体としての処理速
度を損なうことはない。そのため、使い勝手を悪くする
ことはない。
Further, the recognition process corresponding to the one-dimensional bar code or the multi-stage two-dimensional bar code whose recognition speed is relatively fast and whose recognition process is relatively easy is executed first, and then the recognition speed is relatively high. Since the recognition processing corresponding to the matrix type two-dimensional bar code or the character that is relatively slow and the recognition processing is relatively difficult is executed, the processing speed as a whole is not impaired. Therefore, it is not inconvenient to use.

【0062】なお、この第3実施形態では、マトリクス
型二次元バーコード識別部24および文字識別部26の
両方に実行許容信号を与え、各識別部24,26におい
て並列に各処理を実行しているが、たとえばマトリクス
型二次元バーコード識別部24および文字識別部26の
うちいずれか一方にのみ実行許容信号を与え、いずれか
一方においてのみ処理を実行するようにしてもよい。
In the third embodiment, an execution permission signal is given to both the matrix type two-dimensional bar code identifying section 24 and the character identifying section 26, and the respective identifying sections 24 and 26 execute respective processes in parallel. However, for example, the execution permission signal may be given to only one of the matrix type two-dimensional barcode identifying section 24 and the character identifying section 26, and the processing may be performed only in one of the two.

【0063】図9は、本発明の第4実施形態の光学的情
報読取装置の一部であるスキャナ制御部の構成を示すブ
ロック図である。以下の説明では、前記図7も必要に応
じて参照する。前記第1実施形態ないし第3実施形態で
は、二次元イメージセンサ部14(図7参照)に与えら
れる読出クロックは常に一定周期であるのに対して、こ
の第4実施形態では、前記読出クロックの周期は必要に
応じて変更される、という点に特徴がある。
FIG. 9 is a block diagram showing the arrangement of a scanner controller which is a part of the optical information reader according to the fourth embodiment of the present invention. In the following description, FIG. 7 will be referred to as necessary. In the first to third embodiments, the read clock given to the two-dimensional image sensor unit 14 (see FIG. 7) has a constant cycle, whereas in the fourth embodiment, the read clock of the read clock is changed. The feature is that the cycle is changed as needed.

【0064】より詳述すると、n行ごとに二値データを
取り込むためには、ある程度の時間が必要である。した
がって、前記第1実施形態ないし第3実施形態では、こ
の時間を考慮した周期の読出クロックを生成して二次元
イメージセンサ部14に与えることとしている。しかし
ながら、二値データの取込みに必要な時間は、取り込む
べき行以外の行に関する限り不要である。そこで、この
第4実施形態では、取り込むべき行の二値データを読み
出す際には通常周期の読出クロックを二次元イメージセ
ンサ部14に与え、取り込むべき行以外の二値データを
読み出す際には前記通常周期よりも短い周期の読出クロ
ックを二次元イメージセンサ部14に与えることとして
いる。
More specifically, it takes a certain amount of time to capture binary data every n rows. Therefore, in the first to third embodiments, the read clock having a cycle considering this time is generated and given to the two-dimensional image sensor unit 14. However, the time required to capture the binary data is unnecessary as far as the rows other than the row to be captured are concerned. Therefore, in the fourth embodiment, when reading binary data of a row to be captured, a read clock of a normal cycle is given to the two-dimensional image sensor unit 14, and when reading binary data of a row other than the row to be captured, A read clock having a cycle shorter than the normal cycle is given to the two-dimensional image sensor unit 14.

【0065】すなわち、この第4実施形態のスキャナ制
御部11には、通常周期のクロックを生成するための通
常周期クロック生成部11a、および前記通常周期より
も短い高速周期のクロックを生成するための高速周期ク
ロック生成部11bが備えられている。各クロック生成
部11a,11bで生成されるクロックは、垂直転送ク
ロックおよび水平転送クロックのうち水平転送クロック
の方である。垂直転送クロックは、図外のクロック生成
部で生成される。各クロック生成部11a,11bで生
成されたクロックは、クロック選択部11cに与えられ
る。
That is, in the scanner control unit 11 of the fourth embodiment, a normal cycle clock generation unit 11a for generating a normal cycle clock and a high speed cycle clock shorter than the normal cycle are generated. A high-speed cycle clock generator 11b is provided. The clock generated by each of the clock generation units 11a and 11b is the horizontal transfer clock of the vertical transfer clock and the horizontal transfer clock. The vertical transfer clock is generated by a clock generation unit (not shown). The clocks generated by the clock generators 11a and 11b are given to the clock selector 11c.

【0066】クロック選択部11cでは、前記各クロッ
ク生成部11a,11bから与えられるクロックのうち
いずれかのクロックが選択され、二次元イメージセンサ
部14に与えられる。このクロック選択部11cにおけ
る選択基準は、行カウンタ11dにおけるカウント値お
よび行番号設定部11eに設定されている行番号に基づ
いている。
In the clock selection unit 11c, one of the clocks given from the clock generation units 11a and 11b is selected and given to the two-dimensional image sensor unit 14. The selection criterion in the clock selection unit 11c is based on the count value in the row counter 11d and the line number set in the line number setting unit 11e.

【0067】行カウンタ11dは、前記垂直転送クロッ
クが与えられるたびにカウント値を更新するものであ
る。すなわち、カウント値は行番号に対応している。一
方、行番号設定部11eに設定されている行番号とは、
結像面14aの全行番号のうち、n行ずつ間隔のあいた
二値データを取り込むべき複数の行番号のことである。
前記クロック選択部11cでは、前記行カウンタ11d
のカウント値が前記行番号設定部11eに設定されてい
る行番号と一致した場合にのみ、高速周期クロック生成
部11bで生成されたクロックが選択される。
The row counter 11d updates the count value every time the vertical transfer clock is applied. That is, the count value corresponds to the line number. On the other hand, the line number set in the line number setting unit 11e is
Of all the row numbers on the imaging surface 14a, it is a plurality of row numbers for which binary data having n rows are taken.
In the clock selection unit 11c, the row counter 11d
The clock generated by the high-speed cycle clock generation unit 11b is selected only when the count value of 1 matches the line number set in the line number setting unit 11e.

【0068】その結果、取り込むべき行の二値データを
読み出す際には、相対的に低速で二値データが読み出さ
れ、取り込むべき行以外の行の二値データを読み出す際
には、相対的に高速で二値データが読み出される。以上
のようにこの第4実施形態の光学的情報読取装置によれ
ば、取り込むべき行以外の行の二値データは相対的に高
速で読み出されるので、全体の処理時間の短縮化を図る
ことができる。
As a result, when the binary data of the row to be fetched is read, the binary data is read at a relatively low speed, and when the binary data of the row other than the row to be fetched is read relatively. Binary data is read at high speed. As described above, according to the optical information reading apparatus of the fourth embodiment, since the binary data of the rows other than the row to be read is read at a relatively high speed, the overall processing time can be shortened. it can.

【0069】図10は、本発明の第5実施形態の光学的
情報読取装置の電気的構成を示すブロック図である。こ
の図10において、前記図7と同じ機能部分については
同一の参照符号を使用する。この第5実施形態は、前記
第3実施形態と同様に、一次元バーコード、多段型二次
元バーコード、マトリクス型二次元バーコードおよび文
字を読取対象とするもので、前記第3実施形態との相違
点は次に示すとおりである。
FIG. 10 is a block diagram showing the electrical construction of an optical information reader according to the fifth embodiment of the present invention. In FIG. 10, the same reference numerals are used for the same functional parts as in FIG. Like the third embodiment, the fifth embodiment is intended to read a one-dimensional barcode, a multi-stage two-dimensional barcode, a matrix two-dimensional barcode and a character, and is similar to the third embodiment. The differences are as follows.

【0070】すなわち、前記第3実施形態では、一次元
バーコードまたは多段型二次元バーコードの認識に失敗
した場合、読取対象に対応する像を新たに結像させ、こ
の新たに結像された像に対応する全行分の二値データに
基づいてマトリクス型二次元バーコードおよび文字の認
識が実行される。これに対して、この第5実施形態で
は、一次元バーコードまたは多段型二次元バーコードの
認識に失敗した場合には、像を新たに結像させることな
く、従前に結像させていた像に対応する全行分の二値デ
ータを再利用してマトリクス型二次元バーコードおよび
文字の認識が実行される。
That is, in the third embodiment, when the recognition of the one-dimensional bar code or the multi-stage two-dimensional bar code is unsuccessful, a new image corresponding to the object to be read is formed, and this newly formed image is formed. The matrix type two-dimensional barcode and the character recognition are executed based on the binary data of all the lines corresponding to the image. On the other hand, in the fifth embodiment, when the recognition of the one-dimensional bar code or the multi-stage two-dimensional bar code fails, the image formed before is not formed newly. By reusing the binary data for all lines corresponding to, the matrix type two-dimensional barcode and the character recognition are executed.

【0071】次に、図10を参照して、この第5実施形
態の光学的情報読取装置について説明する。この光学的
情報読取装置では、前述のように、従前の二値データを
再利用するため、すべての二値データを保存しておく必
要がある。加えて、両端データの抽出失敗等の場合に
は、全行分の二値データが必要である。
Next, with reference to FIG. 10, the optical information reading apparatus of the fifth embodiment will be described. In this optical information reading device, since the previous binary data is reused as described above, it is necessary to store all the binary data. In addition, if the extraction of the data at both ends fails, the binary data for all rows are required.

【0072】そのため、この光学的情報読取装置では、
二値化部15から出力された二値データはすべていった
んメモリ17に保持される。その後、メモリ17に保持
されている二値データを行単位で選択的に読み出すこと
により、二値データの取込みが達成される。一方、両端
データの抽出等が失敗した場合には、メモリ17に保持
されている二値データがすべて読み出される。この二値
データの読出しの切換えは、前述したように、スキャナ
制御部11によって実行される。
Therefore, in this optical information reader,
All the binary data output from the binarization unit 15 is temporarily stored in the memory 17. After that, the binary data stored in the memory 17 is selectively read out row by row, whereby the binary data is captured. On the other hand, when the extraction of the data at both ends fails, all the binary data held in the memory 17 is read. The switching of the reading of the binary data is executed by the scanner control unit 11 as described above.

【0073】以上のようにこの第5実施形態の光学的情
報読取装置によれば、一次元バーコードまたは多段型二
次元バーコードの認識がいずれも失敗した場合、従前の
結像処理によってメモリ17に保持されている二値デー
タを再利用してマトリクス型二次元バーコードおよび文
字の認識処理を実行しているので、二値データの有効利
用を図ることができる。
As described above, according to the optical information reader of the fifth embodiment, when the recognition of the one-dimensional bar code or the multi-stage two-dimensional bar code fails, the memory 17 is processed by the conventional imaging process. Since the matrix type two-dimensional bar code and character recognition processing is executed by reusing the binary data held in, it is possible to effectively use the binary data.

【0074】また、新たに像を結像させる必要もないの
で、処理の簡素化を図ることができる。本発明の実施の
形態の説明は以上のとおりであるが、本発明は上述の実
施形態に限定されるものではなく、その他、本発明の範
囲内で種々の設計変更を施すことは可能である。
Further, since it is not necessary to form a new image, the processing can be simplified. Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various other design changes can be made within the scope of the present invention. .

【0075】[0075]

【発明の効果】以上のように本発明の光学的情報読取装
置によれば、n行ずつ間隔のあいた複数行の二値データ
を取り込み、この取り込まれた二値データの中からバー
/スペースの配列パターンを含む行の二値データを判定
して抽出している。したがって、像の結像位置に依存す
ることなく、バー/スペースの配列パターンを含む行の
二値データを確実に抽出することができる。そのため、
像の結像位置に依存することなく、一次元バーコードを
確実に読み取ることができる。
As described above, according to the optical information reading apparatus of the present invention, a plurality of rows of binary data having an interval of n rows are fetched, and a bar / space of the fetched binary data is read. The binary data of the row including the array pattern is judged and extracted. Therefore, the binary data of the row including the bar / space array pattern can be reliably extracted without depending on the image forming position. for that reason,
The one-dimensional barcode can be reliably read without depending on the image forming position.

【0076】また、n行間隔の複数行の二値データのう
ちバー/スペースの配列パターンを表す二値データに基
づいて多段型二次元バーコード識別処理を実行している
ので、多段型二次元バーコードを効率的に識別すること
ができる。また、たとえば識別処理実行前に前記二値デ
ータをメモリに記憶する場合には、そのメモリは、n行
ずつ間隔のあいた複数行の二値データを記憶できる容量
のもので十分である。そのため、メモリの小容量化を図
ることができる。
Further, since the multi-stage two-dimensional bar code identification processing is executed based on the binary data representing the arrangement pattern of the bars / spaces out of the binary data of a plurality of lines at intervals of n lines, the multi-stage two-dimensional bar code is identified. The barcode can be efficiently identified. Further, for example, when the binary data is stored in the memory before the identification process is executed, the memory is sufficient to have a capacity capable of storing the binary data in a plurality of rows spaced by n rows. Therefore, the capacity of the memory can be reduced.

【0077】また、請求項3記載の光学的情報読取装置
によれば、認識速度が相対的に速い一次元バーコードま
たは多段型二次元バーコードに対する識別処理をまず実
行し、その後に認識速度が相対的に遅いマトリクス型二
次元バーコードおよび文字に対する識別処理を並列に、
またはこれらのうちいずれか一方を実行しているので、
処理速度を損なうことなく、一次元バーコード等の複数
種類の読取対象を単一の装置で読み取ることができる。
したがって、使い勝手を悪くすることはない。
Further, according to the optical information reader of the third aspect, the identification processing for the one-dimensional bar code or the multi-stage two-dimensional bar code having a relatively high recognition speed is first executed, and then the recognition speed is changed. Relatively slow matrix type two-dimensional bar code and character identification processing in parallel,
Or because you are running one of these,
It is possible to read a plurality of types of reading targets such as a one-dimensional barcode with a single device without impairing the processing speed.
Therefore, the usability does not deteriorate.

【0078】また、請求項4記載の光学的情報読取装置
によれば、取り込むべき行以外の行の濃淡信号は、取り
込むべき行の濃淡信号よりも高速に読み出されるので、
不要な濃淡信号を読み出す時間を節約することができ
る。そのため、処理時間の短縮化を図ることができる。
さらに、請求項5記載の光学的情報読取装置によれば、
一次元バーコード等の認識に失敗した場合、すでに保持
手段に保持されている濃淡信号を再利用してマトリクス
型二次元バーコード等の認識を実行することとしている
ので、処理を複雑にすることはない。
According to the optical information reader of the present invention, the grayscale signals of the rows other than the row to be captured are read out at a higher speed than the grayscale signals of the row to be captured.
It is possible to save the time for reading unnecessary grayscale signals. Therefore, the processing time can be shortened.
Furthermore, according to the optical information reader of claim 5,
When the recognition of a one-dimensional bar code or the like fails, the grayscale signal already held in the holding means is reused to recognize the matrix type two-dimensional bar code or the like, which complicates the processing. There is no.

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

【図1】本発明の第1実施形態の光学的情報読取装置の
電気的構成を示す概略ブロック図である。
FIG. 1 is a schematic block diagram showing an electrical configuration of an optical information reading device according to a first embodiment of the present invention.

【図2】前記光学的情報読取装置の読取対象を示す図で
ある。
FIG. 2 is a diagram showing a reading target of the optical information reading device.

【図3】スキャナの外観構成を示す図である。FIG. 3 is a diagram showing an external configuration of a scanner.

【図4】前記光学的情報読取装置の一部である結像面を
示す図である。
FIG. 4 is a diagram showing an image forming surface which is a part of the optical information reading device.

【図5】n行ずつ間隔のあいた二値データを取り込む処
理をわかりやすくするための図解図である。
FIG. 5 is an illustrative view for facilitating understanding of a process of taking in binary data having an interval of n rows.

【図6】本発明の第2実施形態の光学的情報読取装置を
構成するスキャナ制御部の電気的構成を示す概略ブロッ
ク図である。
FIG. 6 is a schematic block diagram showing an electrical configuration of a scanner control unit that constitutes an optical information reading device according to a second embodiment of the present invention.

【図7】本発明の第3実施形態の光学的情報読取装置の
電気的構成を示す概略ブロック図である。
FIG. 7 is a schematic block diagram showing an electrical configuration of an optical information reading device according to a third embodiment of the present invention.

【図8】第3実施形態の光学的情報読取装置の読取対象
の1つであるマトリクス型二次元バーコードを示す図で
ある。
FIG. 8 is a diagram showing a matrix type two-dimensional barcode which is one of the reading targets of the optical information reading apparatus of the third embodiment.

【図9】本発明の第4実施形態の光学的情報読取装置を
構成するスキャナ制御部の電気的構成を示す概略ブロッ
ク図である。
FIG. 9 is a schematic block diagram showing an electrical configuration of a scanner control unit that constitutes an optical information reading device according to a fourth embodiment of the present invention.

【図10】本発明の第5実施形態の光学的情報読取装置
の電気的構成を示す概略ブロック図である。
FIG. 10 is a schematic block diagram showing an electrical configuration of an optical information reading device according to a fifth embodiment of the present invention.

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

1 読取面 2 バーコード,情報 10 スキャナ 11 スキャナ制御部 12 光源 13 レンズ系 14 二次元イメージセンサ部 14a 結像面 16 取込部 17 メモリ 20 本体処理部 21 バーコード識別部 22a 一次元バーコード認識部 22b 多段型二次元バーコード認識部 24 マトリクス型二次元バーコード識別部 25 マトリクス型二次元バーコード認識部 26 文字識別部 27 文字認識部 28 全体制御部 1 Reading Surface 2 Bar Code, Information 10 Scanner 11 Scanner Control Section 12 Light Source 13 Lens System 14 Two-dimensional Image Sensor Section 14a Imaging Surface 16 Capture Section 17 Memory 20 Main Processing Section 21 Bar Code Identification Section 22a One-dimensional Bar Code Recognition Part 22b Multi-stage two-dimensional bar code recognition unit 24 Matrix type two-dimensional bar code recognition unit 25 Matrix type two-dimensional bar code recognition unit 26 Character recognition unit 27 Character recognition unit 28 Overall control unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】読取面に記録された複数種類の読取対象を
光学的に読み取るための光学的情報読取装置であって、 複数の読取画素が行方向および列方向に二次元的に配列
された結像面を備え、この結像面に結像される像の濃淡
に応じた濃淡信号を前記各読取画素ごとに分担して作成
するとともに、この作成された濃淡信号を順次出力する
ための二次元イメージセンサ部と、 像を前記二次元イメージセンサ部に備えられている結像
面に結像させる結像手段と、 前記二次元イメージセンサから出力される濃淡信号を二
値化して二値データを作成するための二値化手段と、 この二値化手段で作成された二値データのうち、複数行
の二値データをn行(nは2以上の自然数)間隔で取り
込むためのデータ取込手段と、 このデータ取込手段で取り込まれた複数行の二値データ
のうち、バー/スペースの配列パターンを表す行の二値
データを判定し、抽出するためのデータ抽出手段と、 このデータ抽出手段で抽出された二値データに基づい
て、一次元バーコード識別処理または多段型二次元バー
コード識別処理を実行し、その識別結果のうち識別に成
功したものを認識するための認識手段とを含むことを特
徴とする光学的情報読取装置。
1. An optical information reading device for optically reading a plurality of types of read objects recorded on a reading surface, wherein a plurality of read pixels are two-dimensionally arranged in a row direction and a column direction. An image plane is provided, and a grayscale signal corresponding to the grayscale of the image formed on the image plane is shared by each of the read pixels, and the grayscale signal is sequentially output. Dimensional image sensor section, image forming means for forming an image on an image forming surface provided in the two dimensional image sensor section, and binary data by binarizing a grayscale signal output from the two dimensional image sensor. Of the binary data created by the binarizing means, and a data collection for importing a plurality of rows of binary data at intervals of n rows (n is a natural number of 2 or more). Capture means and capture with this data capture means Based on the binary data extracted by the data extracting means for determining and extracting the binary data of the row representing the array pattern of the bar / space among the binary data of a plurality of rows An optical information reading device for performing one-dimensional barcode identification processing or multistage two-dimensional barcode identification processing, and recognizing means for recognizing one of the identification results that has been successfully identified. .
【請求項2】読取面に記録された複数種類の読取対象を
光学的に読み取るための光学的情報読取装置であって、 複数の読取画素が行方向および列方向に二次元的に配列
された結像面を備え、この結像面に結像される像の濃淡
に応じた濃淡信号を前記各読取画素ごとに分担して作成
するとともに、この作成された濃淡信号をインタライン
方式で出力するための二次元イメージセンサ部と、 像を前記二次元イメージセンサ部に備えられている結像
面に結像させる結像手段と、 前記二次元イメージセンサから出力される濃淡信号を二
値化して二値データを作成するための二値化手段と、 この二値化手段で二値化された二値データのうち、奇数
行または偶数行の二値データを取り込むためのデータ取
込手段と、 このデータ取込手段で取り込まれた二値データのうち、
バー/スペースの配列パターンを表す行の二値データを
判定し、抽出するためのデータ抽出手段と、 このデータ抽出手段で抽出された二値データに基づい
て、一次元バーコード識別処理または多段型二次元バー
コード識別処理を実行し、その識別結果のうち識別に成
功したものを認識するための認識手段とを含むことを特
徴とする光学的情報読取装置。
2. An optical information reading device for optically reading a plurality of types of read objects recorded on a reading surface, wherein a plurality of read pixels are two-dimensionally arranged in a row direction and a column direction. An image plane is provided, and a grayscale signal corresponding to the grayscale of an image formed on the image plane is created for each of the read pixels, and the created grayscale signal is output by an interline method. A two-dimensional image sensor section, an image forming means for forming an image on an image forming surface provided in the two-dimensional image sensor section, and a gray-scale signal output from the two-dimensional image sensor Binarizing means for creating binary data, and data capturing means for capturing binary data of an odd row or an even row among the binary data binarized by the binarizing means, Captured by this data capture means Of the value data,
Based on the binary data extracted by the data extracting means for determining and extracting the binary data of the row representing the bar / space array pattern, the one-dimensional barcode identification processing or the multi-stage type An optical information reading device, comprising: a recognition means for executing a two-dimensional bar code identification process and recognizing one of the identification results that has been successfully identified.
【請求項3】前記認識手段において識別に成功したもの
を認識できたか否かを判別するための判別手段と、 この判別手段で識別に成功したものを認識できなかった
と判別された場合、前記結像手段に、像を前記結像面に
新たに結像させるための結像制御手段と、 この結像制御手段の制御により前記結像面に新たに結像
された像に対応する二値データであって、かつ全行の二
値データに基づいて、マトリクス型二次元バーコード識
別処理および文字識別処理を並列に、またはこれらのう
ちいずれか一方を実行し、その識別結果のうち識別に成
功したものを認識するための第2の認識手段とをさらに
含むことを特徴とする請求項1または2記載の光学的情
報読取装置。
3. A discriminating means for discriminating whether or not the discriminator succeeds in recognizing, and the discriminating means discriminates that the discriminator succeeds in recognizing. Image forming control means for newly forming an image on the image forming surface on the image forming means, and binary data corresponding to the image newly formed on the image forming surface under the control of the image forming control means. In addition, based on the binary data of all the rows, the matrix type two-dimensional bar code identification process and the character identification process are executed in parallel, or either one of them is executed, and the identification result is successful. The optical information reader according to claim 1 or 2, further comprising a second recognizing means for recognizing the object.
【請求項4】前記二次元イメージセンサ部は、各読取画
素で作成される濃淡信号を読出クロックに応答して順次
出力するものであり、 前記データ取込手段で取り込むべき行の濃淡信号を出力
させる場合、通常周期の読出クロックを前記二次元イメ
ージセンサに与え、前記データ取込手段で取り込むべき
行以外の行の濃淡信号を出力させる場合、前記通常周期
よりも短い周期の読出クロックを前記二次元イメージセ
ンサに与えるためのクロック供給手段をさらに含むこと
を特徴とする請求項1、2または3記載の光学的情報読
取装置。
4. The two-dimensional image sensor unit sequentially outputs a grayscale signal created by each read pixel in response to a read clock, and outputs a grayscale signal of a row to be captured by the data capturing means. In this case, a read clock having a normal cycle is applied to the two-dimensional image sensor, and when a grayscale signal of a row other than the row to be captured by the data capture means is output, a read clock having a cycle shorter than the normal cycle is provided to the two-dimensional image sensor. 4. The optical information reader according to claim 1, further comprising a clock supply means for supplying the three-dimensional image sensor.
【請求項5】前記二値化手段で作成された二値データを
行単位で記憶するためのデータ記憶手段をさらに含み、 前記データ取込手段は、前記データ記憶手段に保持され
ている二値データの中からn行ずつ間隔のあいた複数行
の二値データを読み出すものであり、 前記認識手段において識別に成功したものを認識できた
か否かを判別するための判別手段と、 この判別手段で識別に成功したものを認識できなかった
と判別された場合、前記データ記憶手段に記憶されてい
る全行の二値データを読み出すための第2のデータ取込
手段と、 この第2のデータ取込手段で読み出された二値データに
基づいて、マトリクス型二次元バーコード識別処理およ
び文字識別処理を並列に、またはこれらのうちいずれか
一方を実行し、その識別結果のうち識別に成功したもの
を認識するための第2の認識手段とをさらに含むことを
特徴とする請求項1記載の光学的情報読取装置。
5. The storage device further includes a data storage unit for storing the binary data created by the binarization unit on a row-by-row basis, and the data fetching unit is a binary value stored in the data storage unit. A plurality of rows of binary data with an interval of n rows are read out from the data, and a discriminating means for discriminating whether or not the successfully discriminated data can be recognized by the recognition means, and the discrimination means. When it is determined that the successfully identified item cannot be recognized, a second data fetching unit for reading the binary data of all the rows stored in the data storage unit, and the second data fetching unit Based on the binary data read by the means, the matrix type two-dimensional bar code identification process and the character identification process are executed in parallel, or either one of them is executed, and the identification result is identified. The optical information reader according to claim 1, further comprising a second recognizing unit for recognizing a successful one.
JP7288829A 1995-11-07 1995-11-07 Optical information reader Pending JPH09134403A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7288829A JPH09134403A (en) 1995-11-07 1995-11-07 Optical information reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7288829A JPH09134403A (en) 1995-11-07 1995-11-07 Optical information reader

Publications (1)

Publication Number Publication Date
JPH09134403A true JPH09134403A (en) 1997-05-20

Family

ID=17735289

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7288829A Pending JPH09134403A (en) 1995-11-07 1995-11-07 Optical information reader

Country Status (1)

Country Link
JP (1) JPH09134403A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008040557A (en) * 2006-08-01 2008-02-21 Ricoh Co Ltd Image display apparatus, image display method, and image display program
US7370800B2 (en) 2003-04-07 2008-05-13 Vodafone Group Plc Information processing method
JP2019003662A (en) * 2005-03-11 2019-01-10 ハンド ヘルド プロダクツ インコーポレーティッド Image reading device with global electronic shutter control
US10691907B2 (en) 2005-06-03 2020-06-23 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US10721429B2 (en) 2005-03-11 2020-07-21 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7370800B2 (en) 2003-04-07 2008-05-13 Vodafone Group Plc Information processing method
US11323649B2 (en) 2005-03-11 2022-05-03 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11317050B2 (en) 2005-03-11 2022-04-26 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
JP2020191098A (en) * 2005-03-11 2020-11-26 ハンド ヘルド プロダクツ インコーポレーティッド Image reading device with global electronic shutter control
US10721429B2 (en) 2005-03-11 2020-07-21 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US10735684B2 (en) 2005-03-11 2020-08-04 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
JP2020184360A (en) * 2005-03-11 2020-11-12 ハンド ヘルド プロダクツ インコーポレーティッド Image reading device with global electronic shutter control
JP2020184359A (en) * 2005-03-11 2020-11-12 ハンド ヘルド プロダクツ インコーポレーティッド Image reading device with global electronic shutter control
US10958863B2 (en) 2005-03-11 2021-03-23 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11968464B2 (en) 2005-03-11 2024-04-23 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
US11863897B2 (en) 2005-03-11 2024-01-02 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
JP2020184361A (en) * 2005-03-11 2020-11-12 ハンド ヘルド プロダクツ インコーポレーティッド Image reading device with global electronic shutter control
US11323650B2 (en) 2005-03-11 2022-05-03 Hand Held Products, Inc. Image reader comprising CMOS based image sensor array
JP2019003662A (en) * 2005-03-11 2019-01-10 ハンド ヘルド プロダクツ インコーポレーティッド Image reading device with global electronic shutter control
US11238251B2 (en) 2005-06-03 2022-02-01 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US11238252B2 (en) 2005-06-03 2022-02-01 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US11604933B2 (en) 2005-06-03 2023-03-14 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US10949634B2 (en) 2005-06-03 2021-03-16 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US11625550B2 (en) 2005-06-03 2023-04-11 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
US10691907B2 (en) 2005-06-03 2020-06-23 Hand Held Products, Inc. Apparatus having hybrid monochrome and color image sensor array
JP2008040557A (en) * 2006-08-01 2008-02-21 Ricoh Co Ltd Image display apparatus, image display method, and image display program

Similar Documents

Publication Publication Date Title
US8162218B2 (en) Using a 2D imager for rastering scanning
US7137555B2 (en) Multi-format bar code reader
JP4791563B2 (en) Apparatus and method for capturing and automatically processing data obtained from optical codes
EP0980537A1 (en) Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field
JP5140820B2 (en) Symbol information reading apparatus and symbol information reading method
US5748868A (en) Two-dimensional management pattern, information display tag, and image processing method and device
JP3758266B2 (en) Code reader
US6328214B1 (en) Opto-electronic device for acquisition of images of codes in one and two dimensions
JP2746501B2 (en) Barcode reader
JPS62200488A (en) Optical character reader
JPH09134403A (en) Optical information reader
US5764798A (en) Prioritized searching methods for finding a coded symbol in a digitized image
EP1178665A2 (en) Optical scanner and image reader including one and two dimensional symbologies at variable depth of field
JP3526370B2 (en) Barcode reading method and barcode reader
JP3711725B2 (en) Image recognition device
JP2722434B2 (en) Optical character reader
JPH0469788A (en) Optical information reader
JPH0431436B2 (en)
US4955063A (en) Vector display apparatus
JPH0469785A (en) Optical information reader
JPH0997302A (en) Optical information reader
JP2906608B2 (en) Optical character reader
JPH06251194A (en) Optical information reader
JPH0997304A (en) Optical information reader
JPH0997303A (en) Optical information reader