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

JP7615688B2 - Information processing device and computer program - Google Patents

Information processing device and computer program Download PDF

Info

Publication number
JP7615688B2
JP7615688B2 JP2021002995A JP2021002995A JP7615688B2 JP 7615688 B2 JP7615688 B2 JP 7615688B2 JP 2021002995 A JP2021002995 A JP 2021002995A JP 2021002995 A JP2021002995 A JP 2021002995A JP 7615688 B2 JP7615688 B2 JP 7615688B2
Authority
JP
Japan
Prior art keywords
text data
unit
document
information processing
character
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
JP2021002995A
Other languages
Japanese (ja)
Other versions
JP2022108130A (en
Inventor
佳紀 中山
錬 松山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dai Nippon Printing Co Ltd
Original Assignee
Dai Nippon Printing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dai Nippon Printing Co Ltd filed Critical Dai Nippon Printing Co Ltd
Priority to JP2021002995A priority Critical patent/JP7615688B2/en
Publication of JP2022108130A publication Critical patent/JP2022108130A/en
Application granted granted Critical
Publication of JP7615688B2 publication Critical patent/JP7615688B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Character Input (AREA)
  • Character Discrimination (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、情報処理装置及びコンピュータプログラムに関する。 The present invention relates to an information processing device and a computer program.

自社には運用ノウハウがない業務を外部事業者に委託するBPO(ビジネス・プロセス・アウトソーシング)が様々な分野で行われている。例えば、各種申請に関する書類の受付・仕分け・審査業務を一括して委託するBPO業務の需要が増大しつつある。 BPO (Business Process Outsourcing), in which a company outsources operations that the company does not have the operational know-how to external businesses, is being carried out in a variety of fields. For example, there is an increasing demand for BPO services that comprehensively outsource the receipt, sorting, and review of documents related to various applications.

書類の仕分け業務では、書類をスキャナで読み取る作業が必要となる。特許文献1には、スキャナで読み取った原稿をオペレータが検品作業を行って電子的に管理する処理が開示されており、書類の仕分け業務もスキャナで読み取った書類の分類作業を人手で実施している場合が多い。 Document sorting work requires the documents to be scanned. Patent Document 1 discloses a process in which an operator inspects documents scanned by a scanner and then manages them electronically, and document sorting work is often performed manually by classifying documents scanned by a scanner.

特開2006-94036号公報JP 2006-94036 A

しかし、作業者の疲労によりヒューマンエラーが発生すると、仕分け業務を再度実施しなければならず、業務効率が低下するだけでなく仕分け精度が低下する。また、急な案件増加による労働力不足が発生すると、タイムリーな業務委託ができずビジネスチャンスを逃すリスクもある。 However, if human error occurs due to worker fatigue, the sorting work must be performed again, which not only reduces work efficiency but also reduces sorting accuracy. Furthermore, if a labor shortage occurs due to a sudden increase in cases, there is a risk that work cannot be outsourced in a timely manner and business opportunities will be missed.

本発明は、斯かる事情に鑑みてなされたものであり、書類の仕分け業務を効率よく、かつ仕分け精度を向上することができる情報処理装置及びコンピュータプログラムを提供することを目的とする。 The present invention has been made in consideration of the above circumstances, and aims to provide an information processing device and computer program that can make document sorting more efficient and improve sorting accuracy.

情報処理装置は、書類画像を取得する取得部と、前記取得部で取得した書類画像に対して複数の閾値に基づく減色処理を行って複数の処理後画像を生成する画像生成部と、前記画像生成部で生成した複数の処理後画像それぞれを光学的に読み取ってテキストデータを生成するテキストデータ生成部と、前記テキストデータ生成部で生成した複数のテキストデータに基づいて前記書類画像を分類する分類器とを備える。 The information processing device includes an acquisition unit that acquires a document image, an image generation unit that performs color reduction processing based on multiple thresholds on the document image acquired by the acquisition unit to generate multiple processed images, a text data generation unit that optically reads each of the multiple processed images generated by the image generation unit to generate text data, and a classifier that classifies the document image based on the multiple text data generated by the text data generation unit.

コンピュータプログラムは、コンピュータに、書類画像を取得し、取得した書類画像に対して複数の閾値に基づく減色処理を行って複数の処理後画像を生成し、生成した複数の処理後画像それぞれを光学的に読み取ってテキストデータを生成し、生成した複数のテキストデータに基づいて前記書類画像を分類する、処理を実行させる。 The computer program causes the computer to execute the following processes: acquire a document image, perform color reduction processing on the acquired document image based on multiple thresholds to generate multiple processed images, optically read each of the multiple processed images to generate text data, and classify the document image based on the multiple text data generated.

本発明によれば、書類の仕分け業務を効率よく、かつ仕分け精度を向上することができる。 The present invention makes document sorting more efficient and improves sorting accuracy.

情報処理システムの構成の一例を示す模式図である。FIG. 1 is a schematic diagram illustrating an example of a configuration of an information processing system. 書類画像の一例を示す模式図である。FIG. 2 is a schematic diagram showing an example of a document image. 減色処理後の書類画像の一例を示す模式図である。11 is a schematic diagram showing an example of a document image after color reduction processing; FIG. テキスト化データの一例を示す模式図である。FIG. 2 is a schematic diagram showing an example of text data. テキスト化データを連結したテキストデータの一例を示す模式図である。FIG. 2 is a schematic diagram showing an example of text data obtained by concatenating text-converted data; 文字2-gramによる文字分割の一例を示す模式図である。FIG. 13 is a schematic diagram showing an example of character segmentation using character 2-grams. 分割された文字列の出現頻度の一例を示す模式図である。FIG. 13 is a schematic diagram showing an example of the frequency of appearance of divided character strings. 重み付けの算出方法の一例を示す模式図である。FIG. 13 is a schematic diagram showing an example of a method for calculating weights. 重み付けが付与された文字特徴量の一例を示す模式図である。FIG. 13 is a schematic diagram showing an example of character feature amounts to which weighting is applied. 学習済みモデルを用いた書類の分類方法の第1例を示す模式図である。FIG. 1 is a schematic diagram showing a first example of a document classification method using a trained model. 学習済みモデルを用いた書類の分類方法の第2例を示す模式図である。FIG. 13 is a schematic diagram showing a second example of a document classification method using a trained model. ルールベースの書類の分類方法の一例を示す模式図である。FIG. 1 is a schematic diagram showing an example of a rule-based document classification method. 寄与部分の特定方法の一例を示す模式図である。FIG. 13 is a schematic diagram showing an example of a method for identifying a contributing portion. 強調表示した書類画像の一例を示す模式図である。FIG. 13 is a schematic diagram showing an example of a highlighted document image. 情報処理装置による書類画像の分類処理の手順の一例を示すフローチャートである。10 is a flowchart showing an example of a procedure for a document image classification process performed by an information processing apparatus.

以下、本発明の実施の形態を図面に基づいて説明する。図1は情報処理システムの構成の一例を示す模式図である。情報処理システムは、情報処理装置50、及び端末装置10を備える。情報処理装置50と端末装置10とは、通信ネットワーク1を介して接続されている。端末装置10は、パーソナルコンピュータ、タブレット端末などで構成され、作業担当者によって使用される。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a schematic diagram showing an example of the configuration of an information processing system. The information processing system includes an information processing device 50 and a terminal device 10. The information processing device 50 and the terminal device 10 are connected via a communication network 1. The terminal device 10 is configured as a personal computer, a tablet terminal, or the like, and is used by a worker.

情報処理装置50は、装置全体を制御する制御部51、通信部52、記憶部53、画像処理部54、OCR処理部55、特徴量抽出部56、分類器57、重み付け付与部58、特定部59、及び出力部60を備える。制御部51は、CPU(Central Processing Unit)、ROM(Read Only Memory)及びRAM(Random Access Memory)などで構成することができる。 The information processing device 50 includes a control unit 51 that controls the entire device, a communication unit 52, a memory unit 53, an image processing unit 54, an OCR processing unit 55, a feature extraction unit 56, a classifier 57, a weighting unit 58, an identification unit 59, and an output unit 60. The control unit 51 can be composed of a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), etc.

通信部52は、通信ネットワーク1を介して、端末装置10との間で通信を行う機能を有し、所要の情報の送受信を行うことができる。より具体的には、通信部52は、取得部としての機能を有し、端末装置10から書類画像を取得する。 The communication unit 52 has a function of communicating with the terminal device 10 via the communication network 1, and can transmit and receive required information. More specifically, the communication unit 52 has a function as an acquisition unit, and acquires document images from the terminal device 10.

図2は書類画像の一例を示す模式図である。図2は書類の画像の一例として運転免許証の画像を図示している。書類は、本人確認用の書類を含み、例えば、運転免許証の他に、パスポート、マイナンバーカード、保険証(健康保険証、介護保険証など)、国民年金手帳、身体障害者手帳、住民票、戸籍謄本・妙本、印鑑証明書など種々の書類を含む。 Figure 2 is a schematic diagram showing an example of a document image. Figure 2 illustrates an image of a driver's license as an example of a document image. Documents include documents for identity verification, and in addition to driver's licenses, include various documents such as passports, My Number cards, insurance cards (health insurance cards, nursing care insurance cards, etc.), national pension booklets, disability certificates, resident registration cards, certified copies of family registers and certified seal certificates.

記憶部53は、半導体メモリ又はハードディスク等で構成され、通信部52を介して取得した書類画像を記憶することができる。また、記憶部53は、情報処理装置50内の処理結果などの所要のデータを記憶することができる。 The storage unit 53 is composed of a semiconductor memory or a hard disk, and can store document images acquired via the communication unit 52. The storage unit 53 can also store required data such as the processing results in the information processing device 50.

画像処理部54は、通信部52を介して取得した書類画像に対して画像前処理を行う機能を有する。画像前処理は、鮮鋭化処理、減色処理、サイズ変更処理などを含む。なお、本明細書では、画像処理部54が、鮮鋭化処理、減色処理、サイズ変更処理を含む構成であるが、鮮鋭化処理、減色処理及びサイズ変更処理をそれぞれ別個の処理部として構成してもよい。以下、各画像前処理について説明する。 The image processing unit 54 has a function of performing image pre-processing on the document image acquired via the communication unit 52. The image pre-processing includes sharpening, color reduction, resizing, etc. In this specification, the image processing unit 54 is configured to include sharpening, color reduction, and resizing, but the sharpening, color reduction, and resizing processes may each be configured as separate processing units. Each type of image pre-processing is described below.

画像処理部54は、通信部52を介して取得した書類画像(又は当該書類画像に対して所定の画像処理を行った後の画像)に対して鮮鋭化処理を行う。鮮鋭化処理は、エッジのコントラストを強調するフィルタを用いて、輪郭を強調する。なお、鮮鋭化処理は、減色処理の前又は後の画像に対して行うことができる。 The image processing unit 54 performs a sharpening process on the document image acquired via the communication unit 52 (or the image after a predetermined image processing has been performed on the document image). The sharpening process emphasizes contours using a filter that emphasizes edge contrast. The sharpening process can be performed on the image before or after the color reduction process.

図3は減色処理後の書類画像の一例を示す模式図である。画像処理部54は、画像生成部としての機能を有し、通信部52を介して取得した書類画像に対して複数の閾値に基づく減色処理を行って複数の処理後画像を生成する。減色処理では、閾値以上の画素値が消去される。図3の例では、2つの異なる閾値Th1、Th2に基づいて2つの減色処理後の書類画像を生成している。R(赤)、G(緑)、B(青)の画素値をそれぞれ0(黒)~255(白)で表す。閾値Th1は、例えば、(R:100、G:100、B:100)とし、閾値Th2は、(R:200、G:200、B:200)とすることができるが、これに限定されない。また、閾値は、R、G、Bそれぞれについて同一値に限定されるものではなく、R、G、B毎に異なる閾値のセットを用いてもよい。 Figure 3 is a schematic diagram showing an example of a document image after color reduction processing. The image processing unit 54 has a function as an image generating unit, and performs color reduction processing based on multiple thresholds on the document image acquired via the communication unit 52 to generate multiple processed images. In the color reduction processing, pixel values equal to or greater than the threshold are erased. In the example of Figure 3, two document images after color reduction processing are generated based on two different thresholds Th1 and Th2. The pixel values of R (red), G (green), and B (blue) are expressed as 0 (black) to 255 (white). For example, the threshold Th1 can be (R: 100, G: 100, B: 100), and the threshold Th2 can be (R: 200, G: 200, B: 200), but are not limited to this. In addition, the thresholds are not limited to the same value for each of R, G, and B, and different sets of thresholds may be used for R, G, and B.

背景と文字が重なる部分では、背景色と文字の色との組み合わせによっては文字の視認性が低下する。文字の部分の視認性を向上させる目的で、減色処理によって背景色を除去するが、閾値によっては文字の部分も除去されてしまう場合もある。そこで、2つの異なる閾値を用いて減色処理を行うことにより、一方の閾値に基づく減色処理で、仮に文字を除去してしまった場合でも、他方の閾値に基づく減色処理で取りこぼした文字を拾うことが可能となる。図3Aでは、閾値Th1=(R:100、G:100、B:100)としているので、R、G、Bの各画素値が100以上の画素を消去することができる。図3Aの例では、「運転免許証」の文字が除去された例を図示している。一方、図3Bでは、閾値Th1=(R:200、G:200、B:200)としているので、R、G、Bの各画素値が200以上の画素を消去することができる。図3Bの例では、図3Aの例で除去された「運転免許証」の文字が消去されずに残っている。 In the area where the background and the characters overlap, the visibility of the characters decreases depending on the combination of the background color and the character color. In order to improve the visibility of the character part, the background color is removed by the color reduction process, but depending on the threshold, the character part may also be removed. Therefore, by performing the color reduction process using two different thresholds, even if the character is removed by the color reduction process based on one threshold, it is possible to pick up the character that was missed by the color reduction process based on the other threshold. In FIG. 3A, the threshold value Th1 = (R: 100, G: 100, B: 100), so that it is possible to erase pixels with R, G, and B pixel values of 100 or more. In the example of FIG. 3A, an example is shown in which the characters "driver's license" have been removed. On the other hand, in FIG. 3B, the threshold value Th1 = (R: 200, G: 200, B: 200), so that it is possible to erase pixels with R, G, and B pixel values of 200 or more. In the example of Figure 3B, the characters "Driver's License" that were removed in the example of Figure 3A remain untouched.

上述のように、書類画像に対して複数の閾値に基づく減色処理を行うことにより、後述のOCR(Optical Character Recognition)処理の文字認識精度を向上させることができる。 As described above, by performing color reduction processing on a document image based on multiple thresholds, the character recognition accuracy of the OCR (Optical Character Recognition) processing described below can be improved.

画像処理部54は、通信部52を介して取得した書類画像(又は当該書類画像に対して所定の画像処理を行った後の画像)に対してサイズ変更処理を行う。書類の種類によっては書類画像のサイズが異なる場合がある。画像処理部54は、サイズ変更処理を行うことにより、OCR処理に最適なサイズの画像に変換することができる。サイズ変更処理は、鮮鋭化処理後の書類画像に対して行うことができるが、減色処理によって生成された2つの減色処理後画像それぞれに対して行ってもよい。サイズ変更処理は、減色処理の前又は後の画像に対して行うことができる。 The image processing unit 54 performs a resizing process on the document image acquired via the communication unit 52 (or the image after a specified image processing has been performed on the document image). The size of the document image may vary depending on the type of document. By performing a resizing process, the image processing unit 54 can convert the image into an image of an optimal size for OCR processing. The resizing process can be performed on the document image after the sharpening process, but it may also be performed on each of the two post-color reduction images generated by the color reduction process. The resizing process can be performed on the image before or after the color reduction process.

OCR処理部55は、テキストデータ生成部としての機能を有し、画像処理部54による画像前処理後の画像を光学的に読み取ってテキストデータを生成する。より具体的には、OCR処理部55は、画像処理部54で生成した複数の処理後画像それぞれを光学的に読み取って得られた複数のテキスト化データを連結してテキストデータを生成する。 The OCR processing unit 55 functions as a text data generating unit, and generates text data by optically reading an image that has been pre-processed by the image processing unit 54. More specifically, the OCR processing unit 55 generates text data by concatenating multiple pieces of text data obtained by optically reading each of the multiple processed images generated by the image processing unit 54.

図4はテキスト化データの一例を示す模式図である。図4Aは、図3Aに示す減色処理後画像をテキスト化したものであり、「O月O日まで有効」「123456789000」の文字がテキスト化されている。図4Bは、図3Bに示す減色処理後画像をテキスト化したものであり、「O月O日まで有効」「運転免許証」「123456789000」の文字がテキスト化されている。 Figure 4 is a schematic diagram showing an example of text data. Figure 4A is a text version of the post-color reduction processing image shown in Figure 3A, in which the characters "Valid until O month O day" and "123456789000" have been converted to text. Figure 4B is a text version of the post-color reduction processing image shown in Figure 3B, in which the characters "Valid until O month O day", "Driver's license", and "123456789000" have been converted to text.

図5はテキスト化データを連結したテキストデータの一例を示す模式図である。図5の例では、図4A及び図4Bそれぞれのテキスト化データが連結されている。図5の例では、図4Aの下側に図4Bを配置させてテキストを連結した構成を示すが、これに限定されるものではなく、図4Aの右側、左側、あるいは上側に図4Bを配置させてテキストを連結してもよい。連結することにより、2つのテキストファイルが1つに纏められる。 Figure 5 is a schematic diagram showing an example of text data in which the converted text data is linked. In the example of Figure 5, the converted text data of Figure 4A and Figure 4B are linked. In the example of Figure 5, the converted text data of Figure 4B is placed below Figure 4A to link the text, but this is not limited to the above example, and Figure 4B may be placed to the right, left, or above Figure 4A to link the text. By linking the two text files, they are combined into one.

特徴量抽出部56は、OCR処理部55で生成したテキストデータから文字特徴量を抽出する。具体的には、特徴量抽出部56は、OCR処理部55で生成したテキストデータを分割した文字列それぞれの当該テキストデータ中に出現する頻度に基づいて文字特徴量を抽出する。テキストデータの分割には、文字n-gramを用いることができる。文字n-gramは、文書を連続するn個の文字で分割する手法である。以下、文字n-gramの例として、文字2-gramについて説明する。 The feature extraction unit 56 extracts character features from the text data generated by the OCR processing unit 55. Specifically, the feature extraction unit 56 extracts character features based on the frequency of occurrence in the text data of each character string into which the text data generated by the OCR processing unit 55 is divided. Character n-grams can be used to divide the text data. Character n-grams are a method of dividing a document into n consecutive characters. Below, character 2-grams are explained as an example of character n-grams.

図6は文字2-gramによる文字分割の一例を示す模式図である。分割前の文書としては、図5で例示したテキストデータを用いる。文字2-gramは、図5のテキストデータを連続した2文字で分割する。図6の例では、2文字ずつ、「O月」、「O日」、{まで}、…の如く分割されている。 Figure 6 is a schematic diagram showing an example of character segmentation using character 2-grams. The text data shown in Figure 5 is used as the document before segmentation. Character 2-grams segment the text data in Figure 5 into two consecutive characters. In the example in Figure 6, the data is segmented into two characters, such as "O month", "O day", {until}, ....

図7は分割された文字列の出現頻度の一例を示す模式図である。文字列「O月」は、テキストデータ内に2回出現するので、頻度は2となる。文字列「O日」は、テキストデータ内に2回出現するので、頻度は2となる。以下、同様である。また、文字列「運転」は、テキストデータ内に1回出現するので、頻度は1となる。文字列「免許」は、テキストデータ内に1回出現するので、頻度は1となる。文字列「証 」は、テキストデータ内に1回出現するので、頻度は1となる。 Figure 7 is a schematic diagram showing an example of the frequency of occurrence of divided character strings. The character string "O month" appears twice in the text data, so its frequency is 2. The character string "O day" appears twice in the text data, so its frequency is 2. The same applies below. Furthermore, the character string "drive" appears once in the text data, so its frequency is 1. The character string "license" appears once in the text data, so its frequency is 1. The character string "certificate" appears once in the text data, so its frequency is 1.

特徴量抽出部56は、分割した文字列それぞれを要素とし、当該文字列の頻度を要素の値とする特徴ベクトル(文字特徴量ともいう)を抽出する。例えば、分割した文字列の数を100とすると、特徴ベクトルは100次元ベクトルとなる。 The feature extraction unit 56 extracts a feature vector (also called a character feature) in which each divided string is an element and the frequency of the string is the element value. For example, if the number of divided strings is 100, the feature vector will be a 100-dimensional vector.

分割した文字列に対しては、重要度に応じて予め重み付けを行うことができる。以下、重み付けの方法について説明する。 The divided strings can be weighted in advance according to their importance. The weighting method is explained below.

重み付け付与部58は、文字列の頻度に対して重み付けを付与する。重み付け付与の手法としては、例えば、TF-IDF手法を用いることができる。TF-IDFとは、Term Frequency(TF)とInverse Document Frequency(IDF)の意味である。TFはある文字列の文書中の出現頻度を表す。ここで、文書中は、重み付けを求めるために収集された文章データ全部を示す。文書データ中に出現する頻度が多いほど、その文字列は重要であると考えられる。IDFは、ある文字列が出てくる文書頻度の逆数を表す。多くの文章中に出願する文字列は、一つの文書の中で重要度が低いと考えられる。重み付け付与部58は、TFとIDFとの掛け算によって重み付けを算出することができる。 The weighting unit 58 assigns weights to the frequency of character strings. For example, the TF-IDF method can be used as a weighting method. TF-IDF stands for Term Frequency (TF) and Inverse Document Frequency (IDF). TF represents the frequency of occurrence of a certain character string in a document. Here, "in document" refers to all the text data collected to determine the weighting. The more frequently a character string appears in the document data, the more important the character string is considered to be. IDF represents the inverse of the document frequency at which a certain character string appears. A character string that appears in many documents is considered to have low importance within a document. The weighting unit 58 can calculate the weighting by multiplying TF and IDF.

図8は重み付けの算出方法の一例を示す模式図である。重み付け付与部58は、文書データを学習用データとして用いて文字列毎の重み付けを算出する。文書データは、複数の運転免許証、パスポート、健康保険証、住民票などの書類から生成されたテキストデータである。図8の例では、重み付け付与部58は、TF-IDF手法を用いて、重み付け情報581を生成している。重み付け情報581は、文字列と当該文字列の重み付けとを対応付けた情報である。図8の例では、文字列「保険」、「運転」に対して、重み付けを5.0とし、文字列「住民」対して、重み付けを4.5としている。他の文字列も同様である。 Figure 8 is a schematic diagram showing an example of a method for calculating weights. The weighting unit 58 uses document data as learning data to calculate a weight for each character string. The document data is text data generated from multiple documents such as driver's licenses, passports, health insurance cards, and resident's certificates. In the example of Figure 8, the weighting unit 58 generates weighting information 581 using the TF-IDF method. The weighting information 581 is information that associates character strings with the weighting of the character strings. In the example of Figure 8, the weighting is set to 5.0 for the character strings "insurance" and "driving", and 4.5 for the character string "resident". The same applies to other character strings.

上述のように、文書データに出現する頻度が多ければ、特徴として重要である可能性が高く重み付けを大きくし、多くの文章に登場する未次烈は、特徴として重要である可能性が低く重み付けを小さくすることにより、分類器57による書類画像の分類を行い易くすることができる。 As described above, if a feature appears frequently in the document data, it is more likely to be an important feature and is weighted more heavily; on the other hand, if a feature appears in many sentences, it is less likely to be an important feature and is weighted less heavily, making it easier for the classifier 57 to classify document images.

特徴量抽出部56は、分割した文字列それぞれの頻度に重み付けを付与して文字特徴量を抽出することができる。 The feature extraction unit 56 can extract character features by weighting the frequency of each divided character string.

図9は重み付けが付与された文字特徴量の一例を示す模式図である。図9において、文字列と対応する頻度との関係は、図7の例と同一である。前述のとおり、重み付け付与部58は、予め重み付け情報を生成している。図9に示すように、文字列「O月」~「有効」それぞれの重み付けを0.5とし、文字列「12」~「00」それぞれの重み付けを0.2とし、文字列「運転」「免許」それぞれの重み付けを5.0とし、文字列「証 」の重み付けを1.0とする。文字特徴量としての特徴ベクトルは、各文字列の頻度と重み付けを掛け算することにより求められ、特徴ベクトルの各要素x1~x13の値が計算される。例えば、要素x1は、文字列「O月」に対応し、要素x1の値は、2×0.5=1.0となる。また、要素x11は、文字列「運転」に対応し、要素x11の値は、1×5.0=5.0となる。他の要素も同様である。 Figure 9 is a schematic diagram showing an example of a character feature to which weighting has been applied. In Figure 9, the relationship between the character string and the corresponding frequency is the same as the example in Figure 7. As described above, the weighting unit 58 generates weighting information in advance. As shown in Figure 9, the weighting of each of the character strings "O month" to "valid" is 0.5, the weighting of each of the character strings "12" to "00" is 0.2, the weighting of each of the character strings "driver" and "license" is 5.0, and the weighting of the character string "certificate" is 1.0. A feature vector as a character feature is obtained by multiplying the frequency and weighting of each character string, and the values of each element x1 to x13 of the feature vector are calculated. For example, element x1 corresponds to the character string "O month", and the value of element x1 is 2 x 0.5 = 1.0. Also, element x11 corresponds to the character string "driver", and the value of element x11 is 1 x 5.0 = 5.0. The same applies to the other elements.

分類器57は、OCR処理部55で生成したテキストデータに基づいて書類画像を分類する。より具体的には、分類器57は、特徴量抽出部56で抽出された文字特徴量に基づいて書類画像を分類することができる。分類器57による書類の分類は、機械学習によって生成された学習済みモデルを用いてもよく、あるいは、文字特徴量と書類種別とを関連付けたルールを用いてもよい。まず、学習済みモデルを用いる場合について説明する。 The classifier 57 classifies the document image based on the text data generated by the OCR processing unit 55. More specifically, the classifier 57 can classify the document image based on the character features extracted by the feature extraction unit 56. The document classification by the classifier 57 may use a trained model generated by machine learning, or may use rules that associate character features with document types. First, the case where a trained model is used will be described.

図10は学習済みモデルを用いた書類の分類方法の第1例を示す模式図である。分類器57は、学習済みモデルとしてのニューラルネットワーク571を有する。分類器57は、例えば、CPU(例えば、複数のプロセッサコアを実装したマルチ・プロセッサなど)、GPU(Graphics Processing Units)、DSP(Digital Signal Processors)、FPGA(Field-Programmable Gate Arrays)などのハードウェアを組み合わせることによって構成することができる。 Figure 10 is a schematic diagram showing a first example of a document classification method using a trained model. Classifier 57 has neural network 571 as a trained model. Classifier 57 can be configured by combining hardware such as a CPU (e.g., a multi-processor having multiple processor cores), GPUs (Graphics Processing Units), DSPs (Digital Signal Processors), and FPGAs (Field-Programmable Gate Arrays).

ニューラルネットワーク571は、特徴量抽出部56で抽出された文字特徴量(特徴ベクトル)が入力されると、書類の種別毎に確率(0~1の数値)を出力する。書類の種別としては、たとえば、運転免許証、健康保険証、パスポート、住民票、その他等を含む。なお、書類の種別は、図10の例に限定されない。分類器57は、ニューラルネットワーク571が出力する書類の種別毎の確率のうち、最も数値の大きい種別に基づいて書類画像を分類する。例えば、運転免許証、健康保険証、パスポート、住民票、その他それぞれの確率が0.8、0.4、0.3、0.1、0.1とすると、書類画像は運転免許証であると分類する。なお、ニューラルネットワーク571に代えて、他の機械学習モデルでもよい。 When the character features (feature vector) extracted by the feature extraction unit 56 are input to the neural network 571, the neural network 571 outputs a probability (a value between 0 and 1) for each document type. Examples of document types include driver's license, health insurance card, passport, resident's card, and others. Note that the document types are not limited to the example in FIG. 10. The classifier 57 classifies the document image based on the type with the largest value among the probabilities for each document type output by the neural network 571. For example, if the probabilities for driver's license, health insurance card, passport, resident's card, and others are 0.8, 0.4, 0.3, 0.1, and 0.1, respectively, the document image is classified as a driver's license. Note that other machine learning models may be used instead of the neural network 571.

図11は学習済みモデルを用いた書類の分類方法の第2例を示す模式図である。分類器57は、第1の分類器572、第2の分類器573、及び加算平均部574を有する。分類器572、573それぞれは、特徴量抽出部56で抽出された文字特徴量(特徴ベクトル)が入力されると、書類の種別毎に確率(0~1の数値)を出力する。分類器572は、出力端子A1~A5から運転免許証、健康保険証、パスポート、住民票、その他の確率を出力する。分類器573は、出力端子B1~B5から運転免許証、健康保険証、パスポート、住民票、その他の確率を出力する。加算平均部574は、出力端子A1とB1から出力される確率を加算平均して、運転免許証の確率を出力する。健康保険証、パスポート、住民票、その他についても同様である。分類器57は、加算平均部574が出力する書類の種別毎の確率のうち、最も数値の大きい種別に基づいて書類画像を分類する。 Figure 11 is a schematic diagram showing a second example of a document classification method using a trained model. The classifier 57 has a first classifier 572, a second classifier 573, and an averaging unit 574. When the character features (feature vectors) extracted by the feature extraction unit 56 are input, the classifiers 572 and 573 each output a probability (a value between 0 and 1) for each document type. The classifier 572 outputs probabilities of driver's license, health insurance card, passport, resident's card, and others from output terminals A1 to A5. The classifier 573 outputs probabilities of driver's license, health insurance card, passport, resident's card, and others from output terminals B1 to B5. The averaging unit 574 averages the probabilities output from output terminals A1 and B1 to output the probability of driver's license. The same applies to health insurance card, passport, resident's card, and others. The classifier 57 classifies the document image based on the type with the largest probability for each document type output by the averaging unit 574.

第1の分類器572として、例えば、線形SVM(サポート・ベクター・マシン)を用い、第2の分類器573として、例えば、勾配ブースティング木を用いることができる。アンサンブル学習を行って、複数の機械学習モデルを組み合わせることにより、書類画像の分類精度を向上させることができる。なお、組み合わせる機械学習モデルは、線形SVMや勾配ブースティング木に限定されない。 For example, a linear SVM (support vector machine) can be used as the first classifier 572, and for example, a gradient boosting tree can be used as the second classifier 573. By performing ensemble learning and combining multiple machine learning models, the classification accuracy of document images can be improved. Note that the machine learning models to be combined are not limited to linear SVMs and gradient boosting trees.

次に、ルールベースの場合について説明する。 Next, we'll explain the rule-based case.

図12はルールベースの書類の分類方法の一例を示す模式図である。分類器57は、ルールベースの分類器575、ルールDB577を有する。分類器575は、類似度算出部576を有する。ルールDB577には、予め特徴ベクトルと書類の種別とを関連付けたルールが記録されている。例えば、特徴ベクトルV1には免許証が関連付けられ、特徴ベクトルV2には保険証が関連付けられている。他の書類の種別も同様である。 Figure 12 is a schematic diagram showing an example of a rule-based document classification method. Classifier 57 has rule-based classifier 575 and rule DB 577. Classifier 575 has similarity calculation section 576. Rule DB 577 stores rules that associate feature vectors with document types in advance. For example, feature vector V1 is associated with a driver's license, and feature vector V2 is associated with an insurance card. The same applies to other document types.

分類器575は、特徴量抽出部56で抽出された特徴ベクトルVxが入力されると、類似度算出部576の機能を用いて、入力された特徴ベクトルVxと、ルールDB577に記録された各特徴ベクトルとの類似度を算出し、最も類似度の大きい特徴ベクトルに関連付けられた種別を書類の種別として出力する。類似度の算出は、例えば、コサイン類似度を用いることができる。 When the feature vector Vx extracted by the feature extraction unit 56 is input, the classifier 575 uses the function of the similarity calculation unit 576 to calculate the similarity between the input feature vector Vx and each feature vector recorded in the rule DB 577, and outputs the type associated with the feature vector with the greatest similarity as the document type. The similarity can be calculated using, for example, cosine similarity.

一般的な画像処理による書類の分類では、パターンマッチング等のように、書類のデザインや書式に基づいて書類の種別を判定するため、非定型書類(例えば、保険証や住民票など)の分類が困難であった。上述のように、情報処理装置50は、OCR処理部55により光学的文字認識を行うので、書類のデザインや書式に依存することなく非定型の書類でも精度よく分類できる。 In general document classification using image processing, the type of document is determined based on the document's design and format, such as by pattern matching, making it difficult to classify non-standard documents (such as insurance cards and resident registration cards). As described above, the information processing device 50 performs optical character recognition using the OCR processing unit 55, so that even non-standard documents can be classified with high accuracy, regardless of the document's design or format.

また、OCR処理による文字認識の精度は100%ではなく、誤認識が発生する。上述のように、情報処理装置50は、画像処理部54により、閾値の異なる複数の前処理(減色処理)を行うので、文字の取りこぼしを低減することができ、結果として、後続のOCR処理の文字認識精度を向上させることができる。 In addition, the accuracy of character recognition by OCR processing is not 100%, and misrecognition does occur. As described above, the information processing device 50 uses the image processing unit 54 to perform multiple pre-processing steps (color reduction processing) with different thresholds, which can reduce the loss of characters and, as a result, can improve the character recognition accuracy of the subsequent OCR processing.

また、従来、書類の仕分け業務は、スキャナで読み取った書類の分類作業を人手で実施している場合が多く、ヒューマンエラーが発生しやすい。上述のように、情報処理装置50は、機械学習によって生成された分類器や、ルールベースの分類器を用いるので、書類の仕分け業務の自動化が可能となり、書類仕分け業務の効率化、仕分けミスの低減を図ることができる。 Conventionally, document sorting work has often been performed manually by classifying documents scanned by a scanner, which is prone to human error. As described above, the information processing device 50 uses a classifier generated by machine learning or a rule-based classifier, making it possible to automate document sorting work, improving the efficiency of document sorting work and reducing sorting errors.

情報処理装置50により書類画像を分類するので、書類仕分け業務を自動化することが可能となる。しかし、仕分け業務後の各種申請に関する書類の審査業務においては、申請に必要な書類がそろっているか、有効な書類かどうか等の審査項目を正確に判断する必要があり、人手による審査が必須である。以下では、書類の審査に有効な情報を提供する方法について説明する。 Since document images are classified by the information processing device 50, it is possible to automate the document sorting process. However, in the review process of documents related to various applications after the sorting process, it is necessary to accurately determine review items such as whether all documents necessary for the application are present and whether the documents are valid, and manual review is essential. The following describes a method for providing information that is useful for document review.

特定部59は、分類器57による書類画像の分類に寄与したテキストデータの寄与部分を特定する。出力部60は、当該寄与部分に対応する領域を強調表示した書類画像を出力する。例えば、出力部60は、通信部52を介して、強調表示した書類画像を端末装置10へ出力することができる。なお、出力部60は、書類の種別だけを端末装置10へ出力してもよい。 The identification unit 59 identifies the contributing portion of the text data that contributed to the classification of the document image by the classifier 57. The output unit 60 outputs the document image in which the area corresponding to the contributing portion is highlighted. For example, the output unit 60 can output the highlighted document image to the terminal device 10 via the communication unit 52. Note that the output unit 60 may output only the document type to the terminal device 10.

図13は寄与部分の特定方法の一例を示す模式図である。特徴ベクトルは、その要素がテキストデータ内の文字列であり、文字列の出現頻度(重み付け付与された頻度)が要素の値となる。すなわち、特徴ベクトルの各要素には、テキストデータ中の文字列が対応するので、文字列のテキストデータ中の位置又は座標を記録しておくことができる。書類画像の分類に寄与する要素は、重み付けされた頻度の値が大きい部分と考えられるので、文字列のテキストデータ中の位置又は座標が分かれば、当該位置又は座標に基づいて、書類画像の分類に寄与した寄与部部を特定することができる。そして、テキストデータ中の寄与部分が分かれば、書類画像の寄与部分に対応する領域も分かる。 Figure 13 is a schematic diagram showing an example of a method for identifying a contributing portion. The elements of a feature vector are character strings in text data, and the frequency of occurrence of the character strings (weighted frequency) becomes the value of the element. That is, since each element of the feature vector corresponds to a character string in the text data, the position or coordinates of the character string in the text data can be recorded. Since the element that contributes to the classification of a document image is considered to be the part with a large weighted frequency value, if the position or coordinates of the character string in the text data are known, the contributing portion that contributed to the classification of the document image can be identified based on the position or coordinates. And if the contributing portion in the text data is known, the area corresponding to the contributing portion of the document image can also be known.

図14は強調表示した書類画像の一例を示す模式図である。図14の例では、書類が健康保険証であり、分類に寄与した寄与部分に対応する領域を太線で囲んでいる。寄与部分に対応する領域には、「健康保険」「被保険者証」という文字が記載されている。強調表示は、図14のように太線で囲んだ表示態様でもよく、あるいは、色又は模様による強調表示等、審査を行う担当者が容易に書類の種別を判断できる表示態様であればよい。 Figure 14 is a schematic diagram showing an example of a highlighted document image. In the example of Figure 14, the document is a health insurance card, and the area corresponding to the contributing portion that contributed to the classification is surrounded by a thick line. The words "health insurance" and "insured person certificate" are written in the area corresponding to the contributing portion. The highlighting may be in the form of a thick line surrounding the document as in Figure 14, or may be in any display form that allows the person conducting the review to easily determine the type of document, such as highlighting using a color or pattern.

上述のように、書類の分類に寄与した説明的根拠を書類画像上の文字を強調表示することにより示すことができるので、書類の審査担当者は、審査項目を正確に、かつ迅速に判断することができる。 As described above, the explanatory reasons that contributed to the classification of a document can be shown by highlighting text on the document image, allowing document reviewers to accurately and quickly determine review items.

図15は情報処理装置50による書類画像の分類処理の手順の一例を示すフローチャートである。以下では便宜上、処理の主体を制御部51として説明する。制御部51は、書類画像を取得し(S11)、取得した書類画像に対して鮮鋭化処理を行う(S12)。制御部51は、必要に応じて、サイズ変更処理を行う(S13)。 Figure 15 is a flowchart showing an example of the procedure for classification processing of document images by the information processing device 50. For convenience, the following description will be given with the control unit 51 as the subject of the processing. The control unit 51 acquires a document image (S11), and performs a sharpening process on the acquired document image (S12). The control unit 51 also performs a resizing process (S13) as necessary.

制御部51は、複数の閾値に基づく減色処理を行い(S14)、減色処理によって生成された複数の処理後画像に対してOCR処理を行ってテキスト化し(S15)、テキスト化データを連結してテキストデータを生成する(S16)。 The control unit 51 performs color reduction processing based on multiple thresholds (S14), performs OCR processing on the multiple processed images generated by the color reduction processing to convert them into text (S15), and concatenates the converted text data to generate text data (S16).

制御部51は、テキストデータかた文字特徴量(特徴ベクトル)を抽出し(S17)、抽出した文字特徴量を分類器57に入力して書類画像を分類する(S18)。制御部51は、分類に寄与した寄与部分に対応する領域を強調表示する書類画像を端末装置10へ出力する(S19)。 The control unit 51 extracts character features (feature vectors) from the text data (S17), and inputs the extracted character features to the classifier 57 to classify the document image (S18). The control unit 51 outputs to the terminal device 10 a document image in which the areas corresponding to the contributing parts that contributed to the classification are highlighted (S19).

制御部51は、他の書類画像があるか否かを判定し(S20)、他の書類画像がある場合(S20でYES)、ステップS11以降の処理を繰り返し、他の書類画像がない場合(S20でNO)、処理を終了する。 The control unit 51 determines whether there are other document images (S20), and if there are other document images (YES in S20), repeats the processing from step S11 onwards, and if there are no other document images (NO in S20), ends the processing.

情報処理装置50は、例えば、CPU(例えば、複数のプロセッサコアを実装したマルチ・プロセッサなど)、GPU(Graphics Processing Units)、RAMなどを備えたコンピュータを用いて実現することもできる。図15に示すような処理の手順を定めたコンピュータプログラム(記録媒体に記録可能)をコンピュータに備えられたRAMにロードし、コンピュータプログラムをCPU(プロセッサ)で実行することにより、コンピュータ上で情報処理装置50を実現することができる。 The information processing device 50 can be realized, for example, by using a computer equipped with a CPU (e.g., a multi-processor having multiple processor cores), a GPU (Graphics Processing Units), a RAM, etc. The information processing device 50 can be realized on a computer by loading a computer program (which can be recorded on a recording medium) that defines the processing procedure as shown in FIG. 15 into the RAM of the computer and executing the computer program with the CPU (processor).

情報処理装置は、書類画像を取得する取得部と、前記取得部で取得した書類画像に対して複数の閾値に基づく減色処理を行って複数の処理後画像を生成する画像生成部と、前記画像生成部で生成した複数の処理後画像それぞれを光学的に読み取ってテキストデータを生成するテキストデータ生成部と、前記テキストデータ生成部で生成した複数のテキストデータに基づいて前記書類画像を分類する分類器とを備える。 The information processing device includes an acquisition unit that acquires a document image, an image generation unit that performs color reduction processing based on multiple thresholds on the document image acquired by the acquisition unit to generate multiple processed images, a text data generation unit that optically reads each of the multiple processed images generated by the image generation unit to generate text data, and a classifier that classifies the document image based on the multiple text data generated by the text data generation unit.

情報処理装置は、前記減色処理の前又は後の画像に対して鮮鋭化処理を行う鮮鋭化処理部を備える。 The information processing device is equipped with a sharpening processing unit that performs a sharpening process on the image before or after the color reduction process.

情報処理装置は、前記減色処理の前又は後の画像に対してサイズ変更処理を行うサイズ変更処理部を備える。 The information processing device includes a resizing processing unit that performs resizing processing on the image before or after the color reduction processing.

情報処理装置において、前記テキストデータ生成部は、前記画像生成部で生成した複数の処理後画像それぞれを光学的に読み取って得られた複数のテキスト化データを連結してテキストデータを生成する。 In the information processing device, the text data generation unit generates text data by concatenating multiple pieces of text data obtained by optically reading each of the multiple processed images generated by the image generation unit.

情報処理装置において、前記分類器は、文字特徴量と書類種別とを関連付けたルールを用いて、又は文字特徴量を入力した場合に書類種別を出力する学習済みモデルを用いて、前記テキストデータ生成部で生成したテキストデータから抽出された文字特徴量に基づいて前記書類画像を分類する。 In the information processing device, the classifier classifies the document image based on the character features extracted from the text data generated by the text data generation unit, using rules that associate character features with document types, or using a trained model that outputs a document type when character features are input.

情報処理装置は、前記テキストデータ生成部で生成したテキストデータを分割した文字列それぞれの前記テキストデータ中に出現する頻度に基づいて前記文字特徴量を抽出する特徴量抽出部を備える。 The information processing device includes a feature extraction unit that extracts the character features based on the frequency of occurrence in the text data of each character string into which the text data generated by the text data generation unit is divided.

情報処理装置において、前記特徴量抽出部は、文字n-gram手法を含む。 In the information processing device, the feature extraction unit includes a character n-gram method.

情報処理装置は、文字列の頻度に対して予め重み付けを付与する重み付け付与部を備え、前記特徴量抽出部は、前記分割した文字列それぞれの頻度に重み付けを付与して前記文字特徴量を抽出する。 The information processing device includes a weighting unit that pre-weights the frequency of character strings, and the feature extraction unit extracts the character features by weighting the frequency of each of the divided character strings.

情報処理装置において、前記重み付け付与部は、TF-IDF手法を含む。 In the information processing device, the weighting unit includes a TF-IDF method.

情報処理装置は、前記書類画像の分類に寄与した前記テキストデータの寄与部分を特定する特定部と、前記寄与部分に対応する領域を強調表示した前記書類画像を出力する出力部とを備える。 The information processing device includes an identification unit that identifies a contributing portion of the text data that contributed to the classification of the document image, and an output unit that outputs the document image with the area corresponding to the contributing portion highlighted.

コンピュータプログラムは、コンピュータに、書類画像を取得し、取得した書類画像に対して複数の閾値に基づく減色処理を行って複数の処理後画像を生成し、生成した複数の処理後画像それぞれを光学的に読み取ってテキストデータを生成し、生成した複数のテキストデータに基づいて前記書類画像を分類する、処理を実行させる。 The computer program causes the computer to execute the following processes: acquire a document image, perform color reduction processing on the acquired document image based on multiple thresholds to generate multiple processed images, optically read each of the multiple processed images to generate text data, and classify the document image based on the multiple text data generated.

1 通信ネットワーク
10 端末装置
50 情報処理装置
51 制御部
52 通信部
53 記憶部
54 画像処理部
55 OCR処理部
56 特徴量抽出部
57、572、573、575 分類器
574 加算平均部
576 類似度算出部
577 ルールDB
571 ニューラルネットワーク
58 重み付け付与部
581 重み付け情報
59 特定部
60 出力部
REFERENCE SIGNS LIST 1 Communication network 10 Terminal device 50 Information processing device 51 Control unit 52 Communication unit 53 Storage unit 54 Image processing unit 55 OCR processing unit 56 Feature extraction unit 57, 572, 573, 575 Classifier 574 Additive average unit 576 Similarity calculation unit 577 Rule DB
571 Neural network 58 Weighting unit 581 Weighting information 59 Identification unit 60 Output unit

Claims (10)

書類画像を取得する取得部と、
前記取得部で取得した書類画像に対して複数の閾値に基づく減色処理を行って複数の処理後画像を生成する画像生成部と、
前記画像生成部で生成した複数の処理後画像それぞれを光学的に読み取ってテキストデータを生成するテキストデータ生成部と、
前記テキストデータ生成部で生成した複数のテキストデータに基づいて前記書類画像を分類する分類器と
を備え
前記テキストデータ生成部は、
前記画像生成部で生成した複数の処理後画像それぞれを光学的に読み取って得られた複数のテキスト化データを連結してテキストデータを生成する、
情報処理装置。
An acquisition unit for acquiring a document image;
an image generating unit that performs color reduction processing based on a plurality of threshold values on the document image acquired by the acquiring unit to generate a plurality of processed images;
a text data generating unit that optically reads each of the plurality of processed images generated by the image generating unit and generates text data;
a classifier that classifies the document image based on the plurality of text data generated by the text data generating unit ,
The text data generation unit
generating text data by concatenating a plurality of text data obtained by optically reading each of the plurality of processed images generated by the image generating unit ;
Information processing device.
前記減色処理の前又は後の画像に対して鮮鋭化処理を行う鮮鋭化処理部を備える、
請求項1に記載の情報処理装置。
A sharpening processing unit that performs a sharpening process on the image before or after the color reduction process is provided.
The information processing device according to claim 1 .
前記減色処理の前又は後の画像に対してサイズ変更処理を行うサイズ変更処理部を備える、
請求項1又は請求項2に記載の情報処理装置。
a resizing processing unit that performs a resizing process on the image before or after the color reduction process,
3. The information processing device according to claim 1 or 2.
前記分類器は、
文字特徴量と書類種別とを関連付けたルールを用いて、又は文字特徴量を入力した場合に書類種別を出力する学習済みモデルを用いて、前記テキストデータ生成部で生成したテキストデータから抽出された文字特徴量に基づいて前記書類画像を分類する、
請求項1から請求項のいずれか一項に記載の情報処理装置。
The classifier may be
classifying the document image based on the character features extracted from the text data generated by the text data generation unit, using a rule associating character features with document types, or using a trained model that outputs a document type when character features are input;
The information processing device according to claim 1 .
前記テキストデータ生成部で生成したテキストデータを分割した文字列それぞれの前記テキストデータ中に出現する頻度に基づいて前記文字特徴量を抽出する特徴量抽出部を備える、
請求項に記載の情報処理装置。
a feature extraction unit that extracts the character feature based on a frequency of appearance in the text data of each character string obtained by dividing the text data generated by the text data generation unit,
The information processing device according to claim 4 .
前記特徴量抽出部は、文字n-gram手法を含む、
請求項に記載の情報処理装置。
The feature extraction unit includes a character n-gram method.
The information processing device according to claim 5 .
文字列の頻度に対して予め重み付けを付与する重み付け付与部を備え、
前記特徴量抽出部は、
前記分割した文字列それぞれの頻度に重み付けを付与して前記文字特徴量を抽出する、
請求項5又は請求項に記載の情報処理装置。
A weighting unit that pre-weights the frequency of character strings,
The feature extraction unit is
weighting the frequency of each of the divided character strings to extract the character feature amount;
7. The information processing device according to claim 5 or 6 .
前記重み付け付与部は、TF-IDF手法を含む、
請求項に記載の情報処理装置。
The weighting unit includes a TF-IDF method.
The information processing device according to claim 7 .
前記書類画像の分類に寄与した前記テキストデータの寄与部分を特定する特定部と、
前記寄与部分に対応する領域を強調表示した前記書類画像を出力する出力部と
を備える、
請求項1から請求項のいずれか一項に記載の情報処理装置。
an identification unit that identifies a contribution portion of the text data that contributed to the classification of the document image;
and an output unit that outputs the document image in which an area corresponding to the contributing portion is highlighted.
The information processing device according to claim 1 .
コンピュータに、
書類画像を取得し、
取得した書類画像に対して複数の閾値に基づく減色処理を行って複数の処理後画像を生成し、
生成した複数の処理後画像それぞれを光学的に読み取ってテキストデータを生成し、
生成した複数のテキストデータに基づいて前記書類画像を分類
生成した複数の処理後画像それぞれを光学的に読み取って得られた複数のテキスト化データを連結してテキストデータを生成する、
処理を実行させるコンピュータプログラム。
On the computer,
Get document images,
performing color reduction processing based on a plurality of threshold values on the acquired document image to generate a plurality of processed images;
Each of the generated multiple processed images is optically read to generate text data;
classifying the document image based on the generated plurality of text data;
generating text data by concatenating a plurality of text data obtained by optically reading each of the generated plurality of processed images ;
A computer program that executes a process.
JP2021002995A 2021-01-12 2021-01-12 Information processing device and computer program Active JP7615688B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021002995A JP7615688B2 (en) 2021-01-12 2021-01-12 Information processing device and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021002995A JP7615688B2 (en) 2021-01-12 2021-01-12 Information processing device and computer program

Publications (2)

Publication Number Publication Date
JP2022108130A JP2022108130A (en) 2022-07-25
JP7615688B2 true JP7615688B2 (en) 2025-01-17

Family

ID=82556210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021002995A Active JP7615688B2 (en) 2021-01-12 2021-01-12 Information processing device and computer program

Country Status (1)

Country Link
JP (1) JP7615688B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2025028505A1 (en) * 2023-07-31 2025-02-06
JPWO2025028507A1 (en) * 2023-07-31 2025-02-06
WO2025028506A1 (en) * 2023-07-31 2025-02-06 大日本印刷株式会社 Information processing device, information processing method, and program for information processing device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010055558A1 (en) 2008-11-12 2010-05-20 富士通株式会社 Character area extracting device, image picking-up device provided with character area extracting function and character area extracting program
JP2012044250A (en) 2010-08-12 2012-03-01 Ricoh Co Ltd Image processing apparatus, image forming apparatus, original determination method and image forming method
JP2015225377A (en) 2014-05-26 2015-12-14 京セラドキュメントソリューションズ株式会社 Document processing apparatus and document processing program
JP2020042320A (en) 2018-09-06 2020-03-19 富士通フロンテック株式会社 Image recognition apparatus, image recognition method and image recognition program
JP2020102148A (en) 2018-12-25 2020-07-02 キヤノン株式会社 Image processing device, image processing method, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5987171A (en) * 1994-11-10 1999-11-16 Canon Kabushiki Kaisha Page analysis system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010055558A1 (en) 2008-11-12 2010-05-20 富士通株式会社 Character area extracting device, image picking-up device provided with character area extracting function and character area extracting program
JP2012044250A (en) 2010-08-12 2012-03-01 Ricoh Co Ltd Image processing apparatus, image forming apparatus, original determination method and image forming method
JP2015225377A (en) 2014-05-26 2015-12-14 京セラドキュメントソリューションズ株式会社 Document processing apparatus and document processing program
JP2020042320A (en) 2018-09-06 2020-03-19 富士通フロンテック株式会社 Image recognition apparatus, image recognition method and image recognition program
JP2020102148A (en) 2018-12-25 2020-07-02 キヤノン株式会社 Image processing device, image processing method, and program

Also Published As

Publication number Publication date
JP2022108130A (en) 2022-07-25

Similar Documents

Publication Publication Date Title
Agrawal et al. Automated bank cheque verification using image processing and deep learning methods
AU2020200251B2 (en) Label and field identification without optical character recognition (OCR)
US9626555B2 (en) Content-based document image classification
JP7615688B2 (en) Information processing device and computer program
US7653244B2 (en) Intelligent importation of information from foreign applications user interface
JP5674615B2 (en) Character recognition device and character recognition method
US12437307B2 (en) Fraud detection via automated handwriting clustering
CN115114229B (en) Document format conversion method, device, storage medium, equipment and program product
Mursari et al. The Effectiveness of Image Preprocessing on Digital Handwritten Scripts Recognition with The Implementation of OCR Tesseract.
US11887393B2 (en) End-to-end system for extracting tabular data present in electronic documents and method thereof
CN103870823B (en) Character recognition device and method
Dergachov et al. Data pre-processing to increase the quality of optical text recognition systems
CN114386413A (en) Handling digitized handwriting
CN117421631A (en) Financial violation detection method, device, equipment and medium based on multi-mode fusion
Mosaher et al. Offline handwritten signature recognition using deep convolution neural network
Chowdhury et al. ALPR: ResNet50 powered Bangla License Plate Detectionand OCR by Root Mean Square Propagation Optimizer and Linear SVM Classifier
Vállez et al. Sample selection for training cascade detectors
Chaudhry et al. Design and implementation of a hybrid face recognition technique
Dhruva et al. Comprehensive dataset building of isolated handwritten Sanskrit characters
e Souza et al. Offline handwritten script recognition based on texture descriptors
Gaikwad et al. Recognition of offline handwritten Devanagari characters using new mask-based approach, histogram of oriented gradients and AdaBoost
Le et al. Insight evaluation on traditional and CNN features
Islam et al. Optimization of Deep CNN-based Bangla Sign Language Recognition using XGBoost classifier
US20250045380A1 (en) Systems and methods for detecting evidence of tampering in a document
Coelho et al. Automatic system for the recognition of amounts in handwritten cheques

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231128

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20240822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240903

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240918

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20241216

R150 Certificate of patent or registration of utility model

Ref document number: 7615688

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150