JPH0431436B2 - - Google Patents

Info

Publication number
JPH0431436B2
JPH0431436B2 JP60270156A JP27015685A JPH0431436B2 JP H0431436 B2 JPH0431436 B2 JP H0431436B2 JP 60270156 A JP60270156 A JP 60270156A JP 27015685 A JP27015685 A JP 27015685A JP H0431436 B2 JPH0431436 B2 JP H0431436B2
Authority
JP
Japan
Prior art keywords
barcode
character
identification
image sensor
imaging section
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.)
Expired - Lifetime
Application number
JP60270156A
Other languages
Japanese (ja)
Other versions
JPS62128380A (en
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 filed Critical
Priority to JP60270156A priority Critical patent/JPS62128380A/en
Publication of JPS62128380A publication Critical patent/JPS62128380A/en
Publication of JPH0431436B2 publication Critical patent/JPH0431436B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Facsimile Heads (AREA)

Description

【発明の詳細な説明】 (1) 産業上の利用分野 本発明は光学的に文字およびバーコードを読取
る手持ち式の光学読取装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Industrial Application Field The present invention relates to a hand-held optical reading device that optically reads characters and barcodes.

(2) 従来技術とその問題点 従来、ハンドスキヤンタイプのOCRやバーコ
ードリーダがある。従来の手持ち式OCRは例え
ば特開昭54−16133号公報に記載されている。第
4図に従来の手持ち式OCRの例を示す。
(2) Conventional technologies and their problems Conventionally, there are hand scan type OCRs and barcode readers. A conventional hand-held OCR is described, for example, in Japanese Patent Application Laid-Open No. 16133/1983. Figure 4 shows an example of a conventional handheld OCR.

ハンドスキヤナ21を手22で持ち用紙23上
を移動させることにより文字を読取るものであ
る。
Characters are read by holding a hand scanner 21 in a hand 22 and moving it over a paper 23.

24は光源であり、用紙23を照射し、その反
射光をレンズ系25を介してイメージセンサ26
へ結像させる。イメージセンサ26の出力信号を
増幅回路27で増幅し、二値化回路28で“白”
(用紙)と“黒”(文字)の二値へ区分した後、識
別回路29で文字を識別するものである。また、
文字およびバーコードの両方を読取る装置は例え
ば特開昭59−81766号公報に記載されていて、そ
の構成は第5図に示す。
A light source 24 illuminates the paper 23 and sends the reflected light to the image sensor 26 via a lens system 25.
to form an image. The output signal of the image sensor 26 is amplified by the amplifier circuit 27, and converted to "white" by the binarization circuit 28.
After the paper is divided into two values, ``black'' (paper) and ``black'' (characters), a recognition circuit 29 identifies the characters. Also,
A device for reading both characters and bar codes is described in, for example, Japanese Patent Laid-Open No. 59-81766, and its configuration is shown in FIG.

21〜29は第4図と同じであるので説明を省
略する。識別回路29で文字を識別するとともに
二値化回路28の出力信号からバーコードを識別
する識別回路30があり、識別回路29,30か
ら送られる識別結果をもとに選択回路31で正し
い方を読取結果として出力するものである。
21 to 29 are the same as those in FIG. 4, so their explanation will be omitted. There is an identification circuit 30 that identifies characters in an identification circuit 29 and identifies barcodes from the output signal of the binarization circuit 28. Based on the identification results sent from the identification circuits 29 and 30, a selection circuit 31 selects the correct one. This is output as a reading result.

文字の識別では線幅を検出できる解像度であれ
ばよいので、線幅に対応する寸法を1画素とすれ
ばよい。しかし、バーコードの識別の場合には、
細いバー幅に対応するのを1画素としてはバー幅
を区別できない。この関係と対応手段を第4図を
用いて説明する。バー32は幅a、バー33は幅
bで今、b=2aとする。
For character identification, any resolution that can detect the line width is sufficient, so the dimension corresponding to the line width may be one pixel. However, in the case of barcode identification,
If one pixel corresponds to a narrow bar width, the bar width cannot be distinguished. This relationship and corresponding means will be explained using FIG. 4. The bar 32 has a width a, and the bar 33 has a width b, and now b=2a.

第6図で示されているイメージセンサ34の1
画素を細いバー32のaと同じとし、二値化での
闘値を50%とする。第6図の位置で走査すると、
バー32ではセル35,36の2画素列が“黒”
となり、バー33ではセル37,38の2画素列
が“黒”となるのでバー32とバー33のバー幅
は実際2倍の差があるにもかかわらず、走査後は
“黒”の画素数が同じとなり、バー32とバー3
3とのバー幅が同じ扱いとなる。このため、バー
コードの識別ができない。
1 of the image sensors 34 shown in FIG.
The pixel is set to be the same as a of the thin bar 32, and the threshold value for binarization is set to 50%. When scanning at the position shown in Figure 6,
In bar 32, two pixel columns in cells 35 and 36 are “black”
Therefore, in bar 33, the two pixel columns of cells 37 and 38 are "black", so even though the bar widths of bar 32 and bar 33 are actually twice as different, the number of "black" pixels after scanning is are the same, bar 32 and bar 3
The bar width will be treated as the same as 3. Therefore, the barcode cannot be identified.

一方、イメージセンサの画素サイズを細いバー
(線輻1/4mm)のさらに2〜4倍の解像度が得られ
るように小さくすると、文字識別に際して過大な
情報量を得ることになる。
On the other hand, if the pixel size of the image sensor is made smaller to obtain a resolution two to four times that of a thin bar (line width 1/4 mm), an excessive amount of information will be obtained when identifying characters.

文字の識別はあらかじめ種々の基本パターンを
用意しておき、得られたパターンと基本パターン
との比較を繰り返しながら文字を特定していくも
のであるから、本来、線幅(OCR用文字で約1/3
〜1/2mm)を検出できればよいところを、過大な
情報量を得ることになれば、処理において次のよ
うな問題が生じる。
Character identification involves preparing various basic patterns in advance and identifying characters by repeatedly comparing the obtained patterns with the basic patterns. /3
Although it is sufficient to be able to detect 1/2mm), if an excessive amount of information is obtained, the following problems will occur in processing.

() 基本パターンの量を入力情報量に応じてふ
やさねばならないため、莫大な記憶容量が必要
になる。
() Since the amount of basic patterns must be increased according to the amount of input information, a huge amount of storage capacity is required.

() 入力情報のパターンの場合の数が情報量に
応じて増すため、判定のアルゴリズムが複雑に
なり開発に莫大な時間を必要とする。
() Since the number of patterns of input information increases with the amount of information, the decision algorithm becomes complex and requires a huge amount of time to develop.

() 同じ理由で、文字判定に到るまでの処理時
間も莫大なものとなる。
() For the same reason, the processing time required to reach character recognition is also enormous.

さらに、イメージセンサ設計上の問題が考えら
れる。すなわち装置の性格上、イメージセンサの
1画面分の読み取り走査は一定時間内に行なわれ
なければリアルタイム性が失なわれてしまう。と
ころがむやみにイメージセンサの画素を細かく
し、画素数を増してしまうとそれにつれて1画素
あたりの読み取り時間を高速化しなくてはならな
い。
Furthermore, there may be problems with image sensor design. That is, due to the nature of the device, real-time performance is lost unless reading and scanning of one screen of the image sensor is performed within a certain period of time. However, if the pixels of an image sensor are unnecessarily made finer and the number of pixels increases, the reading time per pixel must be increased accordingly.

これは、イメージセンサの製造プロセス上の大
きな制約となり実現を困難にする。このためバー
コード用の密な部分と、文字用の疎な部分を使い
わけることが必要である。
This poses a major constraint on the image sensor manufacturing process and makes implementation difficult. Therefore, it is necessary to use dense areas for barcodes and sparse areas for characters.

(3) 発明の目的 本発明の目的は従来の欠点を改良するもので、
正確で効率の良い認識を行える手持ち式の文字お
よびバーコードを読取る光学読取装置を提供する
ことにある。
(3) Purpose of the invention The purpose of the present invention is to improve the conventional drawbacks;
An object of the present invention is to provide a hand-held optical reader for reading characters and barcodes that can perform accurate and efficient recognition.

(4) 問題点を解決するための手段及び作用 本発明の構成を第1図に示す。(4) Means and actions for solving problems The configuration of the present invention is shown in FIG.

イメージセンサ4は画素密度の高いバーコード
結像部と画素密度の低い文字結像部からなる。
The image sensor 4 consists of a barcode imaging section with high pixel density and a character imaging section with low pixel density.

バーコード結像部から2値化回路51を通つて
得られた2値信号はバーコード識別回路へ文字結
像部から2値化回路52を通つて得られた2値信
号は文字識別回路へそれぞれ送られる。実際には
バーコード又は文字のいずれか1方がイメージセ
ンサ上に結像されているので、各々の識別回路の
識別結果を選択回路に送り、いずれか正しい方を
選択する。
A binary signal obtained from the barcode imaging section through the binarization circuit 51 is sent to the barcode identification circuit.A binary signal obtained from the character imaging section through the binarization circuit 52 is sent to the character identification circuit. each will be sent. In reality, either the barcode or the characters are imaged on the image sensor, so the identification results of each identification circuit are sent to the selection circuit to select the correct one.

第2図に本発明の文字バーコード読取装置の作
用を示す。
FIG. 2 shows the operation of the character barcode reading device of the present invention.

第2図はイメージセンサ上に文字を結像した
場合である。文字結像部42は文字を結像するの
に十分な大きさを持つ。第2図は同じくバーコ
ードを結像した場合である。イメージセンサ全体
の高さは結像されたバーコードより小さいので必
ずバーコードはバーコード識別部上にも結像され
る。
FIG. 2 shows a case where characters are imaged on an image sensor. The character imaging section 42 has a size sufficient to image characters. FIG. 2 shows a case in which a barcode is similarly imaged. Since the height of the entire image sensor is smaller than the imaged barcode, the barcode is necessarily imaged also on the barcode identification section.

バーコードの場合はバーあるいはバー間の白部
の横幅が情報であるため、バーコード識別部は水
平方向に1行あるいはより正確を期してもせいぜ
い2〜3行あれば十分である。また、バーコード
識別部の画素密度を文字結像部より細かくする必
要性は第2図のように、実際には線幅の異なる
2本のバーが文字結像部の画素密度では区別でき
ず、同じ幅の線となつてしまうことから明らかで
ある。
In the case of a barcode, since the information is the width of the bars or the white areas between the bars, it is sufficient for the barcode identification section to have one line in the horizontal direction, or even if more accurate, two to three lines at most. In addition, it is necessary to make the pixel density of the barcode identification part finer than that of the character imaging part, as shown in Figure 2, because two bars with different line widths cannot actually be distinguished by the pixel density of the character imaging part. , it is clear from the fact that they become lines of the same width.

(5) 実施例 本発明の一実施例を第3図に基づいて説明す
る。
(5) Embodiment An embodiment of the present invention will be described based on FIG. 3.

本発明で使用するイメージセンサの一実施例第
3図に示す。上部2行はバーコード結像用、下
部50行は文字結像用である。バーコード用は画素
密度0.05mm、文字用は0.1mmであるため、全高は
10.2mmとなる。
An embodiment of the image sensor used in the present invention is shown in FIG. The top two lines are for barcode imaging, and the bottom 50 lines are for character imaging. The pixel density is 0.05mm for barcodes and 0.1mm for characters, so the overall height is
It becomes 10.2mm.

また横方向にはバーコード用800列、文字用400
列が並び密度はタテ、ヨコ共同じであるため、全
幅は40mmとなる。
Additionally, in the horizontal direction, there are 800 columns for barcodes and 400 columns for characters.
Since the rows are lined up and the density is the same both vertically and horizontally, the total width is 40mm.

このイメージセンサを用いて第3図に示すよ
うに、倍率1/2紙面上のバーコード、文字を結像
させるよう光学系を組めば、紙面上での画素密度
(分解能)はバーコード用が0.1mm、文字用が0.2
mmとなり、視野としては10.2mm×80mmとなる。
Using this image sensor, as shown in Figure 3, if an optical system is constructed to image barcodes and characters on a paper surface with a magnification of 1/2, the pixel density (resolution) on the paper surface will be the same as that for barcodes. 0.1mm, 0.2 for text
mm, and the field of view is 10.2 mm x 80 mm.

バーコードの高さは大体18mm以上あるので、
10.2mmの視野高さは必ずこの中に含まれ、確実に
バーコード結像部上にバーコードを結像させるこ
とができる。また、バーコード列の全幅は0.66mm
(最大モジユール幅)×113(モジユール数)=74.58
mm以下であり、文字列の全幅は2.54mm(標準文字
ピツチ)×23(最大文字数)=58.4mm以下であるこ
とから視野内にすべて納まる。
The height of the barcode is approximately 18mm or more, so
The field of view height of 10.2mm is always included in this range, and the barcode can be reliably imaged on the barcode imaging section. Also, the total width of the barcode row is 0.66mm
(Maximum module width) x 113 (number of modules) = 74.58
mm, and the total width of the character string is 2.54 mm (standard character pitch) x 23 (maximum number of characters) = 58.4 mm or less, so it all fits within the field of view.

このイメージセンサおよび光学系を用いること
によつて必要にして十分な文字、バーコード読取
装置を実現できる。
By using this image sensor and optical system, a necessary and sufficient character and barcode reading device can be realized.

(6) 発明の効果 本発明によれば、バーコード識別用のバーコー
ドの最も細いバーの幅に対し十分な分解能を有す
る画素密度の高いバーコード結像部と、文字識別
用に必要にして十分な分解能を有するやや画素密
度の低い文字結像部から構成されるイメージセン
サを用いているので、必要かつ十分な文字・バー
コード読取装置が可能となる。
(6) Effects of the Invention According to the present invention, there is provided a barcode imaging section with a high pixel density that has sufficient resolution for the width of the narrowest bar of a barcode for barcode identification, and a barcode imaging section that is necessary for character identification. Since an image sensor composed of a character imaging section with sufficient resolution and a slightly low pixel density is used, a necessary and sufficient character/barcode reading device is possible.

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

第1図は本発明の文字・バーコード読取装置の
構成を示すための図、第2図,はその作用を
示すための図、第3図,は本発明の一実施例
として使用するイメージセンサを示すための図、
第4図は従来の手持ち式OCRを示すための図、
第5図はもう一の従来の手持式OCRを示すため
の図、第6図は従来用いられているイメージ・セ
ンサを示すための図である。 図中、41はバーコード結像部、42は文字結
像部である。
Fig. 1 is a diagram showing the configuration of the character/barcode reading device of the present invention, Fig. 2 is a diagram showing its operation, and Fig. 3 is an image sensor used as an embodiment of the present invention. A diagram to show,
Figure 4 is a diagram showing a conventional handheld OCR.
FIG. 5 is a diagram showing another conventional hand-held OCR, and FIG. 6 is a diagram showing a conventionally used image sensor. In the figure, 41 is a barcode imaging section, and 42 is a character imaging section.

Claims (1)

【特許請求の範囲】 1 複数の光電変換素子からなるイメージセンサ
を用いて文字とバーコードを光学的に読取る手持
ち式の光学読取装置においてバーコード識別用の
バーコードの最も細いバーの幅に対し十分な分解
能を有する画素密度の高いバーコード結像部と、
文字識別用に必要にして十分な分解能を有するや
や画素密度の低い文字結像部から構成されるイメ
ージセンサを用いることを特徴とする文字・バー
コード読取装置。 2 使用するイメージセンサのバーコード結像部
は1ラインが数100以上の画素からなるラインセ
ンサの1ないし数ラインからなることを特徴とす
る特許請求の範囲第1項に記載の文字・バーコー
ドの読取装置。 3 使用するイメージセンサの文字結像部は値札
等における文字列の少くとも1行以上を視野に納
めるに十分である大きさをもつことを特徴とする
特許請求の範囲第1項に記載の文字・バーコード
読取装置。 4 使用するイメージセンサの文字結像部は最小
のバーコード高さよりなお小さい高さ方向の視野
を有することを特徴とする特許請求の範囲第1項
に記載の文字・バーコード読取装置。 5 使用するイメージセンサの全高さがバーコー
ドの高さ全体を視野に納めるよりは小さいことを
特徴とする特許請求の範囲第1項に記載の文字・
バーコード読取装置。 6 バーコード結像部から得られる2値信号はバ
ーコード識別回路に送り、文字結像部から得られ
る2値信号は文字識別回路に送り、両識別回路の
識別結果を選択回路に送り、正しい方を選択する
ことを特徴とする特許請求の範囲第1項に記載の
文字・バーコード読取装置。 7 バーコード結像部から得られる2値信号はバ
ーコード識別回路に送り、文字結像部から得られ
る2値信号は文字識別回路に送り、文字およびバ
ーコードの高さの違いによつて、いずれ 識別結
果を採用する選択回路を有することを特徴とする
特許請求の範囲第1項に記載の文字・バーコード
識別装置。
[Claims] 1. Regarding the width of the narrowest bar of a barcode for barcode identification in a hand-held optical reader that optically reads characters and barcodes using an image sensor consisting of a plurality of photoelectric conversion elements. A barcode imaging unit with high pixel density and sufficient resolution;
A character/barcode reading device characterized by using an image sensor composed of a character imaging section with a slightly low pixel density and having sufficient resolution necessary for character identification. 2. The character/barcode according to claim 1, wherein the barcode imaging part of the image sensor used is composed of one or several lines of a line sensor, each line of which consists of several hundred or more pixels. reader. 3. Characters according to claim 1, characterized in that the character imaging section of the image sensor used has a size sufficient to fit at least one line of character strings on a price tag, etc. into the field of view.・Barcode reader. 4. The character/barcode reading device according to claim 1, wherein the character imaging section of the image sensor used has a field of view in the height direction that is smaller than the minimum barcode height. 5. Characters and characters according to claim 1, characterized in that the total height of the image sensor used is smaller than the field of view of the entire height of the barcode.
Barcode reader. 6 The binary signal obtained from the barcode imaging section is sent to the barcode identification circuit, the binary signal obtained from the character imaging section is sent to the character identification circuit, the identification results of both identification circuits are sent to the selection circuit, and the correct 2. The character/barcode reading device according to claim 1, wherein the character/barcode reading device selects one of the following. 7 The binary signal obtained from the barcode imaging section is sent to the barcode identification circuit, and the binary signal obtained from the character imaging section is sent to the character identification circuit. The character/barcode identification device according to claim 1, further comprising a selection circuit that adopts any of the identification results.
JP60270156A 1985-11-29 1985-11-29 Character-bar code reader Granted JPS62128380A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60270156A JPS62128380A (en) 1985-11-29 1985-11-29 Character-bar code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60270156A JPS62128380A (en) 1985-11-29 1985-11-29 Character-bar code reader

Publications (2)

Publication Number Publication Date
JPS62128380A JPS62128380A (en) 1987-06-10
JPH0431436B2 true JPH0431436B2 (en) 1992-05-26

Family

ID=17482319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60270156A Granted JPS62128380A (en) 1985-11-29 1985-11-29 Character-bar code reader

Country Status (1)

Country Link
JP (1) JPS62128380A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6320575A (en) * 1986-07-15 1988-01-28 Omron Tateisi Electronics Co Medium recognizing device
JP2573665B2 (en) * 1988-01-04 1997-01-22 住友電気工業株式会社 Optical character reader
JPH02117264A (en) * 1988-10-27 1990-05-01 Suzuka Fuji Xerox Kk Image sensor
JPH0469785A (en) * 1990-07-10 1992-03-04 Sumitomo Electric Ind Ltd Optical information reader
JPH0477978A (en) * 1990-07-20 1992-03-12 Nitsuko Corp Method for bar code reading

Also Published As

Publication number Publication date
JPS62128380A (en) 1987-06-10

Similar Documents

Publication Publication Date Title
US6123261A (en) Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field
US6575367B1 (en) Image data binarization methods enabling optical reader to read fine print indicia
US20020044689A1 (en) Apparatus and method for global and local feature extraction from digital images
US8783570B2 (en) Reader with optical character recognition
US5471041A (en) Bar-code reader device
US20110073655A1 (en) Blur Resistant Barcode
JPS62162181A (en) Optical reader
KR890002473B1 (en) Character discirminating method
JPH0431436B2 (en)
EP0762309A2 (en) Mark detecting method and apparatus therefor
JPS61234479A (en) Optical reader
EP1916557B1 (en) Optical scanner and image reader for reading images and decoding optical information including one and two dimensional symbologies at variable depth of field
JP4191883B2 (en) Optical information reader
EP1178665A2 (en) Optical scanner and image reader including one and two dimensional symbologies at variable depth of field
US6478224B1 (en) Symbology-independent method and apparatus for identifying potential bar code data
JPS61237182A (en) Optical reader
JPH0469785A (en) Optical information reader
KR100236690B1 (en) Optical reader
JPH06251194A (en) Optical information reader
JPS6314392B2 (en)
JPH0997302A (en) Optical information reader
JPS60238981A (en) Optical reader
JPS61237181A (en) Optical reader
JPH0469787A (en) Optical information reader
JPH0997303A (en) Optical information reader