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
JP7558730B2 - Information processing device, information processing method, and program - Google Patents
[go: Go Back, main page]

JP7558730B2 - Information processing device, information processing method, and program - Google Patents

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

Info

Publication number
JP7558730B2
JP7558730B2 JP2020153977A JP2020153977A JP7558730B2 JP 7558730 B2 JP7558730 B2 JP 7558730B2 JP 2020153977 A JP2020153977 A JP 2020153977A JP 2020153977 A JP2020153977 A JP 2020153977A JP 7558730 B2 JP7558730 B2 JP 7558730B2
Authority
JP
Japan
Prior art keywords
text data
financial statement
unit
image
category
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
JP2020153977A
Other languages
Japanese (ja)
Other versions
JP2022047925A (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 JP2020153977A priority Critical patent/JP7558730B2/en
Publication of JP2022047925A publication Critical patent/JP2022047925A/en
Application granted granted Critical
Publication of JP7558730B2 publication Critical patent/JP7558730B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

本発明は、決算書に関する情報処理に関する。 The present invention relates to information processing related to financial statements.

従来、画像データから文字情報を読み取る光学文字認識(OCR:Optical Character Recognition)技術が知られている。 Conventionally, optical character recognition (OCR) technology is known for reading character information from image data.

特開2004-246575号公報(2004年9月2日公開)JP 2004-246575 A (Published on September 2, 2004)

しかしながら、上述のような従来技術において、特に不鮮明な決算書に対してOCR処理を行った場合、入力精度が低下し、意図した勘定科目或いは数値とは異なるデータが設定され得るという問題がある。一方で、入力精度を高くするために決算書のデータを手入力した場合には、時間やユーザの手間が掛かるという問題がある。 However, in the conventional technology described above, when OCR processing is performed on financial statements that are particularly unclear, there is a problem that input accuracy decreases and data different from the intended account items or figures may be set. On the other hand, when financial statement data is manually entered to improve input accuracy, there is a problem that it takes time and effort from the user.

本発明の一態様は、上記の問題に鑑みてなされたものであり、決算書のデータを入力する場合におけるユーザの利便性、及び入力精度を向上させるための情報処理装置を実現することを目的とする。 One aspect of the present invention has been made in consideration of the above problems, and aims to realize an information processing device that improves user convenience and input accuracy when inputting financial statement data.

上記の課題を解決するために、本発明の一態様に係る情報処理装置は、決算書の画像を取得する取得部と、前記取得部が取得した画像に対して、前記決算書の種類に応じた所定の前処理を行う前処理部と、前記前処理部が前処理を行った画像に含まれるテキストデータを読み取り、且つ各テキストデータに対して、数値、又は事前に登録された勘定科目若しくは決算書におけるカテゴリ名の何れかを、近似度に基づいて当該テキストデータに割り当てる読取部と、前記近似度が所定未満である各テキストデータを、ユーザが修正可能となるように提示する提示部とを備えている。 In order to solve the above problem, an information processing device according to one embodiment of the present invention includes an acquisition unit that acquires an image of a financial statement, a preprocessing unit that performs a predetermined preprocessing on the image acquired by the acquisition unit according to the type of the financial statement, a reading unit that reads text data included in the image preprocessed by the preprocessing unit and assigns to each piece of text data a numerical value or a preregistered account item or a category name in the financial statement based on the degree of approximation, and a presentation unit that presents each piece of text data whose degree of approximation is less than a predetermined degree so that the user can modify it.

本発明の一態様によれば、決算書のデータを入力する場合におけるユーザの利便性、及び入力精度を向上させるための情報処理装置を実現できる。 According to one aspect of the present invention, it is possible to realize an information processing device that improves user convenience and input accuracy when inputting financial statement data.

実施形態1に係る情報処理システムの機能ブロック図である。1 is a functional block diagram of an information processing system according to a first embodiment. 実施形態1の一態様に係る情報処理システムの概略図である。1 is a schematic diagram of an information processing system according to a first embodiment. 実施形態1に係る処理の流れを示すフローチャートである。4 is a flowchart showing a process flow according to the first embodiment. 実施形態1に係る前処理の一例を示す図である。FIG. 4 is a diagram illustrating an example of pre-processing according to the first embodiment. 前処理部がテキストデータを再配置した決算書の一部を示す図の一例である。13 is an example of a diagram illustrating a portion of a financial statement in which text data has been rearranged by the preprocessing unit. 読取部が決算書のテキストデータと記憶部に登録された勘定科目とをカテゴリ毎に突合する様子を示す概念図である。13 is a conceptual diagram showing how the reading unit compares the text data of the financial statement with the account items registered in the storage unit for each category. FIG. 情報処理装置から送信された情報に基づき端末装置に表示される修正画面の一例を示す図である。FIG. 13 is a diagram showing an example of a correction screen displayed on a terminal device based on information transmitted from an information processing device. 実施形態2に係る処理の流れを示すフローチャートである。10 is a flowchart showing a process flow according to a second embodiment. 実施形態2に係る前処理の一例を示す図である。FIG. 11 is a diagram illustrating an example of pre-processing according to the second embodiment.

〔実施形態1〕
以下、本発明の一実施形態について、詳細に説明する。
[Embodiment 1]
Hereinafter, one embodiment of the present invention will be described in detail.

〔1.情報処理システムの構成例〕
本実施形態に係る情報処理システムは、情報処理装置が、端末装置から送信された決算書(財務諸表)の画像に対して所定の前処理を行った上で当該画像内におけるテキストデータの読み取りを行い、例えば与信管理に関する処理を行うシステムである。また、本明細書においてテキストデータとは、数字や勘定科目等の文字列を示すデータ、又は文字列自体を意味している。
[1. Example of information processing system configuration]
The information processing system according to this embodiment is a system in which an information processing device performs a predetermined preprocessing on an image of a financial statement (financial statement) transmitted from a terminal device, reads text data in the image, and performs processing related to credit management, for example. In this specification, text data refers to data showing character strings such as numbers and account headings, or the character strings themselves.

図1は、本実施形態に係る情報処理システム1の機能ブロック図である。情報処理システム1は、情報処理装置10及び端末装置30を有している。また、情報処理装置10と端末装置30とは、ネットワークを介して互いに通信可能に接続されている。 FIG. 1 is a functional block diagram of an information processing system 1 according to this embodiment. The information processing system 1 includes an information processing device 10 and a terminal device 30. The information processing device 10 and the terminal device 30 are connected to each other via a network so that they can communicate with each other.

情報処理装置10は、決算書の画像分析を行う装置であって、制御部12、記憶部20及び通信部22を備えている。 The information processing device 10 is a device that performs image analysis of financial statements, and includes a control unit 12, a memory unit 20, and a communication unit 22.

制御部12は、情報処理装置10全体を統括するCPU又はそれに準ずる制御装置であって、取得部14、前処理部15、読取部16、提示部17及び算出部18としても機能する。 The control unit 12 is a CPU or a control device equivalent thereto that controls the entire information processing device 10, and also functions as an acquisition unit 14, a preprocessing unit 15, a reading unit 16, a presentation unit 17, and a calculation unit 18.

取得部14は、決算書の画像を取得する。取得部14が決算書の画像を取得する取得先は、限定されず、例えば端末装置30からウェブサーバ上にアップロードされた画像を取得する構成であってもよい。 The acquisition unit 14 acquires images of financial statements. The source from which the acquisition unit 14 acquires images of financial statements is not limited, and may be configured to acquire images uploaded onto a web server from the terminal device 30, for example.

前処理部15は、取得部14が取得した画像に対して、決算書の種類に応じた所定の前処理を行う。一例については後述するが、この前処理によって、読取部16がテキストデータを読み取る場合における精度を向上させることが可能となる。また、前処理部15は、前処理において決算書の読取を要する場合、読取部16を介した処理を行う。 The preprocessing unit 15 performs a predetermined preprocessing on the image acquired by the acquisition unit 14 according to the type of financial statement. An example will be described later, but this preprocessing makes it possible to improve the accuracy when the reading unit 16 reads text data. Furthermore, when the preprocessing requires the reading of a financial statement, the preprocessing unit 15 performs processing via the reading unit 16.

また、本明細書の例において決算書の種類は、貸借対照表、損益計算書及び販売管理費(表)の何れかであるものとして説明するが、これに限定されずその他の決算書が処理対象であってもよい。 In the examples of this specification, the types of financial statements are described as being either a balance sheet, a profit and loss statement, or a selling and administrative expenses (statement), but the types are not limited to these and other financial statements may also be processed.

読取部16は、OCR処理を行う機構を有し、前処理部15が前処理を行った画像に含まれるテキストデータを読み取り、且つ各テキストデータに対して、数値、又は事前に記憶部20等に登録された勘定科目若しくは決算書におけるカテゴリ名の何れかを、近似度に基づいて当該テキストデータに割り当てる。また、読取部16は、画像内においてテキストデータや直線等の所定のオブジェクトを検出する処理を行う。 The reading unit 16 has a mechanism for performing OCR processing, and reads text data contained in the image preprocessed by the preprocessing unit 15, and assigns to each piece of text data either a numerical value or an account item or a category name in a financial statement that has been registered in advance in the storage unit 20, etc., based on the degree of similarity. The reading unit 16 also performs processing to detect text data and predetermined objects such as straight lines within the image.

また、読取部16による処理においては、Faster R-CNN(Regions with Convolutional Neural Networks)等を用いた機械学習手法が用いられる構成であってもよい。当該構成において、記憶部20は、読取部16が参照する学習モデルを規定する関数やパラメータを格納する。 The processing by the reading unit 16 may be configured to use a machine learning method such as Faster R-CNN (Regions with Convolutional Neural Networks). In this configuration, the storage unit 20 stores functions and parameters that define the learning model referenced by the reading unit 16.

提示部17は、数値、又は事前に記憶部20等に登録された勘定科目若しくは決算書におけるカテゴリ名の何れとも近似度が所定未満である各テキストデータ等を、ユーザが修正可能となるように提示する。また、提示部17は、後述する各情報をユーザに対して提示する処理を行う。 The presentation unit 17 presents each piece of text data, etc., that is less than a predetermined degree of similarity to either a numerical value, or an account item or a category name in a financial statement that has been registered in advance in the storage unit 20, etc., in a manner that allows the user to modify it. The presentation unit 17 also performs a process of presenting each piece of information, which will be described later, to the user.

算出部18は、読取部16が読み取った各テキストデータに割り当てられた勘定科目と当該勘定科目に割り当てられた数値(金額)とを参照して、与信管理に関する判定結果を算出する。ここで、与信管理に関する判定結果とは、例えば対象となる決算書に係る企業の財務状況における信用度合いを示す格付け情報等である。 The calculation unit 18 calculates the judgment result regarding credit management by referring to the account items assigned to each text data read by the reading unit 16 and the numerical values (amounts) assigned to the account items. Here, the judgment result regarding credit management is, for example, rating information indicating the creditworthiness of the financial situation of the company related to the target financial statement.

記憶部20は、各種情報を記憶する記憶装置であって、例えば各決算書における勘定科目の一覧を示すデータベース等を格納する。 The memory unit 20 is a storage device that stores various information, such as a database showing a list of account items in each financial statement.

また、勘定科目は、決算書の種類毎、或いは決算書におけるカテゴリ毎に記憶部20に登録されている。ここで、決算書のカテゴリとは、勘定科目の種類を大別する分類であって、例えば貸借対照表の例の場合、資産の部や負債の部等の各部における「流動資産」「固定資産」「流動負債」「固定負債」といった項目を意味する。ただし、上述した資産の部等の各部についても決算書のカテゴリに含むものとしてもよい。 Furthermore, account items are registered in the storage unit 20 by type of financial statement or by category in the financial statement. Here, a financial statement category is a classification that broadly classifies the types of account items, and in the case of a balance sheet, for example, it means items such as "current assets," "fixed assets," "current liabilities," and "fixed liabilities" in each section such as the assets section and the liabilities section. However, each section such as the assets section described above may also be included in the financial statement category.

通信部22は、端末装置30等の外部装置との通信処理を行う。 The communication unit 22 performs communication processing with external devices such as the terminal device 30.

端末装置30は、パソコン、スマートフォン又はタブレット等の装置であって、表示部32及び通信部34等を備えている。 The terminal device 30 is a device such as a personal computer, smartphone, or tablet, and is equipped with a display unit 32 and a communication unit 34, etc.

表示部32は、動画像又はテキスト等を表示するディスプレイである。また、表示部32がタッチパネルとして実現され、表示部32を介した入力操作が可能な構成であってもよい。 The display unit 32 is a display that displays moving images, text, etc. The display unit 32 may also be realized as a touch panel, allowing input operations to be performed via the display unit 32.

また、本実施形態において、提示部17によってテキストデータ等をユーザに提示する処理は、関係する情報が表示部32に表示されることによって行われる。換言すると、提示部17は、表示部32に表示されるデータを、通信部22を介して端末装置30に送信することによって、テキストデータ等をユーザに提示する処理を行う。 In addition, in this embodiment, the process of presenting text data, etc. to the user by the presentation unit 17 is performed by displaying related information on the display unit 32. In other words, the presentation unit 17 performs the process of presenting text data, etc. to the user by transmitting the data displayed on the display unit 32 to the terminal device 30 via the communication unit 22.

通信部34は、情報処理装置10等の外部装置との通信処理を行う。例えば通信部34は、ユーザ操作に基づいて、端末装置30が少なくとも一時的に保持する、決算書を示す画像データを、情報処理装置10に対して送信する。 The communication unit 34 performs communication processing with external devices such as the information processing device 10. For example, the communication unit 34 transmits image data showing a financial statement, which is at least temporarily held by the terminal device 30, to the information processing device 10 based on a user operation.

なお、図1に示す構成とは別の態様として、情報処理装置10は、例えばインターフェースとなるウェブサイトを提供するウェブサーバ、クラウドサーバ及びAPI(Application Programming Interface)サーバとして実現される構成であってもよい。換言すれば、情報処理装置10は、ウェブサーバ、クラウドサーバ及びAPIサーバによって構成されてもよい。 In addition, as an alternative to the configuration shown in FIG. 1, the information processing device 10 may be configured to be realized as, for example, a web server that provides a website that serves as an interface, a cloud server, and an API (Application Programming Interface) server. In other words, the information processing device 10 may be configured by a web server, a cloud server, and an API server.

図2は、当該構成を示す概略図である。図2の例において、ウェブサーバは、自装置にアップロードされた決算書の画像を取得し、取得した決算書の画像を示す情報をクラウドサーバに送信する。また、クラウドサーバは、前処理部15及び読取部16に対応する処理を、上記APIを適宜呼び出すことによって実行した上で、読み取った文字情報をウェブサーバに対して送信する。続いて、ウェブサーバは、クラウドサーバから受信した情報に基づき、決算書におけるテキストデータを修正するための画面を示す情報を、決算書の画像を自装置にアップロードした端末装置30に対して送信する。 Figure 2 is a schematic diagram showing this configuration. In the example of Figure 2, the web server acquires an image of the financial statement uploaded to its own device, and transmits information showing the acquired image of the financial statement to the cloud server. The cloud server also executes the processes corresponding to the preprocessing unit 15 and the reading unit 16 by appropriately calling the above API, and transmits the read character information to the web server. Next, based on the information received from the cloud server, the web server transmits information showing a screen for correcting the text data in the financial statement to the terminal device 30 that uploaded the image of the financial statement to its own device.

〔2.情報処理システムの処理例〕
本実施形態に係る情報処理システム1における処理の流れについて、決算書が貸借対照表である場合を例に挙げて、図3を参照して説明する。図3は、本実施形態に係る処理の流れを示すフローチャートである。また、図3のフローチャートに示す処理は、端末装置30が決算書(貸借対照表)の画像を情報処理装置10に送信した場合に実行される。
2. Examples of processing by the information processing system
The flow of processing in the information processing system 1 according to this embodiment will be described with reference to Fig. 3, taking the case where the financial statement is a balance sheet as an example. Fig. 3 is a flowchart showing the flow of processing according to this embodiment. The processing shown in the flowchart in Fig. 3 is executed when the terminal device 30 transmits an image of the financial statement (balance sheet) to the information processing device 10.

ステップS101において、取得部14は、端末装置30から送信された決算書の1又は複数の画像を、通信部22を介して取得する。 In step S101, the acquisition unit 14 acquires one or more images of the financial statement sent from the terminal device 30 via the communication unit 22.

ステップS102において、前処理部15は、読取対象となる決算書が複数の画像にまたがっているか否か、即ち読み取り対象となる単一の決算書の画像が複数の画像によって構成されるか否かを判定する。前処理部15が、読取対象となる決算書が複数ページにまたがっていると判定した場合、続いてステップS103の処理が実行され、上記決算書が複数ページにまたがっていないと判定した場合、続いてステップS104の処理が実行される。 In step S102, the preprocessing unit 15 determines whether the financial statement to be read spans multiple images, i.e., whether the image of a single financial statement to be read is composed of multiple images. If the preprocessing unit 15 determines that the financial statement to be read spans multiple pages, the processing of step S103 is executed next, and if the preprocessing unit 15 determines that the financial statement does not span multiple pages, the processing of step S104 is executed next.

また、読取対象となる決算書の画像は、ユーザの選択操作に基づいて決定される構成であってもよい。即ち上記構成においては、ユーザが複数の画像を選択した場合、続いてステップS103の処理が実行され、単一の画像を選択した場合、続いてステップS104の処理が実行される。 The image of the financial statement to be read may be determined based on the user's selection operation. That is, in the above configuration, if the user selects multiple images, the process of step S103 is executed next, and if the user selects a single image, the process of step S104 is executed next.

ステップS103において、前処理部15は、複数の決算書の画像から単一の決算書の画像を合成する処理を行う。即ち前処理部15は、単一の決算書の画像が複数の画像によって構成されると判定した場合に、複数の画像から単一の決算書の画像を合成する。 In step S103, the preprocessing unit 15 performs a process of synthesizing a single image of a financial statement from multiple images of the financial statement. That is, when the preprocessing unit 15 determines that a single image of a financial statement is composed of multiple images, it synthesizes the single image of the financial statement from the multiple images.

ステップS104において、制御部12は、読取対象となる決算書の種類を判別する。また、決算書の種類は、ユーザの選択操作に基づいて決定される構成であってもよい。本例において、制御部12は、決算書の種類が貸借対照表であると判別する。 In step S104, the control unit 12 determines the type of financial statement to be read. The type of financial statement may be determined based on a user selection operation. In this example, the control unit 12 determines that the type of financial statement is a balance sheet.

ステップS105において、前処理部15は、決算書の画像を、白黒の二値画像に変換する処理を行う。当該処理は、テキストデータの読取において色情報が特に不要であることに由来する。 In step S105, the preprocessing unit 15 performs a process of converting the image of the financial statement into a black and white binary image. This process is performed because color information is not particularly required when reading text data.

また、本ステップS105において前処理部15は、例えばその他の処理として
・画像ファイル形式の変換処理(PDF(登録商標)形式からJPG形式への変換等)
・テキストデータを明瞭化させる処理(コントラストの調整等)
等を行ってもよい。
In step S105, the pre-processing unit 15 performs other processes such as image file format conversion (e.g., conversion from PDF (registered trademark) format to JPG format).
- Processing to clarify text data (adjusting contrast, etc.)
etc. may be carried out.

ステップS106において、前処理部15は、決算書の画像に「構成比」という文字列が含まれるか否かを判定する。「構成比」とは、決算書の金額の右列等に記載されることのある項目であって、対応する勘定科目の数値が合計値に対して占める割合を示す項目である。前処理部15が、画像に文字列「構成比」が含まれると判定した場合、続いてステップS107の処理が実行され、含まれていないと判定した場合、続いてステップS108の処理が実行される。なお、本ステップS106において判定の対象となる所定文字列は「構成比」であることに限定されず、決算書に含まれ得るその他の文字列であってもよい。 In step S106, the preprocessing unit 15 determines whether the image of the financial statement contains the character string "composition ratio." "Composition ratio" is an item that is sometimes written in the right column of the amount on the financial statement, and indicates the percentage that the numerical value of the corresponding account item makes up to the total value. If the preprocessing unit 15 determines that the image contains the character string "composition ratio," the processing of step S107 is then executed, and if it determines that the character string is not included, the processing of step S108 is then executed. Note that the specified character string that is the subject of the determination in step S106 is not limited to "composition ratio," and may be any other character string that may be included in the financial statement.

ステップS107において、前処理部15は、決算書の画像において文字列「構成比」を含む列部分を削除する。また、或いは別の態様として、前処理部15は、画像に文字列「構成比」が含まれていることを示すフラグをオンにし、後述するステップS111等において上記列部分を削除する構成であってもよい。 In step S107, the preprocessing unit 15 deletes the column portion including the character string "composition ratio" in the image of the financial statement. Alternatively, in another aspect, the preprocessing unit 15 may be configured to turn on a flag indicating that the image includes the character string "composition ratio" and delete the column portion in step S111 or the like described below.

ステップS108において、前処理部15は、決算書の画像内におけるテキストデータの座標に基づき、画像の傾きを解消し、且つ決算書の不要部分を削除する処理を行う。具体例として、前処理部15は以下の処理を実行する。 In step S108, the preprocessing unit 15 performs a process to eliminate the tilt of the image and delete unnecessary parts of the financial statement based on the coordinates of the text data in the image of the financial statement. As a specific example, the preprocessing unit 15 executes the following process.

(1)決算書の画像において、数値を示すテキストデータの座標を算出する。図4の説明図51は、各テキストデータの四隅の座標に基づいて当該テキストデータを枠囲みした例を示している。 (1) In the image of the financial statement, the coordinates of the text data that indicates numerical values are calculated. The explanatory diagram 51 in FIG. 4 shows an example in which the text data is framed based on the coordinates of the four corners of each text data.

(2)座標を算出したテキストデータについて、決算書を基準とした左右方向のX座標が同じである組み合わせが2以上の所定数以上存在するテキストデータの組を抽出する。これにより、例えば図4の決算書左上の日付等は、本ステップS108における以降の処理から除外される。 (2) For the text data whose coordinates have been calculated, pairs of text data are extracted that have a predetermined number (2 or more) of combinations in which the X coordinates in the left-right direction based on the financial statement are the same. As a result, for example, the date in the upper left corner of the financial statement in Figure 4 is excluded from the subsequent processing in this step S108.

(3)抽出したテキストデータの各組について、最も上部に位置する数値55a及び55bと最も下部に位置する数値57a及び57bとに沿った直線59a及び59bをそれぞれ規定する。 (3) For each set of extracted text data, straight lines 59a and 59b are defined along the uppermost numerical values 55a and 55b and the lowermost numerical values 57a and 57b, respectively.

(4)上記(3)で規定した直線59a及び59bが、画像全体の垂直線61a及び61bと平行になるように、決算書を回転させる。 (4) Rotate the financial statement so that the straight lines 59a and 59b defined in (3) above are parallel to the vertical lines 61a and 61b of the entire image.

ステップS109において、前処理部15は、決算書右列における数値55b及び57bと、決算書左列における数値55a及び57aのそれぞれに対応する勘定科目等の文字列63及び65とによって規定される領域67外側のデータを、不要なデータとして削除する。続いて前処理部15は、決算書を右列部分と左列部分とに二分割する。 In step S109, the preprocessing unit 15 deletes, as unnecessary data, data outside the area 67 defined by the numeric values 55b and 57b in the right column of the financial statement and the character strings 63 and 65 of the account items, etc., corresponding to the numeric values 55a and 57a in the left column of the financial statement. The preprocessing unit 15 then divides the financial statement into a right column portion and a left column portion.

ステップS110において、前処理部15は、決算書の画像に含まれるテキストデータの少なくとも一部の文字の太さを、少なくとも一時的に変化させる処理を行う。例えば前処理部15は、画像内の白色部分を膨張させて文字ではないゴミ等のノイズを除去しつつ文字を細くし、続いて白色部分を収縮させて文字を太くすることで、白色の逆ノイズにより文字が僅かに欠けた箇所を好適に修正することができる。また、太くした文字に対して更に白色部分を膨張させ文字を細くさせることで認識精度の高い理想的な文字に近づけることができる。また、これにより、各テキストデータをより好適な範囲で抽出することが可能となる。 In step S110, the preprocessing unit 15 performs processing to at least temporarily change the thickness of at least some of the characters in the text data contained in the image of the financial statement. For example, the preprocessing unit 15 expands the white parts in the image to make the characters thinner while removing noise such as non-character dust, and then contracts the white parts to make the characters thicker, thereby suitably correcting areas where characters are slightly missing due to white inverse noise. In addition, by further expanding the white parts of the thickened characters to make them thinner, it is possible to approach ideal characters with high recognition accuracy. This also makes it possible to extract each piece of text data in a more suitable range.

ステップS111において、前処理部15は、太くされた各テキストデータの高さに基づき、必要なテキストデータを抽出する。具体的には、前処理部15は、分割した決算書の各列について、最も同一の高さが多いテキストデータの高さを算出し、当該高さと所定以上異なる高さを有するテキストデータ、又は当該高さと比べて所定以上分若しくは所定以下分だけ倍率が異なる高さを有するテキストデータを、以降の処理において不要なデータとして除外する。これにより、読取部16が読み取るべきテキストデータだけが処理対象として残ることとなる。 In step S111, the preprocessing unit 15 extracts the necessary text data based on the height of each bolded text data. Specifically, the preprocessing unit 15 calculates the height of the text data with the most identical height for each column of the divided financial statement, and excludes text data with a height that differs from the calculated height by a predetermined amount or more, or text data with a height that differs from the calculated height by a predetermined amount or more or less, as data unnecessary for subsequent processing. This leaves only the text data that should be read by the reading unit 16 as the target for processing.

ステップS112において、前処理部15は、決算書のテキストデータの少なくとも一部を、元の位置とは異なる位置に再配置する処理を行う。ここで、前処理部15は、各テキストデータを、元の画像とは別の白色画像に再配置してもよい。これにより、テキストデータに無関係なノイズを決算書の画像から除外することができる。図5は、前処理部15がテキストデータを再配置した決算書の一部を示す図の一例である。図5においては、各勘定科目と各数値との行頭が揃い、行間が調整され、読取に適した配置となっている。 In step S112, the preprocessing unit 15 performs a process of rearranging at least a portion of the text data of the financial statement to a position different from the original position. Here, the preprocessing unit 15 may rearrange each piece of text data to a white image different from the original image. This makes it possible to remove noise unrelated to the text data from the image of the financial statement. Figure 5 is an example of a diagram showing a portion of a financial statement in which the preprocessing unit 15 has rearranged the text data. In Figure 5, the start of each line of each account item and each numerical value is aligned, and the line spacing has been adjusted, resulting in an arrangement suitable for reading.

ステップS113~S115においては、決算書内の勘定科目のカテゴリを分類する処理が行われる。以下、決算書左列の資産の部の勘定科目を、流動資産と固定資産とのカテゴリに分類する処理を例に挙げて説明する。決算書右列についても、負債の部及び純資産の部の勘定科目のカテゴリを分類する処理が同様に実行される。 In steps S113 to S115, a process is carried out to classify the categories of account items in the financial statement. Below, an example is given of a process for classifying the account items in the asset section in the left column of the financial statement into the categories of current assets and fixed assets. A similar process is carried out for the right column of the financial statement to classify the account items in the liability section and net assets section.

ステップS113において、前処理部15は、決算書左列において「固定資産」という文字列を検出したか否かを判定する。換言すると、前処理部15は、決算書左列のテキストデータの何れかとカテゴリ名「固定資産」との近似度が所定以上であるか否かを判定する。これは、決算書において「流動資産」の勘定科目が「固定資産」の勘定科目よりも上部に位置し、「固定資産」カテゴリの開始位置が各カテゴリの境界となることに由来する。前処理部15が、決算書左列において文字列「固定資産」を検出した場合、続いてステップS114の処理が実行され、検出しなかった場合、続いてステップS115の処理が実行される。 In step S113, the preprocessing unit 15 determines whether or not it has detected the character string "fixed assets" in the left column of the financial statement. In other words, the preprocessing unit 15 determines whether or not the degree of similarity between any of the text data in the left column of the financial statement and the category name "fixed assets" is equal to or higher than a predetermined value. This is because the account item "current assets" is located above the account item "fixed assets" in the financial statement, and the start position of the "fixed assets" category is the boundary between the categories. If the preprocessing unit 15 detects the character string "fixed assets" in the left column of the financial statement, it then executes the processing of step S114, and if it does not detect it, it then executes the processing of step S115.

ステップS114において、前処理部15は、文字列「固定資産」から下方が、固定資産のカテゴリに属する勘定科目であり文字列「固定資産」の直前までが流動資産のカテゴリに属する勘定科目であるものとして設定する。また、読取部16は、読み取った文字列「固定資産」に、記憶部20に事前に登録された「固定資産」のカテゴリ名を割り当てる。 In step S114, the preprocessing unit 15 sets the text below the character string "Fixed assets" as an account item belonging to the fixed assets category, and the text up to the character string immediately before the character string "Fixed assets" as an account item belonging to the current assets category. The reading unit 16 also assigns the category name of "Fixed assets" previously registered in the memory unit 20 to the read character string "Fixed assets".

ステップS115において、前処理部15は、決算書左列の各勘定科目と記憶部20に登録された流動資産の勘定科目とを比較して近似度が所定以上であるか否かを判定し、近似度が所定数以上連続して所定未満となる開始位置が、固定資産のカテゴリの開始位置であるものとして設定する。また、読取部16は、上記開始位置のテキストデータに「固定資産」のカテゴリ名を割り当てる。 In step S115, the preprocessing unit 15 compares each account item in the left column of the financial statement with the current assets account items registered in the memory unit 20 to determine whether the degree of approximation is greater than or equal to a predetermined value, and sets the start position where the degree of approximation is less than the predetermined value for a predetermined number of consecutive occurrences as the start position of the fixed assets category. The reading unit 16 also assigns the category name "fixed assets" to the text data at the start position.

ステップS116において、読取部16は、前処理部15が前処理を行った画像におけるテキストデータの読取を行う。また、読取部16は、或るテキストデータに対して、ステップS114又はS115において決算書におけるカテゴリ名を割り当てた場合、当該テキストデータに続くテキストデータを、上記カテゴリ名が示すカテゴリに分類して読み取りを行う。 In step S116, the reading unit 16 reads the text data in the image preprocessed by the preprocessing unit 15. In addition, if the reading unit 16 has assigned a category name in the financial statement to certain text data in step S114 or S115, the reading unit 16 classifies the text data following the text data into the category indicated by the category name and reads it.

また、ステップS115及びS116の処理は、読取部16が、記憶部20に事前に登録された第1カテゴリ名と近似度が所定以上であるテキストデータを決算書中から読み取れない場合、読み取ったテキストデータと第2カテゴリの勘定科目との近似度が所定数以上連続して所定未満となる開始位置が、前記第1カテゴリの開始位置であるものとして読み取りを行うことを示している。 The processing of steps S115 and S116 indicates that if the reading unit 16 cannot read text data from the financial statement that has a degree of similarity equal to or greater than a predetermined degree with the first category name preregistered in the memory unit 20, the reading unit 16 reads the start position at which the degree of similarity between the read text data and the account item of the second category is less than a predetermined degree for a predetermined number of consecutive times or more as the start position of the first category.

ステップS117において、読取部16は、対象となるテキストデータと、数値、又は事前に記憶部20に登録された勘定科目であって、当該テキストデータのカテゴリに属する勘定科目の何れかとの近似度が所定以上であるか否かを、各データを突合して判定する。図6は、読取部16が決算書のテキストデータと記憶部20に登録された勘定科目とをカテゴリ毎に突合する様子を示す概念図である。 In step S117, the reading unit 16 compares each piece of data to determine whether the degree of approximation between the target text data and any of the numerical values or accounting items registered in advance in the storage unit 20 and belonging to the category of the text data is equal to or greater than a predetermined value. FIG. 6 is a conceptual diagram showing how the reading unit 16 compares the text data of the financial statement with the accounting items registered in the storage unit 20 by category.

読取部16が、上記近似度が所定以上であると判定した場合、続いてステップS118の処理が実行され、上記近似度が所定未満であると判定した場合、続いてステップS119の処理が実行される。 If the reading unit 16 determines that the degree of approximation is equal to or greater than a predetermined value, the process proceeds to step S118. If the reading unit 16 determines that the degree of approximation is less than a predetermined value, the process proceeds to step S119.

ステップS118において、読取部16は、対象となるテキストデータに対して、最も近似度が高い勘定科目等の文字列を割り当てる。 In step S118, the reading unit 16 assigns the character string, such as the account item, that has the highest degree of similarity to the target text data.

ステップS119において、読取部16は、対象となるテキストデータに対して、OCR処理を行う機構で読み取った通りの文字列を割り当てる。 In step S119, the reading unit 16 assigns the character string read by the mechanism performing OCR processing to the target text data.

ステップS120において、提示部17は、ステップS118で文字列が割り当てられた、上述した近似度が所定未満である各テキストデータを、ユーザが修正可能となるように提示する。具体的には、提示部17は、決算書におけるテキストデータを修正するための画面を示す情報を生成し、通信部22を介して端末装置30に送信する。ただし、提示部17は、上記近似度が所定以上の各テキストデータについても、ユーザが修正可能となるように提示してもよい。 In step S120, the presentation unit 17 presents each piece of text data to which a character string has been assigned in step S118 and for which the degree of approximation described above is less than a predetermined value so that the user can modify it. Specifically, the presentation unit 17 generates information showing a screen for modifying the text data in the financial statement, and transmits the information to the terminal device 30 via the communication unit 22. However, the presentation unit 17 may also present each piece of text data for which the degree of approximation described above is equal to or greater than a predetermined value so that the user can modify it.

図7は、情報処理装置10から送信された情報に基づき端末装置30に表示される上記画面の一例を示す図である。図7の例においては、読取部16が読み取った決算書の勘定科目、及び当該勘定科目に対応する金額を示す数値が画面に示されている。また、削除ボタン71は、各行に示す項目をそれぞれ削除するためのボタンである。また、画面左側の入力科目73の欄は、決算書の各行に対応する項目を追加するためのオブジェクトである。 Figure 7 is a diagram showing an example of the above screen displayed on the terminal device 30 based on information transmitted from the information processing device 10. In the example of Figure 7, the account items of the financial statement read by the reading unit 16 and numerical values indicating the amounts corresponding to the account items are displayed on the screen. The delete button 71 is a button for deleting each item shown in each line. The input item 73 field on the left side of the screen is an object for adding items corresponding to each line of the financial statement.

また、図7の画面においては、各勘定科目及び数値が修正可能である。なお、上述した近似度が所定未満である勘定科目についてはその旨を示すアイコン等が、例えば当該勘定科目の近傍に表示されてもよい。また、現時点における資産の部の合計値と負債の部及び純資産の部の合計値とが画面に示されているが、上記各合計値が互いに異なること、或いは一致していることをアイコン等によって示す構成であってもよい。 In addition, on the screen of FIG. 7, each account item and value can be modified. For account items whose degree of approximation is less than a predetermined value, an icon or the like indicating this may be displayed, for example, near the account item. In addition, the current total value of the assets section and the total values of the liabilities section and net assets section are displayed on the screen, but icons or the like may be used to indicate that the above total values are different from each other or that they are the same.

図7の画面において、ユーザが各勘定科目及び数値を適宜修正し、上書きボタン77を選択した場合、制御部12は、読み取った決算書の内容を、上記の場合における図7の画面に対応する内容に更新する。 When the user modifies each account item and value appropriately on the screen in FIG. 7 and selects the overwrite button 77, the control unit 12 updates the contents of the financial statement that was read to the contents corresponding to the screen in FIG. 7 in the above case.

また、ユーザが登録ボタン79を選択した場合、算出部18は、決算書の各行に対応する項目、即ち読取部16が読み取った各テキストデータに割り当てられた勘定科目と当該勘定科目に対応する数値とを参照して、与信管理に関する判定結果を算出する。続いて提示部17は、算出部18が算出した判定結果を、図7に準ずる画面等を介してユーザに提示する。 When the user selects the register button 79, the calculation unit 18 calculates the judgment result regarding credit management by referring to the items corresponding to each line of the financial statement, i.e., the account items assigned to each text data read by the reading unit 16 and the numerical values corresponding to the account items. The presentation unit 17 then presents the judgment result calculated by the calculation unit 18 to the user via a screen similar to that shown in FIG. 7, etc.

以上、決算書の画像を取得する取得ステップと、前記取得ステップにおいて取得した画像に対して、前記決算書の種類に応じた所定の前処理を行う前処理ステップと、前記前処理ステップにおいて前処理を行った画像に含まれるテキストデータを読み取り、且つ各テキストデータに対して、数値、又は事前に登録された勘定科目若しくは決算書におけるカテゴリ名の何れかを、近似度に基づいて当該テキストデータに割り当てる読取ステップと、前記近似度が所定未満である各テキストデータを、ユーザが修正可能となるように提示する提示ステップとを含む情報処理方法について説明した。上記の方法によれば、決算書のデータを入力する場合におけるユーザの利便性、及び入力精度を向上させることができる。 The above describes an information processing method that includes an acquisition step of acquiring an image of a financial statement, a preprocessing step of performing a predetermined preprocessing on the image acquired in the acquisition step according to the type of the financial statement, a reading step of reading text data contained in the image preprocessed in the preprocessing step and assigning a numerical value or a preregistered account item or a category name in the financial statement to each piece of text data based on the degree of approximation, and a presentation step of presenting each piece of text data whose degree of approximation is less than a predetermined value so that the user can modify it. The above method can improve the convenience for users when inputting financial statement data and improve input accuracy.

〔実施形態2〕
本発明の第2の実施形態について、以下に説明する。なお、説明の便宜上、上記実施形態にて説明した部材と同じ機能を有する部材については、同じ符号を付記し、重複する説明を繰り返さない。本実施形態においては、情報処理装置が損益計算書を読み取る場合の例について説明する。
[Embodiment 2]
A second embodiment of the present invention will be described below. For convenience of explanation, the same reference numerals are given to components having the same functions as those described in the above embodiment, and redundant explanations will not be repeated. In this embodiment, an example in which an information processing device reads a profit and loss statement will be described.

〔1.情報処理システムの構成例〕
本実施形態においても図1に示す構成を用いる。
[1. Example of information processing system configuration]
This embodiment also uses the configuration shown in FIG.

〔2.情報処理システムの処理例〕
本実施形態に係る情報処理システム1における処理の流れについて、決算書が損益計算書である場合を例に挙げて、図8を参照して説明する。図8は、本実施形態に係る処理の流れを示すフローチャートである。また、図8のフローチャートに示す処理は、端末装置30が決算書(損益計算書)の画像を情報処理装置10に送信した場合に実行される。
2. Examples of processing by the information processing system
The flow of processing in the information processing system 1 according to this embodiment will be described with reference to Fig. 8, taking the case where the financial statement is a profit and loss statement as an example. Fig. 8 is a flowchart showing the flow of processing according to this embodiment. The processing shown in the flowchart in Fig. 8 is executed when the terminal device 30 transmits an image of the financial statement (profit and loss statement) to the information processing device 10.

ステップS101~S105においては、実施形態1と同様の処理が実行される。ただし、ステップS104において、制御部12は、読取対象となる決算書の種類が損益計算書であると判別する。ステップS105の処理に続いて、ステップS206の処理が実行される。 In steps S101 to S105, the same processing as in embodiment 1 is performed. However, in step S104, the control unit 12 determines that the type of financial statement to be read is an income statement. Following the processing in step S105, the processing in step S206 is performed.

ステップS206において、前処理部15は、決算書の枠線となる直線が画像に含まれるか否かを判定する。前処理部15が、上記直線が画像に含まれると判定した場合、続いてステップS207の処理が実行され、上記直線が画像に含まれないと判定した場合、続いてステップS209の処理が実行される。 In step S206, the preprocessing unit 15 determines whether the image contains straight lines that will form the borders of the financial statement. If the preprocessing unit 15 determines that the image contains the straight lines, the process proceeds to step S207. If the preprocessing unit 15 determines that the image does not contain the straight lines, the process proceeds to step S209.

ステップS207において、前処理部15は、決算書の枠線となる垂直方向の直線のうち最も同一角度が多い直線が、画像全体の垂直線と平行になるように、決算書を回転させる。 In step S207, the preprocessing unit 15 rotates the financial statement so that the vertical straight line that forms the frame line of the financial statement and has the most common angles is parallel to the vertical lines of the entire image.

ステップS208において、前処理部15は、画像における最も広い範囲を囲む枠線外側のデータを、不要なデータとして削除する。 In step S208, the preprocessing unit 15 deletes data outside the frame that encloses the widest area of the image as unnecessary data.

ステップS209において、前処理部15は、ステップS108の処理と同様に、画像内における数値等のテキストデータの座標に基づき、画像の傾きを解消する処理を行う。 In step S209, the pre-processing unit 15 performs processing to eliminate the tilt of the image based on the coordinates of text data, such as numerical values, within the image, similar to the processing in step S108.

ステップS210において、前処理部15は、各勘定科目と、金額を示す数値のうち最も左上及び右下に位置するものとを囲む矩形領域外側のデータを、不要なデータとして削除する。 In step S210, the preprocessing unit 15 deletes data outside the rectangular area surrounding each account item and the numerical values indicating the amounts located at the top left and bottom right as unnecessary data.

ステップS211において、前処理部15は、決算書のテキストデータの少なくとも一部を、元の位置とは異なる位置に再配置する処理を行う。具体例として、前処理部15は、図9に示すような、以下の処理を実行する。 In step S211, the preprocessing unit 15 performs a process of relocating at least a portion of the text data of the financial statement to a position different from the original position. As a specific example, the preprocessing unit 15 performs the following process as shown in FIG. 9.

(1)決算書の各列について、テキストデータそれぞれの座標を算出する。 (1) Calculate the coordinates of each piece of text data for each column of the financial statement.

(2)決算書の各列について、テキストデータの行頭を揃え、行間を調整する処理を行う。 (2) For each column of the financial statements, the process aligns the beginning of the lines of the text data and adjusts the line spacing.

ステップS212において、前処理部15は、画像内のテキストデータについて、上下方向のy座標が同じ勘定科目と数値とを関連付ける。 In step S212, the preprocessing unit 15 associates account items and numerical values that have the same vertical y coordinate for the text data in the image.

ステップS213について、前処理部15は、画像に「構成比」「連結」「前事業」という文字列の何れかが含まれるか否かを判定する。前処理部15が、画像に上記文字列の何れかが含まれると判定した場合、続いてステップS214の処理が実行され、画像に上記文字列が含まれないと判定した場合、続いてステップS215の処理が実行される。ただし、本ステップS203において判定の対象となる文字列は、上記に例示したものに限定されない。 In step S213, the preprocessing unit 15 determines whether the image contains any of the character strings "composition ratio," "linked," or "previous business." If the preprocessing unit 15 determines that the image contains any of the above character strings, the processing of step S214 is subsequently executed, and if the preprocessing unit 15 determines that the image does not contain any of the above character strings, the processing of step S215 is subsequently executed. However, the character strings to be determined in step S203 are not limited to those exemplified above.

ステップS214において、前処理部15は、画像に含まれる上記文字列を含む列部分、或いは上記文字列に対応する所定の列部分を削除する。 In step S214, the preprocessing unit 15 deletes the string portion that includes the above character string in the image, or a specific string portion that corresponds to the above character string.

ステップS215において、読取部16は、前処理部15が前処理を行った画像におけるテキストデータの読取を行う。 In step S215, the reading unit 16 reads the text data in the image that has been preprocessed by the preprocessing unit 15.

ステップS216において、読取部16は、対象となるテキストデータと、数値、又は事前に記憶部20に登録された勘定科目であって、損益計算書の勘定科目の何れかとの近似度が所定以上であるか否かを、各データを突合して判定する。 In step S216, the reading unit 16 compares the target text data with a numerical value or an account item in the profit and loss statement that has been registered in advance in the storage unit 20 to determine whether the degree of similarity is greater than or equal to a predetermined value.

読取部16が、上記近似度が所定以上であると判定した場合、続いてステップS118の処理が実行され、上記近似度が所定未満であると判定した場合、続いてステップS119の処理が実行される。 If the reading unit 16 determines that the degree of approximation is equal to or greater than a predetermined value, the process proceeds to step S118. If the reading unit 16 determines that the degree of approximation is less than a predetermined value, the process proceeds to step S119.

ステップS118~S120においては、実施形態1と同様の処理が実行される。以上、図8のフローチャートに基づく処理の流れについて説明した。 In steps S118 to S120, the same processing as in embodiment 1 is performed. Above, the processing flow based on the flowchart in FIG. 8 has been described.

なお、決算書の種類が販売管理費である場合においても、前処理部15が上記種類に応じた前処理を行った上で、読取等の処理が実行される。決算書の種類が販売管理費である場合においては、例えば図8のフローチャートに示す処理において、ステップS212の処理に続いてステップS215の処理が行われる構成であってもよい。 Even if the type of financial statement is sales and administrative expenses, the preprocessing unit 15 performs preprocessing according to the above type, and then the reading process and other processes are performed. If the type of financial statement is sales and administrative expenses, for example, in the process shown in the flowchart of FIG. 8, the process of step S215 may be performed following the process of step S212.

なお、前処理部15が決算書の画像に対して行う、決算書の種類に応じた前処理は、各実施形態において上述した例に限定されない。例えば前処理部15は、所定の種類の決算書に含まれる一部の勘定科目に対応する項目を削除する等の処理を行う構成であってもよい。 The preprocessing performed by the preprocessing unit 15 on the image of the financial statement according to the type of financial statement is not limited to the examples described above in each embodiment. For example, the preprocessing unit 15 may be configured to perform processing such as deleting items corresponding to some account items included in a certain type of financial statement.

〔ソフトウェアによる実現例〕
情報処理装置10の制御ブロック(特に取得部14、前処理部15、読取部16、提示部17および算出部18)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、ソフトウェアによって実現してもよい。
[Software implementation example]
The control blocks of the information processing device 10 (particularly the acquisition unit 14, the preprocessing unit 15, the reading unit 16, the presentation unit 17 and the calculation unit 18) may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by software.

後者の場合、情報処理装置10は、各機能を実現するソフトウェアであるプログラムの命令を実行するコンピュータを備えている。このコンピュータは、例えば1つ以上のプロセッサを備えていると共に、上記プログラムを記憶したコンピュータ読み取り可能な記録媒体を備えている。そして、上記コンピュータにおいて、上記プロセッサが上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。上記プロセッサとしては、例えばCPU(Central Processing Unit)を用いることができる。上記記録媒体としては、「一時的でない有形の媒体」、例えば、ROM(Read Only Memory)等の他、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムを展開するRAM(Random Access Memory)などをさらに備えていてもよい。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明の一態様は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 In the latter case, the information processing device 10 includes a computer that executes the instructions of a program, which is software that realizes each function. This computer includes, for example, one or more processors, and a computer-readable recording medium that stores the program. The object of the present invention is achieved by the processor reading the program from the recording medium and executing it in the computer. The processor can be, for example, a CPU (Central Processing Unit). The recording medium can be a "non-transient tangible medium," such as a ROM (Read Only Memory), tape, disk, card, semiconductor memory, programmable logic circuit, etc. The computer can also include a RAM (Random Access Memory) that expands the program. The program can be supplied to the computer via any transmission medium (such as a communication network or broadcast waves) that can transmit the program. One aspect of the present invention can also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.

本発明は上述した各実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. The technical scope of the present invention also includes embodiments obtained by appropriately combining the technical means disclosed in different embodiments.

1 情報処理システム
10 情報処理装置
12 制御部
14 取得部
15 前処理部
16 読取部
17 提示部
18 算出部
20 記憶部
22、34 通信部
30 端末装置
32 表示部
Reference Signs List 1 Information processing system 10 Information processing device 12 Control unit 14 Acquisition unit 15 Preprocessing unit 16 Reading unit 17 Presentation unit 18 Calculation unit 20 Storage unit 22, 34 Communication unit 30 Terminal device 32 Display unit

Claims (8)

決算書の画像を取得する取得部と、
前記取得部が取得した画像に対して、所定の前処理を行う前処理部と、
前記前処理部が前処理を行った画像に含まれるテキストデータを読み取り、且つ各テキストデータに対して、数値、又は事前に登録された勘定科目若しくは決算書におけるカテゴリ名の何れかを、近似度に基づいて当該テキストデータに割り当てる読取部と、
前記近似度が所定未満である各テキストデータを、ユーザが修正可能となるように提示する提示部と
を備え、
決算書の勘定科目は、決算書におけるカテゴリ毎に事前に登録されており、
前記読取部は、
決算書の画像に含まれるテキストデータに対して決算書におけるカテゴリ名を割り当てた場合、続くテキストデータを、上記カテゴリ名が示すカテゴリに分類して読み取りを行い、
事前に登録された第1カテゴリ名と近似度が所定以上であるテキストデータを決算書中から読み取れない場合、読み取ったテキストデータと第2カテゴリの勘定科目との近似度が所定数以上連続して所定未満となる開始位置が、前記第1カテゴリの開始位置であるものとして読み取りを行う
ことを特徴とする情報処理装置。
An acquisition unit for acquiring images of financial statements;
a pre-processing unit that performs a predetermined pre-processing on the image acquired by the acquisition unit;
a reading unit that reads text data included in the image preprocessed by the preprocessing unit, and assigns, to each piece of text data, either a numerical value or a preregistered account item or a category name in a financial statement based on a degree of similarity;
a presentation unit that presents each piece of text data whose degree of approximation is less than a predetermined value so that the user can correct the piece of text data;
Account items for financial statements are pre-registered for each category in the financial statements.
The reading unit is
When a category name in a financial statement is assigned to text data included in an image of the financial statement, the following text data is classified into the category indicated by the category name and read.
This information processing device is characterized in that, when text data having a degree of similarity to a pre-registered first category name equal to or greater than a predetermined value cannot be read from a financial statement, the starting position at which the degree of similarity between the read text data and an account item in a second category is less than a predetermined value for a predetermined number of consecutive data is read as the starting position of the first category.
前記取得部は、ウェブサーバ上にアップロードされた決算書の画像を取得し、
前記提示部は、当該画像を前記ウェブサーバ上にアップロードした端末装置に対して、前記近似度が所定未満である各テキストデータを示す情報を送信する
ことを特徴とする請求項1に記載の情報処理装置。
The acquisition unit acquires an image of a financial statement uploaded onto a web server,
2 . The information processing apparatus according to claim 1 , wherein the presenting unit transmits information indicating each piece of text data for which the degree of approximation is less than a predetermined value to a terminal device that has uploaded the image onto the web server.
前記読取部が読み取った各テキストデータに割り当てられた勘定科目と当該勘定科目に対応する数値とを参照して、与信管理に関する判定結果を算出する算出部を更に備える
ことを特徴とする請求項1又は2に記載の情報処理装置。
3. The information processing device according to claim 1, further comprising a calculation unit that calculates a judgment result regarding credit management by referring to an account item assigned to each text data read by the reading unit and a numerical value corresponding to the account item.
前記前処理部は、
前記取得部が取得した画像に含まれるテキストデータの少なくとも一部を、元の位置とは異なる位置に再配置する
ことを特徴とする請求項1からの何れか1項に記載の情報処理装置。
The pre-treatment unit includes:
4 . The information processing apparatus according to claim 1 , wherein at least a part of text data included in the image acquired by the acquisition unit is rearranged to a position different from an original position.
前記前処理部は、
前記取得部が取得した画像に含まれるテキストデータの少なくとも一部の文字の太さを、少なくとも一時的に変化させる処理を行う
ことを特徴とする請求項1からの何れか1項に記載の情報処理装置。
The pre-treatment unit includes:
5 . The information processing apparatus according to claim 1 , further comprising a process for at least temporarily changing a thickness of characters of at least a part of text data included in the image acquired by the acquisition unit.
前記前処理部は、
単一の決算書の画像が複数の画像によって構成されると判定した場合に、上記複数の画像から上記単一の決算書の画像を合成する
ことを特徴とする請求項1からの何れか1項に記載の情報処理装置。
The pre-treatment unit includes:
6. The information processing apparatus according to claim 1, wherein, when it is determined that an image of a single financial statement is composed of a plurality of images, an image of the single financial statement is synthesized from the plurality of images .
決算書の画像を取得する取得ステップと、
前記取得ステップにおいて取得した画像に対して、所定の前処理を行う前処理ステップと、
前記前処理ステップにおいて前処理を行った画像に含まれるテキストデータを読み取り、且つ各テキストデータに対して、数値、又は事前に登録された勘定科目若しくは決算書におけるカテゴリ名の何れかを、近似度に基づいて当該テキストデータに割り当てる読取ステップと、
前記近似度が所定未満である各テキストデータを、ユーザが修正可能となるように提示する提示ステップと
を含み、
決算書の勘定科目は、決算書におけるカテゴリ毎に事前に登録されており、
前記読取ステップにおいては、
決算書の画像に含まれるテキストデータに対して決算書におけるカテゴリ名を割り当てた場合、続くテキストデータを、上記カテゴリ名が示すカテゴリに分類して読み取りを行い、
事前に登録された第1カテゴリ名と近似度が所定以上であるテキストデータを決算書中から読み取れない場合、読み取ったテキストデータと第2カテゴリの勘定科目との近似度が所定数以上連続して所定未満となる開始位置が、前記第1カテゴリの開始位置であるものとして読み取りを行う
ことを特徴とする情報処理方法。
An acquisition step of acquiring an image of a financial statement;
a pre-processing step of performing a predetermined pre-processing on the image acquired in the acquisition step;
a reading step of reading text data included in the image preprocessed in the preprocessing step, and allocating a numerical value or a preregistered account item or a category name in a financial statement to each piece of text data based on a degree of similarity;
a presenting step of presenting each piece of text data whose similarity is less than a predetermined value so that the user can correct it;
Account items for financial statements are pre-registered for each category in the financial statements.
In the reading step,
When a category name in a financial statement is assigned to text data included in an image of the financial statement, the following text data is classified into the category indicated by the category name and read.
An information processing method characterized in that, when text data having a degree of similarity to a pre-registered first category name equal to or greater than a predetermined value cannot be read from a financial statement, the start position at which the degree of similarity between the read text data and an account item of a second category is less than a predetermined value for a predetermined number or more consecutive times is read as the start position of the first category.
請求項1からの何れか1項に記載の情報処理装置としてコンピュータを機能させるためのプログラムであって、前記各部としてコンピュータを機能させるためのプログラム。 7. A program for causing a computer to function as the information processing device according to claim 1, the program causing the computer to function as each of the units.
JP2020153977A 2020-09-14 2020-09-14 Information processing device, information processing method, and program Active JP7558730B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020153977A JP7558730B2 (en) 2020-09-14 2020-09-14 Information processing device, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020153977A JP7558730B2 (en) 2020-09-14 2020-09-14 Information processing device, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2022047925A JP2022047925A (en) 2022-03-25
JP7558730B2 true JP7558730B2 (en) 2024-10-01

Family

ID=80781181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020153977A Active JP7558730B2 (en) 2020-09-14 2020-09-14 Information processing device, information processing method, and program

Country Status (1)

Country Link
JP (1) JP7558730B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000194775A (en) 1998-12-25 2000-07-14 Mitsui Knowledge Industry Kk Method for creating customer data and computer-readable recording medium recording a program for causing a computer to execute the method
JP2002245393A (en) 2001-02-20 2002-08-30 Nec Soft Ltd Financial statement input ocr system and financial statements input program
JP2004046516A (en) 2002-07-11 2004-02-12 Kayoko Amino Delivery/reception system for settlement statements data
JP2006252575A (en) 2006-04-14 2006-09-21 Katsuyoshi Nagashima Financial statement automatic input apparatus and method therefore
WO2016186137A1 (en) 2015-05-18 2016-11-24 株式会社スキャる Accounting assistance system
JP2019191665A (en) 2018-04-18 2019-10-31 Tis株式会社 Financial statements reading device, financial statements reading method and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000194775A (en) 1998-12-25 2000-07-14 Mitsui Knowledge Industry Kk Method for creating customer data and computer-readable recording medium recording a program for causing a computer to execute the method
JP2002245393A (en) 2001-02-20 2002-08-30 Nec Soft Ltd Financial statement input ocr system and financial statements input program
JP2004046516A (en) 2002-07-11 2004-02-12 Kayoko Amino Delivery/reception system for settlement statements data
JP2006252575A (en) 2006-04-14 2006-09-21 Katsuyoshi Nagashima Financial statement automatic input apparatus and method therefore
WO2016186137A1 (en) 2015-05-18 2016-11-24 株式会社スキャる Accounting assistance system
JP2019191665A (en) 2018-04-18 2019-10-31 Tis株式会社 Financial statements reading device, financial statements reading method and program

Also Published As

Publication number Publication date
JP2022047925A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN112016438B (en) Method and system for identifying certificate based on graph neural network
US10572725B1 (en) Form image field extraction
US20240176951A1 (en) Electronic document validation
JP7033208B2 (en) Certification document recognition methods and devices, electronic devices and computer-readable storage media
US11430241B2 (en) Entry field extraction device and computer readable medium
CN114155543A (en) Neural network training method, document image understanding method, device and equipment
CN102970456B (en) Image forming apparatus, image forming apparatus control method, and program
CN112541443B (en) Invoice information extraction method, invoice information extraction device, computer equipment and storage medium
JP2000115476A (en) System and method for manipulating regions of a scanned image
JP7077998B2 (en) Information processing equipment
CN114049646B (en) Bank card identification method and device, computer equipment and storage medium
CN112581344A (en) Image processing method and device, computer equipment and storage medium
CN116719492A (en) Image processing device, image processing method and recording medium
CN115131803B (en) Method, device, computer equipment and storage medium for identifying document word size
CN112396059A (en) Certificate identification method and device, computer equipment and storage medium
JP2019191665A (en) Financial statements reading device, financial statements reading method and program
JP2021056659A (en) Information processing device, information processing method and information processing program
CN113936187A (en) Text image synthesis method and device, storage medium and electronic equipment
CN118522019B (en) Text recognition method, electronic device and storage medium
CN112508005A (en) Method, apparatus, device and storage medium for processing image
WO2021174869A1 (en) User image data processing method, apparatus, computer device, and storage medium
CN114399497A (en) Text image quality detection method and device, computer equipment and storage medium
US11995907B2 (en) Distributed computer system for document authentication
JP7558730B2 (en) Information processing device, information processing method, and program
JP2020173819A (en) Financial statement read device, financial statement read method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230612

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240312

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240426

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240521

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240701

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240918

R150 Certificate of patent or registration of utility model

Ref document number: 7558730

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150