[go: up one dir, main page]

JPH10334182A - Read position information correction system and recording medium recording program for making computer function as read position information correction system - Google Patents

Read position information correction system and recording medium recording program for making computer function as read position information correction system

Info

Publication number
JPH10334182A
JPH10334182A JP9141525A JP14152597A JPH10334182A JP H10334182 A JPH10334182 A JP H10334182A JP 9141525 A JP9141525 A JP 9141525A JP 14152597 A JP14152597 A JP 14152597A JP H10334182 A JPH10334182 A JP H10334182A
Authority
JP
Japan
Prior art keywords
reading
position information
read
character
reading position
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.)
Withdrawn
Application number
JP9141525A
Other languages
Japanese (ja)
Inventor
Kenji Ogawara
健志 大河原
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP9141525A priority Critical patent/JPH10334182A/en
Publication of JPH10334182A publication Critical patent/JPH10334182A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Character Input (AREA)

Abstract

PROBLEM TO BE SOLVED: To eliminate the need of measuring a slip by a scale and to reduce read defects at the time of an operation by setting errors by preparing read position information to be used based on a slip image displayed on a screen. SOLUTION: An OCR communication control part 23 transfers data prepared in a simple slip parameter preparation part 22 to an OCR device 1. Also, the OCR communication control part 23 starts the read of the slip and takes over a read result and slip image data. The taken-over data are transferred to a read information correction part 24. In the read information correction part 24, the read result and the slip image are displayed on the display of a control terminal equipment 2 first. At the time, the slip image is reduced or magnified as needed and then, displayed on the screen. That is, after size correction is performed so as to match a display resolution on a display screen and the read resolution of the OCR device 1, the slip image is displayed on the screen.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は読取り位置情報修正
システムに関し、特に光学的文字読取り装置において用
いられる読取り位置情報を修正するための読取り位置情
報修正システムに関する。
The present invention relates to a reading position information correcting system, and more particularly to a reading position information correcting system for correcting reading position information used in an optical character reader.

【0002】[0002]

【従来の技術】一般に、光学文字読取り装置(以下、O
CR装置と呼ぶ)は、帳票表面の予め定められた位置に
記載された手書き文字や活字をイメージデータとして読
取り、その読取ったイメージを基に文字認識処理を行っ
てその文字に相当する文字コードデータを出力する装置
である。この光学文字読取り装置において読取りを行う
ためには、帳票表面の文字記載位置、すなわちイメージ
データとして切出すべき位置を示す読取り位置情報を予
め作成しておかなければならない。
2. Description of the Related Art Generally, an optical character reader (hereinafter referred to as O) is used.
CR device) reads handwritten characters and printed characters written at predetermined positions on the form surface as image data, performs character recognition processing based on the read image, and performs character code data corresponding to the characters. Is a device that outputs In order to perform reading with this optical character reader, it is necessary to prepare in advance reading position information indicating a position where a character is written on the form surface, that is, a position to be cut out as image data.

【0003】ここで、図9には、読取り情報の従来の作
成環境が示されている。同図において、OCR装置1
は、上述したように帳票の表面に記載された文字を読取
り、その読取り結果について文字認識を行う装置であ
る。また、制御端末装置2は、読取り情報を作成するた
めの読取り情報作成部21をも含んで構成されている。
この読取り情報作成部21において作成される読取り情
報には、上述した読取り位置情報の他、文字のフォン
ト、文字ピッチ、文字種等のパラメータが含まれてい
る。
FIG. 9 shows a conventional environment for creating read information. In the figure, the OCR device 1
Is a device that reads a character written on the surface of a form as described above, and performs character recognition on the read result. Further, the control terminal device 2 is also configured to include a read information creating unit 21 for creating read information.
The read information created by the read information creating section 21 includes parameters such as a character font, a character pitch, and a character type, in addition to the above-described read position information.

【0004】この従来装置の読取り情報作成部21にお
いて作成される読取り位置情報のデータは、スケール
(物差し)を用いて使用者が帳票を計測した値である。
このデータの入力は、使用者がキーボードを用いて行
う。このデータが正しいデータかどうかの確認は、OC
R装置1を用いて実際に帳票を読取ることによって行わ
れる。この帳票の読取りは、OCR装置1の制御と読取
り結果の編集とを行うデータエントリソフトウェア25
を使用して行われる。
The data of the reading position information created by the reading information creating section 21 of the conventional device is a value obtained by measuring a form by a user using a scale (ruler).
This data is input by the user using a keyboard. Check if this data is correct data by OC
This is performed by actually reading the form using the R device 1. This form is read by data entry software 25 for controlling the OCR device 1 and editing the read result.
This is done using

【0005】このデータエントリソフトウェア25につ
いて図10のフローチャートを参照して説明する。同図
において、まず、制御端末装置2からOCR装置1に、
各種のパラメータを転送する(S101)。続いてOC
R装置1へ読取り開始指示を行うと(S102)、この
指示に応答してOCR装置1は読取りを行う(S10
3)。
The data entry software 25 will be described with reference to the flowchart of FIG. In the figure, first, from the control terminal device 2 to the OCR device 1,
Various parameters are transferred (S101). Then OC
When a reading start instruction is issued to the R apparatus 1 (S102), the OCR apparatus 1 performs reading in response to this instruction (S10).
3).

【0006】この読取りが終了すると、制御端末装置2
はOCR装置1から読取りデータを引取り(S10
4)、この引取った読取りデータの修正が行われる(S
105)。そして、この修正された読取りデータは保存
される(S106)。
When the reading is completed, the control terminal 2
Receives the read data from the OCR device 1 (S10
4), the acquired read data is corrected (S
105). Then, the corrected read data is stored (S106).

【0007】さらに、次の帳票の読取りを行うかどうか
が判断され(S107)、読取りを行う場合には再度O
CR装置1へ読取り開始指示を行う(S107→S10
2)。次の帳票の読取りを行わない場合には、処理が終
了となる(S107→S108)。
[0007] Further, it is determined whether or not to read the next form (S107).
Instruct the CR device 1 to start reading (S107 → S10)
2). If the next form is not read, the process ends (S107 → S108).

【0008】[0008]

【発明が解決しようとする課題】上述した従来技術にお
ける読取り情報データの作成は、制御端末装置側での独
立した作業によって行われる。このため、文字が記載さ
れる帳票の構成(行数、フィールド数)が複雑になれば
なるほど、作成された読取り情報データの確認が難し
く、設定ミスによる読取り不良が発生しやすいという欠
点がある。
The preparation of the read information data in the above-mentioned prior art is performed by an independent operation on the control terminal device side. For this reason, as the configuration (the number of lines and the number of fields) of a form on which characters are described becomes more complicated, it is more difficult to confirm the created read information data, and there is a disadvantage that reading errors due to setting errors are more likely to occur.

【0009】ところで、特開平2−23491号公報に
は、帳票を複数ブロックに分割し、ブロック毎の独立し
たフォーマットコントロール情報に基づいて文字認識処
理をすることによって、読取り作業効率の効率の向上を
図り、オペレータの作業負担を軽減する技術が記載され
ている。また、特開平4−264964号公報には、帳
票フォーマットの追加作成が類似フォーマットを参照し
て一部の制御パラメータを修正して作成できるばかりで
なく、帳票フォーマットの更新においても一部の制御パ
ラメータを抽出して修正できるようにして、帳票フォー
マットの作成/更新効率を向上する技術が記載されてい
る。
Japanese Patent Application Laid-Open No. 23491/1990 discloses that the form is divided into a plurality of blocks, and character recognition processing is performed based on independent format control information for each block, thereby improving the efficiency of reading work. A technique for reducing the work load of an operator is described. Japanese Patent Application Laid-Open No. 4-264964 discloses that, in addition to the creation of a form format, not only a modification of some control parameters with reference to a similar format but also a modification of the form format, There is described a technique for extracting and modifying a document format to improve the efficiency of creation / update of a form format.

【0010】しかしながら、これら公報に記載されてい
る技術によっては、上述した従来技術の欠点を解決する
ことはできない。
However, the techniques described in these publications cannot solve the above-mentioned drawbacks of the prior art.

【0011】本発明は上述した従来技術の欠点を解決す
るためになされたものであり、その目的は読取り位置情
報をより効率良く作成でき、作成した情報の確認も容易
な読取り位置情報修正システムを提供することである。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned drawbacks of the prior art, and an object of the present invention is to provide a reading position information correcting system which can create reading position information more efficiently and can easily confirm the created information. To provide.

【0012】[0012]

【課題を解決するための手段】本発明による読取り位置
情報修正システムは、帳票の表面に記載された文字の読
取り及び認識を行う光学文字読取装置に対しその文字読
取りに必要な読取り位置情報を出力し該装置における文
字読取り認識結果に基づいて前記読取り位置情報を修正
するための読取り位置情報修正システムであって、前記
帳票のイメージデータを表示する表示手段と、外部入力
に応じて前記読取り位置情報を修正する修正手段と、こ
の修正後の読取り位置情報に従って前記光学文字読取装
置が行った文字読取り認識結果を前記表示手段の表示画
面に表示する表示制御手段とを含むことを特徴とする。
A reading position information correcting system according to the present invention outputs reading position information necessary for reading characters to an optical character reading device for reading and recognizing characters written on the surface of a form. A reading position information correcting system for correcting the reading position information based on a character reading recognition result in the apparatus, wherein a display means for displaying image data of the form; and the reading position information in response to an external input. And display control means for displaying, on a display screen of the display means, a result of character reading recognition performed by the optical character reading device in accordance with the corrected reading position information.

【0013】本発明による記録媒体は、コンピュータ
を、帳票の表面に記載された文字の読取り及び認識を行
う光学文字読取装置に対しその文字読取りに必要な読取
り位置情報を出力し該装置における文字読取り認識結果
に基づいて前記読取り位置情報を修正するための読取り
位置情報修正システムとして動作させるためのプログラ
ムを記録した記録媒体であって、コンピュータを、前記
帳票のイメージデータを表示する表示手段、外部入力に
応じて前記読取り位置情報を修正する修正手段、この修
正後の読取り位置情報に従って前記光学文字読取装置が
行った文字読取り認識結果を前記表示手段の表示画面に
表示する表示制御手段、として機能させるためのプログ
ラムを記録したことを特徴とする。
According to the recording medium of the present invention, the computer outputs the reading position information necessary for the character reading to an optical character reading device for reading and recognizing the characters written on the surface of the form, and reads the characters in the device. A recording medium storing a program for operating as a reading position information correction system for correcting the reading position information based on a recognition result, comprising: a display unit for displaying image data of the form; Functioning as correction means for correcting the reading position information in accordance with the above, and display control means for displaying the result of character reading recognition performed by the optical character reading device on the display screen of the display means in accordance with the corrected reading position information. A program for recording the program.

【0014】要するに本システムでは、読取り位置情報
の作成を、帳票イメージに基づいて行えるので、スケー
ルで帳票を計測する必要がなくなるのである。また、作
成した読取り位置情報についての確認作業をリアルタイ
ムに行うことができるので、設定ミスによる運用時にお
ける読取り不良を削減できるのである。
In short, in the present system, since the reading position information can be created based on the form image, there is no need to measure the form on a scale. In addition, since the checking operation of the created reading position information can be performed in real time, reading errors during operation due to setting errors can be reduced.

【0015】[0015]

【発明の実施の形態】次に、本発明の実施の一形態につ
いて図面を参照して説明する。
Next, an embodiment of the present invention will be described with reference to the drawings.

【0016】図2は本発明による読取り位置情報修正シ
ステムの実施の一形態を示すブロック図である。同図に
おいて、図10と同等部分は同一符号により示されてお
り、その部分の詳細な説明は省略する。
FIG. 2 is a block diagram showing an embodiment of a reading position information correcting system according to the present invention. In this figure, the same parts as those in FIG. 10 are denoted by the same reference numerals, and detailed description of those parts will be omitted.

【0017】同図において本システムは、従来の制御端
末装置に、OCR装置1との通信機能を持たせたもので
ある。ここで、読取り情報作成部21は、従来のものと
同等の機能を有している。特に、OCR装置1を使用す
る必要がない場合、例えば帳票の構成が単純である場合
には、この読取り情報作成部21のみで読取り情報を作
成できる。OCR装置1を使用して読取り情報データを
設定する場合は、この読取り情報作成部21から簡易帳
票パラメータ作成部22が呼び出される。簡易帳票パラ
メータ作成部22は、OCR装置1で必要な最小限のパ
ラメータ(帳票サイズ、帳票イメージ領域、記入文字フ
ォント、ピッチ、文字種、読取り位置)を自動作成す
る。新規に作成する場合、1行1フィールド目のフォン
ト、ピッチ、文字種、読取り位置については、ダミーデ
ータが夫々作成される。
In this figure, the present system is obtained by providing a conventional control terminal device with a communication function with the OCR device 1. Here, the read information creation unit 21 has a function equivalent to that of a conventional one. In particular, when it is not necessary to use the OCR apparatus 1, for example, when the form is simple, the read information can be created only by the read information creating unit 21. When the read information data is set using the OCR device 1, the simple form parameter creation unit 22 is called from the read information creation unit 21. The simple form parameter creation unit 22 automatically creates the minimum parameters (form size, form image area, character font, pitch, character type, and reading position) required by the OCR apparatus 1. In the case of newly creating, dummy data is created for the font, pitch, character type, and reading position in the first field of each row.

【0018】ここで、簡易帳票パラメータについて図3
を参照して説明する。同図を参照すると、同図には、O
CR装置に転送する読取り情報データの運用時と確認時
との違いが示されている。1つの読取り情報データには
複数種類の帳票に関するデータを登録することができ
る。そして、各帳票に関するデータ夫々には、ID番号
を付加する。このようにID番号を付加することによ
り、OCR装置1が各データを識別できるようになって
いる。
FIG. 3 shows simplified form parameters.
This will be described with reference to FIG. Referring to FIG.
The difference between the operation time and the confirmation time of the read information data transferred to the CR device is shown. Data relating to a plurality of types of forms can be registered in one piece of read information data. Then, an ID number is added to each data relating to each form. By adding the ID number in this manner, the OCR device 1 can identify each data.

【0019】同図中のシステムパラメータ30は、全て
のID番号に共通の情報である。このシステムパラメー
タは本装置において、必ずなければならないデータであ
る。このシステムパラメータのうち、1つのID番号に
対応するものに含まれている情報には、データエントリ
ソフトウェアで使用するものと、OCR装置で使用する
ものとがある。そして、運用時には全ての情報がOCR
装置に転送される。
A system parameter 30 in FIG. 1 is information common to all ID numbers. These system parameters are data that must be used in this apparatus. Among the system parameters, information included in one corresponding to one ID number includes information used by data entry software and information used by an OCR device. In operation, all information is OCR
Transferred to device.

【0020】ここで、実際にOCR装置で使用しない情
報については、転送をする必要がない。しかし、運用時
には1回の転送だけで済み、かつ、装置の性能上あまり
影響がないため、このように全ての情報を転送してい
る。
Here, there is no need to transfer information that is not actually used by the OCR device. However, at the time of operation, only one transfer is required, and there is not much effect on the performance of the apparatus. Therefore, all information is transferred in this way.

【0021】これに対し、今回の読取り情報データの作
成においては、OCR装置へのデータ転送が頻繁に行わ
れるという性質上、データ転送をできるだけ最小にしな
ければならない。このため、読取り及び認識処理に必要
でない情報は、転送の対象にしない。すなわち、本シス
テムでは、帳票についての文字読取り及び文字認識に必
要なパラメータのみをOCR装置に転送するのである。
On the other hand, in the current generation of the read information data, the data transfer to the OCR device must be minimized because of the frequent nature of the data transfer. For this reason, information that is not necessary for the reading and recognition processing is not transferred. That is, in the present system, only the parameters necessary for character reading and character recognition of the form are transferred to the OCR device.

【0022】ここで、同図において、帳票パラメータ3
1とは、読取り情報データとして必要な、帳票サイズや
文字種・読取り位置等のパラメータ群である。このパラ
メータは帳票の読取り及び認識に必須なパラメータであ
り、各ID番号に一対一に対応して存在するものであ
る。
Here, in FIG.
Reference numeral 1 denotes a group of parameters required as read information data, such as a form size, a character type, and a read position. This parameter is an essential parameter for reading and recognizing a form, and exists in one-to-one correspondence with each ID number.

【0023】チェックパラメータ32とは、読取った文
字データ又は帳票に記載されている文字が正しいかどう
かを判定するためのパラメータ群である。例えば、単
価、個数、合計の各欄が帳票にある場合、実際に記載さ
れている文字又は読取った文字データに「単価×個数=
合計」の関係が成り立つかどうかを確認し、修正するた
めのパラメータである。このパラメータは帳票の読取り
及び認識に必須なパラメータではなく、必要に応じて各
ID番号に一対一に対応させて設定する。
The check parameters 32 are a group of parameters for determining whether the read character data or the characters described in the form are correct. For example, when each column of unit price, number, and total is present in the form, the characters actually written or the read character data are expressed as “unit price × number =
This is a parameter for confirming whether or not the relationship of “sum” is satisfied and correcting the relationship. This parameter is not an essential parameter for reading and recognizing a form, but is set in a one-to-one correspondence with each ID number as needed.

【0024】出力編集パラメータ33とは、読取った文
字データを任意の形式に編集した後、ファイルデータと
して記憶装置に書込むためのパラメータ群である。例え
ば、80文字のデータを10文字ごとに改行コードで区
切って出力する場合等に用いるパラメータである。この
パラメータも帳票の読取り及び認識に必須なパラメータ
ではなく、必要に応じて各ID番号に一対一に対応して
設定する。
The output editing parameters 33 are a group of parameters for editing the read character data into an arbitrary format and then writing the data as file data in a storage device. For example, it is a parameter used when outputting data of 80 characters separated by a line feed code every 10 characters. These parameters are also not essential for reading and recognizing a form, but are set in a one-to-one correspondence with each ID number as needed.

【0025】画面編集パラメータ34とは、読取った文
字データを画面上で確認し、修正する場合、画面に任意
のレイアウトで表示させるためのパラメータ群である。
このパラメータも帳票の読取り及び認識に必須なパラメ
ータではなく、必要に応じて各ID番号に一対一に対応
させて設定する。
The screen editing parameters 34 are a group of parameters for displaying the read character data on the screen in an arbitrary layout when confirming and correcting the read character data on the screen.
These parameters are also not essential for reading and recognizing the form, but are set in a one-to-one correspondence with each ID number as needed.

【0026】なお、同図に示されている「運用」とは、
読取り位置情報の修正が完了した最終的な帳票パラメー
タを使用して、帳票の読取りを行う本番作業のことであ
る。この運用の時点では、帳票上に記載された文字を正
しく読取ることができていなければならない。
The “operation” shown in FIG.
This is a production operation in which a form is read using the final form parameters whose reading position information has been corrected. At the time of this operation, the characters written on the form must be able to be read correctly.

【0027】また、同図に示されている「確認」とは、
読取り位置情報が正しいか否か検証されていない状態に
おいて、そのデータの確認や修正を行うための作業のこ
とである。
The "confirmation" shown in FIG.
This is an operation for confirming or correcting the data in a state where the reading position information has not been verified whether it is correct or not.

【0028】図2に戻り、OCR通信制御部23は簡易
帳票パラメータ作成部22で作成されたデータをOCR
装置1に転送する。また、OCR通信制御部23は、帳
票の読取りを開始し、読取り結果及び帳票イメージデー
タの引取りを行う。この引取られたデータは、読取り情
報補正部24に転送される。
Returning to FIG. 2, the OCR communication control unit 23 converts the data created by the simple form parameter
Transfer to device 1. Further, the OCR communication control unit 23 starts reading the form, and collects the read result and the form image data. The received data is transferred to the read information correction unit 24.

【0029】読取り情報補正部24では、まず制御端末
装置2の図示せぬディスプレイに読取り結果と帳票イメ
ージとを表示する。この表示画面の例が図4に示されて
いる。同図において、帳票イメージ400は、必要に応
じて縮小又は拡大された後、画面に表示される。つま
り、表示画面上の表示解像度とOCR装置1の読取り解
像度とが一致するようにサイズ補正が行われた後、帳票
イメージが画面に表示されるのである。
The read information correction unit 24 first displays the read result and the form image on a display (not shown) of the control terminal device 2. FIG. 4 shows an example of this display screen. In the figure, a form image 400 is displayed on a screen after being reduced or enlarged as necessary. In other words, the form image is displayed on the screen after the size correction is performed so that the display resolution on the display screen and the reading resolution of the OCR device 1 match.

【0030】利用者は、この画面を目視して読取り結果
を確認する。そして、正しい読取り結果が得られなかっ
た場合には、この帳票イメージ400を利用することに
よって、位置補正を行うことができる。以下、その手順
を説明する。
The user checks the reading result by visually checking this screen. When a correct reading result is not obtained, the position can be corrected by using the form image 400. Hereinafter, the procedure will be described.

【0031】まず、帳票イメージ400の表示部分に
は、帳票先端からの行位置を表す横ラインLのカーソル
と、帳票右端からのフィールド位置を表す縦ラインFの
カーソル(そのフィールドの先頭位置を示すものとす
る)とが表示されている。これらのラインL及びFの各
カーソルは、図示せぬカーソルキーを押下することによ
って、その位置を移動させることができる。すなわち、
図示せぬ上下のカーソルキーを押下すると、横ラインL
のカーソルが上下に移動する。また、図示せぬ左右のカ
ーソルキーを押下すると、縦ラインFのカーソルが左右
に移動する。この場合、マウス等のポインティングの操
作で移動するようにしても良い。
First, in the display portion of the form image 400, a cursor of a horizontal line L indicating a line position from the top of the form and a cursor of a vertical line F indicating a field position from the right end of the form (indicating the head position of the field) Shall be displayed). The positions of the cursors of these lines L and F can be moved by pressing a cursor key (not shown). That is,
When the up and down cursor keys (not shown) are pressed, the horizontal line L
Cursor moves up and down. Further, when the left and right cursor keys (not shown) are pressed, the cursor of the vertical line F moves right and left. In this case, the movement may be performed by a pointing operation such as a mouse.

【0032】このとき、各ラインL及びFのカーソルの
移動に連動して、その時点の行位置を表す値とフィール
ド位置を表す値とが画面内に表示される。同図内の表示
値L1及び表示値F1がそれらの位置を表す値である。
利用者は、帳票をスケールで計測する代わりに、その画
面内に表示されている表示値L1及びF1を肉眼で見る
ことによって、位置情報を確認することができる。
At this time, a value representing the current row position and a value representing the field position are displayed on the screen in conjunction with the movement of the cursor on each of the lines L and F. A display value L1 and a display value F1 in the figure are values representing those positions.
The user can confirm the position information by looking at the display values L1 and F1 displayed on the screen with the naked eye instead of measuring the form with the scale.

【0033】帳票を読取った結果は、表示43のよう
に、「読取り結果 123456」,「1行2フィール
ド」,「フォント:手書」,「字種:N」,「文字数:
6」等と、画面に表示される。
As shown in the display 43, the result of reading the form is "read result 123456", "one line and two fields", "font: handwriting", "character type: N", "number of characters:
6 "etc. are displayed on the screen.

【0034】位置補正の終了は、終了キー40の押下に
よって実行される。位置補正が終了した場合、その時点
の行及びフィールドの位置を示す情報が読取り位置情報
として簡易帳票パラメータ作成部22に通知される。
The end of the position correction is executed by pressing the end key 40. When the position correction is completed, information indicating the position of the line and the field at that time is notified to the simple form parameter creation unit 22 as read position information.

【0035】ところで、複数のフィールドや行につい
て、ある程度まとめて確認を行いたい場合には、以下の
操作を行う。すなわち、まず継続キー42を押下するこ
とによって、次のフィールド又は次の行を追加する設定
を行う。次に、確認キー41を押下する。以上の操作を
繰返すことによって、それまで作成したデータをまとめ
て確認することができる。
When it is desired to confirm a plurality of fields and lines collectively to some extent, the following operation is performed. That is, first, by pressing the continuation key 42, the setting for adding the next field or the next line is performed. Next, the confirmation key 41 is pressed. By repeating the above operation, the data created so far can be checked together.

【0036】ここで、読取り情報の補正は、フィールド
単位に図1に示されている手順で行われる。図1は、本
発明の実施の一形態による読取り位置情報修正システム
における読取り位置情報についての補正動作を示すフロ
ーチャートである。
Here, the correction of the read information is performed by the procedure shown in FIG. 1 for each field. FIG. 1 is a flowchart showing a correction operation for reading position information in the reading position information correction system according to one embodiment of the present invention.

【0037】同図において、まず補正対象となるフィー
ルドついての読取り情報を設定する(S11)。次に、
先頭フィールドに対応した読取り結果を表示し(S1
2)、その部分の帳票イメージを、上述した図4に示さ
れているように、画面の中央部に表示する(S13)。
In the figure, first, read information on a field to be corrected is set (S11). next,
The read result corresponding to the first field is displayed (S1
2) The form image of that portion is displayed in the center of the screen as shown in FIG. 4 described above (S13).

【0038】この表示されている帳票イメージ上の行及
びフィールドの位置を、読取り位置情報を基に算出する
(S14)。この算出した位置又はユーザが移動した位
置に縦ライン・横ラインを表示させる(S15)。ライ
ンの位置が前回の位置から移動している場合は、その移
動分を読取り位置の値に加算し(S16)、この加算後
の値を表示する(S17)。なお、読取り情報設定直後
では、移動分は零となる。この表示状態で、ユーザのキ
ーボード又はマウスによる入力待ちとなる(S18)。
The positions of the lines and fields on the displayed form image are calculated based on the read position information (S14). A vertical line and a horizontal line are displayed at the calculated position or the position moved by the user (S15). If the position of the line has moved from the previous position, the movement is added to the value of the reading position (S16), and the value after the addition is displayed (S17). Immediately after the reading information is set, the moving amount is zero. In this display state, the user waits for input from the keyboard or mouse (S18).

【0039】ユーザからの入力によりライン移動又はフ
ォント・文字数等の変更があった場合は、読取り位置の
算出から処理を繰返す(S18→S19→S14…)。
If there is a line movement or a change in font or number of characters due to an input from the user, the process is repeated from the calculation of the reading position (S18 → S19 → S14...).

【0040】一方、継続キーの押下による継続指定があ
った場合は、補正対象を次のフィールドに変更した後、
以上の処理を繰返す(S18→S19→S20→S11
…)。終了キーの押下による終了指定又は確認キーの押
下による確認指定があった場合は、それまでに補正した
情報で読取り情報を更新し、全ての処理を終了する(S
18→S19→S20→S21)。
On the other hand, when the continuation is designated by pressing the continuation key, the correction target is changed to the next field,
The above processing is repeated (S18 → S19 → S20 → S11)
…). If there is an end specification by pressing the end key or a confirmation specification by pressing the confirmation key, the read information is updated with the information corrected so far, and all the processing ends (S
18 → S19 → S20 → S21).

【0041】図2に戻り、簡易帳票パラメータ作成部2
2は、読取り情報補正部24からの補正値及び終了状態
(終了か確認か)を受取る。そして、終了の場合は、読
取り情報作成部21においてその時点まで作成したパラ
メータを転送する。一方、データの確認の場合は、再度
簡易パラメータを作成する。そして、読取り情報の補正
が全て終了するまで、以上の処理を繰返し行う。
Returning to FIG. 2, a simple form parameter creation unit 2
2 receives the correction value and the end state (end or confirmation) from the read information correction unit 24. Then, in the case of termination, the parameters created up to that point in the read information creation unit 21 are transferred. On the other hand, in the case of data confirmation, the simple parameters are created again. The above processing is repeated until all the correction of the read information is completed.

【0042】図5は、以上の一連の作業を示すフローチ
ャートである。同図に示されているように、まず簡易帳
票パラメータを作成する(S51)。次に、この作成し
たパラメータを用いてOCR装置1での読取りが行われ
る(S52)。この読取り結果に応じて、読取り情報に
ついての補正画面(上述した図4)が表示される(S5
3)。
FIG. 5 is a flowchart showing the above series of operations. As shown in the figure, first, simple form parameters are created (S51). Next, reading is performed by the OCR device 1 using the created parameters (S52). According to the read result, a correction screen for the read information (FIG. 4 described above) is displayed (S5).
3).

【0043】この画面表示内容を参照することによって
利用者が位置確認及び補正を行う(S54)。この確認
及び補正の後、処理を継続する場合はパラメータを追加
し(S55→S56)、再び利用者が位置確認・補正を
行う(S56→S54)。
The user confirms and corrects the position by referring to the contents displayed on the screen (S54). After the confirmation and correction, if the processing is to be continued, a parameter is added (S55 → S56), and the user performs position confirmation / correction again (S56 → S54).

【0044】処理を継続しない場合は、データを確認す
るかどうか判断する(S55→S57)。作成したデー
タの確認を行う場合は、再び簡易帳票パラメータを作成
し(S51)、上述と同様の処理が繰返される(S51
→S52…)。
If the process is not to be continued, it is determined whether to check the data (S55 → S57). When confirming the created data, a simple form parameter is created again (S51), and the same processing as described above is repeated (S51).
→ S52 ...).

【0045】作成したデータの確認を行う場合は、パラ
メータを保存し、一連の処理が終了する(S57→S5
8)。
When confirming the created data, the parameters are saved, and a series of processing ends (S57 → S5).
8).

【0046】図6は、図2中の簡易帳票パラメータ作成
部22の動作を示すフローチャートである。同図におい
て、簡易帳票パラメータ作成部22は、OCR装置1に
おける読取りに最小限必要な読取り情報を作成する。読
取り情報補正部24からの補正データがない場合は、予
め設定された値によって読取り情報を作成する(S61
→S64)。以降は、読取り情報補正部24からの補正
データに応じて読取り位置情報を更新する(S61→S
62)。作成した読取り情報や読取り位置情報の更新内
容は、OCR通信制御部23に出力される(S62→S
63,S64→S63)。補正作業等が終了した場合
は、読取り情報作成部21に通知される(S61→S6
5)。
FIG. 6 is a flowchart showing the operation of the simplified form parameter creation unit 22 in FIG. In the figure, a simplified form parameter creation unit 22 creates read information necessary for reading by the OCR apparatus 1 at a minimum. If there is no correction data from the read information correcting unit 24, read information is created with a preset value (S61).
→ S64). Thereafter, the reading position information is updated according to the correction data from the reading information correcting unit 24 (S61 → S
62). The created read information and the updated contents of the read position information are output to the OCR communication control unit 23 (S62 → S
63, S64 → S63). When the correction work or the like is completed, the read information creation unit 21 is notified (S61 → S6)
5).

【0047】図7は、図2中のOCR通信制御部23の
動作を示すフローチャートである。同図においてOCR
通信制御部23は、OCR装置1に読取情報を通知し
(S71)、さらに読取り開始指示を出力する(S7
2)。
FIG. 7 is a flowchart showing the operation of the OCR communication control unit 23 in FIG. In the figure, OCR
The communication control unit 23 notifies the OCR device 1 of the read information (S71), and further outputs a read start instruction (S7).
2).

【0048】読取りが正常に行われれば、読取りデータ
を引取り(S73→S74)、さらに帳票イメージを引
取る(S75)。そしてOCR通信制御部23は、読取
り終了指示をOCR装置1に出力し(S76)、通信処
理の終了を読取り情報補正部24に通知する(S7
7)。
If the reading is performed normally, the read data is collected (S73 → S74), and the form image is further collected (S75). Then, the OCR communication control unit 23 outputs a reading end instruction to the OCR device 1 (S76), and notifies the reading information correcting unit 24 of the end of the communication process (S7).
7).

【0049】一方、読取りが正常に行われない場合は、
エラー処理を行った後(S73→S78)、通信処理の
終了を読取り情報補正部24に通知する(S79)。
On the other hand, when reading is not performed normally,
After performing the error processing (S73 → S78), the end of the communication processing is notified to the read information correction unit 24 (S79).

【0050】以上のように、OCR通信制御部23は、
OCR装置1の動作制御及び読取り情報補正部24で使
用する文字データ及び帳票イメージの引取りを行うので
ある。
As described above, the OCR communication control unit 23
The operation control of the OCR device 1 and the receipt of character data and a form image used by the read information correction unit 24 are performed.

【0051】図8は、図2中の読取り情報補正部24の
動作を示すフローチャートである。同図において、読取
り情報補正部24は、OCR通信制御部23からの読取
り結果と帳票イメージとを表示画面に表示する(S8
1)。ユーザがこの表示画面を目視することによって、
キーボードを利用して画面に表示された縦・横のライン
を移動させることで読取り位置情報の補正等を行う(S
82)。
FIG. 8 is a flowchart showing the operation of the read information correction unit 24 in FIG. In the figure, the read information correction unit 24 displays the read result from the OCR communication control unit 23 and the form image on the display screen (S8).
1). When the user looks at this display screen,
By using the keyboard to move the vertical and horizontal lines displayed on the screen, the reading position information is corrected (S
82).

【0052】以後、この画面表示及び読取り位置情報の
補正が継続される(S83→S81→S82…)。補正
が終了した場合は、簡易帳票パラメータ作成部22に通
知され(S84)、補正終了処理及び確認処理が行われ
る。
Thereafter, the screen display and the correction of the reading position information are continued (S83 → S81 → S82...). When the correction is completed, the simple form parameter creation unit 22 is notified (S84), and the correction end processing and the confirmation processing are performed.

【0053】以上のように本システムでは、読取り位置
情報の作成を、帳票イメージに基づいて行えるので、ス
ケールで帳票を計測する必要がなくなるのである。ま
た、作成した読取り情報についての確認作業をリアルタ
イムに行うことができるので、設定ミスによる運用時に
おける読取り不良を削減できる。
As described above, in the present system, since the reading position information can be created based on the form image, there is no need to measure the form on a scale. In addition, since the created read information can be checked in real time, read errors during operation due to setting errors can be reduced.

【0054】さらに、帳票についての文字読取り及び文
字認識に必要なパラメータのみをOCR装置に転送する
ので、転送時間が短くなり、補正後の読取り位置情報を
用いた確認処理を高速に行うことができるのである。
Further, since only the parameters necessary for character reading and character recognition of the form are transferred to the OCR device, the transfer time is shortened, and the confirmation processing using the corrected reading position information can be performed at high speed. It is.

【0055】ところで、上述した図1の処理を実現する
ためのプログラムを記録した記録媒体を用意し、これを
用いてコンピュータを制御すれば、上述と同様の読取り
位置情報の作成処理を行うことができることは明白であ
る。この記録媒体には、図2中に図示されていない半導
体メモリ、磁気ディスク装置の他、種々の記録媒体を用
いることができる。
By the way, if a recording medium storing a program for realizing the processing of FIG. 1 described above is prepared and the computer is controlled by using the recording medium, the same processing for generating the reading position information as described above can be performed. What you can do is obvious. As this recording medium, various recording media can be used in addition to the semiconductor memory and the magnetic disk device not shown in FIG.

【0056】請求項の記載に関連して本発明は更に次の
態様をとりうる。
The present invention can also take the following aspects in connection with the description of the claims.

【0057】(1)コンピュータを、更に前記帳票につ
いての文字読取り及び文字認識に必要なパラメータのみ
を前記光学文字読取装置に転送する転送手段としても動
作させるプログラムを記録したことを特徴とする請求項
4記載の記録媒体。
(1) A program for causing a computer to further operate as transfer means for transferring only parameters necessary for character reading and character recognition of the form to the optical character reading device is recorded. 4. The recording medium according to 4.

【0058】(2)前記修正手段は、外部入力に応じて
前記表示画面に表示された前記イメージデータに重ねて
カーソルを表示するカーソル表示手段と、このカーソル
が表示されている位置を算出する算出手段とを含み、こ
の算出結果に基づいて前記読取り位置情報を修正するよ
うにしたことを特徴とする請求項4記載の記録媒体。
(2) The correction means includes a cursor display means for displaying a cursor over the image data displayed on the display screen in response to an external input, and a calculation for calculating a position at which the cursor is displayed. 5. The recording medium according to claim 4, wherein said read position information is corrected based on the calculation result.

【0059】[0059]

【発明の効果】以上説明したように本発明は、光学的文
字読取り装置において用いられる読取り位置情報の作成
を、画面に表示された帳票イメージに基づいて行うこと
により、スケールで帳票を計測する必要がなくなり、ま
た作成した読取り位置情報についての確認作業をリアル
タイムに行うことができるので、設定ミスによる運用時
における読取り不良を削減できるという効果がある。
As described above, according to the present invention, the reading position information used in the optical character reading apparatus is created based on the form image displayed on the screen, so that the form can be measured on a scale. In addition, since the read operation can be performed on the created read position information in real time, it is possible to reduce read errors during operation due to setting errors.

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

【図1】本発明の実施の一形態による読取り位置情報修
正システムにおける読取り位置情報についての補正動作
を示すフローチャートである。
FIG. 1 is a flowchart showing a correction operation for reading position information in a reading position information correction system according to an embodiment of the present invention.

【図2】本発明による読取り位置情報修正システムの実
施の一形態を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment of a reading position information correcting system according to the present invention.

【図3】簡易帳票パラメータとその他のパラメータとの
関係を示す図である。
FIG. 3 is a diagram showing a relationship between simplified form parameters and other parameters.

【図4】ディスプレイの表示画面の例を示す図である。FIG. 4 is a diagram illustrating an example of a display screen of a display.

【図5】図1の読取り位置情報修正システムによる一連
の作業を示すの動作を示すフローチャートである。
FIG. 5 is a flowchart showing an operation of showing a series of operations by the reading position information correcting system of FIG. 1;

【図6】図2中の簡易帳票パラメータ作成部の動作を示
すフローチャートである。
FIG. 6 is a flowchart showing the operation of a simplified form parameter creation unit in FIG. 2;

【図7】図2中のOCR通信制御部の動作を示すフロー
チャートである。
FIG. 7 is a flowchart illustrating an operation of an OCR communication control unit in FIG. 2;

【図8】図2中の読取り情報補正部の動作を示すフロー
チャートである。
FIG. 8 is a flowchart showing an operation of a read information correction unit in FIG. 2;

【図9】OCR装置において用いる読取り情報について
の従来の作成環境を示す図である。
FIG. 9 is a diagram showing a conventional creation environment for read information used in an OCR apparatus.

【図10】図9中のデータエントリソフトウェアの動作
を示すフローチャートである。
FIG. 10 is a flowchart showing the operation of the data entry software in FIG.

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

1 OCR装置 2 制御端末装置 21 読取り情報作成部 22 簡易帳票パラメータ作成部 23 OCR通信制御部 24 読取り情報補正部 REFERENCE SIGNS LIST 1 OCR device 2 control terminal device 21 read information creation unit 22 simple form parameter creation unit 23 OCR communication control unit 24 read information correction unit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 帳票の表面に記載された文字の読取り及
び認識を行う光学文字読取装置に対しその文字読取りに
必要な読取り位置情報を出力し該装置における文字読取
り認識結果に基づいて前記読取り位置情報を修正するた
めの読取り位置情報修正システムであって、前記帳票の
イメージデータを表示する表示手段と、外部入力に応じ
て前記読取り位置情報を修正する修正手段と、この修正
後の読取り位置情報に従って前記光学文字読取装置が行
った文字読取り認識結果を前記表示手段の表示画面に表
示する表示制御手段とを含むことを特徴とする読取り位
置情報修正システム。
1. An optical character reading device for reading and recognizing characters written on the surface of a form, outputs reading position information necessary for reading the characters, and reads the reading position based on the character reading recognition result in the device. A reading position information correcting system for correcting information, a display means for displaying image data of the form, a correcting means for correcting the reading position information in response to an external input, and a read position information after the correction A display control means for displaying a result of character reading recognition performed by the optical character reading apparatus on a display screen of the display means in accordance with the following.
【請求項2】 前記帳票についての文字読取り及び文字
認識に必要なパラメータのみを前記光学文字読取装置に
転送する転送手段を更に含むことを特徴とする請求項1
記載の読取り位置情報修正システム。
2. The apparatus according to claim 1, further comprising a transfer unit configured to transfer only parameters necessary for character reading and character recognition of the form to the optical character reading device.
The described reading position information correction system.
【請求項3】 前記修正手段は、外部入力に応じて前記
表示画面に表示された前記イメージデータに重ねてカー
ソルを表示するカーソル表示手段と、このカーソルが表
示されている位置を算出する算出手段とを含み、この算
出結果に基づいて前記読取り位置情報を修正するように
したことを特徴とする請求項1又は2記載の読取り位置
情報修正システム。
3. A cursor display means for displaying a cursor over the image data displayed on the display screen in response to an external input, and a calculation means for calculating a position at which the cursor is displayed. 3. The reading position information correcting system according to claim 1, wherein the reading position information is corrected based on the calculation result.
【請求項4】 コンピュータを、帳票の表面に記載され
た文字の読取り及び認識を行う光学文字読取装置に対し
その文字読取りに必要な読取り位置情報を出力し該装置
における文字読取り認識結果に基づいて前記読取り位置
情報を修正するための読取り位置情報修正システムとし
て動作させるためのプログラムを記録した記録媒体であ
って、コンピュータを、前記帳票のイメージデータを表
示する表示手段、外部入力に応じて前記読取り位置情報
を修正する修正手段、この修正後の読取り位置情報に従
って前記光学文字読取装置が行った文字読取り認識結果
を前記表示手段の表示画面に表示する表示制御手段、と
して機能させるためのプログラムを記録したことを特徴
とする記録媒体。
4. A computer outputs reading position information necessary for character reading to an optical character reading device for reading and recognizing characters written on the surface of a form, and based on the character reading recognition result in the device. A recording medium storing a program for operating as a reading position information correction system for correcting the reading position information, comprising: a computer for displaying image data of the form; Recorded is a program for functioning as correction means for correcting position information, and display control means for displaying, on a display screen of the display means, a result of character reading recognition performed by the optical character reading device according to the corrected reading position information. A recording medium characterized in that:
JP9141525A 1997-05-30 1997-05-30 Read position information correction system and recording medium recording program for making computer function as read position information correction system Withdrawn JPH10334182A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9141525A JPH10334182A (en) 1997-05-30 1997-05-30 Read position information correction system and recording medium recording program for making computer function as read position information correction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9141525A JPH10334182A (en) 1997-05-30 1997-05-30 Read position information correction system and recording medium recording program for making computer function as read position information correction system

Publications (1)

Publication Number Publication Date
JPH10334182A true JPH10334182A (en) 1998-12-18

Family

ID=15294004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9141525A Withdrawn JPH10334182A (en) 1997-05-30 1997-05-30 Read position information correction system and recording medium recording program for making computer function as read position information correction system

Country Status (1)

Country Link
JP (1) JPH10334182A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160227066A1 (en) * 2015-01-30 2016-08-04 Pfu Limited Information processing device, method, and medium
US12166935B2 (en) 2020-12-23 2024-12-10 Fujifilm Business Innovation Corp. Information processing apparatus and non-transitory computer readable medium storing information processing program without displaying screen for setting step of target image separately from screen for operation step of target image

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160227066A1 (en) * 2015-01-30 2016-08-04 Pfu Limited Information processing device, method, and medium
JP2016143165A (en) * 2015-01-30 2016-08-08 株式会社Pfu Information processing apparatus, method, and program
CN105847632A (en) * 2015-01-30 2016-08-10 株式会社Pfu Information processing device and method
US9641715B2 (en) * 2015-01-30 2017-05-02 Pfu Limited Information processing device, method, and medium
US12166935B2 (en) 2020-12-23 2024-12-10 Fujifilm Business Innovation Corp. Information processing apparatus and non-transitory computer readable medium storing information processing program without displaying screen for setting step of target image separately from screen for operation step of target image

Similar Documents

Publication Publication Date Title
KR860001071B1 (en) How to edit document
JPH01155484A (en) Character reader
JP3353954B2 (en) Handwriting input display method and handwriting input display device
JP4198392B2 (en) Two-dimensional code reading device, image input device, two-dimensional code reading method, image input method, program thereof, and recording medium recording the program
JPH10334182A (en) Read position information correction system and recording medium recording program for making computer function as read position information correction system
JP4263089B2 (en) Information processing apparatus, information processing method, program, and recording medium
JPS63233465A (en) Input display method for mathematical symbols
JP3777135B2 (en) System migration method
JPH0451871B2 (en)
JP2682873B2 (en) Recognition device for tabular documents
JP2000250903A (en) Document processor and recording medium recording interpretation image processing program
JPS6211887A (en) Character pattern generation control system
JP3635174B2 (en) Support device for graphic input work
JPH11149522A (en) Handwritten character input device and computer-readable recording medium storing handwritten character input program
JP4208659B2 (en) Graphic editing device
JPH0399384A (en) Method for forming control program for optical reader
JPH0261756A (en) Editing printer
JPH0459669B2 (en)
JPH0235583A (en) Method and device for generating control program for optical reader
JPH08132684A (en) Braille block copy output system and braille block copy outputting method
JPH0567108A (en) Character input editor
JPH03240880A (en) Instruction frame check method for optical reader
JPS62199457A (en) Apparatus for processing document
JPH02166552A (en) Document producing device
JPH10254611A (en) Written data input device and program recording medium therefor

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040803