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
JP7574572B2 - Inspection device, inspection program, and inspection method - Google Patents
[go: Go Back, main page]

JP7574572B2 - Inspection device, inspection program, and inspection method - Google Patents

Inspection device, inspection program, and inspection method Download PDF

Info

Publication number
JP7574572B2
JP7574572B2 JP2020141864A JP2020141864A JP7574572B2 JP 7574572 B2 JP7574572 B2 JP 7574572B2 JP 2020141864 A JP2020141864 A JP 2020141864A JP 2020141864 A JP2020141864 A JP 2020141864A JP 7574572 B2 JP7574572 B2 JP 7574572B2
Authority
JP
Japan
Prior art keywords
document
unit
images
key
type
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
JP2020141864A
Other languages
Japanese (ja)
Other versions
JP2022037632A (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 JP2020141864A priority Critical patent/JP7574572B2/en
Publication of JP2022037632A publication Critical patent/JP2022037632A/en
Application granted granted Critical
Publication of JP7574572B2 publication Critical patent/JP7574572B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Image Analysis (AREA)

Description

本発明は、書類を検査する検査装置等に関する。 The present invention relates to an inspection device for inspecting documents.

自社には運用ノウハウがない業務を一括して外部業者へ委託するBPO(Business Process Outsourcing)が行われている。BPO業務の中には、委託元の顧客データをパーソナルな印刷物として製造し、封入封緘を行うプリントサービスがある。プリントサービスにおいては、個人情報が記載された書類を複数、各顧客に送付する場合がある。この場合、異なる顧客に対する書類が混入して送付されてしまうと、委託元は顧客からの信頼を失うことになる。そのため、プリントサービスにおいては、封入封緘前に書類一式を目視で確認し、書類の混入がないかを検査しており、工数を要している。 BPO (Business Process Outsourcing) is used to outsource operations that a company does not have the operational know-how to external companies. One BPO operation is a print service that produces personalized printed materials containing the client's customer data and seals them. In print services, multiple documents containing personal information may be sent to each customer. In this case, if documents intended for different customers are mixed up and sent, the client will lose the trust of the customer. For this reason, print services visually check the entire set of documents before sealing them to make sure no documents have been mixed up, which requires labor.

そのような状況に対して、同一の封筒に封入される複数の書類に対して同じパターンとなるように穿孔パターンを設定し、書類の封入後に穿孔パターンを検査することで、異なる顧客に対する書類が封入された封筒を検出する封筒検査システムが提案されている(特許文献1)。 To address such a situation, an envelope inspection system has been proposed that sets a punching pattern to be the same for multiple documents to be inserted into the same envelope, and then inspects the punching pattern after the documents are inserted to detect envelopes containing documents for different customers (Patent Document 1).

特開2013-193777号公報JP 2013-193777 A

しかしながら、各書類に穿孔パターン等のマークを付すのは作業の都合であり、書類の美観を損ねるため、委託元から許可を得るのは困難である。 However, marking each document with a perforation pattern or other markings is a work-related matter and would spoil the appearance of the document, so it is difficult to obtain permission from the client.

本発明はこのような状況に鑑みてなされたものである。その目的は、各書類にマークを付すことなく、複数の書類に異なる顧客のものが混入してないか否かを検査可能な検査装置等の提供である。 The present invention was made in light of these circumstances. Its purpose is to provide an inspection device that can inspect whether documents belonging to different customers are mixed together without marking each document.

本願の一態様に係る検査装置は、複数書類画像を取得する取得部と、特徴データ及び書類種別を対応付けて記憶した記憶部を参照し、取得した前記複数書類画像及び特徴データに基づき、書類画像毎に含まれる前記書類の前記書類種別を認識する認識部と、前記書類種別が基準書類である前記書類画像から基準キーを抽出し、前記書類種別が照合書類である前記書類画像から参照キーを抽出する抽出部と、抽出した前記参照キーが全て前記基準キーと一致するか否かを判定する判定部と、判定した結果を出力する出力部とを備えることを特徴とする。 The inspection device according to one aspect of the present application is characterized by comprising an acquisition unit that acquires multiple document images, a recognition unit that refers to a storage unit that stores feature data and document types in association with each other and recognizes the document type of the document contained in each document image based on the acquired multiple document images and feature data, an extraction unit that extracts a reference key from the document image whose document type is a reference document and extracts a reference key from the document image whose document type is a comparison document, a determination unit that determines whether all of the extracted reference keys match the reference key, and an output unit that outputs the determination result.

本願の一態様にあっては、各書類にマークを付すことなく、複数の書類に異なる顧客のものが混入していないか否かを検査可能となる。 In one aspect of the present application, it is possible to check whether documents belonging to different customers are mixed together without marking each document.

検査システムの構成例を示す説明図である。FIG. 1 is an explanatory diagram illustrating an example of the configuration of an inspection system. 検査装置のハードウェア構成例を示すブロック図である。FIG. 2 is a block diagram showing an example of a hardware configuration of an inspection device. 端末のハードウェア構成例を示すブロック図である。FIG. 2 is a block diagram showing an example of a hardware configuration of a terminal. 作業マスターDBの例を示す説明図である。FIG. 11 is an explanatory diagram illustrating an example of a task master DB. 付帯情報DBの例を示す説明図である。FIG. 13 is an explanatory diagram showing an example of an additional information DB. 履歴DBの例を示す説明図である。FIG. 2 is an explanatory diagram illustrating an example of a history DB. 作業状況DBの例を示す説明図である。FIG. 2 is an explanatory diagram illustrating an example of a work status DB. 訓練データDBの例を示す説明図である。FIG. 2 is an explanatory diagram illustrating an example of a training data DB. 業務手順の例を示すフローチャートである。11 is a flowchart showing an example of a business procedure. 業務手順の他の例を示すフローチャートである。13 is a flowchart showing another example of a business procedure. 照合処理の手順例を示すフローチャートである。13 is a flowchart illustrating an example of a procedure for a matching process. 学習モデルの生成処理に関する説明図である。FIG. 1 is an explanatory diagram regarding a generation process of a learning model. 学習モデル生成処理の手順例を示すフローチャートである。13 is a flowchart illustrating an example of a procedure for a learning model generation process. 照合結果画面の例を示す説明図である。FIG. 13 is an explanatory diagram showing an example of a matching result screen. 照合結果画面の例を示す説明図である。FIG. 13 is an explanatory diagram showing an example of a matching result screen. 検査装置が備える機能部の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of a functional unit included in the inspection device.

(実施の形態1)
以下実施の形態を、図面を参照して説明する。図1は検査システムの構成例を示す説明図である。検査システム100は検査装置1、端末2、撮像装置3を含む。検査装置1及び端末2はネットワークNにより、互いに通信可能に接続されている。
(Embodiment 1)
An embodiment will be described below with reference to the drawings. Fig. 1 is an explanatory diagram showing an example of the configuration of an inspection system. The inspection system 100 includes an inspection device 1, a terminal 2, and an imaging device 3. The inspection device 1 and the terminal 2 are connected to each other via a network N so as to be able to communicate with each other.

検査装置1はサーバコンピュータ、PC(Personal Computer)等で構成する。また、検査装置1を複数のコンピュータからなるマルチコンピュータ、ソフトウェアによって仮想的に構築された仮想マシン又は量子コンピュータで構成してもよい。さらに、検査装置
1の機能をクラウドサービスで実現してもよい。
The inspection device 1 is configured with a server computer, a PC (Personal Computer), etc. The inspection device 1 may also be configured with a multicomputer consisting of multiple computers, a virtual machine virtually constructed by software, or a quantum computer. Furthermore, the functions of the inspection device 1 may be realized by a cloud service.

端末2はノートパソコン、パネルコンピュータ、タブレットコンピュータ又はスマートフォン等で構成する。撮像装置3はデジタルカメラ又はスキャナ等で構成する。撮像装置3は複数のデジタルカメラで構成してもよい。また、撮像装置3はフィーダ付きのスキャナやハンディスキャナ等で構成してもよい。図1において、撮像装置3は端末2に接続されているが、ネットワークNに接続されていてもよい。 The terminal 2 is configured as a notebook computer, a panel computer, a tablet computer, a smartphone, or the like. The imaging device 3 is configured as a digital camera, a scanner, or the like. The imaging device 3 may be configured as a plurality of digital cameras. The imaging device 3 may also be configured as a scanner with a feeder, a handheld scanner, or the like. In FIG. 1, the imaging device 3 is connected to the terminal 2, but may also be connected to the network N.

図1において、端末2は2台記載しているが、1台でもよいし3台以上でもよい。同様に、撮像装置3は1台でもよいし3台以上でもよい。 In FIG. 1, two terminals 2 are shown, but the number may be one or more than three. Similarly, the number of imaging devices 3 may be one or more than three.

図2は検査装置のハードウェア構成例を示すブロック図である。検査装置1は、制御部11、主記憶部12、補助記憶部13、通信部15、計時部16及び読み取り部17を含む。制御部11、主記憶部12、補助記憶部13、通信部15、計時部16及び読み取り部17はバスBにより接続されている。 Figure 2 is a block diagram showing an example of the hardware configuration of the inspection device. The inspection device 1 includes a control unit 11, a main memory unit 12, an auxiliary memory unit 13, a communication unit 15, a clock unit 16, and a reading unit 17. The control unit 11, the main memory unit 12, the auxiliary memory unit 13, the communication unit 15, the clock unit 16, and the reading unit 17 are connected by a bus B.

制御部11は、一又は複数のCPU(Central Processing Unit)、MPU(Micro-Processing Unit)、GPU(Graphics Processing Unit)等の演算処理装置を有する。制御部11は、補助記憶部13に記憶された制御プログラム1P(検査プログラム)を読み出して実行することにより、検査装置1に係る種々の情報処理、制御処理等を行い、取得部、認識部、抽出部、判定部及び出力部等の機能部を実現する。 The control unit 11 has one or more arithmetic processing devices such as a CPU (Central Processing Unit), an MPU (Micro-Processing Unit), a GPU (Graphics Processing Unit), etc. The control unit 11 reads out and executes a control program 1P (inspection program) stored in the auxiliary storage unit 13, thereby performing various information processing, control processing, etc. related to the inspection device 1, and realizing functional units such as an acquisition unit, a recognition unit, an extraction unit, a determination unit, and an output unit.

主記憶部12は、SRAM(Static Random Access Memory)、DRAM(Dynamic Random Access Memory)、フラッシュメモリ等である。主記憶部12は主として制御部11が演算処理を実行するために必要なデータを一時的に記憶する。 The main memory unit 12 is a static random access memory (SRAM), a dynamic random access memory (DRAM), a flash memory, etc. The main memory unit 12 mainly temporarily stores data required for the control unit 11 to execute arithmetic processing.

補助記憶部13はハードディスク又はSSD(Solid State Drive)等であり、制御部11が処理を実行するために必要な制御プログラム1Pや各種DB(Database)を記憶する。補助記憶部13は、作業マスターDB131、付帯情報DB132、履歴DB133、作業状況DB134及び訓練データDB135を記憶する。また、補助記憶部13は学習モデル141を記憶する。補助記憶部13は検査装置1に接続された外部記憶装置であってもよい。補助記憶部13に記憶する各種DB等を、検査装置1とは異なるデータベースサーバやクラウドストレージに記憶してもよい。 The auxiliary memory unit 13 is a hard disk or SSD (Solid State Drive) or the like, and stores the control program 1P and various DBs (Databases) necessary for the control unit 11 to execute processing. The auxiliary memory unit 13 stores a task master DB 131, ancillary information DB 132, history DB 133, task status DB 134, and training data DB 135. The auxiliary memory unit 13 also stores a learning model 141. The auxiliary memory unit 13 may be an external storage device connected to the inspection device 1. The various DBs and the like stored in the auxiliary memory unit 13 may be stored in a database server or cloud storage different from the inspection device 1.

通信部15はネットワークNを介して、端末2と通信を行う。また、制御部11が通信部15を用い、ネットワークN等を介して他のコンピュータから制御プログラム1Pをダウンロードし、補助記憶部13に記憶してもよい。 The communication unit 15 communicates with the terminal 2 via the network N. The control unit 11 may also use the communication unit 15 to download the control program 1P from another computer via the network N, etc., and store it in the auxiliary storage unit 13.

計時部16は時刻又は検査装置1が起動してからの経過時間等の時間を計時する。計時部16は制御部11からの求めに応じて、計時結果を制御部11に与える回路である。計時部16は、信頼できるNTPサーバとNTP(Network Time Protocol)を用いた通信を繰り返し行い、時刻補正を行なうことが望ましい。 The clock unit 16 measures time, such as the time elapsed since the inspection device 1 was started, or the like. The clock unit 16 is a circuit that provides the control unit 11 with the measured time in response to a request from the control unit 11. It is desirable for the clock unit 16 to repeatedly communicate with a reliable NTP server using NTP (Network Time Protocol) to correct the time.

読み取り部17はCD(Compact Disc)-ROM及びDVD(Digital Versatile Disc)-ROMを含む可搬型記憶媒体1aを読み取る。制御部11が読み取り部17を介して、制御プログラム1Pを可搬型記憶媒体1aより読み取り、補助記憶部13に記憶してもよい。また、ネットワークN等を介して他のコンピュータから制御部11が制御プログラム1Pをダウンロードし、補助記憶部13に記憶してもよい。さらにまた、半導体メモリ1bから、制御部11が制御プログラム1Pを読み込んでもよい。 The reading unit 17 reads portable storage medium 1a, including CD (Compact Disc)-ROM and DVD (Digital Versatile Disc)-ROM. The control unit 11 may read the control program 1P from the portable storage medium 1a via the reading unit 17 and store it in the auxiliary storage unit 13. The control unit 11 may also download the control program 1P from another computer via a network N or the like and store it in the auxiliary storage unit 13. Furthermore, the control unit 11 may read the control program 1P from the semiconductor memory 1b.

図3は端末のハードウェア構成例を示すブロック図である。端末2は制御部21、主記憶部22、補助記憶部23、通信部24、入力部25、表示部26、インタフェース部27及び計時部28を含む。各構成はバスBで接続されている。 Figure 3 is a block diagram showing an example of the hardware configuration of a terminal. The terminal 2 includes a control unit 21, a main memory unit 22, an auxiliary memory unit 23, a communication unit 24, an input unit 25, a display unit 26, an interface unit 27, and a clock unit 28. Each component is connected by a bus B.

制御部21は、一又は複数のCPU、MPU、GPU等の演算処理装置を有する。制御部21は、補助記憶部23に記憶された制御プログラム2Pを読み出して実行することにより、端末2に係る種々の情報処理、制御処理等を行う。 The control unit 21 has one or more arithmetic processing devices such as a CPU, MPU, GPU, etc. The control unit 21 reads and executes the control program 2P stored in the auxiliary storage unit 23 to perform various information processing, control processing, etc. related to the terminal 2.

主記憶部22は、SRAM、DRAM、フラッシュメモリ等である。主記憶部22は主として制御部21が演算処理を実行するために必要なデータを一時的に記憶する。 The main memory unit 22 is an SRAM, DRAM, flash memory, etc. The main memory unit 22 mainly temporarily stores data required for the control unit 21 to execute arithmetic processing.

補助記憶部23はハードディスク又はSSD等であり、制御部21が処理を実行するために必要な制御プログラム2Pや各種データを記憶する。 The auxiliary storage unit 23 is a hard disk or SSD, etc., and stores the control program 2P and various data necessary for the control unit 21 to execute processing.

通信部24はネットワークNを介して、検査装置1と通信を行う。また、制御部21が通信部24を用い、ネットワークN等を介して他のコンピュータから制御プログラム2Pをダウンロードし、補助記憶部23に記憶してもよい。 The communication unit 24 communicates with the inspection device 1 via the network N. In addition, the control unit 21 may use the communication unit 24 to download the control program 2P from another computer via the network N, etc., and store it in the auxiliary storage unit 23.

入力部25はキーボードやマウスである。表示部26は液晶表示パネル等を含む。表示部26は書類の検査結果などを表示する。表示部26は検査結果がエラーとなった場合、エラー箇所、エラー内容を表示する。表示部26と入力部25とを一体化し、タッチパネルディスプレイとしてもよい。なお、端末2は外部の表示装置に表示を行ってもよい。 The input unit 25 is a keyboard and a mouse. The display unit 26 includes a liquid crystal display panel, etc. The display unit 26 displays the document inspection results, etc. If the inspection results in an error, the display unit 26 displays the location and content of the error. The display unit 26 and the input unit 25 may be integrated into one to form a touch panel display. The terminal 2 may display on an external display device.

インタフェース部27は、USB(Universal Serial Bus)、IEEE(Institute of Electrical and Electronics Engineers)1394等の規格に沿ったデータ通信を行なう。インタフェース部27は撮像装置3から画像を受け取る。 The interface unit 27 performs data communication in accordance with standards such as USB (Universal Serial Bus) and IEEE (Institute of Electrical and Electronics Engineers) 1394. The interface unit 27 receives images from the imaging device 3.

計時部28は時刻又は端末2が起動してからの経過時間等の時間を計時する。計時部28は制御部21からの求めに応じて、計時結果を制御部21に与える回路である。計時部28が保持する時刻と、検査装置1の計時部16が保持する時刻とは、同期が取れていることが望ましい。 The clock unit 28 measures time, such as the time or the elapsed time since the terminal 2 was started. The clock unit 28 is a circuit that provides the control unit 21 with the measured time in response to a request from the control unit 21. It is desirable that the time held by the clock unit 28 and the time held by the clock unit 16 of the inspection device 1 are synchronized.

次に、検査システム100が用いるデータベースについて説明する。図4は作業マスターDB131の例を示す説明図である。作業マスターDB131は作業フローに関する情報を記憶する。作業マスターDB131は作業コード列及び作業名列を含む。作業コード列は作業フローを一意に特定する作業コードを記憶する。作業名列は作業フローの名称を記憶する。 Next, the database used by the inspection system 100 will be described. Figure 4 is an explanatory diagram showing an example of the task master DB 131. The task master DB 131 stores information related to a workflow. The task master DB 131 includes a task code column and a task name column. The task code column stores a task code that uniquely identifies a workflow. The task name column stores the name of the workflow.

図5は付帯情報DB132の例を示す説明図である。付帯情報DB132は書類に関する付帯情報を記憶する。付帯情報DB132は作業コード列、書類認識情報列、書類種別列、書類名列、キー領域座標列、配置箇所列及び順序列を含む。作業コード列は作業コードを記憶する。書類認識情報列は書類種別を認識する際に参照されるデータを記憶する。例えば、学習モデル141を用いて書類種別を認識する場合、書類認識情報列は出力ラベルの情報を記憶する。画像のパターンマッチングにより書類種別を認識する場合、書類認識情報列は基準画像を記憶する。書類種別列は書類種別を記憶する。書類種別は例えば、基準、照合又は汎用である。基準とはキーの参照の際に、基準となる書類(基準書類)を示す。基準書類に記載のキー(基準キー)と異なるキーが記載された書類はエラーとなる。照合はキーの参照の際に、基準キーと比較されるキーが記載された書類(参照書類)を示す。汎用とはキーの記載のない汎用的な書類(汎用書類)を示す。なお、本明細書において、汎用書類には封筒を含むものとする。書類名列は書類の名称を記憶する。キー領域座標列は書類毎の画像(以下、「書類画像」という。)においてキー領域を示す座標を記憶する。例えばキー領域は矩形状として、矩形の対角線の端点2つの座標値を記憶する。キー領域が複数箇所にわたる場合は、「キー1」、「キー2」のように順番号を含むラベルを座標値に付す。配置箇所列は書類を作業台上に並べる際の正しい位置を記憶する。作業台上に書類を並べるためのスペースを確保し、当該スペースを複数の領域に分けて、順番号を含むラベルを付す。順序列は、書類画像を取得する撮像装置3がスキャナである場合、書類をスキャンする順番を記憶する。書類の順番は、複数の書類を封筒に封入する際の重ね順を示す。順番号1の書類を最も上に、その下に順番号2の書類、順番号3の書類、…というような要領で書類重ねて封筒に封入する。 Figure 5 is an explanatory diagram showing an example of the additional information DB 132. The additional information DB 132 stores additional information related to documents. The additional information DB 132 includes a working code string, a document recognition information string, a document type string, a document name string, a key area coordinate string, a placement location string, and a sequence string. The working code string stores a working code. The document recognition information string stores data referenced when recognizing the document type. For example, when the document type is recognized using the learning model 141, the document recognition information string stores output label information. When the document type is recognized by image pattern matching, the document recognition information string stores a reference image. The document type string stores the document type. The document type is, for example, a reference, a collation, or a general purpose. The reference refers to a document that serves as a reference (reference document) when referencing a key. A document in which a key different from the key (reference key) written in the reference document is written results in an error. The collation refers to a document in which a key to be compared with the reference key is written when referencing a key (reference document). "General purpose" refers to a general purpose document (general purpose document) without a key. In this specification, the general purpose document includes an envelope. The document name column stores the name of the document. The key area coordinate column stores coordinates indicating the key area in the image of each document (hereinafter referred to as "document image"). For example, the key area is rectangular, and the coordinate values of the two diagonal end points of the rectangle are stored. If the key area spans multiple locations, a label including a sequence number such as "key 1" and "key 2" is attached to the coordinate value. The placement location column stores the correct position when arranging the documents on the workbench. A space for arranging the documents on the workbench is secured, the space is divided into multiple areas, and labels including sequence numbers are attached. The order column stores the order in which the documents are scanned when the imaging device 3 that acquires the document image is a scanner. The order of the documents indicates the order in which the documents are stacked when the documents are enclosed in an envelope. Place the document with sequence number 1 on top, then document with sequence number 2 underneath, document with sequence number 3, and so on, and place the documents in an envelope.

図6は履歴DB133の例を示す説明図である。履歴DB133は照合作業の履歴を記憶する。履歴DB133は作業コード列、照合日時列、照合結果列、キー列、エラー列、エラー箇所列、第1作業者列及び第2作業者列を含む。作業コード列は作業コードを記憶する。照合日時列は照合作業を行った日時を記憶する。照合結果列は照合結果を記憶する。照合に成功した場合、照合結果列は例えばOKを記憶する。OK以外の値、例えば○や1等を照合結果列に記憶してもよい。照合に失敗した場合、照合結果列はNGを記憶する。NG以外の値、例えば×や0等を照合結果列に記憶してもよい。キー列は照合に使用された基準キーを記憶する。エラー列は照合に失敗した場合のエラー内容を記憶する。照合書類のキーが基準キーと一致しなかった場合、エラー列は例えばキー不一致を記憶する。書類の配置が間違っていた場合、エラー列は例えば配置誤りを記憶する。各エラー内容にコードをふり、エラー列はコードを記憶してもよい。照合に成功した場合、エラー列は-、NULL、0等を記憶する。エラー箇所列はエラー箇所を記憶する。書類を作業台上に並べた場合、エラーが発生した領域のラベル又は順番号をエラー箇所列は記憶する。書類をスキャナでスキャンした場合、エラーを発した書類の順番号をエラー箇所列は記憶する。第1作業者列及び第2作業者列は作業を担当した作業員を一意に特定可能な社員IDや作業員ID等をそれぞれ記憶する。 Figure 6 is an explanatory diagram showing an example of history DB 133. History DB 133 stores the history of the matching work. History DB 133 includes a working code column, a matching date and time column, a matching result column, a key column, an error column, an error location column, a first worker column, and a second worker column. The working code column stores the working code. The matching date and time column stores the date and time when the matching work was performed. The matching result column stores the matching result. If the matching is successful, the matching result column stores, for example, OK. A value other than OK, such as ○ or 1, may be stored in the matching result column. If the matching is unsuccessful, the matching result column stores NG. A value other than NG, such as × or 0, may be stored in the matching result column. The key column stores the reference key used for matching. The error column stores the error content when the matching fails. If the key of the matching document does not match the reference key, the error column stores, for example, key mismatch. If the document is placed incorrectly, the error column stores, for example, placement error. A code may be assigned to each error content, and the error column may store the code. If the match is successful, the error column stores -, NULL, 0, etc. The error location column stores the location of the error. When documents are lined up on a workbench, the error location column stores the label or sequence number of the area where the error occurred. When documents are scanned with a scanner, the error location column stores the sequence number of the document where the error occurred. The first worker column and second worker column each store an employee ID, worker ID, etc. that can uniquely identify the worker who performed the work.

図7は作業状況DB134の例を示す説明図である。作業状況DB134は作業状況を記憶する。作業状況DB134は作業コード列、作業名列、作業日列、第1作業者列、第2作業者列、照合回数列、OK列及びNG列を含む。作業コード列は作業コードを記憶する。作業名列は作業フローの名称を記憶する。作業日列は作業日を記憶する。第1作業者列及び第2作業者列は作業者の社員ID等を記憶する。照合回数列は照合を行った回数を記憶する。OK列は照合に成功した回数を記憶する。NG列は照合に失敗した回数を記憶する。作業状況DBは当日の作業状況を記憶する。当該作業状況は端末2の表示部26の表示に利用される。そのため作業状況DB134は当日分の1レコードのみを記憶してもよい。この場合、作業日列は必須ではない。また、OK列及びNG列も必須ではない。照合に成功した回数及び照合に失敗した回数は、履歴DB133より求まるからである。 Figure 7 is an explanatory diagram showing an example of the work status DB 134. The work status DB 134 stores the work status. The work status DB 134 includes a work code column, a work name column, a work date column, a first worker column, a second worker column, a match count column, an OK column, and an NG column. The work code column stores the work code. The work name column stores the name of the work flow. The work date column stores the work date. The first worker column and the second worker column store the employee ID of the worker, etc. The match count column stores the number of times the match was performed. The OK column stores the number of times the match was successful. The NG column stores the number of times the match was unsuccessful. The work status DB stores the work status of the day. The work status is used for display on the display unit 26 of the terminal 2. Therefore, the work status DB 134 may store only one record for the day. In this case, the work date column is not required. Furthermore, the OK column and the NG column are not required. The number of successful matches and the number of failed matches can be obtained from the history DB 133.

図8は訓練データDB135の例を示す説明図である。訓練データDB135は学習モデル141を生成又は再学習するための訓練データを記憶する。訓練データDB135は作業コード列、画像列、正解ラベル列を含む。作業コード列は作業コードを記憶する。画像列は書類画像を記憶する。書類画像の実体を補助記憶部13にファイルとして記憶し、画像列はファイル名を記憶してもよい。正解ラベル列は書類画像に対応する書類種別の正解ラベルを記憶する。 Figure 8 is an explanatory diagram showing an example of the training data DB 135. The training data DB 135 stores training data for generating or relearning the learning model 141. The training data DB 135 includes a working code string, an image string, and a correct label string. The working code string stores a working code. The image string stores a document image. The entity of the document image may be stored as a file in the auxiliary storage unit 13, and the image string may store a file name. The correct label string stores the correct label of the document type corresponding to the document image.

次に、検査システム100での業務手順について説明する。図9は業務手順の例を示すフローチャートである。図9に示す業務手順は、撮像装置3が卓上カメラであって、作業台に配置した書類一式を当該卓上カメラで撮影する場合の業務フローである。作業者は検査プログラムを起動し、作業者IDの入力、作業フローを選択する(ステップS1)。作業者は作業台上に、書類一式を配置する(ステップS2)。作業者は書類を撮影する(ステップS3)。撮影後、検査システム100に照合を行わせる(ステップS4)。作業者は検査システム100が返答した照合結果を確認する(ステップS5)。作業者は照合結果が成功であるか否かを確認する(ステップS6)。作業者は照合結果が成功であることを確認した場合(ステップS6でYES)、書類を封筒に封入し封緘する(ステップS7)。作業者は作業を終了するか否か判断する(ステップS8)。作業者は作業を継続すると判断した場合(ステップS8でNO)、ステップS2に戻り、未処理の書類についての作業を行なう。作業者は作業を終了すると判断した場合(ステップS8でYES)、終了する。作業者は照合結果が失敗であることを確認した場合(ステップS6でNO)、エラーメッセージを参照の上、対応を行なう(ステップS9)。作業者はステップS3に戻り、再度、検査を行なう。なお、作業台に配置する書類は、すぐに封入可能なように大きな書類については折り畳まれていることが望ましい。そして、基準書類又は照合書類は、折り畳まれている状態で、視認可能である位置にキー領域があり、キー領域が撮影されるように配置する。作業台上に、書類一式を配置する際、ロボットアーム等を用いてもよい。また、作業台上の書類の配置に誤りがあると判明した場合、ロボットアーム等を用いて、正しい配置となるように配列してもよい。 Next, the procedure for the inspection system 100 will be described. FIG. 9 is a flowchart showing an example of the procedure. The procedure shown in FIG. 9 is a procedure flow in the case where the imaging device 3 is a tabletop camera and a set of documents placed on a work table is photographed by the tabletop camera. The worker starts the inspection program, inputs the worker ID, and selects the work flow (step S1). The worker places a set of documents on the work table (step S2). The worker photographs the documents (step S3). After photographing, the inspection system 100 performs a comparison (step S4). The worker checks the comparison result returned by the inspection system 100 (step S5). The worker checks whether the comparison result is successful or not (step S6). If the worker checks that the comparison result is successful (YES in step S6), the worker puts the documents in an envelope and seals it (step S7). The worker decides whether to end the work (step S8). If the worker decides to continue the work (NO in step S8), the process returns to step S2 and works on the unprocessed documents. If the worker decides to end the work (YES in step S8), the work ends. If the worker confirms that the comparison result is unsuccessful (NO in step S6), the worker refers to the error message and takes appropriate action (step S9). The worker returns to step S3 and performs the inspection again. It is desirable that the documents placed on the work table are folded, especially large documents, so that they can be immediately enclosed. The reference document or comparison document is placed so that the key area is located in a position that is visible when folded, and the key area is photographed. A robot arm or the like may be used to place the set of documents on the work table. If it is determined that the arrangement of the documents on the work table is incorrect, a robot arm or the like may be used to arrange them in the correct arrangement.

図10は業務手順の他の例を示すフローチャートである。図10に示す業務手順は、撮像装置3がスキャナであって、書類一式を構成する各書類をスキャンする場合の業務フローである。作業者は検査プログラムを起動し、作業者IDの入力、作業フローを選択する(ステップS11)。作業者は書類一式を構成する書類を順にスキャンする(ステップS12)。作業者は全ての書類をスキャンしたら、照合指示をする(ステップS13)。作業者は検査システム100が返答した照合結果を確認する(ステップS14)。作業者は照合結果が成功であるか否かを確認する(ステップS15)。作業者は照合結果が成功であることを確認した場合(ステップS15でYES)、書類を封筒に封入し封緘する(ステップS16)。作業者は作業を終了するか否か判断する(ステップS17)。作業者は作業を継続すると判断した場合(ステップS17でNO)、ステップS12に戻り、未処理の書類についての作業を行なう。作業者は作業を終了すると判断した場合(ステップS17でYES)、終了する。作業者は照合結果が失敗であることを確認した場合(ステップS15でNO)、エラーメッセージを参照の上、対応を行なう(ステップS18)。作業者はステップS12に戻り、再度、検査を行なう。なお、スキャンする書類は、すぐに封入可能なように大きな書類については折り畳まれていることが望ましい。そして、基準書類又は照合書類は、折り畳まれている状態で、視認可能である位置にキー領域があり、キー領域が読み取られるようにスキャンする。 Figure 10 is a flowchart showing another example of the business procedure. The business procedure shown in Figure 10 is a business flow in the case where the imaging device 3 is a scanner and scans each document that constitutes a set of documents. The worker starts the inspection program, inputs the worker ID, and selects the work flow (step S11). The worker scans the documents that constitute the set of documents in order (step S12). When the worker has scanned all the documents, he/she issues a matching instruction (step S13). The worker checks the matching result returned by the inspection system 100 (step S14). The worker checks whether the matching result is successful or not (step S15). If the worker checks that the matching result is successful (YES in step S15), the worker puts the documents in an envelope and seals it (step S16). The worker decides whether to end the work (step S17). If the worker decides to continue the work (NO in step S17), the process returns to step S12 and works on the unprocessed documents. If the worker decides to end the work (YES in step S17), the process ends. If the worker finds that the comparison result is unsuccessful (NO in step S15), he or she refers to the error message and takes appropriate action (step S18). The worker returns to step S12 and performs the inspection again. Note that it is desirable for the document to be scanned to be folded, especially for large documents, so that it can be enclosed immediately. The reference document or comparison document is scanned in a folded state so that the key area is located in a visible position and the key area can be read.

続いて、検査システム100が行う情報処理について説明する。図11は照合処理の手順例を示すフローチャートである。検査装置1の制御部11は撮像装置3で撮影された画像を端末2から受信したことを契機に、照合処理を開始する。制御部11は受信した画像が単一画像であるか否かを判定する(ステップS31)。書類一式を卓上カメラで撮影した場合、受信画像は単一画像である。書類一式を構成する各書類をスキャナでスキャナした場合、受信画像は複数画像からなる画像群である。制御部11は受信した画像が単一画像でないと判定した場合(ステップS31でNO)、処理をステップS33へ進める。制御部11は受信した画像が単一画像であると判定した場合(ステップS31でYES)、受信した画像から各書類の画像を切り出す(ステップS32)。例えば、以下のように各書類の領域を検出する。作業台に緑色の布又はシートを敷き、その上に、書類を配置し撮影する。この場合、色情報における閾値処理で書類領域を検出可能である。画像のカラー情報(RGB値)を参照し、緑成分を示す値が大きい部分は背景であり、それ以外の部分は書類の領域と判定できる。また、公知のエッジ検出処理により、書類の輪郭線を検出し、輪郭線をもとに書類の領域を検出してもよい。なお、書類の領域は矩形状であることが前提であるので、検出した書類の領域が矩形となるように、台形補正処理を行ってもよい。制御部11は処理対象とする書類画像を選択する(ステップS33)。制御部11は書類種別の認識を行なう(ステップS34)。書類種別の認識は、学習モデル141に書類画像を入力し、学習モデル141が出力した各ラベルの値より判定する。学習モデル141については後述する。また、書類画像と、付帯情報DB132の書類認識情報列に記憶してある基準画像とを照合して、書類を判定してもよい。制御部11は書類種別が汎用書類であるか否かを判定する(ステップS35)。制御部11は書類種別が汎用書類であると判定した場合(ステップS35でYES)、処理をステップS38へ進める。制御部11は書類種別が汎用書類でないと判定した場合(ステップS35でNO)、付帯情報DB132のキー領域座標列の値に基づき、キー領域を抽出する(ステップS36)。制御部11はキー領域に対して、文字認識処理を行い、キーの認識を行なう(ステップS37)。なお、キー領域の抽出(ステップS36)は必須でない。キー領域の抽出を行わず、書類画像全体を対象に文字認識を行ってもよい。キー領域に対して文字領域の検出を行い、検出した文字領域に対して文字認識を行ってもよい。それにより、認識率の向上が期待される。制御部11は認識した書類種別、キー、及び、書類の配置位置又はスキャン順を対応付けて、一時記憶領域に記憶する(ステップS38)。一時記憶領域は、主記憶部12又は補助記憶部13に設ける。制御部11は未処理の書類画像があるか否かを判定する(ステップS39)。制御部11は未処理の書類画像があると判定した場合(ステップS39でYES)、処理をステップS33へ戻し、未処理の書類画像に対する処理を行なう。制御部11は未処理の書類画像がないと判定した場合(ステップS39でNO)、一時記憶領域に記憶した書類種別、及び、書類の配置位置又はスキャン順と、付帯情報DB132の書類種別、配置位置列又は順序列とを照合する(ステップS40)。制御部11は基準キーの照合を行なう(ステップS41)。制御部11は一時記憶領域に記憶した書類種別及びキーより、基準キー取得する。制御部11は一時記憶領域に記憶した書類種別及びキーより、照合書類のキー(照合キー)を取得する。制御部11は、全ての照合キーと基準キーとを照合し、全て一致しているかを判定する。制御部11は照合結果を出力する(ステップS42)。すべての書類の配置位置又は順序が正しく、全ての照合キーが基準キーと一致した場合、照合結果は成功となる。配置位置若しくは順序が正しくない書類がある場合、書類に過不足がある場合、又は、照合キーが基準キーと一致しない書類がある場合、照合結果は失敗となる。照合結果が失敗の場合、制御部11は失敗となった内容を出力する。制御部11は照合処理を終了する。ステップS42で照合結果を出力する際に、制御部11は履歴DB133に照合結果を履歴としてレコードを追加する。なお、キーの認識(ステップS37)において、文字認識は行わなくともよい。この場合、基準キーとの照合(ステップS41)において、基準キーの画像と照合キーの画像とを画像照合し、一致するか否かを判定する。 Next, the information processing performed by the inspection system 100 will be described. FIG. 11 is a flowchart showing an example of the procedure of the matching process. The control unit 11 of the inspection device 1 starts the matching process when the control unit 11 receives an image captured by the imaging device 3 from the terminal 2. The control unit 11 judges whether the received image is a single image or not (step S31). When a set of documents is captured by a table camera, the received image is a single image. When each document constituting the set of documents is scanned by a scanner, the received image is an image group consisting of multiple images. When the control unit 11 judges that the received image is not a single image (NO in step S31), the process proceeds to step S33. When the control unit 11 judges that the received image is a single image (YES in step S31), the control unit 11 cuts out the image of each document from the received image (step S32). For example, the area of each document is detected as follows. A green cloth or sheet is laid on the workbench, and the document is placed on it and photographed. In this case, the document area can be detected by threshold processing in color information. With reference to the color information (RGB values) of the image, it can be determined that the part with a large value indicating the green component is the background, and the other part is the document area. Also, a known edge detection process may be used to detect the outline of the document, and the document area may be detected based on the outline. Note that since the document area is assumed to be rectangular, a keystone correction process may be performed so that the detected document area becomes rectangular. The control unit 11 selects the document image to be processed (step S33). The control unit 11 recognizes the document type (step S34). The document type is recognized by inputting the document image into the learning model 141 and judging from the value of each label output by the learning model 141. The learning model 141 will be described later. Also, the document image may be compared with a reference image stored in the document recognition information column of the supplementary information DB 132 to judge the document. The control unit 11 judges whether the document type is a general-purpose document (step S35). When the control unit 11 determines that the document type is a general-purpose document (YES in step S35), the process proceeds to step S38. When the control unit 11 determines that the document type is not a general-purpose document (NO in step S35), the control unit 11 extracts a key area based on the value of the key area coordinate column in the supplementary information DB 132 (step S36). The control unit 11 performs character recognition processing on the key area to recognize the key (step S37). It should be noted that the extraction of the key area (step S36) is not essential. Character recognition may be performed on the entire document image without extracting the key area. Character area detection may be performed on the key area, and character recognition may be performed on the detected character area. This is expected to improve the recognition rate. The control unit 11 associates the recognized document type, key, and document placement position or scan order, and stores them in a temporary storage area (step S38). The temporary storage area is provided in the main storage unit 12 or the auxiliary storage unit 13. The control unit 11 determines whether there is an unprocessed document image (step S39). When the control unit 11 determines that there is an unprocessed document image (YES in step S39), the control unit 11 returns the process to step S33 and processes the unprocessed document image. When the control unit 11 determines that there is no unprocessed document image (NO in step S39), the control unit 11 compares the document type and the document arrangement position or scan order stored in the temporary storage area with the document type, arrangement position column, or sequence column in the additional information DB 132 (step S40). The control unit 11 compares the reference key (step S41). The control unit 11 acquires the reference key from the document type and key stored in the temporary storage area. The control unit 11 acquires the key of the comparison document (matching key) from the document type and key stored in the temporary storage area. The control unit 11 compares all the matching keys with the reference key and determines whether they all match. The control unit 11 outputs the matching result (step S42). If the arrangement positions or order of all the documents are correct and all the matching keys match the reference key, the matching result is successful. If any document is not placed in the correct position or order, if there are documents that are insufficient or excessive, or if there are documents whose matching key does not match the reference key, the matching result will be a failure. If the matching result is a failure, the control unit 11 outputs the details of the failure. The control unit 11 ends the matching process. When outputting the matching result in step S42, the control unit 11 adds a record of the matching result to the history DB 133 as history. Note that character recognition does not have to be performed in recognizing the key (step S37). In this case, in matching with the reference key (step S41), an image of the reference key and an image of the matching key are compared to determine whether they match.

続いて、学習モデル141について説明する。図12は学習モデル141の生成処理に関する説明図である。図12は機械学習を行って学習モデル141を生成する処理を概念的に示している。検査装置1の制御部11は、学習モデル141として、各作業フローにおける各書類の画像について、その特徴量を学習するディープラーニングを行うことで、書類画像を入力とし、書類種別を出力とするニューラルネットワークを生成する。ニューラルネットワークは例えばCNN(Convolution Neural Network)であり、書類画像の入力を受け付ける入力層と、書類種別を出力する出力層と、書類画像の画像特徴量を抽出する中間層とを有する。 Next, the learning model 141 will be described. FIG. 12 is an explanatory diagram of the generation process of the learning model 141. FIG. 12 conceptually shows the process of generating the learning model 141 by performing machine learning. The control unit 11 of the inspection device 1 generates a neural network that inputs document images and outputs document types as the learning model 141 by performing deep learning to learn the features of each document image in each work flow. The neural network is, for example, a CNN (Convolution Neural Network), and has an input layer that accepts input of document images, an output layer that outputs the document type, and an intermediate layer that extracts image features of the document image.

入力層は、書類画像に含まれる各画素の画素値の入力を受け付ける複数のニューロンを有し、入力された画素値を中間層に受け渡す。中間層は複数のニューロンを有し、書類画像内から特徴量を抽出して出力層に受け渡す。例えば、中間層は、入力層から入力された各画素の画素値を畳み込むコンボリューション層と、コンボリューション層で畳み込んだ画素値をマッピングするプーリング層とが交互に連結された構成を有し、書類画像の画素情報を圧縮しながら最終的に画像特徴量を抽出する。出力層は書類種別を出力する一又は複数のニューロンから成り、中間層から出力された画像特徴量に基づいて書類種別を出力する。なお、本実施の形態では学習モデル141はCNNであるとして説明するが、学習モデル141はCNNに限定されず、CNN以外のニューラルネットワークやSVM(Support Vector Machine)など他の学習アルゴリズムで構築されたモデルでもよく、パターンマッチングや決定木など学習モデルを使用せずに書類種別を判定してもよい。 The input layer has a plurality of neurons that accept input of pixel values of each pixel included in the document image, and passes the input pixel values to the intermediate layer. The intermediate layer has a plurality of neurons, extracts features from the document image, and passes them to the output layer. For example, the intermediate layer has a configuration in which a convolution layer that convolves the pixel values of each pixel input from the input layer and a pooling layer that maps the pixel values convolved in the convolution layer are alternately connected, and finally extracts image features while compressing the pixel information of the document image. The output layer is composed of one or more neurons that output the document type, and outputs the document type based on the image features output from the intermediate layer. Note that in this embodiment, the learning model 141 is described as a CNN, but the learning model 141 is not limited to a CNN, and may be a model constructed with other learning algorithms such as a neural network other than CNN or an SVM (Support Vector Machine), and the document type may be determined without using a learning model such as pattern matching or a decision tree.

制御部11は、複数の書類画像と、各書類画像に対する書類種別の正解値とが対応付けられた訓練データを用いて学習を行う。例えば図12に示すように、訓練データは、作業コード及び書類画像に対し、書類種別に対応する正解ラベルが付けされたデータである。ラベル0は基準書類を、ラベル1は照合書類を、ラベル2は汎用書類に対応する。 The control unit 11 performs learning using training data in which multiple document images are associated with correct answer values for the document type for each document image. For example, as shown in FIG. 12, the training data is data in which correct answer labels corresponding to the document type are assigned to the working code and document image. Label 0 corresponds to the reference document, label 1 corresponds to the comparison document, and label 2 corresponds to a general-purpose document.

制御部11は、訓練データである書類画像を入力層に入力し、中間層での演算処理を経て、出力層から各ラベルの確率値を取得する。制御部11は、出力層から出力された各ラベルの確率値を正解値ラベルと比較し、出力層において正解ラベルからの確率値が1に近づくように、中間層での演算処理に用いるパラメータを最適化する。当該パラメータは、例えばニューロン間の重み(結合係数)、各ニューロンで用いられる活性化関数の係数などである。パラメータの最適化の方法は特に限定されないが、例えば制御部11は誤差逆伝播法を用いて各種パラメータの最適化を行う。制御部11は、訓練データに含まれる各書類画像について上記の処理を行い、学習モデル141を生成する。 The control unit 11 inputs document images, which are training data, into the input layer, and obtains the probability value of each label from the output layer after arithmetic processing in the intermediate layer. The control unit 11 compares the probability value of each label output from the output layer with the correct value label, and optimizes the parameters used in the arithmetic processing in the intermediate layer so that the probability value from the correct label in the output layer approaches 1. The parameters in question are, for example, the weights (coupling coefficients) between neurons and the coefficients of the activation functions used in each neuron. There are no particular limitations on the method of optimizing the parameters, but for example, the control unit 11 optimizes various parameters using the backpropagation method. The control unit 11 performs the above processing on each document image included in the training data to generate a learning model 141.

図13は学習モデル141生成処理の手順例を示すフローチャートである。制御部11は訓練データDB135に記憶されている訓練データの一つを選択する(ステップS51)。制御部11は訓練データから正解ラベルを除いた入力データを抽出する(ステップS52)。制御部11は入力データをニューラルネットワークの入力層に入力する(ステップS53)。制御部11は出力データ、ラベル毎の確率値を出力層から取得する(ステップS54)。制御部11は、ラベル毎の確率値と正解ラベルとを比較し、出力層から出力される正解ラベルの確率値が1に近づくよう、中間層での演算処理に用いるパラメータ(重み等)を最適化する(ステップS55)。制御部11は未利用の訓練データがあるか否かを判定する(ステップS56)。制御部11は未利用の訓練データがあると判定した場合(ステップS56でYES)、処理をステップS51へ戻す。制御部11は未利用の訓練データがないと判定した場合(ステップS56でNO)、制御部11は、生成した学習モデル141を補助記憶部13に記憶し(ステップS57)、処理を終了する。 Figure 13 is a flowchart showing an example of the procedure of the learning model 141 generation process. The control unit 11 selects one of the training data stored in the training data DB 135 (step S51). The control unit 11 extracts input data excluding the correct label from the training data (step S52). The control unit 11 inputs the input data to the input layer of the neural network (step S53). The control unit 11 acquires the output data and the probability value for each label from the output layer (step S54). The control unit 11 compares the probability value for each label with the correct label, and optimizes the parameters (weights, etc.) used in the calculation process in the intermediate layer so that the probability value of the correct label output from the output layer approaches 1 (step S55). The control unit 11 determines whether there is unused training data (step S56). If the control unit 11 determines that there is unused training data (YES in step S56), the process returns to step S51. If the control unit 11 determines that there is no unused training data (NO in step S56), the control unit 11 stores the generated learning model 141 in the auxiliary storage unit 13 (step S57) and ends the process.

次に、端末2の表示部26に表示される画面について説明する。図14は照合結果画面の例を示す説明図である。図14は照合に成功した場合の画面例である。照合結果画面d01は名称領域d011、作業者領域d012、キー領域d013、メッセージ領域d014は結果表示領域d015及びカウンタ領域d016を含む。名称領域d011は作業フローの名称を表示する。作業者領域d012は作業者2名の作業者IDを表示する。キー領域d013は認識したキーを表形式で表示する。図14ではキー領域が2つある場合を示している。キー領域d013の最初の行は、認識したキーの値を表示している。その他の行は、キー領域の画像を書類毎に示す。KEYは基準キーの画像、SUB1、SUB2、SUB3は照合書類の照合キーの画像を表示する。メッセージ領域d014は照合結果を補足するメッセージを表示する。照合に成功した場合は何も表示しない。結果表示領域d015は照合結果を表示する。図14では照合の成功した場合の表示として丸を表示している。カウンタ領域d016は照合した回数を表示する。照合した回数は検査プログラムを起動した直後、及び作業フローを選択直後、0にリセットされる。照合した回数は、成功した回数及び失敗した回数を含む。成功した回数及び失敗した回数を個別に表示してもよい。 Next, the screens displayed on the display unit 26 of the terminal 2 will be described. FIG. 14 is an explanatory diagram showing an example of a matching result screen. FIG. 14 is an example of a screen when matching is successful. The matching result screen d01 includes a name area d011, a worker area d012, a key area d013, and a message area d014, which include a result display area d015 and a counter area d016. The name area d011 displays the name of the work flow. The worker area d012 displays the worker IDs of the two workers. The key area d013 displays the recognized keys in a table format. FIG. 14 shows a case where there are two key areas. The first row of the key area d013 displays the recognized key value. The other rows show the image of the key area for each document. KEY displays an image of the reference key, and SUB1, SUB2, and SUB3 display images of the matching keys of the matching documents. The message area d014 displays a message supplementing the matching result. If matching is successful, nothing is displayed. The result display area d015 displays the matching result. In FIG. 14, a circle is displayed to indicate a successful match. The counter area d016 displays the number of matches made. The number of matches made is reset to 0 immediately after the inspection program is started and immediately after a workflow is selected. The number of matches made includes the number of successful matches and the number of unsuccessful matches. The number of successful matches and the number of unsuccessful matches may also be displayed separately.

図15は照合結果画面の例を示す説明図である。図15は照合に失敗した場合の画面例である。画面の構成は図14と同様であるから、各領域の説明は省略する。図15の示す例では、SUB1で示す帳票のキーが基準キーと一致していないため、エラーとなっている。SUB1帳票がエラーであることを示すため、キー領域d013において、SUB1の行の背景がハッチングとなっている。実際の画面においては背景を赤色にしてもよい、また点滅表示としてもよい。メッセージ領域d014はエラーメッセージが表示されている。結果表示領域d015は照合に失敗したことを示すバツを表示している。 Figure 15 is an explanatory diagram showing an example of a matching result screen. Figure 15 is an example of a screen when matching has failed. The screen configuration is the same as in Figure 14, so an explanation of each area will be omitted. In the example shown in Figure 15, an error has occurred because the key of the form shown in SUB1 does not match the reference key. To indicate that the SUB1 form is in error, the background of the SUB1 row in the key area d013 is hatched. In an actual screen, the background may be red, or may be a blinking display. An error message is displayed in the message area d014. The result display area d015 displays a cross indicating that matching has failed.

照合結果画面d01において、名称領域d011、作業者領域d012、カウンタ領域d016は、作業状況DB134に記憶しているデータに基づいて表示してもよい。作業状況DB134を端末2の補助記憶部23に記憶してもよい。 On the matching result screen d01, the name area d011, the worker area d012, and the counter area d016 may be displayed based on data stored in the work status DB 134. The work status DB 134 may be stored in the auxiliary storage unit 23 of the terminal 2.

本実施の形態においては、複数の書類に異なる顧客のものが混入してないか否かを検査可能となる。また、照合に失敗した箇所を表示するので、作業者は失敗した箇所に対応する書類を確認の上、正しい書類に入れ替える作業を迅速に行えることが可能となる。 In this embodiment, it is possible to check whether documents belonging to different customers are mixed together among multiple documents. In addition, the parts where matching has failed are displayed, so that the worker can quickly check the documents corresponding to the failed parts and replace them with the correct documents.

照合処理を検査装置1で行うのではなく、端末2で行ってもよい。この場合、作業マスターDB131、付帯情報DB132、作業状況DB134及び学習モデル141は、端末2の補助記憶部23に記憶する。照合履歴は作業中には補助記憶部23に記憶しておき、作業完了後、検査装置1に転送してもよい。 The matching process may be performed by the terminal 2 instead of the inspection device 1. In this case, the work master DB 131, the additional information DB 132, the work status DB 134, and the learning model 141 are stored in the auxiliary memory unit 23 of the terminal 2. The matching history may be stored in the auxiliary memory unit 23 during work and transferred to the inspection device 1 after the work is completed.

履歴DB133に書類画像も記憶してもよい。ある程度数の履歴データが履歴DB133に蓄積されたら、履歴データから訓練データを生成し、学習モデル141を再学習してもよい。再学習は検査装置1で行う。端末2で認識を行っている場合、再学習で得た学習モデル141のパラメータを端末2に記憶する学習モデル141に反映する。 Document images may also be stored in the history DB 133. Once a certain amount of history data has been accumulated in the history DB 133, training data may be generated from the history data and the learning model 141 may be retrained. Retraining is performed by the inspection device 1. When recognition is performed by the terminal 2, the parameters of the learning model 141 obtained by retraining are reflected in the learning model 141 stored in the terminal 2.

図16は検査装置が備える機能部の一例を示すブロック図である。検査装置1は機能部として、取得部11a、認識部11b、抽出部11c、判定部11d及び出力部11eを備える。これらの各機能部は、制御部11が制御プログラム1Pに基づいて動作することにより、実現される。 Figure 16 is a block diagram showing an example of functional units of an inspection device. The inspection device 1 includes, as functional units, an acquisition unit 11a, a recognition unit 11b, an extraction unit 11c, a determination unit 11d, and an output unit 11e. Each of these functional units is realized by the control unit 11 operating based on a control program 1P.

取得部11aは、複数書類の画像から書類毎の書類画像を取得する。認識部11bは、特徴データ及び書類種別を対応付けて記憶した記憶部を参照し、取得した前記書類画像及び特徴データに基づき、前記書類画像毎に含まれる前記書類の書類種別を認識する。抽出部11cは、前記書類種別が基準書類である前記書類画像から基準キーを抽出し、前記書類種別が照合書類である前記書類画像から参照キーを抽出する。判定部11dは、抽出した前記参照キーが全て前記基準キーと一致するか否かを判定する。出力部11eは、判定した結果を出力する。 The acquisition unit 11a acquires a document image for each document from images of multiple documents. The recognition unit 11b refers to a storage unit that stores feature data and document types in association with each other, and recognizes the document type of the document contained in each document image based on the acquired document image and feature data. The extraction unit 11c extracts a reference key from the document image whose document type is a reference document, and extracts a reference key from the document image whose document type is a matching document. The determination unit 11d determines whether all of the extracted reference keys match the reference key. The output unit 11e outputs the determination result.

各実施の形態で記載されている技術的特徴(構成要件)はお互いに組み合わせ可能であり、組み合わせすることにより、新しい技術的特徴を形成することができる。
今回開示された実施の形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。
The technical features (constituent elements) described in each embodiment can be combined with each other, and by combining them, new technical features can be formed.
The embodiments disclosed herein are illustrative in all respects and should not be considered as limiting. The scope of the present invention is defined by the claims, not by the above meaning, and is intended to include all modifications within the scope and meaning equivalent to the claims.

100 検査システム
1 検査装置
11 制御部
11a 取得部
11b 認識部
11c 抽出部
11d 判定部
11e 出力部
12 主記憶部
13 補助記憶部
131 作業マスターDB
132 付帯情報DB
133 履歴DB
134 作業状況DB
135 訓練データDB
141 学習モデル
15 通信部
16 計時部
17 読み取り部
1P 制御プログラム
1a 可搬型記憶媒体
1b 半導体メモリ
2 端末
21 制御部
22 主記憶部
23 補助記憶部
24 通信部
25 入力部
26 表示部
27 インタフェース部
28 計時部
2P 制御プログラム
3 撮像装置
REFERENCE SIGNS LIST 100 Inspection system 1 Inspection device 11 Control unit 11a Acquisition unit 11b Recognition unit 11c Extraction unit 11d Determination unit 11e Output unit 12 Main memory unit 13 Auxiliary memory unit 131 Work master DB
132 Additional information DB
133 History DB
134 Work status DB
135 Training Data DB
Reference Signs List 141 Learning model 15 Communication unit 16 Timekeeping unit 17 Reading unit 1P Control program 1a Portable storage medium 1b Semiconductor memory 2 Terminal 21 Control unit 22 Main storage unit 23 Auxiliary storage unit 24 Communication unit 25 Input unit 26 Display unit 27 Interface unit 28 Timekeeping unit 2P Control program 3 Imaging device

Claims (6)

複数書類画像を取得する取得部と、
書類画像から抽出された特徴データ及び前記書類画像に含まれる書類の書類種別を対応付けて記憶した記憶部を参照し、取得した前記複数書類画像及び前記複数書類画像から抽出された特徴データに基づき、前記書類画像毎に含まれる書の書類種別を認識する認識部と、
前記書類種別が基準書類である前記書類画像から基準キーを抽出し、前記書類種別が照合書類である前記書類画像から参照キーを抽出する抽出部と、
抽出した前記参照キーが全て前記基準キーと一致するか否かを判定する判定部と、
判定した結果を出力する出力部と
を備えることを特徴とする検査装置。
An acquisition unit for acquiring a plurality of document images;
a recognition unit that refers to a storage unit that stores feature data extracted from a document image and a document type of a document included in the document image in association with each other, and recognizes a document type of a document included in each of the document images based on the acquired multiple document images and the feature data extracted from the multiple document images ;
an extracting unit that extracts a reference key from the document image whose document type is a reference document and extracts a reference key from the document image whose document type is a comparison document;
a determination unit that determines whether or not all of the extracted reference keys match the reference key;
and an output unit that outputs a result of the determination.
前記記憶部は前記書類種別とキー領域座標列とを対応付けて記憶しており、
前記抽出部は、前記キー領域座標列の値に基づき、前記基準キー及び前記参照キーを抽出する
ことを特徴とする請求項1に記載の検査装置。
the storage unit stores the document type and the key area coordinate sequence in association with each other;
2. The inspection device according to claim 1, wherein the extraction unit extracts the base key and the reference key based on values of the key area coordinate sequence.
前記記憶部は、前記書類の配置及び前記書類種別を対応付けて記憶しており、
前記複数書類画像は単一画像であり、前記認識部は各書類画像を切り出し、
前記書類画像それぞれの前記複数書類画像における前記配置を認識し、
前記判定部は、前記記憶部を参照し、認識した前記書類種別及び前記配置に基づき、前記書類の過不足がないか否か、及び、前記配置に誤りがないかを判定する
ことを特徴とする請求項1又は請求項2のいずれか1項に記載の検査装置。
The storage unit stores the document layout and the document type in association with each other,
The multiple document images are a single image, and the recognition unit segments each document image;
Recognizing the arrangement of each of the document images within the plurality of document images;
The inspection device according to claim 1 or claim 2, characterized in that the judgment unit refers to the memory unit and judges whether there are any excess or shortage of documents and whether there are any errors in the arrangement based on the recognized document type and arrangement.
前記記憶部は、前記書類の取得順及び前記書類種別を対応付けて記憶しており、
前記複数書類画像は、前記書類画像に取得順を示す順番号を付した複数画像からなり、
前記判定部は、前記記憶部を参照し、認識した前記書類種別及び前記順番号に基づき、前記書類の過不足がないか否か、及び、取得順に誤りがないかを判定する
ことを特徴とする請求項1又は請求項2のいずれか1項に記載の検査装置。
The storage unit stores the document acquisition order and the document type in association with each other,
The plurality of document images are made up of a plurality of images to which sequential numbers indicating the order in which the document images were obtained are assigned,
The inspection device according to claim 1 or claim 2, characterized in that the judgment unit refers to the memory unit and judges whether there are any excess or shortage of documents and whether there is any error in the acquisition order based on the recognized document type and sequence number.
書類画像から抽出された特徴データ及び前記書類画像に含まれる書類の書類種別を対応付けて記憶した記憶部を参照可能なコンピュータが、
複数書類画像を取得し、
前記記憶部を参照し、取得した前記複数書類画像及び前記複数書類画像から抽出された特徴データに基づき、前記書類画像毎に含まれる書類の書類種別を認識し、
前記書類種別が基準書類である前記書類画像から基準キーを抽出し、前記書類種別が照合書類である前記書類画像から参照キーを抽出し、
抽出した前記参照キーが全て前記基準キーと一致するか否かを判定し、
判定した結果を出力する
処理を前記コンピュータに行わせることを特徴とする検査プログラム。
A computer that can refer to a storage unit that stores feature data extracted from a document image and a document type of a document included in the document image in association with each other,
Acquire multiple document images,
referring to the storage unit, recognizing a document type of the document included in each of the document images based on the acquired document images and feature data extracted from the document images ;
Extracting a reference key from the document image whose document type is a reference document and extracting a reference key from the document image whose document type is a comparison document;
determining whether or not all of the extracted reference keys match the reference key;
and outputting a result of the judgment.
書類画像から抽出された特徴データ及び前記書類画像に含まれる書類の書類種別を対応付けて記憶した記憶部を参照可能なコンピュータが、
複数書類画像を取得し、
前記記憶部を参照し、取得した前記複数書類画像及び前記複数書類画像から抽出された特徴データに基づき、前記書類画像毎に含まれる書類の書類種別を認識し、
前記書類種別が基準書類である前記書類画像から基準キーを抽出し、前記書類種別が照合書類である前記書類画像から参照キーを抽出し、
抽出した前記参照キーが全て前記基準キーと一致するか否かを判定し、
判定した結果を出力する
ことを特徴とする検査方法。
A computer that can refer to a storage unit that stores feature data extracted from a document image and a document type of a document included in the document image in association with each other,
Acquire multiple document images,
referring to the storage unit, recognizing a document type of the document included in each of the document images based on the acquired document images and feature data extracted from the document images ;
Extracting a reference key from the document image whose document type is a reference document and extracting a reference key from the document image whose document type is a comparison document;
determining whether or not all of the extracted reference keys match the reference key;
and outputting a result of the determination.
JP2020141864A 2020-08-25 2020-08-25 Inspection device, inspection program, and inspection method Active JP7574572B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020141864A JP7574572B2 (en) 2020-08-25 2020-08-25 Inspection device, inspection program, and inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020141864A JP7574572B2 (en) 2020-08-25 2020-08-25 Inspection device, inspection program, and inspection method

Publications (2)

Publication Number Publication Date
JP2022037632A JP2022037632A (en) 2022-03-09
JP7574572B2 true JP7574572B2 (en) 2024-10-29

Family

ID=80494936

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020141864A Active JP7574572B2 (en) 2020-08-25 2020-08-25 Inspection device, inspection program, and inspection method

Country Status (1)

Country Link
JP (1) JP7574572B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005242786A (en) 2004-02-27 2005-09-08 Oki Electric Ind Co Ltd Form identification apparatus and form identification method
JP5356905B2 (en) 2009-04-28 2013-12-04 株式会社Pfu Document management apparatus, image reading apparatus, document management system, document management method, and program
JP2015191382A (en) 2014-03-28 2015-11-02 日本電気株式会社 Image data processing device, method, and program
JP6561882B2 (en) 2016-03-16 2019-08-21 大日本印刷株式会社 Information processing apparatus, information processing method, program for information processing apparatus, and document management system
JP2020046860A (en) 2018-09-18 2020-03-26 株式会社三菱Ufj銀行 Form reader

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005242786A (en) 2004-02-27 2005-09-08 Oki Electric Ind Co Ltd Form identification apparatus and form identification method
JP5356905B2 (en) 2009-04-28 2013-12-04 株式会社Pfu Document management apparatus, image reading apparatus, document management system, document management method, and program
JP2015191382A (en) 2014-03-28 2015-11-02 日本電気株式会社 Image data processing device, method, and program
JP6561882B2 (en) 2016-03-16 2019-08-21 大日本印刷株式会社 Information processing apparatus, information processing method, program for information processing apparatus, and document management system
JP2020046860A (en) 2018-09-18 2020-03-26 株式会社三菱Ufj銀行 Form reader

Also Published As

Publication number Publication date
JP2022037632A (en) 2022-03-09

Similar Documents

Publication Publication Date Title
US20210073531A1 (en) Multi-page document recognition in document capture
CN112699775B (en) Certificate identification method, device, equipment and storage medium based on deep learning
CN112528863A (en) Identification method and device of table structure, electronic equipment and storage medium
JP6569532B2 (en) Management system, list creation device, list creation method, management method, and management program
CN113673500A (en) Document image recognition method, device, electronic device and storage medium
US11188747B2 (en) System and method for masking text within images
CN111553251A (en) Certificate four-corner incomplete detection method, device, equipment and storage medium
CN113239893B (en) Document input rechecking method, system, electronic equipment and medium
CN109447019A (en) Document electronic method is scanned based on image recognition and the papery of database purchase
CN114529933A (en) Contract data difference comparison method, device, equipment and medium
CN114116474B (en) Software verification method, device, electronic device and storage medium
JP4102365B2 (en) Data linkage support method between applications
CN113487702A (en) Template generation method, image recognition method and device
JP7574572B2 (en) Inspection device, inspection program, and inspection method
JP2004013813A (en) Information management system and method
CN115953799A (en) Inspection data processing method, device, computer equipment and storage medium
CN114724170A (en) BOM generation method and device, electronic equipment and storage medium
CN114972006A (en) Image generation method, apparatus, device and storage medium
JP6530330B2 (en) Loan administration automatic check system and method
CN113516131A (en) Image processing method, apparatus, device and storage medium
CN114973249B (en) A bank customer information change and verification processing method based on RPA and OCR, a computer device and a storage medium
JP2020046897A (en) Test support system, test support method and test support program
JP2013003909A (en) System for collating picture before and after work
JP6717228B2 (en) Image reading apparatus, image reading method, and image forming apparatus
JP2009251918A (en) Character recognition apparatus, character recognition program, and computer-readable recording medium withcharacter recognition program recorded thereon

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240507

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240613

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240930

R150 Certificate of patent or registration of utility model

Ref document number: 7574572

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150