Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5589381B2 - Information processing apparatus, information processing method, and program - Google Patents
[go: Go Back, main page]

JP5589381B2 - Information processing apparatus, information processing method, and program - Google Patents

Information processing apparatus, information processing method, and program Download PDF

Info

Publication number
JP5589381B2
JP5589381B2 JP2009298052A JP2009298052A JP5589381B2 JP 5589381 B2 JP5589381 B2 JP 5589381B2 JP 2009298052 A JP2009298052 A JP 2009298052A JP 2009298052 A JP2009298052 A JP 2009298052A JP 5589381 B2 JP5589381 B2 JP 5589381B2
Authority
JP
Japan
Prior art keywords
data
information
recognition
print
selection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009298052A
Other languages
Japanese (ja)
Other versions
JP2011138322A (en
Inventor
研治 賀川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Marketing Japan Inc
Canon IT Solutions Inc
Original Assignee
Canon Marketing Japan Inc
Canon IT Solutions Inc
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 Canon Marketing Japan Inc, Canon IT Solutions Inc filed Critical Canon Marketing Japan Inc
Priority to JP2009298052A priority Critical patent/JP5589381B2/en
Publication of JP2011138322A publication Critical patent/JP2011138322A/en
Application granted granted Critical
Publication of JP5589381B2 publication Critical patent/JP5589381B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Input (AREA)

Description

本発明は、情報処理装置、情報処理方法及びプログラムに関し、特に、認識処理を行うための対象領域の情報を生成する技術に関するものである。   The present invention relates to an information processing apparatus, an information processing method, and a program, and more particularly, to a technique for generating information on a target area for performing recognition processing.

従来、一定の書式(テンプレート)に変数(文字や数値等のテンプレートに固定されないデータ)等のデータをオーバーレイして帳票などを作成している。また、このようにして帳票等を作成するために用いるテンプレートのデータを作成するためのソフトウェアも開発されている。   Conventionally, a form or the like is created by overlaying data such as variables (data not fixed to a template such as characters and numerical values) on a certain format (template). In addition, software for creating template data used to create a form or the like in this way has been developed.

このテンプレートのデータ(テンプレートデータ)は、具体的には、一定の書式である帳票などのフォームのデータ(フォームデータ)である。このソフトウェアを用いて、帳票のフォームを作成したり、そのフォームの一部の領域に、変数等のデータを出力する出力領域や、ユーザからの文字等の入力(記載)が可能な印字領域等を設定したりすることで、テンプレートデータを作成している。 このようにして作成されたテンプレートデータに、該変数などを重ね合わせて(オーバーレイして)、目的の帳票などを出力している。   The template data (template data) is specifically form data (form data) such as a form having a certain format. Using this software, form forms can be created, output areas that output data such as variables in some areas of the forms, and print areas that allow users to input (describe) characters, etc. Template data is created by setting. The template data created in this way is overlaid with the variables and the like, and the target form is output.

また、従来、このようにして帳票が出力された後に、帳票の出力領域に出力された変数や、ユーザにより印字領域に記載された文字などを読み取るために、帳票に対してOCR処理(文字認識処理)を実行している。 OCR処理を効率的に行うため、ユーザの指示に応じて、帳票の一部の領域(出力領域や印字領域など)をOCR処理する領域として規定されたOCRテンプレートを生成し、このOCRテンプレートに従ってOCR処理を実行している。   In addition, conventionally, after a form is output in this way, OCR processing (character recognition) is performed on the form in order to read variables output to the form output area or characters written in the print area by the user. Process). In order to efficiently perform OCR processing, an OCR template that is defined as an OCR processing area is generated for a part of the form (such as an output area or a printing area) in accordance with a user instruction, and OCR template is generated according to the OCR template. Processing is being executed.

例えば、特許文献1には、スキャナから読み取った帳票のイメージを表示し、表示されたイメージの中から、ユーザにより指示された領域のフィールド項目属性情報を作成することが開示されている。   For example, Patent Document 1 discloses that an image of a form read from a scanner is displayed, and field item attribute information of an area designated by a user is created from the displayed image.

特開2005−044256号公報Japanese Patent Laid-Open No. 2005-044256

しかしながら、上記従来技術では、帳票のテンプレートデータを作成する際に、帳票の出力領域などのオブジェクトを設定し、該オブジェクトに対して、文字のフォント(ゴシック体や明朝体などの書体)やフォントサイズ、出力されるデータが文字か数字かを示す文字/数字属性、出力される文字又は数字等の桁数などの属性情報を設定し、その後OCR処理を行う際に、OCR処理する対象領域や、OCR処理で用いる辞書などの属性情報を当該対象領域に設定しなければならない。すなわち、ユーザは、テンプレートデータを作成する際とOCR処理を行う際に、属性情報の設定を行わなくてはならず煩雑であった。   However, in the above prior art, when creating the template data of a form, an object such as a form output area is set, and a character font (typeface such as Gothic or Mincho) or font is set for the object. Set the attribute information such as the size, the character / numeric attribute indicating whether the output data is characters or numbers, the number of digits such as the output characters or numbers, and then perform the OCR processing. , Attribute information such as a dictionary used in OCR processing must be set in the target area. That is, the user has to set attribute information when creating template data and performing OCR processing, which is complicated.

また、帳票フォームデータが印刷された印刷用紙を読み取って、フィールド領域に対して文字認識処理を行うために、あらかじめ文字認識装置側にOCR定義情報を用意しておかなければならず、OCR定義情報が用意されていない文字認識装置では文字認識処理が行えないという問題点がある。   In addition, in order to read the printing paper on which the form form data is printed and perform the character recognition processing on the field area, the OCR definition information must be prepared in advance on the character recognition device side. There is a problem in that character recognition processing cannot be performed in a character recognition device that does not provide the.

本発明の目的は、作成画面を介して、帳票フォームデータへのオブジェクトの入力を受け付けて、当該帳票フォームデータに当該オブジェクトを設定し、当該作成画面を介して、当該設定されたオブジェクトごとに、当該オブジェクトに係る属性情報の入力、及び当該オブジェクトの領域についてデータ認識処理を行うか否かの選択をユーザの操作により受け付け、当該オブジェクトに係る属性情報が設定された帳票フォームデータを生成し、データ認識処理を行う選択を受け付けた当該オブジェクトに係る属性情報に従って、当該オブジェクトの領域を、データ認識処理を行う領域として設定された、当該オブジェクトのデータ認識処理に係る属性情報を示すデータ認識情報を生成して記憶し、当該生成された帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した印刷データを生成するか否かの選択をユーザの操作により受け付け、当該データ認識情報を付加した印刷データを生成する選択を受け付けた場合には、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成し、一方、当該データ認識情報を付加した印刷データを生成しない選択を受け付けた場合には、当該データ認識情報を付加することなく帳票フォームデータの印刷データを生成し、当該生成された印刷データをプリンタに印刷させるべく送信し、帳票フォームデータの印刷データが印刷された印刷用紙が読み取られることで得られる読み取りデータを入力し、当該入力された読み取りデータに、データ認識情報が付加されているか否か判断し、当該データ認識情報が付加されていると判断された場合には、当該データ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行い、一方、当該データ認識情報が付加されていないと判断された場合には、記憶された、当該帳票フォームデータのデータ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行うことにより、ユーザによる当該データ認識情報の入力作業や、データ認識処理を行う情報処理装置にデータ認識情報を予め用意しておくという管理者の負担を軽減させる仕組みを提供することである。
The object of the present invention is to accept input of an object to the form form data via the creation screen, set the object to the form form data, and for each set object through the creation screen, Accepting input of attribute information related to the object and selection of whether or not to perform data recognition processing for the area of the object by user operation, generating form form data in which the attribute information related to the object is set, Generates data recognition information indicating the attribute information related to the data recognition process of the object, in which the area of the object is set as the area to perform the data recognition process according to the attribute information related to the object that has received the selection to perform the recognition process And store it for the generated form data If the user accepts the selection of whether or not to generate print data to which the data recognition information of the form form data is added by the user's operation and receives the selection to generate the print data to which the data recognition information is added, Generate print data of the form data with the data recognition information of the form data added, and add the data recognition information when a selection not to generate the print data with the data recognition information is received. Generate print data of the form data, send the generated print data to be printed by the printer, and input the read data obtained by reading the print paper on which the print data of the form data is printed. Whether or not data recognition information is added to the input read data. If it is determined that the data recognition information is added, the data recognition processing is performed on the read data using the data recognition information, while it is determined that the data recognition information is not added. If the data is stored, the stored data recognition information of the form data is used to perform a data recognition process on the read data, so that the user can input the data recognition information or perform a data recognition process. It is to provide a mechanism for reducing the burden on the administrator of preparing data recognition information in an information processing apparatus in advance.

本発明は、帳票フォームデータに設定されるオブジェクトの領域を、データ認識処理を行う領域として設定された、当該データ認識処理用いられるデータ認識情報を生成する情報処理装置であって、当該帳票フォームデータを作成するための作成画面を表示する表示手段と、ユーザの操作に従って、前記表示手段により表示された作成画面を介して、当該帳票フォームデータへのオブジェクトの入力を受け付けて、当該帳票フォームデータに当該オブジェクトを設定するオブジェクト設定手段と、前記表示手段により表示された作成画面を介して、前記オブジェクト設定手段により設定されたオブジェクトごとに、当該オブジェクトに係る属性情報の入力、及び当該オブジェクトの領域についてデータ認識処理を行うか否かの選択をユーザの操作により受け付ける受付手段と、前記受付手段により入力を受け付けたオブジェクトに係る属性情報が設定された帳票フォームデータを生成する帳票フォームデータ生成手段と、前記オブジェクト設定手段により設定されたオブジェクトが、前記受付手段で、当該オブジェクトの領域についてデータ認識処理を行う選択を受け付けたオブジェクトであるかを判定する判定手段と、前記判定手段で、データ認識処理を行う選択を受け付けたオブジェクトであると判定された当該オブジェクトについて、前記受付手段で受け付けた当該オブジェクトに係る属性情報に従って、当該オブジェクトの領域を、データ認識処理を行う領域として設定された、当該オブジェクトのデータ認識処理に係る属性情報を示すデータ認識情報を生成す認識情報生成手段と、前記認識情報生成手段により生成されたデータ認識情報を記憶する記憶手段と、前記帳票フォームデータ生成手段により生成された帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成するか否かの選択をユーザの操作により受け付ける選択受付手段と、前記選択受付手段で、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成する選択を受け付けた場合には、当該帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成し、一方、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成しない選択を受け付けた場合には、当該帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加することなく当該帳票フォームデータの印刷データを生成する印刷データ生成手段と、前記印刷データ生成手段により生成された印刷データをプリンタに印刷させるべく送信する送信手段と、帳票フォームデータの印刷データが印刷された印刷用紙が読み取られることで得られる読み取りデータを入力する入力手段と、前記入力手段で入力された読み取りデータに、データ認識情報が付加されているか否か判断する判断手段と、前記判断手段で当該データ認識情報が付加されていると判断された場合には、当該データ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行い、一方、前記判断手段により当該データ認識情報が付加されていないと判断された場合には、前記記憶手段により記憶された、当該帳票フォームデータのデータ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行う認識手段と、を備えることを特徴とする。
The present invention relates to an information processing apparatus for generating data recognition information used for data recognition processing , in which an object region set in the form data is set as a region for performing data recognition processing , the form form Displaying a creation screen for creating data, and accepting an input of an object to the form form data via the creation screen displayed by the display unit according to a user operation, and the form form data an object setting means for setting the object to, through the creation screen displayed by the display means, each set object by said object setting means, an input of the attribute information relating to the object, and the region of the object Select whether to perform data recognition processing for the user An accepting unit that accepts an operation, a form form data generating unit that creates form form data in which attribute information related to an object received by the accepting unit is set, and an object set by the object setting unit includes the accepting unit Determining means for determining whether or not the object is subject to selection for performing data recognition processing on the area of the object, and the determination means determines that the object is subject to selection for performing data recognition processing. For the object, data recognition information indicating the attribute information related to the data recognition process of the object is set as the area for performing the data recognition process in accordance with the attribute information related to the object received by the receiving unit. generation to that recognize information Adding a generation unit, a storage means for storing data recognition information generated by the recognition information generating unit for continuous form data generated by the continuous form data generating means, the data recognition information of the continuous form data A selection accepting unit that accepts a selection as to whether or not to generate print data for the form form data that has been generated, and printing the form form data with the data recognition information of the form form data added by the selection accepting unit When the selection to generate data is accepted, print data of the form form data is generated by adding the data recognition information of the form form data to the form form data, while the data of the form form data Generate print data of the form data with the recognition information added When accepting a free choice with respect to the continuous form data, a print data generating unit that generates print data of the document form data without adding data recognition information of the continuous form data, the print data generation Transmitting means for transmitting the print data generated by the means for printing to the printer, input means for inputting the read data obtained by reading the print paper on which the print data of the form form data is read, and the input means And determining means for determining whether or not the data recognition information is added to the read data inputted in step (b), and if the determination means determines that the data recognition information is added, the data recognition information is The data recognition process is performed on the read data. When the data recognition information is determined not to be added, stored by the storage means, using the data recognition information of the continuous form data, a recognition unit for performing data recognition processing for the read data, the It is characterized by providing.

また、本発明は、帳票フォームデータに設定されるオブジェクトの領域を、データ認識処理を行う領域として設定された、当該データ認識処理用いられるデータ認識情報を生成する情報処理装置における情報処理方法であって、前記情報処理装置の表示手段が、当該帳票フォームデータを作成するための作成画面を表示する表示工程と、前記情報処理装置のオブジェクト設定手段が、ユーザの操作に従って、前記表示工程により表示された作成画面を介して、当該帳票フォームデータへのオブジェクトの入力を受け付けて、当該帳票フォームデータに当該オブジェクトを設定するオブジェクト設定工程と、前記情報処理装置の受付手段が、前記表示工程により表示された作成画面を介して、前記オブジェクト設定工程により設定されたオブジェクトごとに、当該オブジェクトに係る属性情報の入力、及び当該オブジェクトの領域についてデータ認識処理を行うか否かの選択をユーザの操作により受け付ける受付工程と、前記情報処理装置の帳票フォームデータ生成手段が、前記受付工程により入力を受け付けたオブジェクトに係る属性情報が設定された帳票フォームデータを生成する帳票フォームデータ生成工程と、前記情報処理装置の判定手段が、前記オブジェクト設定工程により設定されたオブジェクトが、前記受付工程で、当該オブジェクトの領域についてデータ認識処理を行う選択を受け付けたオブジェクトであるかを判定する判定工程と、前記情報処理装置の認識情報生成手段が、前記判定工程で、データ認識処理を行う選択を受け付けたオブジェクトであると判定された当該オブジェクトについて、前記受付工程で受け付けた当該オブジェクトに係る属性情報に従って、当該オブジェクトの領域を、データ認識処理を行う領域として設定された、当該オブジェクトのデータ認識処理に係る属性情報を示すデータ認識情報を生成する認識情報生成工程と、前記情報処理装置の記憶手段が、前記認識情報生成工程により生成されたデータ認識情報を記憶する記憶工程と、前記情報処理装置の選択受付手段が、前記帳票フォームデータ生成工程により生成された帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成するか否かの選択をユーザの操作により受け付ける選択受付工程と、前記情報処理装置の印刷データ生成手段が、前記選択受付工程で、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成する選択を受け付けた場合には、当該帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成し、一方、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成しない選択を受け付けた場合には、当該帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加することなく当該帳票フォームデータの印刷データを生成する印刷データ生成工程と、前記情報処理装置の送信手段が、前記印刷データ生成工程により生成された印刷データをプリンタに印刷させるべく送信する送信工程と、前記情報処理装置の入力手段が、帳票フォームデータの印刷データが印刷された印刷用紙が読み取られることで得られる読み取りデータを入力する入力工程と、前記情報処理装置の判断手段が、前記入力工程で入力された読み取りデータに、データ認識情報が付加されているか否か判断する判断工程と、前記情報処理装置の認識手段が、前記判断工程で当該データ認識情報が付加されていると判断された場合には、当該データ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行い、一方、前記判断工程により当該データ認識情報が付加されていないと判断された場合には、前記記憶工程により記憶された、当該帳票フォームデータのデータ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行う認識工程と、を含むことを特徴とする。
The present invention also relates to an information processing method in an information processing apparatus for generating data recognition information used for data recognition processing , in which an object region set in form form data is set as a data recognition processing region. The display unit of the information processing apparatus displays a creation screen for creating the form data, and the object setting unit of the information processing apparatus displays the display step according to a user operation. The object setting step for receiving the input of the object to the form form data via the created creation screen and setting the object in the form form data, and the receiving unit of the information processing apparatus are displayed by the display step. The object set by the object setting process is made via the created creation screen. A receiving step for accepting input of attribute information related to the object and a selection of whether or not to perform data recognition processing for the area of the object for each object by a user operation, and a form data generation unit of the information processing apparatus A form data generation step for generating form form data in which attribute information related to the object received by the receiving step is set; and a determination unit of the information processing apparatus determines that the object set by the object setting step A determination step for determining whether the object has received a selection for performing a data recognition process on the area of the object in the reception step; and a recognition information generation unit of the information processing apparatus includes a data recognition process in the determination step. It is determined that the object has received a selection to perform For the object, the data recognition indicating the attribute information related to the data recognition process of the object, in which the area of the object is set as the area for performing the data recognition process according to the attribute information related to the object received in the receiving process. A recognition information generating step for generating information; a storage step for storing information in the information processing device; a storage step for storing data recognition information generated by the recognition information generating step; and a selection receiving unit for the information processing device. Selection accepting step of accepting selection of whether or not to generate print data of the form form data with the data recognition information of the form form data added to the form form data generated by the form data generating step And the print data generation means of the information processing apparatus receives the selection receipt. In the attaching process, when the selection to generate the print data of the form form data to which the data recognition information of the form form data is added is received, the data recognition information of the form form data is added to the form form data. When print data of the added form data is generated, and on the other hand, when the selection not to generate the print data of the form form data to which the data recognition information of the form form data is added is accepted, A print data generation step of generating print data of the form form data without adding data recognition information of the form form data, and a print unit generated by the print data generation step A transmitting step for transmitting the data to be printed by a printer; The input unit of the apparatus inputs the read data obtained by reading the printing paper on which the print data of the form form data is read, and the determination unit of the information processing apparatus is input in the input step A determination step of determining whether or not data recognition information is added to the read data; and a recognition unit of the information processing apparatus determines that the data recognition information is added in the determination step, Data recognition processing is performed on the read data using the data recognition information. On the other hand, when it is determined that the data recognition information is not added by the determination step, the data stored by the storage step is stored. using the data recognition information of the form form data, to include a recognition step of performing data recognition processing for the read data And features.

また、本発明は、帳票フォームデータに設定されるオブジェクトの領域を、データ認識処理を行う領域として設定された、当該データ認識処理用いられるデータ認識情報を生成する情報処理装置で読み取り実行されるプログラムであって、前記情報処理装置を、当該帳票フォームデータを作成するための作成画面を表示する表示手段と、ユーザの操作に従って、前記表示手段により表示された作成画面を介して、当該帳票フォームデータへのオブジェクトの入力を受け付けて、当該帳票フォームデータに当該オブジェクトを設定するオブジェクト設定手段と、前記表示手段により表示された作成画面を介して、前記オブジェクト設定手段により設定されたオブジェクトごとに、当該オブジェクトに係る属性情報の入力、及び当該オブジェクトの領域についてデータ認識処理を行うか否かの選択をユーザの操作により受け付ける受付手段と、前記受付手段により入力を受け付けたオブジェクトに係る属性情報が設定された帳票フォームデータを生成する帳票フォームデータ生成手段と、前記オブジェクト設定手段により設定されたオブジェクトが、前記受付手段で、当該オブジェクトの領域についてデータ認識処理を行う選択を受け付けたオブジェクトであるかを判定する判定手段と、前記判定手段で、データ認識処理を行う選択を受け付けたオブジェクトであると判定された当該オブジェクトについて、前記受付手段で受け付けた当該オブジェクトに係る属性情報に従って、当該オブジェクトの領域を、データ認識処理を行う領域として設定された、当該オブジェクトのデータ認識処理に係る属性情報を示すデータ認識情報を生成す認識情報生成手段と、前記認識情報生成手段により生成されたデータ認識情報を記憶する記憶手段と、前記帳票フォームデータ生成手段により生成された帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成するか否かの選択をユーザの操作により受け付ける選択受付手段と、前記選択受付手段で、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成する選択を受け付けた場合には、当該帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成し、一方、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成しない選択を受け付けた場合には、当該帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加することなく当該帳票フォームデータの印刷データを生成する印刷データ生成手段と、前記印刷データ生成手段により生成された印刷データをプリンタに印刷させるべく送信する送信手段と、帳票フォームデータの印刷データが印刷された印刷用紙が読み取られることで得られる読み取りデータを入力する入力手段と、前記入力手段で入力された読み取りデータに、データ認識情報が付加されているか否か判断する判断手段と、前記判断手段で当該データ認識情報が付加されていると判断された場合には、当該データ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行い、一方、前記判断手段により当該データ認識情報が付加されていないと判断された場合には、前記記憶手段により記憶された、当該帳票フォームデータのデータ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行う認識手段として機能させることを特徴とする。
Further, the present invention, the region having the object set in the document form data, is set as an area for performing data recognition processing, it is read executed by the information processing apparatus for generating data recognition information used for the data recognition processing The information processing apparatus includes a display unit for displaying a creation screen for creating the form form data, and the form form via the creation screen displayed by the display unit according to a user operation. It receives an input of the object to the data, and the object setting means for setting the object to the continuous form data, through the creation screen displayed by the display means, for each object set by the object setting means, Input of attribute information related to the object, and the object Generating form data for generating form form data in which attribute information related to an object received by the receiving means is received by a user operation and selection of whether to perform data recognition processing for the area And means for determining whether the object set by the object setting means is an object that has received a selection for performing data recognition processing on the area of the object by the receiving means; and For the object determined to be an object that has received a selection for performing recognition processing, the area of the object is set as an area for performing data recognition processing according to the attribute information related to the object received by the receiving unit . Data authorization for the object A recognition information generating unit that generates a data recognition information indicating the attribute information relating to the processing, and storage means for storing data recognition information generated by the recognition information generating unit, the form generated by the form form data generating means A selection accepting unit that accepts selection of whether or not to generate print data of the form form data with the data recognition information of the form form data added to the form data by a user operation, and the selection accepting unit When the selection to generate the print data of the form form data with the data recognition information of the form form data is accepted, the form form with the data recognition information of the form form data added to the form form data Generate print data of data, while data recognition of the form data When the selection not to generate the print data of the form form data to which the information is added is accepted, the print data of the form form data is added to the form form data without adding the data recognition information of the form form data. and print data generation means for generating, transmitting means for transmitting so as to print the print data generated by the print data generating unit to the printer, resulting in the printing paper print data of a form form data is printed is read Input means for inputting read data to be read, determination means for determining whether or not data recognition information is added to the read data input by the input means, and the data recognition information is added by the determination means If it is determined, the data recognition information is used for the read data. On the other hand, when it is determined that the data recognition information is not added by the determination unit, the data recognition information of the form form data stored by the storage unit is used. characterized in that to function as a recognition means for performing data recognition processing for the read data.

本発明によれば、作成画面を介して、帳票フォームデータへのオブジェクトの入力を受け付けて、当該帳票フォームデータに当該オブジェクトを設定し、当該作成画面を介して、当該設定されたオブジェクトごとに、当該オブジェクトに係る属性情報の入力、及び当該オブジェクトの領域についてデータ認識処理を行うか否かの選択をユーザの操作により受け付け、当該オブジェクトに係る属性情報が設定された帳票フォームデータを生成し、データ認識処理を行う選択を受け付けた当該オブジェクトに係る属性情報に従って、当該オブジェクトの領域を、データ認識処理を行う領域として設定された、当該オブジェクトのデータ認識処理に係る属性情報を示すデータ認識情報を生成して記憶し、当該生成された帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した印刷データを生成するか否かの選択をユーザの操作により受け付け、当該データ認識情報を付加した印刷データを生成する選択を受け付けた場合には、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成し、一方、当該データ認識情報を付加した印刷データを生成しない選択を受け付けた場合には、当該データ認識情報を付加することなく帳票フォームデータの印刷データを生成し、当該生成された印刷データをプリンタに印刷させるべく送信し、帳票フォームデータの印刷データが印刷された印刷用紙が読み取られることで得られる読み取りデータを入力し、当該入力された読み取りデータに、データ認識情報が付加されているか否か判断し、当該データ認識情報が付加されていると判断された場合には、当該データ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行い、一方、当該データ認識情報が付加されていないと判断された場合には、記憶された、当該帳票フォームデータのデータ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行うことにより、ユーザによる当該データ認識情報の入力作業や、データ認識処理を行う情報処理装置にデータ認識情報を予め用意しておくという管理者の負担を軽減させることができる。


According to the present invention, input of an object to the form form data is accepted via the creation screen, the object is set in the form form data, and for each set object through the creation screen, Accepting input of attribute information related to the object and selection of whether or not to perform data recognition processing for the area of the object by user operation, generating form form data in which the attribute information related to the object is set, Generates data recognition information indicating the attribute information related to the data recognition process of the object, in which the area of the object is set as the area to perform the data recognition process according to the attribute information related to the object that has received the selection to perform the recognition process And store it for the generated form data If the user accepts the selection of whether or not to generate print data to which the data recognition information of the form form data is added by the user's operation and receives the selection to generate the print data to which the data recognition information is added, Generate print data of the form data with the data recognition information of the form data added, and add the data recognition information when a selection not to generate the print data with the data recognition information is received. Generate print data of the form data, send the generated print data to be printed by the printer, and input the read data obtained by reading the print paper on which the print data of the form data is printed. Whether or not data recognition information is added to the input read data. If it is determined that the data recognition information is added, the data recognition processing is performed on the read data using the data recognition information, while it is determined that the data recognition information is not added. If the data is stored, the stored data recognition information of the form data is used to perform a data recognition process on the read data, so that the user can input the data recognition information or perform a data recognition process. It is possible to reduce an administrator's burden of preparing data recognition information in the information processing apparatus in advance.


図1は、本実施形態に係るシステムの構成例を示す図である。FIG. 1 is a diagram illustrating a configuration example of a system according to the present embodiment. 図2は、図1に示した情報処理装置100及び200のハードウェア構成を示すブロック図である。FIG. 2 is a block diagram showing a hardware configuration of the information processing apparatuses 100 and 200 shown in FIG. 図3は、図1に示した情報処理装置のソフトウェア構成の一例を示したブロック図である。FIG. 3 is a block diagram illustrating an example of a software configuration of the information processing apparatus illustrated in FIG. 図4は、フォームエディター画面400の一例である。FIG. 4 is an example of the form editor screen 400. 図5は、フォームの属性情報を入力するための帳票フォームのプロパティ画面500の一例である。FIG. 5 is an example of a form form property screen 500 for inputting form attribute information. 図6は、オブジェクトの属性(定義)を入力するためのプロパティ画面の一例である。FIG. 6 is an example of a property screen for inputting object attributes (definitions). 図7は、フォームを定義するためのデータが記憶されるフォーム定義テーブルの一例である。FIG. 7 is an example of a form definition table in which data for defining a form is stored. 図8は、オブジェクトの定義(属性)するデータが記憶されるオブジェクト定義テーブルの一例である。FIG. 8 is an example of an object definition table that stores data for defining (attributes) objects. 図9は、フォームのOCR定義テーブルの一例を示す図である。FIG. 9 is a diagram illustrating an example of an OCR definition table of a form. 図10は、オブジェクトのOCR定義テーブルの一例を示す図である。FIG. 10 is a diagram illustrating an example of an OCR definition table of objects. 図11は、出力データの一例を示す図である。FIG. 11 is a diagram illustrating an example of output data. 図12は、フォーム(テンプレート)のOCR処理対象の領域を示す表示画面の一例を示す図である。FIG. 12 is a diagram showing an example of a display screen showing a region to be subjected to OCR processing of a form (template). 図13は、複合機300により読み取られた、ユーザにより記載された帳票のOCR処理対象の領域を示す表示画面の一例を示す図である。FIG. 13 is a diagram illustrating an example of a display screen that shows an OCR processing target area of a form described by a user, read by the multifunction device 300. 図14は、本発明のシステムにおける第1の制御処理手順の一例を示すフローチャートである。FIG. 14 is a flowchart showing an example of a first control processing procedure in the system of the present invention. 図15は、図14に示すステップS1404の詳細処理の一例を示すフローチャートである。FIG. 15 is a flowchart illustrating an example of detailed processing in step S1404 illustrated in FIG. 図16は、図15に示すステップS1508の詳細処理の一例を示すフローチャートである。FIG. 16 is a flowchart showing an example of detailed processing in step S1508 shown in FIG. 図17は、辞書テーブルの一例である。FIG. 17 is an example of a dictionary table. 図18は、図16のステップS1602、図19のステップS1902、図20のステップS2002、図21のステップS2102の処理の詳細処理の一例を示すフローチャートである。FIG. 18 is a flowchart showing an example of detailed processing of step S1602 in FIG. 16, step S1902 in FIG. 19, step S2002 in FIG. 20, and step S2102 in FIG. 図19は、図15のステップS1509の処理の詳細処理の一例を示すフローチャートである。FIG. 19 is a flowchart showing an example of detailed processing of step S1509 in FIG. 図20は、図15のステップS1510の処理の詳細処理の一例を示すフローチャートである。FIG. 20 is a flowchart illustrating an example of detailed processing of step S1510 of FIG. 図21は、図15のステップS1511の処理の詳細処理の一例を示すフローチャートである。FIG. 21 is a flowchart showing an example of detailed processing of the processing in step S1511 of FIG. 図21は、本発明のシステムにおける第2の制御処理手順の一例を示すフローチャートである。FIG. 21 is a flowchart showing an example of a second control processing procedure in the system of the present invention. 図23は、オブジェクトの配置領域2301と、OCR処理を行う領域(OCR処理の対象領域2302)と、クリアエリア2303の関係を説明するための概念図である。FIG. 23 is a conceptual diagram for explaining the relationship among an object placement area 2301, an OCR process area (OCR process target area 2302), and a clear area 2303. 図24は、帳票フォームデータの印刷指示時に表示される帳票印刷設定画面の一例を示す画面図である。FIG. 24 is a screen diagram illustrating an example of a form print setting screen displayed when a form form data print instruction is issued. 図25は、本発明の情報処理装置における帳票印刷処理手順の一例を示すフローチャートである。FIG. 25 is a flowchart showing an example of a form print processing procedure in the information processing apparatus of the present invention. 図26は、本発明の情報処理装置におけるデータ認識処理手順の一例を示すフローチャートである。FIG. 26 is a flowchart showing an example of a data recognition processing procedure in the information processing apparatus of the present invention.

本発明の技術的特徴を簡単に説明すると、帳票フォームデータの生成時に設定したフィールド領域に書き込まれるデータの属性情報(文字種、文字サイズ等)を用いてデータ認識情報(OCR定義情報)を自動的に生成し、生成されたデータ認識情報を、帳票フォームデータに付加して帳票フォームデータの印刷データを生成することである。これにより、帳票フォームデータの印刷用紙には、データ認識情報が付加されているので、この印刷用紙を読み取るだけで、データ認識情報を取得でき、データ認識処理(OCR処理)の精度が高くなる。なお、本処理の最大の特徴部分は、図24〜図26に相当する。
以下、添付図面を参照して、本発明を好適な実施形態に従って詳細に説明する。
<図1の説明>
Briefly explaining the technical features of the present invention, data recognition information (OCR definition information) is automatically generated using attribute information (character type, character size, etc.) of data written in the field area set when generating the form data. And generating the print data of the form data by adding the generated data recognition information to the form data. Thereby, since the data recognition information is added to the printing paper of the form form data, the data recognition information can be acquired only by reading the printing paper, and the accuracy of the data recognition processing (OCR processing) is increased. The maximum characteristic part of this process corresponds to FIGS.
Hereinafter, the present invention will be described in detail according to preferred embodiments with reference to the accompanying drawings.
<Description of FIG. 1>

図1は、本実施形態に係るシステムの構成例を示す図である。図1に示すように、情報処理装置100と情報処理装置200と複合機(画像処理装置)300は、ネットワーク400を介して相互に通信可能に接続されている。   FIG. 1 is a diagram illustrating a configuration example of a system according to the present embodiment. As illustrated in FIG. 1, the information processing apparatus 100, the information processing apparatus 200, and the multifunction peripheral (image processing apparatus) 300 are connected to each other via a network 400 so that they can communicate with each other.

複合機300は、スキャナ機能や印刷機能等を備えたいわゆるMFP(Multifunction Peripheral)などの画像処理装置であって、情報処理装置からの要求に応じて印刷処理を実行することや、帳票(紙)などを読み取って(スキャンして)生成した電子化したデータ(電子データ)を情報処理装置に送信することが可能である。   The multifunction machine 300 is an image processing apparatus such as a so-called MFP (Multifunction Peripheral) having a scanner function, a printing function, and the like, and executes a printing process in response to a request from the information processing apparatus or forms (paper). It is possible to transmit digitized data (electronic data) generated by reading (scanning) or the like to the information processing apparatus.

情報処理装置は、ネットワーク400を介して複合機300に帳票などの印刷要求を行うことが可能である。また、情報処理装置は、帳票などのテンプレート(帳票フォームデータ)を作成、編集する機能や、テンプレートを作成する際に入力するフォームの属性情報(フォーム定義テーブル(図7)内のデータであるフォーム定義情報)やオブジェクトの属性情報(オブジェクト定義テーブル(図8)内のデータであるオブジェクト定義情報)から、OCRするために設定するOCR定義情報(図10内のデータ)を生成する機能などを備えている。   The information processing apparatus can make a print request for a form or the like to the multifunction device 300 via the network 400. In addition, the information processing apparatus has a function for creating and editing a template (form form data) such as a form, and form attribute information (form that is data in the form definition table (FIG. 7)) that is input when creating the template. A function for generating OCR definition information (data in FIG. 10) to be set for OCR from definition information) and object attribute information (object definition information which is data in the object definition table (FIG. 8)) ing.

また、複合機から送信される、ユーザにより記載された帳票の電子データを表示する機能も備えている。図13は、複合機300により読み取られた、ユーザにより記載された帳票のOCR処理対象の領域を示す表示画面の一例を示す図である。図13に示すように、1302、1303、1304、1305、1306、1307、1308の領域は、OCR処理対象の領域を示している。なお、本実施の形態では、データ認識処理の一例として好適な文字認識処理(OCR処理)を用いて説明しているが、これに限るものではなく、記号認識処理(OMR処理)でも適用可能である。
<図2の説明> 以下、図2を用いて、図1に示した情報処理装置100及び200のハードウェア構成について説明する。
図2は、図1に示した情報処理装置100及び200のハードウェア構成を示すブロック図である。
Also, it has a function of displaying electronic data of a form described by the user transmitted from the multifunction device. FIG. 13 is a diagram illustrating an example of a display screen that shows an OCR processing target area of a form described by a user, read by the multifunction device 300. As illustrated in FIG. 13, areas 1302, 1303, 1304, 1305, 1306, 1307, and 1308 indicate areas that are subject to OCR processing. In the present embodiment, a description is given using a suitable character recognition process (OCR process) as an example of the data recognition process. However, the present invention is not limited to this, and can also be applied to a symbol recognition process (OMR process). is there.
<Description of FIG. 2> Hereinafter, the hardware configuration of the information processing apparatuses 100 and 200 illustrated in FIG. 1 will be described with reference to FIG.
FIG. 2 is a block diagram showing a hardware configuration of the information processing apparatuses 100 and 200 shown in FIG.

図2において、201はCPUで、システムバス204に接続される各デバイスやコントローラを統括的に制御する。また、ROM202あるいは外部メモリ211には、CPU201の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(以下、OS)や、各サーバ或いは各PC(情報処理装置)の実行する機能を実現するために必要な後述する各種プログラム等が記憶されている。   In FIG. 2, reference numeral 201 denotes a CPU that comprehensively controls each device and controller connected to the system bus 204. Further, the ROM 202 or the external memory 211 has a BIOS (Basic Input / Output System) or an operating system program (hereinafter referred to as OS), which is a control program of the CPU 201, and functions executed by each server or each PC (information processing apparatus). Various programs and the like to be described later necessary for the realization are stored.

203はRAMで、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM202あるいは外部メモリ211からRAM203にロードして、該ロードしたプログラムを実行することで各種動作を実現するものである。   A RAM 203 functions as a main memory, work area, and the like for the CPU 201. The CPU 201 implements various operations by loading a program or the like necessary for execution of processing from the ROM 202 or the external memory 211 into the RAM 203 and executing the loaded program.

また、205は入力コントローラで、キーボード(KB)209や不図示のマウス等のポインティングデバイス等からの入力を制御する。206はビデオコントローラで、CRTディスプレイ(CRT)210等の表示器(表示部)への表示を制御する。なお、図2では、CRT210と記載しているが、表示器はCRTだけでなく、液晶ディスプレイ等の他の表示器であってもよい。これらは必要に応じて管理者が使用するものである。   An input controller 205 controls input from a keyboard (KB) 209 or a pointing device such as a mouse (not shown). A video controller 206 controls display on a display (display unit) such as a CRT display (CRT) 210. In FIG. 2, although described as CRT 210, the display device is not limited to the CRT, but may be another display device such as a liquid crystal display. These are used by the administrator as needed.

207はメモリコントローラで、ブートプログラム,各種のアプリケーション,フォントデータ,ユーザファイル,編集ファイル,各種データ等を記憶する外部記憶装置(ハードディスク(HD))や、フレキシブルディスク(FD)、或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ211へのアクセスを制御する。   A memory controller 207 is provided in an external storage device (hard disk (HD)), flexible disk (FD), or PCMCIA card slot for storing a boot program, various applications, font data, user files, editing files, various data, and the like. Controls access to an external memory 211 such as a compact flash (registered trademark) memory connected via an adapter.

208は通信I/Fコントローラで、ネットワーク400を介して外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。   A communication I / F controller 208 connects and communicates with an external device via the network 400, and executes communication control processing on the network. For example, communication using TCP / IP is possible.

なお、CPU201は、例えばRAM203内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、CRT210上での表示を可能としている。また、CPU201は、CRT210上の不図示のマウスカーソル等でのユーザ指示を可能とする。   Note that the CPU 201 enables display on the CRT 210 by executing outline font rasterization processing on a display information area in the RAM 203, for example. In addition, the CPU 201 enables a user instruction with a mouse cursor (not shown) on the CRT 210.

本発明を実現するための後述する各種プログラムは、外部メモリ211に記録されており、必要に応じてRAM203にロードされることによりCPU201によって実行されるものである。さらに、上記プログラムの実行時に用いられるファイル及び各種テーブル等も、外部メモリ211に格納されている。
<図3の説明> 図3は、図1に示した情報処理装置のソフトウェア構成の一例を示したブロック図である。
Various programs to be described later for realizing the present invention are recorded in the external memory 211 and executed by the CPU 201 by being loaded into the RAM 203 as necessary. Further, files and various tables used when executing the program are also stored in the external memory 211.
<Description of FIG. 3> FIG. 3 is a block diagram illustrating an example of a software configuration of the information processing apparatus illustrated in FIG. 1.

外部メモリ211には、フォームエディタソフトウェアプログラム301と、OCRソフトウェアプログラム318と、フォーム定義テーブル(図7)と、オブジェクト定義テーブル(図8)と、下書きとなるイメージデータ312と、帳票フォームデータ全体のOCR定義テーブル(図9)と、帳票フォームデータ内のフィールド領域に書き込まれるオブジェクトのOCR定義テーブル(図10)と、辞書テーブル(図17)と、OCR処理するために用いる各種辞書(316)と、OCRエンジンによる認識処理結果が出力された出力結果317と、出力データ(図11)とが記憶される。   The external memory 211 includes a form editor software program 301, an OCR software program 318, a form definition table (FIG. 7), an object definition table (FIG. 8), draft image data 312 and the entire form data. An OCR definition table (FIG. 9), an OCR definition table (FIG. 10) of objects written in the field area in the form form data, a dictionary table (FIG. 17), and various dictionaries (316) used for OCR processing The output result 317 obtained by outputting the recognition processing result by the OCR engine and the output data (FIG. 11) are stored.

フォームエディタソフトウェアプログラム301(以下、フォームエディタソフトとも言う)は、帳票などのフォームのテンプレートを作成又は編集するために用いられるソフトウェアである。   A form editor software program 301 (hereinafter also referred to as form editor software) is software used to create or edit a form template such as a form.

フォームエディタソフト301は、ユーザからの指示に応じて、帳票などのフォームのテンプレートのデータや、当該テンプレートの各種属性情報を入力するフォームデータ・属性入力部302と(図5)、テンプレート内に配置する各種オブジェクトのデータや当該オブジェクトの各種属性情報を入力するオブジェクトデータ入力・属性入力部303と(図6)、302や303で入力されたデータを用いてOCR定義情報(図10)を生成するOCR定義情報生成部304と、テンプレートの下書きとなるイメージデータ(テンプレートとオーバーレイするデータ)を生成するイメージデータ生成部305と、OCR定義情報生成部304で生成されたOCR定義情報をOCRエンジンに設定するためにOCRソフトウェアが読み込む所定の記憶領域に当該OCR定義情報を記憶するOCR定義情報設定部306と、OCR処理(文字認識処理)を実行した結果(認識結果)を出力する出力部307と、を備えている。なお、イメージデータ生成部305で生成されたイメージデータは、記憶部308に記憶される。   The form editor software 301 is arranged in the template with a form data / attribute input unit 302 (FIG. 5) for inputting form template data such as a form and various attribute information of the template in accordance with an instruction from the user. OCR definition information (FIG. 10) is generated using the object data input / attribute input unit 303 (FIG. 6) for inputting various object data and various attribute information of the object (FIG. 6), and the data input in 302 and 303. Set the OCR definition information generated by the OCR definition information generation unit 304, the image data generation unit 305 that generates image data (data to be overlaid with the template) as the draft of the template, and the OCR definition information generated by the OCR definition information generation unit 304 in the OCR engine. Where the OCR software reads to And OCR definition information setting unit 306 for storing the OCR definition information in a storage area of, and the output unit 307 for outputting OCR processing (character recognition processing) a result of executing the (recognition result), and a. Note that the image data generated by the image data generation unit 305 is stored in the storage unit 308.

ここで、302で入力されるテンプレート(フォーム)のデータや、当該テンプレートの各種属性情報はフォーム定義テーブル(図7)310に記憶され、303で入力される各種オブジェクトのデータや当該オブジェクトの各種属性情報は、オブジェクト定義テーブル(図8)311に記憶される。このフォーム定義テーブル310とオブジェクト定義テーブル311内のデータは、テンプレートとなるフォーム(様式)を構成(定義)するためのデータ309である。   Here, the data of the template (form) input in 302 and various attribute information of the template are stored in the form definition table (FIG. 7) 310, and the data of various objects input in 303 and the various attributes of the object. The information is stored in an object definition table (FIG. 8) 311. The data in the form definition table 310 and the object definition table 311 is data 309 for configuring (defining) a form (style) serving as a template.

OCR定義情報生成部304は、このように記憶部308に記憶されたフォーム定義テーブル(図7)やオブジェクト定義テーブル(図8)内のデータからOCR定義情報を生成する。
そして、OCR定義情報設定部306は、生成されたOCR定義情報を、記憶部308に記憶されたオブジェクトのOCR定義テーブル315に記憶する。
The OCR definition information generation unit 304 generates OCR definition information from the data in the form definition table (FIG. 7) and the object definition table (FIG. 8) stored in the storage unit 308 as described above.
Then, the OCR definition information setting unit 306 stores the generated OCR definition information in the object OCR definition table 315 stored in the storage unit 308.

これらフォームのOCR定義テーブル314及びオブジェクトのOCR定義テーブル315は、OCR処理(文字認識処理)を実行するために用いられるデータ313である。
記憶部308は、外部メモリ211等の記憶手段であり、OCR処理で用いる各種辞書316が記憶されている。
These form OCR definition table 314 and object OCR definition table 315 are data 313 used to execute OCR processing (character recognition processing).
The storage unit 308 is a storage unit such as the external memory 211 and stores various dictionaries 316 used in OCR processing.

OCRソフトウェアプログラム318(OCRソフトウェアとも言う)は、記憶部308に記憶されたフォームのOCR定義テーブル314とオブジェクトのOCR定義テーブル315内のOCR定義情報を読み込む読込部319と、読込部319で読み込んだデータ(OCR定義情報)を用いて文字認識処理を行う文字認識処理部320(OCRエンジン)と、文字認識処理部320で認識された結果を記憶部308に記憶させるべく出力する出力部321とを備えている。   The OCR software program 318 (also referred to as OCR software) is read by the reading unit 319 and the reading unit 319 for reading the OCR definition table 314 of the form stored in the storage unit 308 and the OCR definition information in the object OCR definition table 315. A character recognition processing unit 320 (OCR engine) that performs character recognition processing using data (OCR definition information), and an output unit 321 that outputs a result recognized by the character recognition processing unit 320 to be stored in the storage unit 308. I have.

ここで、出力部321は、文字認識処理部320での認識結果を、CRT210などの表示部に表示するために出力することや、また、複合機300に印刷させるべく出力することが可能である。
<図14の説明> 次に、図14のフローチャートを参照して、フォームエディタソフトウェア301が実行する処理を説明する。
Here, the output unit 321 can output the recognition result of the character recognition processing unit 320 for display on a display unit such as the CRT 210, or can output the result of printing on the multi-function device 300. .
<Description of FIG. 14> Next, processing executed by the form editor software 301 will be described with reference to the flowchart of FIG.

図14は、本発明のシステムにおける第1の制御処理手順の一例を示すフローチャートであり、図3に示すフォームエディタソフトウェア301による処理に対応する。すなわち、情報処理装置100のCPU201がROM202又は外部メモリ211からRAM203に読み出したプログラムを実行することにより実現される。また、図中、S1401〜S1406は各ステップを示す。   FIG. 14 is a flowchart showing an example of a first control processing procedure in the system of the present invention, and corresponds to the processing by the form editor software 301 shown in FIG. That is, it is realized by the CPU 201 of the information processing apparatus 100 executing a program read from the ROM 202 or the external memory 211 to the RAM 203. In the figure, S1401 to S1406 indicate each step.

まず、情報処理装置100のCPU201は、フォームエディタソフトウェアプログラムを実行すると、図4に示すフォームエディター画面400を表示部210に表示する。
図4は、フォームエディター画面400の一例である。
First, when executing the form editor software program, the CPU 201 of the information processing apparatus 100 displays the form editor screen 400 shown in FIG.
FIG. 4 is an example of the form editor screen 400.

次に、情報処理装置100のCPU201は、ユーザから帳票などのフォームの入力を受け付ける。具体的には、情報処理装置100のCPU201は、ユーザにより設定ボタンが押下されたことを検知すると、図5に示す帳票フォームのプロパティ画面が表示される。
図5は、フォームの属性情報を入力するための帳票フォームのプロパティ画面500の一例である。
Next, the CPU 201 of the information processing apparatus 100 receives an input of a form such as a form from the user. Specifically, when the CPU 201 of the information processing apparatus 100 detects that the setting button has been pressed by the user, the form form property screen shown in FIG. 5 is displayed.
FIG. 5 is an example of a form form property screen 500 for inputting form attribute information.

図5に示す帳票フォームのプロパティ画面500は、帳票のフォーム名(名称)を入力する部501と、出力する用紙の大きさ(サイズ)を入力する部503と、印刷の向きを入力する部507と、グリッドの間隔を入力する部509と、余白を入力する部512と、レイアウトの単位を入力する部517と、OCR処理を行うかを入力する部518とから構成される。この帳票フォームのプロパティ画面500の各部で入力される情報のそれぞれをフォーム(テンプレート)の属性情報として説明する。
ここで、帳票フォームのプロパティ画面500について詳しく説明する。
502は、ユーザによる帳票のフォーム名(名称)の入力を受け付けるテキストボックスである。
A form form property screen 500 shown in FIG. 5 includes a unit 501 for inputting a form name (name) of a form, a unit 503 for inputting the size (size) of output paper, and a unit 507 for inputting a printing direction. A grid interval unit 509, a margin input unit 512, a layout unit input unit 517, and an OCR process input unit 518. Each information input in each part of the form form property screen 500 will be described as attribute information of the form (template).
Here, the form form property screen 500 will be described in detail.
Reference numeral 502 denotes a text box that accepts input of the form name (name) of the form by the user.

また、504は、用紙サイズ(A4など)を選択することができるプルダウンであり、505は、用紙の幅を入力することができるテキストボックスであり、506は、用紙の高さを入力することができるテキストボックスである。また、508は、印刷の向き(縦か横)を入力することができるプルダウンである。   Reference numeral 504 denotes a pull-down menu capable of selecting a paper size (A4 or the like), reference numeral 505 denotes a text box in which a paper width can be input, and reference numeral 506 denotes a paper height. It is a text box that can. Reference numeral 508 denotes a pull-down menu in which the print direction (vertical or horizontal) can be input.

また、510はグリッドの間隔(高さ)を、511はグリッドの間隔(横)を入力できるテキストボックスである。513、514、515、516は、テンプレートの余白を入力するテキストボックスであり、それぞれテンプレートの上側、下側、左側、右側の余白を入力することができる。
また、517は、レイアウトの単位を入力できるプルダウンであり、たとえば、ミリメートル(mm)などを入力することが可能である。
Reference numeral 510 denotes a grid box (height), and reference numeral 511 denotes a text box in which the grid gap (horizontal) can be entered. Reference numerals 513, 514, 515, and 516 denote text boxes for inputting the margins of the template, and the upper, lower, left, and right margins of the template can be input, respectively.
Reference numeral 517 denotes a pull-down for inputting a layout unit. For example, millimeters (mm) can be input.

また、519は、図4に表示されているフォームに対してOCR処理を実行する設定を入力することができるチェックボックスであり、ここにチェックされている場合はOCR処理を実行する設定が入力されることとなる。520は、図4に表示されているフォームに対してOCR処理を実行しない設定を入力することができるチェックボックスである。ここにチェックされている場合はOCR処理を実行しない設定が入力されることとなる。
ここで説明した帳票フォームのプロパティ画面500の各部に入力された属性情報は、グリッドの間隔や余白などの、フォームを定義するためのデータである。
Reference numeral 519 denotes a check box that can input a setting for executing the OCR process for the form displayed in FIG. 4. If the check box is checked here, a setting for executing the OCR process is input. The Rukoto. Reference numeral 520 denotes a check box capable of inputting a setting for not executing the OCR processing for the form displayed in FIG. When this is checked, a setting for not executing the OCR process is input.
The attribute information input to each part of the form form property screen 500 described here is data for defining the form, such as grid intervals and margins.

情報処理装置100のCPU201は、ユーザにより帳票フォームのプロパティ画面500の各部で属性情報が入力され、OKボタン521が押下されると、入力された属性情報はフォーム定義テーブル(図7)に記憶される(ステップS1401)。また、キャンセル522ボタンが押下されると、帳票フォームのプロパティ画面500を閉じる。 図7は、フォームを定義するためのデータが記憶されるフォーム定義テーブルの一例である。   When the user inputs attribute information in each part of the form form property screen 500 and presses the OK button 521, the CPU 201 of the information processing apparatus 100 stores the input attribute information in the form definition table (FIG. 7). (Step S1401). When the cancel 522 button is pressed, the form form property screen 500 is closed. FIG. 7 is an example of a form definition table in which data for defining a form is stored.

次に、情報処理装置100のCPU201は、フォームエディター画面400に表示されるテンプレート(フォーム)401に、ユーザの指示に応じてオブジェクトを配置して表示する。
具体的には、表示ボタン416がユーザにより押下されると、フィールド一覧画面417を表示する。
この画面には、固定フィールド418や、可変フィールド419などのオブジェクトを配置するためのオブジェクトが表示されている。
Next, the CPU 201 of the information processing apparatus 100 arranges and displays objects on a template (form) 401 displayed on the form editor screen 400 in accordance with a user instruction.
Specifically, when the display button 416 is pressed by the user, the field list screen 417 is displayed.
On this screen, objects for arranging objects such as a fixed field 418 and a variable field 419 are displayed.

ここで、固定フィールドとは、固定の(変更のない)データを出力する領域であり、可変フィールドとは、可変のデータを出力する領域である。ユーザにより固定フィールド418をドラッグアンドドロップしてテンプレート401上に配置すると、たとえば、413のような出力領域をテンプレート上に設定することができる。可変フィールドの設定も固定フィールドと同様に、可変フィールド419をドラッグアンドドロップしてテンプレート401上に配置することで、可変フィールドをテンプレート上に設定することができる。   Here, the fixed field is an area for outputting fixed (no change) data, and the variable field is an area for outputting variable data. When the user drags and drops the fixed field 418 and arranges it on the template 401, an output area such as 413 can be set on the template. Similarly to the fixed field, the variable field can be set on the template by dragging and dropping the variable field 419 and placing it on the template 401.

また、フィールド一覧画面417のOLEフィールド420は、QRコードなどの二次元コードの出力を設定できるオブジェクトであり、可変フィールドと同様、OLEフィールド420をドラッグアンドドロップすることにより、テンプレート401上に配置される。たとえば、414のような出力領域をテンプレート上に設定することができる。ここで、414は、QRコードを出力するための領域として設定された例を示している。   The OLE field 420 of the field list screen 417 is an object that can set the output of a two-dimensional code such as a QR code. Like the variable field, the OLE field 420 is arranged on the template 401 by dragging and dropping the OLE field 420. The For example, an output area such as 414 can be set on the template. Here, reference numeral 414 denotes an example set as an area for outputting a QR code.

また、ユーザにより、421のオブジェクトが押下され、KB209から文字が入力されることにより、テンプレート401上に文字を直接入力することもできる。 たとえば、403や404、406、407、408、409、410、411は、このようにして文字が入力されている。   In addition, the user can directly input a character on the template 401 by pressing the object 421 and inputting the character from the KB 209. For example, characters 403, 404, 406, 407, 408, 409, 410, and 411 are input in this way.

405は、チェックボックスのオブジェクトが入力されたものである。405は、ユーザによりオブジェクト422が押下され、テンプレート401が指定されることにより、情報処理装置100のCPU201は、テンプレート401上に405を入力する。また、412に示す「はしご枠」のオブジェクトもこれと同様に入力することが可能である。   Reference numeral 405 denotes an input of a check box object. In step 405, when the object 422 is pressed by the user and the template 401 is designated, the CPU 201 of the information processing apparatus 100 inputs 405 on the template 401. The “ladder frame” object shown at 412 can be input in the same manner.

次に、情報処理装置100のCPU201は、入力されたオブジェクトがユーザの指示により選択され、ユーザの指示に応じて、選択されたオブジェクトのプロパティ画面600(図6)を表示する。たとえば、ユーザがオブジェクトを選択し、選択された状態で右クリックすることにより表示される「プロパティ」(不図示)が選択されることで、選択されたオブジェクトのプロパティ画面600(図6)が表示される。   Next, the CPU 201 of the information processing apparatus 100 selects the input object according to the user's instruction, and displays the property screen 600 (FIG. 6) of the selected object according to the user's instruction. For example, when the user selects an object and right-clicks in the selected state and selects “Property” (not shown), the property screen 600 (FIG. 6) of the selected object is displayed. Is done.

そして、表示されたプロパティ画面600(図6)から、ユーザの指示により、当該オブジェクトに対して、オブジェクトの定義を示すデータを入力することが可能である。
図6は、オブジェクトの属性(定義)を入力するためのプロパティ画面の一例である。
Then, from the displayed property screen 600 (FIG. 6), data indicating the definition of the object can be input to the object in accordance with a user instruction.
FIG. 6 is an example of a property screen for inputting object attributes (definitions).

図6に示すオブジェクトのプロパティ画面600は、オブジェクトの名称とその種別(種類)を入力する部601と、OCR処理を行うかを入力する部604と、オブジェクトの配置位置とそのサイズを入力する部607,619と、線の属性を入力する部610と、文字の属性を入力する部614と、文字(列)の組み方向が横か縦か、また文字が全角か半角かを入力する出力定義部620と、文字枠が設定されている場合に、その文字枠の行数と桁数とを入力する部623とから構成される。
ここで、オブジェクトのプロパティ画面600について詳しく説明する。
The object property screen 600 shown in FIG. 6 includes a unit 601 for inputting the name of the object and its type, a unit 604 for inputting whether to perform OCR processing, and a unit for inputting the arrangement position and size of the object. 607, 619, a line attribute input unit 610, a character attribute input unit 614, and an output definition for inputting whether a character (column) is combined horizontally or vertically, and whether a character is full-width or half-width A section 620 and a section 623 for inputting the number of lines and the number of digits of the character frame when a character frame is set.
Here, the object property screen 600 will be described in detail.

602は、フィールド図形名(名称)を入力するテキストボックスであり、603は、その種別を選択入力できるプルダウンである。ここで種別とは、一例として、図形(四角)、文字、図形(チェックボックス)、文字(丸囲み)、図形(はしご枠)、出力領域(文字)、出力領域(QRコード)などを選択することができる。   Reference numeral 602 denotes a text box for inputting a field graphic name (name), and reference numeral 603 denotes a pull-down for selecting and inputting the type. Here, as the type, for example, a figure (square), a character, a figure (check box), a character (circle), a figure (ladder frame), an output area (character), an output area (QR code), or the like is selected. be able to.

図形(四角)とは、たとえば、図4の402にしめすような、テンプレートを四角の図形(線)で囲まれたオブジェクトである。また、文字とは、たとえば、図4の403、404、406、408、410、411に入力されている文字のオブジェクトである。また、図形(チェックボックス)とは、たとえば、図4の405に示すような、チェックボックスとして用いるオブジェクトである。また、文字(丸囲み)とは、たとえば、図4の407や409に示すような、ユーザにより丸囲みされるオブジェクトである。また、図形(はしご枠)とは、たとえば、図4の412に示すような、ユーザにより文字などを入力(記入)されるオブジェクトである。   The figure (square) is an object in which a template is surrounded by a square figure (line) as shown by 402 in FIG. The character is, for example, a character object input in 403, 404, 406, 408, 410, 411 in FIG. The figure (check box) is an object used as a check box, for example, as indicated by reference numeral 405 in FIG. The character (circled) is an object circled by the user, for example, as indicated by reference numerals 407 and 409 in FIG. The figure (ladder frame) is an object in which characters or the like are input (filled in) by the user, for example, as shown at 412 in FIG.

また、出力領域(文字)とは、たとえば、図4の413に示すような、文字が出力されるオブジェクトである。なお、このオブジェクトに出力される文字は、ユーザの指示により予め、例えば出力データ(図11)として記憶されている。   The output area (character) is an object to which a character is output, for example, as indicated by 413 in FIG. The characters output to this object are stored in advance as output data (FIG. 11), for example, in accordance with a user instruction.

図11は、出力データの一例を示す図である。図11には、図4の413の領域(文字エリア)に出力するデータとして「※電子クーポンはこちらからアクセスしてね」という文字データと、図4の414の領域(QRコードを出力するための領域)に出力するデータとして、QRコードのデータ「ABC・・・・jpee3dw」とを示している。
図4のテンプレートの印刷を行う際に、出力データ(図11)のデータを413、414の領域に出力して印刷を行う。そして、印刷した結果を図12に示す。
FIG. 11 is a diagram illustrating an example of output data. In FIG. 11, as data to be output to the area 413 (character area) in FIG. 4, the text data “* Please access the electronic coupon from here” and the area 414 in FIG. 4 (to output the QR code) QR code data “ABC... Jpee3dw” is shown as data to be output to the area (1).
When the template of FIG. 4 is printed, the data of the output data (FIG. 11) is output to the areas 413 and 414 for printing. The printed result is shown in FIG.

図12は、テンプレートのOCR領域の表示画面の一例である。オブジェクトのプロパティ画面600の説明に戻る。 出力領域(QRコード)とは、たとえば、図4の414に示すような二次元コードを出力するためのオブジェクトである。   FIG. 12 is an example of a display screen of the OCR area of the template. Returning to the description of the object property screen 600. The output area (QR code) is an object for outputting a two-dimensional code as indicated by 414 in FIG. 4, for example.

605は、選択されたオブジェクトに対してOCR処理を実行する設定を入力することができるチェックボックスであり、ここにチェックされている場合は、選択されたオブジェクトに対してOCR処理を実行する設定が入力されることとなる。606は、選択されたオブジェクトに対してOCR処理を実行しない設定を入力することができるチェックボックスである。ここにチェックされている場合は、選択されたオブジェクトに対してOCR処理を実行しない設定が入力されることとなる。   Reference numeral 605 denotes a check box in which a setting for executing an OCR process on a selected object can be input. When this box is checked, a setting for executing an OCR process on a selected object is set. Will be entered. Reference numeral 606 denotes a check box capable of inputting a setting for not executing the OCR process on the selected object. When this is checked, a setting for not executing the OCR process on the selected object is input.

608は、オブジェクトの配置位置の基準位置としての、テンプレートの最も左側からの距離を入力できるテキストボックスであり、609は、テンプレートの最も上側からの距離を入力できるテキストボックスである。   Reference numeral 608 denotes a text box that can input a distance from the leftmost side of the template as a reference position of the arrangement position of the object. Reference numeral 609 denotes a text box that can input a distance from the uppermost side of the template.

611は、オブジェクトの実線や点線などの線種を選択することができるプルダウンである。また、612は、オブジェクトの線の幅を選択入力することができるプルダウンである。また、613は、オブジェクトの線の色を選択入力することができるプルダウンである。   Reference numeral 611 denotes a pull-down menu that can select a line type such as a solid line or a dotted line of the object. Reference numeral 612 denotes a pull-down menu for selecting and inputting the line width of the object. Reference numeral 613 denotes a pull-down menu that can select and input the line color of the object.

615は、オブジェクトの文字のフォント(ゴシック体や明朝体など)を入力することができるプルダウンである。また、616は、オブジェクトの文字のスタイル(細字、標準、太文字など)を入力することができるプルダウンである。また、617は、オブジェクトの文字のサイズ(ポイント)を入力することができるプルダウンである。また、618は、オブジェクトの文字の色を入力することができるプルダウンである。   Reference numeral 615 denotes a pull-down menu that can input a font of an object character (such as Gothic or Mincho). Reference numeral 616 denotes a pull-down menu that can input the character style of the object (thin characters, standard characters, bold characters, etc.). Reference numeral 617 denotes a pull-down menu in which the character size (points) of the object can be input. Reference numeral 618 denotes a pull-down menu capable of inputting the character color of the object.

619は、オブジェクトのサイズ(大きさ)を入力することができるテキストボックスである。ここでは、オブジェクトの幅と高さを入力することが可能である。   Reference numeral 619 denotes a text box in which an object size (size) can be input. Here, it is possible to input the width and height of the object.

621は、オブジェクトの文字組みの方向を選択入力できるプルダウンである。また、622は、オブジェクトの文字の出力サイズ(全角、半角など)を選択入力できるプルダウンである。624、625は、それぞれ文字枠の行数、桁数を選択入力できるプルダウンである。   Reference numeral 621 denotes a pull-down menu that can selectively input the direction of the character set of the object. Reference numeral 622 denotes a pull-down menu that can selectively input the output size (full-width, half-width, etc.) of the character of the object. Reference numerals 624 and 625 are pull-downs for selecting and inputting the number of lines and the number of digits of the character frame, respectively.

プロパティ画面600(図6)を介して、オブジェクトの定義を示すデータの入力がなされ、OKボタンがユーザにより押下されると、情報処理装置100のCPU201は、入力されたオブジェクトの定義を示すデータを図8に示すオブジェクト定義テーブルに記憶する。ユーザは、各オブジェクトに対してこの操作を行う。   When data indicating the definition of the object is input via the property screen 600 (FIG. 6) and the OK button is pressed by the user, the CPU 201 of the information processing apparatus 100 displays the data indicating the definition of the input object. This is stored in the object definition table shown in FIG. The user performs this operation on each object.

以上の通り、ステップS1402では、情報処理装置100のCPU201は、上述した表示されたプロパティ画面600(図6)から、ユーザの指示により、各オブジェクトに対して、オブジェクトの定義を示すデータの入力を受け付ける。そして、入力されたデータをオブジェクト定義テーブル(図8)に記憶させる。 図8は、オブジェクト(フィールド)の定義(属性)(フィールドの属性情報)するデータが記憶されるオブジェクト定義テーブルの一例である。   As described above, in step S1402, the CPU 201 of the information processing apparatus 100 inputs data indicating the definition of an object for each object from the displayed property screen 600 (FIG. 6) according to a user instruction. Accept. Then, the input data is stored in the object definition table (FIG. 8). FIG. 8 is an example of an object definition table in which data for defining (attributes) (field attribute information) of objects (fields) is stored.

図8に示すオブジェクト定義テーブルは、「オブジェクト番号」、「種別」、「種別内連番」、「名称」、「OCR利用区分」、「左」、「上」、「幅」、「高さ」、「行数」、「桁数」、「線種」、「線幅」、「線色」、「フォント」、「スタイル」、「サイズ」、「色」、「組方向」、「文字出力サイズ」の項目から構成される。   The object definition table shown in FIG. 8 includes “object number”, “type”, “sequential number within type”, “name”, “OCR usage classification”, “left”, “top”, “width”, “height”. ”,“ Number of lines ”,“ Number of digits ”,“ Line type ”,“ Line width ”,“ Line color ”,“ Font ”,“ Style ”,“ Size ”,“ Color ”,“ Composition direction ”,“ Text ” It consists of the item “Output Size”.

「オブジェクト番号」はオブジェクトを識別する番号であり、図4の符号に括弧で示す番号に対応している。すなわち、オブジェクト番号<1>は、図4の402の枠を示している。また、「種別」は、オブジェクトの種別(種類)を示す情報である。また、「種別内連番」は、同一種別のオブジェクトを識別するために付与される連続した番号である。また、「名称」は、オブジェクトの名称である。また、「OCR利用区分」は、OCRを利用するか否かを示す情報が記憶される。OCRをするオブジェクトの場合は“する”が記憶され、OCRをしないオブジェクトの場合は“しない”が記憶される。また、「左」には、オブジェクトの配置位置の基準位置を特定する、テンプレートの最左からの位置を示す情報が記憶される。また、「上」には、オブジェクトの配置位置の基準位置を特定する、テンプレートの最上からの位置を示す情報が記憶される。また、「幅」には、オブジェクトの幅が記憶される。また、「高さ」には、オブジェクトの高さが記憶される。また、「行数」は、はしご枠などの文字の入力領域の行数である。また、「桁数」は、はしご枠などの文字の入力領域の桁数である。また、「線種」は、実線や点線などの情報である。また、「線幅」は、線の幅である。また、「線色」は、線の色である。また、「フォント」は、文字のフォントである。また、「スタイル」は、文字のスタイルである。また、「サイズ」は、文字のサイズである。また、「色」は、文字の色である。また、「組方向」は、文字(列)の組方向である。また、「文字出力サイズ」は、全角・半角などの文字出力サイズである。   “Object number” is a number for identifying an object, and corresponds to the number indicated in parentheses in the reference numerals of FIG. That is, the object number <1> indicates a frame 402 in FIG. “Type” is information indicating the type (type) of the object. The “in-type serial number” is a consecutive number assigned to identify objects of the same type. “Name” is the name of the object. The “OCR usage classification” stores information indicating whether or not to use OCR. In the case of an object that performs OCR, “Yes” is stored, and in the case of an object that does not perform OCR, “No” is stored. Further, “left” stores information indicating the reference position of the object arrangement position and indicating the position from the leftmost side of the template. Further, “upper” stores information indicating the position from the top of the template that specifies the reference position of the object arrangement position. Further, the “width” stores the width of the object. In “height”, the height of the object is stored. The “number of lines” is the number of lines in a character input area such as a ladder frame. “Number of digits” is the number of digits in a character input area such as a ladder frame. The “line type” is information such as a solid line or a dotted line. The “line width” is a line width. The “line color” is a line color. The “font” is a font of characters. The “style” is a character style. “Size” is the size of a character. The “color” is the color of the character. The “set direction” is a set direction of characters (rows). The “character output size” is a character output size such as full-width or half-width.

次に、情報処理装置100のCPU201は、ステップS1401で入力され記憶されたフォーム定義テーブル(図7)の「OCR利用」が“する”なのか否かを判定する(ステップS1403)。   Next, the CPU 201 of the information processing apparatus 100 determines whether or not “use OCR” in the form definition table (FIG. 7) input and stored in step S1401 is “Yes” (step S1403).

すなわち、フォームのプロパティ画面500の519がチェックされたか否かを判定する。519がチェックされた場合(フォーム定義テーブル(図7)の「OCR利用」が“する”の場合)(ステップS1403:YES)、記憶部に記憶されたオブジェクト定義テーブルから、OCR処理の実行に用いるOCR定義情報を生成する(ステップS1404)。一方、519がチェックされず、520がチェックされた場合(フォーム定義テーブル(図7)の「OCR利用」が“しない”の場合)(ステップS1403:NO)は、OCR定義情報を生成することなく処理を終了する。
ステップS1404の詳細処理については、図15を用いて後述する。
That is, it is determined whether or not 519 of the form property screen 500 is checked. If 519 is checked (when “Use OCR” in the form definition table (FIG. 7) is “Yes”) (step S1403: YES), the object definition table stored in the storage unit is used to execute the OCR process. OCR definition information is generated (step S1404). On the other hand, when 519 is not checked and 520 is checked (when “Use OCR” in the form definition table (FIG. 7) is “No”) (step S1403: NO), OCR definition information is not generated. The process ends.
Detailed processing in step S1404 will be described later with reference to FIG.

次に、情報処理装置100のCPU201は、ステップS1404でOCR定義情報を生成すると、予め記憶されたフォームのOCR定義テーブル(図9)のスキャン時解像度(dpi)や印刷の向きなどを取得し、例えば以下の式を用いてイメージデータのサイズ(左上のX座標:0,左上のY座標:0,右下のX座標:以下の式で算出される値,右下のY座標:以下の式で算出される値)を決定し、テンプレートの下書きとなるイメージデータを生成する(ステップS1405)。ここで生成されるイメージデータをOCR定義情報の下書きとすることで、テンプレート内のどの領域を、OCR処理を行う領域とするかを特定することができる。   Next, when the CPU 201 of the information processing apparatus 100 generates the OCR definition information in step S1404, the CPU 201 acquires the scan resolution (dpi), the print orientation, and the like of the form OCR definition table (FIG. 9) stored in advance. For example, using the following formula, the size of the image data (upper left X coordinate: 0, upper left Y coordinate: 0, lower right X coordinate: value calculated by the following formula, lower right Y coordinate: The image data to be a draft of the template is generated (step S1405). By using the image data generated here as a draft of the OCR definition information, it is possible to specify which area in the template is to be the OCR process area.

図12は、このようにして特定された、フォーム(テンプレート)のOCR処理対象の領域を示す表示画面1200の一例を示す図である。図12は、出力データ(図11)を出力領域に出力した帳票に、OCR処理対象の領域を表示した画面である。図12では、OCR処理対象の領域として、1202、1203、1204、1205、1206、1207、1208が定義されている。なお、このOCR処理対象の領域のサイズは、ユーザの指示により補正することができる。   FIG. 12 is a diagram showing an example of the display screen 1200 showing the OCR processing target area of the form (template) specified as described above. FIG. 12 is a screen in which an OCR processing target area is displayed on a form in which output data (FIG. 11) is output to the output area. In FIG. 12, 1202, 1203, 1204, 1205, 1206, 1207, and 1208 are defined as OCR processing target areas. Note that the size of the OCR processing target area can be corrected according to a user instruction.

(式)・右下のX座標=サイズ(幅)(mm)×スキャン時の解像度(dpi)÷25.4(mm)・右下のY座標=サイズ(高さ)(mm)×スキャン時の解像度(dpi)÷25.4(mm)   (Expression)-Lower right X coordinate = Size (width) (mm) x Scanning resolution (dpi) ÷ 25.4 (mm)-Lower right Y coordinate = Size (height) (mm) x Scanning Resolution (dpi) ÷ 25.4 (mm)

例えば、印刷の向きが縦のA4の用紙(幅が210mmで高さが297mm)のスキャン時の解像度が300dpiである場合、上記式に、これらの値を代入すると、右下のX座標は、210(mm)×300(dpi)÷25.4(mm)=2480.349・・・となり、約2480の値となる。また、右下のY座標も、これと同様に代入すると、297(mm)×300(dpi)÷25.4(mm)=3507.87・・・となり、約3507の値となる。
このようにして、ここで生成されるイメージデータのサイズを決定し、そのサイズのイメージデータ(画像)を生成する(ステップS1405)。
For example, if the printing resolution is 300 dpi when scanning a vertical A4 sheet (width 210 mm and height 297 mm), and substituting these values into the above equation, the lower right X coordinate is 210 (mm) × 300 (dpi) ÷ 25.4 (mm) = 24800.349... And a value of about 2480. Also, if the lower right Y coordinate is substituted in the same manner, 297 (mm) × 300 (dpi) /25.4 (mm) = 3507.87..., Which is about 3507.
In this way, the size of the image data generated here is determined, and image data (image) of that size is generated (step S1405).

次に、情報処理装置100のCPU201は、ステップS1404で生成したOCR定義情報を、OCRソフトウェアが読み込む記憶部に記憶することにより、当該OCR定義情報をOCRソフトウェアに設定する(ステップS1406)。
ここで、図9について説明する。 図9は、帳票フォームデータ全体のOCR定義テーブルの一例を示す図である。
Next, the CPU 201 of the information processing apparatus 100 sets the OCR definition information in the OCR software by storing the OCR definition information generated in step S1404 in a storage unit that is read by the OCR software (step S1406).
Here, FIG. 9 will be described. FIG. 9 is a diagram showing an example of an OCR definition table for the entire form data.

フォームのOCR定義テーブルは、「帳票フォーム名」、「OCR利用」、「印刷時解像度」、「スキャン時解像度」、「イメージファイル名」、「クリアエリア初期値」とから構成されている。   The form OCR definition table includes “form form name”, “OCR use”, “printing resolution”, “scanning resolution”, “image file name”, and “clear area initial value”.

「帳票フォーム名」は、フォーム定義テーブル(図7)の「帳票フォーム名」に対応したデータであり、OCR定義情報生成部304でコピーされることにより記憶(生成)される。   The “form form name” is data corresponding to the “form form name” in the form definition table (FIG. 7), and is stored (generated) by being copied by the OCR definition information generating unit 304.

「OCR利用」は、フォーム定義テーブル(図7)の「OCR利用」に対応したデータであり、OCR定義情報生成部304でコピーされることにより記憶(生成)される。   “OCR use” is data corresponding to “OCR use” in the form definition table (FIG. 7), and is stored (generated) by being copied by the OCR definition information generating unit 304.

「印刷時解像度」は、ユーザの指示に応じて予め記憶される値であり、印刷時にどの解像度で印刷するかを規定したものである。したがって、フォームエディタソフト301で生成されたフォームデータはここで設定された解像度で印刷指示される。   “Resolution at printing” is a value stored in advance in response to a user instruction, and defines a resolution at which printing is performed at the time of printing. Accordingly, the form data generated by the form editor software 301 is instructed to be printed at the resolution set here.

「スキャン時解像度」は、ユーザの指示に応じて予め記憶される値であり、スキャン時にどの解像度で読み取るかを規定したものである。したがって、フォームエディタソフト301で生成されたフォームデータはここで設定された解像度で読み取られる。   The “scanning resolution” is a value stored in advance according to a user instruction, and defines which resolution is read at the time of scanning. Therefore, the form data generated by the form editor software 301 is read at the resolution set here.

「イメージファイル名」は、ステップS1405で生成されるイメージデータのファイル名であり、イメージデータが生成される際に、フォーム定義テーブル(図9)の帳票フォーム名をコピーすることで生成される。   “Image file name” is the file name of the image data generated in step S1405, and is generated by copying the form name of the form definition table (FIG. 9) when the image data is generated.

「クリアエリア初期値」は、ユーザの指示に応じて予め記憶される値であり、図23に示すように、オブジェクトの配置領域2301からOCR処理を行う領域2302までの幅の長さ2303である。   The “clear area initial value” is a value stored in advance in response to a user instruction, and is a length 2303 of a width from an object arrangement area 2301 to an area 2302 for performing OCR processing, as shown in FIG. .

図23は、オブジェクトの配置領域2301と、OCR処理を行う領域(OCR処理の対象領域2302)と、クリアエリア2303の関係を説明するための概念図である。
<図15の説明> 次に、図15のフローチャートを参照して、フォームエディタソフトウェア301が実行する処理を説明する。
FIG. 23 is a conceptual diagram for explaining the relationship among an object placement area 2301, an OCR process area (OCR process target area 2302), and a clear area 2303.
<Description of FIG. 15> Next, processing executed by the form editor software 301 will be described with reference to the flowchart of FIG.

図15は、図14に示すステップS1404の詳細処理の一例を示すフローチャートであり、図3に示すフォームエディタソフトウェア301による処理に対応する。すなわち、情報処理装置100のCPU201がROM202又は外部メモリ211からRAM203に読み出したプログラムを実行することにより実現される。また、図中、S1501〜S1511は各ステップを示す。   FIG. 15 is a flowchart showing an example of detailed processing in step S1404 shown in FIG. 14, and corresponds to the processing by the form editor software 301 shown in FIG. That is, it is realized by the CPU 201 of the information processing apparatus 100 executing a program read from the ROM 202 or the external memory 211 to the RAM 203. In the figure, S1501 to S1511 indicate steps.

情報処理装置100のCPU201は、後述するステップS1502からステップS1511までの処理を、オブジェクト定義テーブル(図8)に記憶されている全てのオブジェクト定義情報に対して繰り返し実行する。ここで、オブジェクト定義情報(フォームのフィールドの属性情報)とは、図8に示すレコードの情報のデータを示す。   The CPU 201 of the information processing apparatus 100 repeatedly executes processing from step S1502 to step S1511 described later for all object definition information stored in the object definition table (FIG. 8). Here, the object definition information (form field attribute information) indicates the data of the record information shown in FIG.

情報処理装置100のCPU201は、まず、オブジェクト定義テーブル(図8)のオブジェクト定義情報を読み込む(ステップS1502)。例えば、ここでは、オブジェクト番号が<1>のオブジェクト定義情報を読み込む。   First, the CPU 201 of the information processing apparatus 100 reads the object definition information in the object definition table (FIG. 8) (step S1502). For example, here, object definition information whose object number is <1> is read.

そして、情報処理装置100のCPU201は、「OCR利用区分」が“する”と定義されているか否かを判定する(ステップS1503)。すなわち、オブジェクトのプロパティ画面(図6)の605がチェックされたのか、それとも606がチェックされたのかを判定する。   Then, the CPU 201 of the information processing apparatus 100 determines whether or not the “OCR usage classification” is defined as “Yes” (step S1503). That is, it is determined whether 605 in the object property screen (FIG. 6) is checked or 606 is checked.

ここで、オブジェクト定義テーブル(図8)には、605がチェックされた場合は「OCR利用区分」が“する”と記憶され、606がチェックされた場合は「OCR利用区分」が“しない”と記憶されている。   Here, in the object definition table (FIG. 8), when 605 is checked, “OCR usage category” is stored as “Yes”, and when 606 is checked, “OCR usage category” is set as “No”. It is remembered.

情報処理装置100のCPU201は、ステップS1503で「OCR利用区分」が“する”と定義されていると判定した場合は(ステップS1503:YES)、処理をステップS1504に移行し、一方、「OCR利用区分」が“しない”と定義されていると判定した場合は(ステップS1503:NO)、処理対象をオブジェクト定義テーブルの次のレコードにして、ステップS1502に戻る。またこのとき、全てのオブジェクト定義情報に対して処理を実行し、処理対象がなくなった場合は処理を終了する。   If the CPU 201 of the information processing apparatus 100 determines that the “OCR usage classification” is defined as “Yes” in step S1503 (step S1503: YES), the process proceeds to step S1504. If it is determined that “classification” is defined as “no” (step S1503: NO), the processing target is set to the next record in the object definition table, and the process returns to step S1502. At this time, the process is executed for all the object definition information, and the process ends when there is no processing target.

次に、情報処理装置100のCPU201は、「OCR利用区分」が“する”と定義されていると判定した場合は(ステップS1503:YES)、オブジェクト定義情報に含まれるオブジェクトの種別が、「文字」又は「図形(はしご枠)」又は「出力領域(文字)」であるか否かを判定する(ステップS1504)。   Next, when the CPU 201 of the information processing apparatus 100 determines that the “OCR usage classification” is defined as “Yes” (step S1503: YES), the type of the object included in the object definition information is “character”. ”Or“ graphic (ladder frame) ”or“ output area (character) ”(step S1504).

そして、情報処理装置100のCPU201は、オブジェクトの種別が、「文字」又は「図形(はしご枠)」又は「出力領域(文字)」であると判定した場合は(ステップS1504:YES)、ステップS1508に処理を移行して文字認識設定処理(図16)を実行する。一方、オブジェクトの種別が、「文字」又は「図形(はしご枠)」又は「出力領域(文字)」ではないと判定した場合は(ステップS1504:NO)、オブジェクトの種別が「図形(チェックボックス)」であるか否かを判定する(ステップS1505)。   If the CPU 201 of the information processing apparatus 100 determines that the object type is “character”, “figure (ladder frame)”, or “output area (character)” (step S1504: YES), step S1508 is performed. The process is shifted to and the character recognition setting process (FIG. 16) is executed. On the other hand, when it is determined that the object type is not “character”, “graphic (ladder frame)”, or “output area (character)” (step S1504: NO), the object type is “graphic (check box)”. Is determined (step S1505).

そして、情報処理装置100のCPU201は、オブジェクトの種別が「図形(チェックボックス)」であると判定した場合は(ステップS1505:YES)、処理をステップS1509に移行してチェックボックス認識設定処理(図19)を実行する。一方、オブジェクトの種別が、「図形(チェックボックス)」ではないと判定した場合は(ステップS1505:NO)、オブジェクトの種別が「文字(丸囲み)」であるか否かを判定する(ステップS1506)。   If the CPU 201 of the information processing apparatus 100 determines that the object type is “figure (check box)” (step S1505: YES), the process proceeds to step S1509 and the check box recognition setting process (FIG. 19) is executed. On the other hand, if it is determined that the object type is not “figure (check box)” (step S1505: NO), it is determined whether the object type is “character (circled)” (step S1506). ).

そして、情報処理装置100のCPU201は、オブジェクトの種別が「文字(丸囲み)」であると判定した場合は(ステップS1506:YES)、処理をステップS1510に移行して、丸囲み数字認識設定処理(図20)を実行する。一方、オブジェクトの種別が「文字(丸囲み)」ではないと判定した場合は(ステップS1506:NO)、オブジェクトの種別が「出力領域(QRコード)」であるか否かを判定する(ステップS1507)。   If the CPU 201 of the information processing apparatus 100 determines that the type of the object is “character (circled)” (step S1506: YES), the process proceeds to step S1510, and the circled number recognition setting process is performed. (FIG. 20) is executed. On the other hand, if it is determined that the object type is not “character (circled)” (step S1506: NO), it is determined whether the object type is “output area (QR code)” (step S1507). ).

そして、情報処理装置100のCPU201は、オブジェクトの種別が「出力領域(QRコード)」であると判定した場合は(ステップS1507:YES)、処理をステップS1511に移行してQRコード認識設定処理(図21)を実行する。   If the CPU 201 of the information processing apparatus 100 determines that the type of the object is “output area (QR code)” (step S1507: YES), the process proceeds to step S1511 and the QR code recognition setting process ( 21) is executed.

情報処理装置100のCPU201は、ステップS1507でオブジェクトの種別が「出力領域(QRコード)」ではないと判定された場合、及び、ステップS1508、ステップS1509、ステップS1510、ステップS1511の処理を実行後は、ステップS1503でNOと判定した場合と同様に、処理対象をオブジェクト定義テーブルの次のレコードにして、ステップS1502に戻る。またこのとき、全てのオブジェクト定義情報に対して処理を実行し、処理対象がなくなった場合は処理を終了する。   When the CPU 201 of the information processing apparatus 100 determines in step S1507 that the object type is not “output area (QR code)”, and after executing the processing of step S1508, step S1509, step S1510, and step S1511, As in the case where NO is determined in step S1503, the processing target is set to the next record in the object definition table, and the process returns to step S1502. At this time, the process is executed for all the object definition information, and the process ends when there is no processing target.

このようにして、オブジェクト定義テーブルに記憶されている全てのオブジェクト定義情報に対して、ステップS1502からステップS1511までの処理を実行する。
<図16の説明> 次に、図16のフローチャートを参照して、フォームエディタソフトウェア301が実行する処理を説明する。
In this way, the processing from step S1502 to step S1511 is executed for all object definition information stored in the object definition table.
<Description of FIG. 16> Next, processing executed by the form editor software 301 will be described with reference to the flowchart of FIG.

図16は、図15に示すステップS1508の詳細処理の一例を示すフローチャートであり、図3に示すフォームエディタソフトウェア301による処理に対応する。すなわち、情報処理装置100のCPU201がROM202又は外部メモリ211からRAM203に読み出したプログラムを実行することにより実現される。また、図中、S1601〜S1615は各ステップを示す。   FIG. 16 is a flowchart showing an example of detailed processing in step S1508 shown in FIG. 15, and corresponds to the processing by the form editor software 301 shown in FIG. That is, it is realized by the CPU 201 of the information processing apparatus 100 executing a program read from the ROM 202 or the external memory 211 to the RAM 203. In the figure, S1601 to S1615 indicate the respective steps.

情報処理装置100のCPU201は、まず、認識する種別(種類)として、文字を認識する文字認識処理を実行することを示すデータ(ここでは“OCR”)を生成する(ステップS1601)。ここで生成されたデータは、図10に示すオブジェクトのOCR定義テーブル(OCRテンプレート)に記憶される。ここで、OCRテンプレートとは、図10に示す各オブジェクトのOCR定義情報の集合である。   First, the CPU 201 of the information processing apparatus 100 generates data (here, “OCR”) indicating that a character recognition process for recognizing a character is executed as a type (type) to be recognized (step S1601). The data generated here is stored in the OCR definition table (OCR template) of the object shown in FIG. Here, the OCR template is a set of OCR definition information of each object shown in FIG.

図10は、帳票フォームデータ内のフィールド領域に書き込まれるオブジェクトのOCR定義テーブルの一例を示す図である。OCR定義テーブルには、OCRするために用いられる各種データが記憶される。   FIG. 10 is a diagram showing an example of an OCR definition table of objects written in the field area in the form form data. Various data used for OCR is stored in the OCR definition table.

図10の示すオブジェクトのOCR定義テーブルは、「No」、「領域名(名称)」、「オブジェクト番号」、「認識種別」、オブジェクトの配置領域(認識領域)の左上座標のX座標が記憶される「X」、オブジェクトの配置領域(認識領域)の左上座標のY座標が記憶される「Y」、オブジェクトの配置領域(認識領域)の右下座標のX座標が記憶される「X」、オブジェクトの配置領域(認識領域)の右下座標のY座標が記憶される「Y」、「使用辞書」、「組方向」、「文字枠」、「桁数」、「行数」、「文字出力サイズ」などから構成される。   The object OCR definition table shown in FIG. 10 stores “No”, “area name (name)”, “object number”, “recognition type”, and the X coordinate of the upper left coordinate of the object placement area (recognition area). “X”, “Y” in which the Y coordinate of the upper left coordinate of the object arrangement area (recognition area) is stored, “X” in which the X coordinate of the lower right coordinate of the object arrangement area (recognition area) is stored, "Y", "Use dictionary", "Composition direction", "Character frame", "Number of digits", "Number of lines", "Character" where the Y coordinate of the lower right coordinate of the object placement area (recognition area) is stored "Output size" etc.

「No」は、レコードを識別するための番号であり、このレコード内の一部又は全ての情報をOCR定義情報という。また、「領域名(名称)」は、OCRを行う対象のオブジェクト(OCR対象オブジェクト)の名称(領域名)である。また、「オブジェクト番号」は、図8のオブジェクト定義テーブルのオブジェクト番号に対応した番号である。また、「認識種別」は、OCRソフト318が行う認識処理の種別(種類)である。また、「使用辞書」は、OCRソフト318が行う認識処理の際に用いる辞書を示している。また、「組方向」は、文字(列)が縦方向か横方向かを示している。また、「文字枠」は、はしご枠かなどの文字枠がどのような枠であるかを示している。また、「桁数」は、文字枠の桁数を示している。また、「行数」は、文字枠の行数を示している。また、「文字出力サイズ」は、半角か全角かを示している。   “No” is a number for identifying a record, and part or all of the information in this record is referred to as OCR definition information. The “area name (name)” is the name (area name) of an object (OCR target object) to be subjected to OCR. The “object number” is a number corresponding to the object number in the object definition table of FIG. The “recognition type” is a type (type) of recognition processing performed by the OCR software 318. The “use dictionary” indicates a dictionary used in recognition processing performed by the OCR software 318. The “set direction” indicates whether the character (row) is in the vertical direction or the horizontal direction. “Character frame” indicates what kind of frame a character frame such as a ladder frame is. “Number of digits” indicates the number of digits in the character frame. “Number of lines” indicates the number of lines in the character frame. “Character output size” indicates half-width or full-width.

次に、情報処理装置100のCPU201は、共通情報生成処理を実行することにより(ステップS1602)、オブジェクト定義情報から、オブジェクトのOCR定義情報テーブルのOCR対象オブジェクト(オブジェクトの領域名など)と認識領域(Pixel)(オブジェクトの配置位置(座標))とを生成する。そして、ここで生成されたOCR対象オブジェクト(オブジェクトの領域名など)と認識領域(Pixel)(オブジェクトの配置位置(座標))は、オブジェクトのOCR定義テーブルに記憶される。ステップS1602の詳細処理は、図18を用いて後で説明する。   Next, the CPU 201 of the information processing apparatus 100 executes the common information generation process (step S1602), and from the object definition information, the OCR target object (such as the object area name) in the object OCR definition information table and the recognition area. (Pixel) (object placement position (coordinates)) is generated. The generated OCR target object (object area name, etc.) and recognition area (Pixel) (object placement position (coordinates)) are stored in the object OCR definition table. Detailed processing in step S1602 will be described later with reference to FIG.

次に、情報処理装置100のCPU201は、共通情報生成処理を実行した後、オブジェクト定義情報の「フォント」にフォント名が記憶されているかを判定する(ステップS1603)。そして、フォント名が記憶されていると判定した場合は(ステップS1603:YES)、当該フォントに対応する辞書を辞書テーブル(図17)の中から検索する(ステップS1604)。   Next, after executing the common information generation process, the CPU 201 of the information processing apparatus 100 determines whether a font name is stored in “font” of the object definition information (step S1603). If it is determined that the font name is stored (step S1603: YES), a dictionary corresponding to the font is searched from the dictionary table (FIG. 17) (step S1604).

図17は、辞書テーブルの一例である。図17は、文字のフォントに対して、OCRするのに好適な辞書が記憶されていることを示している。なお、辞書テーブルは、記憶部に記憶されている。   FIG. 17 is an example of a dictionary table. FIG. 17 shows that a dictionary suitable for OCR is stored for character fonts. The dictionary table is stored in the storage unit.

次に、情報処理装置100のCPU201は、ステップS1604でフォントに対応する辞書が検索されたか否かを判定する(ステップS1605)。そして、フォントに対応する辞書が検索されたと判定された場合は(ステップS1605:YES)、検索された辞書を使用する辞書と設定するために、オブジェクトのOCR定義テーブル(図10)の「使用辞書」に検索された辞書名を記憶(生成)する。一方、フォントに対応する辞書が検索されなかったと判定された場合は(ステップS1605:NO)、(予め設定された)既定の辞書を使用する辞書として設定するために、オブジェクトのOCR定義テーブル(図10)の「使用辞書」に、該既定の辞書の辞書名を記憶(生成)する(ステップS1607)。   Next, the CPU 201 of the information processing apparatus 100 determines whether or not a dictionary corresponding to the font has been searched in step S1604 (step S1605). If it is determined that a dictionary corresponding to the font has been searched (step S1605: YES), “use dictionary” in the OCR definition table (FIG. 10) of the object is used to set the dictionary to use the searched dictionary. ”Is stored (generated). On the other hand, if it is determined that the dictionary corresponding to the font has not been searched (step S1605: NO), the object's OCR definition table (FIG. The dictionary name of the default dictionary is stored (generated) in the “use dictionary” of 10) (step S1607).

ステップS1603で、オブジェクト定義情報の「フォント」にフォント名が記憶されていないと判定された場合、つまり、フォントの情報が無い場合も、ステップS1607の処理を実行する。すなわち、オブジェクトのOCR定義テーブル(図10)の「使用辞書」に、既定の辞書の辞書名を記憶(生成)する。   If it is determined in step S1603 that no font name is stored in the “font” of the object definition information, that is, if there is no font information, the process of step S1607 is executed. That is, the dictionary name of the default dictionary is stored (generated) in the “use dictionary” of the object OCR definition table (FIG. 10).

次に、情報処理装置100のCPU201は、ステップS1607又は、ステップS1606の処理を実行した後、現在、処理対象のオブジェクト定義テーブル(図8)の1レコード(オブジェクト定義情報)の「組方向」と「文字出力サイズ」とをオブジェクトのOCR定義テーブル(図10)の「組方向」と「文字出力サイズ」にそれぞれ記憶(生成)させる。   Next, after executing the processing of step S1607 or step S1606, the CPU 201 of the information processing apparatus 100 indicates “composition direction” of one record (object definition information) of the object definition table to be processed (FIG. 8). “Character output size” is stored (generated) in “Composition direction” and “Character output size” of the OCR definition table (FIG. 10) of the object.

そして、情報処理装置100のCPU201は、現在、処理対象のオブジェクト定義情報の「枠」に数値が設定されているか否かを判定することにより、文字枠のオブジェクトであるか否かを判定する(ステップS1609)。そして、情報処理装置100のCPU201は、文字枠のオブジェクトであると判定された場合は(ステップS1609:YES)、文字枠が複数に分割されているか否かを判定する(ステップS1610)。すなわち、処理対象のオブジェクト定義情報の「枠」に設定された値(少なくとも行数、桁数のいずれか1つの値)が2以上の数値であるか否かを判定することにより、「はしご枠」であるのか、それとも「フィールド枠」であるのかを判定する(ステップS1610)。   Then, the CPU 201 of the information processing apparatus 100 determines whether or not it is a character frame object by determining whether or not a numerical value is currently set in the “frame” of the object definition information to be processed ( Step S1609). If the CPU 201 of the information processing apparatus 100 determines that the object is a character frame object (step S1609: YES), the CPU 201 determines whether the character frame is divided into a plurality of pieces (step S1610). That is, by determining whether or not the value (at least one of the number of lines and the number of digits) set in the “frame” of the object definition information to be processed is a numerical value of 2 or more, "Or" field frame "is determined (step S1610).

そして、「はしご枠」であると判定された場合(「枠」に設定された、少なくとも行数、桁数のいずれかの値が2以上の数値であると判定された場合)は(ステップS1610:YES)、オブジェクトのOCR定義テーブル(図10)の「文字枠」に、はしご枠であることを示すデータとして“はしご”を記憶(生成)する(ステップS1611)。一方、「フィールド枠」であると判定された場合(「枠」に設定された行数、桁数のいずれの値も1の数値であると判定された場合)は(ステップS1610:NO)、オブジェクトのOCR定義テーブル(図10)の「文字枠」に、フィールド枠であることを示すデータとして“フィールド”を記憶(生成)する(ステップS1613)。   Then, when it is determined that the frame is a “ladder frame” (when it is determined that at least one of the number of lines and the number of digits set in the “frame” is a numerical value of 2 or more) (step S1610). : YES), “ladder” is stored (generated) as data indicating a ladder frame in the “character frame” of the object OCR definition table (FIG. 10) (step S1611). On the other hand, when it is determined that it is a “field frame” (when it is determined that both the number of lines and the number of digits set in the “frame” are numerical values of 1) (step S1610: NO), “Field” is stored (generated) in the “character frame” of the object OCR definition table (FIG. 10) as data indicating a field frame (step S1613).

また、ステップS1609において、現在、処理対象のオブジェクト定義情報の「枠」に数値が設定されていないと判定(文字枠のオブジェクトではないと判定)された場合(ステップS1609:NO)、オブジェクトのOCR定義テーブル(図10)の「文字枠」に、枠がないことを示すデータとして“―”を記憶(生成)する(ステップS1604)。   If it is determined in step S1609 that a numerical value is not currently set in the “frame” of the object definition information to be processed (determined that the object is not a character frame object) (step S1609: NO), the object OCR “-” Is stored (generated) as data indicating that there is no frame in the “character frame” of the definition table (FIG. 10) (step S1604).

次に、情報処理装置100のCPU201は、オブジェクトの定義テーブル(図8)の「枠」の“行数”、“桁数”の値を、文字認識すべき対象の文字数の最大値として、オブジェクトのOCR定義テーブル(図10)の「行数」、「桁数」にそれぞれ記憶(生成)する(ステップS1612)。   Next, the CPU 201 of the information processing apparatus 100 sets the values of “number of lines” and “number of digits” of the “frame” in the object definition table (FIG. 8) as the maximum number of characters to be recognized as the object. Are stored (generated) in “number of rows” and “number of digits” in the OCR definition table (FIG. 10) (step S1612).

また、情報処理装置100のCPU201は、ステップS1604またはステップS1613の処理を実行した後、OCRソフトウェアが、文字認識すべき対象の文字数を自動的に認識させる設定情報として、“0(ゼロ)”を、オブジェクトのOCR定義テーブル(図10)の「行数」、「桁数」に記憶(生成)する(ステップS1615)。   Further, after executing the processing of step S1604 or step S1613, the CPU 201 of the information processing apparatus 100 sets “0 (zero)” as setting information that causes the OCR software to automatically recognize the number of characters to be recognized. Then, it is stored (generated) in “number of rows” and “number of digits” in the OCR definition table of the object (FIG. 10) (step S1615).

以上、ステップS1615又はステップS1612の処理を実行すると、ステップS1508に示す文字認識設定処理は終了し、ステップS1502で次の処理対象のオブジェクトの定義情報を読み込む。
<図18の説明> 次に、図18のフローチャートを参照して、フォームエディタソフトウェア301が実行する処理を説明する。
As described above, when the process of step S1615 or step S1612 is executed, the character recognition setting process shown in step S1508 ends, and the definition information of the next object to be processed is read in step S1502.
<Description of FIG. 18> Next, processing executed by the form editor software 301 will be described with reference to the flowchart of FIG.

図18は、図16のステップS1602、図19のステップS1902、図20のステップS2002、図21のステップS2102の処理の詳細処理の一例を示すフローチャートである。なお、図18は、図3に示すフォームエディタソフトウェア301による処理に対応する。   FIG. 18 is a flowchart showing an example of detailed processing of step S1602 in FIG. 16, step S1902 in FIG. 19, step S2002 in FIG. 20, and step S2102 in FIG. 18 corresponds to the processing by the form editor software 301 shown in FIG.

すなわち、情報処理装置100のCPU201がROM202又は外部メモリ211からRAM203に読み出したプログラムを実行することにより実現される。また、図中、S1801〜S1804は各ステップを示す。
情報処理装置100のCPU201は、OCR対象オブジェクトの名称(領域名)を生成する(ステップS1801)。
That is, it is realized by the CPU 201 of the information processing apparatus 100 executing a program read from the ROM 202 or the external memory 211 to the RAM 203. In the figure, S1801 to S1804 indicate each step.
The CPU 201 of the information processing apparatus 100 generates a name (area name) of the OCR target object (step S1801).

具体的には、オブジェクト定義テーブル(図8)の「名称」にオブジェクトの名称が入力されている場合は、その名称をOCR対象オブジェクトの名称(領域名)として、オブジェクトのOCR定義テーブル(図10)の「領域名(名称)」に記憶(生成)する。また、オブジェクト定義テーブル(図8)の「名称」にオブジェクトの名称が入力されていない場合は、オブジェクトの「種別」と「種別内連番」からOCR対象オブジェクトの名称(領域名)を生成して、オブジェクトのOCR定義テーブル(図10)の「領域名(名称)」に記憶(生成)する。   Specifically, when the name of an object is input in “Name” of the object definition table (FIG. 8), the name is used as the name of the OCR target object (area name) (FIG. 10). ) In (area name (name)). If the name of the object is not entered in “Name” of the object definition table (FIG. 8), the name (area name) of the OCR target object is generated from the “type” of the object and the “sequential number within type”. Then, it is stored (generated) in “area name (name)” of the object OCR definition table (FIG. 10).

例えば、オブジェクト番号<4>のオブジェクトは、チェックボックスなので、領域名(名称)にチェックボックスを示す「CHK」と、「種別内連番」の「001」とを繋げて「CHK001」というOCR対象オブジェクトの名称(領域名)を生成し、オブジェクトのOCR定義テーブル(図10)の「領域名(名称)」に記憶している。   For example, since the object with the object number <4> is a check box, the area name (name) is connected to “CHK” indicating a check box and “001” of “in-type serial number”, and is an OCR target “CHK001”. An object name (area name) is generated and stored in “area name (name)” of the object OCR definition table (FIG. 10).

次に、情報処理装置100のCPU201は、オブジェクト定義テーブル(図8)の「配置」の情報から、認識領域の座標を算出し、オブジェクトのOCR定義テーブルの「認識領域(pixel)」に算出結果を記憶(生成)する(ステップS1802)。 具体的には、例えば、認識領域の左上座標及び右下座標は、以下の式を用いて算出することができる。   Next, the CPU 201 of the information processing apparatus 100 calculates the coordinates of the recognition area from the “placement” information in the object definition table (FIG. 8), and calculates the result in the “recognition area (pixel)” of the object OCR definition table. Is stored (generated) (step S1802). Specifically, for example, the upper left coordinates and the lower right coordinates of the recognition area can be calculated using the following equations.

(式)・「認識領域の左上のX座標」=(基準位置(左)―クリアエリアの初期値)×スキャン時解像度(dpi)÷25.4(mm)・「認識領域の左上のY座標」=(基準位置(上)―クリアエリアの初期値)×スキャン時解像度(dpi)÷25.4(mm)・「認識領域の右下のX座標」=(基準位置(左)+サイズ(幅)+クリアエリアの初期値)×スキャン時解像度(dpi)÷25.4(mm)・「認識領域の右下のY座標」=(基準位置(上)+サイズ(高さ)+クリアエリアの初期値)×スキャン時解像度(dpi)÷25.4(mm)   (Expression) • “X coordinate at upper left of recognition area” = (reference position (left) −initial value of clear area) × scanning resolution (dpi) ÷ 25.4 (mm) • “Y coordinate at upper left of recognition area “= (Reference position (upper) −initial value of clear area) × scanning resolution (dpi) ÷ 25.4 (mm) ·“ lower right X coordinate of recognition area ”= (reference position (left) + size ( (Width) + Clear area initial value) x Scanning resolution (dpi) ÷ 25.4 (mm) · "Y coordinate at the bottom right of the recognition area" = (Reference position (Up) + Size (Height) + Clear area Initial value) x scanning resolution (dpi) ÷ 25.4 (mm)

ここで、クリアエリアとは、図23に示すように、オブジェクトの配置領域2301からOCR処理を行う領域2302までの幅の長さ2303であり、ユーザの指示により予め設定され記憶部に記憶されている。ここでは、ユーザの指示により予め設定されたクリアエリアの値をクリアエリアの初期値として記載している。   Here, as shown in FIG. 23, the clear area is the length 2303 of the width from the object arrangement area 2301 to the area 2302 where the OCR processing is performed, and is set in advance by a user instruction and stored in the storage unit. Yes. Here, the value of the clear area set in advance by the user's instruction is described as the initial value of the clear area.

また、スキャン解像度は、ユーザの指示により予め設定され、記憶部のフォームのOCR定義テーブル(図9)に記憶されている。また、基準位置(左)、基準位置(上)、サイズ(幅)、サイズ(高さ)は、それぞれ、オブジェクト定義テーブル(図8)の項目「左」、「上」、「幅」、「高さ」に記憶されている値である。
ステップS1802では、これらの情報を取得して上述した式に代入することにより、認識領域の座標を算出することができる。
The scan resolution is set in advance by a user instruction and stored in the OCR definition table (FIG. 9) in the form of the storage unit. The reference position (left), reference position (top), size (width), and size (height) are the items “left”, “top”, “width”, “size” of the object definition table (FIG. 8), respectively. This is the value stored in “Height”.
In step S1802, the coordinates of the recognition area can be calculated by acquiring these pieces of information and substituting them into the above-described formula.

次に、情報処理装置100のCPU201は、ステップS1802で算出された座標により決定される認識領域がテンプレート(帳票)の領域内に収まるか否かを判定する(ステップS1803)。   Next, the CPU 201 of the information processing apparatus 100 determines whether or not the recognition area determined by the coordinates calculated in step S1802 falls within the area of the template (form) (step S1803).

具体的には、ステップS1802で算出して得られた認識領域の座標が、ステップS1405でイメージデータを生成する際に決定した当該イメージデータのサイズの座標を超えているか否かを判定する。   Specifically, it is determined whether the coordinates of the recognition area obtained by calculation in step S1802 exceed the coordinates of the size of the image data determined when generating the image data in step S1405.

そして、認識領域がテンプレートの領域内に収まる(ステップS1802で算出して得られた認識領域の座標が、ステップS1405でイメージデータを生成する際に決定した当該イメージデータのサイズの座標を超えていない)と判定された場合は、図18に示す処理を終了し、一方、収まらない(ステップS1802で算出して得られた認識領域の座標が、ステップS1405でイメージデータを生成する際に決定した当該イメージデータのサイズの座標を超える)と判定された場合は、テンプレートの領域内に収まるように認識領域の各座標を補正する(ステップS1804)。   Then, the recognition area falls within the template area (the coordinates of the recognition area obtained by calculation in step S1802 do not exceed the coordinates of the size of the image data determined when generating the image data in step S1405). 18 is finished, the process shown in FIG. 18 is terminated, while the image does not fit (the recognition area coordinates obtained by calculation in step S1802 are determined when the image data is generated in step S1405). If it is determined that it exceeds the coordinates of the size of the image data), each coordinate of the recognition area is corrected so as to be within the area of the template (step S1804).

具体的には、超えていると判定された、ステップS1802で算出して得られた認識領域の座標を、ステップS1405でイメージデータを生成する際に決定した当該イメージデータのサイズの座標に設定することで補正することができる。
<図19の説明> 次に、図19のフローチャートを参照して、フォームエディタソフトウェア301が実行する処理を説明する。
Specifically, the coordinates of the recognition area determined by calculating in step S1802 that is determined to be exceeded are set to the coordinates of the size of the image data determined when generating the image data in step S1405. This can be corrected.
<Description of FIG. 19> Next, processing executed by the form editor software 301 will be described with reference to the flowchart of FIG.

図19は、図15のステップS1509の処理の詳細処理の一例を示すフローチャートである。なお、図19は、図3に示すフォームエディタソフトウェア301による処理に対応する。   FIG. 19 is a flowchart showing an example of detailed processing of step S1509 in FIG. FIG. 19 corresponds to the processing by the form editor software 301 shown in FIG.

すなわち、情報処理装置100のCPU201がROM202又は外部メモリ211からRAM203に読み出したプログラムを実行することにより実現される。また、図中、S1901〜S1902は各ステップを示す。   That is, it is realized by the CPU 201 of the information processing apparatus 100 executing a program read from the ROM 202 or the external memory 211 to the RAM 203. In the figure, S1901 to S1902 indicate each step.

情報処理装置100のCPU201は、まず、認識する種別(種類)として、チェックボックスを認識する文字認識処理を実行することを示すデータ(ここでは“チェックボックス”)を生成する(ステップS1901)。ここで生成されたデータは、図10に示すオブジェクトのOCR定義テーブルに記憶される。
次に、情報処理装置100のCPU201は、図18に示す共通情報生成処理を実行し(ステップS1902)、ステップS1509の処理を終了する。
<図20の説明> 次に、図20のフローチャートを参照して、フォームエディタソフトウェア301が実行する処理を説明する。
First, the CPU 201 of the information processing apparatus 100 generates data (here, “check box”) indicating that a character recognition process for recognizing a check box is executed as a type to be recognized (type) (step S1901). The data generated here is stored in the OCR definition table of the object shown in FIG.
Next, the CPU 201 of the information processing apparatus 100 executes the common information generation process shown in FIG. 18 (step S1902), and ends the process of step S1509.
<Description of FIG. 20> Next, processing executed by the form editor software 301 will be described with reference to the flowchart of FIG.

図20は、図15のステップS1510の処理の詳細処理の一例を示すフローチャートである。なお、図20は、図3に示すフォームエディタソフトウェア301による処理に対応する。   FIG. 20 is a flowchart illustrating an example of detailed processing of step S1510 of FIG. 20 corresponds to the processing by the form editor software 301 shown in FIG.

すなわち、情報処理装置100のCPU201がROM202又は外部メモリ211からRAM203に読み出したプログラムを実行することにより実現される。また、図中、S2001〜S2002は各ステップを示す。   That is, it is realized by the CPU 201 of the information processing apparatus 100 executing a program read from the ROM 202 or the external memory 211 to the RAM 203. In the figure, S2001 to S2002 indicate each step.

情報処理装置100のCPU201は、まず、認識する種別(種類)として、丸囲み文字を認識する文字認識処理を実行することを示すデータ(ここでは“丸囲み”)を生成する(ステップS2001)。ここで生成されたデータは、図10に示すオブジェクトのOCR定義テーブルに記憶される。 次に、情報処理装置100のCPU201は、図18に示す共通情報生成処理を実行し(ステップS2002)、ステップS1510の処理を終了する。
<図21の説明> 次に、図21のフローチャートを参照して、フォームエディタソフトウェア301が実行する処理を説明する。
First, the CPU 201 of the information processing apparatus 100 generates data (here, “circle”) indicating that a character recognition process for recognizing a circled character is executed as a type (type) to be recognized (step S2001). The data generated here is stored in the OCR definition table of the object shown in FIG. Next, the CPU 201 of the information processing apparatus 100 executes the common information generation process shown in FIG. 18 (step S2002), and ends the process of step S1510.
<Description of FIG. 21> Next, processing executed by the form editor software 301 will be described with reference to the flowchart of FIG.

図21は、図15のステップS1511の処理の詳細処理の一例を示すフローチャートである。なお、図21は、図3に示すフォームエディタソフトウェア301による処理に対応する。   FIG. 21 is a flowchart showing an example of detailed processing of the processing in step S1511 of FIG. FIG. 21 corresponds to the processing by the form editor software 301 shown in FIG.

すなわち、情報処理装置100のCPU201がROM202又は外部メモリ211からRAM203に読み出したプログラムを実行することにより実現される。また、図中、S2101〜S2102は各ステップを示す。   That is, it is realized by the CPU 201 of the information processing apparatus 100 executing a program read from the ROM 202 or the external memory 211 to the RAM 203. In the figure, S2101 to S2102 indicate each step.

情報処理装置100のCPU201は、まず、認識する種別(種類)として、二次元コードを認識する文字認識処理を実行することを示すデータ(ここでは“QRコード”)を生成する(ステップS2101)。ここで生成されたデータは、図10に示すオブジェクトのOCR定義テーブルに記憶される。 次に、情報処理装置100のCPU201は、図18に示す共通情報生成処理を実行し(ステップS2102)、ステップS1511の処理を終了する。
<図22の説明> 次に、図22のフローチャートを参照して、OCRソフトウェア315が実行する処理を説明する。
First, the CPU 201 of the information processing apparatus 100 generates data (here, “QR code”) indicating that character recognition processing for recognizing a two-dimensional code is executed as a type to be recognized (type) (step S2101). The data generated here is stored in the OCR definition table of the object shown in FIG. Next, the CPU 201 of the information processing apparatus 100 executes the common information generation process shown in FIG. 18 (step S2102), and ends the process of step S1511.
<Description of FIG. 22> Next, processing executed by the OCR software 315 will be described with reference to the flowchart of FIG.

図21は、本発明のシステムにおける第2の制御処理手順の一例を示すフローチャートであり、図3に示すOCRソフトウェア315による処理に対応する。すなわち、情報処理装置100のCPU201がROM202又は外部メモリ211からRAM203に読み出したプログラムを実行することにより実現される。また、図中、S2201〜S2204は各ステップを示す。   FIG. 21 is a flowchart showing an example of the second control processing procedure in the system of the present invention, and corresponds to the processing by the OCR software 315 shown in FIG. That is, it is realized by the CPU 201 of the information processing apparatus 100 executing a program read from the ROM 202 or the external memory 211 to the RAM 203. In the figure, S2201 to S2204 indicate steps.

情報処理装置100のCPU201は、フォームのOCR定義テーブル(図9)と、オブジェクトのOCR定義テーブル(図10)とを記憶部308から読み込み(ステップS2201)、読み込んだフォームのOCR定義テーブル(図9)と、オブジェクトのOCR定義テーブル(図10)内のデータを、OCRするために設定する(ステップS2202)。   The CPU 201 of the information processing apparatus 100 reads the form OCR definition table (FIG. 9) and the object OCR definition table (FIG. 10) from the storage unit 308 (step S2201), and reads the form OCR definition table (FIG. 9). And the data in the object OCR definition table (FIG. 10) are set for OCR (step S2202).

そして、ステップS2202で設定されたデータを用いてOCRを実行し(ステップS2203)、その認識結果を記憶部に記憶させるべく出力して(ステップS2204)処理を終了する。そして、フォームエディタソフトウェアは、記憶された認識結果を読み込み出力(表示や印刷など)する。   Then, OCR is executed using the data set in step S2202 (step S2203), the recognition result is output to be stored in the storage unit (step S2204), and the process is terminated. The form editor software reads and outputs (displays, prints, etc.) the stored recognition result.

以上説明したように、本実施の形態によれば、テンプレートデータを作成するために入力されるオブジェクトの属性情報に従って、OCR処理を実行する対象領域に対する属性情報を生成することにより、ユーザによる当該属性情報の入力作業を軽減させることができる。   As described above, according to the present embodiment, the attribute information by the user is generated by generating the attribute information for the target area for executing the OCR process according to the attribute information of the object input to create the template data. Information input work can be reduced.

<図24の説明> 次に、図24を用いて、帳票印刷時に帳票フォームデータの印刷用紙にデータ認識情報(OCR定義情報)を二次元バーコード(QRコード)で付加する仕組みについて説明する。   <Explanation of FIG. 24> Next, a mechanism for adding data recognition information (OCR definition information) with a two-dimensional barcode (QR code) to the printing paper of the form data at the time of printing the form will be described with reference to FIG.

図24は、帳票フォームデータの印刷指示時に表示される帳票印刷設定画面の一例を示す画面図である。この帳票印刷設定画面は、帳票フォームデータを印刷するときに、帳票フォームデータのアプリケーションプログラム(フォームエディタソフトウェア301)により表示部に表示される印刷設定画面の一例である。   FIG. 24 is a screen diagram illustrating an example of a form print setting screen displayed when a form form data print instruction is issued. This form print setting screen is an example of a print setting screen displayed on the display unit by the form form data application program (form editor software 301) when printing the form form data.

この帳票印刷設定画面において、「OCR定義を付加して印刷する」チェックボックス2401がチェックされることで、帳票フォームデータの印刷用紙にデータ認識情報であるOCR定義情報を二次元バーコードであるQRコードとして付加して印刷することが指示できる。また、「OCR定義:裏面に印刷する」チェックボックス2402がチェックされることで、データ認識情報であるOCR定義情報のQRコードを、帳票フォームデータの印刷用紙の裏面に印刷することが指示できる。このチェックがなければ、OCR定義情報のQRコードは、帳票フォームデータの印刷用紙の表面の所定の個所(たとえば右下の位置)に配置されて印刷されることになる。   In this form print setting screen, when the “print with OCR definition added” check box 2401 is checked, the OCR definition information, which is data recognition information, is printed on the form form data print sheet as a QR code that is a two-dimensional barcode. It can be instructed to add and print as a code. Also, by checking the “OCR definition: print on back side” check box 2402, it is possible to instruct to print the QR code of the OCR definition information, which is data recognition information, on the back side of the printing paper of the form form data. Without this check, the QR code of the OCR definition information is arranged and printed at a predetermined position (for example, the lower right position) on the surface of the printing paper of the form form data.

なお、「OCR定義:裏面に印刷する」チェックボックス2402は、必須項目ではなく、この項目は持たせずに、固定的にQRコードを裏面に印刷するようにしてもよい。   Note that the “OCR definition: print on back side” check box 2402 is not an essential item, and the QR code may be fixedly printed on the back side without having this item.

データ認識情報であるOCR定義情報は、図9のフォームのOCR定義テーブルの情報と、図10のオブジェクトのOCR定義テーブルの情報とを含んでいるものとする。なお、本実施の形態では、復元情報を埋め込む対象として、2次元バーコードのQRコードを用いているが、これに限るものではなく、印刷用紙にRF−IDタグが付いており、その書き込み機能をプリンタが備えている場合には、RF−IDタグに復元情報を記録してもよいし、その他の情報付加機能を用いてもよい。以下、本実施の形態では、QRコードを用いた例を説明する。   The OCR definition information, which is data recognition information, includes information on the OCR definition table of the form in FIG. 9 and information on the OCR definition table of the object in FIG. In this embodiment, a QR code of a two-dimensional barcode is used as a target for embedding restoration information. However, the present invention is not limited to this, and an RF-ID tag is attached to printing paper, and its writing function If the printer is equipped with a printer, restoration information may be recorded on the RF-ID tag, or other information addition function may be used. Hereinafter, in this embodiment, an example using a QR code will be described.

<図25の説明> 次に、図25を用いて帳票印刷の指示がなされたときの情報処理装置における印刷データ生成処理について説明する。図25は、本発明の情報処理装置における帳票印刷処理手順の一例を示すフローチャートである。   <Description of FIG. 25> Next, print data generation processing in the information processing apparatus when an instruction to print a form is given with reference to FIG. FIG. 25 is a flowchart showing an example of a form print processing procedure in the information processing apparatus of the present invention.

まず、ステップS2501では、フォームエディタソフトウェア301は、ユーザ操作により生成された帳票フォームデータ(枠線や、フォーム定義テーブル310、オブジェクト定義テーブル311)を用いて、帳票フォームデータの印刷データを生成する。具体的には、出力先のプリンタで印刷処理可能なPDL形式またはイメージデータ形式の印刷データを生成することになるが、印刷データの生成処理は既知の技術であるため詳細な説明は省略する。   First, in step S2501, the form editor software 301 generates print data of form form data using form form data (frame line, form definition table 310, object definition table 311) generated by a user operation. Specifically, print data in a PDL format or an image data format that can be printed by an output destination printer is generated. Since the print data generation process is a known technique, detailed description thereof is omitted.

次にステップS2502では、OCR定義の付加印刷であるか否かを判断する。つまり、印刷設定画面(図24)を介するユーザの指示(チェックボックス2401がチェック済み)により、データ認識情報であるOCR定義情報を付加して印刷データを生成することが指定されているかを判断する。OCR定義情報を付加して印刷データを生成すると判断された場合には、ステップS2503に処理を進め、OCR定義情報を付加して印刷データを生成しないと判断された場合には、ステップS2505に処理を進める。   Next, in step S2502, it is determined whether it is OCR-defined additional printing. That is, it is determined whether or not it is designated to generate print data by adding OCR definition information that is data recognition information according to a user instruction (check box 2401 is already checked) via the print setting screen (FIG. 24). . If it is determined that the print data is generated by adding the OCR definition information, the process proceeds to step S2503. If it is determined that the print data is not generated by adding the OCR definition information, the process proceeds to step S2505. To proceed.

次に、ステップS2503では、印刷要求された帳票フォームデータに対応する図9のフォームのOCR定義テーブルの情報と、図10のオブジェクトのOCR定義テーブルの情報とを記憶部308から読み出し、これらの情報から二次元バーコードであるQRコードを生成する。なお、この印刷データの生成処理は、フォームエディタソフトウェア301の制御手順であるため、印刷要求された帳票フォームデータと対応するOCR定義テーブル(図9と図10)は、自身で特定可能である。   In step S2503, information on the OCR definition table of the form in FIG. 9 corresponding to the form data requested to be printed and information on the OCR definition table of the object in FIG. A QR code, which is a two-dimensional barcode, is generated. Since the print data generation process is a control procedure of the form editor software 301, the OCR definition table (FIGS. 9 and 10) corresponding to the form data requested to be printed can be specified by itself.

続いてステップS2504では、帳票フォームデータの印刷データに、ステップS2503で生成した二次元バーコードのOCR定義情報(QRコード)を付加する。このとき、図24のチェックボックス2402がチェックされている場合には、二次元バーコードのOCR定義情報(QRコード)を裏面に付加する。チェックボックス2402がチェックされていない場合には、二次元バーコードのOCR定義情報(QRコード)を帳票フォームデータの印刷データの表面の所定の位置に付加する。   In step S2504, the OCR definition information (QR code) of the two-dimensional barcode generated in step S2503 is added to the print data of the form form data. At this time, if the check box 2402 in FIG. 24 is checked, the OCR definition information (QR code) of the two-dimensional barcode is added to the back surface. When the check box 2402 is not checked, the OCR definition information (QR code) of the two-dimensional barcode is added to a predetermined position on the surface of the print data of the form form data.

そして、ステップS2505では、印刷データをプリンタで印刷すべく出力する。出力先は、プリンタに対して直接送信してもいいし、プリントサーバに出力し、プリントサーバからプリンタに転送して印刷させてもよい。この印刷データの送信後の処理については既知の技術であるため詳細な説明は省略する。   In step S2505, the print data is output to be printed by the printer. The output destination may be sent directly to the printer, or may be output to the print server, transferred from the print server to the printer, and printed. Since the processing after the transmission of the print data is a known technique, a detailed description thereof will be omitted.

なお、ステップS2505で送信される印刷データは、帳票フォームデータが印刷される面には、帳票フォームデータを識別する識別情報が印刷されていることが望ましい。この帳票フォームデータを識別する識別情報をスキャナ部で読み取り認識することで、印刷用紙に印刷されている帳票フォームデータを識別することができ、対応するOCR定義情報を、図9及び図10のOCR定義テーブルから特定することが可能となる。   Note that the print data transmitted in step S2505 preferably has identification information for identifying the form form data printed on the surface on which the form form data is printed. By reading and recognizing the identification information for identifying the form data by the scanner unit, it is possible to identify the form form data printed on the printing paper, and the corresponding OCR definition information is represented by the OCR in FIGS. It can be specified from the definition table.

<図26の説明> 次に、図26を用いて帳票印刷されている印刷用紙が画像読取部(スキャナ)で読み取られ、読み取られたデータが入力されたときの情報処理装置におけるデータ認識処理について説明する。図26は、本発明の情報処理装置におけるデータ認識処理手順の一例を示すフローチャートである。   <Description of FIG. 26> Next, a data recognition process in the information processing apparatus when the printing paper on which a form is printed using FIG. 26 is read by an image reading unit (scanner) and the read data is input. explain. FIG. 26 is a flowchart showing an example of a data recognition processing procedure in the information processing apparatus of the present invention.

ステップS2601では、図示省略されたスキャナ装置で帳票印刷用紙を読み取り処理した結果である画像を入力する。スキャナ装置は情報処理装置にI/Fを介して直接接続されていてもよいし、ネットワークを介して通信可能な複合機のスキャナ部で読み取った画像をネットワーク通信で受信してもよい。   In step S2601, an image that is a result of reading a form printing sheet by a scanner device (not shown) is input. The scanner device may be directly connected to the information processing device via an I / F, or may receive an image read by a scanner unit of a multifunction peripheral that can communicate via a network via network communication.

次に、ステップS2602では、読み取られた画像に、OCR定義付加情報があるか否かを判断する。ここで入力される画像データは、片面読み取りの場合には、表/裏/表/裏の順に入力されるため、この判断処理では、表面の所定の位置または裏面に二次元バーコードであるQRコードがあるか、かつ、QRコードを解析し、その解析結果がデータ認識情報であるOCR定義情報であるか否かが判断される。OCR定義付加情報があると判断された場合には、ステップS2603に処理を進め、OCR定義付加情報がないと判断された場合には、ステップS2604に処理を進める。   Next, in step S2602, it is determined whether or not the read image includes OCR definition additional information. Since the image data input here is input in the order of front / back / front / back in the case of single-sided reading, in this determination process, a QR code that is a two-dimensional barcode at a predetermined position on the front surface or the back surface is used. It is determined whether there is a code, and the QR code is analyzed, and whether the analysis result is OCR definition information that is data recognition information. If it is determined that there is OCR definition additional information, the process proceeds to step S2603. If it is determined that there is no OCR definition additional information, the process proceeds to step S2604.

ステップS2603では、QRコードのOCR定義付加情報を解釈して、OCR定義情報を再生する。ここで再生されるOCR定義情報は、図9のフォームのOCR定義テーブルの情報と、図10のオブジェクトのOCR定義テーブルの情報とに相当する。   In step S2603, the OCR definition additional information of the QR code is interpreted and the OCR definition information is reproduced. The OCR definition information reproduced here corresponds to the information in the OCR definition table of the form in FIG. 9 and the information in the OCR definition table of the object in FIG.

一方、OCR定義付加情報が付与されていない場合には、ステップS2604で、帳票フォームデータの印刷用紙に印刷されている帳票識別情報を用いて、帳票フォームデータを識別し、識別された帳票フォームデータに対応するOCR定義テーブルを記憶部308から読み込む。   On the other hand, if the OCR definition additional information is not given, in step S2604, the form form data is identified using the form identification information printed on the printing paper of the form form data, and the identified form form data is identified. Is read from the storage unit 308.

そして、ステップS2605では、ステップS2603で作成したOCR定義情報またはステップS2604で読み込んだOCR定義情報を用いて、ステップS2601で入力された画像をOCR処理(データ認識処理)する。   In step S2605, the image input in step S2601 is subjected to OCR processing (data recognition processing) using the OCR definition information created in step S2603 or the OCR definition information read in step S2604.

このように、本実施の形態によれば、帳票フォームデータの生成時に設定する設定内容を利用して、OCR処理を行うフィールド領域に対するOCR定義情報を生成し、生成されたOCR定義情報をQRコードのような付加情報に変換して帳票フォームデータの印刷データに付加して印刷させるので、ユーザによるフィールド領域のデータ認識情報の入力作業や、データ認識処理を行う情報処理装置にデータ認識情報を予め用意しておくという管理者の負担を軽減させることができる。   As described above, according to the present embodiment, the OCR definition information for the field area to be subjected to the OCR process is generated using the setting contents set when the form form data is generated, and the generated OCR definition information is converted into the QR code. Is added to the print data of the form data and printed, so that the user can input the data recognition information in advance to the information processing device that performs input work of data recognition information in the field area and data recognition processing. It is possible to reduce the burden on the administrator to prepare.

以上、本発明の一実施形態を詳述したが、本発明は、例えば、システム、装置、方法、プログラムもしくは記憶媒体等としての実施態様をとることが可能であり、具体的には、複数の機器から構成されるシステムに適用しても良いし、また、一つの機器からなる装置に適用しても良い。   Although one embodiment of the present invention has been described in detail above, the present invention can take an embodiment as, for example, a system, an apparatus, a method, a program, or a storage medium. You may apply to the system comprised from an apparatus, and may apply to the apparatus which consists of one apparatus.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。   Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(基本システム或いはオペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (basic system or operating system) running on the computer based on the instruction of the program code. Needless to say, a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion board or function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

また上記のソフトウェアで実現する各処理を、ファームウェアやハードウェア構成にして、各処理を各手段として実現することも可能であり、本発明の技術的範囲はこのようなファームウェアやハードウェア構成による実現も含むものである。   In addition, each process realized by the above-described software can be realized as firmware or hardware configuration, and each process can be realized as each means. The technical scope of the present invention is realized by such firmware or hardware configuration. Is also included.

100 情報処理装置
200 情報処理装置
300 複合機
400 ネットワーク
DESCRIPTION OF SYMBOLS 100 Information processing apparatus 200 Information processing apparatus 300 Multifunction machine 400 Network

Claims (5)

帳票フォームデータに設定されるオブジェクトの領域を、データ認識処理を行う領域として設定された、当該データ認識処理用いられるデータ認識情報を生成する情報処理装置であって、
当該帳票フォームデータを作成するための作成画面を表示する表示手段と、
ユーザの操作に従って、前記表示手段により表示された作成画面を介して、当該帳票フォームデータへのオブジェクトの入力を受け付けて、当該帳票フォームデータに当該オブジェクトを設定するオブジェクト設定手段と、
前記表示手段により表示された作成画面を介して、前記オブジェクト設定手段により設定されたオブジェクトごとに、当該オブジェクトに係る属性情報の入力、及び当該オブジェクトの領域についてデータ認識処理を行うか否かの選択をユーザの操作により受け付ける受付手段と、
前記受付手段により入力を受け付けたオブジェクトに係る属性情報が設定された帳票フォームデータを生成する帳票フォームデータ生成手段と、
前記オブジェクト設定手段により設定されたオブジェクトが、前記受付手段で、当該オブジェクトの領域についてデータ認識処理を行う選択を受け付けたオブジェクトであるかを判定する判定手段と、
前記判定手段で、データ認識処理を行う選択を受け付けたオブジェクトであると判定された当該オブジェクトについて、前記受付手段で受け付けた当該オブジェクトに係る属性情報に従って、当該オブジェクトの領域を、データ認識処理を行う領域として設定された、当該オブジェクトのデータ認識処理に係る属性情報を示すデータ認識情報を生成す認識情報生成手段と、
前記認識情報生成手段により生成されたデータ認識情報を記憶する記憶手段と、
前記帳票フォームデータ生成手段により生成された帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成するか否かの選択をユーザの操作により受け付ける選択受付手段と、
前記選択受付手段で、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成する選択を受け付けた場合には、当該帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成し、一方、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成しない選択を受け付けた場合には、当該帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加することなく当該帳票フォームデータの印刷データを生成する印刷データ生成手段と、
前記印刷データ生成手段により生成された印刷データをプリンタに印刷させるべく送信する送信手段と、
帳票フォームデータの印刷データが印刷された印刷用紙が読み取られることで得られる読み取りデータを入力する入力手段と、
前記入力手段で入力された読み取りデータに、データ認識情報が付加されているか否か判断する判断手段と、
前記判断手段で当該データ認識情報が付加されていると判断された場合には、当該データ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行い、一方、前記判断手段により当該データ認識情報が付加されていないと判断された場合には、前記記憶手段により記憶された、当該帳票フォームデータのデータ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行う認識手段と、
を備えることを特徴とする情報処理装置。
The area of an object set in the document form data, is set as an area for performing data recognition processing, an information processing apparatus for generating a data recognition information used for the data recognition processing,
Display means for displaying a creation screen for creating the form data;
In accordance with an operation of the user, through the creation screen displayed by the display means, it receives an input of the object to the continuous form data, and the object setting means for setting the object to the continuous form data,
For each object set by the object setting means via the creation screen displayed by the display means, input of attribute information related to the object, and selection of whether to perform data recognition processing for the area of the object Accepting means for accepting a user operation,
Form form data generating means for generating form form data in which attribute information related to the object received by the receiving means is set;
A determination unit that determines whether the object set by the object setting unit is an object that has received a selection to perform data recognition processing on a region of the object by the reception unit;
In the determination unit, the determination has been the object as an object that receives the selection for performing data recognition processing, in accordance with attribute information relating to the object received by the receiving unit, an area of the object, performs data recognition processing is set as an area, a recognition information generating unit that generates a data recognition information indicating the attribute information relating to the data recognition processing of the object,
Storage means for storing data recognition information generated by the recognition information generation means;
Selection that accepts selection of whether to generate print data of the form form data to which data recognition information of the form form data is added to the form form data generated by the form form data generation means by user operation Receiving means;
When the selection accepting unit accepts a selection to generate print data of the form form data to which the data recognition information of the form form data is added, the data recognition of the form form data is performed with respect to the form form data. When the print data of the form form data to which the information is added is generated, and when the selection not to generate the print data of the form form data to which the data recognition information of the form form data is added is received, the form form data Print data generation means for generating print data of the form data without adding data recognition information of the form data ;
Transmitting means for transmitting the print data generated by the print data generating means to cause the printer to print;
An input means for inputting read data obtained by reading the print paper on which the print data of the form form data is printed;
Determination means for determining whether or not data recognition information is added to the read data input by the input means;
If it is determined by the determination means that the data recognition information is added, the data recognition processing is performed on the read data using the data recognition information, while the data recognition information is determined by the determination means. If it is determined that the data is not added, a recognition unit that performs data recognition processing on the read data using the data recognition information of the form data stored in the storage unit;
An information processing apparatus comprising:
前記選択受付手段は、さらに、前記帳票フォームデータ生成手段により生成された帳票フォームデータを印刷する印刷用紙の裏面に、当該帳票フォームデータのデータ認識情報を印刷するかの選択を受け付け、The selection accepting unit further accepts a selection of whether to print the data recognition information of the form form data on the back side of the printing paper on which the form form data generated by the form form data generating unit is printed,
前記印刷データ生成手段は、前記選択受付手段で、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成する選択を受け付け、かつ、当該帳票フォームデータを印刷する印刷用紙の裏面に、当該帳票フォームデータのデータ認識情報を印刷する選択を受け付けた場合には、当該帳票フォームデータが印刷される印刷用紙の裏面に、当該帳票フォームデータのデータ認識情報を印刷する当該帳票フォームデータの印刷データを生成することを特徴とする請求項1に記載の情報処理装置。The print data generation means accepts a selection for generating print data of the form form data to which the data recognition information of the form form data is added by the selection receiving means, and prints the print form data. When the selection to print the data recognition information of the form form data is accepted on the back side, the form form that prints the data recognition information of the form form data on the back side of the printing paper on which the form form data is printed The information processing apparatus according to claim 1, wherein print data of the data is generated.
ユーザの操作に従って、前記表示手段により表示された作成画面を介して、前記帳票フォームデータの印刷用紙のサイズを示すサイズ情報を含む当該帳票フォームデータの属性情報の入力を受け付けるフォームデータ属性入力手段と、Form data attribute input means for receiving input of attribute information of the form form data including size information indicating the size of the printing paper of the form form data via a creation screen displayed by the display means in accordance with a user operation ,
当該帳票フォームデータの印刷データが印刷された印刷用紙が読み取られる解像度を記憶する解像度記憶手段と、Resolution storage means for storing the resolution at which the printing paper on which the printing data of the form form data is printed is stored;
前記フォームデータ属性入力手段により入力を受け付けた当該帳票フォームデータの属性情報と、前記解像度記憶手段に記憶された当該帳票フォームデータの印刷用紙の解像度に従って、当該帳票フォームデータのイメージデータを生成するイメージデータ生成手段と、An image for generating image data of the form data in accordance with the attribute information of the form data that has been input by the form data attribute input unit and the resolution of the printing paper of the form form data stored in the resolution storage unit Data generation means;
を更に備え、Further comprising
前記認識情報生成手段は、さらに、前記判定手段で、データ認識処理を行う選択を受け付けたオブジェクトであると判定された当該オブジェクトについて、前記受付手段で受け付けた当該オブジェクトに係る属性情報に従って、当該オブジェクトの領域よりも所定距離広い領域を、データ認識処理を行う領域として設定された、当該オブジェクトのデータ認識処理に係る属性情報を示すデータ認識情報を生成し、The recognition information generation unit further includes, for the object determined by the determination unit as an object that has received a selection for performing data recognition processing, according to attribute information regarding the object received by the reception unit. An area wider than the area by a predetermined distance is set as an area for performing data recognition processing, and data recognition information indicating attribute information related to the data recognition processing of the object is generated,
前記認識情報生成手段により生成されたデータ認識情報に設定された当該データ認識処理を行う領域が、前記イメージデータ生成手段により生成されたイメージデータの領域を超えるかを判定する領域判定手段と、An area determination means for determining whether the area for performing the data recognition processing set in the data recognition information generated by the recognition information generation means exceeds the area of the image data generated by the image data generation means;
前記領域判定手段により、前記認識情報生成手段により生成されたデータ認識情報に設定された当該データ認識処理を行う領域が、前記イメージデータ生成手段により生成されたイメージデータの領域を超えると判定された場合に、前記認識情報生成手段により生成されたデータ認識情報に設定された当該データ認識処理を行う領域を、前記イメージデータ生成手段により生成されたイメージデータの領域を超えないように補正する補正手段と、The area determination means determines that the area for performing the data recognition processing set in the data recognition information generated by the recognition information generation means exceeds the area of the image data generated by the image data generation means. In this case, the correction unit corrects the region for performing the data recognition processing set in the data recognition information generated by the recognition information generation unit so as not to exceed the region of the image data generated by the image data generation unit. When,
をさらに備えることを特徴とする請求項1又は2に記載の情報処理装置。The information processing apparatus according to claim 1, further comprising:
帳票フォームデータに設定されるオブジェクトの領域を、データ認識処理を行う領域として設定された、当該データ認識処理用いられるデータ認識情報を生成する情報処理装置における情報処理方法であって、
前記情報処理装置の表示手段が、当該帳票フォームデータを作成するための作成画面を表示する表示工程と、
前記情報処理装置のオブジェクト設定手段が、ユーザの操作に従って、前記表示工程により表示された作成画面を介して、当該帳票フォームデータへのオブジェクトの入力を受け付けて、当該帳票フォームデータに当該オブジェクトを設定するオブジェクト設定工程と、
前記情報処理装置の受付手段が、前記表示工程により表示された作成画面を介して、前記オブジェクト設定工程により設定されたオブジェクトごとに、当該オブジェクトに係る属性情報の入力、及び当該オブジェクトの領域についてデータ認識処理を行うか否かの選択をユーザの操作により受け付ける受付工程と、
前記情報処理装置の帳票フォームデータ生成手段が、前記受付工程により入力を受け付けたオブジェクトに係る属性情報が設定された帳票フォームデータを生成する帳票フォームデータ生成工程と、
前記情報処理装置の判定手段が、前記オブジェクト設定工程により設定されたオブジェクトが、前記受付工程で、当該オブジェクトの領域についてデータ認識処理を行う選択を受け付けたオブジェクトであるかを判定する判定工程と、
前記情報処理装置の認識情報生成手段が、前記判定工程で、データ認識処理を行う選択を受け付けたオブジェクトであると判定された当該オブジェクトについて、前記受付工程で受け付けた当該オブジェクトに係る属性情報に従って、当該オブジェクトの領域を、データ認識処理を行う領域として設定された、当該オブジェクトのデータ認識処理に係る属性情報を示すデータ認識情報を生成する認識情報生成工程と、
前記情報処理装置の記憶手段が、前記認識情報生成工程により生成されたデータ認識情報を記憶する記憶工程と、
前記情報処理装置の選択受付手段が、前記帳票フォームデータ生成工程により生成された帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成するか否かの選択をユーザの操作により受け付ける選択受付工程と、
前記情報処理装置の印刷データ生成手段が、前記選択受付工程で、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成する選択を受け付けた場合には、当該帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成し、一方、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成しない選択を受け付けた場合には、当該帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加することなく当該帳票フォームデータの印刷データを生成する印刷データ生成工程と、
前記情報処理装置の送信手段が、前記印刷データ生成工程により生成された印刷データをプリンタに印刷させるべく送信する送信工程と、
前記情報処理装置の入力手段が、帳票フォームデータの印刷データが印刷された印刷用紙が読み取られることで得られる読み取りデータを入力する入力工程と、
前記情報処理装置の判断手段が、前記入力工程で入力された読み取りデータに、データ認識情報が付加されているか否か判断する判断工程と、
前記情報処理装置の認識手段が、前記判断工程で当該データ認識情報が付加されていると判断された場合には、当該データ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行い、一方、前記判断工程により当該データ認識情報が付加されていないと判断された場合には、前記記憶工程により記憶された、当該帳票フォームデータのデータ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行う認識工程と、
を含むことを特徴とする情報処理方法。
An information processing method in an information processing apparatus for generating data recognition information used for data recognition processing , in which an object region set in form form data is set as an area for performing data recognition processing,
A display step in which the display unit of the information processing apparatus displays a creation screen for creating the form data;
The object setting means of the information processing apparatus accepts an input of the object to the form form data via the creation screen displayed by the display step according to a user operation, and sets the object to the form form data An object setting process to perform,
For each object set in the object setting step, the reception unit of the information processing apparatus inputs attribute information related to the object and data about the area of the object via the creation screen displayed in the display step. An accepting step of accepting selection of whether or not to perform recognition processing by a user operation;
A form form data generating unit of the information processing apparatus generates a form form data in which attribute information related to the object received by the receiving process is set;
A determination step in which the determination unit of the information processing apparatus determines whether the object set in the object setting step is an object that has received a selection for performing data recognition processing on the area of the object in the reception step;
According to the attribute information related to the object received in the reception step, the recognition information generation unit of the information processing apparatus is determined to be the object that has received the selection for performing the data recognition process in the determination step. A recognition information generating step for generating data recognition information indicating attribute information related to the data recognition processing of the object, the region of the object being set as a region for performing data recognition processing;
A storage step in which the storage means of the information processing apparatus stores the data recognition information generated by the recognition information generation step;
Whether or not the selection accepting unit of the information processing apparatus generates print data of the form form data in which data recognition information of the form form data is added to the form form data generated by the form form data generation step. A selection accepting step of accepting the selection by user operation,
When the print data generation unit of the information processing apparatus receives a selection for generating print data of the form form data to which data recognition information of the form form data is added in the selection receiving step, the form form data On the other hand, the print data of the form form data to which the data recognition information of the form form data is added is generated, while the print data of the form form data to which the data recognition information of the form form data is added is not selected. Is received, the print data generation step for generating the print data of the form form data without adding the data recognition information of the form form data to the form form data,
A transmission step in which the transmission unit of the information processing apparatus transmits the print data generated by the print data generation step to cause the printer to print;
An input step in which the input means of the information processing apparatus inputs read data obtained by reading a print sheet on which print data of form form data is printed;
A determination step in which the determination unit of the information processing apparatus determines whether or not data recognition information is added to the read data input in the input step;
When the recognition unit of the information processing apparatus determines that the data recognition information is added in the determination step, the data recognition process is performed on the read data using the data recognition information, If it is determined by the determination step that the data recognition information is not added, the data recognition processing for the read data is performed using the data recognition information of the form form data stored by the storage step. Recognition process;
An information processing method comprising:
帳票フォームデータに設定されるオブジェクトの領域を、データ認識処理を行う領域として設定された、当該データ認識処理用いられるデータ認識情報を生成する情報処理装置で読み取り実行されるプログラムであって、
前記情報処理装置を、
当該帳票フォームデータを作成するための作成画面を表示する表示手段と、
ユーザの操作に従って、前記表示手段により表示された作成画面を介して、当該帳票フォームデータへのオブジェクトの入力を受け付けて、当該帳票フォームデータに当該オブジェクトを設定するオブジェクト設定手段と、
前記表示手段により表示された作成画面を介して、前記オブジェクト設定手段により設定されたオブジェクトごとに、当該オブジェクトに係る属性情報の入力、及び当該オブジェクトの領域についてデータ認識処理を行うか否かの選択をユーザの操作により受け付ける受付手段と、
前記受付手段により入力を受け付けたオブジェクトに係る属性情報が設定された帳票フォームデータを生成する帳票フォームデータ生成手段と、
前記オブジェクト設定手段により設定されたオブジェクトが、前記受付手段で、当該オブジェクトの領域についてデータ認識処理を行う選択を受け付けたオブジェクトであるかを判定する判定手段と、
前記判定手段で、データ認識処理を行う選択を受け付けたオブジェクトであると判定された当該オブジェクトについて、前記受付手段で受け付けた当該オブジェクトに係る属性情報に従って、当該オブジェクトの領域を、データ認識処理を行う領域として設定された、当該オブジェクトのデータ認識処理に係る属性情報を示すデータ認識情報を生成す認識情報生成手段と、
前記認識情報生成手段により生成されたデータ認識情報を記憶する記憶手段と、
前記帳票フォームデータ生成手段により生成された帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成するか否かの選択をユーザの操作により受け付ける選択受付手段と、
前記選択受付手段で、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成する選択を受け付けた場合には、当該帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成し、一方、当該帳票フォームデータのデータ認識情報を付加した当該帳票フォームデータの印刷データを生成しない選択を受け付けた場合には、当該帳票フォームデータに対して、当該帳票フォームデータのデータ認識情報を付加することなく当該帳票フォームデータの印刷データを生成する印刷データ生成手段と、
前記印刷データ生成手段により生成された印刷データをプリンタに印刷させるべく送信する送信手段と、
帳票フォームデータの印刷データが印刷された印刷用紙が読み取られることで得られる読み取りデータを入力する入力手段と、
前記入力手段で入力された読み取りデータに、データ認識情報が付加されているか否か判断する判断手段と、
前記判断手段で当該データ認識情報が付加されていると判断された場合には、当該データ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行い、一方、前記判断手段により当該データ認識情報が付加されていないと判断された場合には、前記記憶手段により記憶された、当該帳票フォームデータのデータ認識情報を用いて、当該読み取りデータに対するデータ認識処理を行う認識手段として機能させることを特徴とするプログラム。
The area of an object set in the document form data, is set as an area for performing data recognition processing, a program which is read executed by the information processing apparatus for generating data recognition information used for the data recognition processing,
The information processing apparatus;
Display means for displaying a creation screen for creating the form data;
In accordance with an operation of the user, through the creation screen displayed by the display means, it receives an input of the object to the continuous form data, and the object setting means for setting the object to the continuous form data,
For each object set by the object setting means via the creation screen displayed by the display means, input of attribute information related to the object, and selection of whether to perform data recognition processing for the area of the object Accepting means for accepting a user operation,
Form form data generating means for generating form form data in which attribute information related to the object received by the receiving means is set;
A determination unit that determines whether the object set by the object setting unit is an object that has received a selection to perform data recognition processing on a region of the object by the reception unit;
In the determination unit, the determination has been the object as an object that receives the selection for performing data recognition processing, in accordance with attribute information relating to the object received by the receiving unit, an area of the object, performs data recognition processing is set as an area, a recognition information generating unit that generates a data recognition information indicating the attribute information relating to the data recognition processing of the object,
Storage means for storing data recognition information generated by the recognition information generation means;
Selection that accepts selection of whether to generate print data of the form form data to which data recognition information of the form form data is added to the form form data generated by the form form data generation means by user operation Receiving means;
When the selection accepting unit accepts a selection to generate print data of the form form data to which the data recognition information of the form form data is added, the data recognition of the form form data is performed with respect to the form form data. When the print data of the form form data to which the information is added is generated, and when the selection not to generate the print data of the form form data to which the data recognition information of the form form data is added is received, the form form data Print data generation means for generating print data of the form data without adding data recognition information of the form data ;
Transmitting means for transmitting the print data generated by the print data generating means to cause the printer to print;
An input means for inputting read data obtained by reading the print paper on which the print data of the form form data is printed;
Determination means for determining whether or not data recognition information is added to the read data input by the input means;
If it is determined by the determination means that the data recognition information is added, the data recognition processing is performed on the read data using the data recognition information, while the data recognition information is determined by the determination means. If it is determined that is not added, were stored by the storage means, using the data recognition information of the continuous form data, to function as a recognition means for performing data recognition processing for the read data A featured program.
JP2009298052A 2009-12-28 2009-12-28 Information processing apparatus, information processing method, and program Expired - Fee Related JP5589381B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009298052A JP5589381B2 (en) 2009-12-28 2009-12-28 Information processing apparatus, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009298052A JP5589381B2 (en) 2009-12-28 2009-12-28 Information processing apparatus, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2011138322A JP2011138322A (en) 2011-07-14
JP5589381B2 true JP5589381B2 (en) 2014-09-17

Family

ID=44349695

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009298052A Expired - Fee Related JP5589381B2 (en) 2009-12-28 2009-12-28 Information processing apparatus, information processing method, and program

Country Status (1)

Country Link
JP (1) JP5589381B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6281739B2 (en) * 2013-11-13 2018-02-21 富士ゼロックス株式会社 Processing apparatus and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1125209A (en) * 1997-07-04 1999-01-29 Toshiba Corp Information input device, information input method, storage medium, and two-dimensional barcode printing device
JP2003157407A (en) * 2001-11-20 2003-05-30 Dainippon Printing Co Ltd OCR form, form issuing system and form reading system
JP2004056495A (en) * 2002-07-19 2004-02-19 Toppan Forms Co Ltd Form design creation device and form image capture device
JP2006065798A (en) * 2004-08-30 2006-03-09 Canon Inc Document image recognition apparatus, printing apparatus, document image recognition method, and storage medium

Also Published As

Publication number Publication date
JP2011138322A (en) 2011-07-14

Similar Documents

Publication Publication Date Title
JP4436851B2 (en) Printer driver program and image forming apparatus
US8243319B2 (en) Image processing apparatus and computer program product generates and displayed processed image in a stack
JP6525641B2 (en) INFORMATION PROCESSING SYSTEM, CONTROL METHOD, AND COMPUTER PROGRAM
US20090204888A1 (en) Document processing apparatus, document processing method, and storage medium
US8564806B2 (en) Printing apparatus and printing system that provides for a printing product that includes a base file and an attached file
US8516363B2 (en) Image processing apparatus, computer program product, and preview image displaying method
JP2005174260A (en) Document processing apparatus and document processing method
US9424498B2 (en) Information processing apparatus, information processing method, and recording medium for conversion of vendor-specific print data
US8472075B2 (en) Print job management device, print job management method, and computer-readable storage medium
US8477368B2 (en) Printing apparatus and print data processing system combining stored pattern-based print drawing data with newly-received print drawing data
US8355577B2 (en) Image processing apparatus and method
CN102348031B (en) Image processing system, image processing apparatus, method for controlling display of function setting screen
US8437017B2 (en) Printing apparatus and computer program product for displaying bitmap of operation screen from rasterized PDL and controlling layout
JP2015167001A (en) Information processing program, information processing device, information processing system, information processing method, image processor and image processing system
US20120236377A1 (en) Control devices for scanning documents, systems including such control devices, and non-transitory, computer-readable media storing instructions for such control devices
US8941875B2 (en) Image processing system, image processing method, and computer readable recording medium storing program thereof
JP7327041B2 (en) Program, information processing device, image forming device, printing system
JP2012133569A (en) Information processing device, control method and program thereof
JP5589381B2 (en) Information processing apparatus, information processing method, and program
KR20130011250A (en) Host device and work form system, method for generating workform and method for performing workform
JP5604814B2 (en) Information processing apparatus, information processing method, and program
US9336467B2 (en) Information processing apparatus, information processing system, and recording medium
US9626606B2 (en) Data generating apparatus, data generating method, and non-transitory storage medium
JP2007148486A (en) Method for supporting document browsing, system for the same, document processor, and program
EP1806681B1 (en) Print controlling device, image forming device, and print controlling method

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20120130

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120130

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121130

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20130531

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20130531

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140128

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140331

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140701

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140714

R150 Certificate of patent or registration of utility model

Ref document number: 5589381

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees