JPH0559476B2 - - Google Patents

Info

Publication number
JPH0559476B2
JPH0559476B2 JP62104822A JP10482287A JPH0559476B2 JP H0559476 B2 JPH0559476 B2 JP H0559476B2 JP 62104822 A JP62104822 A JP 62104822A JP 10482287 A JP10482287 A JP 10482287A JP H0559476 B2 JPH0559476 B2 JP H0559476B2
Authority
JP
Japan
Prior art keywords
mark
coordinates
data
information mark
control
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 - Fee Related
Application number
JP62104822A
Other languages
Japanese (ja)
Other versions
JPS63271674A (en
Inventor
Mamoru Nakayama
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.)
ICS TSUSHO KK
Original Assignee
ICS TSUSHO KK
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 ICS TSUSHO KK filed Critical ICS TSUSHO KK
Priority to JP62104822A priority Critical patent/JPS63271674A/en
Priority to US07/177,595 priority patent/US5059775A/en
Priority to DE3850696T priority patent/DE3850696T2/en
Priority to EP88105854A priority patent/EP0288820B1/en
Publication of JPS63271674A publication Critical patent/JPS63271674A/en
Publication of JPH0559476B2 publication Critical patent/JPH0559476B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] この発明はフアクシミリを利用した帳票等文書
の自動入力方法とその装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method and apparatus for automatically inputting documents such as forms using facsimile.

[従来の技術] 従来、フアクシミリから読み取つた信号を計算
機等の情報処理装置へ入力する方式には特公昭53
−26945号に開示されたものが知られている。
[Prior art] Conventionally, a method for inputting signals read from a facsimile to an information processing device such as a computer was developed in 1973.
-26945 is known.

第8,9図において、図示外のフアクシミリで
帳票1を走査し、欄3の位置に対応する部分のみ
入力装置で読み取り、欄3内にマーク4が有るか
どうか判定するようになつている。欄3の位置は
帳票1上の開始マーク2の検出信号の立上がりで
始まるクロツク信号の数を係数して認識してい
る。
In FIGS. 8 and 9, a form 1 is scanned by a facsimile machine not shown, and only the portion corresponding to the position of column 3 is read by an input device to determine whether or not mark 4 is present in column 3. The position in column 3 is recognized by calculating the number of clock signals starting at the rising edge of the detection signal of start mark 2 on form 1.

[従来技術の問題点] しかしながら、従来の自動入力方式にあつて
は、開始マーク2を同期用の基準信号としている
ので、開始マーク2の読み取り後に何らかの外乱
で同期が崩れると欄3の位置が狂つてしまい、マ
ーク4の有無の読み取りが失敗に終るということ
があり、データ伝送の効率が低いという問題があ
つた。
[Problems with the prior art] However, in the conventional automatic input method, the start mark 2 is used as the reference signal for synchronization, so if the synchronization is broken due to some disturbance after reading the start mark 2, the position in column 3 may change. This caused the problem of low data transmission efficiency, as reading of the presence or absence of mark 4 sometimes ended in failure.

又、これらマーク2,4は単に有無だけの信号
を与えるため、汚れがあつたり、マーク2,4の
黒色が薄くなり灰色に近くなつたりした場合、正
確な読み取りが不可能になるという問題もあつ
た。
In addition, since these marks 2 and 4 simply give a signal indicating their presence or absence, if they become dirty or the black of the marks 2 and 4 becomes thinner and almost gray, there is a problem that accurate reading becomes impossible. It was hot.

更に、第9図の帳票1にあつては分類欄10に
書き込まれた分類マーク11により帳票1の書式
分類を行つているが、分類マーク11は分類欄1
0の定められた領域に、正確な位置に印刷又は記
入しなければならず、正確をきすために、簡単な
ものに限られていた。従つて多枝多種にわたる変
化に富んだ帳票には対応ができなかつた。
Furthermore, in the case of form 1 in FIG.
It was necessary to print or write in a predetermined area of 0 at an accurate position, and in order to ensure accuracy, it was limited to simple items. Therefore, it was not possible to handle diverse forms with many branches.

[発明の目的] この発明は上記問題点に鑑みなされたもので外
乱によるノイズがあつても正確に情報を読み取る
ことができるとともに、記入段階での厳しい精度
や準備条件を必要とせず、多品種で変化に富んだ
膨大な数の帳票でも、容易に正確に整理分類して
入力できる文書の自動入力方法とその装置を提供
することを目的としている。
[Purpose of the Invention] This invention was made in view of the above problems, and it is possible to read information accurately even in the presence of noise caused by disturbance, and it does not require strict accuracy or preparation conditions at the entry stage, and can be used in a wide variety of products. The purpose of the present invention is to provide an automatic document input method and device that can easily and accurately organize and classify even a huge number of diverse forms.

[問題点を解決するための手段] 先行後行の大小線分が直線状に連続して配列さ
れた制御マークを用紙の始めに記入し、先行後行
の大小線分が直線状に連続して配列された情報マ
ークを前記制御マークの後に該用紙に記入し、制
御マークと情報マークを走査装置で光電変換し
て、前記制御マークの座標を原点にして前記情報
マークの座標を算出し、次に制御マークについて
その線分の配列順に大小を比較して2進数を算出
して制御マークの2進数コードを定め、この2進
数コードに対応する書式をフアイル装置から読み
出し、この書式から予め定めた情報マークの基準
座標及び2進数コードを読み出し、情報マークに
ついて算出座標と基準座標とを比較し、次に、情
報マークを制御マークと同様に2進数コード化す
るようにし、この2進数コードと基準2進数コー
ドとを比較し、この比較結果に基づき情報マーク
のデータを取り込むか取り込まないか判断するよ
うにした。
[Means for solving the problem] A control mark in which the large and small line segments of the preceding and succeeding lines are arranged in a straight line is written at the beginning of the paper, and the large and small line segments of the preceding and following lines are arranged in a straight line. write information marks arranged in the same manner on the paper after the control marks, photoelectrically convert the control marks and the information marks with a scanning device, and calculate the coordinates of the information marks using the coordinates of the control marks as the origin; Next, the binary code of the control mark is determined by comparing the sizes of the control marks in the order in which the line segments are arranged, calculating the binary code, reading out the format corresponding to this binary code from the file device, and predetermining the format from this format. The reference coordinates and binary code of the information mark are read out, the calculated coordinates and the reference coordinates are compared for the information mark, and then the information mark is converted into a binary code in the same way as the control mark, and this binary code and The data is compared with the standard binary code, and based on the comparison result, it is determined whether or not to import the data of the information mark.

[作 用] 制御マーク及び情報マークにおいて、各線分を
相対的に比較して2進数を抽出し、これにより書
式を特定して、該書式における情報マークのある
べき基準座標と基準2進数コードとを読み出す。
[Function] For control marks and information marks, each line segment is relatively compared to extract a binary number, the format is specified from this, and the reference coordinates and reference binary code where the information mark should be located in the format are determined. Read out.

次に、走査装置から読み取つた情報マークの開
始位置座標と基準座標とを比較して用紙読み込み
時の正常異常を判断する。又、抽出した2進数を
基準2進数コードと比較し、この比較結果に基づ
き情報マークのデータを整理して取り込み、その
データを以後の情報処理装置に出力する。
Next, the start position coordinates of the information mark read by the scanning device are compared with the reference coordinates to determine whether the paper is normal or abnormal when reading the paper. Furthermore, the extracted binary number is compared with a reference binary code, and based on the comparison result, the data of the information mark is organized and taken in, and the data is output to a subsequent information processing device.

[実施例] 以下この発明の一実施例を図面に基づいて説明
する。
[Example] An example of the present invention will be described below based on the drawings.

第1図は本発明に用いられる入力用用紙1の形
式図であり、1は任意サイズの帳票等の用紙であ
る。用紙1上には制御マークとしての分類マーク
20が印刷又は記入により表示されており、分類
マーク20は長さの異なる2本以上の、例えば5
本の線分a,b…eが水平方向に連続して並べら
れて構成され、各線分の長さを先行と後行の順に
連続して相対的に比較されるものである。
FIG. 1 is a format diagram of an input paper 1 used in the present invention, and 1 is a paper such as a form of any size. A classification mark 20 as a control mark is displayed on the paper 1 by printing or writing.
The book consists of line segments a, b...e arranged in succession in the horizontal direction, and the lengths of each line segment are successively and relatively compared in the order of preceding and succeeding lines.

この分類マーク20は線分aとそれ以前の0
と、もしくは、即ちに線分aと線分bとを比較し
て大小を判断し、次に線分bと線cを比較する、
以下同様に線分dと線分eとを比較して一連の長
さの大小を判断するものである。
This classification mark 20 is line segment a and 0 before it.
Or, in other words, compare line segment a and line segment b to determine their size, and then compare line segment b and line c.
Similarly, the line segment d and the line segment e are compared to determine the length of the series.

分類マーク20の下方には所定距離離隔して情
報マークとしての宛先に関するマーク21が表示
されている。
Below the classification mark 20, a mark 21 regarding the destination as an information mark is displayed at a predetermined distance apart.

又マーク21の下方には所定距離離隔して情報
マークとしての発信元に関するマーク22が表示
されている。マーク21の接近した下方には宛先
のデータである“AAAA”が任意に記入、印刷
される。
Further, below the mark 21, a mark 22 relating to the sender is displayed as an information mark at a predetermined distance apart. Destination data "AAAA" is optionally written and printed below the mark 21.

更に、マーク22の下方には所定距離離隔して
情報マークとしての伝票種類に関するマーク23
が表されている。マーク22の接近した下方には
発信元のデータである“BBBB”が任意に記入、
印刷される。
Further, below the mark 22, a mark 23 related to the document type is provided as an information mark at a predetermined distance apart.
is represented. The sender's data "BBBB" is arbitrarily written below the mark 22.
printed.

又マーク23の接近した下方には伝票種類のデ
ータである“CCCC”が任意に記入、印刷され
る。
Also, below the mark 23, "CCCC", which is the data of the slip type, is arbitrarily written and printed.

マーク21〜23は分類マーク20と同様に長
さの異なる2本以上の、例えば5本の線分a,b
…eが水平方向に連続して夫々並べられている。
これらの線分a,b,…eも分類マーク20と同
様に各長さを先行と後行の順に連続して相対的に
比較されるものである。
Similar to the classification mark 20, the marks 21 to 23 are two or more lines of different lengths, for example, five line segments a and b.
...e are arranged consecutively in the horizontal direction.
Similarly to the classification mark 20, the lengths of these line segments a, b, . . .

これら各マーク20〜23の更に下方には、そ
の他、通常の文字や図形等が任意に記入、印刷さ
れる。又各マーク20〜23を構成する各線分a
〜eの長さは意図的に予め所定の長さに夫々決め
各マークの有する意味を特定する。又各線分a〜
eの線幅は後述する走査装置の走査線の少なくと
も一本以上の太さである。
Further below each of these marks 20 to 23, other ordinary characters, figures, etc. are arbitrarily written or printed. Also, each line segment a constituting each mark 20 to 23
The lengths of ~e are intentionally determined in advance to be predetermined lengths, and the meaning of each mark is specified. Also, each line segment a~
The line width of e is the thickness of at least one scanning line of a scanning device to be described later.

ある特定の分類マーク20下では、マーク21
〜23の記入開始位置の座標値(x1〜y3)等は
用紙1で、上分類マーク20の記入開始位置
(0,0)を基準に予め定めておくようにする。
Under a certain classification mark 20, mark 21
The coordinate values (x1 to y3) of the entry start position of 23 are predetermined on paper 1 based on the entry start position (0, 0) of the upper classification mark 20.

第2図は文書の自動入力装置の全体構成を示
し、24は走査装置のフアクシミリ、32は中央
処理装置(CPU)、25はフアクシミリ24の代
用となるアダプタ、29はハードデイスク等のフ
アイル装置、31はデイスプレイ装置のCRTで
ある。中央処理装置32内には主バツフアメモリ
26、2進数読取り装置27、イメージメモリ3
3、比較回路28及び合成回路30、判断回路3
4が設けられている。
FIG. 2 shows the overall configuration of the automatic document input device, in which 24 is a facsimile scanning device, 32 is a central processing unit (CPU), 25 is an adapter that substitutes for the facsimile 24, 29 is a file device such as a hard disk, 31 is a CRT display device. The central processing unit 32 includes a main buffer memory 26, a binary number reader 27, and an image memory 3.
3. Comparison circuit 28, synthesis circuit 30, judgment circuit 3
4 are provided.

フアクシミリ24やアダプタ25は公衆回線や
フアクシミリ(F)網を介して遠地のフアクシミ
リと交信可能であり、これらは用紙1上に記入さ
れた各マーク20〜23等を考査して光電変換
し、それらのイメージデータを主バツフアメモリ
26に与えるものである。
The facsimile 24 and the adapter 25 can communicate with facsimile machines in faraway places via public lines and facsimile (F) networks, and they examine the marks 20 to 23 written on the form 1 and photoelectrically convert them. This image data is given to the main buffer memory 26.

これらのイメージデータは、CPU32により
フアイル装置29から読み出された基準データと
比較演算され、途中結果や最終結果がCRT31
上に表示される。又この演算最終結果はCPU3
2からホストコンピユータやその他情報処理装置
に数字コードとなつて送られるようになつてい
る。
These image data are compared with the reference data read from the file device 29 by the CPU 32, and intermediate results and final results are stored on the CRT 31.
displayed above. Also, the final result of this calculation is CPU3
2, the code is sent as a numerical code to a host computer or other information processing device.

主バツフアメモリ26には用紙1上の各マーク
20〜23を含め、“AAAA”等や用紙1上に記
載されたその他の文字や数字のイメージデータが
取り込まれる。2進数読取り装置27には分類マ
ーク20等のイメージデータが、又イメージメモ
リ33には“AAAA”等やその他の記入文字等
が夫々分離されて入力される。
Image data of "AAAA" and other characters and numbers written on the paper 1, including the marks 20 to 23 on the paper 1, are captured in the main buffer memory 26. Image data such as the classification mark 20 is input to the binary number reading device 27, and input characters such as "AAAA" and other written characters are separated and input to the image memory 33.

2進数読取り装置27はマーク20〜23につ
いてその各線分を配列順に大小を比較して2進数
を算出するものである。
The binary number reading device 27 calculates a binary number by comparing each line segment of the marks 20 to 23 in order of arrangement.

比較回路28は2進数読取り装置27で読み取
つたデータをフアイル装置29からのフアイルデ
ータとを比較処理するものである。
The comparison circuit 28 compares the data read by the binary number reading device 27 with the file data from the file device 29.

合成回路30は比較回路28からの処理結果と
イメージメモリ33からのイメージデータとを合
成し、CRT31に出力したり、ホストコンピユ
ータ等へ出力するものである。
The synthesis circuit 30 synthesizes the processing result from the comparison circuit 28 and the image data from the image memory 33, and outputs it to the CRT 31 or to a host computer or the like.

比較回路28はワークエリアのRAM35を有
し、フアイル装置29内には第4図に示すような
所定のデータフアイルが予め多数記憶される大容
量メモリから構成されている。
The comparator circuit 28 has a RAM 35 as a work area, and the file device 29 includes a large capacity memory in which a large number of predetermined data files as shown in FIG. 4 are stored in advance.

判断回路34は比較回路28の比較結果を分析
し判断するものである。
The judgment circuit 34 analyzes the comparison result of the comparison circuit 28 and makes a judgment.

第3図は2進数読取り装置27の内部構成を示
し、12は主バツフアメモリ26からマーク20
〜23のイメージデータを入力する従バツフアメ
モリで、13は各種タイミングパルスPiを出力す
る制御回路である。
FIG. 3 shows the internal structure of the binary number reading device 27, in which 12 indicates the mark 20 from the main buffer memory 26.
~23 is a slave buffer memory that inputs image data, and 13 is a control circuit that outputs various timing pulses Pi.

又制御回路13は、制御マークである分類マー
ク20の記入開始点を(0,0)とし、その後読
み取られるマーク21〜23の記入開始座標
(x1〜y3)等を読取り、RAM35に格納する。
Further, the control circuit 13 sets the writing start point of the classification mark 20, which is a control mark, at (0, 0), reads the writing start coordinates (x1 to y3) of the marks 21 to 23 read thereafter, and stores them in the RAM 35.

14は従バツフアメモリ12から分離された一
個の島画像が一時記憶されるとともに、その長さ
を計測する計測回路である。
Reference numeral 14 denotes a measuring circuit that temporarily stores one island image separated from the slave buffer memory 12 and measures its length.

15は計測回路14からの各計数値が与えられ
るシフトレジスタで、従バツフアメモリ12中の
各島画像の計数値を独立に記憶するように、例え
ば複数個15a〜15nが設けられている。
Reference numeral 15 denotes a shift register to which each count value from the measurement circuit 14 is given, and a plurality of shift registers 15a to 15n, for example, are provided so as to independently store the count values of each island image in the slave buffer memory 12.

16は従比較回路で、例えば複数個の16a〜
16mからなり、従比較回路16aはシフトレジ
スタ15aと15bの計数値を互いに比較し、判
定結果に応じて2進数の0または1を出力する。
16 is a secondary comparison circuit, for example, a plurality of 16a--
The secondary comparator circuit 16a compares the count values of the shift registers 15a and 15b with each other, and outputs a binary number 0 or 1 depending on the determination result.

同様に従比較回路16bはシフトレジスタ15
aと15cの計数値を互いに比較し、判定結果に
応じて2進数の0又は1を出力する。以下同様に
従比較回路16mはシフトレジスタ15mと15
nの計数値を比較する。
Similarly, the comparative comparator circuit 16b is connected to the shift register 15.
The count values of a and 15c are compared with each other, and a binary number of 0 or 1 is output depending on the determination result. Similarly, the comparative comparator circuit 16m is connected to the shift registers 15m and 15.
Compare the count values of n.

17はサム回路で、従比較回路16a〜16m
から与えられる0,1からなる2進数を順序に従
い整理し、比較回路28のRAM35へ出力す
る。
17 is a sum circuit, and secondary comparison circuits 16a to 16m
The binary numbers consisting of 0 and 1 given from are arranged in order and output to the RAM 35 of the comparator circuit 28.

次に文書の自動入力装置の動作について第4図
乃至第7図を用いて説明する。
Next, the operation of the automatic document input device will be explained using FIGS. 4 to 7.

用紙1をフアクシミリ24で走査し、分類マー
ク20等を光電変換して主バツフアメモリ26に
イメージデータとして格納する。あるいは、遠地
のフアクシミリで用紙1を走査し、同データをア
ダプタ25を介して主バツフアメモリ26に取り
込む。
The paper 1 is scanned by a facsimile 24, and the classification marks 20 and the like are photoelectrically converted and stored in the main buffer memory 26 as image data. Alternatively, the paper 1 is scanned by a facsimile at a distant location, and the data is imported into the main buffer memory 26 via the adapter 25.

主バツフアメモリ26内のイメージデータは分
類マーク20等の線分イメージデータとその他の
文字等のイメージデータとに分離され、分類マー
ク20等の線分イメージデータは2進数読取り装
置27に、“AAAA”や文字等のイメージデータ
はイメージメモリ33に夫々移される。
The image data in the main buffer memory 26 is separated into line segment image data such as the classification mark 20 and image data such as other characters. Image data such as letters and characters are respectively transferred to the image memory 33.

同時に、従バツフアメモリ12内の各マーク2
0〜23の開始位置座標が、制御回路13により
読み出される。即ち、分類マーク20の開始位置
を(0,0)原点とし、宛先に関するマーク21
の開始位置座標(x1,y1)、発信元に関するマー
クの(x2,y2)及び伝票種類に関するマーク2
3の(x3,y3)を読み取り、比較回路28の
RAM35に第6図に示す41〜43のアドレス
に格納する。
At the same time, each mark 2 in the slave buffer memory 12
Starting position coordinates from 0 to 23 are read out by the control circuit 13. That is, the starting position of the classification mark 20 is set as the origin (0,0), and the mark 21 regarding the destination is
starting position coordinates (x1, y1), mark (x2, y2) regarding the sender, and mark 2 regarding the document type.
3 (x3, y3) is read and the comparator circuit 28
The data is stored in the RAM 35 at addresses 41 to 43 shown in FIG.

次に、2進数読取装置27では分類マーク20
の2進化が行なわれる。
Next, in the binary number reading device 27, the classification mark 20
A binary evolution is performed.

第3図において、制御回路13は従バツフアメ
モリ12から分類マーク20の最初の部分イメー
ジデータの線分aを分離し、計測回路14に与え
る。計測回路14はこの線分aの長さを自己の画
素を単位に計測し、制御回路13はこの計測値a
をシフトレジスタ15aに与える。
In FIG. 3, the control circuit 13 separates the line segment a of the first partial image data of the classification mark 20 from the slave buffer memory 12 and supplies it to the measurement circuit 14. The measuring circuit 14 measures the length of this line segment a in units of its own pixels, and the control circuit 13 uses this measured value a.
is applied to the shift register 15a.

続いて、制御回路13はまず計測回路14をク
リアし、従バツフアメモリ12から次の線分bを
分離し、計測回路14に与える。ここでも計測回
路14は線分bの長さを計測し、この計測値bは
シフトレジスタ15bに与えられる。
Subsequently, the control circuit 13 first clears the measurement circuit 14, separates the next line segment b from the slave buffer memory 12, and supplies it to the measurement circuit 14. Here again, the measuring circuit 14 measures the length of the line segment b, and this measured value b is given to the shift register 15b.

以下同様にして、次から次と左から右方向へ連
なる順序に従つて線分c…eが分離され、長さを
計測されて、シフトレジスタ15c…eに夫々与
えられる。
Thereafter, in the same manner, line segments c...e are separated one after another in the order of successive lines from left to right, their lengths are measured, and the line segments are provided to the shift registers 15c...e, respectively.

次に、制御回路13はシフトレジスタ15aの
計測値aとシフトレジスタ15bの計測値bとを
読み出し、従比較回路16aに与える。
Next, the control circuit 13 reads the measured value a of the shift register 15a and the measured value b of the shift register 15b, and supplies them to the secondary comparison circuit 16a.

従比較回路16aはこれら計測値aとbとを比
較し、例えば、a>bならば2進数の“0”をa
<bならば“1”を出力し、(この場合はa>b
なので“0”を出力し)サム回路17の第1ビツ
ト目に格納する。
The secondary comparator circuit 16a compares these measured values a and b, and for example, if a>b, the binary number "0" is replaced by a.
If <b, output “1”, (in this case a>b
Therefore, it outputs "0" and stores it in the first bit of the sum circuit 17.

ほぼ同時に制御回路3はシフトレジスタ15b
の計測値bとシフトレジスタ15cの計測値cを
読み出し縦比較回路16bに与える。縦比較回路
16bはこれら計測値bとcとを比較し、b<c
なので“1”を出力し、サム回路17の第2ビツ
ト目に格納する。
Almost at the same time, the control circuit 3 shifts the shift register 15b.
The measured value b of the shift register 15c and the measured value c of the shift register 15c are read out and applied to the vertical comparison circuit 16b. The vertical comparison circuit 16b compares these measured values b and c, and determines that b<c
Therefore, it outputs "1" and stores it in the second bit of the sum circuit 17.

以下同様にして、制御回路13はシフトレジス
タ15c…15eの計測値c〜eを夫々読み出し
て、縦比較回路16bに与え、連続した先行する
データと後行するデータの差を演算させ、その大
小により0又は1の2進数を夫々出力させ、サム
回路17の対応するビツト目に夫々格納する。
Similarly, the control circuit 13 reads out the measured values c to e of the shift registers 15c...15e, respectively, and supplies them to the vertical comparison circuit 16b, which calculates the difference between successive preceding data and succeeding data, and calculates the difference between the successive preceding data and subsequent data. A binary number of 0 or 1 is outputted and stored in the corresponding bit of the sum circuit 17, respectively.

最後に制御回路13はサム回路17中のビツト
データ01…をシリアル又はパラレルに読み出し、
RAM35のアドレス40に第6図のように格納
する。
Finally, the control circuit 13 reads bit data 01... in the sum circuit 17 serially or in parallel,
The data is stored at address 40 in the RAM 35 as shown in FIG.

このようにして連続して描かれた分類マーク2
0の線分のa〜eの大きさの大小比較により2進
数1011が解読される。
Classification marks 2 drawn continuously in this way
The binary number 1011 is decoded by comparing the sizes of a to e of the 0 line segment.

同様にして、連続して描かれたマーク21乃至
23の線分のa〜eの大きさを比較して2進数
1010,0110,0101が夫々解読される。
Similarly, the sizes of line segments a to e of marks 21 to 23 drawn consecutively are compared and a binary number is determined.
1010, 0110, and 0101 are decoded respectively.

第5図イは分類マークの2進数化の様子を、ロ
は宛先マーク21の2進数化の様子を、ハは発信
マーク22の2進数化の様子を、ニは伝票種類マ
ーク23の2進数化の様子を夫々示している。
Figure 5 A shows how the classification mark is converted into a binary number, B shows how the destination mark 21 is converted into a binary number, C shows how the sender mark 22 is converted into a binary number, and D shows the binary number of the slip type mark 23. Each shows the state of change.

これら2進数1010,0110,0101は、RAM35
のアドレス41,42,43に第6図のように
夫々格納される。
These binary numbers 1010, 0110, 0101 are RAM35
are stored at addresses 41, 42, and 43, respectively, as shown in FIG.

かくして、比較回路28はRAM35中の分類
マーク20の2進数1011を目安にフアイル装置2
9内を検索してコード1011の下に総められた第4
図のデータ表を引き出して来る。このデータ表は
例えば振替伝票の書式であり、又宛先に関する2
1等の、あるべき記入開始座標値X1,Y1等及び
あるべき2進数の基準値等が共に読み出される。
In this way, the comparator circuit 28 uses the binary number 1011 of the classification mark 20 in the RAM 35 as a guide to select the file device 2.
4th search within 9 and grouped under code 1011
Pull out the data table for the diagram. This data table is, for example, the format of a transfer slip, and
1, etc., the desired entry start coordinate values X1, Y1, etc. and the desired binary reference value, etc. are read out together.

一方、第6図RAM35中のx1〜y3や2進数は
用紙1から読み取られた座標値、抽出した2進数
を示し、例えば、x1,y1はマーク21に関する
記入開始点の読み取られた座標値である。以下同
様に、マーク22等の読み取り座標値x2,y2等
が格納されている。
On the other hand, x1 to y3 and binary numbers in the RAM 35 in FIG. 6 indicate coordinate values read from paper 1 and extracted binary numbers. For example, x1 and y1 are the read coordinate values of the entry start point regarding mark 21. be. Similarly, read coordinate values x2, y2, etc. of the mark 22 etc. are stored hereafter.

次に、比較回路28はマーク20〜23の読み
取られた座標値(RAMデータ)が予め予定され
た値になつているかどうか、又実際にマーク21
〜23から読み取られた2進数(RAMデータ)
がフアイルからの基準2進数と一致しているかど
うかを比較する。
Next, the comparison circuit 28 checks whether the read coordinate values (RAM data) of the marks 20 to 23 are the predetermined values, and whether or not the marks 20 to 23 are actually the same.
Binary number read from ~23 (RAM data)
matches the reference binary number from the file.

もしこの開始座標が基準値より大幅にズレてい
ても、2進数同士が一致しているときは、開始座
標について基準値との差を補正した後のデータを
使用する。
Even if the starting coordinates deviate significantly from the reference value, if the binary numbers match, the data after correcting the difference from the reference value for the starting coordinates is used.

而して比較回路28は、マーク21等の記入開
始座標の読み取り値x1と第4図のフアイルから
の基準値x1との差を算出する。
The comparison circuit 28 then calculates the difference between the read value x1 of the writing start coordinates of the mark 21, etc., and the reference value x1 from the file shown in FIG.

即ち、第6図に示すようにマーク21等の読み
取り座標x1と基準座標x1との差、x1−X1=L1,
x2−X2=L2,x3−X3=L3を算出する。
That is, as shown in FIG. 6, the difference between the reading coordinate x1 of the mark 21 etc. and the reference coordinate x1, x1−X1=L1,
Calculate x2−X2=L2, x3−X3=L3.

判断回路34ではこれら算出結果が同一方向
(同符号で)に同一長となつているか、どうかチ
エツクする。同様に座標y1−Y1=m1,y2−Y2
=m2,y3−Y3=m3等についても同一方向に同
一長となつているか、どうかチエツクする。
The judgment circuit 34 checks whether these calculation results are the same length in the same direction (with the same sign). Similarly, the coordinates y1−Y1=m1, y2−Y2
Check whether = m2, y3 - Y3 = m3, etc. are also the same length in the same direction.

判断回路34は、もしL1,L2,L3及びm1,
m2,m3が異方向に異なる長さであれば、用紙1
の走査中に例えば、マーク20の走査後に何らか
の異常が発生したものとし、以後のデータを放棄
する、又は基準値との差異を補正した後データを
使用する。
The judgment circuit 34 determines that if L1, L2, L3 and m1,
If m2 and m3 have different lengths in different directions, paper 1
For example, it is assumed that some abnormality occurs after the mark 20 is scanned during scanning, and the subsequent data is discarded or the data is used after correcting the difference from the reference value.

L1,L2,L3及びm1,m2,m3が同一方向に略
同一長であれは、フアクシミリ24で用紙1を走
査中に分類マーク20の読み取り後、走査の飛び
越しがあつたが、マーク21以後の読み取りのに
異常がなかつたものとして以後のデータを受け入
れる。
If L1, L2, L3 and m1, m2, m3 were approximately the same length in the same direction, there would be a skip in scanning after reading the classification mark 20 while scanning paper 1 with the facsimile 24, but after mark 21 The subsequent data is accepted assuming that there was no abnormality in the reading.

判断回路34は、例えば、情報マークの宛先に
関するマーク21の読み取り座標について、x1
−X1=0,y1−Y1=0ではないが、抽出した2
進数とあるべき2進数の基準値1010とが等しい場
合は、読み取つたイメージデータが宛先に関する
マーク21であるとしてその属性のデータの宛先
“AAAA”等を受けいれる。
For example, the determination circuit 34 determines x1 regarding the reading coordinates of the mark 21 regarding the destination of the information mark.
−X1=0, y1−Y1=0, but the extracted 2
If the base number and the standard value of the binary number 1010 are equal, the read image data is considered to be the mark 21 regarding the destination, and the destination "AAAA" or the like of the attribute data is accepted.

また、比較回路28は、RAM35中の情報マ
ークとしての宛先に関するマーク21の2進数
1010を目安にフアイル装置29内を検索してコー
ド1010の下に総められた分類マークと同様なデー
タ表を引き出して来る。このデータ表は例えば、
宛先に関するデータ“AAAA”等の、あるべき
記入開始座標値X,Y等の基準値等が読み出され
る。他の情報マーク22,23に関しても同様に
各データ“BBBB”等のあるべき記入開始座標
値が読み出される。
The comparison circuit 28 also compares the binary number of the mark 21 regarding the destination as an information mark in the RAM 35.
Using 1010 as a guide, the file device 29 is searched and a data table similar to the classification marks grouped under code 1010 is retrieved. This data table is, for example,
Reference values such as the desired entry start coordinate values X, Y, etc., such as data "AAAA" regarding the destination, are read out. Regarding the other information marks 22 and 23, the entry start coordinate values where each data such as "BBBB" should be located are similarly read out.

そして、判断回路34は、各情報マークの例え
ば、宛先に関するデータ“AAAA”等のの読み
取り座標について、X,Yがあるべき基準値であ
るかどうか判断する。
Then, the determination circuit 34 determines whether or not the X and Y values of each information mark, for example, the read coordinates of the data "AAAA" regarding the destination, are at the standard values.

このようにして、制御マークの2進数コードが
判明すると、情報マーク21等の位置が判明し、
対応する2進数コードも判明して、情報マーク2
1等の属性のデータ位置が判明し、データが正確
に得られる。
In this way, when the binary code of the control mark is determined, the position of the information mark 21 etc. is determined.
The corresponding binary code was also found, and information mark 2
The data position of the first attribute is known and the data can be obtained accurately.

比較回路28はRAM35を介して、これらの
値やデータを順序に従つて合成回路30へ出力
し、合成回路30では比較回路28で解読された
制御マークの書式等のデータとイメージメモリ3
3からの属性データ“AAAA”等や手書文字等
のデータとを第7図に示すように整理しホスト計
算機に以後の処理のため出力する。
The comparison circuit 28 outputs these values and data in order to the synthesis circuit 30 via the RAM 35, and the synthesis circuit 30 outputs the data such as the format of the control mark decoded by the comparison circuit 28 and the image memory 3.
The attribute data "AAAA" etc. from 3 and data such as handwritten characters are organized as shown in FIG. 7 and output to the host computer for subsequent processing.

フアクシミリ通信によるデジタルデータ転送で
は、フアクシミリ網の送信時の回線品質が不安定
の場合もあり、これにより記入項目位置が狂う場
合があつても、本発明により記入項目位置のある
べき基準値と実際に読み取られた位置を比較し、
情報データを正しいものとして受け入れるかどう
か判断され、疑がわしいデータであつても正常性
が確認されると受け入れることができる。
When transmitting digital data via facsimile communication, the quality of the line during transmission on the facsimile network may be unstable, and even if this may cause the entry position to be incorrect, the present invention can distinguish between the reference value of the entry position and the actual value. Compare the positions read by
It is determined whether the information data is accepted as correct, and even suspicious data can be accepted if its normality is confirmed.

従つて、外乱ノイズによる走査ラインの飛越し
があつた場合のデータの放棄や受入れの判断を確
実に行い、多少のノイズがあつても正確なデータ
を抽出できるので、データ転送の効率化が図れ
る。
Therefore, it is possible to reliably determine whether to discard or accept data when a scanning line is skipped due to disturbance noise, and accurate data can be extracted even when there is some noise, making data transfer more efficient. .

又線分長の相対的比較により2進数化をは行う
ため汚れや用紙のシワ等のノイズに対しても分離
性が高く、帳票等の準備条件も緩いものであつて
よく、急ぎの場合は手書の線分記入でもデータ転
送が可能である。
In addition, since binary digitization is performed by relative comparison of line segment lengths, it is highly separable against noise such as dirt and paper wrinkles, and the preparation conditions for forms etc. may be relaxed. Data can also be transferred by handwriting line segments.

上記実施例では、即ちに線分aと線分bとを比
較して大小を判断し、次に線分bと線分cを比較
する等、以下同様にしているが、最初の線分aと
それ以前の0とを比較し、0<aなので1ビツト
目を必ず1とし、この1をエラーチエツクに使用
してもよい。
In the above embodiment, line segment a and line segment b are compared to determine their size, and then line segment b and line segment c are compared, and the same procedure is performed thereafter. However, the first line segment a and the previous 0, and since 0<a, the first bit is always set to 1, and this 1 may be used for error checking.

なお、制御マーク等の線分数a,b…を増すこ
とにより2進化数のビツト数を増加し、分類対象
数を24=16,25=32,…27=256と大幅に自由に
増加できる。
In addition, by increasing the number of line segments a, b, etc. of control marks, etc., the number of bits of the binary coded number can be increased, and the number of classification targets can be greatly increased to 24=16, 25=32, . . . 27=256.

[発明の効果] 以上説明してきたようにこの発明によれば、先
行後行の大小線分が直線状に連続して配列された
制御マークを用紙の始めに記入し、先行後行の大
小線分が直線状に連続して配列された情報マーク
を前記制御マークの後に該用紙に記入し、制御マ
ークと情報マークを走査装置で光電変換してこれ
らマークの座標を算出し、次に制御マークについ
てその線分の配列順に大小を比較して2進数を算
出して制御マークの2進数コードを定め、この2
進数コードに対応する書式をフアイル装置から読
み出し、この書式から予定される情報マークの基
準座標及び2進数コードを読み出し、前記情報マ
ークについて前記算出座標と前記基準座標とを比
較し、次に、前記情報マークを前記制御マークと
同様に2進数コード化するようにし、この2進数
コードと前記基準2進数コードとを比較し、この
比較結果に基づき前記情報マークのデータを取り
込むか否か決定するようにしたので、多少のノイ
ズに煩されることなく安定して正確なデータ入力
が可能となる。
[Effects of the Invention] As explained above, according to the present invention, a control mark in which the large and small line segments of the preceding and following lines are continuously arranged in a straight line is written at the beginning of the paper, and the large and small lines of the preceding and following lines are Information marks in which the minutes are arranged continuously in a straight line are written on the paper after the control mark, the control mark and the information mark are photoelectrically converted by a scanning device to calculate the coordinates of these marks, and then the control mark The binary code of the control mark is determined by comparing the sizes of the line segments in the order in which they are arranged, and calculating the binary code of the control mark.
A format corresponding to the hexadecimal code is read from the file device, the reference coordinates and binary code of the planned information mark are read from this format, the calculated coordinates and the reference coordinates are compared for the information mark, and then the The information mark is encoded in binary code in the same way as the control mark, the binary code is compared with the reference binary code, and it is determined whether or not to import the data of the information mark based on the comparison result. This makes it possible to input data stably and accurately without being bothered by some noise.

又入力条件が厳しくないので多品種で膨大な量
の書式を用紙上で容易に正確に整理分類できる。
Furthermore, since the input conditions are not strict, it is possible to easily and accurately organize and classify a wide variety of forms and a huge amount of them on paper.

又走査装置をフアクシミリとして用いて遠隔地
から本社等のデータセンターに直接データ転送が
できるとともに、同一構内(社内)のフアクシミ
リからも容易にデータ入力できる。
Furthermore, by using the scanning device as a facsimile machine, data can be directly transferred from a remote location to a data center such as a head office, and data can also be easily input from a facsimile machine within the same premises (in-house).

更に、入力に際し特別な熟練オペレータは不要
で誰にでも簡単にデータ転送が可能となり、コス
トを低げることができる。
Furthermore, data can be easily transferred by anyone without the need for a specially skilled operator for input, and costs can be reduced.

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

第1図は本発明の制御マーク等が記入された用
紙の図、第2図は本発明の文書の自動入力装置の
全体構成図、第3図は第2図の2進数読取り装置
のブロツク図、第4図は第2図のフアイル装置の
メモリ構成図、第5図は第1図の各マークの解読
方法を示す図、第6図は第2図のRAMの記録状
態を示す図、第7図は第2図の合成回路の合成結
果を示す図で、第8,9図は従来の自動読み取り
方式を示す用紙の図である。 1……用紙、20……制御マーク、21〜23
……情報マーク、24……フアクシミリ、25…
…アダプター、26……主バツフアメモリ、17
……2進数読取り装置、28……比較回路、29
……フアイル装置、30……合成回路、33……
イメージメモリ、34……判断回路、a〜e……
線分。
Fig. 1 is a diagram of a sheet of paper on which control marks, etc. of the present invention are written, Fig. 2 is an overall configuration diagram of the automatic document input device of the present invention, and Fig. 3 is a block diagram of the binary number reading device of Fig. 2. , FIG. 4 is a memory configuration diagram of the file device in FIG. 2, FIG. 5 is a diagram showing a method of decoding each mark in FIG. 1, FIG. 6 is a diagram showing the recording state of the RAM in FIG. FIG. 7 is a diagram showing the synthesis result of the synthesis circuit of FIG. 2, and FIGS. 8 and 9 are diagrams of sheets showing the conventional automatic reading method. 1...Paper, 20...Control mark, 21-23
...Information mark, 24...Facsimile, 25...
...Adapter, 26...Main buffer memory, 17
... Binary number reading device, 28 ... Comparison circuit, 29
...File device, 30...Synthesizing circuit, 33...
Image memory, 34... Judgment circuit, a to e...
line segment.

Claims (1)

【特許請求の範囲】 1 先行後行の大小線分が直線状に連続して配列
された制御マークを用紙の始めに記入し、 先行後行の大小線分が直線状に連続して配列さ
れた情報マークを前記制御マークの後に該用紙に
記入し、 前記制御マークと情報マークを走査装置で光電
変換し、前記制御マークの座標を原点にして前記
情報マークの座標を算出し、次に前記制御マーク
についてその線分の配列順に大小を比較して2進
数を算出して前記制御マークの2進数コードを定
め、この2進数コードに対応する書式をフアイル
装置から読み出し、前記書式から予め定めた前記
情報マークの基準座標及び2進数コードを読み出
し、前記情報マークについて前記算出座標と前記
基準座標とを比較し、かつ前記情報マークを前記
制御マークと同様に2進数コード化するように
し、この2進数コードと前記基準2進数コードと
を比較し、これら比較結果に基づき前記情報マー
クのデータを取り込むかどうか決定するようにし
た文書の自動入力方法。 2 先行後行の大小線分が直線状に連続してなる
制御マークとこの制御マークの後に配置され、先
行後行の大小線分が直線状に連続してなる情報マ
ークとが記入された用紙と、この用紙を入力して
イメージデータを出力する走査装置と、予め分類
された書式やその他のデータが記憶されたフアイ
ル装置と、前記イメージデータから前記制御マー
クの座標を原点にして前記情報マークの座標を算
出するとともに前記制御マーク及び情報マークに
ついてその線分を配列順に大小を比較して2進数
を算出する2進数読取り装置と、前記制御マーク
の2進数コードを基に前記フアイル装置から対応
する書式を読み出すとともに、この書式から予め
定めた情報マークの基準座標及び基準2進数コー
ドを読み取り、前記情報マークの算出座標及び算
出2進数と該基準座標及び基準2進数コードとを
それぞれ比較する比較回路と、この比較結果に基
づき前記情報マークのデータを取り込むかどうか
決定する判断回路とを備えた文書の自動入力装
置。
[Scope of Claims] 1. A control mark in which large and small line segments of preceding and succeeding lines are arranged continuously in a straight line is written at the beginning of a sheet of paper, write an information mark on the paper after the control mark, photoelectrically convert the control mark and the information mark with a scanning device, calculate the coordinates of the information mark using the coordinates of the control mark as the origin, and then write the information mark on the paper after the control mark. The binary code of the control mark is determined by comparing the sizes of the control marks in the order in which the line segments are arranged, calculating the binary code, reading out the format corresponding to this binary code from the file device, and predetermining the format from the format. The reference coordinates and binary code of the information mark are read out, the calculated coordinates and the reference coordinates are compared for the information mark, and the information mark is converted into a binary code in the same manner as the control mark. An automatic document input method comprising comparing a base code with the standard binary code and determining whether to import data of the information mark based on the comparison results. 2. Paper on which a control mark consisting of linearly continuous large and small line segments in the preceding and subsequent lines and an information mark placed after this control mark and consisting of linearly continuous large and small line segments in the preceding and subsequent lines are written. a scanning device that inputs this paper and outputs image data; a file device that stores pre-classified formats and other data; and a scanning device that inputs the paper and outputs image data, a file device that stores pre-classified formats and other data, and a scanning device that scans the information mark from the image data with the coordinates of the control mark as the origin. a binary number reading device that calculates the coordinates of the control mark and the information mark and calculates a binary number by comparing the line segments in the order of arrangement, and a binary number reading device that calculates a binary number based on the binary code of the control mark and the file device. A comparison method that reads out a format for the information mark, reads the reference coordinates and reference binary code of a predetermined information mark from this format, and compares the calculated coordinates and calculated binary number of the information mark with the reference coordinates and reference binary code, respectively. An automatic document input device comprising: a circuit; and a determination circuit that determines whether or not to import data of the information mark based on the comparison result.
JP62104822A 1987-04-17 1987-04-30 Method and device for automatic document input Granted JPS63271674A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP62104822A JPS63271674A (en) 1987-04-30 1987-04-30 Method and device for automatic document input
US07/177,595 US5059775A (en) 1987-04-17 1988-04-01 Slip and method of and apparatus for automatic reading of the slip
DE3850696T DE3850696T2 (en) 1987-04-17 1988-04-13 Receipt, procedure and device for automatic reading of the receipt.
EP88105854A EP0288820B1 (en) 1987-04-17 1988-04-13 A slip and method of and apparatus for automatic reading of the slip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62104822A JPS63271674A (en) 1987-04-30 1987-04-30 Method and device for automatic document input

Publications (2)

Publication Number Publication Date
JPS63271674A JPS63271674A (en) 1988-11-09
JPH0559476B2 true JPH0559476B2 (en) 1993-08-31

Family

ID=14391092

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62104822A Granted JPS63271674A (en) 1987-04-17 1987-04-30 Method and device for automatic document input

Country Status (1)

Country Link
JP (1) JPS63271674A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4969024A (en) * 1972-11-07 1974-07-04
JPS583074A (en) * 1981-06-30 1983-01-08 Fujitsu Ltd Mark reader

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4969024A (en) * 1972-11-07 1974-07-04
JPS583074A (en) * 1981-06-30 1983-01-08 Fujitsu Ltd Mark reader

Also Published As

Publication number Publication date
JPS63271674A (en) 1988-11-09

Similar Documents

Publication Publication Date Title
US4608489A (en) Method and apparatus for dynamically segmenting a bar code
US6959121B2 (en) Document image processing device, document image processing method, and memory medium
US4566039A (en) Facsimile system
US5059775A (en) Slip and method of and apparatus for automatic reading of the slip
JPH0559476B2 (en)
JPS6141029B2 (en)
JPS6253873B2 (en)
JPH07296108A (en) Method and device for recognizing character
JPS58170165A (en) Mark reading system
JP3065076U (en) Report management system
JPH0814838B2 (en) Binary number display method and its reading device
JP2570571B2 (en) Optical character reader
JP2002024743A (en) Image reading system and image reading method
JPS6259509B2 (en)
JP3135785B2 (en) Facsimile machine
JPH0127468B2 (en)
JP2679098B2 (en) Encoding processing device for contour detection image
JP2935860B2 (en) Facsimile machine
JPH08315068A (en) Method and device for identifying document format
JPH0557632B2 (en)
JPS58166867A (en) Mark reading system
JP2784004B2 (en) Character recognition device
JPS6142310B2 (en)
JPH06176192A (en) Document and its recognition device
JPS6154575A (en) Character reader

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees