JP7039693B2 - Inspection equipment, control method and control program - Google Patents

Inspection equipment, control method and control program Download PDF

Info

Publication number
JP7039693B2
JP7039693B2 JP2020523916A JP2020523916A JP7039693B2 JP 7039693 B2 JP7039693 B2 JP 7039693B2 JP 2020523916 A JP2020523916 A JP 2020523916A JP 2020523916 A JP2020523916 A JP 2020523916A JP 7039693 B2 JP7039693 B2 JP 7039693B2
Authority
JP
Japan
Prior art keywords
item
specific
inspection
form image
value
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
JP2020523916A
Other languages
Japanese (ja)
Other versions
JPWO2019234865A1 (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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Publication of JPWO2019234865A1 publication Critical patent/JPWO2019234865A1/en
Application granted granted Critical
Publication of JP7039693B2 publication Critical patent/JP7039693B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/98Detection or correction of errors, e.g. by rescanning the pattern or by human intervention; Evaluation of the quality of the acquired patterns

Description

本開示は、検査装置、制御方法及び制御プログラムに関し、特に、帳票画像を検査する検査装置、制御方法及び制御プログラムに関する。 The present disclosure relates to an inspection device, a control method and a control program, and more particularly to an inspection device, a control method and a control program for inspecting a form image.

金融機関、生命保険会社、損害保険会社等では、顧客から提供された領収書等の帳票を担当者が手作業によりデータ化している。各機関、会社によっては、顧客から膨大な数の帳票が提供されるため、担当者の業務負担は大きく、帳票のデータ化作業の効率化に対する要望が高まっている。そのため、近年、帳票から文字を読み取るOCR(Optical Character Recognition)技術が利用されている。さらに、最近では、帳票から読み取った文字を利用して担当者の作業を自動化するRPA(Robotic Process Automation)技術も注目されている。 At financial institutions, life insurance companies, non-life insurance companies, etc., the person in charge manually converts the forms such as receipts provided by customers into data. Depending on each institution or company, a huge number of forms are provided by customers, so the work burden on the person in charge is heavy, and there is an increasing demand for more efficient form data conversion work. Therefore, in recent years, OCR (Optical Character Recognition) technology for reading characters from a form has been used. Furthermore, recently, RPA (Robotic Process Automation) technology that automates the work of the person in charge using the characters read from the form has also attracted attention.

画像から抽出した表領域に含まれる文字列を認識するデジタル複写機が開示されている。このデジタル複写機は、数字からなる文字列を変換した数値データを、特定の文字列に基づいて定義された演算式に基づいて演算し、演算値と検算対象の数値データとを比較する。そして、デジタル複写機は、検算の結果、演算値と検算対象の数値データとが一致しない場合には、その旨をユーザに報知する(特許文献1を参照)。 A digital copier that recognizes a character string contained in a tablespace extracted from an image is disclosed. This digital copier calculates numerical data obtained by converting a character string consisting of numbers based on an arithmetic expression defined based on a specific character string, and compares the calculated value with the numerical data to be checked. Then, when the calculated value and the numerical data to be checked do not match as a result of the check, the digital copying machine notifies the user to that effect (see Patent Document 1).

特開2001-325562号公報Japanese Unexamined Patent Publication No. 2001-325562

一般に、領収書等の帳票には複数の項目が含まれており、各帳票は多種多様なフォーマットを有している。このような多種多様なフォーマットを有する帳票が撮像された帳票画像を処理する装置において、各項目の項目値が正しく検出されたか否かをより精度良く判定できることが望まれている。 Generally, a form such as a receipt contains a plurality of items, and each form has a wide variety of formats. In an apparatus for processing a form image in which a form having such a wide variety of formats is captured, it is desired to be able to more accurately determine whether or not the item value of each item is correctly detected.

検査装置、制御方法及び制御プログラムの目的は、帳票画像から項目値が正しく検出されたか否かをより精度良く判定することを可能とすることにある。 The purpose of the inspection device, the control method, and the control program is to make it possible to more accurately determine whether or not the item value is correctly detected from the form image.

実施形態の一側面に係る検査装置は、複数の要素項目毎に項目名候補が優先順位に従って記憶されるとともに、複数の特定項目の項目値間の関係を示す関係情報を記憶する記憶部と、項目名候補の何れかが含まれる帳票画像を取得する画像取得部と、複数の要素項目毎に、対応する項目名候補が帳票画像に含まれているかを優先順位に従って順次判定し、最初に含まれていると判定された項目名候補を、要素項目に対応した特定項目として検出する検出部と、検出部によって検出された複数の特定項目のそれぞれの項目値が、関係情報に示された関係を有するか否かを判定する判定部と、判定部による判定結果を表示する表示制御部と、を有する。 The inspection device according to one aspect of the embodiment includes a storage unit that stores item name candidates for each of a plurality of element items in order of priority, and stores relationship information indicating a relationship between item values of a plurality of specific items. The image acquisition unit that acquires a form image that includes any of the item name candidates, and for each of a plurality of element items, it is sequentially determined in order of priority whether the corresponding item name candidate is included in the form image, and is included first. The relationship in which the item values of the detection unit that detects the item name candidate determined to be the same as the specific item corresponding to the element item and the item values of the plurality of specific items detected by the detection unit are shown in the relationship information. It has a determination unit for determining whether or not the determination unit has, and a display control unit for displaying the determination result by the determination unit.

また、実施形態の一側面に係る制御方法は、記憶部を有する検査装置の制御方法であって、複数の要素項目毎に項目名候補が優先順位に従って記憶部に記憶するとともに、複数の特定項目の項目値間の関係を示す関係情報を記憶部に記憶し、項目名候補の何れかが含まれる帳票画像を取得し、複数の要素項目毎に、対応する項目名候補が帳票画像に含まれているかを優先順位に従って順次判定し、最初に含まれていると判定された項目名候補を、要素項目に対応した特定項目として検出し、検出部によって検出された複数の特定項目のそれぞれの項目値が、関係情報に示された関係を有するか否かを判定し、判定部による判定結果を表示することを含む。 Further, the control method according to one aspect of the embodiment is a control method of an inspection device having a storage unit, in which item name candidates are stored in the storage unit in order of priority for each of a plurality of element items, and a plurality of specific items are stored. The relationship information indicating the relationship between the item values of is stored in the storage unit, the form image including any of the item name candidates is acquired, and the corresponding item name candidate is included in the form image for each of a plurality of element items. It is sequentially determined according to the priority, and the item name candidate determined to be included first is detected as a specific item corresponding to the element item, and each item of the plurality of specific items detected by the detection unit. It includes determining whether or not the value has the relationship shown in the relationship information, and displaying the determination result by the determination unit.

また、実施形態の一側面に係る制御プログラムは、記憶部を有する検査装置の制御プログラムであって、複数の要素項目毎に項目名候補が優先順位に従って記憶部に記憶するとともに、複数の特定項目の項目値間の関係を示す関係情報を記憶部に記憶し、項目名候補の何れかが含まれる帳票画像を取得し、複数の要素項目毎に、対応する項目名候補が帳票画像に含まれているかを優先順位に従って順次判定し、最初に含まれていると判定された項目名候補を、要素項目に対応した特定項目として検出し、検出部によって検出された複数の特定項目のそれぞれの項目値が、関係情報に示された関係を有するか否かを判定し、判定部による判定結果を表示することを検査装置に実行させる。 Further, the control program according to one aspect of the embodiment is a control program of an inspection device having a storage unit, and item name candidates are stored in the storage unit in order of priority for each of a plurality of element items, and a plurality of specific items are stored. The relationship information indicating the relationship between the item values of is stored in the storage unit, the form image including any of the item name candidates is acquired, and the corresponding item name candidate is included in the form image for each of a plurality of element items. It is sequentially determined according to the priority, and the item name candidate determined to be included first is detected as a specific item corresponding to the element item, and each item of the plurality of specific items detected by the detection unit. It is determined whether or not the value has the relationship shown in the relationship information, and the inspection device is made to display the determination result by the determination unit.

本実施形態によれば、検査装置、制御方法及び制御プログラムは、帳票画像から項目値が正しく検出されたか否かをより精度良く判定することが可能となる。 According to the present embodiment, the inspection device, the control method, and the control program can more accurately determine whether or not the item value is correctly detected from the form image.

本発明の目的及び効果は、特に請求項において指摘される構成要素及び組み合わせを用いることによって認識され且つ得られるだろう。前述の一般的な説明及び後述の詳細な説明の両方は、例示的及び説明的なものであり、特許請求の範囲に記載されている本発明を制限するものではない。 The objects and effects of the present invention will be recognized and obtained specifically by using the components and combinations pointed out in the claims. Both the general description described above and the detailed description described below are exemplary and descriptive and do not limit the invention described in the claims.

検査装置100の概略構成の一例を示す図である。It is a figure which shows an example of the schematic structure of the inspection apparatus 100. 記憶装置110及びCPU120の概略構成を示す図である。It is a figure which shows the schematic structure of the storage device 110 and the CPU 120. 帳票画像300の一例を示す図である。It is a figure which shows an example of the form image 300. 帳票画像400の一例を示す図である。It is a figure which shows an example of the form image 400. 優先順位テーブル500のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of a priority table 500. 配置テーブル510のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the arrangement table 510. 関係テーブル520のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the relation table 520. 検出結果テーブル600のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the detection result table 600. 判定結果テーブル610のデータ構造の一例を示す図である。It is a figure which shows an example of the data structure of the determination result table 610. 判定処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of a determination process. 表示処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of a display process. 表示データ900の一例を示す模式図である。It is a schematic diagram which shows an example of display data 900. 受付処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of a reception process. 表示データ1100の一例を示す模式図である。It is a schematic diagram which shows an example of display data 1100. 他の表示データ1200の一例を示す模式図である。It is a schematic diagram which shows an example of another display data 1200. 処理回路130の概略構成を示すブロック図である。It is a block diagram which shows the schematic structure of the processing circuit 130.

以下、本開示の一側面に係る検査装置について図を参照しつつ説明する。但し、本開示の技術的範囲はそれらの実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶ点に留意されたい。 Hereinafter, the inspection device according to one aspect of the present disclosure will be described with reference to the drawings. However, it should be noted that the technical scope of the present disclosure is not limited to those embodiments, but extends to the inventions described in the claims and their equivalents.

図1は、実施形態に従った検査装置100の概略構成の一例を示す図である。 FIG. 1 is a diagram showing an example of a schematic configuration of an inspection device 100 according to an embodiment.

検査装置100は、タブレットPC、多機能携帯電話(いわゆるスマートフォン)等の携帯可能な装置であり、その利用者により使用され、帳票画像を処理する。帳票画像は、帳票を表す画像データである。本実施形態では、帳票として多種レイアウトの帳票が使用される。多種レイアウトの帳票とは、複数の異なる機関、会社等によって個別に作成され、帳票毎に各項目の記載位置が異なり且つ各項目の類義語が複数存在する帳票のことをいう。 The inspection device 100 is a portable device such as a tablet PC or a multifunctional mobile phone (so-called smartphone), and is used by the user to process a form image. The form image is image data representing a form. In this embodiment, a form having various layouts is used as the form. A form with various layouts is a form that is individually created by a plurality of different institutions, companies, etc., has a different description position for each item, and has a plurality of synonyms for each item.

検査装置100は、通信装置101と、入力装置102と、表示装置103と、撮像装置104と、記憶装置110と、CPU(Central Processing Unit)120と、処理回路130とを有する。以下、検査装置100の各部について詳細に説明する。 The inspection device 100 includes a communication device 101, an input device 102, a display device 103, an image pickup device 104, a storage device 110, a CPU (Central Processing Unit) 120, and a processing circuit 130. Hereinafter, each part of the inspection device 100 will be described in detail.

通信装置101は、主に2.4GHz帯、5GHz帯等を感受帯域とするアンテナを含む、通信インタフェース回路を有する。通信装置101は、アクセスポイント等との間でIEEE(The Institute of Electrical and Electronics Engineers, Inc.)802.11規格の無線通信方式に基づいて無線通信を行う。そして、通信装置101は、アクセスポイントを介して外部装置(不図示)とデータの送受信を行う。通信装置101は、アクセスポイントを介して外部装置から受信したデータをCPU120に供給し、CPU120から供給されたデータをアクセスポイントを介して外部装置に送信する。なお、通信装置101は、外部装置と通信できるものであればどのようなものでもよい。例えば、通信装置101は、携帯電話通信方式に従って不図示の基地局装置を介して外部装置と通信するものでもよいし、有線LAN通信方式に従って外部装置と通信するものでもよい。 The communication device 101 has a communication interface circuit including an antenna whose sensitive band is mainly a 2.4 GHz band, a 5 GHz band, or the like. The communication device 101 performs wireless communication with an access point or the like based on a wireless communication method of the IEEE (The Institute of Electrical and Electronics Engineers, Inc.) 802.11 standard. Then, the communication device 101 transmits / receives data to / from an external device (not shown) via the access point. The communication device 101 supplies the data received from the external device via the access point to the CPU 120, and transmits the data supplied from the CPU 120 to the external device via the access point. The communication device 101 may be any device as long as it can communicate with the external device. For example, the communication device 101 may communicate with an external device via a base station device (not shown) according to a mobile phone communication method, or may communicate with an external device according to a wired LAN communication method.

入力装置102は、操作部の一例であり、タッチパネル式の入力装置、キーボード、マウス等の入力デバイス及び入力デバイスから信号を取得するインタフェース回路を有する。入力装置102は、利用者により入力された入力データを受け付け、受け付けた入力データに応じた信号をCPU120に対して出力する。 The input device 102 is an example of an operation unit, and has a touch panel type input device, an input device such as a keyboard and a mouse, and an interface circuit for acquiring a signal from the input device. The input device 102 receives the input data input by the user and outputs a signal corresponding to the received input data to the CPU 120.

表示装置103は、表示部の一例であり、液晶、有機EL(Electro-Luminescence)等から構成されるディスプレイ及びディスプレイに画像データ又は各種の情報を出力するインタフェース回路を有する。表示装置103は、CPU120と接続されて、CPU120から出力された画像データをディスプレイに表示する。なお、タッチパネルディスプレイを用いて、入力装置102と表示装置103を一体に構成してもよい。 The display device 103 is an example of a display unit, and has a display composed of a liquid crystal display, an organic EL (Electro-Luminescence), and an interface circuit for outputting image data or various information to the display. The display device 103 is connected to the CPU 120 and displays the image data output from the CPU 120 on the display. The input device 102 and the display device 103 may be integrally configured by using the touch panel display.

撮像装置104は、1次元又は2次元に配列されたCCD(Charge Coupled Device)からなる撮像素子を備える縮小光学系タイプの撮像センサと、A/D変換器とを有する。撮像装置104は、撮像部の一例であり、CPU120からの指示に従って帳票を順次撮影して帳票画像を順次生成する(例えば30フレーム/秒)。撮像センサは、撮影したアナログの画像信号を生成してA/D変換器に出力する。A/D変換器は、出力されたアナログの画像信号をアナログデジタル変換してデジタルの画像データを順次生成し、CPU120に出力する。なお、CCDの代わりにCMOS(Complementary Metal Oxide Semiconductor)からなる撮像素子を備える等倍光学系タイプのCIS(Contact Image Sensor)を利用してもよい。以下では、撮像装置104により撮影されて出力されたデジタルの画像データを帳票画像と称する。 The image pickup device 104 includes a reduction optical system type image pickup sensor including an image pickup element composed of CCDs (Charge Coupled Devices) arranged one-dimensionally or two-dimensionally, and an A / D converter. The image pickup apparatus 104 is an example of an image pickup unit, and sequentially captures a form according to an instruction from the CPU 120 and sequentially generates a form image (for example, 30 frames / sec). The image pickup sensor generates an captured analog image signal and outputs it to an A / D converter. The A / D converter converts the output analog image signal into analog-digital, sequentially generates digital image data, and outputs the digital image data to the CPU 120. Instead of the CCD, a 1x optical system type CIS (Contact Image Sensor) provided with an image sensor made of CMOS (Complementary Metal Oxide Semiconductor) may be used. Hereinafter, the digital image data captured and output by the image pickup apparatus 104 will be referred to as a form image.

記憶装置110は、記憶部の一例である。記憶装置110は、RAM(Random Access Memory)、ROM(Read Only Memory)等のメモリ装置、ハードディスク等の固定ディスク装置、又はフレキシブルディスク、光ディスク等の可搬用の記憶装置等を有する。また、記憶装置110には、検査装置100の各種処理に用いられるコンピュータプログラム、データベース、テーブル等が格納される。コンピュータプログラムは、例えばCD-ROM(compact disk ROM)、DVD-ROM(digital versatile disk ROM)等のコンピュータ読み取り可能な可搬型記録媒体からインストールされてもよい。コンピュータプログラムは、公知のセットアッププログラム等を用いて記憶装置110にインストールされる。また、記憶装置110には、データとして、優先順位テーブル、配置テーブル、関係テーブル、検出結果テーブル及び判定結果テーブル等が記憶される。優先順位テーブル、配置テーブル、関係テーブル、検出結果テーブル及び判定結果テーブルの詳細については後述する。 The storage device 110 is an example of a storage unit. The storage device 110 includes a memory device such as a RAM (Random Access Memory) and a ROM (Read Only Memory), a fixed disk device such as a hard disk, or a portable storage device such as a flexible disk and an optical disk. Further, the storage device 110 stores computer programs, databases, tables, etc. used for various processes of the inspection device 100. The computer program may be installed from a computer-readable portable recording medium such as a CD-ROM (compact disk ROM) or a DVD-ROM (digital versatile disk ROM). The computer program is installed in the storage device 110 using a known setup program or the like. Further, the storage device 110 stores, as data, a priority table, an arrangement table, a relation table, a detection result table, a determination result table, and the like. Details of the priority table, the arrangement table, the relation table, the detection result table, and the judgment result table will be described later.

CPU120は、予め記憶装置110に記憶されているプログラムに基づいて動作する。CPU120は、汎用プロセッサであってもよい。なお、CPU120に代えて、DSP(digital signal processor)、LSI(large scale integration)等が用いられてよい。また、CPU120に代えて、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)等が用いられてもよい。 The CPU 120 operates based on a program stored in the storage device 110 in advance. The CPU 120 may be a general-purpose processor. Instead of the CPU 120, a DSP (digital signal processor), an LSI (large scale integration), or the like may be used. Further, instead of the CPU 120, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or the like may be used.

CPU120は、通信装置101、入力装置102、表示装置103、撮像装置104及び記憶装置110と接続され、これらの各部を制御する。CPU120は、通信装置101を介したデータ送受信制御、入力装置102の入力制御、表示装置103の出力制御、撮像装置104の撮像制御及び記憶装置110の制御等を行う。また、CPU120は、帳票画像を処理する。 The CPU 120 is connected to a communication device 101, an input device 102, a display device 103, an image pickup device 104, and a storage device 110, and controls each of these parts. The CPU 120 performs data transmission / reception control via the communication device 101, input control of the input device 102, output control of the display device 103, image pickup control of the image pickup device 104, control of the storage device 110, and the like. Further, the CPU 120 processes the form image.

図2は、検査装置100の記憶装置110及びCPU120の概略構成を示す図である。 FIG. 2 is a diagram showing a schematic configuration of a storage device 110 and a CPU 120 of the inspection device 100.

図2に示すように、記憶装置110には、画像取得プログラム111、検出プログラム112、判定プログラム113及び表示制御プログラム114等の各プログラムが記憶される。これらの各プログラムは、プロセッサ上で動作するソフトウェアにより実装される機能モジュールである。CPU120は、記憶装置110に記憶された各プログラムを読み取り、読み取った各プログラムに従って動作する。これにより、CPU120は、画像取得部121、検出部122、判定部123及び表示制御部124として機能する。 As shown in FIG. 2, each program such as an image acquisition program 111, a detection program 112, a determination program 113, and a display control program 114 is stored in the storage device 110. Each of these programs is a functional module implemented by software running on the processor. The CPU 120 reads each program stored in the storage device 110 and operates according to each read program. As a result, the CPU 120 functions as an image acquisition unit 121, a detection unit 122, a determination unit 123, and a display control unit 124.

図3は、検査装置100が処理する帳票画像300の一例を示す図であり、図4は、検査装置100が処理する帳票画像400の一例を示す図である。 FIG. 3 is a diagram showing an example of a form image 300 processed by the inspection device 100, and FIG. 4 is a diagram showing an example of a form image 400 processed by the inspection device 100.

図3、図4に示す帳票画像300、400には、帳票として、所定の機関又は会社等により発行された請求書が撮像されている。各帳票には、複数の要素項目301毎に、各要素項目301に対応する項目値302が表される。要素項目301は、帳票が表す各情報を所定の規則に従って分類した項目である。 Invoices issued by a predetermined institution, company, or the like are imaged as forms in the form images 300 and 400 shown in FIGS. 3 and 4. In each form, the item value 302 corresponding to each element item 301 is represented for each of the plurality of element items 301. The element item 301 is an item in which each information represented by the form is classified according to a predetermined rule.

帳票画像300、400には、要素項目301として、数量、単価、金額及び請求金額(税込)が含まれる。数量、単価、金額、請求金額(税込)の各要素項目の項目名は、帳票画像300では「単位数」、「単価」、「料金」、「合計」であり、帳票画像400では「数量」、「単価」、「金額」、「総計」である。また、数量、単価、金額の各要素項目301は、帳票画像300では左から単価、数量、金額の順に配置され、帳票画像400では左から数量、単価、金額の順に配置される。このように、本実施形態では、帳票として、複数の異なる機関、会社等によって個別に作成され、帳票毎に各要素項目301の記載位置が異なり且つ各要素項目301の類義語が複数存在する、多種レイアウトの帳票が使用される。 The form images 300 and 400 include a quantity, a unit price, an amount and a billing amount (tax included) as element items 301. The item names of each element item of quantity, unit price, amount, and billing amount (tax included) are "unit number", "unit price", "charge", and "total" in the form image 300, and "quantity" in the form image 400. , "Unit price", "Amount", "Total". Further, each element item 301 of quantity, unit price, and amount is arranged in the order of unit price, quantity, and amount from the left in the form image 300, and is arranged in the order of quantity, unit price, and amount from the left in the form image 400. As described above, in the present embodiment, the forms are individually created by a plurality of different institutions, companies, etc., the description positions of the element items 301 are different for each form, and there are a plurality of synonyms for each element item 301. The layout form is used.

帳票画像300、400において、請求金額(税込)の要素項目301には、一つの項目値302のみが示されている。一方、数量、単価、金額の各要素項目301には、複数の費目303毎に項目値302が示されており、要素項目301毎に複数の項目値302が示されている。帳票画像300、400には、費目303として各商品及び消費税が含まれる。 In the form images 300 and 400, only one item value 302 is shown in the element item 301 of the billing amount (tax included). On the other hand, in each element item 301 of quantity, unit price, and amount, an item value 302 is shown for each of the plurality of expense items 303, and a plurality of item values 302 are shown for each element item 301. The form images 300 and 400 include each product and consumption tax as the expense item 303.

図5Aは、優先順位テーブル500のデータ構造の一例を示す図である。 FIG. 5A is a diagram showing an example of the data structure of the priority table 500.

優先順位テーブル500は、検査装置100の提供者により事前に設定されて記憶装置110に記憶される。図5Aに示すように、優先順位テーブル500には、複数の要素項目毎に、各要素項目の識別情報(項目ID)、項目内容、及び、一又は複数の項目名候補等が関連付けて記憶される。各項目名候補は、優先順位に従って記憶される。 The priority table 500 is preset by the provider of the inspection device 100 and stored in the storage device 110. As shown in FIG. 5A, in the priority table 500, the identification information (item ID) of each element item, the item content, and one or more item name candidates are stored in association with each other for each of the plurality of element items. To. Each item name candidate is stored in order of priority.

項目IDは、各要素項目を識別するための番号である。項目内容は、各要素項目の内容を示す。項目名候補は、帳票画像から要素項目の項目値を検出する際に、帳票画像に含まれるか否かが検査される名称であり、帳票画像において記載されている各要素項目の名称(項目名)の候補である。優先順位は、帳票画像から要素項目の項目値を検出する際に、優先順位テーブル500に規定された項目名候補が検査される順序を規定するための順位である。この例では、数値「1」の優先順位が最も高く、数値が大きくなる程、優先順位が低くなるように、各項目名候補に優先順位が割り当てられている。 The item ID is a number for identifying each element item. The item content indicates the content of each element item. The item name candidate is a name that is inspected whether or not it is included in the form image when the item value of the element item is detected from the form image, and the name of each element item (item name) described in the form image. ) Candidate. The priority order is an order for defining the order in which the item name candidates specified in the priority table 500 are inspected when the item values of the element items are detected from the form image. In this example, the priority of the numerical value "1" is the highest, and the higher the numerical value, the lower the priority, so that the priority is assigned to each item name candidate.

図5Bは、配置テーブル510のデータ構造の一例を示す図である。 FIG. 5B is a diagram showing an example of the data structure of the arrangement table 510.

配置テーブル510は、検査装置100の提供者により事前に設定されて記憶装置110に記憶される。図5Bに示すように、配置テーブル510には、複数の要素項目毎に、各要素項目の項目ID及び配置情報等が関連付けて記憶される。 The arrangement table 510 is preset by the provider of the inspection device 100 and stored in the storage device 110. As shown in FIG. 5B, in the arrangement table 510, the item ID of each element item, the arrangement information, and the like are stored in association with each of the plurality of element items.

配置情報は、帳票画像における各特定項目の項目名と各項目名に対応する項目値の表示位置関係を規定するための情報である。特定項目は、各要素項目に対して、優先順位テーブル500に規定された各要素項目の項目名候補の内、帳票画像から実際に検出された項目名候補である。配置情報として、例えば項目名に対する項目値の相対位置(例えば、上方、下方、右方、左方、右上方、右下方、左上方、左下方に所定範囲)及び条件(例えば数値列)等が規定される。配置情報は、帳票画像から特定項目の項目値を検出する際に、特定項目に対応する項目値を特定するために使用される。 The arrangement information is information for defining the display positional relationship between the item name of each specific item and the item value corresponding to each item name in the form image. The specific item is an item name candidate actually detected from the form image among the item name candidates of each element item defined in the priority table 500 for each element item. As the arrangement information, for example, the relative position of the item value with respect to the item name (for example, a predetermined range in the upper right, the lower right, the right side, the left side, the upper right side, the lower right side, the upper left side, and the lower left side) and the condition (for example, a numerical string). It is stipulated. The arrangement information is used to specify the item value corresponding to the specific item when detecting the item value of the specific item from the form image.

図5Cは、関係テーブル520のデータ構造の一例を示す図である。 FIG. 5C is a diagram showing an example of the data structure of the relation table 520.

関係テーブル520は、検査装置100の提供者により事前に設定されて記憶装置110に記憶される。図5Cに示すように、関係テーブル520には、複数の特定項目の項目値間の関係毎に、各関係の識別情報(関係ID)及び関係情報等が関連付けて記憶される。 The relationship table 520 is preset by the provider of the inspection device 100 and stored in the storage device 110. As shown in FIG. 5C, the relationship table 520 stores identification information (relationship ID), relationship information, and the like of each relationship for each relationship between item values of a plurality of specific items.

関係IDは、各関係を識別するための番号である。関係情報は、複数の特定項目の項目値間の関係を示す。例えば、関係情報には、一つの特定項目の項目値と、他の二つ以上の特定項目の項目値との間の関係が示される。図5Cに示す例では、各特定項目の項目名に対する相対位置が同一である三つの項目値(金額、数量、単価)の組合せについて、一つの特定項目の項目値(金額)が、他の二つの特定項目の項目値(数量、単価)の積と等しいことが示されている。なお、関係情報には、一つの特定項目の項目値と、他の特定項目の複数の項目値との間の関係が示されてもよい。図5Cに示す例では、一つの特定項目の項目値(請求金額(税込))が、他の特定項目の項目値(各費目の金額)の総和と等しいことが示されている。また、関係情報には、一つの特定項目の項目値と、他の一つの特定項目の項目値との間の関係が示されてもよい。その場合、例えば、一つの特定項目の項目値(請求金額(税込))が、他の一つの特定項目の項目値(請求金額(税抜))と所定値(1+消費税率)の積と等しいことが示される。 The relationship ID is a number for identifying each relationship. The relationship information indicates the relationship between the item values of a plurality of specific items. For example, the relationship information shows the relationship between the item value of one specific item and the item value of two or more other specific items. In the example shown in FIG. 5C, for a combination of three item values (amount, quantity, unit price) having the same relative position with respect to the item name of each specific item, the item value (amount) of one specific item is the other two. It is shown to be equal to the product of the item values (quantity, unit price) of one specific item. The relationship information may indicate the relationship between the item value of one specific item and the plurality of item values of another specific item. In the example shown in FIG. 5C, it is shown that the item value (billing amount (tax included)) of one specific item is equal to the sum of the item values (amount of each expense item) of the other specific item. Further, the relationship information may show the relationship between the item value of one specific item and the item value of another specific item. In that case, for example, the item value (billing amount (tax included)) of one specific item is equal to the product of the item value (billing amount (tax excluded)) of the other one specific item and the predetermined value (1 + consumption tax rate). Is shown.

図6Aは、検出結果テーブル600のデータ構造の一例を示す図である。 FIG. 6A is a diagram showing an example of the data structure of the detection result table 600.

検出結果テーブル600は、判定処理において検査装置100により処理された帳票画像毎に作成されて記憶装置110に記憶される。図6Aに示すように、検出結果テーブル600には、優先順位テーブルに記憶された要素項目毎に、項目ID、特定項目の項目名、項目値及び項目値の相対位置等が関連付けて記憶される。 The detection result table 600 is created for each form image processed by the inspection device 100 in the determination process and stored in the storage device 110. As shown in FIG. 6A, in the detection result table 600, the item ID, the item name of the specific item, the item value, the relative position of the item value, and the like are stored in association with each element item stored in the priority table. ..

特定項目の項目名は、判定処理において各要素項目に対して検出された特定項目の項目名である。項目値は、判定処理において各特定項目に対して検出された項目値である。項目値の相対位置として、帳票画像内における各特定項目の項目名の重心位置から見た各項目値の重心位置の水平位置及び垂直位置(座標)が記憶される。各特定項目に対して項目値が複数検出された場合、検出された項目値毎に、項目値及び相対位置が記憶される。 The item name of the specific item is the item name of the specific item detected for each element item in the determination process. The item value is an item value detected for each specific item in the determination process. As the relative position of the item value, the horizontal position and the vertical position (coordinates) of the center of gravity position of each item value as seen from the center of gravity position of the item name of each specific item in the form image are stored. When a plurality of item values are detected for each specific item, the item value and the relative position are stored for each detected item value.

図6Bは、判定結果テーブル610のデータ構造の一例を示す図である。 FIG. 6B is a diagram showing an example of the data structure of the determination result table 610.

判定結果テーブル610は、判定処理において検査装置100により処理された帳票画像毎に作成されて記憶装置110に記憶される。図6Bに示すように、判定結果テーブル610には、関係テーブル520に記憶された各関係ID、各検査対象の識別情報(検査対象ID)、及び、判定結果等が関連付けて記憶される。 The determination result table 610 is created for each form image processed by the inspection device 100 in the determination process and stored in the storage device 110. As shown in FIG. 6B, in the determination result table 610, each relation ID stored in the relation table 520, the identification information of each inspection target (inspection target ID), the determination result, and the like are stored in association with each other.

検査対象IDは、各検査対象を識別するための番号である。検査対象は、各特定項目の項目値が関係情報に示された関係を有するか否かが検査される対象である。検査対象として、各特定項目の項目値の組合せが設定される。判定結果は、検査対象毎に、検出された各項目値が各関係を有するか否かを示す。各関係を有する場合には判定結果として正常が設定され、各関係を有さない場合には判定結果として異常が設定される。 The inspection target ID is a number for identifying each inspection target. The inspection target is a target to be inspected whether or not the item value of each specific item has the relationship shown in the relational information. A combination of item values of each specific item is set as an inspection target. The determination result indicates whether or not each detected item value has each relationship for each inspection target. If they have each relationship, normal is set as a judgment result, and if they do not have each relationship, an abnormality is set as a judgment result.

図7は、検査装置100による判定処理の動作の例を示すフローチャートである。 FIG. 7 is a flowchart showing an example of the operation of the determination process by the inspection device 100.

以下、図7に示したフローチャートを参照しつつ、検査装置100による判定処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め記憶装置110に記憶されているプログラムに基づき主にCPU120により検査装置100の各要素と協働して実行される。 Hereinafter, an example of the operation of the determination process by the inspection device 100 will be described with reference to the flowchart shown in FIG. The operation flow described below is mainly executed by the CPU 120 in cooperation with each element of the inspection device 100 based on the program stored in the storage device 110 in advance.

最初に、画像取得部121は、撮像装置104に帳票を撮像させて帳票画像を生成させ、撮像装置104から帳票画像を取得し、取得した帳票画像を記憶装置110に記憶する(ステップS101)。撮像装置104に撮像させる帳票は、図3、4に示したような多種レイアウトの帳票であり、帳票画像には各要素項目の項目名候補の何れかが含まれる。 First, the image acquisition unit 121 causes the image pickup device 104 to image the form to generate the form image, acquires the form image from the image pickup device 104, and stores the acquired form image in the storage device 110 (step S101). The form to be imaged by the image pickup apparatus 104 is a form having various layouts as shown in FIGS. 3 and 4, and the form image includes any of the item name candidates of each element item.

次に、検出部122は、帳票画像に含まれる各文字列を検出する(ステップS102)。検出部122は、公知のOCR技術を利用して帳票画像から文字を検出し、検出された位置が相互に所定距離内である文字同士をグループ化して文字列として検出する。検出部122は、検出した各文字列を帳票画像内の配置位置と関連付けて記憶装置110に記憶する。 Next, the detection unit 122 detects each character string included in the form image (step S102). The detection unit 122 detects characters from the form image by using a known OCR technique, and groups characters whose detected positions are within a predetermined distance and detects them as a character string. The detection unit 122 stores each detected character string in the storage device 110 in association with the arrangement position in the form image.

検出部122は、優先順位テーブル500に記憶された要素項目毎に、ステップS103~S109の処理を実行する。まず、検出部122は、優先順位テーブル500を読み出し、優先順位テーブル500から何れかの要素項目を抽出する(ステップS103)。 The detection unit 122 executes the processes of steps S103 to S109 for each element item stored in the priority table 500. First, the detection unit 122 reads out the priority table 500 and extracts any element item from the priority table 500 (step S103).

検出部122は、抽出した要素項目に関連付けられた項目名候補毎に、ステップS104~S106の処理を実行する。まず、検出部122は、優先順位テーブル500から、優先順位に従って、抽出した要素項目の項目名候補を抽出する(ステップS104)。検出部122は、抽出した要素項目に関連付けて記憶された項目名候補を、優先順位が高い順に一つずつ抽出する。 The detection unit 122 executes the processes of steps S104 to S106 for each item name candidate associated with the extracted element item. First, the detection unit 122 extracts the item name candidates of the extracted element items from the priority table 500 according to the priority (step S104). The detection unit 122 extracts the item name candidates stored in association with the extracted element items one by one in descending order of priority.

次に、検出部122は、抽出した項目名候補が、帳票画像から検出した何れかの文字列に含まれているか否かを判定する(ステップS105)。 Next, the detection unit 122 determines whether or not the extracted item name candidate is included in any of the character strings detected from the form image (step S105).

抽出した項目名候補が帳票画像から検出した何れの文字列にも含まれていない場合、検出部122は、抽出した要素項目の全ての項目名候補を優先順位テーブル500から抽出済みであるか否かを判定する(ステップS106)。全ての項目名候補を抽出済みである場合、検出部122は、判定処理に失敗したと判定し、その旨を表示装置103に表示して、一連のステップを終了する。一方、全ての項目名候補をまだ抽出していない場合、検出部122は、処理をステップS104に戻し、ステップS104~S105の処理を繰り返す。 If the extracted item name candidate is not included in any of the character strings detected from the form image, the detection unit 122 has already extracted all the item name candidates of the extracted element items from the priority table 500. (Step S106). When all the item name candidates have been extracted, the detection unit 122 determines that the determination process has failed, displays that fact on the display device 103, and ends a series of steps. On the other hand, when all the item name candidates have not been extracted yet, the detection unit 122 returns the process to step S104 and repeats the processes of steps S104 to S105.

一方、抽出した項目名候補が帳票画像から検出した何れかの文字列に含まれている場合、検出部122は、その項目名候補を、その要素項目に対応した特定項目として検出する(ステップS107)。検出部122は、検出した項目名候補を検出結果テーブル600に特定項目として記憶する。 On the other hand, when the extracted item name candidate is included in any of the character strings detected from the form image, the detection unit 122 detects the item name candidate as a specific item corresponding to the element item (step S107). ). The detection unit 122 stores the detected item name candidate in the detection result table 600 as a specific item.

次に、検出部122は、検出した特定項目に対応する項目値を検出する(ステップS108)。検出部122は、配置テーブル510から、特定項目が検出された要素項目の配置情報を読み出す。検出部122は、特定項目が検出された帳票画像内の位置に対して、その配置情報に示される相対位置に存在し且つその配置情報に示される条件を満たす文字列を、検出した特定項目に対応する項目値として検出する。検出部122は、検出した項目値、及び、特定項目が検出された帳票画像内の位置に対する項目値の相対位置を各特定項目と関連付けて検出結果テーブル600に記憶する。なお、検出部122は、公知の画像処理技術を利用して、帳票画像から表の罫線を検出し、検出した罫線に基づいて、特定項目に対応する項目値が含まれる範囲を特定し、特定した範囲内でのみ項目値を検出してもよい。 Next, the detection unit 122 detects the item value corresponding to the detected specific item (step S108). The detection unit 122 reads out the arrangement information of the element item in which the specific item is detected from the arrangement table 510. The detection unit 122 sets a character string that exists at a relative position shown in the placement information and satisfies the condition shown in the placement information with respect to the position in the form image in which the specific item is detected as the detected specific item. Detect as the corresponding item value. The detection unit 122 stores the detected item value and the relative position of the item value with respect to the position in the form image in which the specific item is detected in the detection result table 600 in association with each specific item. The detection unit 122 detects the ruled lines of the table from the form image by using a known image processing technique, and identifies and specifies the range including the item values corresponding to the specific items based on the detected ruled lines. The item value may be detected only within the specified range.

帳票画像に複数の検査対象が含まれており、検出部122が複数の検査対象毎に項目値を検出した場合、各項目値及び各項目値の相対位置を各特定項目と関連付けて検出結果テーブル600に記憶する。即ち、検出部122は、複数の検査対象毎に、各要素項目に対応した特定項目の項目値を検出する。 When a plurality of inspection targets are included in the form image and the detection unit 122 detects an item value for each of the plurality of inspection targets, the detection result table associates each item value and the relative position of each item value with each specific item. Store in 600. That is, the detection unit 122 detects the item value of the specific item corresponding to each element item for each of the plurality of inspection targets.

次に、検出部122は、優先順位テーブル500に記憶された全ての要素項目に対して処理を実行したか否かを判定する(ステップS109)。まだ全ての要素項目に対して処理を実行していない場合、検出部122は、処理をステップS103に戻し、ステップS103~S109の処理を繰り返す。このように、検出部122は、複数の要素項目毎に、対応する項目名候補が帳票画像に含まれているかを優先順位に従って順次判定し、最初に含まれていると判定された項目名候補を、要素項目に対応した特定項目として検出する。 Next, the detection unit 122 determines whether or not the processing has been executed for all the element items stored in the priority table 500 (step S109). If the processing has not been executed for all the element items, the detection unit 122 returns the processing to step S103 and repeats the processing of steps S103 to S109. In this way, the detection unit 122 sequentially determines whether or not the corresponding item name candidate is included in the form image for each of the plurality of element items in order of priority, and the item name candidate determined to be included first is determined. Is detected as a specific item corresponding to the element item.

一方、検出部122が全ての要素項目に対して処理を実行した場合、判定部123は、関係テーブル520から関係情報を抽出する。そして、判定部123は、抽出した関係情報に基づく検査の検査対象とする、各特定項目の項目値の組合せを検出結果テーブル600から抽出する(ステップS110)。検査対象とする項目値の組合せが複数ある場合、判定部123は、各組合せを一つずつ抽出する。 On the other hand, when the detection unit 122 executes the process for all the element items, the determination unit 123 extracts the relation information from the relation table 520. Then, the determination unit 123 extracts from the detection result table 600 a combination of item values of each specific item to be inspected for inspection based on the extracted relationship information (step S110). When there are a plurality of combinations of item values to be inspected, the determination unit 123 extracts each combination one by one.

次に、判定部123は、抽出した各特定項目の項目値が、抽出した関係情報に示された関係を有するか否かを判定する(ステップS111)。 Next, the determination unit 123 determines whether or not the item value of each extracted specific item has the relationship shown in the extracted relationship information (step S111).

各特定項目の項目値が関係情報に示された関係を有する場合、判定部123は、ステップS102で実行した文字認識処理が正しかったと判定する(ステップS112)。一方、各特定項目の項目値が関係情報に示された関係を有さない場合、判定部123は、ステップS102で実行した文字認識処理が誤っていたと判定する(ステップS113)。 When the item value of each specific item has the relationship shown in the relationship information, the determination unit 123 determines that the character recognition process executed in step S102 is correct (step S112). On the other hand, when the item values of each specific item do not have the relationship shown in the relationship information, the determination unit 123 determines that the character recognition process executed in step S102 is incorrect (step S113).

次に、判定部123は、検査対象IDを生成し、判定結果を、関係情報に対応する関係ID及び生成した検査対象IDと関連付けて判定結果テーブル610に記憶する(ステップS114)。判定部123は、文字認識処理が正しかったと判定した場合、判定結果として正常を記憶し、文字認識処理が誤っていたと判定した場合、判定結果として異常を記憶する。 Next, the determination unit 123 generates an inspection target ID, and stores the determination result in the determination result table 610 in association with the relation ID corresponding to the relation information and the generated inspection target ID (step S114). When the determination unit 123 determines that the character recognition process is correct, it stores normal as a determination result, and when it determines that the character recognition process is incorrect, it stores an abnormality as a determination result.

次に、判定部123は、関係テーブル520に記憶された全ての関係情報に基づく、全ての検査対象に対する検査が完了したか否かを判定する(ステップS115)。まだ全ての検査対象に対する検査が完了していない場合、判定部123は、処理をステップS110に戻し、ステップS110~S114の処理を繰り返す。このように、判定部123は、検出部122によって検出された各特定項目の項目値が、関係情報に示された関係を有するか否かを判定する。一方、全ての検査対象に対する検査が完了した場合、判定部123は、一連のステップを終了する。 Next, the determination unit 123 determines whether or not the inspection for all the inspection targets is completed based on all the relational information stored in the relational table 520 (step S115). If the inspection for all the inspection targets has not been completed yet, the determination unit 123 returns the process to step S110 and repeats the processes of steps S110 to S114. In this way, the determination unit 123 determines whether or not the item value of each specific item detected by the detection unit 122 has the relationship shown in the relationship information. On the other hand, when the inspection for all the inspection targets is completed, the determination unit 123 ends a series of steps.

なお、判定部123は、帳票画像毎に文字認識処理に誤りがあったか否かを判定し、文字認識処理に誤りがなかったと判定された帳票画像を通信装置101を介してRPA処理装置(不図示)に送信してもよい。これにより、RPA処理装置は、信頼性の高い帳票画像を自動的に取得して、所定のRPA処理を実行することが可能となる。 The determination unit 123 determines whether or not there is an error in the character recognition processing for each form image, and the form image determined that there is no error in the character recognition processing is transmitted to the RPA processing device (not shown) via the communication device 101. ) May be sent. As a result, the RPA processing device can automatically acquire a highly reliable form image and execute a predetermined RPA processing.

図3に示した帳票画像300に対して判定処理が実行されると、ステップS107において、特定項目として「単位数」、「単価」、「料金」、「合計」が検出される。ステップS108において、「単位数」、「単価」、「料金」については商品A~Jに対応する項目値が検出され、「合計」については一つの項目値(64,800)が検出される。そして、ステップS111において、商品A~Jについて「単位数×単価=料金」が成立するかと、「料金の総和=合計」が成立するかが判定される。 When the determination process is executed for the form image 300 shown in FIG. 3, in step S107, "number of units", "unit price", "charge", and "total" are detected as specific items. In step S108, the item values corresponding to the products A to J are detected for the "number of units", the "unit price", and the "charge", and one item value (64,800) is detected for the "total". Then, in step S111, it is determined whether the "number of units x unit price = charge" is established for the products A to J and whether the "total charge = total" is satisfied.

一方、図4に示した帳票画像400に対して判定処理が実行されると、ステップS107において、特定項目として「数量」、「単価」、「金額」、「総計」が検出される。ステップS108において、「数量」、「単価」については商品A~Jに対応する項目値が検出され、「金額」については商品A~J及び消費税に対応する項目値が検出され、「総計」については一つの項目値(64,800)が検出される。そして、ステップS111において、商品A~Jについて「数量×単価=金額」が成立するかと、「金額の総和=総計」が成立するかが判定される。 On the other hand, when the determination process is executed for the form image 400 shown in FIG. 4, "quantity", "unit price", "amount", and "total" are detected as specific items in step S107. In step S108, the item values corresponding to the products A to J are detected for the "quantity" and the "unit price", and the item values corresponding to the products A to J and the consumption tax are detected for the "amount", and the "total" is detected. For, one item value (64,800) is detected. Then, in step S111, it is determined whether "quantity x unit price = amount of money" is satisfied and "total amount of money = total amount" is satisfied for the products A to J.

多種レイアウトの帳票では、「合計」、「総計」等のように相互に類似した意味を有する用語が、「請求金額(税込)」、「請求金額(税抜)」等のように異なる意味を示す項目名として用いられる可能性がある。例えば、要素項目「請求金額(税込)」の項目名を「合計」に固定して項目値を検出すると、帳票画像300からは対応する項目値が正しく検出されるが、帳票画像400からは対応する項目値が正しく検出されない。一方、要素項目「請求金額(税込)」の項目名を「総計」に固定して項目値を検出すると、帳票画像400からは対応する項目値が正しく検出されるが、帳票画像300からは対応する項目値が正しく検出されない。 In various layout forms, terms that have similar meanings such as "total" and "total" have different meanings such as "billing amount (tax included)" and "billing amount (tax excluded)". It may be used as an item name to indicate. For example, if the item name of the element item "billing amount (tax included)" is fixed to "total" and the item value is detected, the corresponding item value is correctly detected from the form image 300, but the corresponding item value is detected from the form image 400. The item value to be used is not detected correctly. On the other hand, if the item name of the element item "billing amount (tax included)" is fixed to "total" and the item value is detected, the corresponding item value is correctly detected from the form image 400, but it corresponds from the form image 300. The item value to be used is not detected correctly.

一方、検査装置100は、各要素項目の項目名候補が帳票画像に含まれているかを優先順位に従って順次判定し、最初に含まれていると判定された項目名候補を特定項目として検出する。これにより、検査装置100は、帳票ごとに各項目の名称が異なる多種レイアウトの帳票を撮像した帳票画像300、400のそれぞれに対して、帳票画像から項目値が正しく検出されたか否かを精度良く判定することができる。 On the other hand, the inspection device 100 sequentially determines whether the item name candidates of each element item are included in the form image in order of priority, and detects the item name candidate determined to be included first as a specific item. As a result, the inspection device 100 accurately determines whether or not the item values are correctly detected from the form images for each of the form images 300 and 400 that image the forms of various layouts in which the names of the items are different for each form. It can be determined.

図8は、検査装置100による表示処理の動作の例を示すフローチャートである。 FIG. 8 is a flowchart showing an example of the operation of the display process by the inspection device 100.

以下、図8に示したフローチャートを参照しつつ、検査装置100による表示処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め記憶装置110に記憶されているプログラムに基づき主にCPU120により検査装置100の各要素と協働して実行される。表示処理は、利用者による入力装置102を用いた、判定結果の表示要求が受け付けられた場合に実行される。 Hereinafter, an example of the operation of the display process by the inspection device 100 will be described with reference to the flowchart shown in FIG. The operation flow described below is mainly executed by the CPU 120 in cooperation with each element of the inspection device 100 based on the program stored in the storage device 110 in advance. The display process is executed when a request for displaying the determination result using the input device 102 by the user is received.

最初に、表示制御部124は、記憶装置110から、判定処理が実行された全ての帳票画像に対応する検出結果テーブル600及び判定結果テーブル610を抽出する(ステップS201)。 First, the display control unit 124 extracts the detection result table 600 and the determination result table 610 corresponding to all the form images for which the determination process has been executed from the storage device 110 (step S201).

次に、表示制御部124は、抽出した各判定結果テーブル610から判定結果を読み出し、文字認識処理に誤りがあった帳票画像を認識誤り画像として特定する(ステップS202)。 Next, the display control unit 124 reads the determination result from each of the extracted determination result tables 610, and identifies the form image having an error in the character recognition process as the recognition error image (step S202).

次に、表示制御部124は、特定した認識誤り画像の中から、特定の一つの画像を注目画像に決定する(ステップS203)。例えば、表示制御部124は、認識誤り画像の中で、判定処理が実行された時刻が最も早い(前である)画像を注目画像に決定する。なお、文字認識処理に誤りがあった帳票画像が存在しない場合、表示制御部124は、文字認識処理に誤りがなかった帳票画像の中から、特定の一つの画像を注目画像に設定する。 Next, the display control unit 124 determines one specific image as the image of interest from the identified recognition error images (step S203). For example, the display control unit 124 determines the image of interest that has the earliest (previous) time when the determination process is executed among the recognition error images. If there is no form image with an error in the character recognition process, the display control unit 124 sets a specific image as the image of interest from the form images with no error in the character recognition process.

次に、表示制御部124は、注目画像に対応する判定結果テーブル610から判定結果を読み出し、文字認識処理が誤っていた検査対象を認識誤り対象として特定する(ステップS204)。 Next, the display control unit 124 reads the determination result from the determination result table 610 corresponding to the image of interest, and identifies the inspection target for which the character recognition process is incorrect as the recognition error target (step S204).

次に、表示制御部124は、特定した認識誤り対象の中から、特定の一つの検査対象を注目対象に決定する(ステップS205)。例えば、表示制御部124は、認識誤り対象の中で、判定結果テーブル610において最も先頭側に記憶されている検査対象を注目対象に決定する。なお、文字認識処理に誤りがあった検査対象が存在しない場合、表示制御部124は、文字認識処理に誤りがなかった検査対象の中から、特定の一つの検査対象を注目対象に設定する。 Next, the display control unit 124 determines one specific inspection target as the attention target from the identified recognition error targets (step S205). For example, the display control unit 124 determines the inspection target stored at the top of the determination result table 610 as the target of interest among the recognition error targets. When there is no inspection target having an error in the character recognition process, the display control unit 124 sets one specific inspection target as the attention target from the inspection targets having no error in the character recognition process.

次に、表示制御部124は、抽出した帳票画像と、特定した認識誤り画像及び認識誤り対象と、決定した注目画像及び注目対象とに基づいて、判定部123による判定結果を表示するための表示データを作成する。そして、表示制御部124は、作成した表示データを表示装置103に表示する(ステップS206)。 Next, the display control unit 124 displays a display for displaying the determination result by the determination unit 123 based on the extracted form image, the specified recognition error image and the recognition error target, and the determined attention image and attention target. Create data. Then, the display control unit 124 displays the created display data on the display device 103 (step S206).

図9は、表示装置103に表示される表示データ900の一例を示す模式図である。 FIG. 9 is a schematic diagram showing an example of display data 900 displayed on the display device 103.

図9に示すように、表示装置103の表示画面には、表示データ900が表示される。表示データ900には、画像指定ボタン901、画像表示領域902が含まれる。画像指定ボタン901は、判定処理が実行された各帳票画像を注目画像として指定するためのボタンであり、判定処理が実行された各帳票画像に対応して表示される。例えば、各画像指定ボタン901は、対応する帳票画像に対する判定処理が実行された時刻順に並べて表示される。画像指定ボタン901の内、認識誤り画像に対応するボタンは、他の画像に対応するボタンと区別可能に強調表示される。 As shown in FIG. 9, the display data 900 is displayed on the display screen of the display device 103. The display data 900 includes an image designation button 901 and an image display area 902. The image designation button 901 is a button for designating each form image on which the determination process is executed as a noteworthy image, and is displayed corresponding to each form image on which the determination process is executed. For example, each image designation button 901 is displayed side by side in the order of time when the determination process for the corresponding form image is executed. Among the image designation buttons 901, the button corresponding to the recognition error image is highlighted so as to be distinguishable from the buttons corresponding to other images.

画像表示領域902には、画像指定ボタン901により注目画像として指定された帳票画像903と、判定処理における判定結果とが表示される。画像表示領域902には、帳票画像903の一部又は全部が表示される。画像表示領域902において、帳票画像903は、注目対象として指定された項目値の組合せが基準位置Rに位置するように表示される。注目対象として指定された項目値の組合せが水平方向に並ぶ場合、基準位置Rは、例えば画像表示領域902の垂直方向の略中央位置に設定される。また、注目対象として指定された項目値の組合せが垂直方向に並ぶ場合、基準位置Rは、例えば画像表示領域902の水平方向の略中央位置に設定される。 In the image display area 902, the form image 903 designated as the image of interest by the image designation button 901 and the determination result in the determination process are displayed. In the image display area 902, a part or all of the form image 903 is displayed. In the image display area 902, the form image 903 is displayed so that the combination of the item values designated as the attention target is located at the reference position R. When the combinations of the item values designated as the objects of interest are arranged in the horizontal direction, the reference position R is set to, for example, a substantially central position in the vertical direction of the image display area 902. Further, when the combinations of the item values designated as the objects of interest are arranged in the vertical direction, the reference position R is set to, for example, a substantially central position in the horizontal direction of the image display area 902.

図9に示す帳票画像903では、判定処理において「商品E」及び「商品H」について「数量×単価=金額」が成立せず、「料金の総和=合計」が成立せず、他の関係が成立している。 In the form image 903 shown in FIG. 9, in the determination process, "quantity x unit price = amount" is not established for "product E" and "product H", "total charge = total" is not established, and other relationships are not established. It is established.

表示制御部124は、検出部122によって検出された各特定項目の項目値が、関係情報に示された関係を有さない場合、帳票画像において、その特定項目の項目値を、他の特定項目の項目値と区別可能に、強調表示する。表示制御部124は、複数の検査対象の内の特定の検査対象について、検出部122によって検出された各特定項目の項目値が、関係情報に示された関係を有さない場合、帳票画像において、その特定の検査対象に対応する各特定項目の項目値を強調表示する。図9に示す例では、「商品E」及び「商品H」について「数量×単価=金額」が成立していないため、「商品E」に対応する項目値906と、「商品H」に対応する項目値907が強調表示されている。また、「料金の総和=総計」も成立していないため、「金額」に対応する項目値904と、「総計」に対応する項目値905とが強調表示されている。 When the item value of each specific item detected by the detection unit 122 does not have the relationship shown in the relationship information, the display control unit 124 sets the item value of the specific item to another specific item in the form image. Highlight it so that it can be distinguished from the item value of. When the item value of each specific item detected by the detection unit 122 does not have the relationship shown in the relationship information for the specific inspection target among the plurality of inspection targets, the display control unit 124 displays the form image. , Highlight the item value of each particular item corresponding to that particular inspection target. In the example shown in FIG. 9, since "quantity x unit price = amount" is not established for "product E" and "product H", the item values 906 corresponding to "product E" and "product H" correspond to each other. The item value 907 is highlighted. Further, since "total charge = total" is not established, the item value 904 corresponding to the "amount" and the item value 905 corresponding to the "total" are highlighted.

また、表示制御部124は、関係情報が一つの特定項目の一つの項目値と、他の特定項目の複数の項目値との間の関係とを示す場合、その一つの特定項目の一つの項目値と、他の特定項目の複数の項目値とを全て強調表示する。図9に示す例では、「料金の総和=合計」が成立していないため、「金額」に対応する各項目値904と、「総計」に対応する項目値905とが強調表示されている。 Further, when the relational information indicates a relationship between one item value of one specific item and a plurality of item values of another specific item, the display control unit 124 has one item of the one specific item. Highlight all values and multiple item values for other specific items. In the example shown in FIG. 9, since "total charge = total" is not established, each item value 904 corresponding to the "amount" and the item value 905 corresponding to the "total" are highlighted.

表示制御部124は、各特定項目の項目値を、他の特定項目の項目値と異なる色で表示することにより、強調表示する。なお、表示制御部124は、各特定項目の項目値を、他の特定項目の項目値と異なるフォント又はサイズで表示することにより、強調表示してもよい。これらにより、利用者は、文字認識処理が誤っていた項目値を容易に識別することが可能となり、検査装置100は、利用者の利便性を向上させることが可能となる。 The display control unit 124 highlights the item value of each specific item by displaying it in a color different from the item value of the other specific item. The display control unit 124 may highlight the item value of each specific item by displaying it in a font or size different from the item value of the other specific item. As a result, the user can easily identify the item value for which the character recognition process is incorrect, and the inspection device 100 can improve the convenience of the user.

また、表示制御部124は、帳票画像において、関係情報に示された関係を有さない特定項目の項目値が表示される領域と隣接する領域に、その特定項目について検出部122により検出された項目値を表示する。図9に示す例では、「金額」に対応する項目値904及び「総計」に対応する項目値905が表示された領域と隣接する領域に、検出部122により検出された各項目値908及び909が表示されている。同様に、「商品E」に対応する項目値906及び「商品H」に対応する項目値907が表示された領域と隣接する領域に、検出部122により検出された各項目値910及び911が表示される。これにより、利用者は、どの項目値の検出結果が誤っているかを容易に認識することが可能となり、検査装置100は、利用者の利便性を向上させることが可能となる。 Further, the display control unit 124 has detected the specific item in the area adjacent to the area in which the item value of the specific item having no relationship shown in the relationship information is displayed in the form image by the detection unit 122. Display the item value. In the example shown in FIG. 9, the item values 904 and 909 detected by the detection unit 122 in the area adjacent to the area in which the item value 904 corresponding to the "amount" and the item value 905 corresponding to the "total" are displayed. Is displayed. Similarly, the item values 910 and 911 detected by the detection unit 122 are displayed in the area adjacent to the area where the item value 906 corresponding to "Product E" and the item value 907 corresponding to "Product H" are displayed. Will be done. As a result, the user can easily recognize which item value the detection result is incorrect, and the inspection device 100 can improve the convenience of the user.

また、表示制御部124は、帳票画像において、文字認識処理が誤っていた特定項目の項目値を強調表示すること、又は、その特定項目について検出部122により検出された項目値を表示することにより、帳票画像上に判定結果を重ねて表示している。これにより、利用者は、各項目値に対する文字認識処理が正しかったか否かを視覚的に認識することが可能となり、検査装置100は、利用者の利便性を向上させることが可能となる。 Further, the display control unit 124 highlights the item value of the specific item for which the character recognition process is incorrect in the form image, or displays the item value detected by the detection unit 122 for the specific item. , The judgment result is superimposed and displayed on the form image. As a result, the user can visually recognize whether or not the character recognition process for each item value is correct, and the inspection device 100 can improve the convenience of the user.

次に、表示制御部124は、受付処理を実行し、一連のステップを終了する(ステップS207)。表示制御部124は、受付処理において、利用者による指示に応じて表示データを変更する。受付処理の詳細については後述する。 Next, the display control unit 124 executes the reception process and ends a series of steps (step S207). The display control unit 124 changes the display data in response to an instruction from the user in the reception process. The details of the reception process will be described later.

図10は、受付処理の動作の例を示すフローチャートである。図10に示す受付処理は、図9に示す表示処理のステップS207で実行される。 FIG. 10 is a flowchart showing an example of the operation of the reception process. The reception process shown in FIG. 10 is executed in step S207 of the display process shown in FIG.

最初に、表示制御部124は、利用者による入力装置102を用いた第1指示を受け付けたか否かを判定する(ステップS301)。第1指示は、画像表示領域902に表示する注目画像を指定する指示である。表示制御部124は、例えばマウスを用いて何れかの画像指定ボタン901が押下された場合に、画像指定ボタン901に対応する帳票画像を注目画像として指定する第1指示を受け付ける。 First, the display control unit 124 determines whether or not the first instruction using the input device 102 by the user has been accepted (step S301). The first instruction is an instruction to specify the image of interest to be displayed in the image display area 902. The display control unit 124 receives the first instruction to designate the form image corresponding to the image designation button 901 as the image of interest when any of the image designation buttons 901 is pressed by using a mouse, for example.

第1指示を受け付けた場合、表示制御部124は、第1指示で指定された帳票画像を注目画像に設定する(ステップS302)。次に、表示制御部124は、ステップS204、S205と同様にして、新たに設定した注目画像に関する認識誤り対象を特定し(ステップS303)、注目対象を決定する(ステップS304)。次に、表示制御部124は、ステップS206と同様にして、表示データを作成し、表示装置103に表示し(ステップS305)、処理をステップS301へ戻す。このように、表示制御部124は、利用者による第1指示に応じて、各帳票画像に対する判定結果を任意に切り替えて表示する。 When the first instruction is received, the display control unit 124 sets the form image specified by the first instruction as the attention image (step S302). Next, the display control unit 124 identifies the recognition error target for the newly set attention image (step S303) and determines the attention target (step S304) in the same manner as in steps S204 and S205. Next, the display control unit 124 creates display data in the same manner as in step S206, displays it on the display device 103 (step S305), and returns the process to step S301. In this way, the display control unit 124 arbitrarily switches and displays the determination result for each form image in response to the first instruction by the user.

一方、第1指示を受け付けていない場合、表示制御部124は、利用者による入力装置102を用いた第2指示を受け付けたか否かを判定する(ステップS306)。第2指示は、画像表示領域902に表示する注目画像を認識誤り画像の中から指定する指示である。表示制御部124は、例えば、現在の注目画像に対応する画像指定ボタン901が指定された状態で、キーボードを用いて下矢印キー又は上矢印キーが押下された場合に、第2指示を受け付ける。その場合、認識誤り画像に対応する画像指定ボタン901の内、現在指定されている画像指定ボタン901の下方又は上方に位置し且つその画像指定ボタン901の最も近くに配置された画像指定ボタン901に対応する帳票画像が注目画像として指定される。 On the other hand, when the first instruction is not received, the display control unit 124 determines whether or not the second instruction using the input device 102 by the user has been accepted (step S306). The second instruction is an instruction to specify the attention image to be displayed in the image display area 902 from the recognition error images. The display control unit 124 receives the second instruction when, for example, the down arrow key or the up arrow key is pressed by using the keyboard while the image designation button 901 corresponding to the current attention image is designated. In that case, among the image designation buttons 901 corresponding to the recognition error image, the image designation button 901 located below or above the currently designated image designation button 901 and arranged closest to the image designation button 901. The corresponding form image is designated as the image of interest.

第2指示を受け付けた場合、表示制御部124は、第2指示で指定された帳票画像を注目画像に設定する(ステップS307)。次に、表示制御部124は、ステップS204、S205と同様にして、新たに設定した注目画像に関する認識誤り対象を特定し(ステップS303)、注目対象を決定する(ステップS304)。次に、表示制御部124は、ステップS206と同様にして、表示データを作成し、表示装置103に表示し(ステップS305)、処理をステップS301へ戻す。このように、表示制御部124は、利用者による第2指示に応じて、各帳票画像の内、検出部122によって検出された各特定項目の項目値が、関係情報に示された関係を有さない帳票画像に対する判定結果を順次切り替えて表示する。利用者は、文字認識処理に誤りがあった帳票画像のみを順次選択して、誤りを確認又は修正していくことが可能となり、検査装置100は、利用者の作業の効率化を図ることが可能となる。 When the second instruction is received, the display control unit 124 sets the form image designated by the second instruction as the attention image (step S307). Next, the display control unit 124 identifies the recognition error target for the newly set attention image (step S303) and determines the attention target (step S304) in the same manner as in steps S204 and S205. Next, the display control unit 124 creates display data in the same manner as in step S206, displays it on the display device 103 (step S305), and returns the process to step S301. As described above, the display control unit 124 has a relationship in which the item values of each specific item detected by the detection unit 122 in each form image are shown in the relationship information in response to the second instruction by the user. No Judgment results for form images are sequentially switched and displayed. The user can sequentially select only the form images having an error in the character recognition process, and confirm or correct the error, and the inspection device 100 can improve the efficiency of the user's work. It will be possible.

一方、第2指示を受け付けていない場合、表示制御部124は、利用者による入力装置102を用いた第3指示を受け付けたか否かを判定する(ステップS308)。第3指示は、画像表示領域902に表示された注目画像内で、複数の検査対象の中から注目対象を指定する指示である。表示制御部124は、例えばマウスを用いて画像表示領域902内の何れかの領域が押下された場合に、押下された領域に対応する項目値の組合せを注目対象として指定する第3指示を受け付ける。 On the other hand, when the second instruction is not received, the display control unit 124 determines whether or not the third instruction using the input device 102 by the user has been accepted (step S308). The third instruction is an instruction to specify an attention target from a plurality of inspection targets in the attention image displayed in the image display area 902. When any area in the image display area 902 is pressed by using a mouse, for example, the display control unit 124 receives a third instruction to specify a combination of item values corresponding to the pressed area as a target of interest. ..

第3指示を受け付けた場合、表示制御部124は、第3指示で指定された項目値の組合せを注目対象に設定する(ステップS309)。次に、表示制御部124は、ステップS206と同様にして、表示データを作成し、表示装置103に表示し(ステップS305)、処理をステップS301へ戻す。このように、表示制御部124は、利用者による第3指示に応じて、各検査対象に対する判定結果を任意に切り替えて表示する。表示制御部124は、各検査対象に対する判定結果を画像表示領域902内に全てまとめて表示できない場合でも、利用者が注目したい検査対象に対する判定結果を適切に表示することが可能となる。 When the third instruction is received, the display control unit 124 sets the combination of the item values specified in the third instruction as the attention target (step S309). Next, the display control unit 124 creates display data in the same manner as in step S206, displays it on the display device 103 (step S305), and returns the process to step S301. In this way, the display control unit 124 arbitrarily switches and displays the determination result for each inspection target in response to the third instruction by the user. The display control unit 124 can appropriately display the determination result for the inspection target that the user wants to pay attention to even when all the determination results for each inspection target cannot be collectively displayed in the image display area 902.

一方、第3指示を受け付けていない場合、表示制御部124は、利用者による入力装置102を用いた第4指示を受け付けたか否かを判定する(ステップS310)。第4指示は、画像表示領域902に表示された注目画像内で、認識誤り対象の中から注目対象を指定する指示である。表示制御部124は、例えば、現在の注目対象に対応する項目値の組合せが指定された状態で、キーボードを用いて下矢印キー又は上矢印キーが押下された場合に、第4指示を受け付ける。その場合、認識誤り対象に対応する項目値の組合せの内、現在の注目対象に対応する項目値の組合せの下方又は上方に位置し且つその組合せの最も近くに配置された項目値の組合せに係る検査対象が注目対象として指定される。 On the other hand, when the third instruction is not accepted, the display control unit 124 determines whether or not the fourth instruction using the input device 102 by the user has been accepted (step S310). The fourth instruction is an instruction to specify the attention target from the recognition error targets in the attention image displayed in the image display area 902. The display control unit 124 receives the fourth instruction when, for example, the down arrow key or the up arrow key is pressed by using the keyboard in a state where the combination of the item values corresponding to the current attention target is specified. In that case, among the combinations of item values corresponding to the recognition error target, the combination of item values located below or above the combination of item values corresponding to the current target of interest and arranged closest to the combination is related. The inspection target is designated as the attention target.

第4指示を受け付けた場合、表示制御部124は、第4指示で指定された検査対象を注目対象に設定する(ステップS311)。次に、表示制御部124は、ステップS206と同様にして、表示データを作成し、表示装置103に表示し(ステップS305)、処理をステップS301へ戻す。このように、表示制御部124は、利用者による第4指示に応じて、各検査対象の内、検出部122によって検出された各特定項目の項目値が、関係情報に示された関係を有さない検査対象に対する判定結果を順次切り替えて表示する。表示制御部124は、各検査対象に対する判定結果を画像表示領域902内に全てまとめて表示できない場合でも、文字認識処理に誤りがあった検査対象に対する判定結果を適切に選択して表示することが可能となる。特に、利用者は、文字認識処理に誤りがあった検査対象のみを順次選択して、誤りを確認又は修正していくことが可能となり、検査装置100は、利用者の作業の効率化を図ることが可能となる。 When the fourth instruction is received, the display control unit 124 sets the inspection target designated by the fourth instruction as the attention target (step S311). Next, the display control unit 124 creates display data in the same manner as in step S206, displays it on the display device 103 (step S305), and returns the process to step S301. In this way, the display control unit 124 has a relationship in which the item values of each specific item detected by the detection unit 122 among the inspection targets are shown in the relationship information in response to the fourth instruction by the user. The judgment results for the inspection target are sequentially switched and displayed. Even if the display control unit 124 cannot display all the judgment results for each inspection target collectively in the image display area 902, the display control unit 124 can appropriately select and display the judgment results for the inspection target having an error in the character recognition process. It will be possible. In particular, the user can sequentially select only the inspection target having an error in the character recognition process, and confirm or correct the error, and the inspection device 100 aims to improve the efficiency of the user's work. Is possible.

図11は、表示装置103に表示される表示データ1100の一例を示す模式図である。 FIG. 11 is a schematic diagram showing an example of display data 1100 displayed on the display device 103.

図11は、図9に示した表示データ900が表示装置103に表示された状態から、第4指示が受け付けられた場合に表示される表示データ1100を示している。図9に示した表示データ900では、「商品E」に関する各項目値の組合せ906が、注目対象に指定されて、基準位置Rに位置している。一方、図11に示す表示データ1100では、「商品H」に関する各項目値の組合せ907が、新たに注目対象に指定されている。表示データ1100では、「商品H」に関する各項目値の組合せ907が基準位置Rに位置するように、帳票画像903がスクロール表示されている。 FIG. 11 shows the display data 1100 displayed when the fourth instruction is received from the state in which the display data 900 shown in FIG. 9 is displayed on the display device 103. In the display data 900 shown in FIG. 9, the combination 906 of each item value related to the “commodity E” is designated as the object of interest and is located at the reference position R. On the other hand, in the display data 1100 shown in FIG. 11, the combination 907 of each item value related to the “commodity H” is newly designated as the object of interest. In the display data 1100, the form image 903 is scrolled and displayed so that the combination 907 of each item value related to the "product H" is located at the reference position R.

そのために、表示制御部124は、まず、特定項目の項目値の検出結果に基づいて、帳票画像内の各検査対象の間隔を特定する。表示制御部124は、検出結果テーブル600から何れかの特定項目の各項目値の相対位置を読み出し、相互に隣接する項目値の相対位置の間の距離を、帳票画像内の各検査対象の間隔として算出する。 Therefore, the display control unit 124 first specifies the interval of each inspection target in the form image based on the detection result of the item value of the specific item. The display control unit 124 reads out the relative position of each item value of any specific item from the detection result table 600, and sets the distance between the relative positions of the item values adjacent to each other as the interval of each inspection target in the form image. Calculated as.

なお、表示制御部124は、公知の画像処理技術を利用して、帳票画像から、各項目値の間を延伸する罫線を検出し、相互に隣接する罫線の間の距離を、帳票画像内の各検査対象の間隔として算出してもよい。 The display control unit 124 detects a ruled line extending between each item value from the form image by using a known image processing technique, and sets the distance between the adjacent ruled lines in the form image. It may be calculated as an interval for each inspection target.

次に、表示制御部124は、新たに指定された注目対象が、過去に指定されていた注目対象が表示されていた基準位置Rに表示されるように、帳票画像をスクロール表示する。表示制御部124は、特定した間隔単位で帳票画像をスクロール表示する。例えば、新たに指定された注目対象が、過去に指定されていた注目対象と隣接している場合、表示制御部124は、特定した間隔だけ帳票画像をスクロール表示する。また、例えば、新たに指定された注目対象と、過去に指定されていた注目対象との間に検査対象(費目)が一つ存在する場合、表示制御部124は、特定した間隔の2倍だけ帳票画像をスクロール表示する。 Next, the display control unit 124 scrolls and displays the form image so that the newly designated attention target is displayed at the reference position R where the previously designated attention target is displayed. The display control unit 124 scrolls and displays the form image in the specified interval unit. For example, when the newly designated attention target is adjacent to the attention target designated in the past, the display control unit 124 scrolls and displays the form image by the specified interval. Further, for example, when there is one inspection target (expense item) between the newly designated attention target and the attention target designated in the past, the display control unit 124 has only twice the specified interval. Scroll the form image.

このように、表示制御部124は、注目対象の指定を新たに受け付けた場合、帳票画像の表示領域902内で、新たに指定された注目対象が、過去に指定されていた注目対象が表示されていた位置に表示されるように、帳票画像をスクロール表示する。これにより、利用者は、注目する検査対象を変更した場合に、視線を移動させることなく、新たに指定した検査対象を閲覧することが可能となり、検査装置100は、利用者の利便性を向上させることが可能となる。 In this way, when the display control unit 124 newly accepts the designation of the attention target, the newly designated attention target and the attention target previously designated are displayed in the display area 902 of the form image. The form image is scrolled so that it is displayed at the position where it was. As a result, when the inspection target of interest is changed, the user can browse the newly designated inspection target without moving the line of sight, and the inspection device 100 improves the convenience of the user. It is possible to make it.

一方、第4指示を受け付けていない場合、表示制御部124は、利用者による入力装置102を用いた修正指示を受け付けたか否かを判定する(ステップS312)。修正指示は、注目対象として指定された項目値の内の何れかの項目値を、利用者により指定された修正値に修正する指示である。表示制御部124は、例えば、注目対象内の特定の項目値が指定された状態で、キーボードを用いて修正値が入力された場合に、修正指示を受け付ける。 On the other hand, when the fourth instruction is not received, the display control unit 124 determines whether or not the correction instruction using the input device 102 by the user has been accepted (step S312). The correction instruction is an instruction to correct any item value among the item values designated as the object of interest to the correction value specified by the user. The display control unit 124 receives, for example, a correction instruction when a correction value is input using the keyboard in a state where a specific item value in the target of interest is specified.

次に、表示制御部124は、検出結果テーブル600において、修正指示で指定された項目値を修正値に置換する。表示制御部124は、関係テーブル520を参照して、その項目値に対応する関係及び検査対象を特定する。そして、表示制御部124は、特定した検査対象に係る項目値の組合せが、特定した関係を有するか否かを判定することにより、文字認識処理の誤りが訂正されたか否かを判定する(ステップS313)。特定した検査対象が複数である場合、表示制御部124は、特定した検査対象毎に、文字認識処理の誤りが訂正されたか否かを判定する。 Next, the display control unit 124 replaces the item value specified in the correction instruction with the correction value in the detection result table 600. The display control unit 124 refers to the relationship table 520 and specifies the relationship and the inspection target corresponding to the item value. Then, the display control unit 124 determines whether or not the error in the character recognition process has been corrected by determining whether or not the combination of the item values related to the specified inspection target has the specified relationship (step). S313). When there are a plurality of specified inspection targets, the display control unit 124 determines whether or not the error in the character recognition process has been corrected for each of the specified inspection targets.

何れの誤りも訂正されていないと判定した場合、表示制御部124は、ステップS206と同様にして、表示データを作成し、表示装置103に表示し(ステップS305)、処理をステップS301へ戻す。 When it is determined that none of the errors has been corrected, the display control unit 124 creates display data in the same manner as in step S206, displays it on the display device 103 (step S305), and returns the process to step S301.

一方、何れかの誤りが訂正されたと判定した場合、表示制御部124は、判定結果テーブル610において、誤りが訂正された関係及び検査対象に関連付けて記憶された判定結果を異常から正常に更新する(ステップS314)。次に、表示制御部124は、ステップS204、S205と同様にして、現在の注目画像に関する認識誤り対象を特定し(ステップS303)、注目対象を決定する(ステップS304)。次に、表示制御部124は、ステップS206と同様にして、表示データを作成し、表示装置103に表示し(ステップS305)、処理をステップS301へ戻す。文字認識処理が誤っていて強調表示されていた項目値が修正された場合、その項目値は、強調表示されなくなるため、利用者は正しく修正が行われたことを確実に認識することが可能となる。 On the other hand, when it is determined that any of the errors has been corrected, the display control unit 124 normally updates the determination result stored in the determination result table 610 in relation to the corrected error and the inspection target. (Step S314). Next, the display control unit 124 identifies the recognition error target for the current attention image (step S303) and determines the attention target (step S304) in the same manner as in steps S204 and S205. Next, the display control unit 124 creates display data in the same manner as in step S206, displays it on the display device 103 (step S305), and returns the process to step S301. If the item value that was highlighted due to an error in the character recognition process is corrected, the item value will not be highlighted, so the user can be sure that the correction has been made correctly. Become.

なお、表示制御部124は、誤りが訂正された帳票画像毎に、誤りが残っているか否かを判定し、誤りが残っていないと判定された帳票画像を、通信装置101を介してRPA処理装置(不図示)に送信してもよい。これにより、RPA処理装置は、信頼性の高い帳票画像のみを自動的に取得して、所定のRPA処理を実行することが可能となる。 The display control unit 124 determines whether or not an error remains for each form image in which the error has been corrected, and processes the form image determined that no error remains by RPA processing via the communication device 101. It may be transmitted to a device (not shown). As a result, the RPA processing apparatus can automatically acquire only highly reliable form images and execute predetermined RPA processing.

一方、修正指示を受け付けていない場合、表示制御部124は、利用者による入力装置102を用いた終了指示を受け付けたか否かを判定する(ステップS315)。表示制御部124は、終了指示を受け付けていない場合、処理をステップS301へ戻し、終了指示を受け付けた場合、一連のステップを終了する。 On the other hand, when the correction instruction is not accepted, the display control unit 124 determines whether or not the end instruction using the input device 102 by the user has been accepted (step S315). If the display control unit 124 has not received the end instruction, the process returns to step S301, and if the end instruction is received, the display control unit 124 ends a series of steps.

以上詳述したように、検査装置100は、帳票画像に項目名候補が含まれているかを優先順位に従って判定し、最初に含まれていると判定された項目名候補を特定項目として検出し、検出した各特定項目の項目値が正しい関係を有するか否かを判定する。これにより、検査装置100は、帳票画像から項目値が正しく検出されたか否かをより精度良く判定することが可能となった。 As described in detail above, the inspection device 100 determines whether the item name candidate is included in the form image according to the priority order, and detects the item name candidate determined to be included first as a specific item. It is determined whether or not the detected item values of each specific item have a correct relationship. This makes it possible for the inspection device 100 to more accurately determine whether or not the item value is correctly detected from the form image.

一般に、領収書等の帳票には複数の項目が含まれており、各帳票は多種多様なフォーマットを有している。このような帳票からは、予め定められた領域から項目値を検出する、いわゆる定型OCR方式では、特定項目の項目値を検出することができない。一方、検査装置100は、帳票画像に項目名候補が含まれているかを優先順位に従って判定し、最初に含まれていると判定された項目名候補を特定項目として検出するため、特定項目を精度良く特定することが可能となった。 Generally, a form such as a receipt contains a plurality of items, and each form has a wide variety of formats. From such a form, the item value of a specific item cannot be detected by the so-called standard OCR method in which the item value is detected from a predetermined area. On the other hand, the inspection device 100 determines whether the item name candidate is included in the form image according to the priority order, and detects the item name candidate determined to be included first as a specific item, so that the specific item is accurate. It became possible to identify it well.

また、検査装置100では、帳票画像から項目値が正しく検出されたか否かをより精度良く判定することが可能となり、OCR技術を利用して帳票画像から検出した文字の信頼性を向上させることが可能となった。そのため、検査装置100は、利用者による検出した文字の確認及び修正作業を低減させることが可能となった。また、検出した文字の信頼性が高いため、利用者は、検出した文字をRPA技術に利用して、作業の効率化を図ることも可能となった。 Further, in the inspection device 100, it is possible to more accurately determine whether or not the item value is correctly detected from the form image, and it is possible to improve the reliability of the characters detected from the form image by using the OCR technique. It has become possible. Therefore, the inspection device 100 can reduce the work of confirming and correcting the detected characters by the user. In addition, since the detected characters are highly reliable, the user can use the detected characters for RPA technology to improve work efficiency.

図12は、表示装置103に表示される他の表示データ1200の一例を示す模式図である。 FIG. 12 is a schematic diagram showing an example of another display data 1200 displayed on the display device 103.

図9、11に示した表示データ900、1100では、帳票画像において、関係情報に示された関係を有さない特定項目について検出部122により検出された項目値が表示されていた。一方、図12に示す表示データ1200では、帳票画像において、注目対象について検出された特定項目の項目値のみが表示されている。注目対象について検出された各特定項目の項目値は、帳票画像内で注目対象に係る特定項目の項目値が表示される領域と隣接する領域に表示されている。 In the display data 900 and 1100 shown in FIGS. 9 and 11, the item values detected by the detection unit 122 for the specific items having no relationship shown in the relationship information are displayed in the form image. On the other hand, in the display data 1200 shown in FIG. 12, only the item values of the specific items detected for the attention target are displayed in the form image. The item value of each specific item detected for the attention target is displayed in the area adjacent to the area where the item value of the specific item related to the attention target is displayed in the form image.

このように、表示制御部124は、帳票画像内で注目対象に係る特定項目の項目値が表示される領域と隣接する領域に、注目対象について検出された特定項目の項目値を表示してもよい。これにより、利用者は、注目する検査対象と他の検査対象とを容易に識別することが可能となり、検査装置100は、利用者の利便性を向上させることが可能となる。 In this way, even if the display control unit 124 displays the item value of the specific item detected for the attention target in the area adjacent to the area where the item value of the specific item related to the attention target is displayed in the form image. good. As a result, the user can easily distinguish the inspection target of interest from another inspection target, and the inspection device 100 can improve the convenience of the user.

また、図9、11に示した表示データ900、1100では、文字認識処理が誤っていた帳票画像に対応する画像指定ボタン及び特定項目の項目値が強調表示されていた。一方、図12に示す表示データ1200では、注目画像に対応する画像指定ボタン及び注目対象のみが強調表示され、それぞれ注目画像以外の帳票画像に対応する画像指定ボタン及び注目対象以外の検査対象と区別可能に表示されている。 Further, in the display data 900 and 1100 shown in FIGS. 9 and 11, the image designation button corresponding to the form image in which the character recognition process was erroneous and the item value of the specific item were highlighted. On the other hand, in the display data 1200 shown in FIG. 12, only the image designation button corresponding to the attention image and the attention target are highlighted, and the image designation button corresponding to the form image other than the attention image and the inspection target other than the attention target are distinguished from each other. It is displayed as possible.

このように、表示制御部124は、注目画像に対応する画像指定ボタンを注目画像以外の帳票画像に対応する画像指定ボタンと区別可能に表示し、注目対象を注目対象以外の検査対象と区別可能に表示してもよい。これにより、利用者は、注目する帳票画像及び検査対象と他の帳票画像及び検査対象とを容易に識別することが可能となり、検査装置100は、利用者の利便性を向上させることが可能となる。 In this way, the display control unit 124 displays the image designation button corresponding to the attention image so as to be distinguishable from the image designation button corresponding to the form image other than the attention image, and can distinguish the attention target from the inspection target other than the attention target. It may be displayed in. As a result, the user can easily distinguish the form image and inspection target of interest from other form images and inspection targets, and the inspection device 100 can improve the convenience of the user. Become.

また、表示制御部124は、キーボードを用いて矢印キーが押下された場合に、認識誤り対象の中から新たな注目対象を選択するのではなく、現在の検査対象に隣接する検査対象を新たな注目対象としてもよい。その場合も、表示制御部124は、新たに指定された注目対象が、過去に指定されていた注目対象が表示されていた基準位置に表示されるように、帳票画像をスクロール表示する。 Further, when the arrow key is pressed by using the keyboard, the display control unit 124 does not select a new attention target from the recognition error targets, but a new inspection target adjacent to the current inspection target. It may be the object of attention. Even in that case, the display control unit 124 scrolls and displays the form image so that the newly designated attention target is displayed at the reference position where the attention target designated in the past was displayed.

図13は、他の実施形態に係る検査装置100における処理回路130の概略構成を示すブロック図である。 FIG. 13 is a block diagram showing a schematic configuration of a processing circuit 130 in the inspection device 100 according to another embodiment.

処理回路130は、CPU120の代わりに用いられ、CPU120の代わりに判定処理及び表示処理を実行する。処理回路130は、画像取得回路131、検出回路132、判定回路133及び表示制御回路134等を有する。 The processing circuit 130 is used in place of the CPU 120, and executes determination processing and display processing in place of the CPU 120. The processing circuit 130 includes an image acquisition circuit 131, a detection circuit 132, a determination circuit 133, a display control circuit 134, and the like.

画像取得回路131は、画像取得部の一例であり、画像取得部121と同様の機能を有する。画像取得回路131は、撮像装置104から帳票画像を取得し、取得した帳票画像を記憶装置110に記憶する。 The image acquisition circuit 131 is an example of the image acquisition unit and has the same function as the image acquisition unit 121. The image acquisition circuit 131 acquires a form image from the image pickup device 104 and stores the acquired form image in the storage device 110.

検出回路132は、検出部の一例であり、検出部122と同様の機能を有する。検出回路132は、記憶装置110から帳票画像を読み出し、読み出した帳票画像から特定項目を検出して検出結果を記憶装置110に記憶する。 The detection circuit 132 is an example of the detection unit, and has the same function as the detection unit 122. The detection circuit 132 reads a form image from the storage device 110, detects a specific item from the read form image, and stores the detection result in the storage device 110.

判定回路133は、判定部の一例であり、判定部123と同様の機能を有する。判定回路133は、記憶装置110から検出結果を読み出し、読み出した検出結果に基づいて、各特定項目の項目値が所定の関係を有するか否かを判定して判定結果を記憶装置110に記憶する。 The determination circuit 133 is an example of the determination unit and has the same function as the determination unit 123. The determination circuit 133 reads the detection result from the storage device 110, determines whether or not the item values of each specific item have a predetermined relationship based on the read detection result, and stores the determination result in the storage device 110. ..

表示制御回路134は、表示制御部の一例であり、表示制御部124と同様の機能を有する。表示制御回路134は、記憶装置110から帳票画像、検出結果及び判定結果を読み出し、読み出した各情報に基づいて表示データを表示装置103に表示する。また、表示制御回路134は、入力装置102から各種指示を受け付け、受け付けた指示に基づいて、表示データを変更するとともに、記憶装置110に記憶された検出結果及び判定結果を更新する。 The display control circuit 134 is an example of the display control unit, and has the same function as the display control unit 124. The display control circuit 134 reads a form image, a detection result, and a determination result from the storage device 110, and displays display data on the display device 103 based on the read information. Further, the display control circuit 134 receives various instructions from the input device 102, changes the display data based on the received instructions, and updates the detection result and the determination result stored in the storage device 110.

以上詳述したように、検査装置100が処理回路130を用いる場合においても、検査装置100は、帳票画像から項目値が正しく検出されたか否かをより精度良く判定することが可能となった。 As described in detail above, even when the inspection device 100 uses the processing circuit 130, the inspection device 100 can more accurately determine whether or not the item value is correctly detected from the form image.

以上、本発明の好適な実施形態について説明してきたが、本発明はこれらの実施形態に限定されるものではない。例えば、各特定項目の項目値間の関係として「数量×単価=金額」と「金額の総和=請求金額」の両方が用いられるのではなく、何れか一方のみ、又は、三つ以上の関係が用いられてもよい。 Although the preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments. For example, instead of using both "quantity x unit price = amount" and "total amount = billing amount" as the relationship between the item values of each specific item, only one of them or three or more relationships are used. It may be used.

また、帳票には、複数の項目の項目値が含まれていればよく、帳票は、見積書、発注書、納品書等の請求書以外の文書でもよい。 Further, the form may include item values of a plurality of items, and the form may be a document other than an invoice such as a quotation, a purchase order, and a delivery note.

また、検査装置100は、PC(Personal Computer)、ノートPC、携帯情報端末のように、撮像装置を有さない装置でもよい。その場合、検査装置100は、ステップS101において、通信装置101を介して、タブレットPC、多機能携帯電話、スキャナ装置等の撮像装置、又は、サーバ装置と通信し、帳票画像を、各装置から受信することにより取得する。また、検査装置100がタブレットPC、多機能携帯電話のように撮像装置を有する装置である場合でも、検査装置100は、通信装置101を介してスキャナ装置又はサーバ装置と通信し、帳票画像を各装置から受信することにより取得してもよい。 Further, the inspection device 100 may be a device that does not have an image pickup device, such as a PC (Personal Computer), a notebook PC, and a personal digital assistant. In that case, in step S101, the inspection device 100 communicates with an image pickup device such as a tablet PC, a multifunctional mobile phone, a scanner device, or a server device via the communication device 101, and receives a form image from each device. Get by doing. Further, even when the inspection device 100 is a device having an image pickup device such as a tablet PC or a multifunctional mobile phone, the inspection device 100 communicates with the scanner device or the server device via the communication device 101, and each form image is displayed. It may be acquired by receiving from the device.

100 検査装置
110 記憶装置
121 画像取得部
122 検出部
123 判定部
124 表示制御部
100 Inspection device 110 Storage device 121 Image acquisition unit 122 Detection unit 123 Judgment unit 124 Display control unit

Claims (13)

複数の要素項目毎に項目名候補が優先順位に従って記憶されるとともに、一つの特定項目の一つの項目値である数値と、他の特定項目の複数の項目値である数値との間の関係を示す関係式を記憶する記憶部と、
前記項目名候補の何れかが含まれる帳票画像を取得する画像取得部と、
前記複数の要素項目毎に、対応する項目名候補が前記帳票画像に含まれているかを前記優先順位に従って順次判定し、最初に含まれていると判定された項目名候補を、要素項目に対応した特定項目として検出する検出部と、
前記検出部によって検出された複数の特定項目のそれぞれの項目値が、前記関係式に示された関係を有するか否かを判定する判定部と、
前記判定部による判定結果を表示する表示制御部と、を有し、
前記表示制御部は、前記検出部によって検出された複数の特定項目の項目値が、前記関係式に示された関係を有さない場合、前記一つの特定項目の一つの項目値と、前記他の特定項目の複数の項目値とを全て強調表示する、
とを特徴とする検査装置。
Item name candidates are stored in order of priority for each of a plurality of element items, and the relationship between a numerical value that is one item value of one specific item and a numerical value that is a plurality of item values of another specific item is stored. A storage unit that stores the relational expression shown,
An image acquisition unit that acquires a form image that includes any of the item name candidates, and
For each of the plurality of element items, it is sequentially determined whether or not the corresponding item name candidate is included in the form image according to the priority order, and the item name candidate determined to be included first corresponds to the element item. The detector that detects as a specific item and
A determination unit for determining whether or not the item values of the plurality of specific items detected by the detection unit have the relationship shown in the relational expression.
It has a display control unit that displays a determination result by the determination unit.
When the item values of the plurality of specific items detected by the detection unit do not have the relationship shown in the relational expression, the display control unit has one item value of the one specific item and the other. Highlight all of the multiple item values for a particular item in
An inspection device characterized by that .
前記記憶部は、一つの特定項目の項目値と、他の二つ以上の特定項目の項目値との間の関係を示す第2関係式をさらに記憶し、
前記判定部は、前記検出部によって検出された複数の特定項目のそれぞれの項目値が、前記第2関係式に示された関係を有するか否かをさらに判定する、請求項1に記載の検査装置。
The storage unit further stores a second relational expression showing the relationship between the item value of one specific item and the item value of two or more other specific items.
The inspection according to claim 1 , wherein the determination unit further determines whether or not the item values of the plurality of specific items detected by the detection unit have the relationship shown in the second relational expression. Device.
前記検出部は、複数の検査対象毎に、各要素項目に対応した特定項目の項目値を検出し、
前記表示制御部は、前記複数の検査対象の内の特定の検査対象について、前記検出部によって検出された複数の特定項目の項目値が、前記第2関係式に示された関係を有さない場合、当該特定の検査対象に対応する各特定項目の項目値を強調表示する、請求項に記載の検査装置。
The detection unit detects the item value of a specific item corresponding to each element item for each of a plurality of inspection targets.
In the display control unit, with respect to a specific inspection target among the plurality of inspection targets, the item values of the plurality of specific items detected by the detection unit do not have the relationship shown in the second relational expression. The inspection device according to claim 2 , wherein the item value of each specific item corresponding to the specific inspection target is highlighted.
前記表示制御部は、前記帳票画像を表示し、前記帳票画像上に前記判定結果を重ねて表示する、請求項2または3に記載の検査装置。 The inspection device according to claim 2 or 3 , wherein the display control unit displays the form image and displays the determination result superimposed on the form image. 前記検出部は、複数の検査対象毎に、各要素項目に対応した特定項目の項目値を検出し、
前記表示制御部は、利用者による、前記複数の検査対象の内の注目対象の指定を受け付ける、請求項に記載の検査装置。
The detection unit detects the item value of a specific item corresponding to each element item for each of a plurality of inspection targets.
The inspection device according to claim 4 , wherein the display control unit receives a user's designation of a target of interest among the plurality of inspection targets.
前記表示制御部は、前記帳票画像内で前記注目対象に係る前記特定項目の項目値が表示される領域と隣接する領域に、前記注目対象について検出された特定項目の項目値を表示する、請求項に記載の検査装置。 The display control unit displays the item value of the specific item detected for the attention target in the area adjacent to the area where the item value of the specific item related to the attention target is displayed in the form image. Item 5. The inspection device according to item 5. 前記表示制御部は、注目対象の指定を新たに受け付けた場合、前記帳票画像の表示領域内で、前記新たに指定された注目対象が、過去に指定されていた注目対象が表示されていた位置に表示されるように、前記帳票画像をスクロール表示する、請求項またはに記載の検査装置。 When the display control unit newly accepts the designation of the attention target, the position where the newly designated attention target is displayed in the display area of the form image and the attention target previously designated is displayed. The inspection device according to claim 5 or 6 , which scrolls and displays the form image so as to be displayed in. 前記表示制御部は、前記特定項目の項目値の検出結果に基づいて、前記帳票画像内の各検査対象の間隔を特定し、前記特定した間隔単位で前記帳票画像をスクロール表示する、請求項に記載の検査装置。 7. The display control unit specifies an interval of each inspection target in the form image based on the detection result of the item value of the specific item, and scrolls and displays the form image in the specified interval unit. The inspection device described in. 前記表示制御部は、前記注目対象を前記注目対象以外の検査対象と区別可能に表示する、請求項の何れか一項に記載の検査装置。 The inspection device according to any one of claims 5 to 8 , wherein the display control unit displays the attention target so as to be distinguishable from inspection targets other than the attention target. 前記表示制御部は、
利用者による第1指示に応じて、複数の帳票画像のそれぞれに対する前記判定結果を切り替えて表示し、
利用者による第2指示に応じて、前記複数の帳票画像の内、前記検出部によって検出された複数の特定項目の項目値が、前記関係式に示された関係を有さない帳票画像に対する前記判定結果を順次切り替えて表示する、請求項1~の何れか一項に記載の検査装置。
The display control unit
According to the first instruction by the user, the determination result for each of the plurality of form images is switched and displayed.
In response to the second instruction by the user, among the plurality of form images, the item values of the plurality of specific items detected by the detection unit are the same for the form image having no relationship shown in the relational expression. The inspection device according to any one of claims 1 to 9 , wherein the determination results are sequentially switched and displayed.
前記検出部は、複数の検査対象毎に、各要素項目に対応した特定項目の項目値を検出し、
前記表示制御部は、
利用者による第3指示に応じて、前記複数の検査対象のそれぞれに対する前記判定結果を切り替えて表示し、
利用者による第4指示に応じて、前記複数の検査対象の内、前記検出部によって検出された複数の特定項目の項目値が、前記関係式に示された関係を有さない検査対象に対する前記判定結果を順次切り替えて表示する、請求項1~10の何れか一項に記載の検査装置。
The detection unit detects the item value of a specific item corresponding to each element item for each of a plurality of inspection targets.
The display control unit
In response to the third instruction by the user, the determination result for each of the plurality of inspection targets is switched and displayed.
According to the fourth instruction by the user, among the plurality of inspection targets, the item values of the plurality of specific items detected by the detection unit are the inspection targets having no relationship shown in the relational expression. The inspection device according to any one of claims 1 to 10 , wherein the determination results are sequentially switched and displayed.
記憶部を有する検査装置の制御方法であって、
複数の要素項目毎に項目名候補が優先順位に従って前記記憶部に記憶するとともに、一つの特定項目の一つの項目値である数値と、他の特定項目の複数の項目値である数値との間の関係を示す関係式を前記記憶部に記憶し、
前記項目名候補の何れかが含まれる帳票画像を取得し、
前記複数の要素項目毎に、対応する項目名候補が前記帳票画像に含まれているかを前記優先順位に従って順次判定し、最初に含まれていると判定された項目名候補を、要素項目に対応した特定項目として検出し、
前記検出された複数の特定項目のそれぞれの項目値が、前記関係式に示された関係を有するか否かを判定し、
前記判定における判定結果を表示する、ことを含み、
前記表示において、前記検出された複数の特定項目の項目値が、前記関係式に示された関係を有さない場合、前記一つの特定項目の一つの項目値と、前記他の特定項目の複数の項目値とを全て強調表示する、
とを特徴とする制御方法。
It is a control method of an inspection device having a storage unit.
Item name candidates are stored in the storage unit in order of priority for each of a plurality of element items , and between a numerical value that is one item value of one specific item and a numerical value that is a plurality of item values of another specific item. The relational expression showing the relation of is stored in the storage part, and
Obtain a form image that includes any of the item name candidates,
For each of the plurality of element items, it is sequentially determined whether or not the corresponding item name candidate is included in the form image according to the priority order, and the item name candidate determined to be included first corresponds to the element item. Detected as a specific item
It is determined whether or not the item value of each of the plurality of detected specific items has the relationship shown in the relational expression.
Including displaying the judgment result in the judgment.
In the above display, when the detected item values of the plurality of specific items do not have the relationship shown in the relational expression, one item value of the one specific item and a plurality of the other specific items. Highlight all the item values of
A control method characterized by that .
記憶部を有する検査装置の制御プログラムであって、
複数の要素項目毎に項目名候補が優先順位に従って前記記憶部に記憶するとともに、一つの特定項目の一つの項目値である数値と、他の特定項目の複数の項目値である数値との間の関係を示す関係式を前記記憶部に記憶し、
前記項目名候補の何れかが含まれる帳票画像を取得し、
前記複数の要素項目毎に、対応する項目名候補が前記帳票画像に含まれているかを前記優先順位に従って順次判定し、最初に含まれていると判定された項目名候補を、要素項目に対応した特定項目として検出し、
前記検出された複数の特定項目のそれぞれの項目値が、前記関係式に示された関係を有するか否かを判定し、
前記判定における判定結果を表示する、ことを前記検査装置に実行させ、
前記表示において、前記検出された複数の特定項目の項目値が、前記関係式に示された関係を有さない場合、前記一つの特定項目の一つの項目値と、前記他の特定項目の複数の項目値とを全て強調表示する、
とを特徴とする制御プログラム。
A control program for an inspection device that has a storage unit.
Item name candidates are stored in the storage unit in order of priority for each of a plurality of element items , and between a numerical value that is one item value of one specific item and a numerical value that is a plurality of item values of another specific item. The relational expression showing the relation of is stored in the storage part, and
Obtain a form image that includes any of the item name candidates,
For each of the plurality of element items, it is sequentially determined whether or not the corresponding item name candidate is included in the form image according to the priority order, and the item name candidate determined to be included first corresponds to the element item. Detected as a specific item
It is determined whether or not the item value of each of the plurality of detected specific items has the relationship shown in the relational expression.
The inspection device is made to display the determination result in the determination.
In the above display, when the detected item values of the plurality of specific items do not have the relationship shown in the relational expression, one item value of the one specific item and a plurality of the other specific items. Highlight all the item values of
A control program characterized by that .
JP2020523916A 2018-06-06 2018-06-06 Inspection equipment, control method and control program Active JP7039693B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/021759 WO2019234865A1 (en) 2018-06-06 2018-06-06 Inspection device, control method, and control program

Publications (2)

Publication Number Publication Date
JPWO2019234865A1 JPWO2019234865A1 (en) 2021-01-07
JP7039693B2 true JP7039693B2 (en) 2022-03-22

Family

ID=68769823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020523916A Active JP7039693B2 (en) 2018-06-06 2018-06-06 Inspection equipment, control method and control program

Country Status (2)

Country Link
JP (1) JP7039693B2 (en)
WO (1) WO2019234865A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015146075A (en) 2014-01-31 2015-08-13 株式会社日本デジタル研究所 accounting data input support system, method, and program
JP2017126225A (en) 2016-01-14 2017-07-20 キヤノン株式会社 Image processing device, method and program
JP2017220266A (en) 2017-09-21 2017-12-14 株式会社東芝 Document reading device, program and document reading method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09297821A (en) * 1996-05-08 1997-11-18 Toshiba Corp Character recognition method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015146075A (en) 2014-01-31 2015-08-13 株式会社日本デジタル研究所 accounting data input support system, method, and program
JP2017126225A (en) 2016-01-14 2017-07-20 キヤノン株式会社 Image processing device, method and program
JP2017220266A (en) 2017-09-21 2017-12-14 株式会社東芝 Document reading device, program and document reading method

Also Published As

Publication number Publication date
JPWO2019234865A1 (en) 2021-01-07
WO2019234865A1 (en) 2019-12-12

Similar Documents

Publication Publication Date Title
JP6202215B2 (en) Information processing apparatus, shelf label management system, control method, and program
CN100383717C (en) Portable terminal and data input method therefor
US20080285792A1 (en) Form Data Extraction Without Customization
WO2016206279A1 (en) Touch control display device and touch control method therefor
WO2016052382A1 (en) Information processing device, shelf label management system, control method, and program
JP2018205910A (en) Computer, document identification method, and system
JP6831951B2 (en) Image recognition system
US20240012822A1 (en) Error identification, indexing and linking construction documents
US20140023242A1 (en) Recognition dictionary processing apparatus and recognition dictionary processing method
US20160042717A1 (en) List searching method and portable device using the same
JP7444495B2 (en) OCR-based document analysis system and method
JP5601250B2 (en) Image data processing method, program, and terminal device
JP2021056750A (en) Data input support device, data input support method and program
US10275439B2 (en) Information processing device, display method and control program
WO2018167974A1 (en) Image processing device, control method, and control program
JP7039693B2 (en) Inspection equipment, control method and control program
AU2015218443B2 (en) Itinerary estimation device and method, program, and information classification method
US11875587B2 (en) Information processing system, information processing method, and non-transitory recording medium
US11232587B2 (en) Use of image sensors to query real world for geo-reference information
WO2017170632A1 (en) Commodity data registration terminal, commodity data registration method, and commodity data registration program
JP6361432B2 (en) Display control program, display control method, and display control apparatus
JP6749218B2 (en) Menu generation system, menu generation method, and control program
JP6857373B1 (en) Information processing equipment, information processing methods, and programs
JP6421528B2 (en) Display control program, display control method, and information processing apparatus
KR20150100332A (en) Sketch retrieval system, user equipment, service equipment, service method and computer readable medium having computer program recorded therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200601

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210406

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210602

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220127

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220309

R150 Certificate of patent or registration of utility model

Ref document number: 7039693

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150