JPH0934989A - Format parameter generating method for ocr - Google Patents

Format parameter generating method for ocr

Info

Publication number
JPH0934989A
JPH0934989A JP7206429A JP20642995A JPH0934989A JP H0934989 A JPH0934989 A JP H0934989A JP 7206429 A JP7206429 A JP 7206429A JP 20642995 A JP20642995 A JP 20642995A JP H0934989 A JPH0934989 A JP H0934989A
Authority
JP
Japan
Prior art keywords
ocr
display
character
displayed
candidate
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
JP7206429A
Other languages
Japanese (ja)
Inventor
Minoru Masuda
増田  稔
Kenji Tasaka
健二 田坂
Toshihiro Hananoi
歳弘 花野井
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.)
Hitachi High Tech Corp
Original Assignee
Hitachi Electronics Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Electronics Engineering Co Ltd filed Critical Hitachi Electronics Engineering Co Ltd
Priority to JP7206429A priority Critical patent/JPH0934989A/en
Publication of JPH0934989A publication Critical patent/JPH0934989A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To generate format parameter in a short time by a user by instructing the area for character description of a slip for OCR input displayed on the screen of a display while using a pointing device. SOLUTION: Image data fetched from a slip S for OCR input are outputted onto a display 2 so that the image of the slip S for OCR input (such as the outline of the slip or the frame line of the area for character description) can be displayed on the display 2. When the user instructs the position, where the area for character description is displayed, on the screen of that display 2 while using a pointing device 3, based on data showing that position, the format parameter concerning that slip S for OCR input is generated. Thus, since the work for generating the format parameter is performed through the screen of the display 2, the format parameter can be generated by easy work in a short time.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、OCR(光学式
文字読取り)装置を用いてOCR入力用帳票上の文字を
読み取ることによってデータ入力を行なう情報処理シス
テムの技術分野に関するものであり、より詳しくは、O
CR入力用帳票についてのフォーマットパラメータをユ
ーザーが簡単に且つ高い精度で作成できるようにした方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the technical field of an information processing system for inputting data by reading characters on an OCR input form using an OCR (optical character reading) device. Is O
The present invention relates to a method for allowing a user to easily and highly accurately create a format parameter for a CR input form.

【0002】[0002]

【従来の技術】今日、パーソナルコンピュータを中核と
した小規模情報処理システムにおいて、データの入力装
置としてのOCRモジュール(小型化したOCR装置)
の利便性,有用性が注目を浴びている。すなわち、例え
ば伝票の集計管理業務を行なう小規模情報処理システム
において、多数の伝票に記入された商品番号,数量,単
価等のデータを、キーボードを用いて人手で打ち込むこ
とによって入力することは、非能率的であるとともに、
キー操作のミスによる誤入力の原因ともなる。これに対
し、文字記入用の領域(通常は枠等で囲まれている)等
を印刷したOCR入力用帳票に、商品番号,数量,単価
等を記入し、OCRモジュールを用いて該帳票上の文字
を読み取ることによってこれらのデータを入力するよう
にすれば、入力処理を非常に効率的且つ正確に行なうこ
とができるようになる。
2. Description of the Related Art Today, an OCR module (miniaturized OCR device) is used as a data input device in a small-scale information processing system centered on a personal computer.
The convenience and usefulness of is attracting attention. That is, for example, in a small-scale information processing system for managing the management of slips, it is not possible to manually enter the data such as the product number, the quantity, and the unit price written on many slips by using a keyboard. Being efficient,
It may cause an incorrect input due to a key operation error. On the other hand, the product number, quantity, unit price, etc. are entered in the OCR input form in which the character entry area (usually surrounded by a frame etc.) is printed, and the OCR module is used to By inputting these data by reading characters, the input process can be performed very efficiently and accurately.

【0003】ところで、OCRモジュールにOCR入力
用帳票上の文字を読み取らせるためには、そのOCR入
力用帳票のフォーマット(書式)に関する情報としての
フォーマットパラメータを作成し、そのフォーマットパ
ラメータをOCRモジュールに供給しなければならな
い。OCRモジュールは、OCR入力用帳票から取り込
んだ画像データに対し、このフォーマットパラメータに
従い、文字の切出し,重み付け等の前処理と最終的な文
字認識とを行なう。
By the way, in order for the OCR module to read the characters on the OCR input form, a format parameter as information on the format of the OCR input form is created and the format parameter is supplied to the OCR module. Must. The OCR module performs preprocessing such as character cutting and weighting and final character recognition on the image data captured from the OCR input form according to the format parameters.

【0004】こうしたフォーマットパラメータの内容と
しては、OCRモジュールがOCR入力用帳票上で文字
の切出しを行なうべき領域(以下、読取りフィールドと
呼ぶことにする)の位置,大きさ及び形状等のほかに、
当該読取りフィールドの名称や、当該読取りフィールド
に記入される文字のデータ形式(単価であるとか、数量
であるとか)や、複数の読取りフィールド相互の論理的
関係(例えば、同一行内の1番目の読取りフィールド内
の数値と2番目の読取りフィールド内の数値との積が3
番目の読取りフィールド内の数値になるといった関係)
や、OCRモジュールの仕様に由来する制約を受ける情
報(例えば、各読取りフィールドに記入される文字の種
類(数字だけであるとか、カタカナも含んでいると
か))等を挙げることができる。
The contents of such format parameters include the position, size and shape of the area (hereinafter referred to as a read field) in which the OCR module should cut out characters on the OCR input form.
The name of the reading field, the data format of the characters written in the reading field (such as unit price or quantity), and the logical relationship between the reading fields (for example, the first reading in the same line). The product of the number in the field and the number in the second reading field is 3
The relation such as the number in the second reading field)
And information subject to restrictions derived from the specifications of the OCR module (for example, the type of characters to be written in each reading field (such as only numbers or including katakana)) and the like.

【0005】従来、これらのフォーマットパラメータの
うち、読取りフィールドの位置,大きさ及び形状等に関
するフォーマットパラメータは、OCR入力用帳票上の
文字記入用領域の寸法や距離等を、ユーザーが帳票上で
定規等を用いて実測し、その実測値をキーボードなどを
用いて入力することによって作成していた。
Conventionally, among these format parameters, the format parameters relating to the position, size, shape, etc. of the reading field are such that the user sets the size and distance of the character entry area on the OCR input form on the form by the user. It was created by actually measuring with a keyboard and the like.

【0006】[0006]

【発明が解決しようとする課題】しかし、OCR入力用
帳票上でいちいち寸法や距離等を実測するのは面倒な作
業であり、特に、文字記入用領域の数が多いときには、
すべての文字記入用領域について実測を終えるまでに相
当の時間を要してしまう。また、実測値には多かれ少な
かれ誤差が含まれているので、このようにして作成した
読取りフィールドの位置,大きさ及び形状等に関するフ
ォーマットパラメータは、OCR入力用帳票上での文字
記入用領域の位置,大きさ及び形状等とは十分符合して
いないことが多い。そこで実際には、こうしたフォーマ
ットパラメータをOCRモジュールに供給して文字の読
出しを行なわせてみて、その結果誤認識があった場合に
は、再びOCR入力用帳票上での実測をやり直す、とい
う試行錯誤を行なっていた。そのため、ますますフォー
マットパラメータの作成に時間を要することになってい
た。
However, it is a tedious work to measure the dimensions and distances on the OCR input form one by one, especially when the number of character entry areas is large.
It takes a considerable amount of time to complete the actual measurement for all the character writing areas. Further, since the measured values include errors more or less, the format parameters relating to the position, size, shape, etc. of the read field created in this manner are used for the position of the character entry area on the OCR input form. Often, it does not correspond well with the size and shape. Therefore, in practice, such a format parameter is supplied to the OCR module to read out the character, and if there is a misrecognition as a result, the actual measurement on the OCR input form is performed again. Was being done. Therefore, it takes more and more time to create the format parameter.

【0007】この発明は上述の点に鑑みてなされたもの
で、データの入力装置としてOCR装置を採用した小規
模情報処理システムにおいて、ユーザーがフォーマット
パラメータを短時間で作成できるようにした(特に、読
取りフィールドの位置,大きさ及び形状等に関するフォ
ーマットパラメータを、簡単な作業によって短時間に高
い精度で作成できるようにした)フォーマットパラメー
タ作成方法を提供しようとするものである。
The present invention has been made in view of the above points, and enables a user to create format parameters in a short time in a small-scale information processing system employing an OCR device as a data input device (particularly, (EN) It is intended to provide a format parameter creating method capable of creating a format parameter relating to the position, size, shape, etc. of a reading field in a short time with high accuracy by a simple operation.

【0008】[0008]

【課題を解決するための手段】この発明に係るOCR読
取り用フォーマットパラメータ作成方法は、OCR入力
用帳票から画像データを取り込む第1のステップと、前
記画像データをディスプレイに出力する第2のステップ
と、前記ディスプレイの画面に表示されたOCR入力用
帳票の文字記入用領域を、ポインティングデバイスを用
いて指示する第3のステップと、前記ポインティングデ
バイスによって指示された箇所を示すデータに基づき、
前記OCR入力用帳票についてのフォーマットパラメー
タを作成する第4のステップとから成ることを特徴とし
ている。
A method of creating an OCR reading format parameter according to the present invention comprises a first step of capturing image data from an OCR input form and a second step of outputting the image data to a display. A third step of instructing a character entry area of the OCR input form displayed on the screen of the display using a pointing device, and data indicating a portion instructed by the pointing device,
And a fourth step of creating a format parameter for the OCR input form.

【0009】OCR入力用帳票から取り込んだ画像デー
タをディスプレイに出力することによって、当該OCR
入力用帳票の画像(帳票の外形線や文字記入用領域の枠
線等)がディスプレイに表示される。ユーザーが、その
ディスプレイの画面上で、文字記入用領域が表示された
箇所をポインティングデバイスを用いて指示すると、当
該箇所を示すデータに基づき、当該OCR入力用帳票に
ついてのフォーマットパラメータを作成する。
By outputting the image data captured from the OCR input form to the display,
An image of the input form (such as the outline of the form and the frame of the character entry area) is displayed on the display. When the user uses the pointing device to indicate the location where the character entry area is displayed on the screen of the display, a format parameter for the OCR input form is created based on the data indicating the location.

【0010】このように、フォーマットパラメータの作
成のための作業をディスプレイの画面を通して行なうよ
うにしたので、フォーマットパラメータを簡単な作業に
よって短時間に作成できるようになる。また、ポインテ
ィングデバイスで指示した箇所を示すデータ(すなわち
当該箇所の画面上での座標位置)から、読取りフィール
ドの位置,大きさ及び形状等を計算できるので、それら
に関するフォーマットパラメータを高い精度で作成でき
るようになる。
As described above, since the work for creating the format parameter is performed through the screen of the display, the format parameter can be created in a short time by a simple work. Further, since the position, size, shape, etc. of the reading field can be calculated from the data indicating the position designated by the pointing device (that is, the coordinate position on the screen of the position), the format parameter relating to them can be created with high accuracy. Like

【0011】尚、上記第1のステップにおける画像デー
タの取込みは、OCR入力用帳票上の文字を読み取るた
めに使用するOCR装置と同じ機種のOCR装置を用い
て行なうことが好ましい。そうすることにより、OCR
入力用帳票から画像データを取り込む際の解像度と、O
CR入力用帳票上の文字を読み取る際の解像度とが等し
くなるので、作成したフォーマットパラメータをOCR
装置に供給してOCR入力用帳票上の文字の読取りを行
なわせた際に、解像度の相違を原因として誤認識が発生
することを防止することができるようになる。
It is preferable that the image data is captured in the first step using an OCR device of the same model as the OCR device used to read the characters on the OCR input form. By doing so, OCR
The resolution when importing image data from the input form, and O
Since the resolution when reading characters on the CR input form will be the same, the created format parameter will be OCR.
It is possible to prevent erroneous recognition from occurring due to a difference in resolution when the character is read on the OCR input form by being supplied to the device.

【0012】また、上記第3のステップにおいて、文字
記入用領域上の複数の箇所をポインティングデバイスを
用いて指示することに基づき、当該文字記入用領域を、
フォーマットパラメータを作成する対象の候補として、
ディスプレイに表示することが好ましい。そうすること
により、画面上でこうした作成対象候補の表示を見なが
ら作業を行なえるようになるので、作業を一層効率的且
つ快適に行なうことができるようになる。更に、こうし
た作成対象候補の表示を行なうように場合において、デ
ィスプレイに、同じパターンを繰り返して複数組の文字
記入用領域が表示されているときには、そのうちの1組
に対してのみ、上述のように複数の箇所をポインティン
グデバイスを用いて指示することに基づいて作成対象候
補としての表示を行ない、残りの各組に対しては、上記
1組についての作成対象候補としての表示を複写の対象
として設定し、該表示をディスプレイの画面上で適宜の
縮尺で複写することにより、作成対象候補としての表示
を行なうことが好ましい。そうすることにより、ディス
プレイに作成対象候補の表示を行なうためにユーザーが
ポインティングデバイスを用いて指示しなければならな
い画面上の箇所の数を減少させることができるので、フ
ォーマットパラメータの作成のための作業を一層効率的
に行なえるようになる。
Further, in the third step, the character writing area is designated based on a plurality of points on the character writing area which are designated by the pointing device.
As a candidate for creating format parameters,
It is preferably displayed on a display. By doing so, it becomes possible to perform the work while seeing the display of such creation target candidates on the screen, so that the work can be performed more efficiently and comfortably. Further, in the case of displaying such creation target candidates, when the same pattern is repeatedly displayed on the display and a plurality of sets of character writing areas are displayed, only one of the sets is displayed as described above. The display as a creation target candidate is performed based on the designation of a plurality of locations using a pointing device, and the display as a creation target candidate for the above one set is set as a copy target for each of the remaining groups. However, it is preferable to display the display as a candidate for creation by copying the display on the screen of the display at an appropriate scale. By doing so, it is possible to reduce the number of points on the screen that the user has to use the pointing device to display the candidates to be created on the display. Can be done more efficiently.

【0013】また、上記第3のステップにおいて指示さ
れた文字記入用領域に対し、フォーマットパラメータの
作成のための所定の種類の情報(例えば、読取りフィー
ルドの位置,大きさ及び形状等の情報以外の、読取りフ
ィールドの名称や、当該読取りフィールドに記入される
文字のデータ形式や、複数の読取りフィールド相互の論
理的関係や、OCRモジュールの仕様に由来する制約を
受ける情報等)を設定するようにすることが好ましい。
そうすることにより、こうした情報に関するフォーマッ
トパラメータも、ディスプレイの画面を通した簡単な作
業によって短時間に作成できるようになる。更に、設定
したこうした情報を、別の文字記入用領域についてのこ
うした情報を設定するために利用する部品情報として登
録し、この部品情報を利用することによって別の文字記
入用領域についてのこうした情報の設定を行なうように
することが好ましい。そうすることにより、こうした情
報に関するフォーマットパラメータの作成のための作業
を一層効率的に行なえるようになる。
Further, with respect to the character entry area designated in the third step, information of a predetermined type for creating a format parameter (for example, information other than information such as the position, size and shape of the reading field) , The name of the reading field, the data format of the characters to be written in the reading field, the logical relationship between the reading fields, information subject to restrictions derived from the specifications of the OCR module, etc.). It is preferable.
By doing so, format parameters relating to such information can be created in a short time by a simple operation through the screen of the display. Further, such set information is registered as part information used for setting such information about another character entry area, and by using this part information, such information about another character entry area is registered. It is preferable to make the setting. By doing so, the work for creating the format parameters for such information can be performed more efficiently.

【0014】[0014]

【発明の実施の形態】以下、添付図面を参照してこの発
明の実施の形態を詳細に説明する。図1は、この発明に
係るフォーマットパラメータ作成方法を実施するための
小規模情報処理システムのハードウェア構成の一例を示
すブロック図である。このシステムは、パーソナルコン
ピュータ1を中核としており、ディスプレイ(CRTデ
ィスプレイまたは液晶ディスプレイ等)2,マウス3,
キーボード4,OCRモジュール5,ディスク装置(磁
気ディスク装置または光ディスク装置)6及びプリンタ
7が、このコンピュータ1に接続されている。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 1 is a block diagram showing an example of the hardware configuration of a small-scale information processing system for implementing the format parameter creating method according to the present invention. This system has a personal computer 1 as a core, and has a display (CRT display or liquid crystal display) 2, mouse 3,
A keyboard 4, an OCR module 5, a disk device (magnetic disk device or optical disk device) 6 and a printer 7 are connected to the computer 1.

【0015】マウス3は、周知のとおり、ポインティン
グデバイスの一種であり、本体を机上で滑らせることに
よってディスプレイ2の画面2a上でカーソルを所望の
箇所に移動させた上で、本体上面に設けられたボタンを
クリックすることにより、その箇所の画面2a上での座
標位置を示すデータをコンピュータ1に入力することが
できる。OCRモジュール5は、パーソナルコンピュー
タ1へのデータの入力装置として小型化したOCR装置
であり、プリンタ7を用いて印刷したOCR入力用帳票
Sに記入された文字の読取りを行なう。尚、このOCR
モジュール5は、複数種類の色(一例として、赤色と青
色との2種類の色とする)のうちの任意のいずれか一色
をドロップアウトカラーとして指定して読取りを行なう
機種の装置である。
As is well known, the mouse 3 is a kind of pointing device and is provided on the upper surface of the main body after the main body is slid on the desk to move the cursor to a desired position on the screen 2a of the display 2. By clicking the button, the data indicating the coordinate position on the screen 2a at that position can be input to the computer 1. The OCR module 5 is a miniaturized OCR device as a device for inputting data to the personal computer 1, and reads the characters written on the OCR input form S printed using the printer 7. In addition, this OCR
The module 5 is a device of a model that performs reading by designating any one of a plurality of types of colors (for example, two types of colors, red and blue) as a dropout color.

【0016】図2は、コンピュータ1が実行するフォー
マットパラメータ作成処理の一例を示すフローチャート
である。以下、この処理を順を追って説明する。 〔ステップST1における処理〕ステップST1では、
プリンタ7を用いて印刷したOCR入力用帳票から、ユ
ーザーがOCRモジュール5を用いて画像データを取り
込む。
FIG. 2 is a flow chart showing an example of the format parameter creating process executed by the computer 1. Hereinafter, this process will be described step by step. [Process in Step ST1] In step ST1,
The user uses the OCR module 5 to capture image data from the OCR input form printed using the printer 7.

【0017】尚、OCR入力用帳票上の文字記入用領域
の枠線等の色が、OCRモジュール5でドロップアウト
カラーとして指定される赤色または青色のうちのいずれ
かである場合には、その枠線等の色ではないほうの色
を、OCRモジュール5でドロップアウトカラーとして
指定した後で、画像データの取込みを行なうべきものと
する。
If the color of the frame or the like of the character entry area on the OCR input form is either red or blue designated as a dropout color by the OCR module 5, that frame is selected. It is assumed that the color other than the color of the line or the like is designated as the dropout color by the OCR module 5, and then the image data should be captured.

【0018】また、次のステップST2においてOCR
入力用帳票の外形線をディスプレイ2に明確に表示でき
るようにするために、図3に示すように、OCR入力用
帳票S1とは明暗が非常に異なる(例えば、帳票S1の
地の色が白色である場合には、黒色の)物体Mを背景に
して、画像データの取込みを行なうべきものとする。
Further, in the next step ST2, the OCR
In order to clearly display the outline of the input form on the display 2, as shown in FIG. 3, the OCR input form S1 is very different in brightness and darkness (for example, the background color of the form S1 is white. If it is, it is assumed that the image data should be captured with the (black) object M as the background.

【0019】〔ステップST2における処理〕ステップ
ST2では、ユーザーがキーボード4等を用いてOCR
入力用帳票の画像の表示を命じることに応じて、ステッ
プST1で取り込んだOCR入力用帳票の画像データ
を、ディスプレイ2に出力する。これにより、当該OC
R入力用帳票の画像(帳票の外形線や文字記入用領域の
枠線等)が、ディスプレイ2に表示される。
[Processing in Step ST2] In step ST2, the user uses the keyboard 4 or the like to perform OCR.
In response to the command to display the image of the input form, the image data of the OCR input form captured in step ST1 is output to the display 2. As a result, the OC
An image of the R input form (such as the outline of the form and the frame of the character entry area) is displayed on the display 2.

【0020】〔ステップST3における処理〕ステップ
ST3では、最初に、ディスプレイ2に表示されたOC
R入力用帳票の外形線の範囲内の特定の複数の箇所をユ
ーザーがマウス3を用いて指示することに基づき、それ
ら複数の箇所を示すデータから、当該OCR入力用帳票
のサイズ(横方向,縦方向の長さ)を算出する。そし
て、算出したサイズを画面2aの一画に表示する。
[Processing in Step ST3] In step ST3, first, the OC displayed on the display 2 is displayed.
Based on the user designating a plurality of specific locations within the outline of the R input form using the mouse 3, the size of the OCR input form (horizontal direction, The length in the vertical direction) is calculated. Then, the calculated size is displayed on one screen of the screen 2a.

【0021】図4は、このサイズ算出処理においてユー
ザーが指示すべき画面2a上の箇所を幾つか例示した図
である。同図(a)〜(c)では、OCRモジュール5
による走査方向に対して傾くことなく画像データを取り
込まれたOCR入力用帳票S1の画像がディスプレイ2
に表示されている。この状態では、帳票S1の外形線の
範囲内の特定の2つの箇所をマウス3を用いて指示すれ
ば、それらの箇所を示すデータから、(具体的には、マ
ウス3が画面2a上で隣り合って指示できる箇所間の最
小距離を1ポイントとして、それらのデータから判明す
る帳票の外形線の水平方向(画面2aの横方向),垂直
方向(画面2aの縦方向)上のポイント数に、当該最小
距離(1ポイント当たりの距離)を乗算することによっ
て)、帳票S1の横方向,縦方向の長さの算出が可能で
ある。この2つの箇所として、同図(a)では、帳票S
1の外形線の左上角(矢印aを付した箇所)と右下角
(矢印bを付した箇所)とを指示すべきことを示してお
り、同図(b)では、帳票S1の四隅に設けられたエッ
ジマークEのうち左上隅のエッジマークE(矢印aを付
した箇所)と右下隅とのエッジマークE(矢印bを付し
た箇所)とを指示すべきことを示している。また同図
(c)では、帳票S1の外形線の角とエッジマークEと
の間に、サイズ算出用の箇所を画面2a上に記号「+」
でガイダンス表示し、そのうちの左上の記号「+」(矢
印aを付した箇所)と右下との記号「+」(矢印bを付
した箇所)とを指示すべきことを示している。但し、同
図(a)に示したのとは逆に帳票S1の外形線の左下角
と右上角とを指示したり、同図(b)に示したのとは逆
に左下隅と右上隅とのエッジマークEを指示したり、同
図(c)に示したのとは逆に左下と右上との記号「+」
を指示したりしてもよいことはもちろんである。
FIG. 4 is a diagram exemplifying some places on the screen 2a to be designated by the user in the size calculation process. In FIGS. 3A to 3C, the OCR module 5
The image of the OCR input form S1 in which the image data is captured without being inclined with respect to the scanning direction by the display 2
Is displayed in. In this state, if two specific places within the range of the outline of the form S1 are pointed by using the mouse 3, from the data indicating those places (specifically, the mouse 3 is adjacent on the screen 2a). With the minimum distance between the points that can be designated together as one point, the number of points in the horizontal direction (horizontal direction of the screen 2a) and vertical direction (vertical direction of the screen 2a) of the outline of the form which is found from those data is It is possible to calculate the horizontal and vertical lengths of the form S1 by multiplying the minimum distance (distance per point). As the two places, in FIG.
1 indicates that the upper left corner (the portion marked with an arrow a) and the lower right corner (the portion marked with an arrow b) of the outline of 1 should be designated. In the same figure (b), they are provided at the four corners of the form S1. It is indicated that the left edge edge mark E (the portion marked with an arrow a) and the edge mark E at the lower right corner (the portion marked with an arrow b) should be designated among the obtained edge marks E. Further, in the same figure (c), between the corner of the outline of the form S1 and the edge mark E, a portion for size calculation is displayed on the screen 2a by the symbol "+".
Indicates that the upper left symbol "+" (the portion marked with an arrow a) and the lower right symbol "+" (the portion marked with an arrow b) should be designated. However, contrary to what is shown in FIG. 9A, the lower left corner and the upper right corner of the outline of the form S1 are designated, and contrary to the one shown in FIG. Or the edge mark E is designated, or contrary to the one shown in FIG.
Of course, you may instruct or.

【0022】これに対し、図4(d)〜(f)では、O
CRモジュール5による走査方向に対して傾いたまま画
像データを取り込まれた帳票S1の画像がディスプレイ
2に表示されている。この状態では、同図(a)〜
(c)のように2つの箇所を示すデータのみから帳票S
1のサイズを算出することはできないが、帳票S1の外
形線の範囲内の3つの箇所を指示すれば、それらの箇所
を示すデータから帳票S1のサイズの算出が可能であ
る。これら3つの箇所として、同図(d)では、同図
(a)に示した2つの箇所に加えて、帳票S1の外形線
の右上角(矢印cを付した箇所)または左下角(矢印d
を付した箇所)のいずれかを指示すべきことを示してお
り、同図(e)では、同図(b)に示した2つの箇所に
加えて、右上隅のエッジマークE(矢印cを付した箇
所)または左下隅のエッジマークE(矢印dを付した箇
所)のいずれかを指示すべきことを示しており、同図
(f)では、同図(c)に示した2つの箇所に加えて、
右上の記号「+」(矢印cを付した箇所)または左下の
記号「+」(矢印dを付した箇所)のいずれかを指示す
べきことを示している。
On the other hand, in FIGS. 4D to 4F, O
The image of the form S1 in which the image data is captured while being inclined with respect to the scanning direction by the CR module 5 is displayed on the display 2. In this state, FIG.
As shown in (c), the form S is created from only the data showing two locations.
Although it is not possible to calculate the size of 1, the size of the form S1 can be calculated from the data indicating the three parts by pointing to three parts within the outline of the form S1. As these three places, in addition to the two places shown in FIG. 7A, in addition to the two places shown in FIG. 7A, the upper right corner (the place marked with arrow c) or the lower left corner (arrow d) of the outline of the form S1
(E.g., a portion marked with a) indicates that the edge mark E (arrow c) in the upper right corner is added in addition to the two locations shown in FIG. Or the edge mark E at the lower left corner (the place with the arrow d) should be designated. In FIG. 6F, the two places shown in FIG. In addition to,
It indicates that either the upper right symbol “+” (the portion with the arrow c) or the lower left symbol “+” (the portion with the arrow d) should be designated.

【0023】図5は、OCR入力用帳票のサイズの算出
例を示す図である。この例では、マウス3の1ポイント
当たりの距離に関するデータは、水平方向,垂直方向共
に0.127ミリメートルに設定されており、ユーザー
が図4のようにして指示した箇所を示すデータから判明
したOCR入力用帳票Sの外形線の水平方向,垂直方向
上のポイント数は、同図(a)のようにそれぞれ165
4,2339である。したがって、帳票Sの横方向の長
さX,縦方向の長さYは、それぞれ 1654×0.127=210ミリメートル 2339×0.127=297ミリメートル (小数点以下2桁目から切捨て)となり、この値が画面
2aの一画に同図(b)のようにして表示される。こう
してOCR入力用帳票のサイズが表示されると、ユーザ
ーがキーボード4等を用いて次のステップへの移行を命
じることに応じて、ステップST3を終了して次のステ
ップST4に進む。
FIG. 5 is a diagram showing an example of calculating the size of the OCR input form. In this example, the data regarding the distance per point of the mouse 3 is set to 0.127 mm in both the horizontal direction and the vertical direction, and the OCR found from the data indicating the position designated by the user as shown in FIG. The number of points in the horizontal direction and the vertical direction of the outline of the input form S is 165 respectively as shown in FIG.
4,2339. Therefore, the horizontal length X and the vertical length Y of the form S are 1654 × 0.127 = 210 mm and 2339 × 0.127 = 297 mm, respectively (rounded down from the second decimal place) Is displayed on one screen of the screen 2a as shown in FIG. When the size of the OCR input form is displayed in this way, step ST3 is ended and step ST4 is advanced in response to the user commanding the shift to the next step using the keyboard 4 or the like.

【0024】〔ステップST4における処理〕ステップ
ST4では、ステップST1で画像データを取り込んだ
OCR入力用帳票が、当初から実際のサイズが判明して
いる帳票(例えば、JIS規格に従ったサイズの用紙か
ら成る帳票)であって、且つ、ステップST3でディス
プレイ2に表示された帳票のサイズが、この実際のサイ
ズと相違している場合には、ユーザーが、キーボード4
を用いて実際のサイズを表わす数値を入力すべきものと
する。(したがって、それ以外の場合には、ステップS
T4の処理を行なう必要はないので、ユーザーは直ちに
キーボード4等を用いて次のステップへの移行を命じる
べきものとする。) そして、ユーザーが入力した数値を帳票のサイズとして
画面2aの一画に表示し直すとともに、ユーザーが入力
した数値に従って、マウス3の1ポイント当たりの距離
に関するデータを補正する。
[Processing in Step ST4] In step ST4, the OCR input form in which the image data is captured in step ST1 is a form in which the actual size is known from the beginning (for example, from a size of paper conforming to the JIS standard). If the size of the form displayed on the display 2 in step ST3 is different from the actual size, the user selects the keyboard 4
You should enter a number that represents the actual size using. (Thus, otherwise, step S
Since it is not necessary to perform the processing of T4, the user should immediately use the keyboard 4 or the like to order the shift to the next step. ) Then, the numerical value input by the user is displayed again as a size of the form on one screen of the screen 2a, and the data regarding the distance per point of the mouse 3 is corrected according to the numerical value input by the user.

【0025】図6は、この補正処理の一例を示す図であ
る。この例では、ステップST1で画像データを取り込
んだOCR入力用帳票Sは、JIS規格のA4判(横2
10ミリメートル,縦297ミリメートル)の用紙から
成る帳票であり、マウス3の1ポイント当たりの距離に
関するデータは、水平方向,垂直方向ともに0.127
ミリメートルに設定されている。したがって通常は、ち
ょうど図5に示したように、帳票の外形線の水平方向,
垂直方向上のポイント数がそれぞれ1654,2339
になることにより、横方向,縦方向の長さがそれぞれ正
確に算出されて表示される筈である。
FIG. 6 is a diagram showing an example of this correction processing. In this example, the OCR input form S in which the image data is captured in step ST1 is a JIS standard A4 size (horizontal 2
It is a form consisting of 10 mm, 297 mm long) paper, and the data on the distance per point of the mouse 3 is 0.127 in both the horizontal and vertical directions.
It is set to millimeters. Therefore, normally, as shown in FIG. 5, the horizontal direction of the outline of the form,
The number of points in the vertical direction is 1654 and 2339, respectively.
Therefore, the horizontal and vertical lengths should be accurately calculated and displayed.

【0026】ところが、ステップST1で画像データの
取込みを行なう際のユーザーのOCRモジュール5の操
作が不適確であったこと等を原因として、図6(a)の
ように帳票Sの外形線の水平方向,垂直方向上のポイン
ト数がそれぞれ1654,2400になった場合には、
帳票Sの横方向の長さX,縦方向の長さYは、それぞれ 1654×0.127=210ミリメートル 2400×0.127=304.8ミリメートル (小数点以下2桁目から切捨て)と算出されてしまい、
図6(b)のように、縦方向の長さについては実際の長
さと異なる値が画面2aの一画に表示されてしまう。こ
の場合には、ユーザーは、キーボード4等を用いて実際
の縦方向の長さを表わす数値「297」を入力すべきも
のとし、この数値に従って、サイズの表示を図6(c)
のように直すとともに、マウス3の垂直方向上の1ポイ
ント当たりの距離に関するデータを、 297÷2400≒0.124ミリメートル に補正する。
However, due to the fact that the operation of the OCR module 5 by the user at the time of taking in the image data in step ST1 was inaccurate, the horizontal outline of the form S as shown in FIG. If the number of points in the vertical and vertical directions is 1654 and 2400 respectively,
The horizontal length X and the vertical length Y of the form S are calculated as 1654 × 0.127 = 210 millimeters 2400 × 0.127 = 304.8 millimeters (rounded down from the second decimal place). Sisters,
As shown in FIG. 6B, a value different from the actual length for the length in the vertical direction is displayed on one screen of the screen 2a. In this case, the user should use the keyboard 4 or the like to input the numerical value "297" representing the actual length in the vertical direction, and display the size according to this numerical value as shown in FIG.
In addition, the data on the distance per point in the vertical direction of the mouse 3 is corrected to 297 ÷ 2400≈0.124 millimeters.

【0027】この補正が完了すると、ユーザーがキーボ
ード4等を用いて次のステップへの移行を命じることに
応じて、ステップST4を終了して次のステップST5
に進む。
When this correction is completed, step ST4 is ended and step ST5 is completed in response to the user commanding the shift to the next step using the keyboard 4 or the like.
Proceed to.

【0028】このように、マウス3の1ポイント当たり
の距離に関するデータを、OCR入力用帳票の実際のサ
イズに従って補正することにより、以下のステップにお
いて、読取りフィールドの位置,大きさ及び形状等の計
算処理を一層高い精度で行なうことができるようにな
る。
In this way, by correcting the data concerning the distance per point of the mouse 3 according to the actual size of the OCR input form, in the following steps, the position, size and shape of the reading field are calculated. The processing can be performed with higher accuracy.

【0029】〔ステップST5における処理〕ステップ
ST5では、ディスプレイ2に表示されたOCR入力用
帳票の文字記入用領域上の複数の箇所をユーザーがマウ
ス3を用いて指示することに基づき、当該文字記入用領
域を、フォーマットパラメータを作成する対象の候補と
して(すなわち、読取りフィールドの候補として)ディ
スプレイ2に表示する。
[Processing in Step ST5] In step ST5, based on the user designating a plurality of locations on the character entry area of the OCR input form displayed on the display 2 using the mouse 3, the character entry is performed. The display area is displayed on the display 2 as a candidate for which a format parameter is created (that is, as a candidate for a reading field).

【0030】図7乃至図10は、この表示処理を例示す
る図である。図7(a)は、ディスプレイ2に表示され
た文字記入用領域が、1文字分の文字枠frを水平方向
に当間隔に複数並べた構成のものであることを示してい
る。この場合には、最初にユーザーは、画面2a上で、
同図のように、文字記入用領域を構成する文字枠frの
うちの左端の文字枠frの枠線の左上角(矢印aを付し
た箇所)と右端の文字枠frの枠線の右下角(矢印bを
付した箇所)とをマウス3を用いて指示すべきものとす
る。そして、ユーザーが指示したこれら2つの箇所を示
すデータから、同図(b)のように、当該文字記入用領
域の全体を囲む線l1によって、読取りフィールド候補
Fの範囲の全体をディスプレイ2に表示する。(図示の
都合上、線l1を破線にするとともに、この破線を文字
枠frの枠線からずらすことによって線l1を枠線から
識別できるようにしているが、実際には、線l1を実線
にするとともにその実線を文字枠frの枠線と重ねて表
示するものとする。そして、画面2a上で線l1を文字
枠frの枠線から識別できるようにするために、後述す
るように、両者を色分けしてディスプレイ2に表示する
ものとする。図7(c),図8,図9及び図10で読取
りフィールド候補Fを表示する線についても同様であ
る。)
7 to 10 are diagrams exemplifying this display processing. FIG. 7A shows that the character entry area displayed on the display 2 has a configuration in which a plurality of character frames fr for one character are arranged in the horizontal direction at equal intervals. In this case, first, the user on the screen 2a
As shown in the figure, the upper left corner (the portion marked with an arrow a) of the frame line of the leftmost character frame fr and the lower right corner of the frame line of the rightmost character frame fr of the character frames fr forming the character writing area. (Location marked with arrow b) should be designated using the mouse 3. Then, from the data indicating these two locations designated by the user, the entire range of the reading field candidate F is displayed on the display 2 by a line 11 that surrounds the entire character writing area, as shown in FIG. To do. (For convenience of illustration, the line 11 is made a broken line, and the broken line is shifted from the frame line of the character frame fr so that the line 11 can be identified from the frame line. However, in practice, the line 11 is made a solid line. In addition, the solid line is displayed so as to overlap with the frame line of the character frame fr, and in order to distinguish the line l1 from the frame line of the character frame fr on the screen 2a, as will be described later, both Are color-coded and displayed on the display 2. The same applies to the line displaying the reading field candidate F in FIGS. 7 (c), 8, 9, and 10.)

【0031】次にユーザーは、図7(c)のように、画
面2a上で、個々の文字枠frの枠線の左上角(矢印a
を付した箇所)と右下角(矢印bを付した箇所)とをマ
ウス3を用いて指示すべきものとする。そして、ユーザ
ーが指示したこれらの箇所を示すデータから、同図のよ
うに、個々の文字枠frの枠線と重なる線l2によっ
て、当該読取りフィールド候補Fの1文字分の範囲をデ
ィスプレイ2に表示する。(図7(c)では、便宜上、
矢印a及びbと線l2とを左端の文字枠frにのみ表示
してある。)
Next, as shown in FIG. 7 (c), the user selects the upper left corner (arrow a) of the frame line of each character frame fr on the screen 2a.
It is assumed that the mouse 3 is used to indicate the position marked with and the lower right corner (position marked with arrow b). Then, from the data indicating these points designated by the user, the range of one character of the reading field candidate F is displayed on the display 2 by a line 12 overlapping the frame line of each character frame fr as shown in FIG. To do. (In FIG. 7C, for convenience,
The arrows a and b and the line 12 are displayed only in the leftmost character frame fr. )

【0032】図8(a)は、ディスプレイ2に表示され
た文字記入用領域が、6文字分の横長の文字枠frから
成るものであることを示している(文字枠fr内の数字
「1」〜「6」は、6文字分の文字枠であることを示す
ために便宜上図示したものである。)この場合には、最
初にユーザーは、同図のように、文字枠frの枠線の左
上角(矢印aを付した箇所)と右下角(矢印bを付した
箇所)とをマウス3を用いて指示すべきものとする。そ
して、ユーザーが指示したこれら2つの箇所を示すデー
タから、図8(b)のように、当該文字記入用領域の全
体を囲む線(ここでは文字枠frの枠線と重なる線)l
3によって、読取りフィールド候補Fの範囲の全体をデ
ィスプレイ2に表示する。次にユーザーは、当該文字記
入用領域に記入される文字の数である「6」をキーボー
ド4等を用いて入力すべきものとする。そして、ユーザ
ーが入力したこの数値に基づき、図8(c)のように、
線l3の内側を均等に6つの範囲に区分する5本の線l
4により、当該読取りフィールド候補Fの1文字分の範
囲をディスプレイ2に表示する。
FIG. 8A shows that the character entry area displayed on the display 2 is composed of a horizontally long character frame fr for 6 characters (the numeral "1" in the character frame fr). "-" 6 "are illustrated for the sake of convenience to show that the character frame is for 6 characters.) In this case, first, the user, as shown in FIG. The upper left corner (the portion marked with an arrow a) and the lower right corner (the portion marked with an arrow b) should be designated using the mouse 3. Then, from the data indicating these two points designated by the user, as shown in FIG. 8B, a line (here, a line overlapping the frame line of the character frame fr) surrounding the entire character writing area l
3, the entire range of the reading field candidate F is displayed on the display 2. Next, the user should input "6", which is the number of characters written in the character writing area, using the keyboard 4 or the like. Then, based on this numerical value input by the user, as shown in FIG.
Five lines l that equally divide the inside of the line l3 into six areas
4, the range of one character of the reading field candidate F is displayed on the display 2.

【0033】図9(a)は、ディスプレイ2に表示され
た文字記入用領域が、7行4列分の文字枠fr(より具
体的には、集計表のセル)から成るものであることを示
している。この場合には、最初にユーザーは、同図のよ
うに、画面2a上で、1番上の行の左上角(矢印aを付
した箇所)と1番下の行の右下角(矢印bを付した箇
所)とをマウス3を用いて指示すべきものとする。そし
て、ユーザーが指示したこれら2つの箇所を示すデータ
から、図9(b)のように、当該文字記入用領域の全体
を囲む線l5によって、読取りフィールド候補Fの範囲
の全体をディスプレイ2に表示する。次にユーザーは、
行数である「7」と列数である「4」とを、キーボード
4等を用いて入力すべきものとする。そして、ユーザー
が入力したこの数値に基づき、図9(c)のように、線
l5の内側を横方向に均等に7つの範囲に区分する6本
の線l6と、線l5の内側を縦方向に均等に4つの範囲
に区分する3本の線l7とにより、当該読取りフィール
ド候補Fの1行分の範囲と1列分の範囲とをディスプレ
イ2に表示する。
FIG. 9A shows that the character entry area displayed on the display 2 is composed of a character frame fr of 7 rows and 4 columns (more specifically, a cell of a summary table). Shows. In this case, first, as shown in the figure, the user selects the upper left corner of the top row (the portion marked with arrow a) and the lower right corner of the bottom row (arrow b) on the screen 2a. (The part marked with) should be designated using the mouse 3. Then, from the data indicating these two locations designated by the user, the entire range of the reading field candidate F is displayed on the display 2 by a line 15 surrounding the entire character writing area as shown in FIG. 9B. To do. Next, the user:
It is assumed that "7", which is the number of rows, and "4", which is the number of columns, should be input using the keyboard 4 or the like. Then, based on this numerical value input by the user, as shown in FIG. 9C, the six lines l6 that divide the inside of the line l5 into seven areas evenly in the horizontal direction and the inside of the line l5 in the vertical direction. With the three lines 17 equally dividing into four ranges, the range for one row and the range for one column of the reading field candidate F are displayed on the display 2.

【0034】図10(a)は、図9(a)と同様に、デ
ィスプレイ2に表示された文字記入用領域が7行分の文
字枠から成るものであることを示している。但し、図9
(a)の場合とは異なり、各文字枠の間に、当間隔にギ
ャップが存在している。この場合には、最初にユーザー
は、同図のように、画面2a上で、1番上の行の左上角
(矢印aを付した箇所)と1番下の行の右下角(矢印b
を付した箇所)とを、マウス3を用いて指示すべきもの
とする。そして、ユーザーが指示したこれら2つの箇所
を示すデータから、図10(b)のように、当該文字記
入用領域の全体を囲む線l5によって、読取りフィール
ド候補の範囲の全体をディスプレイ2に表示する。次に
ユーザーは、図10(b)のように、1番上の行の左端
の1文字分の範囲の右下角(矢印cを付した箇所)を、
マウス3を用いて指示すべきものとする。この矢印cを
付した箇所を示すデータと矢印aを付した箇所を示すデ
ータとから、1文字分の範囲の縦方向の長さ(すなわ
ち、読取りフィールド候補の1行分の範囲の縦方向の長
さ)と、1文字分の範囲の横方向の長さとが求められる
ので、図10(c)のように、読取りフィールド候補の
1行分の範囲を線l6によってディスプレイ2に表示す
るとともに、読取りフィールド候補の各行の1文字分の
範囲を線l7によってディスプレイ2に表示する。尚、
図9(a)の文字記入用領域についても、前述した方法
の代わりに、この図10(a)の文字記入用領域に対す
るのと同じ方法で読取りフィールド候補の表示処理を行
なってよいことはもちろんである。
FIG. 10A shows that, similarly to FIG. 9A, the character entry area displayed on the display 2 is composed of a character frame for 7 lines. However, FIG.
Unlike in the case of (a), there is a gap at each interval between the character frames. In this case, first, as shown in the same figure, the user first selects the upper left corner of the top row (the portion marked with arrow a) and the lower right corner of the bottom row (arrow b) on the screen 2a.
(The part marked with) should be designated using the mouse 3. Then, from the data indicating these two points designated by the user, the entire range of the reading field candidates is displayed on the display 2 by a line 15 surrounding the entire character writing area as shown in FIG. 10B. . Next, the user, as shown in FIG. 10 (b), changes the lower right corner (the part with the arrow c) of the one character range at the left end of the top row to
It should be indicated using mouse 3. From the data indicating the portion indicated by the arrow c and the data indicating the portion indicated by the arrow a, the length in the vertical direction of one character (that is, in the vertical direction in the range of one line of the reading field candidate). (Length) and the horizontal length of the range of one character are obtained. Therefore, as shown in FIG. 10C, the range of one line of the reading field candidates is displayed on the display 2 by the line 16 and The range of one character in each line of the reading field candidates is displayed on the display 2 by the line 17. still,
Regarding the character writing area of FIG. 9A, it is needless to say that the reading field candidate display processing may be performed by the same method as that for the character writing area of FIG. 10A instead of the method described above. Is.

【0035】このようにして、ディスプレイ2の画面2
aに表示された文字記入用領域のうち読取りフィールド
候補とすべき文字記入用領域について、読取りフィール
ド候補としての表示が行なわれると、ユーザーがキーボ
ード4等を用いて次のステップへの移行を命じることに
応じて、ステップST5を終了して次のステップST6
に進む。
In this way, the screen 2 of the display 2
When a character entry area to be a reading field candidate among the character entry areas displayed in a is displayed as a reading field candidate, the user uses the keyboard 4 or the like to instruct the shift to the next step. Accordingly, step ST5 is ended and the next step ST6 is executed.
Proceed to.

【0036】尚、ディスプレイ2の画面2aに、同じパ
ターンを繰り返して複数組の文字記入用領域が表示され
ている場合には、ステップST5の処理による読取りフ
ィールド候補としての表示は、そのうちの1組に対して
のみ行なうべきものとする。そして、残りの各組に対し
ては、次のステップST6の複写処理によって読取りフ
ィールド候補としての表示を行なわせるべきものとす
る。
When a plurality of sets of character writing areas are displayed by repeating the same pattern on the screen 2a of the display 2, the display as a reading field candidate in the process of step ST5 is one of the sets. Should be done only for. Then, the remaining sets should be displayed as reading field candidates by the copying process in the next step ST6.

【0037】〔ステップST6における処理〕ステップ
ST6では、ディスプレイ2に、同じパターンを繰り返
して複数組の文字記入用領域が表示されている場合に、
そのうちの1組についてのステップST5による読取り
フィールド候補としての表示を複写の対象として設定
し、この表示を画面2a上で適宜の縮尺で複写すること
によって、残りの各組に対して読取りフィールド候補と
しての表示を行なう。(したがって、それ以外の場合に
は、ステップST6の処理を行なう必要はないので、ユ
ーザーは直ちにキーボード4等を用いて次のステップへ
の移行を命じるべきものとする。)
[Processing in Step ST6] In step ST6, when the same pattern is repeated on the display 2 to display a plurality of character writing areas,
The display as a reading field candidate in step ST5 for one of them is set as a copy target, and this display is copied at an appropriate scale on the screen 2a, so that each of the remaining groups is set as a reading field candidate. Is displayed. (Therefore, in other cases, there is no need to perform the processing of step ST6, so the user should immediately use the keyboard 4 or the like to order the transition to the next step.)

【0038】図11は、この複写処理の一例を示す図で
ある。同図(a)では、ディスプレイ2に、同じパター
ンを繰り返して(すなわち同じ形状で)6組の文字記入
用領域C1〜C6(1組の文字記入用領域は、1文字用
の文字枠を水平方向に当間隔に5個並べた文字記入用領
域と、1文字用の文字枠を水平方向に当間隔に3個並べ
た文字記入用領域とから成っている)が表示されてい
る。そして、そのうちの1組C1に対してのみ、ステッ
プST5の処理によって読取りフィールド候補F1とし
ての表示と読取りフィールドF2としての表示とが行な
われた状態にある。
FIG. 11 is a diagram showing an example of this copying process. In FIG. 1A, the same pattern is repeated on the display 2 (that is, with the same shape) to form six sets of character writing areas C1 to C6 (one set of character writing areas has a horizontal character frame for one character). A character writing area in which five character writing areas are arranged at equal intervals in the direction and a character writing area in which three character frames for one character are horizontally arranged at equal intervals are displayed). Only one set C1 among them is displayed as the reading field candidate F1 and the reading field F2 by the process of step ST5.

【0039】この状態で、最初にユーザーは、画面2a
上で、組C1の左上端(ここでは読取りフィールド候補
F1の左上端と一致する)と右下端(ここでは読取りフ
ィールド候補F2の右下端と一致する)とをマウス3を
用いて指示すべきものとする。そして、ユーザーが指示
したこれら2つの箇所を示すデータから、組C1内に存
在する読取りフィールド候補である読取りフィールド候
補F1及びF2の表示を、1つの複写対象グループとし
て設定する。尚、複写対象グループを設定した範囲がユ
ーザーに明確にわかるように、該範囲を画面2a上で他
の箇所とは違えて表示する(例えば、明暗を反転して表
示したり、網かけ表示をしたりする)ことが好ましい。
In this state, the user first touches the screen 2a.
In the above, the upper left end of the set C1 (here, it matches the upper left end of the reading field candidate F1) and the lower right end (here, it matches the lower right end of the reading field candidate F2) are to be designated using the mouse 3. To do. Then, the display of the reading field candidates F1 and F2, which are the reading field candidates existing in the set C1, is set as one copy target group from the data indicating these two locations designated by the user. It should be noted that the range in which the group to be copied is set is displayed differently from the other areas on the screen 2a so that the user can clearly understand the range (for example, the display is reversed with light and dark, or shaded display). Preferably).

【0040】次にユーザーは、画面2a上で、図11
(b)のように、組C2〜C6のうちのいずれかについ
て、その左上端の文字枠の左上角を、複写の基点として
マウス3を用いて指示すべきものとする。そして、ユー
ザーが指示したこの基点を示すデータから、この基点に
上記複写対象グループの表示の左上端を合わせるように
して、上記複写対象グループの表示を画面2a上で複写
する。これにより、当該組に対して、組C1と同じよう
な読取りフィールド候補としての表示が行なわれる。次
に、組C2〜C6の残りのものに対しても、図11
(b)に示したのと同じ処理を行なうことにより、読取
りフィールド候補としての表示を行なう。
Next, the user displays the screen shown in FIG.
As shown in (b), the upper left corner of the upper left character frame of any one of the sets C2 to C6 should be designated by using the mouse 3 as a base point for copying. Then, from the data indicating the base point designated by the user, the display of the copy target group is copied on the screen 2a by aligning the upper left end of the display of the copy target group with the base point. As a result, the same set of display field candidates as the set C1 is displayed on the set. Next, for the rest of the sets C2-C6, FIG.
By performing the same processing as shown in (b), display as a read field candidate is performed.

【0041】尚、組C2〜C6のうちに、組C1と形状
は同じであるが大きさが異なる(すなわち相似形であ
る)ものがある場合には、その組については、ユーザー
は、図11(b)のように複写の基点を指示するだけで
はなく、図11(c)のように、当該組の右下端の文字
枠の右下角を、複写の終点としてマウス3を用いて指示
すべきものとする。そして、ユーザーが指示した基点と
終点とを示すデータから、基点に複写対象グループの表
示の左上端を合わせ且つ終点に複写対象グループの表示
の右下端を合わせるようにして、複写対象グループの表
示を画面2a上で複写する(すなわち、複写対象グルー
プの表示を拡大または縮小して複写する)。
If there is a set C2 to C6 which has the same shape as the set C1 but a different size (that is, a similar shape), the user can select the set as shown in FIG. In addition to designating the base point of copying as in (b), the lower right corner of the character frame at the lower right corner of the set should be designated using the mouse 3 as the end point of copying, as shown in FIG. 11 (c). And Then, based on the data indicating the base point and the end point designated by the user, the upper left end of the display of the copy target group is aligned with the base point and the lower right end of the display of the copy target group is aligned with the end point to display the copy target group. Copy on the screen 2a (that is, enlarge or reduce the display of the group to be copied).

【0042】上述のような複写処理を終えると、ユーザ
ーがキーボード4等を用いて次のステップへの移行を命
じることに応じて、ステップST6を終了して次のステ
ップST7に進む。こうした複写処理を行なうことによ
り、ディスプレイ2の画面2aに読取りフィールド候補
としての表示を行なうためにユーザーがマウス3を用い
て指示しなければならない画面2a上の箇所の数を減少
させることができるので、フォーマットパラメータの作
成のための作業を一層効率的に行なえるようになる。
When the copying process as described above is finished, step ST6 is ended and step ST7 is advanced in response to the user commanding the shift to the next step using the keyboard 4 or the like. By performing such a copying process, it is possible to reduce the number of places on the screen 2a that the user has to point using the mouse 3 to display the screen 2a of the display 2 as a candidate for a read field. , The work for creating the format parameter can be performed more efficiently.

【0043】尚、上記のステップST2,ST5及びス
テップST6では、読取りフィールド候補としての表示
と文字記入用領域の文字枠の表示とを画面2a上で明確
に識別できるようにするために、読取りフィールド候補
を表示する線(図7乃至図9の線l1〜l6に相当する
線)と文字枠の枠線とを、互いに異なる色でディスプレ
イ2に表示する。図12は、こうした色分け表示の一例
を示す図である。この例では、文字枠の枠線は黒色で表
示し、読取りフィールド候補の範囲の全体を表示する線
(図7乃至図10の線l1,l3,l5に相当する線)
は青色で表示し、読取りフィールド候補の1文字分の範
囲を表示する線(図7乃至図10の線l2,l4,l
6,17に相当する線)は赤色で表示するようにしてい
る。また、文字枠の枠線と読取りフィールド候補の範囲
の全体を表示する線とが重なり合った部分は黄色で表示
し、文字枠の枠線と読取りフィールド候補の1文字分の
範囲を表示する線とが重なり合った部分は空色で表示
し、読取りフィールド候補の範囲の全体を表示する線と
当該読取りフィールド候補の1文字分の範囲を表示する
線とが重なり合った部分は緑色で表示するようにしてい
る。また、文字枠の枠線と読取りフィールド候補の範囲
の全体を表示する線と当該読取りフィールド候補の1文
字分の範囲を表示する線とがすべて重なり合った部分
は、ピンク色で表示するようにしている。
In the above steps ST2, ST5 and ST6, in order to make it possible to clearly distinguish the display as the reading field candidate and the display of the character frame of the character writing area on the screen 2a, The lines for displaying the candidates (the lines corresponding to the lines 11 to 16 in FIGS. 7 to 9) and the frame lines of the character frame are displayed on the display 2 in different colors. FIG. 12 is a diagram showing an example of such color-coded display. In this example, the frame of the character frame is displayed in black, and a line that displays the entire range of the reading field candidates (lines corresponding to lines l1, l3, and l5 in FIGS. 7 to 10).
Is displayed in blue, and a line for displaying the range of one character of the reading field candidate (lines l2, l4, l in FIGS. 7 to 10) is displayed.
The lines corresponding to 6 and 17 are displayed in red. In addition, the part where the frame line of the character frame and the line for displaying the entire range of the reading field candidates overlap is displayed in yellow, and the frame line of the character frame and the line for displaying the range of one character of the reading field candidate are displayed. The overlapping area is displayed in sky blue, and the overlapping area of the line showing the entire range of the reading field candidate and the line showing the range of one character of the reading field candidate is displayed in green. . In addition, the portion where the frame line of the character frame and the line displaying the entire range of the reading field candidate and the line displaying the range of one character of the reading field candidate all overlap are displayed in pink. There is.

【0044】〔ステップST7における処理〕ステップ
ST7では、ステップST5またはステップST6の処
理によってディスプレイ2に表示された読取りフィール
ド候補に対して、ユーザーが設定した所定のフィールド
情報をストアする。そして、このフィールド情報を、別
の読取りフィールド候補に対してフィールド情報を設定
するために利用するいわば部品情報として登録する。こ
こでユーザーが設定すべきフィールド情報は、フォーマ
ットパラメータのうち、読取りフィールド候補の位置,
大きさ及び形状等以外に関するもの、すなわち、既に述
べたように、当該読取りフィールド候補の名称や、当該
読取りフィールド候補に記入される文字のデータ形式
や、当該読取りフィールド候補と他の読取りフィールド
候補との論理的関係や、OCRモジュール5の機種に由
来する制約を受ける情報等である。
[Processing in Step ST7] In step ST7, predetermined field information set by the user is stored in the reading field candidates displayed on the display 2 by the processing in step ST5 or step ST6. Then, this field information is registered as, so to speak, component information used for setting field information for another read field candidate. The field information that the user should set here is the position of the read field candidate among the format parameters,
Items other than the size and shape, that is, the name of the reading field candidate, the data format of characters to be written in the reading field candidate, the reading field candidate and other reading field candidates, as described above. Of the OCR module 5 and information subject to restrictions derived from the model of the OCR module 5.

【0045】図13は、このフィールド情報設定処理の
一例を示す図である。同図(a)は、複数の読取りフィ
ールド候補Fがディスプレイ2に表示された状態を示し
ている。この状態で、最初にユーザーは、画面2a上
で、フィールド情報を設定しようとする読取りフィール
ド候補Fをマウス3を用いて指定すべきものとする。そ
して、ユーザーが指定した読取りフィールド候補Fにつ
いて、図13(b)に例示するようなフィールド情報設
定用ボックスを、画面2aの一画に表示する。この例で
は、ボックス内には、当該読取りフィールド候補Fの名
称(フィールド名)を設定する欄と、当該読取りフィー
ルド候補Fに記入される文字のデータ形式を設定する欄
と、当該読取りフィールド候補Fと他の読取りフィール
ド候補Fとの論理的関係(図では演算子と称している)
を設定する欄と、OCRモジュール5の機種に由来する
制約を受ける情報(当該読取りフィールド候補Fに記入
すべき文字の数や種類等)を設定する欄とが設けられて
いる。また、これらの欄の下方には、「取消」コマン
ド,「修正」コマンド,「登録」コマンド及び「OK」
コマンドが設けられている。
FIG. 13 is a diagram showing an example of the field information setting process. FIG. 3A shows a state in which a plurality of reading field candidates F are displayed on the display 2. In this state, the user should first specify the reading field candidate F for which the field information is to be set on the screen 2a by using the mouse 3. Then, for the read field candidate F designated by the user, a field information setting box as illustrated in FIG. 13B is displayed on one screen of the screen 2a. In this example, in the box, there is a field for setting the name (field name) of the reading field candidate F, a field for setting the data format of the characters written in the reading field candidate F, and the reading field candidate F. And the logical relationship between other reading field candidates F (referred to as an operator in the figure)
And a field for setting information (such as the number and type of characters to be written in the reading field candidate F) subject to restrictions derived from the model of the OCR module 5. Also, below these fields, there are "Cancel" command, "Modify" command, "Register" command, and "OK".
Commands are provided.

【0046】次にユーザーは、このフィールド情報設定
用ボックス内の各欄にキーボード4を用いて所望または
所定の数値や記号等を入力することによって、当該読取
りフィールド候補のフィールド情報を設定すべきものと
する。そして、ユーザーが設定したフィールド情報をス
トアする。次にユーザーは、マウス3またはキーボード
4を用いて「登録」コマンドを選択すべきものとする。
そして、ユーザーがこのコマンドを選択したことに応じ
て、このフィールド情報を部品情報として登録する。こ
のようにして、ディスプレイ2に表示された各読取りフ
ィールド候補について、フィールド情報の設定及び部品
情報としての登録を行なうと、ユーザーがキーボード4
等を用いて次のステップへの移行を命じることに応じ
て、ステップST7を終了して次のステップST8に進
む。
Next, the user should set the field information of the reading field candidate by inputting a desired or predetermined numerical value or symbol using the keyboard 4 in each field in the field information setting box. To do. Then, the field information set by the user is stored. Next, the user should select the "register" command using the mouse 3 or the keyboard 4.
Then, in response to the user selecting this command, this field information is registered as component information. In this way, for each read field candidate displayed on the display 2, when the field information is set and registered as the component information, the user can enter the keyboard 4
In response to commanding the shift to the next step by using, etc., step ST7 is ended and the process proceeds to the next step ST8.

【0047】尚、ディスプレイ2に、同一の大きさ及び
形状の読取りフィールド候補が複数表示されている場合
(図13もそうした場合である)には、ステップST7
の処理によるフィールド情報の設定は、そのうちの1個
の読取りフィールド候補に対してのみ行なうべきものと
する。そして、残りの読取りフィールド候補に対して
は、後述するステップST10の処理によって部品情報
を利用してフィールド情報の設定を行なうべきものとす
る。
If a plurality of reading field candidates having the same size and shape are displayed on the display 2 (this is the case in FIG. 13), step ST7.
The setting of the field information by the process of 1 should be performed only for one of the read field candidates. Then, with respect to the remaining read field candidates, the field information should be set using the component information by the process of step ST10 described later.

【0048】〔ステップST8における処理〕ステップ
ST8では、ユーザーの選択に基づき、読取りフィール
ド候補の取消しや、読取りフィールド候補の大きさや形
状の修正を行なう。(したがって、その必要がない場合
には、ユーザーは直ちにキーボード4等を用いて次のス
テップへの移行を命じるべきものとする。)
[Processing in Step ST8] In step ST8, the read field candidates are canceled or the size and shape of the read field candidates are corrected based on the selection by the user. (Therefore, when it is not necessary, the user should immediately use the keyboard 4 or the like to order the shift to the next step.)

【0049】取消し処理は、一例として、図13(b)
に示したフィールド情報設定用ボックスの「取消」コマ
ンドを選択することによって行なう。すなわち、ディス
プレイ2に読取りフィールド候補として表示された文字
記入用領域のうち、ステップST5による読取りフィー
ルド候補としての指示を取り消したい(すなわち、フォ
ーマットパラメータの作成対象から除外したい)ものが
ある場合には、最初にユーザーは、画面2a上で、取り
消そうとする読取りフィールド候補Fをマウス3を用い
て指定すべきものとする。そして、ユーザーが指定した
読取りフィールド候補について、図13(b)に示した
フィールド情報設定用ボックスを画面2aの一画に表示
する。次にユーザーは、マウス3またはキーボード4を
用いて「取消」コマンドを選択すべきものとする。そし
て、ユーザーがこのコマンドを選択したことに応じて、
当該読取りフィールド候補の表示を画面2aから消去す
るとともに、当該読取りフィールド候補についてステッ
プST7でストアしたフィールド情報をクリアする。こ
れにより、当該文字記入用領域がフォーマットパラメー
タの作成対象から除外される。
The cancel processing is, for example, as shown in FIG.
This is done by selecting the "Cancel" command in the field information setting box shown in. In other words, if there is a character entry area displayed on the display 2 as a reading field candidate for which it is desired to cancel the instruction as the reading field candidate at step ST5 (that is, to be excluded from the target for creating the format parameter), First, the user uses the mouse 3 to specify the reading field candidate F to be canceled on the screen 2a. Then, for the read field candidate designated by the user, the field information setting box shown in FIG. 13B is displayed on one screen of the screen 2a. Next, the user should select the "Cancel" command using the mouse 3 or the keyboard 4. And in response to the user selecting this command,
The display of the read field candidate is erased from the screen 2a, and the field information stored in step ST7 for the read field candidate is cleared. As a result, the character entry area is excluded from the target for creating the format parameter.

【0050】修正処理は、一例として、図13(b)に
示したフィールド情報設定用ボックスの「修正」コマン
ドを選択することに基づいて行なう。すなわち、ディス
プレイ2に読取りフィールド候補として表示された文字
記入用領域のうち、ステップST5においてユーザーが
マウス3を用いて指示した箇所が誤っていたために、読
取りフィールド候補の表示の大きさや形状と文字記入用
領域の大きさや形状とが画面2a上で一致していないも
のがある場合には、ユーザーは、上記取消し処理と同様
にして当該読取りフィールド候補のフィールド情報設定
用ボックスを画面2aの一画に表示させた後、マウス3
またはキーボード4を用いて「修正」コマンドを選択す
べきものとする。
The correction process is performed based on, for example, selecting the "correction" command in the field information setting box shown in FIG. 13B. That is, in the character entry area displayed on the display 2 as a reading field candidate, since the location designated by the user using the mouse 3 in step ST5 is incorrect, the size and shape of the reading field candidate display and the character entry are displayed. If the size or shape of the use area does not match on the screen 2a, the user sets the read field candidate field information setting box on the screen 2a in the same manner as in the canceling process. Mouse 3 after displaying
Alternatively, the "correct" command should be selected using the keyboard 4.

【0051】次に、ユーザーが画面2a上の箇所をマウ
ス3を用いて指示することに基づき、当該文字記入用領
域を、読取りフィールドの候補としてディスプレイ2に
再表示する。図14は、この再表示処理の一例を示す図
である。同図(a)は、画面2a上での読取りフィール
ド候補Fの表示が、形状は文字記入用領域と一致してい
るが大きさは文字記入用領域と一致していない(すなわ
ち文字記入用領域と相似形である)場合である。この場
合には、ユーザーは、画面2a上で、同図のように、当
該文字記入用領域の左上端の文字枠の左上角と右下端の
文字枠の右下角とを、それぞれ再表示の基点と終点とし
てマウス3を用いて指示すべきものとする。そして、ユ
ーザーが指示した基点と終点とを示すデータから、基点
に読取りフィールド候補Fの表示の左上端を合わせ且つ
終点に読取りフィールド候補Fの表示の右下端を合わせ
るようにして、読取りフィールド候補Fを画面2a上に
再表示する(すなわち、画面2a上で読取りフィールド
候補Fを拡大または縮小して再表示する)。この再表示
によって読取りフィールド候補Fの表示の大きさ及び形
状が文字記入用領域の大きさ及び形状と一致したとき
は、ユーザーは、マウス3またはキーボード4を用いて
フィールド情報設定用ボックスの「OK」コマンドを選
択すべきものとする。これにより、当該読取りフィール
ド候補Fの表示の修正が終了する。
Next, based on the user designating a location on the screen 2a with the mouse 3, the character entry area is re-displayed on the display 2 as a candidate for a reading field. FIG. 14 is a diagram showing an example of this redisplay processing. In the figure (a), the display of the reading field candidate F on the screen 2a shows that the shape matches the character writing area but the size does not match the character writing area (that is, the character writing area). It is similar to the case). In this case, on the screen 2a, the user re-displays the upper left corner of the character frame at the upper left corner and the lower right corner of the lower right corner of the character frame on the screen 2a, respectively, as the base points for redisplay. And mouse 3 should be used as the end point. Then, from the data indicating the base point and the end point designated by the user, the upper left end of the display of the reading field candidate F is aligned with the base point and the lower right end of the display of the reading field candidate F is aligned with the end point, and the reading field candidate F is displayed. Is redisplayed on the screen 2a (that is, the read field candidate F is enlarged or reduced on the screen 2a and redisplayed). When the display size and shape of the read field candidate F matches the size and shape of the character entry area by this re-display, the user uses the mouse 3 or the keyboard 4 to select "OK" in the field information setting box. Command should be selected. This completes the correction of the display of the reading field candidate F.

【0052】他方、図14(b)に示すように、読取り
フィールド候補Fの表示の大きさだけでなくその形状も
文字記入用領域と一致していない場合には、ユーザー
は、ステップST5で行なったのと同様に、文字記入用
領域上の複数の箇所をマウス3を用いて指示し直すべき
ものとする(図7乃至図10参照)。そして、ユーザー
が指示した箇所を示すデータから、ステップST5と同
様にして、当該文字記入用領域の読取りフィールド候補
としての表示をし直す。次にユーザーは、マウス3また
はキーボード4を用いてフィールド情報設定用ボックス
の「OK」コマンドを選択すべきものとする。これによ
り、当該読取りフィールド候補Fの表示の修正が終了す
る。こうした読取りフィールド候補の取消しやその大き
さや形状の修正を行なうと、ユーザーがキーボード4等
を用いて次のステップへの移行を命じることに応じて、
ステップST8を終了して次のステップST9に進む。
On the other hand, as shown in FIG. 14B, when not only the size of the display of the reading field candidate F but also its shape does not match the character writing area, the user performs the step ST5. Similarly to the above, it is assumed that a plurality of locations on the character writing area should be redesignated using the mouse 3 (see FIGS. 7 to 10). Then, similarly to step ST5, the data indicating the location designated by the user is displayed again as a reading field candidate of the character writing area. Next, the user should select the "OK" command of the field information setting box using the mouse 3 or the keyboard 4. This completes the correction of the display of the reading field candidate F. When the reading field candidates are canceled or the size and shape of the reading field candidates are corrected, in response to the user's command to move to the next step using the keyboard 4 or the like,
The step ST8 is ended and the process proceeds to the next step ST9.

【0053】〔ステップST9における処理〕ステップ
ST9では、OCR入力用帳票の外形線の範囲内のうち
位置計算の基準点とする箇所と、読取りフィールド候補
上の複数の箇所とをユーザーが画面2a上でマウス3を
用いて指示することに基づき、当該読取りフィールド候
補のOCR入力用帳票上での位置と大きさとを計算す
る。そして、計算結果を、ストアするとともに、ユーザ
ーの指示に応じてディスプレイ2に表示する。
[Processing in Step ST9] In step ST9, the user selects, on the screen 2a, a position to be a reference point for position calculation within the outline of the OCR input form and a plurality of positions on the reading field candidates. The position and the size of the reading field candidate on the OCR input form are calculated based on the instruction using the mouse 3 at. Then, the calculation result is stored and displayed on the display 2 according to the user's instruction.

【0054】図15は、この計算処理の一例を示す図で
ある。同図(a)では、1文字用の文字枠frを水平方
向に当間隔に3個並べた文字記入用領域が取りフィール
ド候補Fとしてディスプレイ2に表示された状態を示し
ている。この状態で、最初にユーザーは、同図のよう
に、画面2a上で、OCR入力用帳票Sの外形線の左上
角(矢印aを付した箇所)を、位置計算の基準点である
帳票基点としてマウス3を用いて指示すべきものとす
る。次にユーザーは、図15(a)のように、画面2a
上で、読取りフィールド候補Fの左上端(矢印bを付し
た箇所)を、フィールド候補基点としてマウス3を用い
て指示すべきものとする。そして、これら帳票基点を示
すデータ及びフィールド候補基点を示すデータから、帳
票基点に対する読取りフィールド候補Fの垂直方向上,
水平方向上の位置(図の,)を計算する。そして、
それらの計算結果を、画面2aの一画に同図(b)のよ
うに当該読取りフィールド候補Fの位置情報としてフィ
ールド名(ステップST7で設定したもの)と併せて表
示するとともに、ストアする。
FIG. 15 is a diagram showing an example of this calculation processing. In the same figure, (a) shows a state in which three character entry areas in which character frames fr for one character are arranged horizontally at equal intervals are displayed on the display 2 as a pick field candidate F. In this state, first, as shown in the figure, the user sets the upper left corner of the outline of the OCR input form S (the part with the arrow a) on the screen 2a to the form base point that is the reference point for position calculation. The mouse 3 should be used as an instruction. Next, the user displays the screen 2a as shown in FIG.
In the above, it is assumed that the upper left end of the reading field candidate F (the portion marked with an arrow b) should be designated by using the mouse 3 as the field candidate base point. Then, from the data indicating the form base point and the data indicating the field candidate base point, in the vertical direction of the reading field candidate F with respect to the form base point,
Calculate the horizontal position (in the figure). And
The calculation results are displayed together with the field name (set in step ST7) as the position information of the reading field candidate F on one screen of the screen 2a as shown in FIG.

【0055】次にユーザーは、図15(a)のように、
画面2a上で、読取りフィールド候補Fの右下角(矢印
dを付した箇所)と、読取りフィールド候補Fの左端の
1文字分の範囲(すなわち左端の文字枠fr)の右下角
(矢印cを付した箇所)とを、マウス3を用いて指示す
べきものとする。そして、この読取りフィールド候補F
の右下角の箇所を示すデータとフィールド候補基点を示
すデータとから、読取りフィールド候補Fの水平方向の
長さ(フィールド幅)(図の)を計算するとともに、
左端の文字枠frの右下角の箇所を示すデータとフィー
ルド候補基点を示すデータとから、読取りフィールド候
補Fの1文字分の範囲の水平方向の長さ(文字幅)(図
の)と読取りフィールド候補Fの垂直方向の長さ(文
字高さ)(図の)とを計算する。そして、それらの計
算結果を位置情報としてストアする。また、フィールド
幅のデータは、ステップST7で登録した当該読取りフ
ィールド候補Fについての部品情報の一部としても登録
する。
Next, the user, as shown in FIG.
On the screen 2a, the lower right corner of the reading field candidate F (the portion marked with an arrow d) and the lower right corner of the left one character range of the reading field candidate F (that is, the leftmost character frame fr) (marked with an arrow c) And the place to be used) should be designated using the mouse 3. Then, this reading field candidate F
The horizontal length (field width) (in the figure) of the read field candidate F is calculated from the data indicating the lower right corner of the field and the data indicating the field candidate base point.
From the data indicating the lower right corner of the leftmost character frame fr and the data indicating the field candidate base point, the horizontal length (character width) (in the figure) of the range of one character of the reading field candidate F and the reading field The vertical length (character height) of the candidate F (in the figure) is calculated. Then, those calculation results are stored as position information. The field width data is also registered as a part of the component information about the read field candidate F registered in step ST7.

【0056】こうして位置情報がストアされた読取りフ
ィールド候補F内の箇所をユーザーがマウス3を用いて
指示すると、それに応じて、当該読取りフィールド候補
Fの位置情報を、図15(b)のように、フィールド名
と併せて画面2aの一画に表示する。尚、当然のことな
がら、こうした位置計算のための指示を、前述のステッ
プST5における読取りフィールド候補の表示処理の際
に併せて行なうことも可能である。
When the user uses the mouse 3 to designate a position in the read field candidate F in which the position information is stored, the position information of the read field candidate F is correspondingly changed as shown in FIG. 15 (b). , And the field name are displayed on one screen of the screen 2a. Needless to say, it is also possible to give such an instruction for position calculation together with the display processing of the read field candidates in step ST5 described above.

【0057】図16(a)及び(b)は、同じパターン
の文字記入用領域が縦方向に当間隔に3つ並んで(同図
の「条件」はそのことを表している)それぞれ読取りフ
ィールド候補としてディスプレイ2に表示されている
(但し、図では読取りフィールド候補としての表示は省
略してある)場合に位置計算のために指示すべき箇所を
矢印a,b,c,dで示すとともに、指示した箇所を示
すデータに基づく各読取りフィールド候補の位置及び大
きさの計算方式と、位置情報の表示の様子とを示した図
である。その詳細は、図15(a)及び(b)について
説明したところとから容易に理解されるところであるの
で、説明を省略する。
In FIGS. 16A and 16B, three character writing areas of the same pattern are arranged in the vertical direction at the same intervals (the “condition” in FIG. 16 indicates that). When displayed as a candidate on the display 2 (however, the display as a reading field candidate is omitted in the figure), the points to be designated for position calculation are indicated by arrows a, b, c, d, and FIG. 6 is a diagram showing a method of calculating the position and size of each reading field candidate based on the data indicating the designated portion, and the display state of the position information. The details thereof will be easily understood from the description of FIGS. 15A and 15B, and thus the description thereof will be omitted.

【0058】ディスプレイ2に表示された各読取りフィ
ールド候補について、こうした計算処理を終えると、ユ
ーザーがキーボード4等を用いて次のステップへの移行
を命じることに応じて、ステップST9を終了して次の
ステップST10に進む。尚、ディスプレイ2に、同一
の大きさ及び形状の読取りフィールド候補が複数表示さ
れている場合には、ステップST9の処理による読取り
フィールド候補の大きさの計算(図15のフィールド幅
及び文字高さ)の計算は、そのうちの1個の読取りフィ
ールド候補に対してのみ行なうべきものとする。そし
て、残りの読取りフィールド候補に対しては、次のステ
ップST10の処理によって大きさの情報を設定すべき
ものとする。
When such a calculation process is completed for each reading field candidate displayed on the display 2, the step ST9 is ended and the next step is completed in response to the user commanding the transition to the next step using the keyboard 4 or the like. To step ST10. When a plurality of read field candidates having the same size and shape are displayed on the display 2, the size of the read field candidates is calculated by the process of step ST9 (field width and character height in FIG. 15). Should be performed only on one of the read field candidates. Then, for the remaining read field candidates, size information should be set by the processing of the next step ST10.

【0059】〔ステップST10における処理〕ステッ
プST10では、ディスプレイ2に、同一の大きさ及び
形状の読取りフィールド候補が複数表示されている場
合、そのうちの1個の読取りフィールド候補についてス
テップST7及びステップST9で登録した部品情報
を、ユーザーがライブラリ情報として検索し利用するこ
とによって、残りの各組に対してこれらの情報の設定を
行なう。(したがって、それ以外の場合には、ステップ
ST10の処理を行なう必要はないので、ユーザーは直
ちにキーボード4等を用いて次のステップへの移行を命
じるべきものとする。)
[Processing in Step ST10] In Step ST10, when a plurality of reading field candidates having the same size and shape are displayed on the display 2, one of the reading field candidates is displayed in Steps ST7 and ST9. The user retrieves and uses the registered component information as library information to set the information for each of the remaining sets. (Therefore, in other cases, it is not necessary to perform the process of step ST10, so the user should immediately use the keyboard 4 or the like to order the shift to the next step.)

【0060】図17は、この部品情報を利用した情報設
定処理の一例を示す図である。同図(a)では、ディス
プレイ2に、同一の大きさ及び形状の読取りフィールド
候補F1〜F5が表示されている。このうちの読取りフ
ィールド候補F1については、ステップST7及びステ
ップST9の処理を終えているが、それ以外の読取りフ
ィールド候補F2〜F5については、ステップST7の
処理とステップST9の処理のうちの大きさの計算処理
とを行なっていない状態にある。
FIG. 17 is a diagram showing an example of an information setting process using this component information. In FIG. 3A, the reading field candidates F1 to F5 having the same size and shape are displayed on the display 2. Of these reading field candidates F1, the processing of steps ST7 and ST9 has been completed, but for the other reading field candidates F2 to F5, the size of the processing of step ST7 and the processing of step ST9 is the same. It is in a state where calculation processing is not performed.

【0061】この状態で、最初にユーザーは、画面2a
上で、読取りフィールド候補F2〜F5のうちのいずれ
かをマウス3を用いて指定すべきものとする。そして、
ユーザーが指定した読取りフィールド候補について、図
17(b)に例示するような部品情報検索用ボックスを
画面2aの一画に表示する。この例では、一度に1件の
部品情報が、当該部品情報を登録した読取りフィールド
候補の形状とともにボックス内に表示されるようになっ
ている。部品情報を表示する欄としては、当該読取りフ
ィールド候補の部品名(ライブラリ内での通し番号)を
表示する欄と、当該読取りフィールド候補の大きさであ
るフィールド幅,文字高さ(ステップST9で計算した
もの)(図15参照)を表示する欄と、当該読取りフィ
ールド候補のフィールド情報であるデータ形式,文字の
数,文字の種類等(ステップST7で設定したもの)を
表示する欄とが設けられている。そして、ボックスの下
部には、次の部品情報をボックス内に表示させるための
アイコンと、ボックス内に現在表示されている部品情報
を利用してフィールド情報及び大きさの情報の設定を行
なうための「設定」コマンドとが設けられている。
In this state, the user first selects the screen 2a.
Above, it is assumed that any one of the reading field candidates F2 to F5 should be designated using the mouse 3. And
For the reading field candidates designated by the user, a parts information search box as illustrated in FIG. 17B is displayed on one screen of the screen 2a. In this example, one part information at a time is displayed in the box together with the shape of the reading field candidate in which the part information is registered. As a column for displaying the part information, a column for displaying the part name (serial number in the library) of the reading field candidate, a field width and a character height that are the size of the reading field candidate (calculated in step ST9) No.) (see FIG. 15) and a column for displaying the data format, the number of characters, the type of characters, etc. (the one set in step ST7) which is the field information of the reading field candidate. There is. At the bottom of the box, an icon for displaying the next part information in the box and a field information and size information setting using the part information currently displayed in the box. A "set" command is provided.

【0062】次に、部品情報検索用ボックス内に現在表
示されている部品情報が、読取りフィールド候補F1に
ついての部品情報ではないときには、ユーザーは、マウ
ス3を用いてアイコンを指示することによって、読取り
フィールド候補F1についての部品情報をボックス内に
表示させるべきものとする。他方、ボックス内に既に読
取りフィールド候補F1についての部品情報が表示され
ているときには、この作業は不要である。
Next, when the component information currently displayed in the component information search box is not the component information for the reading field candidate F1, the user uses the mouse 3 to point to the icon to read it. It is assumed that the part information about the field candidate F1 should be displayed in the box. On the other hand, when the part information about the reading field candidate F1 is already displayed in the box, this work is unnecessary.

【0063】次に、表示された読取りフィールド候補F
1についての部品情報が、ユーザーが指定した読取りフ
ィールド候補に対してそのまま利用できる場合には、ユ
ーザーは、マウス3を用いて「設定」コマンドを選択す
べきものとする。他方、表示された読取りフィールド候
補F1についての部品情報が、一部を変更しなければ利
用できないものである場合(例えば、ユーザーが指定し
た読取りフィールド候補と読取りフィールド候補F1と
でデータ形式が異なっている場合)には、変更しなけれ
ばならない情報が表示された欄にキーボード4を用いて
新たな数値や記号等を入力することによってその情報を
変更した後、「設定」コマンドを選択すべきものとす
る。そして、ユーザーがこのコマンドを選択したことに
応じて、その部品情報を、ユーザーが指定した読取りフ
ィールド候補についてのフィールド情報及び大きさの情
報としてストアする。
Next, the displayed reading field candidate F is displayed.
If the part information for 1 is directly available for the user-specified reading field candidate, then the user should use the mouse 3 to select the "set" command. On the other hand, if the displayed part information about the read field candidate F1 cannot be used unless a part is changed (for example, the read field candidate designated by the user and the read field candidate F1 have different data formats). If you want to change the information, enter the new numerical value or symbol by using the keyboard 4 in the field where the information that needs to be changed is displayed, and then select the “Set” command. To do. Then, in response to the user selecting this command, the component information is stored as field information and size information regarding the read field candidate designated by the user.

【0064】次に、読取りフィールド候補F2〜F5の
残りのものに対しても、上述したのと同じ処理を繰り返
すことにより、フィールド情報及び大きさの情報の設定
を行なう。そして、ユーザーがキーボード4等を用いて
次のステップへの移行を命じることに応じて、ステップ
ST10を終了して次のステップST11に進む。
Next, the field information and size information are set for the remaining read field candidates F2 to F5 by repeating the same processing as described above. Then, in response to the user commanding the shift to the next step using the keyboard 4 or the like, step ST10 is ended and the process proceeds to the next step ST11.

【0065】尚、図17の例では、読取りフィールド候
補F1について登録した部品情報を、同じOCR入力用
帳票上の読取りフィールド候補F2〜F5の情報の設定
のために利用している。しかし、仮りに、同じOCR入
力用帳票上に読取りフィールド候補F1と同一の大きさ
及び形状の読取りフィールド候補が存在しなかった場合
にも、後に別のOCR入力用帳票についてフォーマット
パラメータ作成処理を行なう際に、そのOCR入力用帳
票に、図18に例示するように読取りフィールド候補F
1と同一の大きさ及び形状の読取りフィールド候補F6
〜F11が存在していれば、その際に、読取りフィール
ド候補F1についての部品情報をステップST10で読
取りフィールド候補F6〜F11の情報の設定のために
利用することができることはもちろんである。このよう
な部品情報を利用した情報設定処理を行なうことによ
り、フォーマットパラメータの作成のための作業を一層
効率的に行なえるようになる。
In the example of FIG. 17, the part information registered for the reading field candidate F1 is used for setting the information of the reading field candidates F2 to F5 on the same OCR input form. However, even if there is no reading field candidate having the same size and shape as the reading field candidate F1 on the same OCR input form, the format parameter creating process is performed later for another OCR input form. At this time, the reading field candidate F is added to the OCR input form as illustrated in FIG.
Reading field candidate F6 having the same size and shape as 1
It is needless to say that, if the items F to F11 exist, the component information about the reading field candidate F1 can be used for setting the information of the reading field candidates F6 to F11 in step ST10. By performing the information setting process using such component information, the work for creating the format parameter can be performed more efficiently.

【0066】〔ステップST11における処理〕ステッ
プST11では、ステップST7(またはステップST
10)でストアした各読取りフィールド候補のフィール
ド情報と、ステップST9(またはステップST9及び
ステップST10)でストアした各読取りフィールド候
補の位置及び大きさの情報とを、OCRモジュール5が
解釈可能な形式に変換することにより、OCR入力用帳
票についてのフォーマットパラメータを作成する。そし
て、作成したフォーマットパラメータを、ディスク装置
6に記録する。以上で、フォーマットパラメータ作成処
理がすべて終了する。
[Processing in Step ST11] In step ST11, step ST7 (or step ST7)
The field information of each read field candidate stored in 10) and the position and size information of each read field candidate stored in step ST9 (or step ST9 and step ST10) are converted into a format that the OCR module 5 can interpret. By converting, a format parameter for the OCR input form is created. Then, the created format parameter is recorded in the disk device 6. This completes the format parameter creation processing.

【0067】次に、以上のフォーマットパラメータ作成
処理のうちの、画像データの取込み処理(ステップST
1の処理)の変更例を説明する。以上のフォーマットパ
ラメータ作成処理では、ステップST1において、OC
Rモジュール5を用いてOCR入力用帳票から画像デー
タを取り込んだが、OCR入力用帳票が多色刷りの帳票
である場合には、カラーで画像データを取り込むことの
できるイメージスキャナを用いて画像データの取込みを
行なうようにしてもよい。このようなイメージスキャナ
では、OCR入力用帳票上のすべての色の枠線等を、一
旦画像データとして取り込み、その後で、複数種類の色
のうちの任意のいずれか一色をドロップアウトカラーと
して指定して色付け処理を行なう。したがって、それら
複数種類の色のいずれかと同一の色がOCR入力用帳票
上に存在するときにも、上述のステップST1のように
画像データの取込みを行なう前にドロップアウトカラー
の指定を行なう必要はなく、画像データの取込みを行な
った後で、ステップST2でディスプレイ2に画像デー
タを出力するまでに、OCR入力用帳票上に存在する色
以外の色をドロップアウトカラーとして指定するように
すればよい。
Next, of the above format parameter creation processing, the image data acquisition processing (step ST
A modification example of the process 1) will be described. In the above format parameter creation processing, in step ST1, OC
Image data was captured from the OCR input form using the R module 5, but if the OCR input form is a multi-colored form, the image data can be imported using an image scanner that can capture the image data in color. May be performed. In such an image scanner, the frame lines of all the colors on the OCR input form are once captured as image data, and then any one of a plurality of types of colors is designated as a dropout color. Color processing. Therefore, even when the same color as any of the plurality of types of colors exists on the OCR input form, it is not necessary to specify the dropout color before the image data is captured as in step ST1 described above. Instead, after the image data is captured, by the time the image data is output to the display 2 in step ST2, a color other than the color existing on the OCR input form may be designated as the dropout color. .

【0068】次に、以上のフォーマットパラメータ作成
処理のうちの、読取りフィールド候補の表示処理(ステ
ップST5及びステップST6の処理)の変更例を説明
する。図19は、この表示処理の変更例を示す図であ
る。同図(a)は、以上のフォーマットパラメータ作成
処理のステップST2の処理により、ディスプレイ2に
OCR入力用帳票Sの画像が表示された状態を示してい
る。この状態で、以上のフォーマットパラメータ作成処
理のステップST3及びステップST4の処理を終える
と、最初に、ディスプレイ2に表示されている画像か
ら、1個1個の枠構造(すなわち文字枠)を自動的に検
出する。このような枠構造の検出は、周知の技術によっ
て行なうことが可能である。次に、これらの枠構造が規
則的に(当間隔に)複数並んでいる領域を自動的に検出
する。これにより、同図では、文字枠が当間隔に3個並
んだ構成の領域が6組検出されることになる。そして、
同図(b)のように、検出したすべての領域を、図7乃
至図10に示したのと同様にして読取りフィールド候補
F1〜F6としてディスプレイ2に表示する。
Next, a modified example of the reading field candidate display processing (the processing of steps ST5 and ST6) in the above-described format parameter generation processing will be described. FIG. 19 is a diagram showing a modification of this display process. FIG. 11A shows a state in which the image of the OCR input form S is displayed on the display 2 by the processing in step ST2 of the above format parameter creation processing. In this state, when the processing of step ST3 and step ST4 of the above-described format parameter creation processing is completed, first, the frame structure (that is, the character frame) of each one is automatically generated from the image displayed on the display 2. To detect. The detection of such a frame structure can be performed by a known technique. Next, an area in which a plurality of these frame structures are regularly arranged (at the same interval) is automatically detected. As a result, in this figure, six sets of regions each having three character frames arranged at the same interval are detected. And
As shown in FIG. 7B, all the detected areas are displayed on the display 2 as the reading field candidates F1 to F6 in the same manner as shown in FIGS.

【0069】次にユーザーは、読取りフィールド候補F
1〜F6として表示された各領域のうちに、読取りフィ
ールド候補に採用しない領域(例えば、文字記入用領域
ではなく、ユーザー向けのコメント文字を印刷するため
の領域)が存在する場合には、画面2a上で、その領域
をマウス3を用いて指定すべきものとする。そして、ユ
ーザーが指定した領域について、読取りフィールド候補
としての表示を画面2aから消去する。図19(c)
は、このようにして読取りフィールド候補F2,F4,
F6の表示が消去され、読取りフィールド候補F1,F
3,F5の表示のみが残った状態を示している。これに
より、文字記入用領域のみが、読取りフィールド候補と
してディスプレイ2に表示されることになる。この表示
処理が終わると、以上のフォーマットパラメータ作成処
理のステップST7移行の処理に進む。
Next, the user selects the reading field candidate F
If there is an area that is not adopted as a reading field candidate (for example, an area for printing comment characters for the user, not an area for writing characters) among the areas displayed as 1 to F6, the screen is displayed. It is assumed that the area on 2a should be designated by using the mouse 3. Then, with respect to the area designated by the user, the display as the reading field candidate is deleted from the screen 2a. FIG. 19 (c)
Are read field candidates F2, F4 and
The display of F6 is erased, and reading field candidates F1 and F
Only the display of F3 and F5 remains. As a result, only the character entry area is displayed on the display 2 as a reading field candidate. When this display process ends, the process proceeds to step ST7 of the above format parameter creating process.

【0070】尚、以上の実施の形態では、マウスを用い
てディスプレイの画面2a上の箇所を指示しているが、
マウス以外のポインティングデバイス(例えばデジタイ
ザ等)を用いてディスプレイの画面2a上の箇所を指示
するようにしてもよい。また、以上の実施の形態では、
パーソナルコンピュータを中核とした小規模情報処理シ
ステムにこの発明を採用しているが、その他の情報処理
システムにこの発明を採用するようにしてもよい。
In the above embodiment, the mouse is used to indicate the location on the screen 2a of the display.
A point on the screen 2a of the display may be designated using a pointing device other than the mouse (eg, a digitizer). In the above embodiment,
Although the present invention is applied to a small-scale information processing system having a personal computer as a core, the present invention may be applied to other information processing systems.

【0071】[0071]

【発明の効果】以上のように、この発明に係るOCR用
フォーマットパラメータ作成方法によれば、フォーマッ
トパラメータの作成のための作業をディスプレイの画面
を通して行なうようにしたので、フォーマットパラメー
タを簡単な作業によって短時間に作成できるようになる
という優れた効果を奏する。また、ポインティングデバ
イスで指示したディスプレイの画面上の箇所を示すデー
タから、読取りフィールドの位置,大きさ及び形状等を
計算できるので、それらに関するフォーマットパラメー
タを高い精度で作成できるようになるという優れた効果
を奏する。
As described above, according to the OCR format parameter creating method of the present invention, the work for creating the format parameter is performed through the screen of the display, so that the format parameter can be easily created. It has an excellent effect that it can be created in a short time. Further, since the position, size, shape, etc. of the reading field can be calculated from the data indicating the position on the screen of the display designated by the pointing device, the excellent effect that the format parameters relating to them can be created with high accuracy Play.

【0072】尚、OCR入力用帳票からの画像データの
取込みを、OCR入力用帳票上の文字を読み取るために
使用するOCR装置と同じ機種のOCR装置を用いて行
なうようにした場合には、OCR入力用帳票から画像デ
ータを取り込む際の解像度と、OCR入力用帳票上の文
字を読み取る際の解像度とが等しくなるので、作成した
フォーマットパラメータをOCR装置に供給してOCR
入力用帳票上の文字の読取りを行なわせた際に、解像度
の相違を原因として誤認識が発生することを防止するこ
とができるようになるという優れた効果を奏する。
When the image data is taken in from the OCR input form by using the OCR device of the same model as the OCR device used to read the characters on the OCR input form, Since the resolution when capturing image data from the input form and the resolution when reading characters on the OCR input form are equal, the created format parameters are supplied to the OCR device.
When the characters on the input form are read, it is possible to prevent an erroneous recognition from occurring due to a difference in resolution, which is an excellent effect.

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

【図1】 この発明を実施するための情報処理システム
の全体構成を示すブロック図。
FIG. 1 is a block diagram showing the overall configuration of an information processing system for implementing the present invention.

【図2】 パーソナルコンピュータが実行する処理の一
例を示すフローチャート。
FIG. 2 is a flowchart showing an example of processing executed by a personal computer.

【図3】 画像データの取込み処理の一例を示す図。FIG. 3 is a diagram showing an example of a process of capturing image data.

【図4】 ディスプレイの表示の一例を示す図。FIG. 4 is a diagram showing an example of a display on a display.

【図5】 OCR入力用帳票のサイズの算出処理の一例
を示す図。
FIG. 5 is a diagram showing an example of a calculation process of a size of an OCR input form.

【図6】 OCR入力用帳票のサイズの算出処理の一例
を示す図。
FIG. 6 is a diagram showing an example of a calculation process of a size of an OCR input form.

【図7】 読取りフィールドの表示処理の一例を示す
図。
FIG. 7 is a diagram showing an example of display processing of a read field.

【図8】 読取りフィールドの表示処理の一例を示す
図。
FIG. 8 is a diagram showing an example of read field display processing.

【図9】 読取りフィールドの表示処理の一例を示す
図。
FIG. 9 is a diagram showing an example of read field display processing.

【図10】 読取りフィールドの表示処理の一例を示す
図。
FIG. 10 is a diagram showing an example of display processing of a read field.

【図11】 読取りフィールドの表示の複写処理の一例
を示す図。
FIG. 11 is a diagram showing an example of a copy process for displaying a read field.

【図12】 ディスプレイへの色分け表示の一例を示す
図。
FIG. 12 is a diagram showing an example of color-coded display on a display.

【図13】 フィールド情報設定処理の一例を示す図。FIG. 13 is a diagram showing an example of field information setting processing.

【図14】 読取りフィールドの表示の修正処理の一例
を示す図。
FIG. 14 is a diagram showing an example of correction processing of display of a read field.

【図15】 読取りフィールドの位置情報の計算処理の
一例を示す図。
FIG. 15 is a diagram showing an example of a calculation process of position information of a read field.

【図16】 読取りフィールドの位置情報の計算処理の
一例を示す図。
FIG. 16 is a diagram showing an example of a calculation process of position information of a read field.

【図17】 部品情報を利用した情報設定処理の一例を
示す図。
FIG. 17 is a diagram showing an example of information setting processing using part information.

【図18】 部品情報を利用した情報設定処理の一例を
示す図。
FIG. 18 is a diagram showing an example of information setting processing using part information.

【図19】 読取りフィールドの表示処理の変更例を示
す図。
FIG. 19 is a diagram showing a modified example of the reading field display processing.

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

1 パーソナルコンピュータ 2 ディスプレイ 3 マウス 4 キーボード 5 OCRモジュール 6 ディスク装置 7 プリンタ S OCR入力用帳票 1 Personal Computer 2 Display 3 Mouse 4 Keyboard 5 OCR Module 6 Disk Unit 7 Printer S OCR Input Form

Claims (21)

【特許請求の範囲】[Claims] 【請求項1】 OCR入力用帳票のフォーマットを定義
する情報としてのフォーマットパラメータを作成する方
法であって、 OCR入力用帳票から画像データを取り込む第1のステ
ップと、 前記画像データをディスプレイに出力する第2のステッ
プと、 前記ディスプレイの画面に表示されたOCR入力用帳票
の文字記入用の領域を、ポインティングデバイスを用い
て指示する第3のステップと、 前記ポインティングデバイスによって指示された箇所を
示すデータに基づき、前記OCR入力用帳票についての
フォーマットパラメータを作成する第4のステップとか
ら成るOCR読取り用フォーマットパラメータ作成方
法。
1. A method of creating a format parameter as information defining a format of an OCR input form, the first step of capturing image data from the OCR input form, and outputting the image data to a display. A second step; a third step of instructing a character entry area of the OCR input form displayed on the screen of the display using a pointing device; and data indicating a portion instructed by the pointing device And a fourth step of creating a format parameter for the OCR input form based on the above.
【請求項2】 OCR入力用帳票上の文字を読み取るた
めに使用するOCR装置と同じ機種のOCR装置を用い
て、前記第1のステップにおける画像データの取込みを
行なう請求項1に記載のOCR読取り用フォーマットパ
ラメータ作成方法。
2. The OCR reading according to claim 1, wherein the OCR device of the same model as the OCR device used to read the characters on the OCR input form is used to capture the image data in the first step. Format parameter creation method for.
【請求項3】 前記第1のステップにおいて画像データ
の取込みを行なう装置は、複数種類の色のうちの任意の
いずれか一色を、該装置にとって見えない色であるドロ
ップアウトカラーとして指定して読取りを行なうもので
あり、前記複数種類の色のいずれかと同一の色がOCR
入力用帳票上に存在する場合に、該同一の色以外の色を
ドロップアウトカラーとして第2のステップにおける画
像データの出力を行なう請求項1または2に記載のOC
R読取り用フォーマットパラメータ作成方法。
3. An apparatus for capturing image data in the first step specifies and reads any one of a plurality of types of colors as a dropout color which is a color invisible to the apparatus. And the same color as any one of the plurality of types of colors is OCR.
The OC according to claim 1 or 2, wherein, when the data exists on the input form, the color other than the same color is used as a dropout color to output the image data in the second step.
Method for creating R read format parameter.
【請求項4】 前記第1のステップにおいて画像データ
の取込みを行なう前に、前記同一の色以外の色をドロッ
プアウトカラーとして指定する請求項3に記載のOCR
読取り用フォーマットパラメータ作成方法。
4. The OCR according to claim 3, wherein a color other than the same color is designated as a dropout color before the image data is captured in the first step.
How to create read format parameters.
【請求項5】 前記第1のステップにおいて、OCR入
力用帳票とは明暗が異なる物体を背景にして該帳票の画
像データの取込みを行なうことにより、前記第2のステ
ップにおいて、該OCR入力用帳票の外形線を前記ディ
スプレイ画面に明確に表示できるようにした請求項1乃
至4のいずれかに記載のOCR読取り用フォーマットパ
ラメータ作成方法。
5. The OCR input form is captured in the second step by capturing image data of the form with an object whose brightness is different from that of the OCR input form in the background. 5. The OCR read format parameter creating method according to claim 1, wherein the outline of the above can be clearly displayed on the display screen.
【請求項6】 前記第2のステップによって前記ディス
プレイの画面に表示されたOCR入力用帳票の外形線の
範囲内の特定の複数の箇所をポインティングデバイスを
用いて指示することに基づき、該複数の箇所を示すデー
タから、該OCR入力用帳票のサイズを算出するステッ
プを更に設けた請求項1乃至5のいずれかに記載のOC
R読取り用フォーマットパラメータ作成方法。
6. The plurality of OCR input forms displayed on the screen of the display in the second step are designated by using a pointing device to specify a plurality of specific positions within the outline of the OCR input form. 6. The OC according to claim 1, further comprising a step of calculating a size of the OCR input form from data indicating a location.
Method for creating R read format parameter.
【請求項7】 算出したOCR入力用帳票のサイズが、
予め判明している該OCR入力用帳票の実際のサイズと
相違している場合、ポインティングデバイスが画面上で
隣り合って指示できる箇所の間の最小距離に関するデー
タを補正するステップを更に設けた請求項6に記載のO
CR読取り用フォーマットパラメータ作成方法。
7. The size of the calculated OCR input form is
The method further comprising the step of correcting data relating to a minimum distance between points which the pointing device can point to next to each other on the screen when the size is different from the actual size of the OCR input form known in advance. O described in 6
Method of creating format parameter for CR reading.
【請求項8】 前記第3のステップにおいて、文字記入
用領域上の複数の箇所をポインティングデバイスを用い
て指示することに基づき、当該文字記入用領域を、フォ
ーマットパラメータを作成する対象の候補として、ディ
スプレイの画面に表示するようにした請求項1乃至7の
いずれかに記載のOCR読取り用フォーマットパラメー
タ作成方法。
8. In the third step, based on instructing a plurality of locations on a character writing area with a pointing device, the character writing area is set as a candidate for creating a format parameter. The OCR read format parameter creating method according to any one of claims 1 to 7, wherein the OCR read format parameter is displayed on a screen of a display.
【請求項9】 1個の文字を記入するための枠を複数並
べた構成の文字記入用領域について、両端に位置する該
枠上の箇所をそれぞれ指示することに基づき、前記候補
の範囲の全体を表示する請求項8に記載のOCR読取り
用フォーマットパラメータ作成方法。
9. The whole of the range of the candidates based on the designation of the positions on both sides of the frame for character writing areas having a configuration in which a plurality of frames for writing one character are arranged. 9. The method for creating a format parameter for OCR reading according to claim 8, wherein is displayed.
【請求項10】 1個の文字を記入するための枠を複数
並べた構成の文字記入用領域について、個々の該枠上の
複数の箇所をそれぞれ指示することに基づき、前記候補
の1文字分の範囲をそれぞれ表示する請求項8または9
に記載のOCR読取り用フォーマットパラメータ作成方
法。
10. Regarding a character writing area having a configuration in which a plurality of frames for writing one character are arranged, a plurality of portions on each of the frames are designated, and one character of the candidate The range of each is displayed, respectively.
A method of creating a format parameter for OCR reading according to [4].
【請求項11】 所定数個の文字を記入するための1個
の枠から成る文字記入用領域について、該枠上の複数の
箇所を指示することに基づき、前記候補の範囲の全体を
表示し、続いて前記所定数を示すデータを入力すること
に基づき、前記範囲の全体を前記所定数に区分すること
により、前記候補の1文字分の範囲を表示する請求項8
に記載のOCR読取り用フォーマットパラメータ作成方
法。
11. With respect to a character entry area consisting of one frame for entering a predetermined number of characters, the entire range of the candidate is displayed based on indicating a plurality of locations on the frame. 9. The range of one character of the candidate is displayed by dividing the entire range into the predetermined number based on subsequently inputting data indicating the predetermined number.
A method of creating a format parameter for OCR reading according to [4].
【請求項12】 所定数行分の文字を記入するための枠
から成る文字記入用領域について、該枠上の複数の箇所
を指示することに基づき、前記候補の範囲の全体を表示
し、続いて前記所定数を示すデータを入力することに基
づき、前記範囲の全体を前記所定数に区分することによ
り、前記候補の1行分の範囲を表示する請求項8に記載
のOCR読取り用フォーマットパラメータ作成方法。
12. With respect to a character entry area composed of a frame for entering a predetermined number of lines of characters, the entire range of the candidate is displayed based on a plurality of points on the frame, 9. The OCR read format parameter according to claim 8, wherein the range for one line of the candidate is displayed by dividing the entire range into the predetermined number based on inputting data indicating the predetermined number. How to make.
【請求項13】 前記第3のステップにおいて、前記デ
ィスプレイの画面に、同じパターンを繰り返して複数組
の文字記入用領域が表示されている場合には、そのうち
の1組に対してのみ、文字記入用領域上の複数の箇所を
ポインティングデバイスを用いて指示することに基づい
て前記候補としての表示を行ない、残りの各組に対して
は、前記1組についての前記候補としての表示を複写の
対象として設定し、該表示を前記ディスプレイの画面上
で適宜の縮尺で複写することにより、前記候補としての
表示を行なうようにした請求項8乃至12のいずれかに
記載のOCR読取り用フォーマットパラメータ作成方
法。
13. In the third step, when a plurality of sets of character writing areas are displayed by repeating the same pattern on the screen of the display, the character writing is performed only on one of the sets. The display as the candidate is performed on the basis of pointing a plurality of locations on the use area using a pointing device, and the display as the candidate for the one set is copied for each of the remaining sets. 13. The OCR read format parameter creating method according to claim 8, wherein the display is made as the candidate by setting the display as a candidate and copying the display at an appropriate scale on the screen of the display. .
【請求項14】 ディスプレイの画面上で、文字記入用
領域の表示と該文字記入用領域の前記候補としての表示
とを色分けして行なう請求項8乃至13のいずれかに記
載のOCR読取り用フォーマットパラメータ作成方法。
14. The OCR reading format according to claim 8, wherein the display of the character writing area and the display of the character writing area as the candidate are performed in different colors on the screen of the display. How to create parameters.
【請求項15】 前記第3のステップにおいて指示され
た文字記入用領域に対し、フォーマットパラメータの作
成のための所定の種類の情報を設定するようにした請求
項1乃至14のいずれかに記載のOCR読取り用フォー
マットパラメータ作成方法。
15. The method according to claim 1, wherein a predetermined type of information for creating a format parameter is set in the character entry area designated in the third step. OCR read format parameter creation method.
【請求項16】 前記所定の種類の情報を、別の文字記
入用領域について該所定の種類の情報を設定するために
利用する部品情報として登録し、該別の文字記入用領域
については、該部品情報を利用することによって該所定
の種類の情報を設定するようにした請求項15に記載の
OCR読取り用フォーマットパラメータ作成方法。
16. The predetermined type of information is registered as part information used to set the predetermined type of information for another character entry area, and the other character entry area is registered as part information. 16. The OCR read format parameter creating method according to claim 15, wherein the predetermined type of information is set by using the component information.
【請求項17】 前記所定の種類の情報は、文字記入用
領域の名称と、当該文字記入用領域に記入される文字の
データ形式と、当該文字記入用領域に記入される文字と
他の文字記入用領域に記入される文字との論理的関係
と、OCR装置の機種に由来する制約を受ける情報とを
含んでいる請求項15または16に記載のOCR読取り
用フォーマットパラメータ作成方法。
17. The information of the predetermined type includes a name of a character entry area, a data format of a character entered in the character entry area, a character entered in the character entry area, and other characters. 17. The method for creating an OCR reading format parameter according to claim 15 or 16, which includes a logical relationship with a character to be written in the writing area and information that is subject to a constraint derived from the model of the OCR device.
【請求項18】 前記第3のステップにおいて指示され
た文字記入用領域上の箇所を示すデータから、該文字記
入用領域のOCR入力用帳票上での位置及び大きさを計
算するようにした請求項1乃至17のいずれかに記載の
OCR読取り用フォーマットパラメータ作成方法。
18. The position and size of the character entry area on the OCR input form are calculated from the data indicating the location on the character entry area designated in the third step. Item 18. A method for creating an OCR reading format parameter according to any one of Items 1 to 17.
【請求項19】 前記第2のステップによって前記ディ
スプレイ画面に表示された枠構造を検出し、検出した枠
構造を含んだ領域をすべてフォーマットパラメータを作
成する対象の候補として前記ディスプレイ画面に表示す
るステップと、前記候補として表示された前記領域につ
いて、前記候補に採用するか否かを選択するステップ
と、前記候補に採用しなかった前記領域の前記候補とし
ての表示を前記ディスプレイ画面から消去するステップ
とを更に具え、前記候補に採用した前記領域に対し、前
記第3のステップにおける指示に基づいて前記第4のス
テップにおける処理を行なうようにした請求項1乃至7
または14乃至18のいずれかに記載のOCR読取り用
フォーマットパラメータ作成方法。
19. A step of detecting a frame structure displayed on the display screen by the second step, and displaying all regions including the detected frame structure on the display screen as candidates for creating format parameters. A step of selecting whether or not to adopt the area displayed as the candidate as the candidate, and a step of deleting the display of the area that is not adopted as the candidate as the candidate from the display screen. 7. The method according to claim 1, further comprising: wherein the processing in the fourth step is performed on the area adopted as the candidate based on the instruction in the third step.
Alternatively, the OCR read format parameter creating method described in any one of 14 to 18.
【請求項20】 前記第3のステップによって指示され
た文字記入用領域に対し、選択的に指示の取消しや指示
の修正を行なうようにした請求項1乃至19のいずれか
に記載のOCR読取り用フォーマットパラメータ作成方
法。
20. The OCR reading device according to claim 1, wherein the character entry area designated in the third step is adapted to selectively cancel or modify the designation. How to create format parameters.
【請求項21】 前記第4のステップにおいて、前記所
定の種類の情報と読取りフィールドの前記位置及び大き
さに関する情報とを、OCR装置が解釈可能な形式に変
換することによって、フォーマットパラメータの作成を
行なう請求項18に記載のOCR読取り用フォーマット
パラメータ作成方法。
21. In the fourth step, the format parameters are created by converting the predetermined type of information and the information about the position and size of the read field into a format that can be interpreted by an OCR device. The OCR read format parameter creating method according to claim 18, which is performed.
JP7206429A 1995-07-20 1995-07-20 Format parameter generating method for ocr Pending JPH0934989A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7206429A JPH0934989A (en) 1995-07-20 1995-07-20 Format parameter generating method for ocr

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7206429A JPH0934989A (en) 1995-07-20 1995-07-20 Format parameter generating method for ocr

Publications (1)

Publication Number Publication Date
JPH0934989A true JPH0934989A (en) 1997-02-07

Family

ID=16523238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7206429A Pending JPH0934989A (en) 1995-07-20 1995-07-20 Format parameter generating method for ocr

Country Status (1)

Country Link
JP (1) JPH0934989A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8769406B2 (en) 2006-08-14 2014-07-01 Konica Minolta, Inc. Image display apparatus capable of displaying image while retaining confidentiality
JP2015184815A (en) * 2014-03-20 2015-10-22 株式会社Pfu Form definition creation device, form definition creation method and program
JP2020119480A (en) * 2019-01-25 2020-08-06 寛 森本 System for easily creating database application from format data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8769406B2 (en) 2006-08-14 2014-07-01 Konica Minolta, Inc. Image display apparatus capable of displaying image while retaining confidentiality
JP2015184815A (en) * 2014-03-20 2015-10-22 株式会社Pfu Form definition creation device, form definition creation method and program
JP2020119480A (en) * 2019-01-25 2020-08-06 寛 森本 System for easily creating database application from format data

Similar Documents

Publication Publication Date Title
JP4356847B2 (en) Field definition information generation method, line and field definition information generation device
US7926732B2 (en) OCR sheet-inputting device, OCR sheet, program for inputting an OCR sheet and program for drawing an OCR sheet form
EP1764999B1 (en) Image display device image display method, and computer product
CA2511274A1 (en) A computer method for controlling a display, and graphical tools for on-screen analysis
JPH07192118A (en) Processor control system
KR20030088862A (en) Apparatus for producing sewing data and program for producing sewing data
JP2005216203A (en) Table format data processing method and table format data processing apparatus
JP7241506B2 (en) Correction support device and correction support program for optical character recognition results
JPH0934989A (en) Format parameter generating method for ocr
JP4218517B2 (en) Color correction device
JP4405604B2 (en) Information processing apparatus and definition method
US5471536A (en) Figure digitizing system
JPH0524534B2 (en)
JPH0635987A (en) Device and mehtod for preparing circuit diagram
JPH08202856A (en) Picture processing method
JP3635174B2 (en) Support device for graphic input work
JPH1131187A (en) Diagnostic report generating system
JPH0991107A (en) Paper format register device
JP3761923B2 (en) Image processing apparatus and method
JP2561000B2 (en) String output method
JPH08339419A (en) Method and device for generating format information
JPH03268060A (en) Correcting method for business form format
JPH09114915A (en) Mumeric identification computer system by high-speed numericimage sorting and proofreading method
JPH0643988A (en) Pen touch keyboard management system
JPH07271548A (en) Character string input method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050406

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050614

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20051018