JPH09245099A - Slip preparation device - Google Patents

Slip preparation device

Info

Publication number
JPH09245099A
JPH09245099A JP8047480A JP4748096A JPH09245099A JP H09245099 A JPH09245099 A JP H09245099A JP 8047480 A JP8047480 A JP 8047480A JP 4748096 A JP4748096 A JP 4748096A JP H09245099 A JPH09245099 A JP H09245099A
Authority
JP
Japan
Prior art keywords
data
virtual frame
slip
recognition
read
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
JP8047480A
Other languages
Japanese (ja)
Inventor
Nobuo Shimizu
伸夫 清水
Masashi Miyazaki
正志 宮崎
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP8047480A priority Critical patent/JPH09245099A/en
Publication of JPH09245099A publication Critical patent/JPH09245099A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve a recognition rate by partially performing the automatic recognition of a slip, synthesizing only optimally read results and assembling the entire slip. SOLUTION: In this device, a slip format printed on a blank slip 30 is scanned by a scanner 20 and read in a slip read part 11A as a slip image, the slip image read in the slip read part 11A is identified in a slip recognition part 11B and electronized slip data are obtained. In the case that the automatic recognition in the slip recognition part 11B is insufficient, an optional partial area within the slip is specified, the threshold of the scanner 20 for respective areas is changed and read is performed again. Images 31a-31c for the respective areas are attained and recognized in the slip recognition part 11B and partial electronized slips 32a-32c are prepared and synthesized with an electronized slip 40 recognized first in the slip recognition part 11B. The synthesized electronized slip 40 is printed by a printer 60 in a printing part 11D and the slip 70 is obtained.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データが何も記述
されていない文字・罫線・図形を含んだ定型フォーマッ
トの帳票用紙をイメージスキャナで読み取り、電子化し
た後、データを埋め込んで帳票を作成する帳票作成装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention reads a standard format form sheet containing characters, ruled lines, and figures in which no data is described by an image scanner, digitizes it, and then embeds the data to create a form. The present invention relates to a form creating device.

【0002】[0002]

【従来の技術】オフィスで使用される帳票を印刷出力す
るような業務アプリケーションを開発する場合には、電
子化された帳票の設計および作成が必要となる。帳票の
作成方法は、特別のフォーマット用紙に文字や数字を記
入する方法が伝統的であるが、近年は、GUI(Graphi
cal User Interface)により実物と同じイメージで、対
話的に帳票の設計を行なえる専用エディタが開発されて
いる。但し、それでも新規に帳票の設計を行なおうとす
ると、かなりの工数を必要とするものである。
2. Description of the Related Art When developing a business application that prints out a form used in an office, it is necessary to design and create an electronic form. The traditional method of creating a form is to enter letters and numbers on a special format paper, but in recent years, GUI (Graphi
Cal User Interface) has developed a dedicated editor that can interactively design forms with the same image as the real thing. However, even if a new form is to be designed, it requires a considerable number of man-hours.

【0003】しかし、実際には、定型のフォーマットが
印刷された帳票が存在する場合が多い。そこで、本出願
人は、先に特願平7−147374号にて「帳票自動認
識システム」を出願した。
However, in reality, there are many cases in which a form in which a standard format is printed is present. Therefore, the present applicant previously applied for the “form automatic recognition system” in Japanese Patent Application No. 7-147374.

【0004】この帳票自動認識システムは、データが何
も記述されていない文字・罫線・図形を含んだ定型フォ
ーマットの用紙(ブランク帳票)をイメージスキャナで
読み取り、コード化、ベクトル化し、記入枠を抽出する
などして電子化した後、データを埋め込んで帳票印刷を
行なうことにより、容易にブランク帳票の電子化を行な
うことのできるシステムである。
In this automatic form recognition system, a standard format paper (blank form) containing characters, ruled lines, and figures in which no data is described is read by an image scanner, coded, vectorized, and an entry frame is extracted. This is a system in which the blank form can be easily digitized by embedding data and printing the form after it is digitized.

【0005】[0005]

【発明が解決しようとする課題】しかし、上記「帳票自
動認識システム」では、未だ次のような課題が残されて
いる。 (1)[自動認識が不十分な場合の繰り返し処理] 帳票自動認識システムでは、ブランク帳票をスキャナで
イメージ化し、それを文字部分と罫線部分に切り分け
て、それぞれコード化およびベクトル化するわけである
が、この際に、何時でも、曖昧さが存在する。人間にと
っては明らかであっても現時点でのコンピュータによる
認識技術では、100パーセントの認識率は達成できな
い。
However, the above "form automatic recognition system" still has the following problems. (1) [Repeat processing when automatic recognition is insufficient] In the automatic form recognition system, a blank form is imaged by a scanner, and it is divided into a character portion and a ruled line portion, which are coded and vectorized respectively. But in this case, there is always ambiguity. Even if it is obvious to humans, the current computer recognition technology cannot achieve 100% recognition rate.

【0006】また、認識率は、スキャナでブランク帳票
をイメージ化する際のスレッシュホルド(読み取りの濃
さの度合い)によっても大きく異なる。従って、自動認
識による認識率が、期待できる範囲を逸脱している場合
には、もう一度、スレッシュホルドなどを設定し直し
て、自動認識を再実行することになる。
The recognition rate also greatly varies depending on the threshold (degree of reading) when the blank form is imaged by the scanner. Therefore, when the recognition rate by the automatic recognition deviates from the expected range, the threshold and the like are set again and the automatic recognition is re-executed.

【0007】一方、認識率は、一つの帳票内の各部分に
よっても異なってくるので、全ての部分を最適に認識す
るのは、何度、再実行を行なっても難しく事実上不可能
である。 (2)[仮想枠を新規に定義する場合の方法] 従来の帳票自動認識システムでは、仮想枠(すなわち、
データの記入部分)を罫線情報や文字情報から自動的に
抽出する技術も含んでいるが、罫線情報が正しく認識で
きない場合、当然のことながら、それに伴って仮想枠の
生成も低下することになる。
On the other hand, since the recognition rate varies depending on each part in one form, it is difficult and practically impossible to optimally recognize all parts, no matter how many times re-execution is performed. . (2) [Method for newly defining virtual frame] In the conventional form automatic recognition system, a virtual frame (that is,
It also includes a technology to automatically extract the (entry part of data) from ruled line information and character information, but if the ruled line information cannot be recognized correctly, of course, the generation of virtual frames will decrease accordingly. .

【0008】また、罫線情報や文字情報が正しく認識で
きていたとしても、コンピュータによる仮想枠の自動生
成では、本来必要とする仮想枠が生成されなかったり、
その逆のケースも発生する。
Even if the ruled line information and the character information are correctly recognized, the virtual frame automatically generated by the computer may not generate the virtual frame that is originally required,
The reverse case also occurs.

【0009】こうしたことから、従来の帳票自動認識シ
ステムにも、自動認識の後で、人間が対話的に、オリジ
ナルの帳票と比較しながら仮想枠を修正したり定義した
りしているが、この作業がかなりの作業量を必要とする
ものであった。 (3)[オリジナル帳票と印刷帳票の位置合わせの問
題] 帳票自動認識システムでは、オリジナルな帳票をイメー
ジスキャナで認識し、電子化した帳票を印刷する仕組み
であるが、イメージスキャナによる紙の認識位置とプリ
ンタによる用紙への印刷位置により、両者の用紙上の帳
票位置にズレが生じる。しかし、従来のシステムでは、
このズレを調整する手段を備えたものは未だ実用化され
ていない。
For this reason, even in the conventional form automatic recognition system, after automatic recognition, a human interactively modifies or defines a virtual frame while comparing it with the original form. The work required a considerable amount of work. (3) [Problem of aligning original form and printed form] In the automatic form recognition system, the original form is recognized by the image scanner and the digitized form is printed. Depending on the print position on the paper by the printer and the printer, the form position on both papers is misaligned. However, in conventional systems,
Those equipped with a means for adjusting this deviation have not yet been put to practical use.

【0010】このズレは、スキャナとプリンタの特性に
より決まるものであるが、事前に予測できるズレの精度
は、各機器の仕様上の範囲までであり、正確にこのズレ
を事前に予測することはできない。一方、実際の使用機
器が決定されれば、このズレの値は一定となる。 (4)[帳票印刷での仮想枠とデータとの関連付けの方
法] 従来の帳票認識システムでは、生成された仮想枠には、
1から始まる整数(帳票枠番号)が割り当てられてい
た。業務アプリケーションでは、この帳票枠番号をキー
にして、仮想枠内に記入したいデータと仮想枠を関連付
けていた。
This deviation is determined by the characteristics of the scanner and the printer, but the accuracy of the deviation that can be predicted in advance is within the range of the specifications of each device, and it is impossible to accurately predict this deviation in advance. Can not. On the other hand, if the actually used device is determined, the value of this deviation becomes constant. (4) [Method of associating data with virtual frame in form printing] In the conventional form recognition system, the generated virtual frame is
An integer (form frame number) starting from 1 was assigned. In the business application, the data to be written in the virtual frame is associated with the virtual frame by using the form frame number as a key.

【0011】この方法では、業務アプリケーションの作
成者に負担がかかると共に、すでに世の中に出回ってい
る市販のアプリケーションから帳票印刷する場合にその
データと仮想枠を関連付けるために新たに開発が必要に
なる。この場合、市販のアプリケーションがカスタマイ
ズするための機能を内蔵していればよいが、カスタマイ
ズ機能がない場合には、市販のアプリケーション・ソフ
トウェアのデータと帳票の仮想枠の関連付けは、事実上
不可能となる。
This method imposes a burden on the creator of the business application, and requires new development to associate the data with the virtual frame when printing a form from a commercially available application already on the market. In this case, it suffices if the commercial application has a built-in function for customizing, but if the customizing function is not available, it is virtually impossible to associate the data of the commercial application software with the virtual frame of the form. Become.

【0012】上記のように従来の帳票自動認識システム
では、(1)〜(4)に示したような問題がある。本発
明は上記の課題を解決するためになされたもので、帳票
の自動認識が不十分な場合、帳票内の任意の部分領域に
対してスキャナのスレッシュホルドを変更した再読込み
を可能として非常に高い認識率が得られる帳票作成装置
を提供することを目的とする。
As described above, the conventional form automatic recognition system has the problems shown in (1) to (4). The present invention has been made to solve the above-mentioned problems, and when automatic recognition of a form is insufficient, it is possible to re-read by changing the threshold of the scanner with respect to an arbitrary partial area in the form, which is very possible. An object of the present invention is to provide a form creation device that can obtain a high recognition rate.

【0013】また、本発明は、人間が対話的に仮想枠を
修正したり定義したりする場合に、すでに存在する罫線
情報や文字情報を考慮することにより、この作業量を軽
減し得る帳票作成装置を提供することを目的とする。
Further, according to the present invention, when a person interactively modifies or defines a virtual frame, the work amount can be reduced by considering the existing ruled line information and character information. The purpose is to provide a device.

【0014】更に、本発明は、実際に使用するスキャナ
及びプリンタに合わせてオリジナル帳票と印刷帳票のズ
レを調整するパラメータを設定できるようにし、帳票認
識部でパラメータを読み取ることにより、オリジナル帳
票とのズレを調整し得る帳票作成装置を提供することを
目的とする。
Further, according to the present invention, a parameter for adjusting the deviation between the original form and the printed form can be set according to the scanner and the printer actually used, and the parameter is read by the form recognizing unit so that the original form It is an object of the present invention to provide a form creation device capable of adjusting a deviation.

【0015】更にまた、本発明は、仮想枠に関連付けら
れるデータ供給(プログラム)の種別と提供されるデー
タを一意的に識別するための情報を付加し、帳票とデー
タ供給側とを何の追加の開発なしに関連付けることがで
きる帳票作成装置を提供することを目的とする。
Furthermore, according to the present invention, information for uniquely identifying the type of data supply (program) associated with the virtual frame and the provided data is added, and what is added to the form and the data supply side. It is an object of the present invention to provide a form creation device that can be associated without the development of.

【0016】[0016]

【課題を解決するための手段】[Means for Solving the Problems]

(1)本発明は、予め帳票用紙に印刷されている帳票フ
ォーマットをスキャナにより読取り、この読取った帳票
フォーマットを帳票イメージとして読込む帳票読込み手
段と、この帳票読込み手段で読取った帳票イメージを識
別して電子化された帳票データを得る帳票認識手段と、
この帳票認識手段で認識した帳票イメージを印刷する印
刷手段と、上記帳票認識手段における自動認識が不十分
な場合、帳票内の任意の部分領域に対し上記スキャナの
スレッシュホルドを変更して再読込みを行なう再読込み
手段とを具備してなる帳票作成装置である。 (2)上記帳票作成装置において、帳票認識手段で認識
された電子化された帳票に対し、再読込み手段により再
読込みを行なって再認識した部分領域の電子化帳票デー
タを合成する編集手段を備えたたことを特徴とする。 (3)上記編集手段は、帳票認識手段で認識された帳票
データを合成する際、再読込みの領域に跨がって定義さ
れていたデータを自動的に接続する手段を備えたことを
特徴とする。 (4)上記編集手段は、帳票内の指定された基準点の回
りの罫線・文字情報からその基準点を含む領域に仮想枠
を作成する仮想枠作成手段を備えたことを特徴とする。 (5)上記編集手段は、帳票内の罫線や文字の移動に伴
って、それに関係を持つ仮想枠の大きさや位置を自動的
に調整する調整手段を備えたことを特徴とする。 (6)上記編集手段は、仮想枠を作成する際に、その仮
想枠内に記入するデータの文字サイズをその周囲の文字
情報から自動的に決定する文字サイズ決定手段を備えた
ことを特徴とする。 (7)上記帳票作成装置において、印刷帳票とオリジナ
ル帳票との間の位置ズレを補正するパラメータを用紙サ
イズ及び用紙方向毎に帳票認識手段のパラメータとして
設定し、その設定パラメータに応じて上記帳票認識部に
より補正することを特徴とする。 (8)上記帳票作成装置において、帳票内の仮想枠とデ
ータの供給プログラム及びそれらが持っているデータを
関連付けるために、上記仮想枠にラベルを付けたテーブ
ルを備えたことを特徴とする。 (9)上記帳票作成装置において、帳票内の仮想枠にデ
ータ供給プログラムが生成したデータを記入して印刷す
る際に、データ供給プログラムに対するデータの取り出
し部分をモジュール化して構成したことを特徴とする。
(1) According to the present invention, the form format preprinted on the form sheet is read by a scanner, and the form reading means for reading the read form format as a form image and the form image read by the form reading means are identified. Form recognition means for obtaining electronic form data by
If the printing means for printing the form image recognized by the form recognition means and the automatic recognition by the form recognition means are insufficient, change the threshold of the scanner for any partial area in the form and reload it. It is a form creation device comprising re-reading means for performing. (2) In the above-described form creating apparatus, the electronic form recognized by the form recognition means is re-read by the re-reading means, and the editing means is provided for synthesizing the electronic form data of the re-recognized partial area. It is characterized by being hit. (3) The editing means includes means for automatically connecting the data defined over the reread area when the form data recognized by the form recognition means are combined. To do. (4) The editing means is provided with a virtual frame creating means for creating a virtual frame in a region including the reference point from the ruled line / character information around the designated reference point in the form. (5) The editing means is provided with an adjusting means that automatically adjusts the size and position of a virtual frame related to the ruled lines and characters in the form as the ruled lines and characters move. (6) The editing means includes a character size determining means for automatically determining the character size of the data to be written in the virtual frame from the surrounding character information when creating the virtual frame. To do. (7) In the above-described form creation apparatus, parameters for correcting the positional deviation between the printed form and the original form are set as parameters of the form recognition means for each paper size and paper direction, and the form recognition is performed according to the set parameters. It is characterized in that it is corrected by a part. (8) The above-mentioned form creation apparatus is characterized by including a table with a label attached to the virtual frame in order to associate the virtual frame in the form with the data supply program and the data that they have. (9) In the above-described form creation apparatus, when the data generated by the data supply program is written in a virtual frame in the form and printed, the data extraction part for the data supply program is modularized. .

【0017】[0017]

【発明の実施の形態】以下、図面を参照しながら本発明
の実施形態について説明する。図1は、本発明の一実施
形態に係る帳票作成装置の構成を示すブロック図であ
る。同図において、10は帳票自動認識システムで、帳
票読込部11A、帳票認識部11B、編集部11C、印
刷部11Dからなっている。上記帳票自動認識システム
10には、例えばキーボード、マウス等の入力装置1が
接続されると共に、ブランク帳票(オリジナル帳票)3
0を読取るためのスキャナ20が接続される。上記ブラ
ンク帳票30には、予め文字・罫線・図形等を含んだ定
型フォーマットが印刷されている。そして、上記スキャ
ナ20で読み取られたブランク帳票30に対するデータ
は、帳票自動認識システム10内の帳票読込部11Aに
入力される。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a form creation device according to an embodiment of the present invention. In the figure, 10 is an automatic form recognition system, which includes a form reading unit 11A, a form recognition unit 11B, an editing unit 11C, and a printing unit 11D. An input device 1 such as a keyboard and a mouse is connected to the form automatic recognition system 10 and a blank form (original form) 3
A scanner 20 for reading 0 is connected. A standard format including characters, ruled lines, figures, etc. is printed in advance on the blank form 30. Then, the data for the blank form 30 read by the scanner 20 is input to the form reading unit 11A in the form automatic recognition system 10.

【0018】上記スキャナ20から帳票読込部11Aに
読込まれたブランク帳票イメージ31は、帳票認識部1
1Bに送られる。この帳票認識部11Bは、ブランク帳
票イメージ31を認識し、電子化された帳票40を作成
する。この電子化された帳票40は、表示部45へ送ら
れて表示される。また、この表示部45に表示される帳
票40は、必要に応じて編集部11Cで編集処理され
る。
The blank form image 31 read from the scanner 20 into the form reading unit 11A is the form recognition unit 1
1B. The form recognition unit 11B recognizes the blank form image 31 and creates an electronic form 40. The electronic form 40 is sent to the display unit 45 and displayed. Further, the form 40 displayed on the display unit 45 is edited by the editing unit 11C as necessary.

【0019】すなわち、最初の認識の結果、電子化され
た帳票40に認識が不十分な領域が存在したとすると、
その領域について、オペレータがそれぞれ帳票イメージ
の特性に合わせたスレッシュホルド(読み取りの濃さの
度合い)を指定して、帳票読込部11Aによりスキャナ
20から部分走査を行なうことができるようになってい
る。図1では、認識が不十分な領域として、領域A、領
域B、領域Cの3箇所ある場合を示している。
In other words, if there is an insufficient recognition region in the electronic form 40 as a result of the first recognition,
With respect to the area, the operator can specify the threshold (the degree of reading density) according to the characteristics of the form image, and the form reading unit 11A can perform partial scanning from the scanner 20. FIG. 1 shows a case where there are three areas, A, B, and C, which are insufficiently recognized.

【0020】上記のように領域A,B,Cの3箇所で認
識が不十分な場合、例えば線の濃度が薄かったり、途切
れているような場合には、各領域A,B,Cの位置をパ
ラメータにより指定すると共に、その領域の帳票イメー
ジの特性に合わせたスレッシュホルドを指定して、帳票
読込部11Aでスキャナ20による部分走査を行なわせ
る。次いで、各領域A,B,Cのイメージ31a〜31
cを帳票認識部11Bで再認識し、部分的に電子化され
た帳票32a〜32cを得る。その後、編集部11Cに
より、上記部分的に電子化された帳票32a〜32cを
最初に作成された全体の帳票40の対応する領域に合成
する。この際に元々は一本だった罫線が分割されるケー
スが考えられるが、編集部11Cは、領域を跨がったた
めに分割された罫線を自動接続する。
When the recognition is insufficient at the three areas A, B, and C as described above, for example, when the density of the line is low or there is a break, the position of each area A, B, and C Is specified by a parameter, and a threshold corresponding to the characteristics of the form image of the area is specified, and the document reading unit 11A causes the scanner 20 to perform partial scanning. Next, the images 31a to 31 of the respective areas A, B, and C
c is re-recognized by the form recognition unit 11B, and partially digitized forms 32a to 32c are obtained. Then, the editing unit 11C combines the partially digitized forms 32a to 32c with the corresponding regions of the entire form 40 initially created. At this time, there may be a case where the originally one ruled line is divided, but the editing unit 11C automatically connects the divided ruled lines because it crosses over the area.

【0021】そして、上記編集された電子化帳票40に
対し、データを入力して帳票を作成する。この場合、電
子化帳票40に対してデータ入力エリアを指定すると仮
想枠が設定され、データ入力に応じた処理が行なわれ
る。このデータ入力では、各種、アプリケーション・ソ
フトウェアで予め作成されているデータの中から帳票作
成に必要なデータの所在を指定できるようになってい
る。また、上記各仮想枠に対してラベル付けをしたテー
ブル50が作成される。
Then, data is input to the edited electronic form 40 to create a form. In this case, when a data input area is designated for the digitized form 40, a virtual frame is set, and processing according to the data input is performed. In this data input, it is possible to specify the location of data necessary for creating a form from among various types of data created in advance by application software. Further, a table 50 is created in which each virtual frame is labeled.

【0022】そして、電子化帳票40に対して所定のデ
ータを入力した後、オペレータが印刷指示すると、印刷
部11Dが作動し、テーブル50を参照して帳票データ
を読出し、電子化された帳票40と合成して印刷を行な
う。
Then, after the operator inputs a print instruction after inputting predetermined data to the electronic form 40, the printing unit 11D operates to read the form data by referring to the table 50 and digitize the form 40. And synthesize and print.

【0023】次に上記実施形態の動作を説明する。 (1)[自動認識が不十分な場合の繰り返し処理] 自動認識が不十分な場合の繰り返し処理について、図1
を用いて説明する。
Next, the operation of the above embodiment will be described. (1) [Repeat Processing When Automatic Recognition is Insufficient] FIG.
This will be described with reference to FIG.

【0024】オペレータが帳票の作成を指示すると、以
下に示す処理が実行される。 (a)帳票読込部11Aがスキャナ20からブランク帳
票30を走査し、ブランク帳票イメージ31のファイル
として保存する。 (b)帳票認識部11Bがブランク帳票イメージ31を
読んで罫線のベクトル情報および文字のコード情報を生
成し、認識結果として、電子化された帳票40を生成す
る。この電子化された帳票40は、表示部45に送られ
て表示される。 (c)編集部11Cは、帳票認識部11Bが生成した電
子化された帳票40を編集すると共に、印刷部11Dの
制御によりプリンタ60を用いて帳票70を印刷する。
When the operator gives an instruction to create a form, the following processing is executed. (A) The form reading unit 11A scans the blank form 30 with the scanner 20 and saves it as a file of the blank form image 31. (B) The form recognition unit 11B reads the blank form image 31 to generate ruled line vector information and character code information, and generates an electronic form 40 as a recognition result. The electronic form 40 is sent to the display unit 45 and displayed. (C) The editing unit 11C edits the electronic form 40 generated by the form recognition unit 11B and prints the form 70 using the printer 60 under the control of the printing unit 11D.

【0025】上記の処理において、オペレータは、最初
の認識の結果、電子化された帳票40の領域に認識が不
十分な領域、例えば線の濃度が薄かったり、途切れてい
るような領域が存在するか否かを画面上あるいは印刷帳
票70によりチェックする。図1に示すように認識が不
十分な領域として例えば領域A、領域B、領域Cの3箇
所が認存在したとすると、オペレータは、各領域A〜C
の位置をパラメータで指定すると共に、各領域A〜Cの
帳票イメージの特性に合わせてスレッシュホルドを指定
する。この指示に基づいて帳票読込部11Aが作動し、
各領域A〜Cを指定されたスレッシュホルドでスキャナ
20による部分走査を行ない、領域A〜Cのイメージ3
1a〜31cを作成する。
In the above processing, as a result of the first recognition, the operator has an insufficiently recognized region in the digitized form 40, for example, a region where the density of the line is thin or there is a break. Whether or not it is checked on the screen or on the print form 70. As shown in FIG. 1, assuming that there are three areas where recognition is insufficient, such as area A, area B, and area C, the operator is required to use each of areas A to C.
The position is designated by a parameter, and the threshold is designated in accordance with the characteristics of the form image of each of the areas A to C. Based on this instruction, the form reading unit 11A operates,
Each area A to C is partially scanned by the scanner 20 at a designated threshold, and an image 3 of the areas A to C is obtained.
1a to 31c are created.

【0026】次にこの領域A,B,Cのイメージ31a
〜31cを帳票認識部11Bで再認識し、部分的に電子
化された帳票32a〜32cを作成する。その後、編集
部11Cにより、上記部分的に電子化された帳票32a
〜32cを最初に作成された全体の帳票40の対応する
領域に合成する。この際に元々は一本だった罫線が分割
されるケースが考えられるが、編集部11Cは、領域を
跨がったために分割された罫線を自動接続する。この罫
線を自動接続は、以下のようにして行なわれる。
Next, an image 31a of the areas A, B and C
.. to 31c are recognized again by the form recognition unit 11B, and partially digitized forms 32a to 32c are created. After that, the editing unit 11C causes the partially digitized form 32a.
.About.32c are combined with the corresponding areas of the entire form 40 initially created. At this time, there may be a case where the originally one ruled line is divided, but the editing unit 11C automatically connects the divided ruled lines because it crosses over the area. The automatic connection of the ruled lines is performed as follows.

【0027】例えば帳票Aに対して、その帳票内に属す
る長方形枠を4つの線分に分けてその全ての線分をL
(A)iとする。L(A)iの端点をEL(A)i とする。
帳票Aの部分帳票をBとし、部分帳票Bを帳票Aに合成
したとき、
For example, with respect to the form A, the rectangular frame belonging to the form is divided into four line segments, and all the line segments are L.
(A) i. The end point of L (A) i is EL (A) i.
When the partial form of the form A is B and the partial form B is combined with the form A,

【0028】[0028]

【数1】 (2)[仮想枠を新規に定義する場合の方法] 上記編集された電子化帳票40に対し、データを入力し
て帳票を作成する。仮想枠を定義する場合、図3に示す
ように電子化帳票40に対してデータ入力エリアの1点
A(a,b)を入力装置1のマウスあるいはキーボード
上のカーソルキーを使用する。このようにデータ入力エ
リアの1点A(a,b)を指定することにより、この点
を基準として仮想枠kが設定される。
[Equation 1] (2) [Method for newly defining virtual frame] Data is input to the edited electronic form 40 to create a form. When defining a virtual frame, one point A (a, b) in the data input area for the electronic form 40 is used with the mouse of the input device 1 or the cursor key on the keyboard as shown in FIG. By thus designating one point A (a, b) in the data input area, the virtual frame k is set with this point as a reference.

【0029】帳票内の指定された点を基準点としてその
点を含む領域に仮想枠を発生させるアルゴリズムを図2
に示す。データ入力エリアの1点A(a,b)が指定さ
れると、点(a,b)の真上にある(すなわち直線x=
a上にあり、y座標がbより小さい)オブジェクトMi
のうち、交点のy座標が最大のものM1を見付ける。交
点の座標を(a,b1)とする。M1が存在しない場合
は、b1は用紙の上辺のy座標とする(ステップA
1)。上記オブジェクトMiとは、帳票内に定義された
罫線や文字列の単位である。
FIG. 2 shows an algorithm for generating a virtual frame in a region including a designated point on a form as a reference point.
Shown in When one point A (a, b) in the data input area is specified, it is directly above the point (a, b) (that is, the straight line x =
object Mi which is on a and whose y coordinate is smaller than b)
Among them, find the M1 having the largest y coordinate of the intersection. Let the coordinates of the intersection be (a, b1). If M1 does not exist, b1 is the y coordinate of the upper edge of the sheet (step A).
1). The object Mi is a unit of ruled lines or character strings defined in the form.

【0030】点(a,b)の真下にある(すなわち直線
x=a上にありy座標がbより大きい)オブジェクトM
iのうち、交点のy座標が最小のものM2を見付ける。
交点の座標を(a,b2)とする。M2が存在しない場
合は、b2は用紙の下辺のy座標とする(ステップA
2)。
Object M directly below point (a, b) (ie on straight line x = a and y coordinate larger than b)
Among i, find M2 having the smallest y coordinate of the intersection.
Let the coordinates of the intersection be (a, b2). If M2 does not exist, b2 is the y coordinate of the lower side of the paper (step A
2).

【0031】線分x=a(b1<=y<=b2)の左に
ある(すなわち直線y=b1と直線y=b2の間の領域
にあり、交点のy座標がaより小さい)オブジェクトM
iのうち、交点のx座標が最大のものM3を見付ける。
交点の座標を(a1,y1)とする。M3が存在しない
場合は、a1は用紙の左辺のx座標とする(ステップA
3)。
Object M to the left of line segment x = a (b1 <= y <= b2) (that is, in the region between straight line y = b1 and straight line y = b2, and the y coordinate of the intersection is smaller than a)
Among i, find the one M3 with the maximum x coordinate of the intersection.
Let the coordinates of the intersection be (a1, y1). If M3 does not exist, a1 is the x coordinate of the left side of the paper (step A
3).

【0032】線分x=a(b1<=y<=b2)の右に
ある(すなわち直線y=b1と直線y=b2の間の領域
にあり、交点のy座標がaより大きい)オブジェクトM
iのうち、交点のx座標が最小のものM4を見付ける。
交点の座標を(a2,y2)とする。M4が存在しない
場合は、a2は用紙の右辺のx座標とする(ステップA
4)。
Object M to the right of line segment x = a (b1 <= y <= b2) (that is, in the area between straight line y = b1 and straight line y = b2, and the y coordinate of the intersection is larger than a)
Among i, find the one M4 with the smallest x coordinate of the intersection.
The coordinates of the intersection are set to (a2, y2). If M4 does not exist, a2 is the x coordinate of the right side of the paper (step A
4).

【0033】上記の4点(a1,b1),(a2,b
1),(a1,b2),(a2,b2)を頂点とする矩
形が(a,b)を基準点とする仮想枠kである(ステッ
プA5)。
The above four points (a1, b1), (a2, b
A rectangle having vertices 1), (a1, b2), and (a2, b2) is a virtual frame k whose reference point is (a, b) (step A5).

【0034】図3に示す例では、帳票内のオブジェクト
Mi(i=1,2,3,4)は、以下のように選択され
る。 M1→(3)の横線 M2→(4)の横線 M3→(1)の縦線 M4→(2)の“円”という文字 これにより、太線で示した仮想枠kが作成される。この
場合、上記の“円”など、スキャナ20で読込んだ文字
データは、罫線データと同様に扱われ、それに基づいて
仮想枠kの作成が行なわれる。この仮想枠kは、帳票の
罫線枠に対応して設定されるデータ入力エリアであり、
表示部45の画面上に表示されない。
In the example shown in FIG. 3, the objects Mi (i = 1, 2, 3, 4) in the form are selected as follows. M1 → horizontal line of (3) M2 → horizontal line of (4) M3 → vertical line of (1) M4 → character of “circle” of (2) As a result, the virtual frame k indicated by a thick line is created. In this case, the character data read by the scanner 20 such as the above "circle" is treated in the same manner as the ruled line data, and the virtual frame k is created based on the character data. This virtual frame k is a data input area set corresponding to the ruled line frame of the form,
It is not displayed on the screen of the display unit 45.

【0035】上記図2に示したアルゴリズムを使用して
仮想枠kを作成することにより、罫線や文字情報を元に
仮想枠の矩形の4頂点をそれぞれ指定する方法に比べ、
基準となる1点を指定するのみで、仮想枠kの4頂点の
座標が自動的に決定されるので、仮想枠kの定義が格段
に容易になる。
By creating the virtual frame k using the algorithm shown in FIG. 2, as compared with the method of designating each of the four vertices of the rectangle of the virtual frame based on ruled lines and character information,
Since the coordinates of the four vertices of the virtual frame k are automatically determined by only designating one reference point, the definition of the virtual frame k becomes much easier.

【0036】次に帳票内の罫線や文字の編集に際しての
考慮について説明する。すでに説明したように仮想枠k
を作成した場合、その仮想枠kは、帳票上の最大4つの
オブジェクトMi、上記の例ではM1〜M4との関係を
持つ。編集部11Cで、これらの仮想枠kとの関係を持
つオブジェクトMiが移動した場合、その仮想枠kの大
きさや位置も連動して変更されるものとする。すなわ
ち、帳票の作成中に例えば罫線枠全体を移動させる場合
があるが、このような場合においても、罫線枠の移動に
対応させて仮想枠kを移動させる。これにより帳票のオ
ブジェクトを移動した際に仮想枠を再定義しなければな
らなくなる頻度が低くなる。
Next, consideration will be given to the case of editing the ruled lines and characters in the form. As described above, the virtual frame k
, The virtual frame k has a relationship with a maximum of four objects Mi on the form, M1 to M4 in the above example. In the editing unit 11C, when the object Mi having the relationship with the virtual frame k moves, the size and position of the virtual frame k are also changed in association with each other. That is, for example, the entire ruled line frame may be moved during the creation of the form. Even in such a case, the virtual frame k is moved corresponding to the movement of the ruled line frame. This reduces the frequency of having to redefine the virtual frame when moving the object of the form.

【0037】次に仮想枠k内の記入文字の文字サイズを
決定する方法について説明する。発生させた仮想枠kと
同程度に関連の深い文字列を選び出し、その文字列の文
字サイズの平均を取ることにより決定する。仮想枠kと
帳票内の関連は、両者の距離で表す。図3の例では、発
生させた仮想枠kに関連の深い文字列は、“円”という
文字列であるので、この文字列の文字サイズを記入文字
の文字サイズとして採用する。
Next, a method of determining the character size of the written character in the virtual frame k will be described. It is determined by selecting a character string that is as deeply related as the generated virtual frame k and averaging the character sizes of the character strings. The relationship between the virtual frame k and the form is represented by the distance between the two. In the example of FIG. 3, the character string that is closely related to the generated virtual frame k is the character string “yen”, and thus the character size of this character string is adopted as the character size of the entered character.

【0038】更に、上記仮想枠kの文字サイズの決定方
法について、詳細を以下に説明する。 1.帳票上のオブジェクト(長方形枠、仮想枠、文字
列)を以下の規則により関連付け、家族木(family tre
e )を作成する。
Further, the method of determining the character size of the virtual frame k will be described in detail below. 1. Objects on the form (rectangular frame, virtual frame, character string) are related according to the following rules, and family tree (family tre)
e) is created.

【0039】(A)長方形枠が他のオブジェクトを完全
に含む場合、親子関係を形成する。この場合、長方形枠
は親(parent)、他のオブジェクトは子供(child )と
なる。
(A) If the rectangular frame completely contains other objects, it forms a parent-child relationship. In this case, the rectangular frame is a parent and the other objects are children.

【0040】(B)同じ親を持つオブジェクトは兄弟
(siblings)を形成する。この場合、帳票上のより左上
方向に位置するものを兄とし、他方は弟(brother )と
なる。 2.上記の家族木(family tree )上に距離を定義す
る。
(B) Objects with the same parent form siblings. In this case, the one located on the upper left of the form is the older brother, and the other is the younger brother. 2. Define the distance on the family tree above.

【0041】2つのオブジェクトθ1 ,θ2 の距離d
(θ1 ,θ2 )は、以下のように定義される。 (a)θ1 ,θ2 が同じ親をもつときは、θ1 とθ2
間のbrother チェーンの数がd(θ1 ,θ2 )である。
Distance d between two objects θ 1 and θ 2
1 , θ 2 ) is defined as follows. (A) When θ 1 and θ 2 have the same parent, the number of brother chains between θ 1 and θ 2 is d (θ 1 , θ 2 ).

【0042】(b)θ1 の親p1 とθ2 が同じ親を持つ
ときはd(θ1 ,θ2 )=d(p1,θ2 )×10であ
る。 (c)θ1 とθ2 の親同士p1 ,p2 が同じ親を持つと
きはd(θ1 ,θ2 )=d(p1 ,p2 )×102 であ
る。
[0042] d (θ 1, θ 2) when the parent p 1 and theta 2 of (b) θ 1 have the same parent = d (p 1, θ 2 ) is a × 10. (C) When the parents p 1 and p 2 of θ 1 and θ 2 have the same parent, d (θ 1 , θ 2 ) = d (p 1 , p 2 ) × 10 2 .

【0043】(d)以下同様に同じ家族木(family tre
e )に属する2つのθ1 ,θ2 の距離d(θ1 ,θ2
が帰納的に定義できる。 (e)異なる家族木に属するθ1 ,θ2 の距離d(θ
1 ,θ2 )=∞とする。 3.仮想枠kに対して、以下の文字列が存在する場合が
ある。
(D) Similarly, the same family tree (family tre)
The distance d (θ 1 , θ 2 ) between two θ 1 and θ 2 belonging to e)
Can be defined inductively. (E) The distance d (θ of θ 1 and θ 2 belonging to different family trees
1 and θ 2 ) = ∞. 3. The following character strings may exist for the virtual frame k.

【0044】すなわちd(k,s)<∞なる任意の仮想
枠sに対してd(k,s0 )≦d(k,s)なるs0
場合をSmin とおく。
That is, Smin is defined as the case of s 0 such that d (k, s 0 ) ≦ d (k, s) for an arbitrary virtual frame s where d (k, s) <∞.

【0045】Smin が空集合でなければ、この集合に対
するsの文字サイズの平均値を仮想枠内の文字列のサイ
ズとする。 4.仮想枠kに対して家族木内に文字列が存在すれば、
上記Smin は空集合になるので仮想枠kの文字サイズは
決定する。 5.仮想枠kに対して家族木内に文字列が存在しない場
合は、仮想枠の高さの「−α」を文字サイズの高さと
し、「(文字サイズの高さ)/2」を文字サイズの幅と
して文字サイズを決定する。
If Smin is not an empty set, the average value of the character size of s for this set is taken as the size of the character string in the virtual frame. 4. If a character string exists in the family tree for the virtual frame k,
Since Smin is an empty set, the character size of the virtual frame k is determined. 5. When the character string does not exist in the family tree for the virtual frame k, “-α” of the height of the virtual frame is the height of the character size, and “(height of the character size) / 2” is the width of the character size. To determine the character size.

【0046】上記のようにして仮想枠の文字サイズが決
定される。 (3)[オリジナル帳票と印刷帳票の位置合わせの問
題] オリジナルのブランク帳票30と帳票自動認識システム
10を使用して最初に作成した印刷帳票70とでは、ス
キャナ20及びプリンタ60の特性により、通常、位置
ズレを生ずる可能性が高い。オリジナルのブランク帳票
30と最初に作成した印刷帳票70との間で位置ずれを
生じている場合は、以下のようにして調整する。
The character size of the virtual frame is determined as described above. (3) [Problem of Aligning Original Form and Printed Form] With the original blank form 30 and the print form 70 first created using the form automatic recognition system 10, due to the characteristics of the scanner 20 and the printer 60, , There is a high possibility that a positional deviation will occur. When the original blank form 30 and the first created print form 70 are misaligned, adjustment is performed as follows.

【0047】図4に示すように例えば透明あるいは半透
明の用紙を用いてテスト用帳票41を予め作成してお
く。このテスト用帳票41は、用紙の印刷可能領域42
内の少し内側に上辺、下辺、左辺、右辺と平行に罫線4
3を引いたものである。このような帳票を異なる用紙サ
イズ毎に用意する。このテスト用帳票41をスキャナ2
0により走査して帳票読込部11Aに読込み、更に帳票
認識部11Bで認識した後、印刷部11Dで印刷を行な
って帳票70を作成する。そして、この印刷帳票70に
上記テスト用帳票41を重ねる等して両者のずれを計測
し、そのズレを帳票認識部11Bが認識できるパラメー
タとして登録する。パラメータは、用紙のサイズ毎及び
用紙の方向毎にそれぞれ設定できるものとする。
As shown in FIG. 4, a test form 41 is prepared in advance using, for example, transparent or translucent paper. This test form 41 has a printable area 42 of paper.
Ruled line 4 parallel to the top, bottom, left, and right sides slightly inside
It is minus 3. Such forms are prepared for different paper sizes. Use this test form 41 for the scanner 2
After scanning by 0, the form is read into the form reading unit 11A, further recognized by the form recognition unit 11B, and then printed by the printing unit 11D to form the form 70. Then, the test form 41 is overlaid on the print form 70 to measure the difference between the two, and the deviation is registered as a parameter that can be recognized by the form recognition unit 11B. The parameters can be set for each paper size and each paper direction.

【0048】上記のようにしてテスト用帳票41と印刷
帳票70との間に生じている位置ずれを最初に調整すれ
ば、その後は、常に位置ずれのない印刷帳票70を作成
することができる。 (4)[帳票印刷での仮想枠とデータとの関連付けの方
法] 次に帳票内の仮想枠kとデータの供給プログラム及びそ
れが持っているデータを関連付ける方法について説明す
る。
As described above, if the misalignment between the test form 41 and the print form 70 is adjusted first, then the print form 70 without any misalignment can be created thereafter. (4) [Method of associating virtual frame with data in form printing] Next, a method of associating the virtual frame k in the form with the data supply program and the data held by the virtual frame k will be described.

【0049】具体的な方法は、各仮想枠kにラベルを付
けることにある。図5にテーブル50の作成例、すなわ
ち仮想枠kにラベル付けした例を示す。[]で囲った部
分が、仮想枠kに付けられたラベルである。
A concrete method is to label each virtual frame k. FIG. 5 shows an example of creating the table 50, that is, an example of labeling the virtual frame k. The part surrounded by [] is the label attached to the virtual frame k.

【0050】例えば、[MS−WORD,NAME1]
というラベルは、日本語文書エディタ「MS−WOR
D」が管理するファイルの“NAME1”という段落に
書き込まれたデータであることを表している。
For example, [MS-WORD, NAME1]
Is a Japanese document editor "MS-WOR
"D" represents the data written in the paragraph "NAME1" of the managed file.

【0051】また、[MS−EXCEL,A,1]とい
うラベルは、表計算ソフト「MS−EXCEL」が管理
するファイルの“A”列の“1”行のセルに書き込まれ
たデータであることを表す。
Further, the label [MS-EXCEL, A, 1] is data written in the cell in the "1" row of the "A" column of the file managed by the spreadsheet software "MS-EXCEL". Represents

【0052】このように各仮想枠kに付けるラベルは、
データ供給のプログラム名とそのデータファイル内のデ
ータの位置を示す。実際の帳票印刷時にデータ供給プロ
グラムが管理するデータファイルを指定する。
The label attached to each virtual frame k in this way is
Indicates the program name of the data supply and the position of the data in the data file. Specify the data file managed by the data supply program when the actual form is printed.

【0053】データファイルが指定されると、印刷部1
1Dは、そのデータファイルの指定された位置からデー
タを取り出して電子化された帳票40内に埋め込んで印
刷する。
When the data file is specified, the printing section 1
1D takes out data from a designated position of the data file, embeds it in the electronic form 40, and prints it.

【0054】従って、予め複数のアプリケーション・ソ
フトウェアにより作成したデータを任意に指定して帳票
70を作成することができる。なお、データファイルか
らのデータの取り出しは、データ供給プログラムに依頼
して行なってもよい。MS−WORDやMS−EXCE
Lであれば、OLE2(Object Lingkingand Embeddin
g)というプロセス連携の手段が用意されている。デー
タファイルからのデータの取り出しについては、データ
供給プログラムに依存するために各データ供給プログラ
ム毎に作成する必要がある。そこで本発明では、データ
ファイルからのデータの取り出し部分をモジュール化し
(例えばDLL:「Dynamic Link Library」にしてお
く)、あとから追加できるようにしている。
Therefore, the form 70 can be created by arbitrarily specifying the data created in advance by a plurality of application software. The data may be retrieved from the data file by requesting the data supply program. MS-WORD and MS-EXCE
If L, OLE2 (Object Lingkingand Embeddin
There is a process cooperation method called g). The data extraction from the data file depends on the data supply program, so that it is necessary to create it for each data supply program. Therefore, in the present invention, the part for extracting the data from the data file is modularized (for example, DLL: “Dynamic Link Library” is set) and can be added later.

【0055】[0055]

【発明の効果】以上詳記したように本発明によれば、以
下に示す効果を得ることができる。 (1)帳票認識部における自動認識が不十分な場合、帳
票内の任意の部分領域に対しスキャナのスレッシュホル
ドを変更して再読込みを行なうことができるので、帳票
の各部分に最適のスレッシュホルドで認識を実行でき、
それぞれの領域での認識率を向上するすることができ
る。 (2)帳票の各部分で最適に認識された帳票データを合
成することにより、帳票全体として非常に高い認識率を
得ることができる。 (3)帳票認識部で認識された複数の領域の各帳票デー
タを編集部により合成する際、再読込みの領域に跨がっ
て定義されていたデータを自動的に接続するので、帳票
の各部分毎に認識した帳票データを合成する場合でも、
帳票上のオブジェクトは、一括して認識したものと同じ
ものとなる。 (4)帳票内の指定された基準点の回りの罫線・文字情
報からその基準点を含む領域に仮想枠を自動的に作成で
き、帳票作成の工数を大幅に減らすことができる。 (5)編集部は、帳票内の罫線や文字の移動に伴って、
それに関係を持つ仮想枠の大きさや位置を自動的に調整
するようにしているで、編集作業に際して、仮想枠内の
再定義の工数を格段に減らすことができる。 (6)編集部は、仮想枠を作成する際に、その仮想枠内
に記入するデータの文字サイズをその周囲の文字情報か
ら自動的に決定するようにしているので、仮想枠内の記
入データの文字サイズを人間が対話的に指定するときの
工数を格段に減らすことができる。 (7)印刷帳票とオリジナル帳票との間の位置ズレを補
正するパラメータを用紙サイズ及び用紙方向毎に帳票認
識部のパラメータとして設定し、その設定パラメータに
応じて帳票認識部により補正するようにしているので、
帳票自動認識システムで作成した電子化帳票をオリジナ
ル帳票と同じ用紙マージンで印刷することが容易とな
る。従って、通常、スキャナやプリンタの機器の特性に
よって用紙マージンが左右されるが、その補正を印刷の
度に行なう必要がなくなる。 (8)帳票内の仮想枠とデータの供給プログラム及びそ
れらが持っているデータを関連付けるために、仮想枠に
ラベルを付けたテーブルを備えているので、何の追加の
開発なしに帳票内の仮想枠にデータ供給プログラムが生
成したデータを記入して印刷することが可能になる。 (9)帳票内の仮想枠にデータ供給プログラムが生成し
たデータを記入して印刷する際に、データ供給プログラ
ムに対するデータの取り出し部分をモジュール化して構
成することにより、新たなデータ供給プログラムに対し
ても印刷部の修正を行なうこと無しに対応するモジュー
ルを開発するだけで、そのデータ供給プログラムが生成
したデータを帳票の記入枠に埋め込むことが可能とな
る。
As described above in detail, according to the present invention, the following effects can be obtained. (1) When automatic recognition in the form recognition unit is insufficient, the threshold of the scanner can be changed and reread for any partial area in the form, so the optimum threshold for each part of the form can be obtained. Recognition can be performed with
The recognition rate in each area can be improved. (2) By combining the form data optimally recognized in each part of the form, a very high recognition rate can be obtained for the entire form. (3) When combining the respective form data of the plurality of areas recognized by the form recognition unit by the editing unit, since the data defined across the reread region is automatically connected, Even when synthesizing the form data recognized for each part,
The objects on the form are the same as those recognized collectively. (4) A virtual frame can be automatically created from the ruled line / character information around the specified reference point in the form in the area including the reference point, and the man-hours for creating the form can be significantly reduced. (5) The editorial department moves along with the movement of ruled lines and characters in the form.
Since the size and position of the virtual frame related thereto are automatically adjusted, the number of redefinition steps in the virtual frame can be significantly reduced during editing work. (6) When creating the virtual frame, the editing unit automatically determines the character size of the data to be written in the virtual frame from the character information around the virtual frame. It is possible to remarkably reduce the number of man-hours when a human interactively specifies the character size of. (7) A parameter for correcting the positional deviation between the printed form and the original form is set as a parameter of the form recognition unit for each paper size and paper direction, and is corrected by the form recognition unit according to the set parameter. Because
It becomes easy to print the electronic form created by the automatic form recognition system with the same paper margin as the original form. Therefore, although the sheet margin is usually influenced by the characteristics of the scanner or printer, it is not necessary to make the correction for each printing. (8) A virtual frame in the form is provided with a table for labeling the virtual frame and the data supply program and the data that they have, so that the virtual frame in the form can be created without any additional development. The data generated by the data supply program can be entered in the frame and printed. (9) When the data generated by the data supply program is written in the virtual frame in the form and printed, the data extraction part for the data supply program is modularized so that a new data supply program can be created. Even by developing a corresponding module without modifying the printing section, the data generated by the data supply program can be embedded in the entry frame of the form.

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

【図1】本発明の一実施形態に係る帳票作成装置の構成
を示すブロック図。
FIG. 1 is a block diagram showing the configuration of a form creation device according to an embodiment of the present invention.

【図2】同実施形態における点(a,b)を基準点とし
て仮想枠を作成する場合の処理動作を示すフローチャー
ト。
FIG. 2 is a flowchart showing a processing operation when a virtual frame is created with the point (a, b) as a reference point in the same embodiment.

【図3】同実施形態における領域Aに仮想枠を作成する
場合の説明図。
FIG. 3 is an explanatory diagram when a virtual frame is created in an area A according to the same embodiment.

【図4】本発明で使用されるテスト用帳票を示す図。FIG. 4 is a view showing a test form used in the present invention.

【図5】本発明におけるテーブルの作成例を示す図。FIG. 5 is a diagram showing an example of creating a table according to the present invention.

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

1 入力装置 10 帳票自動認識システム 11A 帳票読込部 11B 帳票認識部 11C 編集部 11D 印刷部 20 スキャナ 30 ブランク帳票 31 ブランク帳票イメージ 31a〜31c 領域別のイメージ 32a〜32c 部分的に電子化された帳票 40 電子化された帳票 41 テスト用帳票 42 印刷可能領域 43 罫線 45 表示部 50 テーブル 60 プリンタ 70 印刷帳票 DESCRIPTION OF SYMBOLS 1 Input device 10 Automatic form recognition system 11A Form reading unit 11B Form recognition unit 11C Editing unit 11D Printing unit 20 Scanner 30 Blank form 31 Blank form image 31a to 31c Region-specific image 32a to 32c Partially digitized form 40 Computerized form 41 Test form 42 Printable area 43 Ruled line 45 Display section 50 Table 60 Printer 70 Printed form

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 予め帳票用紙に印刷されている帳票フォ
ーマットをスキャナにより読取り、この読取った帳票フ
ォーマットを帳票イメージとして読込む帳票読込み手段
と、 この帳票読込み手段で読取った帳票イメージを識別して
電子化された帳票データを得る帳票認識手段と、 この帳票認識手段で認識した帳票イメージを印刷する印
刷手段と、 上記帳票認識手段における自動認識が不十分な場合、帳
票内の任意の部分領域に対し上記スキャナのスレッシュ
ホルドを変更して再読込みを行なう再読込み手段とを具
備したことを特徴とする帳票作成装置。
1. A form reading means for reading a form format printed in advance on a form sheet with a scanner, and reading the read form format as a form image, and a form image read by the form reading means are identified to be electronic. Form recognition means for obtaining the converted form data, printing means for printing the form image recognized by this form recognition means, and if automatic recognition by the form recognition means is insufficient, for any partial area in the form A form creating apparatus comprising: a rereading unit that rereads by changing a threshold of the scanner.
【請求項2】 請求項1記載の帳票作成装置において、
帳票認識手段で認識された電子化された帳票に対し、再
読込み手段により再読込みを行なって再認識した部分領
域の電子化帳票データを合成する編集手段を備えたたこ
とを特徴とする帳票作成装置。
2. The form creation apparatus according to claim 1, wherein
Form creation characterized in that the electronic form recognized by the form recognizing means is re-read by the re-reading means, and the edit means for synthesizing the electronic form data of the re-recognized partial area is provided. apparatus.
【請求項3】 請求項2記載の帳票作成装置において、
編集手段は、帳票認識手段で認識された帳票データを合
成する際、再読込みの領域に跨がって定義されていたデ
ータを自動的に接続する手段を備えたことを特徴とする
帳票作成装置。
3. The form creation device according to claim 2,
The form creating device, wherein the editing unit includes a unit for automatically connecting the data defined over the reread area when the form data recognized by the form recognizing unit are combined. .
【請求項4】 請求項2又は請求項3記載の帳票作成装
置において、編集手段は、帳票内の指定された基準点の
回りの罫線・文字情報からその基準点を含む領域に仮想
枠を作成する仮想枠作成手段を備えたことを特徴とする
帳票作成装置。
4. The form creation apparatus according to claim 2 or 3, wherein the editing means creates a virtual frame in a region including the reference point from ruled line / character information around a specified reference point in the form. A form creation apparatus comprising a virtual frame creation means for performing the above.
【請求項5】 請求項4記載の帳票作成装置において、
編集手段は、帳票内の罫線や文字の移動に伴って、それ
に関係を持つ仮想枠の大きさや位置を自動的に調整する
調整手段を備えたことを特徴とする帳票作成装置。
5. The form creation apparatus according to claim 4,
The form creating apparatus is characterized in that the editing unit includes an adjusting unit that automatically adjusts the size and position of a virtual frame related to a ruled line or a character in the form as the line moves.
【請求項6】 請求項4又は請求項5記載の帳票作成装
置において、編集手段は、仮想枠を作成する際に、その
仮想枠内に記入するデータの文字サイズをその周囲の文
字情報から自動的に決定する文字サイズ決定手段を備え
たことを特徴とする帳票作成装置。
6. The form creation apparatus according to claim 4 or 5, wherein the editing means automatically creates a character size of data to be entered in the virtual frame from character information around the virtual frame when creating the virtual frame. A form creation apparatus characterized in that it comprises a character size determining means for deciding automatically.
【請求項7】 請求項1記載の帳票作成装置において、
印刷帳票とオリジナル帳票との間の位置ズレを補正する
パラメータを用紙サイズ及び用紙方向毎に帳票認識手段
のパラメータとして設定し、その設定パラメータに応じ
て上記帳票認識部により補正することを特徴とする帳票
作成装置。
7. The form creation device according to claim 1, wherein
It is characterized in that a parameter for correcting the positional deviation between the printed form and the original form is set as a parameter of the form recognition means for each paper size and paper direction, and is corrected by the form recognition unit according to the set parameter. Form creation device.
【請求項8】 請求項4記載の帳票作成装置において、
帳票内の仮想枠とデータの供給プログラム及びそれらが
持っているデータを関連付けるために、上記仮想枠にラ
ベルを付けたテーブルを備えたことを特徴とする帳票作
成装置。
8. The form creation apparatus according to claim 4,
A form creation apparatus comprising a table that labels the virtual frame in the form and a data supply program and the data that they have in order to associate the data with the program.
【請求項9】 請求項4記載の帳票作成装置において、
帳票内の仮想枠にデータ供給プログラムが生成したデー
タを記入して印刷する際に、データ供給プログラムに対
するデータの取り出し部分をモジュール化して構成した
ことを特徴とする帳票作成装置。
9. The form creation device according to claim 4,
A form creating apparatus characterized in that, when data generated by a data supply program is written in a virtual frame in a form and printed, a data extraction part for the data supply program is modularized.
JP8047480A 1996-03-05 1996-03-05 Slip preparation device Pending JPH09245099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8047480A JPH09245099A (en) 1996-03-05 1996-03-05 Slip preparation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8047480A JPH09245099A (en) 1996-03-05 1996-03-05 Slip preparation device

Publications (1)

Publication Number Publication Date
JPH09245099A true JPH09245099A (en) 1997-09-19

Family

ID=12776306

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8047480A Pending JPH09245099A (en) 1996-03-05 1996-03-05 Slip preparation device

Country Status (1)

Country Link
JP (1) JPH09245099A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6694065B2 (en) 2000-03-10 2004-02-17 Fujitsu Limited Image collating apparatus and image collating method
JP2011019076A (en) * 2009-07-08 2011-01-27 Ricoh Co Ltd Image processor, file management method for image output, and program
JP2019159932A (en) * 2018-03-14 2019-09-19 富士ゼロックス株式会社 Information processing device and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6694065B2 (en) 2000-03-10 2004-02-17 Fujitsu Limited Image collating apparatus and image collating method
JP2011019076A (en) * 2009-07-08 2011-01-27 Ricoh Co Ltd Image processor, file management method for image output, and program
JP2019159932A (en) * 2018-03-14 2019-09-19 富士ゼロックス株式会社 Information processing device and program
JP2022066321A (en) * 2018-03-14 2022-04-28 富士フイルムビジネスイノベーション株式会社 Information processing device and program

Similar Documents

Publication Publication Date Title
US5101448A (en) Method and apparatus for processing a document by utilizing an image
US6466954B1 (en) Method of analyzing a layout structure of an image using character recognition, and displaying or modifying the layout
US6466694B2 (en) Document image processing device and method thereof
US5734761A (en) Editing scanned document images using simple interpretations
US7391917B2 (en) Image processing method
JP3822277B2 (en) Character template set learning machine operation method
US7664321B2 (en) Image processing method, system, program, program storage medium and information processing apparatus
US7532757B2 (en) Image processing apparatus, control method therefor, and program
US6208744B1 (en) Document image processor and method for setting a document format conforming to a document image
US20070228168A1 (en) OCR sheet-inputting device, OCR sheet, program for inputting an OCR sheet and program for drawing an OCR sheet form
JP3113827B2 (en) Method and apparatus for recognizing rectangular object
KR100570224B1 (en) Form definition data creation method and form handling machines
JP5538812B2 (en) Image processing apparatus, image processing method, and program
JP3733310B2 (en) Document format identification device and identification method
JPH09245099A (en) Slip preparation device
JP2006227824A (en) Drawing recognition method and device
JP2003256770A (en) Mathematical formula recognizing device and mathematical formula recognizing method
JP2000029198A (en) Color proof device, image processor and recording medium
JP3070801B2 (en) Drawing management method
JP3113633B2 (en) Plate inspection device
JP2686479B2 (en) Graphic identification code input device
JPH0916714A (en) Multicolor character image reader
JPH103516A (en) Method and device for processing information
JP3182694B2 (en) Figure editing method and apparatus
JPH02138674A (en) Method and device processing document