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
JP7685233B2 - Cardboard document management system - Google Patents
[go: Go Back, main page]

JP7685233B2 - Cardboard document management system - Google Patents

Cardboard document management system Download PDF

Info

Publication number
JP7685233B2
JP7685233B2 JP2022039472A JP2022039472A JP7685233B2 JP 7685233 B2 JP7685233 B2 JP 7685233B2 JP 2022039472 A JP2022039472 A JP 2022039472A JP 2022039472 A JP2022039472 A JP 2022039472A JP 7685233 B2 JP7685233 B2 JP 7685233B2
Authority
JP
Japan
Prior art keywords
information
item
line
image data
information processing
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.)
Active
Application number
JP2022039472A
Other languages
Japanese (ja)
Other versions
JP2023134115A (en
Inventor
紘 佐々木
Original Assignee
アールエフシステム株式会社
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 アールエフシステム株式会社 filed Critical アールエフシステム株式会社
Priority to JP2022039472A priority Critical patent/JP7685233B2/en
Publication of JP2023134115A publication Critical patent/JP2023134115A/en
Application granted granted Critical
Publication of JP7685233B2 publication Critical patent/JP7685233B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)

Description

この発明は、段ボール用証憑管理システムに関し、特に、段ボールの注文書などの証憑の画像データから、証憑に記載された情報の登録処理を文字認識により行う段ボール用証憑管理システムに関する。 This invention relates to a cardboard voucher management system, and in particular to a cardboard voucher management system that uses character recognition to register information written on vouchers, such as cardboard order forms, from image data of the vouchers.

なお、証憑とは、取引や契約の証拠となる書類(書面)の総称であって、たとえば注文書、納品書、請求書、領収書などが証憑に該当する。 Note that a voucher is a general term for documents (written documents) that serve as evidence of a transaction or contract, and examples of vouchers include purchase orders, delivery notes, invoices, and receipts.

従来、段ボールの注文書の画像データを受信して注文情報の登録処理を文字認識により行うシステムが知られている(たとえば、特許文献1参照)。 Conventionally, there is a known system that receives image data of a cardboard order form and registers the order information using character recognition (see, for example, Patent Document 1).

上記特許文献1には、FAX(facsimile)受信手段と、FAX受信手段により受信したFAX文書から相手先コードなどの情報を読み取るOCR(Optical character recognition)機能を有する相手先認識手段とを備える受信FAX管理システムが開示されている。受信FAX管理システムは、発信者のFAX番号、FAXヘッダ部の記録された情報、あるいはOCR機能により、受信したFAX文書の相手先を自動認識してイメージデータベースに格納する。受信した注文FAXを表示するとき、画面の右側に元のイメージデータを表示し、画面の左側にOCR機能により読み取られた注文データを表示する。オペレータは、画面右側のイメージデータを適宜拡大したりスクロールしたりしながら、画面左側の注文データが正しく入力されているかを確認し、間違っていればマウスやキーボード等を用いて修正する。上記特許文献1では、OCR認識精度を向上させるため、OCR用の文字フォントを使用することを求めた専用の定型書類を顧客に使用させることを提案し、非定型の書類のイメージデータは、OCR機能を使用せずにオペレータが情報を手入力することとしている。 The above-mentioned Patent Document 1 discloses a receiving fax management system that includes a fax (facsimile) receiving means and a destination recognition means having an OCR (optical character recognition) function that reads information such as a destination code from a fax document received by the fax receiving means. The receiving fax management system automatically recognizes the destination of a received fax document using the sender's fax number, information recorded in the fax header, or the OCR function, and stores the information in an image database. When displaying a received order fax, the original image data is displayed on the right side of the screen, and the order data read by the OCR function is displayed on the left side of the screen. The operator checks whether the order data on the left side of the screen has been entered correctly by appropriately enlarging or scrolling the image data on the right side of the screen, and if it is incorrect, corrects it using a mouse, keyboard, etc. In the above-mentioned Patent Document 1, in order to improve the accuracy of OCR recognition, it is proposed that customers use dedicated standard documents that require the use of character fonts for OCR, and for image data of non-standard documents, the operator is to manually input the information without using the OCR function.

特開2002-165076号公報JP 2002-165076 A

上記特許文献1のような文字認識(OCR機能)による画像データの読み取りは、オペレータが証憑(または証憑の画像データ)を目視しつつ手入力する場合と比べて、作業効率を格段に改善できる。一方で、注文書などの証憑では、入力ミスがそのまま誤発注などの契約上の問題につながりかねないため、入力ミスを極力抑止する必要がある。文字認識による画像データの読み取りでは十分な精度が得られないことが多いため、証憑データの登録処理ではオペレータによる確認および修正作業が不可欠である。そのため、登録処理の作業効率を改善し、オペレータの作業負担を軽減するために、文字認識による認識精度の向上が望まれる。 Reading image data using character recognition (OCR function) as in Patent Document 1 above can significantly improve work efficiency compared to when an operator manually inputs the evidence (or image data of the evidence) while visually checking it. On the other hand, with evidence such as purchase orders, input errors can directly lead to contractual problems such as incorrect orders, so input errors must be prevented as much as possible. Since reading image data using character recognition often does not provide sufficient accuracy, confirmation and correction work by the operator is essential in the registration process of evidence data. Therefore, it is desirable to improve the recognition accuracy of character recognition in order to improve the work efficiency of the registration process and reduce the workload of the operator.

上記特許文献1においては、OCR用の文字フォントを使用することを求めた専用の定型書類を取引相手に使用させることを提案しているが、通常、取引相手は独自の書式の証憑書類を長年に亘り継続的に使用していることが多く、専用の定型書類に切り替えることは行われにくいため、実用的の問題がある。 The above-mentioned Patent Document 1 proposes that trading partners use dedicated standard documents that require the use of character fonts for OCR, but since trading partners usually have been using document vouchers in their own formats continuously for many years, it is difficult for them to switch to dedicated standard documents, which creates practical problems.

この発明は、上記のような課題を解決するためになされたものであり、この発明の1つの目的は、証憑の画像データからの情報登録処理における文字認識精度を向上させて処理効率を改善することが可能な段ボール用証憑管理システムを提供することである。 This invention has been made to solve the above problems, and one object of the invention is to provide a cardboard voucher management system that can improve processing efficiency by improving character recognition accuracy in the information registration process from image data of vouchers.

本発明のの局面による段ボール用証憑管理システムは、段ボールに関する証憑の画像データを取得する画像取得部と、画像データを表示する表示部と、入力操作を受け付ける入力部と、画像データに含まれる情報の登録処理を行う情報処理部と、証憑の発行者毎の証憑の書式データを予め記録した記憶部と、を備え、情報処理部は、証憑の発行者に応じて記憶部から書式データを選択し、選択した書式データに基づくパラメータで画像データの文字認識処理を実行することにより、証憑の項目毎の認識文字列を取得し、表示部に表示させた入力画面の項目毎に、取得した項目毎の認識文字列を入力する処理を実行するように構成されており、書式データは、証憑の最大行数を含む行情報と、証憑の1行に含まれる項目に関する列情報とを含み、情報処理部は、画像データを表示する画像表示画面と、入力画面とを表示部に表示し、画像表示画面に表示した画像データの1行単位で文字認識し、認識した行に含まれる各項目の認識文字列を入力画面の項目毎に入力する処理を、最大行数に応じて順次実行するように構成されており、行情報は、最大行数に加えて、いずれかの行の上端位置および下端位置の情報と、行間隔の情報とを含み、列情報は、項目毎の左端位置および右端位置の情報を含み、情報処理部は、上端位置および下端位置の情報と、行間隔と、最大行数とに基づいて、証憑の各行を示す第1枠線を、画像表示画面に表示した画像データに重ねて表示し、項目毎の左端位置および右端位置の情報に基づいて、証憑の各項目を示す第2枠線を、画像表示画面に表示した画像データに重ねて表示し、第1枠線内の領域を1行として、第2枠線内に含まれる文字列を項目毎の認識文字列として取得するように構成されている。このように構成すれば、全ての行および項目の位置および範囲を1つ1つ設定することなく、証憑に含まれる各行および各項目の領域を正確に特定できる。また、第1枠線と第2枠線とを画像データに重ねて表示するので、オペレータは、文字認識に用いる書式データが、画像データとして写る証憑の書式と一致しているか否かを、視覚的に確認できる。そのため、仮に誤った書式データが選択された場合にも、オペレータが容易に把握できる。 A cardboard voucher management system according to one aspect of the present invention includes an image acquisition unit that acquires image data of a voucher related to a cardboard box, a display unit that displays the image data, an input unit that accepts input operations, an information processing unit that performs a registration process of information included in the image data, and a storage unit that pre-records format data of the voucher for each issuer of the voucher, and the information processing unit is configured to select format data from the storage unit according to the issuer of the voucher, and perform character recognition processing of the image data with parameters based on the selected format data to acquire recognition character strings for each item of the voucher, and execute a process of inputting the acquired recognition character strings for each item of an input screen displayed on the display unit, and the format data includes row information including the maximum number of rows of the voucher and column information related to items included in one row of the voucher, and the information processing unit controls the image display screen that displays the image data and the input screen. The display unit is configured to display the document on the display screen, recognize characters on a line-by-line basis in the image data displayed on the image display screen, and input the recognized character strings of each item included in the recognized line into the input screen for each item, sequentially executing the process according to the maximum number of lines, the line information including, in addition to the maximum number of lines, information on the top and bottom end positions of any line and information on line spacing, the column information including information on the left and right end positions of each item, the information processing unit is configured to display a first frame line indicating each line of the document superimposed on the image data displayed on the image display screen based on the information on the top and bottom end positions, line spacing, and the maximum number of lines, and to display a second frame line indicating each item of the document superimposed on the image data displayed on the image display screen based on the information on the left and right end positions of each item, and to obtain the character strings included in the second frame line as the recognition character strings for each item, with the area within the first frame line being regarded as one line. With this configuration, it is possible to accurately identify the area of each line and each item included in the document, without setting the positions and ranges of all lines and items one by one. In addition, since the first frame line and the second frame line are displayed superimposed on the image data, the operator can visually check whether the format data used for character recognition matches the format of the evidence captured as the image data. Therefore, even if the wrong format data is selected, the operator can easily understand.

上記の局面による段ボール用証憑管理システムにおいて、好ましくは、書式データは、証憑に含まれる基準線の情報を含み、情報処理部は、文字認識処理の際、画像データ中の基準線を書式データに設定された基準線に一致させるように、画像データの拡大率および回転角度を補正する処理を行うように構成されている。このように、証憑に含まれる基準線の情報を予め書式データに設定しておき、画像データ中の基準線を書式データの基準線と一致させることによって、画像データ中の文字サイズ、傾き、行間隔、項目(列)の幅、といった要素を書式データの設定に用いた見本(テンプレート)と一致させることができる。この結果、画像データ中の証憑のサイズや方向を一定に揃えた上で、書式データによって最適化された文字認識処理を適用できるので、高い認識精度を維持できる。 In the cardboard voucher management system according to the above aspect, the format data preferably includes information on the reference line included in the voucher, and the information processing unit is configured to perform a process of correcting the magnification rate and rotation angle of the image data during character recognition processing so that the reference line in the image data matches the reference line set in the format data. In this way, by setting the information on the reference line included in the voucher in advance in the format data and matching the reference line in the image data with the reference line in the format data, elements such as character size, inclination, line spacing, and item (column) width in the image data can be matched with the sample (template) used to set the format data. As a result, the size and direction of the voucher in the image data can be made constant, and character recognition processing optimized by the format data can be applied, so high recognition accuracy can be maintained.

上記の局面による段ボール用証憑管理システムにおいて、好ましくは、書式データは、証憑に含まれる項目毎の文字間隔情報を含み、情報処理部は、文字認識処理の際、画像データ中の文字間隔を文字間隔情報に基づいて調整する処理を、画像データの項目毎に実行するように構成されている。ここで、発行者が証憑を発行する際に使用したフォントおよび文字ピッチによっては、隣接する文字を分離して認識しにくくなる場合があり、認識精度低下の要因となる。そこで、上記構成では、文字認識処理に適した文字間隔に調整する前処理を行うことができる。また、証憑の項目毎に、使用される文字種(数字、アルファベット、カナ漢字など)が決まっていることから、項目単位で文字間隔情報を設定することによって、文字種に応じた最適な文字間隔に調整できる。これらにより、文字認識の精度をさらに効果的に向上させることができる。 In the cardboard voucher management system according to the above aspect, the format data preferably includes character spacing information for each item included in the voucher, and the information processing unit is configured to execute a process of adjusting character spacing in the image data based on the character spacing information for each item of the image data during character recognition processing. Here, depending on the font and character pitch used when the issuer issues the voucher, it may be difficult to separate and recognize adjacent characters, which causes a decrease in recognition accuracy. Therefore, in the above configuration, a pre-processing can be performed to adjust the character spacing to a level suitable for character recognition processing. In addition, since the character type (numbers, alphabet, kana/kanji, etc.) used is determined for each item of the voucher, the character spacing can be adjusted to an optimal level according to the character type by setting the character spacing information for each item. As a result, the accuracy of character recognition can be further effectively improved.

上記の局面による段ボール用証憑管理システムにおいて、好ましくは、記憶部は、ダンボールシートとダンボールケースとを含む段ボールの種別情報に対応して、種別情報毎に書式データを記憶し、情報処理部は、証憑の種別情報に応じて記憶部から書式データを選択するように構成されている。このように構成すれば、段ボールの種別毎に独自の項目がある場合にも、それぞれの項目毎の文字認識および情報入力を適切に行える。 In the cardboard voucher management system according to the above aspect, the storage unit is preferably configured to store format data for each type of cardboard, including cardboard sheets and cardboard cases, and the information processing unit is configured to select format data from the storage unit according to the type of voucher. With this configuration, even if each type of cardboard has its own unique items, character recognition and information input for each item can be performed appropriately.

上記の局面による段ボール用証憑管理システムにおいて、好ましくは、情報処理部は、いずれかの項目に入力された認識文字列に対して、入力部を介して修正の入力操作を受け付けた場合、修正前文字列と修正後文字列とを対応付けて記憶部に記録し、文字認識により取得した認識文字列が記憶部に記録された修正前文字列に該当する場合、対応する修正後文字列に置換する処理を行うように構成されている。このように構成すれば、文字認識処理において誤認識が発生し、オペレータによって入力情報の修正が行われた場合でも、その後の文字認識処理において同じ修正前文字列が認識された場合に自動的に修正後文字列に置換することができる。これにより、オペレータの作業負担を効果的に軽減できる。また、取引の度に発行される証憑では、一定の文字列(たとえば商品名、納品場所など)が頻繁に記載されるという事情があるため、修正前文字列を修正後文字列に置換するという簡単な処理で、誤入力を効果的に抑制できる。 In the cardboard voucher management system according to the above aspect, preferably, the information processing unit is configured to, when receiving an input operation of correction via the input unit for a recognized character string input in any of the items, record the pre-correction character string and the post-correction character string in association with each other in the storage unit, and, when the recognized character string obtained by character recognition corresponds to the pre-correction character string recorded in the storage unit, perform a process of replacing it with the corresponding post-correction character string. With this configuration, even if a misrecognition occurs in the character recognition process and the operator corrects the input information, if the same pre-correction character string is recognized in the subsequent character recognition process, it can be automatically replaced with the post-correction character string. This effectively reduces the operator's workload. In addition, since certain character strings (e.g., product name, delivery location, etc.) are frequently written in the voucher issued for each transaction, the simple process of replacing the pre-correction character string with the post-correction character string can effectively suppress erroneous input.

本発明によれば、上記のように、証憑の画像データからの情報登録処理における文字認識精度を向上させて処理効率を改善することが可能な段ボール用証憑管理システムを提供することができる。 As described above, the present invention provides a cardboard voucher management system that can improve processing efficiency by improving character recognition accuracy in the information registration process from image data of vouchers.

一実施形態による段ボール用証憑管理システムの全体構成を示した模式図である。1 is a schematic diagram showing the overall configuration of a cardboard voucher management system according to one embodiment; 画像表示画面および入力画面の表示例(ケース注文書)を示した図である。13A and 13B are diagrams showing examples of display (case order form) on an image display screen and an input screen. 画像表示画面および入力画面の表示例(シート注文書)を示した図である。13A and 13B are diagrams showing examples of display (sheet order form) on an image display screen and an input screen; 書式データを説明するための図である。FIG. 2 is a diagram for explaining format data. 書式データの設定登録画面の例を示した図である。FIG. 13 is a diagram showing an example of a format data setting and registration screen. 文字間隔の調整処理を説明するための図である。11A and 11B are diagrams for explaining adjustment processing of character spacing. 基準線の情報の設定方法を説明するための図である。FIG. 13 is a diagram for explaining a method for setting information on a reference line. 書式データの元になった画像データ(A)、新たに取得された画像データ(B)、第2の基準線による調整の例を説明するための画像データ(C)を示した図である。13A shows image data that is the basis of the format data, (B) newly acquired image data, and (C) image data for explaining an example of adjustment using a second reference line. FIG. 画像データに対する文字認識処理を説明するための模式図である。1A and 1B are schematic diagrams for explaining character recognition processing for image data. 入力値に異常値(エラー)が含まれた場合の報知処理の例を示した模式図である。11 is a schematic diagram showing an example of a notification process when an input value includes an abnormal value (error). FIG. 置換テーブルを説明するための初回認識時の文字列(A)、置換テーブル(B)、次回以降の認識時の文字列(C)を示した模式図である。1A is a schematic diagram illustrating a substitution table showing a character string at the time of initial recognition (A), a substitution table (B), and a character string at subsequent recognition times (C). FIG. 注文情報の登録処理を示したフローチャートである。13 is a flowchart showing a registration process of order information. 受信FAX一覧画面の例を示した模式図である。FIG. 13 is a schematic diagram showing an example of a received fax list screen. 図12のOCR登録処理の流れを示したフローチャートである。13 is a flowchart showing the flow of the OCR registration process in FIG. 12 . 検証処理を説明するための模式図である。FIG. 11 is a schematic diagram for explaining a verification process. 注文請書画像の例を示した模式図である。FIG. 13 is a schematic diagram showing an example of an order confirmation image.

以下、本発明を具体化した実施形態を図面に基づいて説明する。 The following describes an embodiment of the present invention with reference to the drawings.

まず、図1~図11を参照して、本実施形態による段ボール用証憑管理システム1の構成について説明を行う。図1に示すように、段ボール用証憑管理システム1は、取引相手から受領した証憑6の画像データ50に対する文字認識処理を行うことにより、証憑6の記載事項をデータベースへ登録し、証憑6の情報を管理するためのシステムである。 First, the configuration of the cardboard evidence management system 1 according to this embodiment will be described with reference to Figs. 1 to 11. As shown in Fig. 1, the cardboard evidence management system 1 is a system for managing the information on the evidence 6 by performing character recognition processing on image data 50 of the evidence 6 received from a trading partner, thereby registering the information on the evidence 6 in a database.

段ボール用証憑管理システム1が管理する証憑6は、ケース状またはシート状の段ボールを商品とする取引に関わる注文書、納品書、請求書、領収書などの書類であるが、他の証憑であってもよい。以下では、証憑の一例として、顧客から受領したケース状またはシート状の段ボールの注文書を例示し、注文書の記載事項(注文内容)を、管理サーバ4のデータベースに登録する処理を行う構成について説明する。 The vouchers 6 managed by the cardboard voucher management system 1 are documents such as order forms, delivery notes, invoices, and receipts related to transactions involving case-shaped or sheet-shaped cardboard as products, but may be other vouchers. Below, an order form for case-shaped or sheet-shaped cardboard received from a customer is given as an example of a voucher, and a configuration is described for performing a process of registering the information written on the order form (order contents) in the database of the management server 4.

段ボール用証憑管理システム1は、受信部2と、情報処理端末3と、管理サーバ4と、を備える。また、段ボール用証憑管理システム1は、画像読取部5を備えている。受信部2および画像読取部5は、特許請求の範囲の「画像取得部」の一例である。 The cardboard voucher management system 1 includes a receiving unit 2, an information processing terminal 3, and a management server 4. The cardboard voucher management system 1 also includes an image reading unit 5. The receiving unit 2 and the image reading unit 5 are an example of the "image acquisition unit" in the claims.

(受信部)
受信部2は、段ボールに関する証憑(段ボールの注文書)の画像データ50を取得する。具体的には、受信部2は、電話回線を通じて顧客からFAX送信された画像データ50を受信するFAXモデムを含む。受信部2は、電話回線を通じて受信したFAX信号を変換してFAX画像データを生成し、管理サーバ4に出力する。また、受信部2は、管理サーバ4または情報処理端末3から送信すべきFAX画像データを取得すると、取得したFAX画像データをFAX信号に変換して電話回線を通じて送信する。
(Receiving section)
The receiving unit 2 acquires image data 50 of a voucher (order form for cardboard boxes) related to the cardboard boxes. Specifically, the receiving unit 2 includes a fax modem that receives image data 50 transmitted by fax from a customer over a telephone line. The receiving unit 2 converts a fax signal received over the telephone line to generate fax image data, and outputs the fax image data to the management server 4. Furthermore, when the receiving unit 2 acquires fax image data to be transmitted from the management server 4 or the information processing terminal 3, it converts the acquired fax image data into a fax signal and transmits the fax signal over the telephone line.

(画像読取部)
画像読取部5は、段ボールに関する証憑6(段ボールの注文書)の画像データ50を取得する。具体的には、画像読取部5は、印刷された注文書を光学的に読み取りデジタルデータ(画像情報)に変換することにより、注文書の画像データ50を生成するように構成されている。画像読取部5は、イメージスキャナである。画像読取部5は、読み取った画像データ50を情報処理端末3に出力する。読み取られた画像データ50は、情報処理端末3を介して管理サーバ4に送信される。受信部2と画像読取部5とは、たとえば複合機(FAX、スキャナ、コピー、プリンターの各機能を備えた事務機器)として一体的に構成されていてもよい。
(Image reading unit)
The image reading unit 5 acquires image data 50 of a voucher 6 (order form for cardboard) relating to the cardboard box. Specifically, the image reading unit 5 is configured to generate image data 50 of the order form by optically reading the printed order form and converting it into digital data (image information). The image reading unit 5 is an image scanner. The image reading unit 5 outputs the read image data 50 to the information processing terminal 3. The read image data 50 is transmitted to the management server 4 via the information processing terminal 3. The receiving unit 2 and the image reading unit 5 may be configured integrally as, for example, a multifunction machine (an office machine having the functions of a fax, scanner, copy, and printer).

(管理サーバ)
管理サーバ4は、段ボール用証憑管理システム1において証憑6に記載された情報の登録受け付けおよび管理を行う。管理サーバ4は、ネットワークを介して情報処理端末3と接続されている。管理サーバ4は、受信部2と接続されている。管理サーバ4は、記憶部4aを備えている。
(Management Server)
The management server 4 accepts and manages the registration of information described on the evidence 6 in the cardboard evidence management system 1. The management server 4 is connected to the information processing terminal 3 via a network. The management server 4 is connected to the receiving unit 2. The management server 4 includes a memory unit 4a.

記憶部4aは、登録された情報を記録する登録用データベース41を記憶している。記憶部4aは、受信部2および画像読取部5の各々で生成された証憑6(注文書)の画像データ50を記録する画像用データベース42を記憶している。 The memory unit 4a stores a registration database 41 that records registered information. The memory unit 4a stores an image database 42 that records image data 50 of the evidence 6 (order form) generated by each of the receiving unit 2 and the image reading unit 5.

画像用データベース42には、証憑6の発行者(取引相手)毎に個別のフォルダが作成されている。管理サーバ4は、画像データ50を該当する発行者(取引相手)のフォルダに仕分けて記録するように構成されている。 In the image database 42, a separate folder is created for each issuer (transaction partner) of the evidence 6. The management server 4 is configured to sort and record the image data 50 in the folder for the corresponding issuer (transaction partner).

注文書の画像データ50が取得されると、段ボール用証憑管理システム1は、情報処理端末3により、注文書に記載された注文情報R(図2参照)を登録用データベース41に登録する登録処理を行う。登録処理において、管理サーバ4は、情報処理端末3からのアクセス要求に応じて、画像用データベース42に記録した注文書の画像データ50を情報処理端末3に送信する。登録担当者(オペレータ)が、情報処理端末3を用いて、注文書に記載された注文情報Rの登録処理の作業を行う。管理サーバ4は、登録処理によって入力された注文情報R(後述する注文内容データR2)を情報処理端末3から受信する。管理サーバ4は、受信した注文情報Rと、その注文情報Rに対して割り当てた受注番号Abとを関連付けた受注登録データ41aを、登録用データベース41に記録するように構成されている。受注番号Abは、1件の注文情報Rに対して1つ割り当てられるユニークな識別情報である。 When the image data 50 of the order form is acquired, the cardboard voucher management system 1 performs a registration process to register the order information R (see FIG. 2) described on the order form in the registration database 41 using the information processing terminal 3. In the registration process, the management server 4 transmits the image data 50 of the order form recorded in the image database 42 to the information processing terminal 3 in response to an access request from the information processing terminal 3. The person in charge of registration (operator) uses the information processing terminal 3 to perform the registration process of the order information R described on the order form. The management server 4 receives the order information R (order content data R2 described later) input by the registration process from the information processing terminal 3. The management server 4 is configured to record the order registration data 41a that associates the received order information R with the order number Ab assigned to the order information R in the registration database 41. The order number Ab is a unique identification information assigned to one piece of order information R.

本実施形態では、記憶部4aは、登録処理に先だって、証憑6の発行者毎の証憑の書式データ43を予め記録している。書式データ43は、証憑の記載形式(書式)を定義するデータであり、証憑の画像データ50に対する文字認識処理(OCR処理)を実行するための各種パラメータを含む。 In this embodiment, prior to the registration process, the storage unit 4a pre-records the format data 43 of the evidence for each issuer of the evidence 6. The format data 43 is data that defines the description format (format) of the evidence, and includes various parameters for performing character recognition processing (OCR processing) on the image data 50 of the evidence.

この他、管理サーバ4は、注文書の画像データ50に受注登録が完了したことを示す情報を追記することにより生成した注文請書画像70を画像用データベース42に記録するように構成されている。管理サーバ4は、受信部2を介して、生成された注文請書画像70を注文書の発信者(顧客)に返信するように構成されている。管理サーバ4は、複数の注文請書画像70を一括で送信すること、および個々の注文請書画像70に登録担当者のコメントなどを付与して個別送信すること、が可能である。 In addition, the management server 4 is configured to record in the image database 42 an order confirmation image 70 that is generated by adding information indicating that the order registration has been completed to the image data 50 of the order form. The management server 4 is configured to return the generated order confirmation image 70 to the sender (customer) of the order form via the receiving unit 2. The management server 4 is capable of sending multiple order confirmation images 70 all at once, and sending each order confirmation image 70 individually with comments from the person in charge of registration, etc. added to it.

管理サーバ4は、プロセッサ、メモリ、不揮発性の記憶装置、通信インターフェース、などを含むコンピュータにより構成されている。不揮発性の記憶装置が、記憶部4aを構成している。記憶装置に記憶された受注登録管理用ソフトウェアをプロセッサが実行することにより、コンピュータが管理サーバ4として機能する。 The management server 4 is composed of a computer including a processor, memory, a non-volatile storage device, a communication interface, etc. The non-volatile storage device constitutes the storage unit 4a. The computer functions as the management server 4 by the processor executing the order registration management software stored in the storage device.

(情報処理端末)
情報処理端末3は、管理サーバ4により受信された注文書の画像データ50に記載された注文情報Rの登録処理を行うように構成されている。段ボール用証憑管理システム1は、少なくとも1つの情報処理端末3を備える。図1の例では、複数(3つ)の情報処理端末3が設けられた例を示している。
(Information processing terminal)
The information processing terminal 3 is configured to perform a registration process of the order information R described in the image data 50 of the order form received by the management server 4. The cardboard voucher management system 1 includes at least one information processing terminal 3. In the example of Fig. 1, a plurality of (three) information processing terminals 3 are provided.

各情報処理端末3は、基本構成として、画像データ50を表示する表示部31と、入力操作を受け付ける入力部32と、画像データ50に含まれる情報の登録処理を行う情報処理部33と、を含む。図1の右端の情報処理端末3のように、複数台の表示部31(第1表示部31a、第2表示部31b)を備えていてもよい。右端の情報処理端末3は、画像読取部5と接続されている。他の情報処理端末3にも画像読取部5を1台ずつ設けてもよい。情報処理端末3の基本構成は同一であるので、複数の情報処理端末3のうちの1つを例に挙げて説明を行う。 Each information processing terminal 3 includes, as its basic configuration, a display unit 31 that displays image data 50, an input unit 32 that accepts input operations, and an information processing unit 33 that performs registration processing of information included in the image data 50. As with the information processing terminal 3 on the right side of FIG. 1, it may be equipped with multiple display units 31 (first display unit 31a, second display unit 31b). The information processing terminal 3 on the right side is connected to an image reading unit 5. Each of the other information processing terminals 3 may also be provided with an image reading unit 5. Since the basic configuration of the information processing terminals 3 is the same, an explanation will be given by taking one of the multiple information processing terminals 3 as an example.

情報処理端末3は、PC(Personal Computer)により構成される。情報処理部33が、CPU(Central Processing Unit)、HDD(Hard Disc Drive)、メモリ、および通信インターフェースなどを含むPC本体により構成される。CPUが、HDDに格納された制御プログラムを実行することによって、情報処理部33としての機能を実行する。表示部31は、たとえば液晶モニタなどの画像表示装置からなり、情報処理部33の画像出力に基づき画面表示を行う。入力部32は、登録担当者の操作入力を受け付けるキーボードおよびマウスなどからなる。 The information processing terminal 3 is composed of a PC (Personal Computer). The information processing unit 33 is composed of a PC main body including a CPU (Central Processing Unit), HDD (Hard Disc Drive), memory, and a communication interface. The CPU executes a control program stored in the HDD to perform the functions of the information processing unit 33. The display unit 31 is composed of an image display device such as a liquid crystal monitor, and displays an image on the screen based on the image output of the information processing unit 33. The input unit 32 is composed of a keyboard, mouse, etc. that accept operational inputs from the person in charge of registration.

本実施形態では、情報処理部33は、注文情報Rの登録処理に際して、(1)証憑の発行者に応じて記憶部4aから書式データ43を選択し、(2)選択した書式データ43に基づくパラメータで画像データ50の文字認識処理を実行することにより、証憑の項目毎の認識文字列85(図2参照)を取得し、(3)表示部31に表示させた入力画面62(図2参照)の項目毎に、取得した項目毎の認識文字列85を入力する処理を実行するように構成されている。 In this embodiment, the information processing unit 33 is configured to, during the registration process of the order information R, (1) select format data 43 from the memory unit 4a according to the issuer of the voucher, (2) execute character recognition processing of the image data 50 using parameters based on the selected format data 43 to obtain a recognition character string 85 (see FIG. 2) for each item of the voucher, and (3) execute processing to input the obtained recognition character string 85 for each item of the input screen 62 (see FIG. 2) displayed on the display unit 31.

文字認識処理とは、画像データ50に含まれる文字の像を文字データ(文字コード)に変換する処理であり、いわゆるOCR(Optical character recognition)処理である。情報処理部33には、文字認識処理を行うプログラム(文字認識エンジン)がインストールされている。 The character recognition process is a process of converting the image of a character contained in the image data 50 into character data (character code), and is known as OCR (Optical character recognition) processing. A program (character recognition engine) that performs the character recognition process is installed in the information processing unit 33.

本実施形態では、登録担当者は、注文書の画像データ50に含まれる情報を1つ1つ手入力で登録する作業を行う必要がない。登録担当者は、文字認識処理によって入力画面62に自動入力された項目毎のデータと、注文書の画像データ50に記載された情報の内容とが一致していることを確認し、不一致部分について手入力で修正する作業を行う。なお、本実施形態では、情報処理部33は、モード切り替えによって、登録作業を全て登録担当者の手入力によって実行するモードを実行することも可能である。 In this embodiment, the registration clerk does not need to manually register each piece of information contained in the image data 50 of the order form. The registration clerk checks whether the data for each item automatically entered into the input screen 62 by character recognition processing matches the information written in the image data 50 of the order form, and manually corrects any inconsistencies. Note that in this embodiment, the information processing unit 33 can also switch modes to execute a mode in which all registration work is performed by the registration clerk through manual input.

〈画像表示画面および入力画面〉
情報処理部33は、登録処理を行う際、図2に示すように、画像データ50を表示する画像表示画面61と、入力画面62とを表示部31に表示する。
<Image display screen and input screen>
When performing the registration process, the information processing section 33 displays an image display screen 61 for displaying the image data 50 and an input screen 62 on the display section 31, as shown in FIG.

情報処理部33は、登録担当者により選択された注文書の画像データ50を、情報処理部33が管理サーバ4から取得して、画像表示画面61に表示させる。 The information processing unit 33 acquires image data 50 of the order form selected by the registration clerk from the management server 4 and displays it on the image display screen 61.

入力画面62は、注文書に記載された注文情報Rを入力するための各入力エリア(63a~63f)が設けられた画面である。登録処理は、画像表示画面61に表示させた注文書の画像データ50の記載内容(注文情報R)を、項目毎に、入力画面62の対応する入力エリア(63a~63f)へ入力することにより行われる。 The input screen 62 is a screen that has input areas (63a to 63f) for inputting the order information R written on the order form. The registration process is performed by inputting the contents (order information R) written on the image data 50 of the order form displayed on the image display screen 61, item by item, into the corresponding input areas (63a to 63f) on the input screen 62.

情報処理部33は、画像表示画面61と入力画面62とを並べて表示させる。このとき、情報処理部33は、1つの表示部31に画像表示画面61と入力画面62との両方を表示させてもよいし。図1の右側の情報処理端末3のように、マルチディスプレイの形態で、第1表示部31aと第2表示部31bとにそれぞれ画像表示画面61と入力画面62とを表示させてもよい。 The information processing unit 33 displays the image display screen 61 and the input screen 62 side by side. At this time, the information processing unit 33 may display both the image display screen 61 and the input screen 62 on one display unit 31. As in the information processing terminal 3 on the right side of FIG. 1, the information processing unit 33 may display the image display screen 61 and the input screen 62 on the first display unit 31a and the second display unit 31b, respectively, in a multi-display format.

図2において、画像表示画面61は、画像データ50の表示領域と、種別選択ボタン61a、書式選択ボタン61b、設定ボタン61c、OCRボタン61d、終了ボタン61eなどを含む。登録担当者が、種別選択ボタン61aによって注文の種別を選択し、書式選択ボタン61bによって書式データ43を選択し、OCRボタン61dを入力(クリック)することによって、画像表示画面61に表示させた画像データ50に対する文字認識処理を実行することができる。なお、後述するように、情報処理部33は、書式選択ボタン61bの操作入力によらずに、画像データ50中の画像要素(後述する基準線83)に基づいて、画像データ50に対応した書式データ43を自動的に選択することができる。 In FIG. 2, the image display screen 61 includes a display area for the image data 50, a type selection button 61a, a format selection button 61b, a setting button 61c, an OCR button 61d, and an end button 61e. The registration clerk can select the type of order using the type selection button 61a, select the format data 43 using the format selection button 61b, and input (click) the OCR button 61d to execute character recognition processing on the image data 50 displayed on the image display screen 61. As will be described later, the information processing unit 33 can automatically select the format data 43 corresponding to the image data 50 based on an image element (a reference line 83 described later) in the image data 50, without relying on the operation input of the format selection button 61b.

図2の画像表示画面61には、注文書の画像データ50の一例を示している。注文書には、1件または複数件の注文情報Rが含まれる。注文書は、段ボール業界の商慣行として、1件の注文情報Rが単位行ごとに表示される。図2の例では、1行につき1件の注文情報Rが記載されている。なお、注文情報Rの項目が多い場合などは、1行が複数段(たとえば上下2段)で1件の注文情報Rが記載されうる。 The image display screen 61 in Figure 2 shows an example of image data 50 of an order form. An order form contains one or more pieces of order information R. As a business practice in the cardboard industry, an order form displays one piece of order information R per unit line. In the example in Figure 2, one piece of order information R is listed per line. Note that if there are many items in the order information R, one piece of order information R may be listed in multiple lines (for example, two lines, one above the other) per line.

〈ケース注文書〉
図2は、ケース状の段ボール商品についてのケース注文書の例を示している。注文書の画像データ50には、画像中の上方かつ左右方向の中央に「ケース注文書」という記載が配置されている。ケース状の段ボール商品は、段ボールに必要な印字(会社名や梱包される商品名など)が施され、ケース状に組み立てられるように切り込みや折り曲げ線が付与された段ボールである。
Case Order Form
2 shows an example of a case order for a case-shaped cardboard product. In the image data 50 of the order, the words "Case Order" are placed at the top and in the center in the horizontal direction. A case-shaped cardboard product is a cardboard box on which necessary printing (such as the company name and the name of the product to be packaged) is performed and on which cuts and fold lines are provided so that the cardboard box can be assembled into a case.

注文書には、注文情報Rの他、注文書を発行した発行者(発注者)を特定するための発行者情報R1(たとえば、会社名など)が記載されている。注文情報Rは、顧客からの注文内容を表す情報である。1件の注文情報Rは、複数の項目の情報からなる。図2の例では、注文情報Rは、「発注番号」の項目51a、「商品番号」の項目51b、「商品名」の項目51c、「数量」の項目51d、「納期」の項目51e、および、「(納入)場所」の項目51fの各項目を含んでいる。 In addition to order information R, the purchase order contains issuer information R1 (such as a company name) to identify the issuer (orderer) who issued the purchase order. Order information R is information that describes the contents of the order from the customer. One piece of order information R consists of multiple items of information. In the example of Figure 2, order information R includes the following items: "Order number" item 51a, "Product number" item 51b, "Product name" item 51c, "Quantity" item 51d, "Delivery date" item 51e, and "(Delivery) location" item 51f.

項目51aの「発注番号」は、発注者が注文を特定するための番号である。項目51bの「商品番号」は、段ボール商品に一意に割り当てられた識別番号である。項目51cの「商品名」は、段ボール商品の名称である。商品番号と商品名とは、基本的に一対一対応している。そのため、1件の注文情報Rには、項目51bおよび項目51cのいずれか一方のみが記載されている場合がある。項目51dの「数量」は、注文した段ボール商品の個数である。項目51eの、「納期」は、注文した商品を発注者に納入する期限の指定である。項目51fの「(納入)場所」は、商品を発注者に納入する場所の指定である。 Item 51a's "Order number" is a number used by the purchaser to identify the order. Item 51b's "Product number" is an identification number uniquely assigned to the cardboard product. Item 51c's "Product name" is the name of the cardboard product. Product numbers and product names basically have a one-to-one correspondence. Therefore, one piece of order information R may contain only one of items 51b and 51c. Item 51d's "Quantity" is the number of cardboard products ordered. Item 51e's "Delivery date" specifies the deadline for delivering the ordered product to the purchaser. Item 51f's "(Delivery) location" specifies the location where the product is delivered to the purchaser.

図2の例では、注文書の画像データ50には、発行者情報R1である「×××段ボール株式会社」が記載されている。また、たとえば1件目(1行目)の注文情報Rであれば、項目51aに「201703」、項目51bに「101」、項目51cに「新製品 タトウ式」、項目51dに「100」、項目51eに「12月16日 8:00」、項目51fに「XX工場」の文字列が記載されている。図2の例では、ケース注文書は、最大10件(10行)の注文情報Rを含み得る書式で記載され、1件目~8件目までの注文情報Rが記載されている。発注者によっては、ケース注文書について「備考」の項目や、「出荷特記」の項目がさらに記載されている場合がある。 In the example of FIG. 2, the image data 50 of the order form lists the issuer information R1, "XXX Cardboard Co., Ltd." For example, the first order information R (first line) has the text strings "201703" in item 51a, "101" in item 51b, "New Product Tato Type" in item 51c, "100" in item 51d, "December 16th, 8:00" in item 51e, and "XX Factory" in item 51f. In the example of FIG. 2, the case order form is written in a format that can contain up to 10 pieces of order information R (10 lines), and the first to eighth pieces of order information R are listed. Depending on the purchaser, the case order form may also have "remarks" and "shipping notes" fields.

種別選択ボタン61aで「ケース受注」が選択されると、ケース注文書の入力画面62が表示される。ケース注文書の入力画面62には、注文情報Rに含まれる各項目51a~51fに対応した複数の入力エリア63a~63fが表示される。入力エリアの数は、ケース注文書の項目数に応じて、発注者毎に書式データ43(図1参照)に設定される。複数の入力エリア63a~63fは、入力画面62において縦方向に沿って並べて表示されている。注文が受注登録データ41aとして登録された後は、入力画面62は、登録された受注内容を表示することにより、閲覧、確認用の表示画面としても機能する。入力画面62は、1ページが1件の注文内容(受注登録データ41a)を示し、注文書に記載された注文情報Rの数だけのページを含む。入力画面62の右上隅に、注文書の何行目(何件目)の注文内容のページであるかが表示(図2では「1行目」が表示)される。 When "Case Order" is selected with the type selection button 61a, the case order input screen 62 is displayed. On the case order input screen 62, multiple input areas 63a to 63f corresponding to each item 51a to 51f included in the order information R are displayed. The number of input areas is set in the format data 43 (see FIG. 1) for each purchaser according to the number of items on the case order. The multiple input areas 63a to 63f are displayed aligned vertically on the input screen 62. After the order is registered as the order registration data 41a, the input screen 62 also functions as a display screen for viewing and confirmation by displaying the registered order contents. The input screen 62 shows one order content (order registration data 41a) per page, and includes as many pages as the number of order information R listed on the order form. The top right corner of the input screen 62 displays which line (which item) of the order content is on the order form (in FIG. 2, "first line" is displayed).

受注登録データ41a(図1参照)は、注文書の画像データ50に記載された注文情報Rに基づいて登録される段ボールの受注内容を示す登録情報である。具体的には、受注登録データ41aは、発行者情報R1、注文内容データR2、および、注釈情報R3などを含む情報である。注文内容データR2は、注文書の画像データ50に記載された注文情報Rが登録処理により入力された情報であり、注文情報Rと一致する。注釈情報R3は、注文内容に対して登録担当者が記入する注釈(コメント)のデータである。この他、受注登録データ41aは、登録を担当した担当者情報Aaと、注文内容データR2ごとに割り振られる受注番号Abとを含む。 The order registration data 41a (see FIG. 1) is registration information indicating the order contents of the cardboard box that is registered based on the order information R described in the order form image data 50. Specifically, the order registration data 41a includes issuer information R1, order content data R2, and annotation information R3. The order content data R2 is the order information R described in the order form image data 50 that is entered by the registration process, and matches the order information R. The annotation information R3 is annotation (comment) data entered by the person in charge of registration for the order contents. In addition, the order registration data 41a includes information Aa about the person in charge of registration, and an order number Ab assigned to each order content data R2.

また、入力画面62には、ログイン処理に基づき、登録を担当する担当者情報Aaが予め表示される。同様に、入力画面62には、発行者情報R1(顧客番号R11)が表示される。発行者情報R1(顧客番号R11)は、FAX受信された注文書であれば、発信者FAX番号またはFAXヘッダ情報に基づいて特定され、自動的に入力される。発信者FAX番号等から発行者を特定できない場合、または、印刷された注文書を画像読取部5によって画像化した場合では、担当者(登録担当者)が手入力する方法、担当者が得意先データベース(管理サーバ4に記憶された顧客のデータベース)から選択する方法、画像データ50から文字認識処理により読み取る方法、のいずれかによって発行者情報R1(顧客番号R11)を入力できる。 In addition, the input screen 62 displays in advance information Aa about the person in charge of registration based on the login process. Similarly, the input screen 62 displays issuer information R1 (customer number R11). If the order form is received by fax, issuer information R1 (customer number R11) is identified based on the sender fax number or fax header information and is automatically entered. If the issuer cannot be identified from the sender fax number, etc., or if the printed order form is imaged by the image reading unit 5, issuer information R1 (customer number R11) can be entered by the person in charge (registration person) manually entering it, by the person in charge selecting it from a customer database (a database of customers stored in the management server 4), or by reading it from the image data 50 using character recognition processing.

〈シート注文書の例〉
図3は、シート状の段ボール商品についてのシート注文書の例を示す。図3に示す注文書の画像データ50には、紙面上方かつ紙面左右方向の中央に「シート注文書」という記載が配置されている。注文書の画像データ50には、発行者情報R1(「XXX段ボール株式会社」)と、注文情報Rとが配置されている。シート状の段ボール商品は、折り曲げ線の形成、カットが行われる前のシート状態の段ボールである。
<Example of sheet order form>
Fig. 3 shows an example of a sheet order form for a sheet-like cardboard product. In the image data 50 of the order form shown in Fig. 3, the words "sheet order form" are located at the top of the page and in the center in the left-right direction of the page. In the image data 50 of the order form, issuer information R1 ("XXX Cardboard Co.") and order information R are located. A sheet-like cardboard product is cardboard in a sheet state before folding lines are formed and cutting is performed.

図15の例では、注文情報Rは、「発注番号」の項目52a、「商品番号」の項目52b、「段(フルート)」の項目52c、「紙質」の項目52d、「寸法(巾×流れ)」の項目52e、「数量(枚数)」の項目52f、「罫線」の項目52g、「納期」の項目52h、および、「(納入)場所」の項目52iの各項目を含んでいる。「発注番号」、「商品番号」、「(納入)場所」、「納期」の各項目は、ケース注文書と同様である。項目52cの「段(フルート)」は、A段、B段、AB段などの段ボールに形成される段の仕様を示し、項目52dの「紙質」は、使用する段ボール原紙の種類を示す。項目52eの「寸法」は、段ボールシートの1枚の寸法である。項目52gの「罫線」は、製函のための折曲線の位置を示す。図3では記載していないが、シート注文書のその他の項目としては、たとえば、丁取(1枚の段ボールシートから打ち抜ける数)、備考、出荷特記、仕入特記といった項目が記載されうる。 In the example of FIG. 15, the order information R includes the following items: "Order number" item 52a, "Product number" item 52b, "Flute" item 52c, "Paper quality" item 52d, "Dimensions (width x flow)" item 52e, "Quantity (number of sheets)" item 52f, "Line" item 52g, "Delivery date" item 52h, and "(Delivery) location" item 52i. The "Order number", "Product number", "(Delivery) location", and "Delivery date" items are the same as those of the case order form. "Flute" in item 52c indicates the specifications of the flutes formed in the cardboard, such as flute A, flute B, and flute AB, and "Paper quality" in item 52d indicates the type of cardboard base paper used. "Dimensions" in item 52e are the dimensions of one sheet of cardboard. "Line" in item 52g indicates the position of the fold line for box making. Although not shown in Figure 3, other items on the sheet order form may include, for example, the number of sheets (the number that can be punched out from one cardboard sheet), remarks, shipping notes, and purchasing notes.

種別選択ボタン61aで「シート受注」が選択されると、シート注文書の入力画面62が表示される。シート注文書の入力画面62には、注文情報Rに含まれる各項目52a~52iに対応した複数の入力エリア64a~64iが表示される。上記の通り、入力エリアの数は、シート注文書の項目数に応じて、発注者毎に書式データ43に設定される。その他の事項は、ケース注文書の場合と基本的に同様である。 When "Sheet Order" is selected with the type selection button 61a, the sheet order form input screen 62 is displayed. The sheet order form input screen 62 displays multiple input areas 64a-64i corresponding to each of the items 52a-52i included in the order information R. As mentioned above, the number of input areas is set in the format data 43 for each purchaser according to the number of items on the sheet order form. Other details are basically the same as for case orders.

なお、以下の説明では、便宜的に、図2に示したケース注文書の画像データ50の登録処理について説明し、図3に示したシート注文書については概ね同様のため説明を省略する。 For the sake of convenience, the following explanation will focus on the registration process for image data 50 of the case order form shown in FIG. 2, and the explanation of the sheet order form shown in FIG. 3 will be omitted since it is generally similar.

(書式データ)
文字認識処理は、画像データ50に写る証憑(注文書)に応じた書式データ43を用いて実行される。図3は、管理サーバ4の記憶部4aに記憶された書式データ43のデータ構造の概念を示した模式図である。
(Format data)
The character recognition process is performed using format data 43 corresponding to the voucher (order form) shown in the image data 50. Fig. 3 is a schematic diagram showing the concept of the data structure of the format data 43 stored in the storage unit 4a of the management server 4.

〈書式データの種類〉
図3に示すように、記憶部4aには、証憑の発行者毎に、証憑(注文書)の書式データ43が予め記憶されている。証憑の発行者とは、たとえば取引相手となる事業者(法人または個人)であり、発行者情報R1(図2参照)によって特定される。同一の事業者であっても、発注担当者ごとに注文書の書式が異なる場合があるため、書式データ43は、同一の事業者について、複数登録することができる。
<Type of format data>
As shown in Fig. 3, the storage unit 4a prestores voucher (order form) format data 43 for each voucher issuer. The issuer of the voucher is, for example, a business entity (corporation or individual) that is a trading partner, and is specified by issuer information R1 (see Fig. 2). Since the order form format may differ for each ordering person even for the same business entity, multiple format data 43 can be registered for the same business entity.

また、記憶部4aは、ダンボールシートとダンボールケースとを含む段ボールの種別情報CLに対応して、種別情報CL毎に書式データ43を記憶している。書式データ43は、注文の種別(種別情報CL)毎に別々に作成され記憶部4aに記憶される。本実施形態では、種別情報CLは、段ボールの受注に関して、段ボールケース(ケース受注)と、段ボールシート(シート受注)と、の2つの種別を含む。また、種別情報CLは、段ボールの材料(原紙など)の発注に関しては、納品書、請求書、領収書などの各種別を含み得る。 The memory unit 4a also stores format data 43 for each type information CL corresponding to the cardboard type information CL, which includes cardboard sheets and cardboard cases. The format data 43 is created separately for each order type (type information CL) and stored in the memory unit 4a. In this embodiment, the type information CL includes two types for orders of cardboard: cardboard cases (case orders) and cardboard sheets (sheet orders). Furthermore, the type information CL can include various types such as delivery notes, invoices, and receipts for orders of cardboard materials (such as base paper).

このように、記憶部4aは、個々の発行者について、種別情報CLの種別数に応じた数の書式データ43が登録される。図4の例では、発行者「A社」について、段ボールケースの注文種別に対応する「書式:1」と、段ボールシートの注文種別に対応する「書式:2」と、の2つの書式データ43が登録されている。発注担当者ごとに注文書の書式が異なる場合、同一の種別(たとえば段ボールケース)について、書式:3、書式:4といった複数の書式データ43が登録されうる。発行者「B社」、「C社」についても、同様に、種別情報CLに応じた数の書式データ43が登録されている。 In this way, the memory unit 4a registers format data 43 for each issuer in a number corresponding to the number of types of type information CL. In the example of Figure 4, two format data 43 are registered for issuer "Company A", "Format: 1" corresponding to the order type of cardboard cases and "Format: 2" corresponding to the order type of cardboard sheets. If the order form format differs for each ordering clerk, multiple format data 43 such as Format: 3 and Format: 4 may be registered for the same type (for example, cardboard cases). Similarly, format data 43 is registered in a number corresponding to the type information CL for issuers "Company B" and "Company C".

〈書式データの内容〉
次に、書式データ43の内容と設定方法を説明する。図5は、設定ボタン61c(図2参照)を入力することによって表示される設定登録画面65を示す。設定登録画面65は、画像表示画面61に表示された画像データ50に対して書式データ43の設定を行うための画面である。以下、図4と図5とを参照する。
<Contents of format data>
Next, the contents and setting method of the format data 43 will be described. Fig. 5 shows a setting registration screen 65 that is displayed by inputting the setting button 61c (see Fig. 2). The setting registration screen 65 is a screen for setting the format data 43 for the image data 50 displayed on the image display screen 61. Below, Figs. 4 and 5 will be referred to.

図4に示すように、書式データ43は、行情報71と、列情報72と、基準線情報73と、を含む。なお、基準線情報73は、特許請求の範囲の「証憑に含まれる基準線の情報」の一例である。 As shown in FIG. 4, the format data 43 includes row information 71, column information 72, and reference line information 73. Note that the reference line information 73 is an example of "reference line information included in the evidence" in the claims.

〈行情報〉
行情報71は、証憑の各行に関する書式情報である。行情報71は、注文書の最大行数71aを含む。最大行数71aは、1枚の注文書に記載される注文数(すなわち、行数)の上限値に相当する。最大行数71aは、設定登録画面65の行数入力欄65aに数値を入力することによって設定される。
<Line information>
The line information 71 is format information for each line of the voucher. The line information 71 includes a maximum number of lines 71a of the order form. The maximum number of lines 71a corresponds to the upper limit of the number of orders (i.e., the number of lines) that can be written on one order form. The maximum number of lines 71a is set by inputting a numerical value in the number of lines input field 65a of the setting and registration screen 65.

行情報71は、いずれかの行の上下端情報71bと、行間隔の情報71cとを含む。上下端情報71bと、行間隔の情報71cは、設定登録画面65において登録担当者が画像データ50上の位置を指定することによって登録される。上下端情報71bは、特許請求の範囲の「行の上端位置および下端位置の情報」の一例である。 Line information 71 includes top and bottom end information 71b of one of the lines, and line spacing information 71c. Top and bottom end information 71b and line spacing information 71c are registered by the person in charge of registration specifying a position on image data 50 on setting registration screen 65. Top and bottom end information 71b is an example of "information on the top and bottom end positions of a line" in the claims.

具体的には、情報処理部33(図1参照)は、図5の設定登録画面65において画像データ50を表示させ、入力部32(図1参照)を介して、いずれかの行の上端位置P1(左上隅)の位置の指定(クリック)と、下端位置P2(左下隅)の位置の指定(クリック)と、を受け付ける。情報処理部33は、指定された上端位置P1および下端位置P2の各位置座標を、上下端情報71bとして取得する。 Specifically, the information processing unit 33 (see FIG. 1) displays the image data 50 on the setting registration screen 65 of FIG. 5, and accepts, via the input unit 32 (see FIG. 1), a specification (click) of the position of the top end position P1 (top left corner) of any line, and a specification (click) of the position of the bottom end position P2 (bottom left corner). The information processing unit 33 acquires the position coordinates of the specified top end position P1 and bottom end position P2 as top and bottom end information 71b.

ここで、行の上端位置P1および下端位置P2は、その行内の、文字記載領域の上端位置および下端位置として設定されることが好ましい。つまり、上端位置P1は、行内の文字の上端部と、その行の上側の横罫線55との間の位置として指定される。下端位置P2は、行内の文字の下端部と、その行の下側の横罫線55との間の位置として指定される。行の横罫線55よりも内側の位置座標を上下端情報71bとして設定することによって、文字認識処理の対象領域内に横罫線55が含まれることを防止できるので、横罫線55を誤って文字の一部として認識することを防止できる。 The top and bottom positions P1 and P2 of a line are preferably set as the top and bottom positions of the character writing area in that line. In other words, the top position P1 is specified as the position between the top of the characters in the line and the horizontal line 55 on the upper side of the line. The bottom position P2 is specified as the position between the bottom of the characters in the line and the horizontal line 55 on the lower side of the line. By setting position coordinates inside the horizontal line 55 of the line as the top and bottom information 71b, it is possible to prevent the horizontal line 55 from being included in the target area for character recognition processing, and therefore prevent the horizontal line 55 from being erroneously recognized as part of a character.

また、情報処理部33(図1参照)は、画像データ50中の上下に隣り合う横罫線55間の距離を、行間隔の情報71cとして取得する。ここで、基準線情報73の設定の際に、図7に示すように、後述する基準線83の位置座標が特定される。そこで、情報処理部33は、基準線83の下側に隣接する横罫線55の位置P3の入力を受け付ける。情報処理部33(図1参照)は、基準線83と位置P3との間の上下方向の距離(基準線83の始点位置P6と位置P3との間の距離)を、行間隔の情報71cとして取得する。 The information processing unit 33 (see FIG. 1) also acquires the distance between vertically adjacent horizontal ruled lines 55 in the image data 50 as line spacing information 71c. When setting the reference line information 73, the position coordinates of a reference line 83 (described later) are specified, as shown in FIG. 7. The information processing unit 33 then accepts input of position P3 of the horizontal ruled line 55 adjacent to the lower side of the reference line 83. The information processing unit 33 (see FIG. 1) acquires the vertical distance between the reference line 83 and position P3 (the distance between the start position P6 of the reference line 83 and position P3) as line spacing information 71c.

これにより、情報処理部33は、上下端情報71bによって特定される行高さの第1枠線81を、行間隔の情報71cで特定される間隔で、最大行数71aの数だけ、画像データ50に重ねて表示する。なお、各行の右端の位置は、列情報72における、最も右端の列の右端位置P5の位置座標に基づいて、自動的に設定される。画像データ50の右端の縦罫線56を検出してもよい。 As a result, the information processing unit 33 displays the first frame line 81, with the line height specified by the top and bottom edge information 71b, superimposed on the image data 50 for the maximum number of lines 71a, at the interval specified by the line spacing information 71c. The position of the right end of each line is automatically set based on the position coordinates of the right end position P5 of the rightmost column in the column information 72. The vertical ruled line 56 at the right end of the image data 50 may also be detected.

このようにして表示される第1枠線81は、証憑(注文書)の各行を示す。したがって、行情報71が適切に設定されると、画像データ50における各行の文字列が記載される領域が、重畳表示される各第1枠線81の範囲内に収まる。 The first frame lines 81 displayed in this manner indicate each line of the voucher (order form). Therefore, when the line information 71 is set appropriately, the area in which the character strings of each line in the image data 50 are written falls within the range of each of the first frame lines 81 that are superimposed.

〈列情報〉
次に、図4の列情報72は、証憑の1行(つまり、1件の注文情報R)に含まれる項目に関する情報である。列情報72は、1行に含まれる各項目の位置および範囲の情報を含む。列情報72は、証憑の項目数と同じ数の個別項目データKa~Kfの集まりからなる。
<Column information>
4 is information about items included in one row of the voucher (i.e., one piece of order information R). The column information 72 includes information about the position and range of each item included in one row. The column information 72 is made up of a collection of individual item data Ka to Kf, the number of which is the same as the number of items in the voucher.

具体的には、列情報72(個別項目データKa~Kf)は、まず、項目毎の項目名の情報72aを含む。項目名の情報72aは、発注番号、商品番号、商品名、数量、納期、(納入)場所、備考、出荷特記といった、証憑(注文書)に記載された項目の名称である。管理サーバ4に登録される事項は予め決まっているので、登録担当者が、登録事項のうちのどの項目かを選択または入力することによって、設定される。 Specifically, the column information 72 (individual item data Ka to Kf) first includes item name information 72a for each item. Item name information 72a is the name of the item written on the voucher (order form), such as the order number, product number, product name, quantity, delivery date, (delivery) location, remarks, and special shipping notes. The items to be registered in the management server 4 are predetermined, so the person in charge of registration selects or inputs which item from the registered items to set.

列情報72は、項目毎の左端位置および右端位置の情報である左右端情報72bを含む。左右端情報72bは、設定登録画面65において登録担当者が画像データ50上の位置を指定(クリック)することによって登録される。左右端情報72bは、特許請求の範囲の「項目毎の左端位置および右端位置の情報」の一例である。 Column information 72 includes left and right edge information 72b, which is information on the left and right edge positions of each item. Left and right edge information 72b is registered by the person in charge of registration specifying (clicking) a position on image data 50 on setting registration screen 65. Left and right edge information 72b is an example of "information on the left and right edge positions of each item" in the claims.

具体的には、情報処理部33(図1参照)は、設定登録画面65に表示させた画像データ50において、入力部32(図1参照)を介して、個々の項目の左端位置P4(左上隅)の位置の指定(クリック)と、右端位置P5(右上隅)の位置の指定(クリック)と、を受け付ける。 Specifically, the information processing unit 33 (see FIG. 1) accepts, via the input unit 32 (see FIG. 1), a specification (click) of the left end position P4 (top left corner) and a specification (click) of the right end position P5 (top right corner) of each item in the image data 50 displayed on the setting registration screen 65.

ここで、項目(列)の左端位置P4および右端位置P5は、その項目(列)内の、文字記載領域の左端位置および右端位置として設定されることが好ましい。つまり、左端位置P4は、項目内の文字の左端部と、その項目の左側の縦罫線56との間の位置として指定される。右端位置P5は、項目内の文字の右端部と、その項目の右側の縦罫線56との間の位置として指定される。項目の両側の縦罫線56よりも内側の位置座標を左右端情報72bとして設定することによって、文字認識処理の対象領域内に縦罫線56が含まれることを防止できるので、縦罫線56を誤って文字の一部として認識することを防止できる。 Here, it is preferable that the left end position P4 and the right end position P5 of an item (column) are set as the left end position and the right end position of the character writing area within that item (column). In other words, the left end position P4 is specified as the position between the left end of the character in the item and the vertical line 56 on the left side of the item. The right end position P5 is specified as the position between the right end of the character in the item and the vertical line 56 on the right side of the item. By setting position coordinates inside the vertical lines 56 on both sides of the item as the left/right end information 72b, it is possible to prevent the vertical lines 56 from being included in the target area for character recognition processing, and therefore prevent the vertical lines 56 from being erroneously recognized as part of a character.

図5の例では、6つの項目が記載されているため、情報処理部33は、6つ項目(個別項目データKa~Kf)の各々についての左端位置P4および右端位置P5の位置座標(12箇所)を、それぞれ左右端情報72bとして取得する。 In the example of FIG. 5, six items are listed, so the information processing unit 33 acquires the position coordinates (12 locations) of the left end position P4 and the right end position P5 for each of the six items (individual item data Ka to Kf) as left and right end information 72b.

これにより、情報処理部33は、項目毎の左右端情報72bによって特定される位置および項目幅(列幅)の第2枠線82を、項目毎に、画像データ50に重ねて表示する。なお、各項目の下端の位置は、行情報71によって特定される最終行(図5の場合は10行目)の位置に基づいて、自動的に設定される。 As a result, the information processing unit 33 displays the second frame line 82, whose position and item width (column width) are specified by the left and right edge information 72b for each item, superimposed on the image data 50 for each item. Note that the position of the bottom edge of each item is automatically set based on the position of the last row (the 10th row in the case of FIG. 5) specified by the row information 71.

このようにして表示される第2枠線82は、証憑の各列を示す。したがって、列情報72が適切に設定されると、画像データ50における各列(各項目)の文字列が記載される領域が、重畳表示される各第2枠線82の範囲内に収まる。 The second frame lines 82 displayed in this manner indicate each column of the evidence. Therefore, when the column information 72 is set appropriately, the area in which the character strings of each column (each item) in the image data 50 are written falls within the range of each superimposed second frame line 82.

このような構成により、情報処理部33は、文字認識処理において、画像データ50に含まれる項目毎の文字列の領域を、互いに交差する第1枠線81と、第2枠線82とが重なり合う領域として取得し、後述するように項目毎に文字認識処理のパラメータを異ならせるように構成されている。なお、図2では、第1枠線81および第2枠線82が重畳表示された状態を図示しており、図3では、それらが重畳表示される前の状態を図示している。 With this configuration, the information processing unit 33 is configured to obtain the region of the character string for each item included in the image data 50 as the region where the mutually intersecting first frame line 81 and second frame line 82 overlap in the character recognition process, and to vary the parameters of the character recognition process for each item, as described below. Note that FIG. 2 illustrates a state in which the first frame line 81 and the second frame line 82 are superimposed, and FIG. 3 illustrates the state before they are superimposed.

図4に示すように、列情報72(個別項目データKa~Kf)は、項目毎に、その項目で使用される文字種の情報72cを含む。証憑の各項目は、項目の内容に応じて、使用される文字種が決まっているため、書式データ43として、その項目で使用される文字種の情報72cが予め設定されている。文字種の情報72cは、たとえば、数字、英字、カナ(ひらがなおよびカタカナ)および漢字の3種類とこれらの組み合わせによって定義されうる。情報処理部33は、図示しない設定画面において、入力部32を介して、登録担当者から項目毎に文字種の情報72cの入力を受け付け、受け付けた文字種の情報72cを項目名と対応させて記憶部4aに記憶させる。 As shown in FIG. 4, column information 72 (individual item data Ka to Kf) includes, for each item, information 72c on the character type used for that item. Since the character type used for each item of the voucher is determined according to the content of the item, the character type information 72c used for that item is set in advance as format data 43. Character type information 72c can be defined, for example, by three types of characters: numbers, English letters, kana (hiragana and katakana), and kanji, and combinations of these. The information processing unit 33 accepts input of character type information 72c for each item from the registration clerk via the input unit 32 on a setting screen not shown, and stores the accepted character type information 72c in the memory unit 4a in association with the item name.

これにより、情報処理部33は、文字認識処理を行う際、項目毎に、その項目の文字列を、文字種の情報72cで特定された文字種の範囲内で認識するように構成されている。文字認識処理を行う際の文字種を絞り込むことによって、認識精度を向上できる。 As a result, when performing character recognition processing, the information processing unit 33 is configured to recognize, for each item, the character string for that item within the range of character types specified by the character type information 72c. By narrowing down the character types when performing character recognition processing, it is possible to improve the recognition accuracy.

また、本実施形態では、列情報72は、項目毎の文字間隔情報72dを含む。証憑は、記載される文字列の文字間隔(文字送り)が項目毎に概ね一定である。文字間隔が狭すぎると、隣接する文字同士が、独立した文字として認識されにくくなる。そのため、書式データ43として、項目毎の文字間隔情報72dが予め設定されている。情報処理部33は、図示しない設定画面において、入力部32(図1参照)を介して、登録担当者から項目毎に文字間隔情報72dの入力を受け付け、受け付けた文字種の情報72cを項目名と対応させて記憶部4aに記憶させる。 In addition, in this embodiment, the column information 72 includes character spacing information 72d for each item. The character spacing (character spacing) of the character string written on the evidence is generally constant for each item. If the character spacing is too narrow, adjacent characters will be difficult to recognize as independent characters. For this reason, character spacing information 72d for each item is set in advance as format data 43. The information processing unit 33 accepts input of character spacing information 72d for each item from the registration clerk via the input unit 32 (see FIG. 1) on a setting screen not shown, and stores the accepted character type information 72c in the memory unit 4a in association with the item name.

これにより、情報処理部33は、文字認識処理の際、画像データ50中の文字間隔を文字間隔情報72dに基づいて調整する処理を、画像データ50の項目毎に実行するように構成されている。たとえば図6(A)に示すように、文字間隔の調整前において、ある項目の文字列(図6の例では「XX工場」)の文字間隔t1が小さすぎると仮定する。この場合、登録担当者は、文字間隔を大きくするように文字間隔情報72dを設定する。情報処理部33は、文字認識処理に先立つ前処理として、文字間隔情報72dの設定値に従って、画像データ50中の文字間隔を画像処理によって調整する。図6(B)は、文字間隔がt2に調整された後の文字列を示す。文字間隔情報72dの設定の仕方は、特に限定されない。文字間隔情報72dは、たとえば、文字送り量の最小値で設定してもよいし、調整前の文字送り量に対する倍率などで設定してもよい。画像データ50中の文字間隔が大きすぎる場合には、前処理の際に文字間隔情報72dに基づいて文字間隔が小さくされる。 Thus, the information processing unit 33 is configured to execute a process of adjusting the character spacing in the image data 50 based on the character spacing information 72d for each item of the image data 50 during character recognition processing. For example, as shown in FIG. 6A, assume that the character spacing t1 of a character string of a certain item ("XX Factory" in the example of FIG. 6) is too small before adjusting the character spacing. In this case, the registration staff sets the character spacing information 72d to increase the character spacing. As a preprocessing prior to the character recognition processing, the information processing unit 33 adjusts the character spacing in the image data 50 by image processing according to the setting value of the character spacing information 72d. FIG. 6B shows the character string after the character spacing has been adjusted to t2. There is no particular limit to the way in which the character spacing information 72d is set. The character spacing information 72d may be set, for example, to the minimum value of the character spacing amount, or may be set to a magnification factor for the character spacing amount before adjustment. If the character spacing in the image data 50 is too large, the character spacing is reduced based on the character spacing information 72d during preprocessing.

図4に示すように、以上の項目名の情報72a、左右端情報72b、文字種の情報72cおよび文字間隔情報72dが、1つの個別項目データKa~Kfに含まれる。そして、証憑(注文書)に含まれる項目の数だけ、個別項目データKa~Kfが別々に設定される。したがって、図2に示した画像データ50から作成される書式データ43の例では、列情報72は、発注番号の項目51a、商品番号の項目51b、商品名の項目51c、数量の項目51d、納期の項目51eおよび(納入)場所の項目51fのそれぞれに対応する、合計6個の個別項目データKa~Kfを含んでいる。 As shown in FIG. 4, the above item name information 72a, left/right margin information 72b, character type information 72c, and character spacing information 72d are included in one piece of individual item data Ka-Kf. The individual item data Ka-Kf are set separately for the number of items included in the voucher (order form). Therefore, in the example of format data 43 created from image data 50 shown in FIG. 2, column information 72 includes a total of six individual item data Ka-Kf corresponding to the order number item 51a, product number item 51b, product name item 51c, quantity item 51d, delivery date item 51e, and (delivery) location item 51f.

この他、情報処理部33は、文字認識処理の前処理として、二値化処理および平滑化(ぼかし)処理を項目毎に実行することができる。 In addition, the information processing unit 33 can perform binarization and smoothing (blurring) processing for each item as preprocessing for character recognition processing.

二値化処理は、印刷した証憑(注文書)を画像読取部5により画像化した場合に、実行するように設定される。そのため、個別項目データKa~Kfは、二値化処理の閾値72eを含みうる。 The binarization process is set to be performed when the printed evidence (order form) is imaged by the image reading unit 5. Therefore, the individual item data Ka to Kf may include the threshold value 72e for the binarization process.

平滑化(ぼかし)処理は、画像データ50中の文字の輪郭にシャギーが出ている部分をなだらかにする画像処理である。個別項目データKa~Kfは、平滑化処理の強さの設定値(平滑化パラメータ72f)を含みうる。 Smoothing (blurring) processing is image processing that smooths out jagged parts of the outlines of characters in image data 50. Individual item data Ka to Kf may include a setting value for the strength of the smoothing processing (smoothing parameter 72f).

〈基準線情報〉
次に、基準線情報73は、証憑全体(画像データ50の全体)における各文字列の位置や範囲の基準となる線(すなわち基準線)に関する情報である。基準線情報73は、基準線83(図7参照)の始点位置P6および終点位置P7を含む。
<Baseline Information>
Next, the reference line information 73 is information on a line (i.e., a reference line) that is a reference for the position and range of each character string in the entire evidence (the entire image data 50). The reference line information 73 includes a start position P6 and an end position P7 of the reference line 83 (see FIG. 7).

図7に示すように、基準線83は、画像データ50に含まれる線(罫線)のうち、画像幅方向に延びる線である。基準線83には、証憑の用紙幅の60%以上(好ましくは70%以上)の長さを有する線が採用される。通常、基準線83は、画像データ50のうち、画像幅方向に延びる最も長い線であり、注文書に示された各注文情報Rを囲む枠線の上部(上側の辺)を構成する横罫線55(点線で囲んだ線)が該当する。 As shown in FIG. 7, the reference line 83 is one of the lines (ruled lines) included in the image data 50 that extends in the image width direction. A line having a length of 60% or more (preferably 70% or more) of the paper width of the voucher is used as the reference line 83. Typically, the reference line 83 is the longest line in the image data 50 that extends in the image width direction, and corresponds to the horizontal ruled line 55 (line surrounded by a dotted line) that constitutes the upper part (upper side) of the frame line that surrounds each piece of order information R shown on the order form.

情報処理部33(図1参照)は、設定登録画面65において、入力部32(図1参照)を介して、基準線83の始点位置P6の指定(クリック)と、終点位置P7の指定(クリック)と、を受け付ける。情報処理部33は、指定された始点位置P6および終点位置P7の各位置座標を、基準線情報73として取得し、記憶部4aに記憶させる。 The information processing unit 33 (see FIG. 1) accepts the specification (click) of the start position P6 of the reference line 83 and the specification (click) of the end position P7 via the input unit 32 (see FIG. 1) on the setting registration screen 65. The information processing unit 33 acquires the position coordinates of the specified start position P6 and end position P7 as reference line information 73, and stores them in the memory unit 4a.

情報処理部33は、文字認識処理の際、画像データ50中の基準線83を書式データ43に設定された基準線83に一致させるように、画像データ50の拡大率および回転角度を補正する処理を行うように構成されている。たとえば、図8(A)が書式データ43の元になった画像データ50aであり、図8(B)が新たに取得された画像データ50bであると仮定する。図8(B)の画像データ50bは、図8(A)の画像データ50aと比べて、注文書が小さく写っており、かつ、面内で回転している。そこで、情報処理部33は、文字認識処理の前処理として、画像データ50bに写る基準線83bの始点および終点が、書式データ43で定義された基準線83aの始点位置P6および終点位置P7に一致するように(つまり、画像データ50bの基準線83bの長さLおよび角度θを合わせるように)、画像データ50bの拡大縮小および回転を行う。この結果、文字認識処理を行う際に、画像データ50bに写る証憑(注文書)のサイズ、回転角度、各行および各列の配置が、書式データ43の元になった画像データ50aのものとそれぞれ一致する。 The information processing unit 33 is configured to perform a process of correcting the magnification ratio and rotation angle of the image data 50 so that the reference line 83 in the image data 50 coincides with the reference line 83 set in the format data 43 during the character recognition process. For example, assume that FIG. 8(A) is the image data 50a on which the format data 43 is based, and FIG. 8(B) is the newly acquired image data 50b. The image data 50b in FIG. 8(B) shows the order form smaller than the image data 50a in FIG. 8(A) and rotated within the plane. Therefore, as a preprocessing step for the character recognition process, the information processing unit 33 performs magnification/reduction and rotation of the image data 50b so that the start point and end point of the reference line 83b shown in the image data 50b coincide with the start point position P6 and end point position P7 of the reference line 83a defined in the format data 43 (i.e., the length L and angle θ of the reference line 83b of the image data 50b are matched). As a result, when character recognition processing is performed, the size, rotation angle, and arrangement of each row and column of the voucher (order form) shown in image data 50b match those of image data 50a, which is the basis of format data 43.

なお、図7に示したように、基準線情報73には、第1の基準線83に加えて、さらに、第2の基準線84の情報を設定してもよい。そして、情報処理部33は、文字認識処理の際、図8(C)に示すように、画像データ50中の第1の基準線83と第2の基準線84との両方を、書式データ43に設定された第1の基準線83および第2の基準線84に一致させるように、画像データ50の台形補正を行ってもよい。 As shown in FIG. 7, the reference line information 73 may further include information on a second reference line 84 in addition to the first reference line 83. During character recognition processing, the information processing unit 33 may perform keystone correction of the image data 50 so that both the first reference line 83 and the second reference line 84 in the image data 50 coincide with the first reference line 83 and the second reference line 84 set in the format data 43, as shown in FIG. 8(C).

第2の基準線84は、証憑の用紙幅の60%以上(好ましくは70%以上)の長さを有する線であるが、第1の基準線83から上下になるべく離れた位置にある線が選択される。典型的には、第2の基準線84は、注文書に示された各注文情報Rを囲む枠線の下部(下側の辺)を構成する線が該当する。 The second reference line 84 is a line having a length of 60% or more (preferably 70% or more) of the paper width of the voucher, but is selected to be located as far away as possible above or below the first reference line 83. Typically, the second reference line 84 corresponds to the line that constitutes the lower part (lower side) of the frame that surrounds each piece of order information R shown on the order form.

台形補正は、特に、オーバーヘッドタイプの画像読取部5により証憑(注文書)を画像化する場合に有用である。オーバーヘッドタイプとは、図1に示したように、設置面に配置された証憑6(注文書)を、設置面から上方に離れた読取部(カメラ)によって非接触で画像化する方式のことである。オーバーヘッドタイプの画像読取部5では、用紙が読取部に対して傾斜して配置されるため画像が台形に歪みやすい。そのため、第1の基準線83と第2の基準線84との両方を用いる場合には、図8(C)に示すように台形に歪んだ画像データ50cに対して、精度よく台形補正(長さL1およびL2を書式データ43の設定に一致させる補正)を行える。文字列の歪みが補正されるため、文字認識精度を効果的に向上させることができる。 Keystone correction is particularly useful when imaging a voucher (order form) using an overhead type image reading unit 5. The overhead type is a method in which, as shown in FIG. 1, a voucher 6 (order form) placed on a surface is imaged non-contact by a reading unit (camera) located above the surface. In an overhead type image reading unit 5, the paper is placed at an angle relative to the reading unit, so the image is prone to be distorted into a trapezoid. Therefore, when both the first reference line 83 and the second reference line 84 are used, it is possible to perform accurate keystone correction (correction to make the lengths L1 and L2 match the settings of the format data 43) on the image data 50c distorted into a trapezoid as shown in FIG. 8(C). Since the distortion of the character string is corrected, it is possible to effectively improve the accuracy of character recognition.

ここで、第1枠線81および第2枠線82の設定に関わる設定登録画面65における設定手順を説明する。登録担当者は、まず、基準線情報73(図7の始点位置P6および終点位置P7)を設定する。次に、基準線83の下側に隣接する横罫線55の位置P3(図7参照)を指定することにより、行間隔の情報71cを設定する。また、図5の行数入力欄65aにおいて最大行数71aを設定する。 The procedure for setting the first frame line 81 and the second frame line 82 on the setting registration screen 65 will now be described. The person in charge of registration first sets the reference line information 73 (start position P6 and end position P7 in FIG. 7). Next, the person in charge of registration sets the line spacing information 71c by specifying the position P3 (see FIG. 7) of the horizontal ruled line 55 adjacent to and below the reference line 83. In addition, the maximum number of lines 71a is set in the number of lines input field 65a in FIG. 5.

次に、図5の項目毎の左右端情報72b(各左端位置P4および右端位置P5)を設定する。これにより、項目毎の第2枠線82が、左右端情報72bで設定された位置に、最大行数71aおよび行間隔の情報71cから算出される項目の下端位置まで延びるように重畳表示される。 Next, the left and right edge information 72b (each of the left edge positions P4 and right edge positions P5) for each item in FIG. 5 is set. As a result, the second frame line 82 for each item is displayed superimposed on the position set by the left and right edge information 72b so as to extend to the bottom edge position of the item calculated from the maximum number of lines 71a and line spacing information 71c.

次に、登録担当者は、いずれかの行の上下端情報71b(上端位置P1および下端位置P2)を設定する。これにより、上下端情報71bで設定された高さを有し、最右端の右端位置P5まで行方向に延びる第1枠線81が、行間隔の情報71cで定義される間隔で、最大行数71aの数だけ並ぶように重畳表示される。この結果、互いに交差する第1枠線81と、第2枠線82とが重なり合う領域内に、画像データ50に記載された注文情報Rの各文字列が収まるように書式データ43が設定される。 Next, the registration clerk sets the top and bottom end information 71b (top end position P1 and bottom end position P2) for one of the lines. This causes a first frame line 81, which has the height set by the top and bottom end information 71b and extends in the row direction to the right end position P5 of the rightmost line, to be superimposed and displayed so that it is lined up for the maximum number of lines 71a at a distance defined by the line spacing information 71c. As a result, the format data 43 is set so that each character string of the order information R written in the image data 50 fits within the area where the intersecting first frame line 81 and second frame line 82 overlap.

〈書式データの他の情報〉
図4に示した書式データ43は、主として、上記のような各情報から構成されている。なお、書式データ43には、この他、証憑(画像データ50)が縦向きか横向きかの向き設定情報74も含まれる。情報処理部33は、書式データ43に基づいて、証憑の向きが適切になるように画像データ50の向き(回転角度)を自動的に変更する。
<Other information on the form data>
The format data 43 shown in Fig. 4 is mainly composed of the above-mentioned information. The format data 43 also includes orientation setting information 74 indicating whether the voucher (image data 50) is in portrait or landscape orientation. The information processing unit 33 automatically changes the orientation (rotation angle) of the image data 50 based on the format data 43 so that the orientation of the voucher is appropriate.

また、情報処理部33は、文字認識処理の前処理として、画像データ50に含まれる罫線(表のセルを区画する縦横の線)を消去する罫線除去処理を行うように構成されている。文字認識処理において、罫線が文字と近接している場合に、罫線を文字の一部として誤認識する可能性があるためである。発注者毎に、証憑の用いられる罫線の太さが異なるため、書式データ43は、罫線除去処理のパラメータとして、除去する罫線の太さ設定値75を含む。登録担当者は、図示しない設定画面において太さ設定値75を調整し、文字が除去されずに罫線だけを除去できる適切な値を設定する。 The information processing unit 33 is also configured to perform a line removal process to erase lines (horizontal and vertical lines that divide table cells) contained in the image data 50 as a pre-processing step for the character recognition process. This is because, in the character recognition process, if a line is close to a character, the line may be mistakenly recognized as part of the character. Since the thickness of the lines used in the evidence varies for each purchaser, the format data 43 includes a thickness setting value 75 for the line to be removed as a parameter for the line removal process. The person in charge of registration adjusts the thickness setting value 75 on a setting screen (not shown) to set an appropriate value that removes only the lines without removing the characters.

(登録処理)
次に、登録処理の詳細な内容について説明する。
(Registration process)
Next, the registration process will be described in detail.

情報処理部33は、証憑の種別情報CLに応じて記憶部4aから書式データ43を選択するように構成されている。すなわち、登録処理の際、図2に示した画像表示画面61に画像データ50を表示すると、その画像データ50に写る注文書の発行者情報R1が特定される。そして、種別選択ボタン61aによって注文の種別(ケース受注、シート受注)が選択されることにより、種別情報CLの値(たとえば、段ボールケース)が特定される。 The information processing unit 33 is configured to select format data 43 from the memory unit 4a according to the type information CL of the voucher. That is, during the registration process, when image data 50 is displayed on the image display screen 61 shown in FIG. 2, the issuer information R1 of the order form shown in the image data 50 is identified. Then, the type of order (case order, sheet order) is selected with the type selection button 61a, and the value of the type information CL (for example, cardboard case) is identified.

特定された発行者および種別に該当する書式データ43が複数存在する場合、情報処理部33は、画像データ50に写る基準線83を検出し、検出した基準線83の始点位置P6および終点位置P7と最も近似する基準線情報73が設定されている書式データ43を、画像データ50に対応する書式データ43として自動的に選択する。情報処理部33は、自動選択した書式データ43を、書式選択ボタン61bに表示(図2では、「書式:1」を表示)させる。自動選択された書式データ43が妥当でない場合のために、情報処理部33は、プルダウンリスト形式の書式選択ボタン61bから書式データ43の選択を受け付け可能である。 If there are multiple format data 43 that correspond to the identified issuer and type, the information processing unit 33 detects the reference line 83 in the image data 50, and automatically selects the format data 43 in which the reference line information 73 that is most similar to the start position P6 and end position P7 of the detected reference line 83 is set as the format data 43 that corresponds to the image data 50. The information processing unit 33 displays the automatically selected format data 43 in the format selection button 61b (in FIG. 2, "Format: 1" is displayed). In case the automatically selected format data 43 is not appropriate, the information processing unit 33 can accept the selection of format data 43 from the format selection button 61b in the form of a pull-down list.

情報処理部33は、書式データ43が選択されると、画像表示画面61において、向き設定情報74に応じて画像データ50を縦向きまたは横向きに配置し、基準線情報73に基づいて、画像データ50の拡大率および回転角度を調整する。これにより、画像データ50に表示された各行、各列の位置および範囲と、書式データ43で定義された第1枠線81および第2枠線82の位置および範囲とが、一致する。 When the format data 43 is selected, the information processing unit 33 arranges the image data 50 in portrait or landscape orientation on the image display screen 61 according to the orientation setting information 74, and adjusts the magnification rate and rotation angle of the image data 50 based on the reference line information 73. This causes the positions and ranges of each row and column displayed in the image data 50 to match the positions and ranges of the first frame line 81 and second frame line 82 defined in the format data 43.

情報処理部33は、書式データ43(罫線の太さ設定値75)に基づいて、画像データ50に対する罫線除去処理を行う。これにより、画像データ50から、各行および各列(項目)を区画する罫線が除去される。 The information processing unit 33 performs a line removal process on the image data 50 based on the format data 43 (line thickness setting value 75). This removes the lines that separate each row and each column (item) from the image data 50.

そして、情報処理部33は、上下端情報71bと、行間隔(行間隔の情報71c)と、最大行数71aとに基づいて、証憑の各行を示す第1枠線81を、画像表示画面61に表示した画像データ50に重ねて表示し、項目毎の左右端情報72bに基づいて、証憑の各項目を示す第2枠線82を、画像表示画面61に表示した画像データ50に重ねて表示する。 Then, the information processing unit 33 displays a first frame line 81 indicating each line of the voucher superimposed on the image data 50 displayed on the image display screen 61 based on the top and bottom end information 71b, the line spacing (line spacing information 71c), and the maximum number of lines 71a, and displays a second frame line 82 indicating each item of the voucher superimposed on the image data 50 displayed on the image display screen 61 based on the left and right end information for each item 72b.

これにより、画像データ50から罫線が削除されるが、画像表示画面61上では、罫線の代わりに第1枠線81および第2枠線82が重畳表示される。適切な書式データ43が選択されている場合、表示された各第1枠線81および各第2枠線82は、画像データ50に記載されていた罫線(除去された罫線)と略一致する。登録担当者は、画像表示画面61上の各第1枠線81および各第2枠線82と文字列との位置関係から、適切な書式データ43が選択されていることを確認する。 As a result, the ruled lines are deleted from the image data 50, but the first frame lines 81 and the second frame lines 82 are superimposed and displayed on the image display screen 61 in place of the ruled lines. If appropriate format data 43 has been selected, the displayed first frame lines 81 and second frame lines 82 will approximately match the ruled lines (the removed ruled lines) that were written on the image data 50. The person in charge of registration will verify that appropriate format data 43 has been selected based on the positional relationship between the first frame lines 81 and second frame lines 82 and the character strings on the image display screen 61.

以上の各処理の後、情報処理部33は、画像表示画面61に表示した画像データ50の1行単位で文字認識し、認識した行に含まれる各項目の認識文字列85を入力画面62の項目毎に入力する処理を、最大行数71aに応じて順次実行するように構成されている。 After each of the above processes, the information processing unit 33 is configured to sequentially execute a process of performing character recognition on a line-by-line basis for the image data 50 displayed on the image display screen 61 and inputting the recognition character string 85 for each item contained in the recognized line into each item on the input screen 62 according to the maximum number of lines 71a.

すなわち、図9に示すように、情報処理部33は、画像データ50に重畳して表示させた第1枠線81内の領域を1行として、第2枠線82内に含まれる文字列を項目毎の認識文字列85として取得するように構成されている。図9において丸付き数字で示したように、それぞれの第1枠線81を、画像データ50の上側から下側に向けて第1行~第M行(Mは最大行数71aの設定値)とする。 That is, as shown in FIG. 9, the information processing unit 33 is configured to regard the area within the first frame line 81 displayed superimposed on the image data 50 as one line, and to acquire the character string contained within the second frame line 82 as the recognition character string 85 for each item. As shown by the circled numbers in FIG. 9, each of the first frame lines 81 is the first line to the Mth line (M is the setting value of the maximum number of lines 71a) from the top to the bottom of the image data 50.

情報処理部33は、まず、第1行に位置する第1枠線81内の文字認識処理を行う。具体的には、情報処理部33は、書式データ43の列情報72に含まれる各個別項目データKa~Kfに基づいて、第1枠線81内の個別領域86a~86fに対する文字認識処理を行う。 The information processing unit 33 first performs character recognition processing on the first frame line 81 located on the first row. Specifically, the information processing unit 33 performs character recognition processing on the individual areas 86a to 86f within the first frame line 81 based on the individual item data Ka to Kf included in the column information 72 of the format data 43.

つまり、情報処理部33は、発注番号の項目51aについて、個別項目データKaを読み込む。情報処理部33は、個別項目データKaの左右端情報72bに基づき、項目51aに対応した第1枠線81内の個別領域86aを特定する。情報処理部33は、個別項目データKaの文字間隔情報72dに基づき、個別領域86a内の文字間隔調整を行う。情報処理部33は、個別項目データKaの文字種の情報72cに基づく文字認識処理により、個別領域86a内の文字の像を文字データに変換する。この結果、情報処理部33は、第1行目(1件目)の項目51aに該当する認識文字列85を取得する。 That is, the information processing unit 33 reads the individual item data Ka for the item 51a of the order number. Based on the left and right edge information 72b of the individual item data Ka, the information processing unit 33 identifies the individual area 86a in the first frame line 81 that corresponds to the item 51a. Based on the character spacing information 72d of the individual item data Ka, the information processing unit 33 adjusts the character spacing in the individual area 86a. The information processing unit 33 converts the image of the characters in the individual area 86a into character data by character recognition processing based on the character type information 72c of the individual item data Ka. As a result, the information processing unit 33 obtains the recognized character string 85 that corresponds to the item 51a in the first row (first item).

同様にして、情報処理部33は、商品番号の項目51bの個別項目データKbに基づく文字認識処理により、個別領域86bの認識文字列85を取得する。情報処理部33は、商品番号の項目51cの個別項目データKcに基づく文字認識処理により、個別領域86cの認識文字列85を取得する。情報処理部33は、商品番号の項目51dの個別項目データKdに基づく文字認識処理により、個別領域86dの認識文字列85を取得する。情報処理部33は、商品番号の項目51eの個別項目データKeに基づく文字認識処理により、個別領域86eの認識文字列85を取得する。情報処理部33は、商品番号の項目51fの個別項目データKfに基づく文字認識処理により、個別領域86fの認識文字列85を取得する。 In the same manner, the information processing unit 33 obtains the recognition character string 85 in the individual area 86b by character recognition processing based on the individual item data Kb in the product number item 51b. The information processing unit 33 obtains the recognition character string 85 in the individual area 86c by character recognition processing based on the individual item data Kc in the product number item 51c. The information processing unit 33 obtains the recognition character string 85 in the individual area 86d by character recognition processing based on the individual item data Kd in the product number item 51d. The information processing unit 33 obtains the recognition character string 85 in the individual area 86e by character recognition processing based on the individual item data Ke in the product number item 51e. The information processing unit 33 obtains the recognition character string 85 in the individual area 86f by character recognition processing based on the individual item data Kf in the product number item 51f.

この結果、図9の例では、第1行目(1件目)の注文情報Rについて、項目51a~51fの各々の認識文字列85が取得される。そして、情報処理部33は、入力画面62の項目毎に、取得した項目毎の認識文字列85を入力する処理を実行する。 As a result, in the example of FIG. 9, the recognition character strings 85 for each of the items 51a to 51f are obtained for the first line (first item) of order information R. The information processing unit 33 then executes a process of inputting the obtained recognition character strings 85 for each item on the input screen 62.

これにより、項目51aに対応する発注番号の入力エリア63aに、個別領域86aの認識文字列85である「201703」が入力され、項目51bに対応する商品番号の入力エリア63bに、個別領域86bの認識文字列85である「101」が入力され、項目51cに対応する商品名の入力エリア63cに、個別領域86cの認識文字列85である「新製品 タトウ式」が入力され、項目51dに対応する数量の入力エリア63dに、個別領域86dの認識文字列85である「100」が入力され、項目51eに対応する納期の入力エリア63eに、個別領域86eの認識文字列85である「12月16日 8:00」が入力され、項目51fに対応する納入場所の入力エリア63fに、個別領域86fの認識文字列85である「XX工場」が入力される。 As a result, "201703", which is the recognition character string 85 of individual area 86a, is entered into input area 63a for the order number corresponding to item 51a, "101", which is the recognition character string 85 of individual area 86b, is entered into input area 63b for the product number corresponding to item 51b, "New Product Tato Type", which is the recognition character string 85 of individual area 86c, is entered into input area 63c for the product name corresponding to item 51c, "100", which is the recognition character string 85 of individual area 86d, is entered into input area 63d for the quantity corresponding to item 51d, "December 16th, 8:00", which is the recognition character string 85 of individual area 86e, is entered into input area 63e for the delivery date corresponding to item 51e, and "XX Factory", which is the recognition character string 85 of individual area 86f, is entered into input area 63f for the delivery location corresponding to item 51f.

このようにして、1行目(1件目)の注文情報Rが入力される。情報入力後、情報処理部33は、各入力エリア63a~63fに入力された情報にエラー(異常値)がなければ、自動で登録を完了する。すなわち、情報処理部33は、1行目(1件目)の注文情報Rを管理サーバ4に送信する。管理サーバ4は、受信した注文情報Rに受注番号Ab(図1参照)を割り当てて記録するとともに、割り当てた受注番号Abを情報処理部33に送信する。情報処理部33は、受注番号Abを受信すると、入力画面62の入力エリア62dに受注番号Abを入力する。さらに、情報処理部33は、該当する注文情報Rに対応する画像表示画面61の位置に、受注番号Abを表示(図10参照)して、その注文情報Rについての登録処理が完了したことを登録担当者に報知する。 In this way, the first line (first item) of order information R is input. After the information is input, if there are no errors (abnormal values) in the information input in each of the input areas 63a to 63f, the information processing unit 33 automatically completes the registration. That is, the information processing unit 33 transmits the first line (first item) of order information R to the management server 4. The management server 4 assigns and records an order number Ab (see FIG. 1) to the received order information R, and transmits the assigned order number Ab to the information processing unit 33. When the information processing unit 33 receives the order number Ab, it inputs the order number Ab into the input area 62d of the input screen 62. Furthermore, the information processing unit 33 displays the order number Ab (see FIG. 10) at the position on the image display screen 61 corresponding to the corresponding order information R, and notifies the person in charge of registration that the registration process for the order information R has been completed.

受注番号Abを表示すると、情報処理部33は、入力画面62を次のページに更新し、次の行(第2行)の登録処理に進む。情報処理部33は、第2行から第M行までの登録処理を、第1行と同様に行う。 After displaying the order number Ab, the information processing unit 33 updates the input screen 62 to the next page and proceeds to the registration process for the next row (row 2). The information processing unit 33 performs the registration process for rows 2 to M in the same manner as for row 1.

〈エラー処理〉
登録処理の過程では、エラーが発生する場合がある。エラーは、たとえば、証憑(注文書)に誤記が存在する場合や、文字認識処理における誤認識が発生した場合に発生する。
Error Handling
During the registration process, errors may occur, for example, when there is a clerical error on the voucher (order form) or when a misrecognition occurs during character recognition processing.

情報処理部33は、入力画面62の入力値に異常値(エラー)が含まれる場合、以降の行に対する文字認識処理を一時停止するとともに、入力画面62において異常値が含まれることを報知する処理を実行するように構成されている。 When an abnormal value (error) is included in the input value on the input screen 62, the information processing unit 33 is configured to temporarily suspend character recognition processing for the subsequent lines and to execute processing to notify the input screen 62 that an abnormal value is included.

図10は、第3行の注文情報Rに対する文字認識処理において、数量の項目51dに異常値が含まれたケースを例示している。すなわち、画像データ50における第3行の数量の項目51dの正しい数値は「300」であるが、入力画面62の入力エリア63dに「3」が入力されている。数量の入力エリア63dには、受注可能な下限値および上限値が設定されており、入力値「3」は、下限値を下回る異常値である。 Figure 10 illustrates a case in which an abnormal value is included in the quantity item 51d during character recognition processing of the third line of order information R. That is, the correct numerical value for the quantity item 51d on the third line of the image data 50 is "300," but "3" has been entered in the input area 63d of the input screen 62. The quantity input area 63d is set with lower and upper limits for order acceptance, and the input value "3" is an abnormal value that falls below the lower limit.

この場合、情報処理部33は、異常値が含まれる3行目で文字認識処理を一時停止し、入力画面62において報知を行う。具体的には、異常値が含まれることを報知する処理は、異常値が含まれる項目を識別するための標識87を入力画面62に表示する処理と、異常値が含まれる項目の入力エリアにカーソル88を移動させる処理と、を含む。 In this case, the information processing unit 33 pauses the character recognition process at the third line containing the abnormal value, and notifies the user on the input screen 62. Specifically, the process of notifying the user that an abnormal value is included includes a process of displaying an indicator 87 for identifying the item containing the abnormal value on the input screen 62, and a process of moving the cursor 88 to the input area of the item containing the abnormal value.

図10では、情報処理部33は、異常値が含まれた入力エリア63dに対して横並びとなるように対応させた位置に、標識87を表示させる。標識87は、他の入力情報とは異なる表示態様で表示される。図10の例では、入力画面62の各情報が予め設定された基本色(たとえば黒色)の文字で表示されるのに対して、標識87は、基本色とは異なる特定色(たとえば赤色、黄色など)で表示される。また、図10では、標識87は、異常の内容を説明するテキストを含む。すなわち、数量の項目の異常であるため、標識87には、「数量エラー」というテキストが、白抜き文字(つまり、特定色の背景に文字部分を白色で塗りつぶした文字)で表示される。なお、異常の内容を説明するテキストは、項目(入力エリア)によって異なる。たとえば、発注番号の入力エリア63aに、受注済みの番号が入力された場合、「受注登録済み」が表示される。商品番号の入力エリア63bに、未登録の番号が入力された場合、「商品エラー」が表示される。納期の入力エリア63eに、過去の日付等が入力された場合、「納期エラー」が表示される。納入場所の入力エリア63fに、未登録の場所が入力された場合、「場所エラー」が表示される。 10, the information processing unit 33 displays the sign 87 at a position corresponding to the input area 63d containing the abnormal value so that the sign 87 is aligned side by side. The sign 87 is displayed in a different display mode from other input information. In the example of FIG. 10, each piece of information on the input screen 62 is displayed in a preset basic color (e.g., black), while the sign 87 is displayed in a specific color (e.g., red, yellow, etc.) different from the basic color. Also, in FIG. 10, the sign 87 includes text explaining the contents of the abnormality. That is, since the abnormality is in the quantity item, the sign 87 displays the text "Quantity Error" in white characters (i.e., characters with the text part filled in white on a specific color background). Note that the text explaining the contents of the abnormality differs depending on the item (input area). For example, if an order number that has already been received is entered in the order number input area 63a, "Order Registered" is displayed. If an unregistered number is entered in the product number input area 63b, "Product Error" is displayed. If a past date or the like is entered in the delivery date input area 63e, "Delivery date error" is displayed. If an unregistered location is entered in the delivery location input area 63f, "Location error" will be displayed.

また、図10では、情報処理部33は、異常値が含まれた入力エリア63dの背景を、特定色で表示することによって、入力エリア63d自体を強調して表示する。さらに、情報処理部33は、画像表示画面61において、異常値が含まれる行(ここでは、3行目)の受注番号Abを表示する位置(行の右端)に、特定色の標識89を表示させる。 In addition, in FIG. 10, the information processing unit 33 highlights the input area 63d itself by displaying the background of the input area 63d containing the abnormal value in a specific color. Furthermore, the information processing unit 33 displays a specific color indicator 89 on the image display screen 61 at the position (right end of the row) where the order number Ab of the row containing the abnormal value (here, the third row) is displayed.

そして、情報処理部33は、異常値が含まれる入力エリア63dにカーソル88を移動させ、登録担当者による入力部32を介した修正操作を受け付ける。 Then, the information processing unit 33 moves the cursor 88 to the input area 63d that contains the abnormal value, and accepts correction operations by the person in charge of registration via the input unit 32.

このとき、情報処理部33は、画像表示画面61において、異常値が含まれた個別領域(ここでは、3行目の個別領域86d)の上下左右のいずれかの近傍位置に、入力エリア63dへの入力値を表示する表示欄(テキストボックス)90を、ポップアップ表示させる処理を行う。図10では、個別領域86dの下側に隣接する位置に表示欄90が表示され、入力エリア63dに「3」が入力されている状態であるので、表示欄90の中にも「3」が表示される。登録担当者が入力エリア63dの入力値を修正すると、情報処理部33は、表示欄90の中の文字にも修正後の値を反映する。 At this time, the information processing unit 33 performs processing to pop up a display field (text box) 90 that displays the input value into the input area 63d in a position adjacent to the top, bottom, left or right of the individual area containing the abnormal value (individual area 86d in the third row in this case) on the image display screen 61. In FIG. 10, the display field 90 is displayed in a position adjacent to the bottom of the individual area 86d, and since "3" has been entered in the input area 63d, "3" is also displayed in the display field 90. When the person in charge of registration corrects the input value in the input area 63d, the information processing unit 33 also reflects the corrected value in the text in the display field 90.

これにより、登録担当者が画像データ50を参照して入力値の修正を行う際、注文書の個別領域86dの記載内容と、入力エリア63dに入力されている値とが、一致しているか否かを容易かつ確実に認識できるので、修正作業が容易になると共に修正ミスを低減できる。 As a result, when the registration clerk refers to the image data 50 to correct the input values, he or she can easily and reliably determine whether the contents of the individual area 86d on the order form match the values entered in the input area 63d, making the correction process easier and reducing correction errors.

なお、エラーが証憑(注文書)の誤記である場合、登録担当者は、注釈情報R3の入力エリアに、異常値について注文主に確認するための注記事項を入力する。修正後、登録ボタン62aの入力を受け付けると、情報処理部33は、修正後の入力内容を管理サーバ4に送信する。 If the error is a clerical error on the voucher (order form), the person in charge of registration enters notes in the input area for annotation information R3 to be used by the customer to confirm the abnormal values. After correction, when the user clicks the registration button 62a, the information processing unit 33 sends the corrected input to the management server 4.

〈置換テーブル〉
たとえば商品名の項目51c(入力エリア63c)など、漢字やカナが含まれる項目については、数字やアルファベットと比較して認識精度が低下するとともに、正常値なのか異常値なのかを画一的に区別することが困難である。
Substitution Table
For example, for items that include kanji or kana, such as product name item 51c (input area 63c), recognition accuracy is lower than for numbers and alphabets, and it is difficult to uniformly distinguish between normal and abnormal values.

そこで、図11に示すように、特に漢字およびカナの少なくとも一方が含まれる項目に関して、情報処理部33は、いずれかの項目に入力された認識文字列85に対して、入力部32を介して修正の入力操作を受け付けた場合、修正前文字列85aと修正後文字列85bとを対応付けて記憶部4aに記録するように構成されている。管理サーバ4の記憶部4aは、修正前文字列85aと修正後文字列85bとを対応付けた置換テーブル44を記憶している。そして、情報処理部33は、文字認識により取得した認識文字列85が記憶部4aに記録された修正前文字列85aに該当する場合、対応する修正後文字列85bに置換する処理を行うように構成されている。 As shown in FIG. 11, particularly for items that include at least one of kanji and kana, the information processing unit 33 is configured to record in the memory unit 4a a pre-correction string 85a and a post-correction string 85b in association with each other when it receives a correction input operation via the input unit 32 for a recognized string 85 entered in any item. The memory unit 4a of the management server 4 stores a replacement table 44 that associates the pre-correction string 85a with the post-correction string 85b. The information processing unit 33 is configured to perform a process of replacing the recognized string 85 obtained by character recognition with the corresponding post-correction string 85b when the recognized string 85 corresponds to the pre-correction string 85a recorded in the memory unit 4a.

たとえば図11(A)に示すように、初回の文字認識処理において、情報処理部33が「新製品 タトワ式」という認識文字列85を取得し、取得した認識文字列85を入力画面62に入力する(「入力文字列」参照)。これに対して、情報処理部33が、登録担当者から、「新製品 タトウ式」という文字列に修正する入力を受け付けたと仮定する。 For example, as shown in FIG. 11(A), in the initial character recognition process, the information processing unit 33 acquires a recognized character string 85 of "New Product Tatowa Style" and inputs the acquired recognized character string 85 into the input screen 62 (see "Input Character String"). In response, it is assumed that the information processing unit 33 receives an input from the person in charge of registration to amend the character string to "New Product Tato Style".

この場合、情報処理部33は、図11(B)に示すように、「新製品 タトワ式」という認識文字列85を修正前文字列85aとし、修正入力された「新製品 タトウ式」という文字列を修正後文字列85bとして、置換テーブル44に一対一対応させて記録する。 In this case, as shown in FIG. 11(B), the information processing unit 33 records the recognized character string 85, "New Product Tatowa Style," as a pre-correction character string 85a, and the corrected and input character string, "New Product Tato Style," as a post-correction character string 85b in the substitution table 44 in one-to-one correspondence.

その後、図11(C)に示すように、情報処理部33は、文字認識処理をした時、取得した認識文字列85が、置換テーブル44に記録されたいずれかの修正前文字列85aと一致するか否かを照合する。情報処理部33は、取得した認識文字列85と一致する修正前文字列85aがある場合、その修正前文字列85aに対応する修正後文字列85bを取得する。情報処理部33は、認識文字列85の代わりに、取得した修正後文字列85bを入力画面62へ入力する。このように、情報処理部33は、認識文字列85の修正内容を学習して、同じ修正が発生しないように文字列の置換を行う。 After that, as shown in FIG. 11(C), when the information processing unit 33 performs character recognition processing, it checks whether the acquired recognized character string 85 matches any pre-correction character string 85a recorded in the replacement table 44. If there is a pre-correction character string 85a that matches the acquired recognized character string 85, the information processing unit 33 acquires a post-correction character string 85b that corresponds to that pre-correction character string 85a. The information processing unit 33 inputs the acquired post-correction character string 85b into the input screen 62 instead of the recognized character string 85. In this way, the information processing unit 33 learns the correction content of the recognized character string 85 and replaces the character string so that the same correction does not occur again.

(登録処理のフローチャート)
次に、図12および図13を参照して、登録処理における情報処理部33の処理の流れを説明する。
(Flowchart of registration process)
Next, the flow of processing by the information processing unit 33 in the registration process will be described with reference to FIG. 12 and FIG.

図12のステップS1において、情報処理部33は、図13に示す受信FAX一覧画面60(または画像読取部5により読み取られた画像管理画面(図示せず))において、未処理の画像データ50の選択および拡大表示ボタン60aの入力を受け付けることにより、画像表示画面61および入力画面62を表示させる。画像表示画面61には、選択された画像データ50が表示される。このとき、情報処理部33は、FAXの送信者情報から、証憑(注文書)の発行者情報R1を取得する。画像読取部5により読み取られた画像が選択された場合、情報処理部33は、登録担当者の選択入力により証憑(注文書)の発行者を取得する。なお、段ボール用証憑管理システム1の各部については、図1を参照するものとする。画像表示画面61および入力画面62については、図2を参照するものとする。書式データ43については図4を参照するものとする。 In step S1 of FIG. 12, the information processing unit 33 accepts the selection of unprocessed image data 50 and the input of the enlarged display button 60a on the received fax list screen 60 shown in FIG. 13 (or the image management screen (not shown) read by the image reading unit 5), thereby displaying the image display screen 61 and the input screen 62. The selected image data 50 is displayed on the image display screen 61. At this time, the information processing unit 33 obtains the issuer information R1 of the voucher (order form) from the sender information of the fax. When an image read by the image reading unit 5 is selected, the information processing unit 33 obtains the issuer of the voucher (order form) by the selection input of the registration staff. Note that for each part of the cardboard voucher management system 1, refer to FIG. 1. For the image display screen 61 and the input screen 62, refer to FIG. 2. For the format data 43, refer to FIG. 4.

図13のステップS2において、情報処理部33は、画像表示画面61および入力画面62を表示部31に並べて表示させる。 In step S2 of FIG. 13, the information processing unit 33 displays the image display screen 61 and the input screen 62 side by side on the display unit 31.

ステップS3において、情報処理部33は、種別選択ボタン61aの入力を受け付けることにより、種別情報CLを選択する。 In step S3, the information processing unit 33 selects type information CL by accepting input from the type selection button 61a.

ステップS4において、情報処理部33は、書式データ43を選択する。上記の通り、情報処理部33は、特定された発行者情報R1および種別情報CLに該当する書式データ43を選択する。該当する書式データ43が複数存在する場合、情報処理部33は、画像データ50に写る基準線83を検出して、検出した基準線83と近似する基準線情報73が設定された書式データ43を自動選択するとともに、書式選択ボタン61bに表示させる。 In step S4, the information processing unit 33 selects format data 43. As described above, the information processing unit 33 selects format data 43 that corresponds to the identified issuer information R1 and type information CL. If there are multiple corresponding format data 43, the information processing unit 33 detects the reference line 83 appearing in the image data 50, automatically selects format data 43 in which reference line information 73 that is similar to the detected reference line 83 is set, and displays it in the format selection button 61b.

ステップS5において、情報処理部33は、書式データ43に応じた入力エリアを入力画面62に表示させるように、入力画面62を更新する。 In step S5, the information processing unit 33 updates the input screen 62 so that an input area corresponding to the format data 43 is displayed on the input screen 62.

ステップS6において、情報処理部33は、選択した書式データ43に基づいて、画像データ50の前処理を行う。すなわち、情報処理部33は、向き設定情報74に基づいて、画像データ50の向きを縦書きまたは横書きに調整し、基準線情報73に基づいて拡大率および回転角度を調整し、太さ設定値75に基づいて罫線除去処理を行う。 In step S6, the information processing unit 33 performs preprocessing of the image data 50 based on the selected format data 43. That is, the information processing unit 33 adjusts the orientation of the image data 50 to vertical or horizontal writing based on the orientation setting information 74, adjusts the magnification ratio and rotation angle based on the reference line information 73, and performs ruled line removal processing based on the thickness setting value 75.

ステップS7において、情報処理部33は、書式データ43に基づいて、画像データ50上に第1枠線81および第2枠線82を重畳表示させる。登録担当者は、第1枠線81および第2枠線82の位置を確認し、適切な書式データ43が選択されたことを確認する。第1枠線81および第2枠線82の位置が画像データ50上の文字列と合わずに書式データ43が不適切である場合、登録担当者は、種別選択ボタン61aで書式データ43を選択し直す。 In step S7, the information processing unit 33 superimposes the first frame line 81 and the second frame line 82 on the image data 50 based on the format data 43. The registration staff member checks the positions of the first frame line 81 and the second frame line 82 and confirms that the appropriate format data 43 has been selected. If the positions of the first frame line 81 and the second frame line 82 do not match the character string on the image data 50 and the format data 43 is inappropriate, the registration staff member reselects the format data 43 using the type selection button 61a.

ステップS8において、情報処理部33は、OCRボタン61dの入力を受け付けることにより、画像表示画面61に表示させた画像データ50に対するOCR登録処理を実行する。OCR登録処理が終了すると、ステップS1で選択された画像データ50に対する登録処理が終了する。 In step S8, the information processing unit 33 accepts input from the OCR button 61d and executes OCR registration processing for the image data 50 displayed on the image display screen 61. When the OCR registration processing is completed, the registration processing for the image data 50 selected in step S1 is also completed.

(OCR登録処理)
次に、図14を参照して、図12のステップS8のOCR登録処理の詳細を説明する。画像表示画面61および入力画面62については、図9および図10を参照するものとする。書式データ43については図4を参照するものとする。
(OCR registration process)
Next, the OCR registration process in step S8 in Fig. 12 will be described in detail with reference to Fig. 14. For the image display screen 61 and the input screen 62, refer to Fig. 9 and Fig. 10. For the format data 43, refer to Fig. 4.

ステップS11において、情報処理部33は、画像データ50の第N行の登録処理を開始する。ここで、Nの初期値は1である。したがって、第1行の第1枠線81が選択される。 In step S11, the information processing unit 33 starts the registration process for the Nth row of the image data 50. Here, the initial value of N is 1. Therefore, the first frame line 81 of the first row is selected.

ステップS12において、情報処理部33は、第N行の第1枠線81に対して、項目毎の文字認識処理を行う。上記の通り、情報処理部33は、第1枠線81内の個別領域86a~86fに対して、それぞれ対応する個別項目データKa~Kfに基づいて文字認識処理を行う。文字認識処理の結果、個別領域86a~86fの各々についての認識文字列85が取得される。 In step S12, the information processing unit 33 performs character recognition processing for each item on the first frame line 81 of the Nth row. As described above, the information processing unit 33 performs character recognition processing on the individual areas 86a to 86f within the first frame line 81 based on the corresponding individual item data Ka to Kf. As a result of the character recognition processing, a recognized character string 85 is obtained for each of the individual areas 86a to 86f.

ステップS13において、情報処理部33は、個別領域86a~86fの各々について取得した各認識文字列85を、入力画面62における対応する入力エリア63a~63fに入力する。この際、情報処理部33は、それぞれの認識文字列85を置換テーブル44に照合し、認識文字列85と一致する修正前文字列85aが存在した場合には、対応する修正後文字列85bに置換して入力する。 In step S13, the information processing unit 33 inputs each recognition character string 85 acquired for each of the individual areas 86a to 86f into the corresponding input areas 63a to 63f on the input screen 62. At this time, the information processing unit 33 compares each recognition character string 85 with the replacement table 44, and if there is a pre-correction character string 85a that matches the recognition character string 85, it replaces it with the corresponding post-correction character string 85b and inputs it.

ステップS14において、情報処理部33は、項目51cの商品名による受注か否かを判断する。項目51bの商品番号が入力エリア63bに入力されていない場合、情報処理部33は、商品名による受注と判断する。一方、情報処理部33は、項目51bの商品番号が入力エリア63bに入力されている場合、商品名による受注ではないと判断し、ステップS15に処理を進める。 In step S14, the information processing unit 33 determines whether the order is based on the product name in item 51c. If the product number in item 51b has not been entered in the input area 63b, the information processing unit 33 determines that the order is based on the product name. On the other hand, if the product number in item 51b has been entered in the input area 63b, the information processing unit 33 determines that the order is not based on the product name, and proceeds to step S15.

〈商品番号での受注〉
ステップS15において、情報処理部33は、エラーが無いかどうかを判断する。つまり、入力画面62の入力エリア63a~63fのいずれにも、異常値が含まれていないか否かを判断する。異常値が含まれておらずエラーがないと判断した場合、情報処理部33は、ステップS22に処理を進めて、注文内容データR2の登録を自動的に実行する。
<Order by product number>
In step S15, the information processing unit 33 judges whether there is an error. That is, it judges whether any abnormal value is included in any of the input areas 63a to 63f of the input screen 62. If it is judged that no abnormal value is included and there is no error, the information processing unit 33 proceeds to step S22 and automatically executes the registration of the order detail data R2.

入力エリア63a~63fのいずれかに異常値(図10参照)が含まれていた場合、情報処理部33は、エラーありと判断し、ステップS16に処理を進める。ステップS16において、情報処理部33は、入力画面62のうち、異常値が含まれていた入力エリアに標識87を表示する等の上述の報知処理を行い、該当する入力エリアにカーソル88を移動させる。そして、ステップS17において、情報処理部33は、入力部32を介して、登録担当者による入力値の修正を受け付ける。カナや漢字を含む文字列の修正について、情報処理部33は、修正前文字列85aと修正後文字列85bとを置換テーブル44に記録する。なお、フローチャートとでは省略しているが、入力画面62のスキップボタン62b(図10参照)を入力すると、注文内容データR2の登録をスキップして、エラーを残したまま次の処理に進めることができる。その後、情報処理部33は、ステップS18において、入力画面62の登録ボタン62aへの入力を受け付けると、ステップS22に処理を進める。スキップボタン62bまたは登録ボタン62aが入力されるまでは、登録処理が一時停止する。 If any of the input areas 63a to 63f contains an abnormal value (see FIG. 10), the information processing unit 33 determines that there is an error and proceeds to step S16. In step S16, the information processing unit 33 performs the above-mentioned notification process, such as displaying a sign 87 in the input area of the input screen 62 that contains the abnormal value, and moves the cursor 88 to the corresponding input area. Then, in step S17, the information processing unit 33 accepts correction of the input value by the person in charge of registration via the input unit 32. For correction of a character string including kana or kanji, the information processing unit 33 records the pre-correction character string 85a and the corrected character string 85b in the replacement table 44. Although not shown in the flowchart, if the skip button 62b (see FIG. 10) on the input screen 62 is pressed, the registration of the order content data R2 can be skipped and the error can be left as it is and the process can proceed to the next step. After that, when the information processing unit 33 accepts an input to the registration button 62a on the input screen 62 in step S18, the process proceeds to step S22. The registration process will be paused until the skip button 62b or the registration button 62a is pressed.

〈商品名での受注〉
一方、ステップS14において、商品名による受注と判断した場合、情報処理部33は、ステップS19に処理を進める。商品名は、カナおよび漢字が混在するため、商品番号と比べて認識精度が低下する。そのため、ステップS19では、情報処理部33は、管理サーバ4の商品データベース(図示せず)から、入力エリア63cに入力された文字列と完全一致または部分一致する商品名を検索し、該当する商品名を候補として一覧表示する。商品データベースには、商品名と商品番号とが対応付けて記録されている。ステップS20において、情報処理部33は、入力部32を介して、一覧表示させた候補のうちから、登録担当者による商品名の選択を受け付ける。ステップS21において、情報処理部33は、選択された商品名と、その商品名に対応する商品番号とを、それぞれ入力画面62の入力エリア63cと63bとに入力して、ステップS22に処理を進める。
<Orders by product name>
On the other hand, if it is determined in step S14 that the order is based on the product name, the information processing unit 33 proceeds to step S19. Since the product name contains both kana and kanji, the recognition accuracy is lower than that of the product number. Therefore, in step S19, the information processing unit 33 searches the product database (not shown) of the management server 4 for product names that completely or partially match the character string entered in the input area 63c, and displays a list of the corresponding product names as candidates. The product database records product names and product numbers in association with each other. In step S20, the information processing unit 33 accepts the selection of a product name by the registration staff from the candidates displayed in the list via the input unit 32. In step S21, the information processing unit 33 inputs the selected product name and the product number corresponding to the product name into the input areas 63c and 63b of the input screen 62, respectively, and proceeds to step S22.

〈入力後の処理〉
ステップS22において、情報処理部33は、注文内容データR2の登録を行う。すなわち、情報処理部33は、入力画面62の入力内容(注文内容データR2)を管理サーバ4に送信し、管理サーバ4から受注番号Abを受信する。情報処理部33は、受信した受注番号Ab(図10参照)を、画像データ50の対応する行の所定箇所(行の右端)に重畳して表示する。なお、管理サーバ4において、受注番号Abと注文内容データR2とが関連付けて受注登録データ41aとして登録される。このとき、受注登録データ41aには、未チェックフラグが記録される。
<Processing after input>
In step S22, the information processing unit 33 registers the order details data R2. That is, the information processing unit 33 transmits the input contents (order details data R2) of the input screen 62 to the management server 4, and receives the order number Ab from the management server 4. The information processing unit 33 displays the received order number Ab (see FIG. 10) by superimposing it on a predetermined position (the right end of the line) of the corresponding line of the image data 50. Note that the order number Ab and the order details data R2 are associated with each other and registered as the order registration data 41a in the management server 4. At this time, an unchecked flag is recorded in the order registration data 41a.

ステップS23において、情報処理部33は、画像データ50の全ての行の登録処理が完了したか否かを判断する。情報処理部33は、最大行数71aまでの各行の登録処理が完了していない場合、処理をステップS11に戻す。このとき、情報処理部33は、登録処理の対象となる行番号Nの値に、「1」を加算(インクリメント)する。その結果、情報処理部33は、第2行以降の登録処理を進める。 In step S23, the information processing unit 33 determines whether the registration process has been completed for all lines of the image data 50. If the registration process has not been completed for each line up to the maximum number of lines 71a, the information processing unit 33 returns the process to step S11. At this time, the information processing unit 33 adds (increments) "1" to the value of the line number N that is the target of the registration process. As a result, the information processing unit 33 proceeds with the registration process for the second line onward.

ステップS11からステップS23までの処理が繰り返される結果、すべての行の登録処理が完了すると、画像表示画面61の画像データ50上には、注文数(行数)と同じ数の受注番号Abが、注文情報Rと対応付けて所定箇所(行の右端)に表示されることになる。情報処理部33は、ステップS23で全行の登録処理が完了したと判断して、画像データ50に対する登録処理を終了する。 When the process from step S11 to step S23 is repeated and the registration process for all lines is completed, the image data 50 on the image display screen 61 will display the same number of order numbers Ab as the number of orders (number of lines) in a predetermined location (the right end of the lines) in association with the order information R. The information processing unit 33 determines in step S23 that the registration process for all lines has been completed, and ends the registration process for the image data 50.

(検証処理)
登録処理の以降の作業について、簡単に説明する。登録処理が行われたあと、登録処理を行った第1の登録担当者とは別の第2の登録担当者(チェック担当者)により、登録内容について検証する業務が行われる。第2の登録担当者は、情報処理端末3から管理サーバ4にアクセスし、未チェックフラグが付与された受注登録データ41aを含んだ画像データ50を選択する。情報処理部33は、選択された画像データ50を画像表示画面61に表示させ、注文内容データR2が入力済みの入力画面62を、図15に示す「訂正モード」で表示させる。入力画面62には、OKボタン62cが表示される。
(Verification process)
The work subsequent to the registration process will be briefly described. After the registration process is performed, a second registration clerk (checking clerk) different from the first registration clerk who performed the registration process performs the task of verifying the registration contents. The second registration clerk accesses the management server 4 from the information processing terminal 3, and selects image data 50 including the order registration data 41a to which an unchecked flag has been added. The information processing section 33 displays the selected image data 50 on the image display screen 61, and displays the input screen 62 in which the order content data R2 has already been input in the "correction mode" shown in FIG. 15. An OK button 62c is displayed on the input screen 62.

情報処理部33は、1件目(1行目)の注文内容データR2が入力された1ページ目の入力画面62を表示し、入力エリア63a~63fの1つ1つについて、OKボタン62cの入力を受け付ける。この際、情報処理部33は、入力エリア63aにカーソルを移動させると共に、画像表示画面61において、カーソルが配置された入力エリア63aと対応する個別領域86aの付近に表示欄90を表示させ、入力エリア63aに入力された入力値を表示欄90にも表示させる。 The information processing unit 33 displays the first page of the input screen 62 on which the first order detail data R2 (first line) has been entered, and accepts input of the OK button 62c for each of the input areas 63a to 63f. At this time, the information processing unit 33 moves the cursor to the input area 63a, and displays a display field 90 on the image display screen 61 near the individual region 86a corresponding to the input area 63a where the cursor is located, and also displays the input value entered in the input area 63a in the display field 90.

チェック担当者は、個別領域86aに記載された文字列(画像データ50中の文字列)と表示欄90に表示された文字列とが一致することを確認し、OKボタン62cを入力(クリック)する。チェック担当者は、文字列が一致していない場合には、修正を入力する。OKボタン62cの入力を受け付けると、情報処理部33は、次の入力エリア63b以降について同様の処理を行う。これにより、画像データ50中の注文情報Rと、入力画面62の注文内容データR2とが一致していることが検証される。この作業を、画像データ50中の全ての注文情報Rの全ての項目について行うと、検証作業が完了する。 The person checking confirms that the character string written in the individual area 86a (the character string in the image data 50) matches the character string displayed in the display field 90, and inputs (clicks) the OK button 62c. If the character strings do not match, the person checking inputs a correction. When the input of the OK button 62c is received, the information processing unit 33 performs the same process for the next input area 63b onwards. This verifies that the order information R in the image data 50 matches the order content data R2 on the input screen 62. When this process has been performed for all items of all order information R in the image data 50, the verification process is completed.

検証作業が完了すると、情報処理部33は、管理サーバ4の登録用データベース41における受注登録データ41aの未チェックフラグをチェック完了フラグに書き換える制御を行う。検証処理が完了し、受注登録データ41aにチェック完了フラグが記録されると、管理サーバ4は、情報処理端末3からFAX送信指示を受信することにより、顧客に対して注文請書画像70(図16参照)の送信を行う(FAX受注の場合)。 When the verification work is completed, the information processing unit 33 controls the rewriting of the unchecked flag in the order registration data 41a in the registration database 41 of the management server 4 to a check completed flag. When the verification process is completed and the check completed flag is recorded in the order registration data 41a, the management server 4 receives a fax transmission instruction from the information processing terminal 3 and transmits an order confirmation image 70 (see FIG. 16) to the customer (in the case of a fax order).

注文請書画像70は、注文書の画像データ50に基づいて作成される注文請書の画像である。図16に示す注文請書画像70は、注文書の画像データ50を含む第1画像レイヤーに、受注登録データ41aを含む第2画像レイヤーを重畳させた画像である。図16に示すように、第2画像レイヤーには、担当者情報Aa(担当者名)、顧客番号R11および受注番号Abが表示される。複数の受注番号Abは、それぞれの受注番号Abが割り当てられた注文情報Rと隣り合う位置(同一の行内)に配置される。さらに、第2画像レイヤーには、注文を受領した旨を示す受領情報53aをテキストデータとして第2画像レイヤーに書き込むように構成されている。受領情報53aは、たとえば、「ご注文いただき誠にありがとうございました。」という文言である。また、情報処理部33は、「株式会社AAA」という社印のイメージデータ53bを第2画像レイヤーに書き込むように構成されている。図16の点線で囲んだ箇所が、第2画像レイヤーに書き込まれた情報を示す。 The order confirmation image 70 is an image of an order confirmation created based on the image data 50 of the order form. The order confirmation image 70 shown in FIG. 16 is an image in which a second image layer containing the order registration data 41a is superimposed on a first image layer containing the image data 50 of the order form. As shown in FIG. 16, the second image layer displays the person in charge information Aa (person in charge name), customer number R11, and order number Ab. The multiple order numbers Ab are arranged in positions adjacent to (in the same row as) the order information R to which each order number Ab is assigned. Furthermore, the second image layer is configured to write receipt information 53a indicating that the order has been received as text data in the second image layer. The receipt information 53a is, for example, the phrase "Thank you very much for your order." The information processing unit 33 is also configured to write image data 53b of the company seal "AAA Co., Ltd." in the second image layer. The area surrounded by a dotted line in FIG. 16 indicates the information written in the second image layer.

なお、図16では図示していないが、登録処理の過程でエラー(異常値)が発生し、異常値について注文主に確認するための注記事項が注釈情報R3に入力された場合、この注釈情報R3が第2画像レイヤーに自動的に記載される。 Although not shown in FIG. 16, if an error (abnormal value) occurs during the registration process and a note is entered in annotation information R3 to prompt the customer to confirm the abnormal value, this annotation information R3 is automatically entered in the second image layer.

注文請書画像70において、第1画像レイヤーと第2画像レイヤーとは、ビューワーソフトウェアにより、重畳した状態で表示できるだけでなく、個別に表示可能である。図16の注文請書画像70において注文書の文字に担当者情報Aa、顧客番号R11および受注番号Abが重なっていたとしても、第2画像レイヤーを一時的に非表示にして、第1画像レイヤーの注文書(原本)の文字を確認可能である。 In the order confirmation image 70, the first image layer and the second image layer can be displayed not only superimposed, but also individually using the viewer software. Even if the person in charge information Aa, customer number R11, and order number Ab are superimposed on the text of the order form in the order confirmation image 70 of FIG. 16, the second image layer can be temporarily hidden to check the text of the order form (original) in the first image layer.

注文請書画像70は、顧客に対して送信される他、管理サーバ4(図1参照)の画像用データベース42に記憶される。これにより、第1画像レイヤーに記録された証憑の原本の画像データ50と、第2画像レイヤーに記録された受注番号Abとを、単一のファイルで確認可能な状態で、管理サーバ4で管理することができる。 The order confirmation image 70 is sent to the customer and is also stored in the image database 42 of the management server 4 (see FIG. 1). This allows the management server 4 to manage the image data 50 of the original voucher recorded in the first image layer and the order number Ab recorded in the second image layer in a state where they can be confirmed as a single file.

[本実施形態の効果]
本実施形態では、以下のような効果を得ることができる。
[Effects of this embodiment]
In this embodiment, the following effects can be obtained.

本実施形態では、上記のように、情報処理部33と、証憑の発行者毎の証憑の書式データ43を予め記録した記憶部4aとを備え、情報処理部33は、証憑の発行者に応じて記憶部4aから書式データ43を選択し、選択した書式データ43に基づくパラメータで画像データ50の文字認識処理を実行することにより、証憑の項目毎の認識文字列85を取得し、表示部31に表示させた入力画面62の項目毎に、取得した項目毎の認識文字列85を入力する処理を実行するように構成されている。これにより、証憑の発行者(取引相手)が使用する証憑の書式に応じた書式データ43を発行者毎に専用で設定しておき、その発行者毎の書式データ43によって文字認識処理を最適化することができる。これにより、証憑の発行者(取引相手)に専用の定型書類や専用のフォントを使用させることなく、証憑の発行者毎の書式の証憑でも文字認識精度を向上させることができる。これにより、証憑の画像データ50からの情報の登録処理における文字認識精度を向上させて処理効率を改善することができる。その結果、登録担当者による確認および修正作業の負担を軽減することができるとともに、情報の登録処理に要する時間も短縮できる。なお、本実施形態では注文書の登録処理の例について具体的に説明したが、注文書以外の納品書、請求書、領収書などの証憑についても同様に適用され、同様の効果が得られる。 In this embodiment, as described above, the information processing unit 33 and the storage unit 4a in which the format data 43 of the voucher for each issuer of the voucher is pre-recorded are provided. The information processing unit 33 is configured to select the format data 43 from the storage unit 4a according to the issuer of the voucher, and execute character recognition processing of the image data 50 with parameters based on the selected format data 43 to obtain the recognition character string 85 for each item of the voucher, and execute processing to input the obtained recognition character string 85 for each item of the input screen 62 displayed on the display unit 31. As a result, the format data 43 according to the format of the voucher used by the issuer of the voucher (transaction partner) is set exclusively for each issuer, and the character recognition processing can be optimized by the format data 43 for each issuer. As a result, the character recognition accuracy can be improved even for vouchers in a format for each issuer of the voucher, without requiring the issuer of the voucher (transaction partner) to use a dedicated standard document or dedicated font. As a result, the character recognition accuracy can be improved in the registration processing of information from the image data 50 of the voucher, thereby improving processing efficiency. As a result, the burden of confirmation and correction work on the person in charge of registration can be reduced, and the time required for the information registration process can also be shortened. Note that in this embodiment, an example of the registration process for a purchase order has been specifically described, but the same can be applied to vouchers other than purchase orders, such as delivery notes, invoices, and receipts, and the same effects can be obtained.

また、本実施形態では、上記のように、書式データ43は、証憑の最大行数71aを含む行情報71と、証憑の1行に含まれる項目に関する列情報72とを含み、情報処理部33は、画像データ50を表示する画像表示画面61と、入力画面62とを表示部31に表示し、画像表示画面61に表示した画像データ50の1行単位で文字認識し、認識した行に含まれる各項目の認識文字列85を入力画面62の項目毎に入力する処理を、最大行数71aに応じて順次実行するように構成されている。これにより、1件(1行)の注文単位で文字認識を実行し、注文に含まれる項目毎の入力処理を実行でき、1件の注文に対する文字認識および情報入力を、行毎に順次実行できる。これにより、登録担当者が入力情報の確認および修正作業を行う場合に、入力情報の正誤を1件の注文単位で確認することができ、注文内容の誤入力を効果的に抑制できる。 In this embodiment, as described above, the format data 43 includes row information 71 including the maximum number of rows 71a of the voucher and column information 72 related to the items included in one row of the voucher, and the information processing unit 33 is configured to display the image display screen 61 displaying the image data 50 and the input screen 62 on the display unit 31, perform character recognition on a row-by-row basis for the image data 50 displayed on the image display screen 61, and input the recognized character string 85 of each item included in the recognized row for each item on the input screen 62 in sequence according to the maximum number of rows 71a. This allows character recognition to be performed on an order-by-order basis (one row), input processing to be performed for each item included in the order, and character recognition and information input for one order to be performed sequentially for each row. This allows the registration staff to check and correct the input information, and effectively suppresses erroneous input of order details.

また、本実施形態では、上記のように、情報処理部33は、入力画面62の入力値に異常値(エラー)が含まれる場合、以降の行に対する文字認識処理を一時停止するとともに、入力画面62において異常値が含まれることを報知する処理を実行するように構成されている。これにより、1行(1件)の注文単位で文字認識および入力処理を実行する際に、異常値(エラー)が存在した場合、その行で処理が停止され、次の行まで処理が進む前に報知が行われる。その結果、登録担当者は、画像データ50に複数件の注文が含まれている場合にも、どの注文でエラーが生じたのかを確実に認識して、適切な修正または顧客への確認を行うことができる。その結果、注文データの誤登録の可能性を、より確実に低減できる。 In addition, in this embodiment, as described above, the information processing unit 33 is configured to suspend character recognition processing for subsequent lines when an abnormal value (error) is included in the input value on the input screen 62, and to execute processing to notify the input screen 62 that an abnormal value is included. As a result, when character recognition and input processing are executed on an order line (one item) basis, if an abnormal value (error) is found, processing is stopped at that line, and a notification is issued before processing proceeds to the next line. As a result, even when the image data 50 contains multiple orders, the person in charge of registration can reliably recognize which order the error occurred in and can make appropriate corrections or confirm with the customer. As a result, the possibility of erroneous registration of order data can be more reliably reduced.

また、本実施形態では、上記のように、異常値が含まれることを報知する処理は、異常値が含まれる項目を識別するための標識87を入力画面62に表示する処理と、異常値が含まれる項目の入力エリア63にカーソルを移動させる処理と、を含む。これにより、文字認識処理中にエラー(異常値)が発生した場合に、入力画面62における該当する項目を標識87によって登録担当者に認識させることができる。そして、その項目にカーソルが自動で移動するため、登録担当者の操作負担を軽減できる。なお、修正すべき項目の入力エリア63を登録担当者が間違えるヒューマンエラーを抑制することもできる。また、この異常値について、注文主に確認するための注釈情報R3が入力されている場合には、注文請書画像70に自動的に注釈情報R3が記載されるので、証憑の誤記(注文主側のエラー)についても適切に対応できる。 In addition, in this embodiment, as described above, the process of notifying that an abnormal value is included includes a process of displaying a sign 87 on the input screen 62 to identify the item that contains the abnormal value, and a process of moving the cursor to the input area 63 of the item that contains the abnormal value. In this way, if an error (abnormal value) occurs during the character recognition process, the corresponding item on the input screen 62 can be recognized by the sign 87 by the registration clerk. Since the cursor automatically moves to that item, the operational burden on the registration clerk can be reduced. It is also possible to prevent human error in which the registration clerk mistakenly selects the input area 63 of an item that needs to be corrected. In addition, if annotation information R3 is entered to confirm with the customer about this abnormal value, annotation information R3 is automatically written in the order confirmation image 70, so that a clerical error on the voucher (an error on the customer's side) can also be appropriately dealt with.

また、本実施形態では、上記のように、情報処理部33は、上下端情報71bと、行間隔と、最大行数71aとに基づいて、証憑の各行を示す第1枠線81を、画像表示画面61に表示した画像データ50に重ねて表示し、項目毎の左右端情報72bに基づいて、証憑の各項目を示す第2枠線82を、画像表示画面61に表示した画像データ50に重ねて表示し、第1枠線81内の領域を1行として、第2枠線82内に含まれる文字列を項目毎の認識文字列85として取得するように構成されている。これにより、全ての行および項目の位置および範囲を1つ1つ設定することなく、証憑に含まれる各行および各項目の領域を正確に特定できる。また、第1枠線81と第2枠線82とを画像データ50に重ねて表示するので、登録担当者は、文字認識に用いる書式データ43が、画像データ50として写る証憑の書式と一致しているか否かを、視覚的に確認できる。そのため、仮に誤った書式データ43が選択された場合にも、登録担当者が容易に把握できる。 In addition, in this embodiment, as described above, the information processing unit 33 displays the first frame line 81 indicating each line of the evidence on the image data 50 displayed on the image display screen 61 based on the top and bottom end information 71b, the line spacing, and the maximum number of lines 71a, and displays the second frame line 82 indicating each item of the evidence on the image data 50 displayed on the image display screen 61 based on the left and right end information 72b for each item, and acquires the character string contained in the second frame line 82 as the recognition character string 85 for each item, with the area within the first frame line 81 being regarded as one line. This makes it possible to accurately identify the area of each line and each item contained in the evidence without setting the position and range of all lines and items one by one. In addition, since the first frame line 81 and the second frame line 82 are displayed on the image data 50, the registration staff can visually confirm whether the format data 43 used for character recognition matches the format of the evidence shown as the image data 50. Therefore, even if the wrong format data 43 is selected, the person in charge of registration can easily understand.

また、本実施形態では、上記のように、書式データ43は、証憑に含まれる基準線情報73を含み、情報処理部33は、文字認識処理の際、画像データ50中の基準線83を書式データ43に設定された基準線83に一致させるように、画像データ50の拡大率および回転角度を補正する処理を行うように構成されている。このように、証憑に含まれる基準線情報73を予め書式データ43に設定しておき、画像データ50中の基準線83を書式データ43の基準線83と一致させることによって、画像データ50中の文字サイズ、傾き、行間隔、項目(列)の幅、といった要素を書式データ43の設定に用いた見本(テンプレート)と一致させることができる。この結果、画像データ50中の証憑のサイズや方向を一定に揃えた上で、書式データ43によって最適化された文字認識処理を適用できるので、高い認識精度を維持できる。 In this embodiment, as described above, the format data 43 includes the reference line information 73 included in the evidence, and the information processing unit 33 is configured to perform a process of correcting the magnification rate and rotation angle of the image data 50 during character recognition processing so that the reference line 83 in the image data 50 matches the reference line 83 set in the format data 43. In this way, by setting the reference line information 73 included in the evidence in advance in the format data 43 and matching the reference line 83 in the image data 50 with the reference line 83 in the format data 43, elements such as character size, inclination, line spacing, and item (column) width in the image data 50 can be matched with the sample (template) used to set the format data 43. As a result, the size and direction of the evidence in the image data 50 can be made constant, and character recognition processing optimized by the format data 43 can be applied, so high recognition accuracy can be maintained.

また、本実施形態では、上記のように、書式データ43は、証憑に含まれる項目毎の文字間隔情報72dを含み、情報処理部33は、文字認識処理の際、画像データ50中の文字間隔を文字間隔情報72dに基づいて調整する処理を、画像データ50の項目毎に実行するように構成されている。これにより、文字認識処理に適した文字間隔に調整する前処理を行うことができる。また、証憑の項目毎に、使用される文字種(数字、アルファベット、カナ漢字など)が決まっていることから、項目単位で文字間隔情報72dを設定することによって、文字種に応じた最適な文字間隔に調整できる。これらにより、文字認識の精度をさらに効果的に向上させることができる。 In addition, in this embodiment, as described above, the format data 43 includes character spacing information 72d for each item included in the evidence, and the information processing unit 33 is configured to perform a process of adjusting the character spacing in the image data 50 based on the character spacing information 72d for each item of the image data 50 during character recognition processing. This allows pre-processing to be performed to adjust the character spacing to a level suitable for character recognition processing. Also, since the character type (numbers, alphabet, kana/kanji, etc.) used is fixed for each item of the evidence, by setting the character spacing information 72d on an item-by-item basis, it is possible to adjust the character spacing to an optimal level according to the character type. This makes it possible to further effectively improve the accuracy of character recognition.

また、本実施形態では、上記のように、記憶部4aは、ダンボールシートとダンボールケースとを含む段ボールの種別情報CLに対応して、種別情報CL毎に書式データ43を記憶し、情報処理部33は、証憑の種別情報CLに応じて記憶部4aから書式データ43を選択するように構成されている。これにより、段ボールの種別毎に独自の項目がある場合にも、それぞれの項目毎の文字認識および情報入力を適切に行える。 In addition, in this embodiment, as described above, the memory unit 4a stores format data 43 for each type information CL corresponding to the cardboard type information CL including cardboard sheets and cardboard cases, and the information processing unit 33 is configured to select format data 43 from the memory unit 4a according to the type information CL of the evidence. This makes it possible to appropriately perform character recognition and information input for each item, even when each type of cardboard has its own unique item.

また、本実施形態では、上記のように、情報処理部33は、いずれかの項目に入力された認識文字列85に対して、入力部32を介して修正の入力操作を受け付けた場合、修正前文字列85aと修正後文字列85bとを対応付けて記憶部4aの置換テーブル44に記録し、文字認識により取得した認識文字列85が置換テーブル44に記録された修正前文字列85aに該当する場合、対応する修正後文字列85bに置換する処理を行うように構成されている。これにより、文字認識処理において誤認識が発生し、登録担当者によって入力情報の修正が行われた場合でも、その後の文字認識処理において同じ修正前文字列85aが認識された場合に自動的に修正後文字列85bに置換することができる。これにより、登録担当者の作業負担を効果的に軽減できる。また、取引の度に発行される証憑では、一定の文字列(たとえば商品名、納品場所など)が頻繁に記載されるという事情があるため、修正前文字列85aを修正後文字列85bに置換するという簡単な処理で、誤入力を効果的に抑制できる。 In addition, in this embodiment, as described above, when the information processing unit 33 receives a correction input operation via the input unit 32 for the recognition character string 85 input in any of the items, the information processing unit 33 is configured to record the pre-correction character string 85a and the post-correction character string 85b in association with each other in the replacement table 44 of the storage unit 4a, and to perform a process of replacing the recognition character string 85 obtained by character recognition with the corresponding post-correction character string 85b when it corresponds to the pre-correction character string 85a recorded in the replacement table 44. As a result, even if a misrecognition occurs in the character recognition process and the input information is corrected by the registration staff, if the same pre-correction character string 85a is recognized in the subsequent character recognition process, it can be automatically replaced with the post-correction character string 85b. This effectively reduces the workload of the registration staff. In addition, since certain character strings (for example, product name, delivery location, etc.) are frequently written on the evidence issued for each transaction, the simple process of replacing the pre-correction character string 85a with the post-correction character string 85b can effectively suppress erroneous input.

[変形例]
なお、今回開示された実施形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施形態の説明ではなく特許請求の範囲によって示され、さらに特許請求の範囲と均等の意味および範囲内でのすべての変更(変形例)が含まれる。
[Modification]
It should be noted that the embodiments disclosed herein are illustrative and not restrictive in all respects. The scope of the present invention is indicated by the claims, not by the description of the embodiments above, and further includes all modifications (variations) within the meaning and scope of the claims.

たとえば、上記実施形態では、段ボール用証憑管理システム1に、複数の情報処理端末3と、管理サーバ4とを設けた例を示したが、本発明はこれに限られない。段ボール用証憑管理システム1には、少なくとも1つの情報処理部33と記憶部4aとが設けられていればよい。情報処理端末3とは別個の管理サーバ4を設けなくてもよい。たとえば小規模なユーザの場合、1つの情報処理端末3が受信部2と接続され、その情報処理端末3が備えるHDDが記憶部4aとして構成されていてもよい。この構成では、情報処理端末3が上記した管理サーバ4と同等の処理をさらに行う。また、上記実施形態では、受信部2を情報処理端末3と別個に設けた例を示したが、情報処理端末3が受信部2を内蔵していてもよい。 For example, in the above embodiment, an example was shown in which the cardboard evidence management system 1 was provided with multiple information processing terminals 3 and a management server 4, but the present invention is not limited to this. It is sufficient that the cardboard evidence management system 1 is provided with at least one information processing unit 33 and a storage unit 4a. It is not necessary to provide a management server 4 separate from the information processing terminal 3. For example, in the case of a small-scale user, one information processing terminal 3 may be connected to the receiving unit 2, and the HDD provided in the information processing terminal 3 may be configured as the storage unit 4a. In this configuration, the information processing terminal 3 further performs processing equivalent to that of the management server 4 described above. Also, in the above embodiment, an example was shown in which the receiving unit 2 was provided separately from the information processing terminal 3, but the information processing terminal 3 may have the receiving unit 2 built in.

また、上記実施形態では、画像データ50の1行単位で文字認識および入力処理を行う例を示したが、本発明はこれに限られない。本発明では、画像データ50の全ての行の文字認識および入力処理をまとめて(登録担当者による登録ボタンの入力を受け付けずに)行ってもよい。また、画像データ50の1列単位で、列毎(項目毎)に文字認識および入力処理を行ってもよい。 In addition, in the above embodiment, an example was shown in which character recognition and input processing was performed on a line-by-line basis of the image data 50, but the present invention is not limited to this. In the present invention, character recognition and input processing may be performed on all lines of the image data 50 at once (without receiving input from the person in charge of registration by pressing the registration button). Also, character recognition and input processing may be performed on a column-by-column basis (item-by-item basis) of the image data 50.

また、上記実施形態では、列単位での文字認識および入力処理において異常値が含まれた場合に、文字認識処理を一時停止する例を示したが、本発明はこれに限られない。本発明では、文字認識処理を停止させずに続行してもよい。 In addition, in the above embodiment, an example was shown in which character recognition processing was temporarily stopped when an abnormal value was included in character recognition and input processing on a column-by-column basis, but the present invention is not limited to this. In the present invention, character recognition processing may be continued without being stopped.

また、上記実施形態では、異常値が含まれる項目を識別するための標識87を入力画面62に表示し、異常値が含まれる項目の入力エリア63にカーソル88を移動させる処理を行う例を示したが、本発明はこれに限られない。異常値が含まれたことを報知する場合、標識87だけを表示して、カーソル88を移動させないようにしてもよいし、標識87を表示させなくてもよい。また、標識87としては、たとえば異常値があることを示すダイアログボックスなどをポップアップさせてもよい。 In the above embodiment, an example was shown in which a sign 87 for identifying an item containing an abnormal value is displayed on the input screen 62, and the cursor 88 is moved to the input area 63 of the item containing the abnormal value, but the present invention is not limited to this. When notifying that an abnormal value is included, only the sign 87 may be displayed and the cursor 88 may not be moved, or the sign 87 may not be displayed. In addition, the sign 87 may be, for example, a pop-up dialog box indicating that an abnormal value is present.

また、上記実施形態では、第1枠線81および第2枠線82を表示する例を示したが、本発明はこれに限られない。本発明では、第1枠線81および第2枠線82を表示させなくてもよい。 In addition, in the above embodiment, an example in which the first frame line 81 and the second frame line 82 are displayed is shown, but the present invention is not limited to this. In the present invention, the first frame line 81 and the second frame line 82 do not have to be displayed.

また、上記実施形態では、画像データ50中の基準線83を書式データ43に設定された基準線83に一致させる前処理を行う例を示したが、本発明はこれに限られない。本発明では、書式データ43に設定された各種データ(第1枠線81、第2枠線82のデータなど)の方を、画像データ50中の基準線に合うように変更してもよい。また、画像データ50中の文字のサイズおよび配列方向に基づいて画像データ50のサイズ調整や回転角度の調整を行ってもよい。 In the above embodiment, an example was shown in which pre-processing was performed to match the reference line 83 in the image data 50 with the reference line 83 set in the format data 43, but the present invention is not limited to this. In the present invention, various data (such as data on the first frame line 81 and the second frame line 82) set in the format data 43 may be changed to match the reference line in the image data 50. Also, the size and rotation angle of the image data 50 may be adjusted based on the size and arrangement direction of the characters in the image data 50.

また、上記実施形態では、画像データ50中の文字間隔を文字間隔情報72dに基づいて調整する処理を行う例を示したが、本発明はこれに限られない。本発明では、文字間隔を調整しなくてもよい。この場合、文字間隔情報72dを書式データ43に含めなくてもよい。 In addition, in the above embodiment, an example was shown in which processing was performed to adjust character spacing in image data 50 based on character spacing information 72d, but the present invention is not limited to this. In the present invention, character spacing does not have to be adjusted. In this case, character spacing information 72d does not have to be included in format data 43.

また、上記実施形態では、文字認識により取得した認識文字列85が記憶部4a(置換テーブル)に記録された修正前文字列85aに該当する場合、対応する修正後文字列85bに置換する処理を行う例を示したが、本発明はこれに限られない。本発明では、置換処理を行わなくてもよい。たとえば、文字認識処理を行うためのプログラム(文字認識エンジン)に学習機能が備わっている場合、文字認識エンジンに修正データをフィードバックしてもよい。 In the above embodiment, when the recognized character string 85 obtained by character recognition corresponds to the pre-correction character string 85a recorded in the storage unit 4a (replacement table), a process of replacing it with the corresponding post-correction character string 85b is performed, but the present invention is not limited to this. In the present invention, the replacement process does not have to be performed. For example, if the program (character recognition engine) for performing the character recognition process has a learning function, the correction data may be fed back to the character recognition engine.

また、上記実施形態では、OCR登録処理で商品名による受注の場合(ステップS14でYes)、商品名の候補を検索し、候補から選択することにより商品名を入力する例を示したが、本発明はこれに限られない。文字認識処理の認識精度が十分に高い場合には、商品名による受注の場合でも、認識文字列85をそのまま入力するようにしてよい。 In the above embodiment, when an order is placed by product name in the OCR registration process (Yes in step S14), the product name is entered by searching for product name candidates and selecting from the candidates, but the present invention is not limited to this. If the recognition accuracy of the character recognition process is sufficiently high, the recognized character string 85 may be entered as is, even when an order is placed by product name.

また、上記実施形態では、図14に示したOCR登録処理のステップS22において、管理サーバ4に受注登録データ41aを登録したときに未チェックフラグを記録しておき、検証作業を完了することで未チェックフラグをチェック完了フラグに書き換える例を示したが、本発明はこれに限られない。本発明では、受注登録データ41aの登録時に未チェックフラグを記録しなくてもよい。例えば、登録担当者が注文内容を目視により確認することとして、段ボール用証憑管理システム1としては登録後には何も処理しない方法を採用してもよい。登録担当者が登録された注文内容を印刷して、目視により内容確認するなどの方法で注文の確認を行ってもよい。 In the above embodiment, in step S22 of the OCR registration process shown in FIG. 14, an example was shown in which an unchecked flag is recorded when the order registration data 41a is registered in the management server 4, and the unchecked flag is rewritten to a check completed flag when the verification work is completed, but the present invention is not limited to this. In the present invention, it is not necessary to record an unchecked flag when the order registration data 41a is registered. For example, a method may be adopted in which the registration clerk visually checks the order contents, and the cardboard voucher management system 1 does not process anything after registration. The order may be confirmed by a method such as having the registration clerk print out the registered order contents and visually check the contents.

また、上記実施形態では、説明の便宜上、情報処理部33の処理をフロー駆動型のフローチャートを用いて説明したが、本発明はこれに限られない。本発明では、情報処理端末の処理動作を、イベントごとに処理を実行するイベント駆動型(イベントドリブン型)の処理により行ってもよい。この場合、完全なイベント駆動型で行ってもよいし、イベント駆動およびフロー駆動を組み合わせて行ってもよい。 In the above embodiment, for convenience of explanation, the processing of the information processing unit 33 is explained using a flow-driven flowchart, but the present invention is not limited to this. In the present invention, the processing operation of the information processing terminal may be performed by event-driven processing in which processing is executed for each event. In this case, the processing may be completely event-driven, or event-driven and flow-driven may be combined.

1 段ボール用証憑管理システム
2 受信部(画像取得部)
4a 記憶部
6 証憑
31(31a、31b) 表示部
32 入力部
33 情報処理部
43 書式データ
50、50a、50b、50c 画像データ
61 画像表示画面
62 入力画面
63a~63f、64a~64i 入力エリア
71 行情報
71a 最大行数
71b 上下端情報(行の上端位置および下端位置の情報)
71c 行間隔の情報
72 列情報
72b 左右端情報(左端位置および右端位置の情報)
72d 文字間隔情報
73 基準線情報(基準線の情報)
81 第1枠線
82 第2枠線
83 基準線
85 認識文字列
85a 修正前文字列
85b 修正後文字列
87 標識
88 カーソル
CL 種別情報
1. Cardboard document management system 2. Receiving unit (image acquisition unit)
4a Memory unit 6 Evidence 31 (31a, 31b) Display unit 32 Input unit 33 Information processing unit 43 Format data 50, 50a, 50b, 50c Image data 61 Image display screen 62 Input screen 63a to 63f, 64a to 64i Input area 71 Line information 71a Maximum number of lines 71b Top and bottom end information (information on the top and bottom end positions of a line)
71c Row spacing information 72 Column information 72b Left and right edge information (information on left and right edge positions)
72d Character spacing information 73 Baseline information (baseline information)
81 First frame line 82 Second frame line 83 Reference line 85 Recognized character string 85a Pre-correction character string 85b Corrected character string 87 Mark 88 Cursor CL Type information

Claims (5)

段ボールに関する証憑の画像データを取得する画像取得部と、
前記画像データを表示する表示部と、
入力操作を受け付ける入力部と、
前記画像データに含まれる情報の登録処理を行う情報処理部と、
前記証憑の発行者毎の前記証憑の書式データを予め記録した記憶部と、を備え、
前記情報処理部は、
前記証憑の発行者に応じて前記記憶部から前記書式データを選択し、
選択した前記書式データに基づくパラメータで前記画像データの文字認識処理を実行することにより、前記証憑の項目毎の認識文字列を取得し、
前記表示部に表示させた入力画面の項目毎に、取得した項目毎の前記認識文字列を入力する処理を実行するように構成されており、
前記書式データは、前記証憑の最大行数を含む行情報と、前記証憑の1行に含まれる項目に関する列情報とを含み、
前記情報処理部は、
前記画像データを表示する画像表示画面と、前記入力画面とを前記表示部に表示し、
前記画像表示画面に表示した前記画像データの1行単位で文字認識し、認識した行に含まれる各項目の前記認識文字列を前記入力画面の項目毎に入力する処理を、前記最大行数に応じて順次実行するように構成されており、
前記行情報は、前記最大行数に加えて、いずれかの行の上端位置および下端位置の情報と、行間隔の情報とを含み、
前記列情報は、項目毎の左端位置および右端位置の情報を含み、
前記情報処理部は、
前記上端位置および下端位置の情報と、前記行間隔と、前記最大行数とに基づいて、前記証憑の各行を示す第1枠線を、前記画像表示画面に表示した前記画像データに重ねて表示し、
前記項目毎の左端位置および右端位置の情報に基づいて、前記証憑の各項目を示す第2枠線を、前記画像表示画面に表示した前記画像データに重ねて表示し、
前記第1枠線内の領域を1行として、前記第2枠線内に含まれる文字列を項目毎の前記認識文字列として取得するように構成されている、段ボール用証憑管理システム。
an image acquisition unit for acquiring image data of evidence relating to the cardboard box;
A display unit that displays the image data;
an input unit that accepts input operations;
an information processing unit that performs registration processing of information included in the image data;
a storage unit in which format data of the voucher for each issuer of the voucher is recorded in advance,
The information processing unit includes:
Selecting the format data from the storage unit according to the issuer of the voucher;
executing character recognition processing of the image data with parameters based on the selected format data to obtain a recognized character string for each item of the voucher;
The display unit is configured to execute a process of inputting the recognition character string for each of the acquired items for each item of the input screen displayed on the display unit,
The format data includes line information including a maximum number of lines of the voucher, and column information regarding items included in one line of the voucher,
The information processing unit includes:
displaying an image display screen for displaying the image data and the input screen on the display unit;
a process of performing character recognition on a line-by-line basis of the image data displayed on the image display screen, and inputting the recognized character strings of each item included in the recognized line into each item of the input screen in sequence according to the maximum number of lines;
the line information includes, in addition to the maximum number of lines, information on the top and bottom end positions of any line and information on line spacing;
The column information includes information on the left and right end positions of each item,
The information processing unit includes:
displaying a first frame line indicating each line of the voucher based on the information on the top and bottom end positions, the line spacing, and the maximum number of lines, superimposing the first frame line on the image data displayed on the image display screen;
based on the information on the left end position and the right end position of each item, a second frame line indicating each item of the voucher is displayed superimposed on the image data displayed on the image display screen;
A cardboard document management system configured to obtain the area within the first frame line as one line and the character string contained within the second frame line as the recognition character string for each item.
前記書式データは、前記証憑に含まれる基準線の情報を含み、
前記情報処理部は、前記文字認識処理の際、前記画像データ中の前記基準線を前記書式データに設定された前記基準線に一致させるように、前記画像データの拡大率および回転角度を補正する処理を行うように構成されている、請求項に記載の段ボール用証憑管理システム。
The format data includes baseline information included in the evidence,
The cardboard evidence management system of claim 1, wherein the information processing unit is configured to perform a process of correcting the magnification ratio and rotation angle of the image data during the character recognition process so as to match the reference line in the image data with the reference line set in the format data .
前記書式データは、前記証憑に含まれる項目毎の文字間隔情報を含み、
前記情報処理部は、前記文字認識処理の際、前記画像データ中の文字間隔を前記文字間隔情報に基づいて調整する処理を、前記画像データの項目毎に実行するように構成されている、請求項1または2に記載の段ボール用証憑管理システム。
The format data includes character spacing information for each item included in the evidence,
The cardboard evidence management system of claim 1 or 2, wherein the information processing unit is configured to execute a process of adjusting character spacing in the image data based on the character spacing information for each item of the image data during the character recognition process.
前記記憶部は、ダンボールシートとダンボールケースとを含む前記段ボールの種別情報に対応して、前記種別情報毎に前記書式データを記憶し、
前記情報処理部は、前記証憑の前記種別情報に応じて前記記憶部から前記書式データを選択するように構成されている、請求項1~のいずれか1項に記載の段ボール用証憑管理システム。
The storage unit stores the format data for each type of cardboard, the type of cardboard including a cardboard sheet and a cardboard case,
The cardboard voucher management system according to any one of claims 1 to 3 , wherein the information processing unit is configured to select the format data from the storage unit according to the type information of the voucher.
前記情報処理部は、
いずれかの項目に入力された前記認識文字列に対して、前記入力部を介して修正の入力操作を受け付けた場合、修正前文字列と修正後文字列とを対応付けて前記記憶部に記録し、
文字認識により取得した前記認識文字列が前記記憶部に記録された前記修正前文字列に該当する場合、対応する前記修正後文字列に置換する処理を行うように構成されている、請求項1~のいずれか1項に記載の段ボール用証憑管理システム。
The information processing unit includes:
when a correction input operation is received via the input unit for the recognized character string input in any of the items, a pre-correction character string and a corrected character string are associated with each other and recorded in the storage unit;
The cardboard document management system according to any one of claims 1 to 4, configured to perform a process of replacing the recognized character string obtained by character recognition with the corresponding corrected character string when the recognized character string corresponds to the pre-correction character string recorded in the memory unit.
JP2022039472A 2022-03-14 2022-03-14 Cardboard document management system Active JP7685233B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022039472A JP7685233B2 (en) 2022-03-14 2022-03-14 Cardboard document management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022039472A JP7685233B2 (en) 2022-03-14 2022-03-14 Cardboard document management system

Publications (2)

Publication Number Publication Date
JP2023134115A JP2023134115A (en) 2023-09-27
JP7685233B2 true JP7685233B2 (en) 2025-05-29

Family

ID=88143716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022039472A Active JP7685233B2 (en) 2022-03-14 2022-03-14 Cardboard document management system

Country Status (1)

Country Link
JP (1) JP7685233B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001344564A (en) 2000-06-02 2001-12-14 Ntt Advanced Technology Corp Method and apparatus for checking and correcting character recognition results
JP2013012223A (en) 2012-08-29 2013-01-17 Canon Software Inc Image processing device and method, and program
JP2013250906A (en) 2012-06-04 2013-12-12 Canon Inc Image process device, image process method and program
JP2014026592A (en) 2012-07-30 2014-02-06 Fujitsu Frontech Ltd Character recognition device
JP2014206942A (en) 2013-04-16 2014-10-30 株式会社富士通マーケティング Shop-by-shop sales data management system and shop-by-shop sales data management program
JP2016126796A (en) 2014-12-27 2016-07-11 株式会社 ハンモック Type OCR system
JP2019168856A (en) 2018-03-22 2019-10-03 セイコーエプソン株式会社 Image processing apparatus, image processing method, and image processing program
JP2019185353A (en) 2018-04-09 2019-10-24 アールエフシステム株式会社 Order management system for cardboard boxes

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63257080A (en) * 1987-04-15 1988-10-24 Hitachi Ltd optical character reader
JPH04340617A (en) * 1991-05-17 1992-11-27 Ricoh Co Ltd input device
JP2010136221A (en) * 2008-12-05 2010-06-17 Bankutekku Japan Kk Image processing system and image processing method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001344564A (en) 2000-06-02 2001-12-14 Ntt Advanced Technology Corp Method and apparatus for checking and correcting character recognition results
JP2013250906A (en) 2012-06-04 2013-12-12 Canon Inc Image process device, image process method and program
JP2014026592A (en) 2012-07-30 2014-02-06 Fujitsu Frontech Ltd Character recognition device
JP2013012223A (en) 2012-08-29 2013-01-17 Canon Software Inc Image processing device and method, and program
JP2014206942A (en) 2013-04-16 2014-10-30 株式会社富士通マーケティング Shop-by-shop sales data management system and shop-by-shop sales data management program
JP2016126796A (en) 2014-12-27 2016-07-11 株式会社 ハンモック Type OCR system
JP2019168856A (en) 2018-03-22 2019-10-03 セイコーエプソン株式会社 Image processing apparatus, image processing method, and image processing program
JP2019185353A (en) 2018-04-09 2019-10-24 アールエフシステム株式会社 Order management system for cardboard boxes

Also Published As

Publication number Publication date
JP2023134115A (en) 2023-09-27

Similar Documents

Publication Publication Date Title
US8189229B2 (en) Image processing method, image processing apparatus and program for image position correction processing
JP6179853B2 (en) Accounting system, accounting program, and book
CA2502811C (en) System and method for capture, storage and processing of receipts and related data
KR100228321B1 (en) Character date input system
US20150227785A1 (en) Information processing apparatus, information processing method, and program
US12020462B2 (en) Information processing apparatus, information processing method, and computer program product
JPH0573598A (en) Document processing method and document processing system
CN1265499A (en) Bill processing method and bill processing system
JP6264949B2 (en) Image processing apparatus and program
JP2019070933A (en) Year-end adjustment work support system
JP2021060629A (en) Question generation apparatus, question generation method, program for question generation apparatus, and document management system
JP4085337B2 (en) Image forming apparatus
JP6934186B2 (en) Order management system for corrugated board
JP7685233B2 (en) Cardboard document management system
US10943108B2 (en) Image reader performing character correction
JP5059529B2 (en) Information processing system, information processing apparatus, program, and recording medium
JP3904292B2 (en) Auxiliary book interlocking bookkeeping device
JP2010204906A (en) Device and method for reading form
JP7240742B2 (en) Order management system for cardboard
JP7283245B2 (en) image forming device
JP4041834B2 (en) Auxiliary book automatic interlocking device, auxiliary book interlocking processing method, and computer-readable recording medium recording program
JP7201415B2 (en) Information processing device and program
Fernando Intelligent Document Processing: A Guide For Building RPA Solutions
JP2018121229A (en) Image correction device, image correction method, and computer program
JP6316913B1 (en) FAX order receiving system and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20220317

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230419

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240305

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20240403

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240612

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240820

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241007

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20250107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250327

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: 20250507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250512

R150 Certificate of patent or registration of utility model

Ref document number: 7685233

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150