JPS5836391B2 - optical character reader - Google Patents

optical character reader

Info

Publication number
JPS5836391B2
JPS5836391B2 JP54017044A JP1704479A JPS5836391B2 JP S5836391 B2 JPS5836391 B2 JP S5836391B2 JP 54017044 A JP54017044 A JP 54017044A JP 1704479 A JP1704479 A JP 1704479A JP S5836391 B2 JPS5836391 B2 JP S5836391B2
Authority
JP
Japan
Prior art keywords
signal
identification
unidentifiable
paper
signals
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
Application number
JP54017044A
Other languages
Japanese (ja)
Other versions
JPS55110376A (en
Inventor
功雄 一色
浩二 佐藤
福馬 坂本
明裕 大岡
正敏 田仲
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 JP54017044A priority Critical patent/JPS5836391B2/en
Publication of JPS55110376A publication Critical patent/JPS55110376A/en
Publication of JPS5836391B2 publication Critical patent/JPS5836391B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)

Description

【発明の詳細な説明】 本発明は,文字又は記号等の記載されている用紙上を手
で持って移動し,文字、記号等の情報を光学的に読取る
光学的文字読取装置に関するものである。
[Detailed Description of the Invention] The present invention relates to an optical character reading device that optically reads information such as characters, symbols, etc. by holding and moving a sheet of paper on which characters, symbols, etc. are written. .

値札の文字の自動読取り、あるいは伝票等に記載されて
いる文字をコンピュータに入力させる簡単な手段として
スキャナを手に持ち、文字や記号の記載された用紙上を
水平方向に移動させることにより文字や記号の識別を行
なうハンドスキャナが用いられている。
As a simple means of automatically reading the characters on a price tag or inputting the characters written on a slip, etc. into a computer, hold the scanner in your hand and move it horizontally over the paper with the characters and symbols written on it. Hand scanners are used to identify symbols.

ハンドスキャナは文字、記号の記載されている用紙を照
明する光源、一次元又は二次元に配列された光学センサ
、該光学センサ上に用紙からの反射光を結像させるレン
ズ系を有しているスキャナ、及び光学センサからの出力
信号を文字領域と背景領域とに対応して2値化信号とす
る2値化回路、該2値化回路から出力される2値化信号
を処理して文字の識別を行なう識別部により構成される
ものであり、スキャナを手で持って文字又は記号の記載
された用紙上を水平方向に移動させ、光学センサからの
出力信号を2値化回路に加えて文字領域と背景領域とに
対応した2値化信号とし、識別部でこの2値化信号を処
理して文字の識別を行なっていた。
A hand scanner has a light source that illuminates a sheet of paper with characters and symbols written on it, an optical sensor that is arranged in one or two dimensions, and a lens system that forms an image of the light reflected from the sheet of paper onto the optical sensor. A binarization circuit converts output signals from a scanner and an optical sensor into binarized signals corresponding to character areas and background areas, and processes the binarized signals output from the binarization circuit to convert characters into characters. It consists of an identification unit that performs identification, and the scanner is held in hand and moved horizontally over a sheet of paper with characters or symbols written on it, and the output signal from the optical sensor is added to a binarization circuit to convert the characters into characters. A binary signal corresponding to an area and a background area is generated, and this binary signal is processed in an identification section to identify characters.

しかし、スキャナを用紙の端からはみ出して走査した場
合に読取った情報パターンを読取り情報として使用して
しまう惧れがあるので、これを防ぐ為に用紙の両端と文
字との間に広い空白部を設けたり、或いは用紙からスキ
ャナがはみ出さないように注意して走査する必要があっ
た。
However, if the scanner extends beyond the edge of the paper and scans, there is a risk that the read information pattern will be used as the read information, so to prevent this, a wide blank area is created between the edges of the paper and the characters. It was necessary to scan with care so that the scanner did not protrude from the paper.

従って、値札等の用紙を大きくしなければならないので
不経済であり、また注意を払ってスキャナを走査しなけ
ればならないので、操作性が悪い欠点があった。
Therefore, the size of paper for price tags, etc. must be large, which is uneconomical, and the scanner must be used with great care, resulting in poor operability.

本発明は前述の如き欠点を改善したものであり、誤った
識別信号を出力せず、且つ操作性に優れた光学的文字読
取装置を提供することを目的とするものである。
The present invention has been made to improve the above-mentioned drawbacks, and it is an object of the present invention to provide an optical character reading device that does not output an erroneous identification signal and has excellent operability.

以下実施例について詳細に説明する。第1図は本発明の
実施例のブロック線図であり、1はスキャナ、2は文字
等の記載された用紙、3,3′は光源、4はレンズ系、
5は一次元又は二次元に配列された光学センサ、6は2
値化回路、7は識別部、8はフォーマットチェック部、
9は電源部である。
Examples will be described in detail below. FIG. 1 is a block diagram of an embodiment of the present invention, in which 1 is a scanner, 2 is paper with characters written on it, 3 and 3' are light sources, 4 is a lens system,
5 is an optical sensor arranged in one or two dimensions, 6 is 2
digitization circuit, 7 is an identification section, 8 is a format check section,
9 is a power supply section.

スキャナ1を手に持ち、文字が記載されている用紙2上
を水平方向に移動させ、光源3,3′で用紙2上を照明
して情報パターンをレンズ系4を介して光学センサ5上
に結像させ、光学センサ5からの出力信号を2値化回路
6で文字領域と背景領域とに対応した2値化信号に変換
して、識別部7に加える。
Hold the scanner 1 in your hand, move it horizontally over the paper 2 on which characters are written, illuminate the paper 2 with the light sources 3 and 3', and transfer the information pattern onto the optical sensor 5 via the lens system 4. The image is formed, and the output signal from the optical sensor 5 is converted into a binary signal corresponding to the character area and the background area by the binarization circuit 6, and the signal is applied to the identification section 7.

識別部7は2値化回路6より加えられた2値化信号を処
理して文字の識別を行ない識別信号をフォーマットチェ
ック部8に加えるものであり、スキャナ1を用紙2の端
からはみ出して走査した場合に誤って読取られた情報パ
ターンを示す信号は識別不能として識別不能信号を出力
し、フォーマットチェック部8に加える。
The identification unit 7 processes the binary signal applied from the binarization circuit 6 to identify characters, and applies the identification signal to the format check unit 8, and scans the paper 2 with the scanner 1 extending beyond the edge thereof. In this case, the signal indicating the incorrectly read information pattern is determined to be unidentifiable and is output as an unidentifiable signal, which is sent to the format check section 8.

又識別部7では1つの文字を識別し、次の文字を識別す
るまでの時間をカウントしており、この時間が一定時間
以上となった時、1行の読取が終了したとして1行の読
取が終了したことを表わす信号をフォーマットチェック
部8に加える。
In addition, the identification unit 7 identifies one character and counts the time until the next character is identified, and when this time exceeds a certain time, it is assumed that one line has been read and the line is read. A signal indicating that the process has been completed is applied to the format check section 8.

,フォーマットチェック部8は、例えばマイクロコンピ
ュータと識別結果格納用のメモリから構成されているも
のであり、その動作を第2図のフローチャートを参照し
て説明する。
, the format check section 8 is composed of, for example, a microcomputer and a memory for storing identification results, and its operation will be explained with reference to the flowchart in FIG.

文字の読取りが開始されるとフォーマットチェック部8
では、まず識別部7からの信号を記憶するメモリの先頭
アドレスをセットし、次にマイクロコンピュータのプロ
グラムにより、識別部7からの信号が識別信号か或いは
識別不能信号かを判断する。
When character reading starts, the format check section 8
First, the start address of the memory for storing the signal from the identification section 7 is set, and then a microcomputer program determines whether the signal from the identification section 7 is an identification signal or an unidentifiable signal.

そしてこの判断結果が識別不能信号である間はメモリに
は信号を格納しないでおき、一連の読取操作による最初
の識別信号が得られた時点を契機として以降の識別部7
からの信号を全てメモリに格納する。
Then, while the judgment result is an unidentifiable signal, the signal is not stored in the memory, and the identification unit 7
All signals from are stored in memory.

換言すると最初に識別信号を得ると該信号を予めセット
されているメモリの先頭アドレスに格納し、以降信号を
得る毎にメモリのアドレスを+1し、そのアドレスに識
別部7からの信号を順次格納するものである。
In other words, when an identification signal is obtained for the first time, the signal is stored in the first address of the memory set in advance, and each time a signal is obtained thereafter, the address of the memory is incremented by 1, and the signals from the identification unit 7 are sequentially stored in that address. It is something to do.

識別部7より1行の読取が終了したことを表わす信号が
加えられるとメモリに信号をセットすることをやめメモ
リのアドレスを1つ戻してメモリにセットされている内
容のチェックを行なう。
When a signal indicating that reading of one line has been completed is applied from the identification section 7, the signal is stopped being set in the memory, the memory address is returned by one, and the contents set in the memory are checked.

チェックした結果が識別不能信号である場合には更にア
ドレスを1つ戻して同様の操作を繰返して行ない、チェ
ック結果が識別信号となったなら、メモリの先頭アドレ
スからチェック結果が最初に識別信号となったアドレス
までの内容を出力させる。
If the check result is an unidentifiable signal, move back one address and repeat the same operation. If the check result becomes an identification signal, the check result is first identified as an identification signal from the first address of the memory. Outputs the contents up to the new address.

例えばスキャナ1で用紙2の1行目と2行目とを連続し
て走査した場合、識別不能信号を「?」で、1行の読取
が終了したことを表わす信号をrLFJで表わすとする
と識別部7より出力される信号はr?t?,ly2−3
t?,?+LF,?,3+2,l,?,?」となりフォ
ーマットチェック部8に加えられる。
For example, if scanner 1 continuously scans the first and second lines of paper 2, the unidentifiable signal is represented by "?", and the signal indicating that reading of one line has been completed is represented by rLFJ. The signal output from section 7 is r? T? ,ly2-3
T? ,? +LF,? ,3+2,l,? ,? ” and is added to the format check section 8.

フォーマットチェック部8では1行の両端の「?」で示
される識別不能信号を除去して「1,2,3」とl’−
3.2,IJとを示す識別信号を出力する。
The format check unit 8 removes unidentifiable signals indicated by "?" at both ends of one line and converts them into "1, 2, 3" and l'-
3.2, an identification signal indicating IJ is output.

もし、1行目の数字「2」が不鮮明で識別できなかった
場合には、識別部7より出力される信号は「?,?,
1 ,?,3,?,?,LF,?,?,3,2,1,?
,?」となり、フォーマットチェック部8に加えられる
If the number "2" on the first line is unclear and cannot be identified, the signal output from the identification section 7 will be "?,?,
1,? ,3,? ,? ,LF,? ,? ,3,2,1,?
,? ” and is added to the format check section 8.

フォーマットチェック部8では第2図に示したフローチ
ャートに従って動作して「1,”;’,3」とl’−3
. 2 , IJとを示す識別信号を出力する。
The format check unit 8 operates according to the flowchart shown in FIG.
.. 2, outputs an identification signal indicating IJ.

以上説明したように、本発明は、文字の識別を行い、識
別信号を出力する識別部に於いて、スキャナを用紙の端
からはみ出して走査した場合に誤って読取られた情報パ
ターンを示す信号を識別不能として識別不能信号を出力
してフォーマットチェック部に加え、フォーマットチェ
ック部に於いて前記識別不能信号を除去する構成となっ
ているので、用紙の端をはみ出して走査した場合に読取
った誤った情報パターンを処理して誤った文字の識別信
号を出力する惧れはなくなる。
As explained above, the present invention has an identification unit that identifies characters and outputs an identification signal, which outputs a signal indicating an information pattern that is erroneously read when the scanner is scanned beyond the edge of the paper. The structure is such that an unidentifiable signal is output as unidentifiable and added to the format check section, and the unidentifiable signal is removed in the format check section. There is no risk of processing the information pattern and outputting an incorrect character identification signal.

用紙の端からはみ出して走査しても誤った識別信号を出
力する惧れがないので操作性が向上すると共に、用紙の
端と文字との余白を小さくすることができるので用紙に
効率良く文字を記載することができ経済的でもある。
There is no risk of outputting an erroneous identification signal even if the paper is scanned beyond the edge of the paper, which improves operability, and the margin between the edge of the paper and the characters can be reduced, making it possible to efficiently write characters on the paper. It is also economical.

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

第1図は本発明の実施例のブロック線図、第2図はフォ
ーマットチェック部の動作を説明するフローチャートで
ある。 1はスキャナ、2は用紙、3,3′は光源、4はレンズ
系、5は光学センサ、6は2値化回路、7は識別部、8
はフォーマットチェック部、9は電源部である。
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a flowchart explaining the operation of the format check section. 1 is a scanner, 2 is paper, 3, 3' is a light source, 4 is a lens system, 5 is an optical sensor, 6 is a binarization circuit, 7 is an identification unit, 8
9 is a format check section, and 9 is a power supply section.

Claims (1)

【特許請求の範囲】[Claims] 1 用紙上を照明する光源、前記用紙からの反射光を入
射させて電気信号に変換する光電変換素子を備えたスキ
ャナを手動走査する光学的文字読取装置に於いて、前記
光電変換素子の出力信号を二値化する二値化回路、該二
値化回路からの二値信号に基づいて前記用紙に記載され
ている文字、記号等を識別して、識別信号或いは識別不
能信号を出力する識別部、該識別部からの識別信号或い
は識別不能信号を前記識別部から出力された順番に記憶
する記憶手段、該記憶手段に記憶されている識別信号或
いは識別不能信号のうちの一連の文字列の両端に1個或
いは複数個連続して存在する識別不能信号を除去して出
力するフォーマットチェック部を備えたことを特徴とす
る光学的文字読取装置。
1. In an optical character reading device that manually scans a scanner equipped with a light source that illuminates a sheet of paper and a photoelectric conversion element that inputs reflected light from the sheet and converts it into an electrical signal, the output signal of the photoelectric conversion element is a binarization circuit that binarizes the information, and an identification unit that identifies characters, symbols, etc. written on the paper based on the binary signal from the binarization circuit, and outputs an identification signal or an unidentifiable signal. , storage means for storing the identification signals or unidentifiable signals from the identification section in the order in which they are output from the identification section, and both ends of a series of character strings among the identification signals or unidentifiable signals stored in the storage means. 1. An optical character reading device comprising: a format check section that removes and outputs one or more consecutive unidentifiable signals.
JP54017044A 1979-02-16 1979-02-16 optical character reader Expired JPS5836391B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54017044A JPS5836391B2 (en) 1979-02-16 1979-02-16 optical character reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54017044A JPS5836391B2 (en) 1979-02-16 1979-02-16 optical character reader

Publications (2)

Publication Number Publication Date
JPS55110376A JPS55110376A (en) 1980-08-25
JPS5836391B2 true JPS5836391B2 (en) 1983-08-09

Family

ID=11932986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54017044A Expired JPS5836391B2 (en) 1979-02-16 1979-02-16 optical character reader

Country Status (1)

Country Link
JP (1) JPS5836391B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2504775B2 (en) * 1987-06-05 1996-06-05 住友電気工業株式会社 Optical character reader
AU674088B2 (en) * 1993-05-10 1996-12-05 Psc Inc. Bar code decoding system

Also Published As

Publication number Publication date
JPS55110376A (en) 1980-08-25

Similar Documents

Publication Publication Date Title
JP2553608B2 (en) Optical character reader
JPS5836391B2 (en) optical character reader
JPS62162181A (en) Optical reader
US5052042A (en) Method and apparatus for using microfilm for data input into a computer
JPS62128380A (en) Character-bar code reader
JPS586027Y2 (en) character reading device
JP2906608B2 (en) Optical character reader
JPS61289476A (en) Format forming system for character reader
JP2833040B2 (en) Optical character reader
JP2768814B2 (en) Optical character reader
JPH0478981A (en) Optical character reader
JPH04213179A (en) Character reader
JPH0469785A (en) Optical information reader
JPS61147379A (en) Optical character reader
JPS61290581A (en) Extracting and storing device for retrieval information
JP2925275B2 (en) Optical character reader
JPS63187870A (en) Copying machine for clean copy
JPH01199285A (en) Optical character reader
JPH0217590A (en) Optical character reader
JPS63292373A (en) Shading correcting system
JPS60179888A (en) Optical reader
JPS63111591A (en) Optical character reader
JPS61166265A (en) Optical reader
JPS594064B2 (en) character reading device
JPH04251395A (en) Optical character/graphic reader