JP2019207735A - Mobile terminal, image processing method, and program - Google Patents

Mobile terminal, image processing method, and program Download PDF

Info

Publication number
JP2019207735A
JP2019207735A JP2019157096A JP2019157096A JP2019207735A JP 2019207735 A JP2019207735 A JP 2019207735A JP 2019157096 A JP2019157096 A JP 2019157096A JP 2019157096 A JP2019157096 A JP 2019157096A JP 2019207735 A JP2019207735 A JP 2019207735A
Authority
JP
Japan
Prior art keywords
document
feature
partial feature
partial
frame
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.)
Granted
Application number
JP2019157096A
Other languages
Japanese (ja)
Other versions
JP6785930B2 (en
Inventor
尚人 山口
Naoto Yamaguchi
尚人 山口
清人 小坂
Kiyoto Kosaka
清人 小坂
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
Priority to JP2019157096A priority Critical patent/JP6785930B2/en
Publication of JP2019207735A publication Critical patent/JP2019207735A/en
Application granted granted Critical
Publication of JP6785930B2 publication Critical patent/JP6785930B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Image Analysis (AREA)
  • Character Input (AREA)

Abstract

To allow for quickly and accurately determining form types.SOLUTION: An image processing method is provided, comprising: acquiring a frame captured by an image capturing unit; acquiring document image data of a document from the frame; determining whether or not at least one partial feature of a registered form matches a document partial feature in the document at a position corresponding to a position of the partial feature in the form; and acquiring a frame captured by the image capturing unit again when it is determined that the partial feature and the document partial feature do not match.SELECTED DRAWING: Figure 1

Description

本発明は、モバイル端末、画像処理方法、および、プログラムに関する。   The present invention relates to a mobile terminal, an image processing method, and a program.

従来から、画像照合を実行する技術が開示されている。   Conventionally, techniques for executing image matching have been disclosed.

ここで、入力帳票の複数の特徴点を登録帳票の複数の特徴点とマッチングを行い、回転補正を行う技術が開示されている(特許文献1を参照)。   Here, a technique for performing rotation correction by matching a plurality of feature points of an input form with a plurality of feature points of a registered form is disclosed (see Patent Document 1).

また、登録イメージとサイズが合わされた書類イメージから書類の特徴を抽出し、抽出した書類の特徴を、書類イメージとサイズが合わされた登録イメージの特徴と順次マッチングさせる技術が開示されている(特許文献2を参照)。   Further, a technique is disclosed in which document features are extracted from a document image whose size is matched with a registered image, and the extracted document features are sequentially matched with features of a registered image whose size is matched with the document image (Patent Literature). 2).

また、運転免許証画像を処理可能な運転免許証画像であるか否かを判定し、処理不可能な運転免許証画像の場合、運転免許証画像が処理不可能である旨を出力する技術が開示されている(特許文献3を参照)。   Further, there is a technology for determining whether or not the driver's license image is a processable driver's license image, and outputting a message indicating that the driver's license image cannot be processed in the case of a driver's license image that cannot be processed. It is disclosed (see Patent Document 3).

また、デジタル画像について、複数の公知の文書種類の1つ以上の公知の寸法と比較することにより、どの種類の文書のデジタル画像かを判別する技術が開示されている(特許文献4を参照)。   In addition, a technique is disclosed in which a digital image is discriminated from one or more known dimensions of a plurality of known document types to determine what type of document the digital image is (see Patent Document 4). .

特開2012−98984号公報JP 2012-98984 A 特開2001−325563号公報JP 2001-325563 A 特開平7−65118号公報JP-A-7-65118 特表2015−503813号公報Special table 2015-503813 gazette

しかしながら、従来の撮影装置(特許文献1等)においては、マッチングに時間がかかり、高精度な帳票種別判定を高速に実施できないという問題点を有していた。   However, the conventional photographing apparatus (Patent Document 1 or the like) has a problem that it takes time for matching and high-precision form type determination cannot be performed at high speed.

開示の技術は、判定対象の画像に対して、1つの部分的な特徴点のマッチングを行い、判定対象の画像の画質が悪い場合、自動的に再撮影を行い、マッチングをリトライすることで、高精度な帳票種別判定を高速に実施することを目的とする。   The disclosed technology performs matching of one partial feature point on the determination target image, and automatically performs re-photographing when the image quality of the determination target image is poor, and retrying the matching, The purpose is to perform high-precision form type determination at high speed.

開示の態様に係るモバイル端末は、撮影部の撮影によるフレームを取得するフレーム取得手段と、前記フレームから原稿の原稿画像データを取得する原稿取得手段と、登録された帳票の1つの部分特徴と、当該帳票中の当該部分特徴の位置に対応する位置にある前記原稿中の原稿部分特徴と、が一致するか否かを判定する部分特徴判定手段と、前記部分特徴判定手段により前記部分特徴と前記原稿部分特徴とが一致しないと判定された場合、前記撮影部の再度の撮影によるフレームを取得する再取得手段と、を備えたことを特徴とする。   A mobile terminal according to an aspect of the disclosure includes a frame acquisition unit that acquires a frame obtained by shooting by a shooting unit, a document acquisition unit that acquires document image data of a document from the frame, and one partial feature of a registered form, Partial feature determination means for determining whether or not the document partial feature in the document at a position corresponding to the position of the partial feature in the form matches, and the partial feature determination means determines the partial feature and the Re-acquisition means for acquiring a frame by re-shooting by the shooting unit when it is determined that the document part feature does not match.

また、開示の態様に係る画像処理方法は、撮影部の撮影によるフレームを取得するフレーム取得ステップと、前記フレームから原稿の原稿画像データを取得する原稿取得ステップと、登録された帳票の1つの部分特徴と、当該帳票中の当該部分特徴の位置に対応する位置にある前記原稿中の原稿部分特徴と、が一致するか否かを判定する部分特徴判定ステップと、前記部分特徴判定ステップにて前記部分特徴と前記原稿部分特徴とが一致しないと判定された場合、前記撮影部の再度の撮影によるフレームを取得する再取得ステップと、を含むことを特徴とする。   In addition, an image processing method according to an aspect of the disclosure includes a frame acquisition step of acquiring a frame obtained by shooting by a shooting unit, a document acquisition step of acquiring document image data of a document from the frame, and one part of a registered form In the partial feature determination step for determining whether or not the feature matches the document partial feature in the document at a position corresponding to the position of the partial feature in the form, the partial feature determination step A re-acquisition step of acquiring a frame by re-shooting by the shooting unit when it is determined that the partial feature and the document partial feature do not match.

また、開示の態様に係るプログラムは、撮影部の撮影によるフレームを取得するフレーム取得ステップと、前記フレームから原稿の原稿画像データを取得する原稿取得ステップと、登録された帳票の1つの部分特徴と、当該帳票中の当該部分特徴の位置に対応する位置にある前記原稿中の原稿部分特徴と、が一致するか否かを判定する部分特徴判定ステップと、前記部分特徴判定ステップにて前記部分特徴と前記原稿部分特徴とが一致しないと判定された場合、前記撮影部の再度の撮影によるフレームを取得する再取得ステップと、をコンピュータに実行させることを特徴とする。   Further, a program according to an aspect of the disclosure includes a frame acquisition step of acquiring a frame obtained by shooting by a shooting unit, a document acquisition step of acquiring document image data of a document from the frame, and one partial feature of a registered form The partial feature determination step for determining whether or not the document partial feature in the document at a position corresponding to the position of the partial feature in the form matches, and the partial feature in the partial feature determination step And a re-acquisition step of acquiring a frame obtained by re-shooting by the shooting unit when it is determined that the document part feature does not match the document part feature.

開示の態様によれば、撮影した画像から自動的に目的の帳票を判断し、OCR認識等が可能な画質であった場合にのみ画像取得を行うため、撮影開始してからはユーザの手間なく目的の原稿を撮影できる。   According to the disclosed aspect, the target form is automatically determined from the photographed image, and the image is acquired only when the image quality is such that OCR recognition is possible. You can shoot the desired original.

図1は、本実施形態に係るモバイル端末の構成の一例を示すブロック図である。FIG. 1 is a block diagram illustrating an example of a configuration of a mobile terminal according to the present embodiment. 図2は、本実施形態のモバイル端末における処理の一例を示すフローチャートである。FIG. 2 is a flowchart illustrating an example of processing in the mobile terminal according to the present embodiment. 図3は、本実施形態における画面表示の一例を示す図である。FIG. 3 is a diagram illustrating an example of a screen display in the present embodiment. 図4は、本実施形態のモバイル端末における処理の一例を示すフローチャートである。FIG. 4 is a flowchart illustrating an example of processing in the mobile terminal according to the present embodiment. 図5は、本実施形態における部分特徴判定の一例を示す図である。FIG. 5 is a diagram illustrating an example of partial feature determination in the present embodiment. 図6は、本実施形態における全体特徴判定の一例を示す図である。FIG. 6 is a diagram illustrating an example of overall feature determination in the present embodiment. 図7は、本実施形態のモバイル端末における処理の一例を示すフローチャートである。FIG. 7 is a flowchart illustrating an example of processing in the mobile terminal according to the present embodiment.

以下に、本開示の実施形態を図面に基づいて詳細に説明する。なお、この実施形態により本発明が限定されるものではない。   Hereinafter, an embodiment of the present disclosure will be described in detail based on the drawings. In addition, this invention is not limited by this embodiment.

[本実施形態の構成]
以下、本発明の実施形態に係るモバイル端末100の構成の一例について図1を参照して説明し、その後、本実施形態の処理等について詳細に説明する。図1は、本実施形態に係るモバイル端末100の構成の一例を示すブロック図である。
[Configuration of this embodiment]
Hereinafter, an example of the configuration of the mobile terminal 100 according to the embodiment of the present invention will be described with reference to FIG. 1, and then the processing and the like of the present embodiment will be described in detail. FIG. 1 is a block diagram illustrating an example of a configuration of the mobile terminal 100 according to the present embodiment.

但し、以下に示す実施形態は、本発明の技術思想を具体化するためのモバイル端末100を例示するものであって、本発明をこのモバイル端末100に特定することを意図するものではなく、請求の範囲に含まれるその他の実施形態のモバイル端末100にも等しく適用し得るものである。   However, the embodiment described below exemplifies the mobile terminal 100 for embodying the technical idea of the present invention, and is not intended to specify the present invention for this mobile terminal 100, and claims. The present invention is equally applicable to the mobile terminals 100 of other embodiments included in the scope of the above.

また、本実施形態で例示するモバイル端末100における機能分散の形態は以下に限られず、同様の効果や機能を奏し得る範囲において、任意の単位で機能的または物理的に分散・統合して構成することができる。   In addition, the form of function distribution in the mobile terminal 100 exemplified in the present embodiment is not limited to the following, and may be configured to be functionally or physically distributed / integrated in arbitrary units within a range where similar effects and functions can be achieved. be able to.

ここで、モバイル端末100は、例えば、タブレット端末、携帯電話、スマートフォン、PHS、PDA、ノート型のパーソナルコンピュータ、または、メガネ型もしくは時計型などのウェアラブルコンピュータ等の可搬性を有する携帯型の情報処理装置であってもよい。   Here, the mobile terminal 100 is a portable information processing having portability such as a tablet terminal, a mobile phone, a smartphone, a PHS, a PDA, a notebook personal computer, or a wearable computer such as a glasses type or a watch type. It may be a device.

まず、図1に示すように、モバイル端末100は、概略的に、制御部102と記憶部106と撮影部110と入出力部112とセンサ部114と通信部116とを備えて構成される。   First, as shown in FIG. 1, the mobile terminal 100 is generally configured to include a control unit 102, a storage unit 106, a photographing unit 110, an input / output unit 112, a sensor unit 114, and a communication unit 116.

ここで、図1では省略しているが、本実施形態において、更に、入出力部112と制御部102とを接続する入出力インターフェース部(図示せず)を備えていてもよい。これらモバイル端末100の各部は任意の通信路を介して通信可能に接続されている。   Here, although omitted in FIG. 1, in the present embodiment, an input / output interface unit (not shown) for connecting the input / output unit 112 and the control unit 102 may be further provided. Each unit of the mobile terminal 100 is connected to be communicable via an arbitrary communication path.

ここで、通信部116は、有線通信および/または無線通信(WiFi等)によりIPデータを送受信するためのネットワークインターフェース(NIC(Network Interface Controller)等)、Bluetooth(登録商標)、または、赤外線通信等によって無線通信を行うインターフェースであってもよい。   Here, the communication unit 116 is a network interface (NIC (Network Interface Controller), etc.), Bluetooth (registered trademark), infrared communication, etc. for transmitting and receiving IP data by wired communication and / or wireless communication (WiFi, etc.). May be an interface that performs wireless communication.

ここで、モバイル端末100は、通信部116を用いて、ネットワークを介して外部装置と通信可能に接続されていてもよい。   Here, the mobile terminal 100 may be communicably connected to an external device via a network using the communication unit 116.

また、センサ部114は、物理量を検出して別媒体の信号(デジタル信号)に変換する。ここで、センサ部114は、近接センサ、方角センサ、磁場センサ、直線加速センサ、輝度センサ、ジャイロセンサ、圧力センサ、重力センサ、加速度センサ、気圧センサ、および/または、温度センサ等を含んでいてもよい。   Further, the sensor unit 114 detects a physical quantity and converts it into a signal (digital signal) of another medium. Here, the sensor unit 114 includes a proximity sensor, a direction sensor, a magnetic field sensor, a linear acceleration sensor, a luminance sensor, a gyro sensor, a pressure sensor, a gravity sensor, an acceleration sensor, an atmospheric pressure sensor, and / or a temperature sensor. Also good.

また、入出力部112は、データの入出力(I/O)を行う。ここで、入出力部112は、例えば、キー入力部、タッチパネル、コントロールパッド(例えば、タッチパッド、および、ゲームパッド等)、マウス、キーボード、および/または、マイク等であってもよい。   The input / output unit 112 performs data input / output (I / O). Here, the input / output unit 112 may be, for example, a key input unit, a touch panel, a control pad (for example, a touch pad and a game pad), a mouse, a keyboard, and / or a microphone.

また、入出力部112は、アプリケーション等の表示画面を表示する表示部(例えば、液晶または有機EL等から構成されるディスプレイ、モニタ、または、タッチパネル等)であってもよい。   Further, the input / output unit 112 may be a display unit (for example, a display, a monitor, a touch panel, or the like including a liquid crystal or an organic EL) that displays a display screen of an application or the like.

また、入出力部112は、音声情報を音声として出力する音声出力部(例えば、スピーカ等)であってもよい。また、入出力部(タッチパネル)112は、物理的接触を検出し、信号(デジタル信号)に変換するセンサ部114を含んでいてもよい。   The input / output unit 112 may be an audio output unit (for example, a speaker) that outputs audio information as audio. The input / output unit (touch panel) 112 may include a sensor unit 114 that detects physical contact and converts it into a signal (digital signal).

また、撮影部110は、被写体(例えば、原稿等)を連続画像撮影(動画撮影)することで、連続(動画)の画像データ(フレーム)を取得する。例えば、撮影部110は、映像データを取得してもよい。また、撮影部110は、アンシラリデータを取得してもよい。   The photographing unit 110 obtains continuous (moving image) image data (frames) by continuously photographing a subject (for example, a document or the like). For example, the imaging unit 110 may acquire video data. In addition, the imaging unit 110 may acquire ancillary data.

ここで、撮影部110は、CCD(Charge Coupled Device)、および/または、CMOS(Complementary Metal Oxide Semiconductor)等の撮像素子を備えたカメラ等であってもよい。   Here, the imaging unit 110 may be a camera or the like that includes an imaging device such as a charge coupled device (CCD) and / or a complementary metal oxide semiconductor (CMOS).

また、撮影部110は、被写体を静止画撮影することで、静止画の画像データを取得してもよい。ここで、フレームは、非圧縮の画像データであってもよい。また、フレームは、高解像度の画像データであってもよい。   The photographing unit 110 may acquire still image data by taking a still image of the subject. Here, the frame may be uncompressed image data. The frame may be high-resolution image data.

ここで、高解像度とは、フルハイビジョン、4K解像度、または、スーパーハイビジョン(8K解像度)等であってもよい。また、撮影部110は、24fpsまたは30fps等で動画撮影してもよい。また、撮影部110は、カメラであってもよい。   Here, the high resolution may be full high vision, 4K resolution, super high vision (8K resolution), or the like. Further, the photographing unit 110 may shoot moving images at 24 fps, 30 fps, or the like. Further, the photographing unit 110 may be a camera.

記憶部106は、ストレージ手段であり、例えばRAM・ROM等のメモリ、ハードディスクのような固定ディスク装置、SSD(Solid State Drive)、および/または、光ディスク等を用いることができる。   The storage unit 106 is a storage unit, and for example, a memory such as a RAM / ROM, a fixed disk device such as a hard disk, an SSD (Solid State Drive), and / or an optical disk can be used.

また、記憶部106は、各種のデータベース、テーブル、バッファ、および/または、ファイル(特徴データファイル106a、および、画像データファイル106b等)を格納する。ここで、記憶部106には、CPU(Central Processing Unit)に命令を与え各種処理を行うためのコンピュータプログラム等が記録されていてもよい。   The storage unit 106 stores various databases, tables, buffers, and / or files (such as the feature data file 106a and the image data file 106b). Here, the storage unit 106 may store a computer program or the like for giving a command to a CPU (Central Processing Unit) and performing various processes.

これら記憶部106の各構成要素のうち、特徴データファイル106aは、複数の帳票の特徴に関する特徴データを記憶(登録)する。ここで、特徴は、帳票の部分特徴、および/または、全体特徴等であってもよい。   Among each component of the storage unit 106, the feature data file 106a stores (registers) feature data related to the features of a plurality of forms. Here, the feature may be a partial feature of the form and / or an overall feature.

ここで、部分特徴は、帳票の罫線、文字、および/または、特徴的画像等から構成されてもよい。ここで、特徴的画像は、絵柄画像、文字画像、顔画像、または、背景画像等であってもよい。また、全体特徴は、複数の部分特徴を示してもよい。   Here, the partial feature may be composed of a ruled line of a form, a character, and / or a characteristic image. Here, the characteristic image may be a pattern image, a character image, a face image, a background image, or the like. The overall feature may indicate a plurality of partial features.

また、画像データファイル106bは、画像データ(フレーム等)を記憶する。ここで、画像データファイル106bは、原稿画像データ、原稿の一部領域の領域画像データ、および/または、原稿の分割領域の分割領域画像データを記憶していてもよい。   The image data file 106b stores image data (such as a frame). Here, the image data file 106b may store document image data, region image data of a partial region of the document, and / or divided region image data of a divided region of the document.

また、画像データファイル106bは、原稿、および/または、分割領域等の位置データを記憶していてもよい。また、画像データファイル106bは、画像データに対応する文字データを記憶していてもよい。   The image data file 106b may store position data such as a document and / or a divided area. The image data file 106b may store character data corresponding to the image data.

例えば、画像データファイル106bは、画像データから識別した帳票種、および/または、帳票に記載された文字に関する文字データを記憶していてもよい。また、画像データファイル106bは、映像データを記憶していてもよい。また、画像データファイル106bは、アンシラリデータを記憶していてもよい。   For example, the image data file 106b may store form data identified from the image data and / or character data related to characters described in the form. The image data file 106b may store video data. The image data file 106b may store ancillary data.

また、制御部102は、モバイル端末100を統括的に制御するCPU、GPU(Graphics Processing Unit)、DSP(Digital Signal Processor)、LSI(Large Scale Integration)、ASIC(Application Specific Integrated Circuit)、および/または、FPGA(Field−Programming Gate Array)等を含む有形のコントローラから構成されてもよい。   In addition, the control unit 102 is a CPU, GPU (Graphics Processing Unit), DSP (Digital Signal Processor), LSI (Large Scale Integration), ASIC (Application Specific Integrate) and ASIC (Integrated Specimen Integrate Integrate / Circuit Integrate). And a tangible controller including an FPGA (Field-Programming Gate Array).

また、制御部102は、制御プログラムと各種の処理手順等を規定したプログラムと所要データとを格納するための内部メモリを有し、これらプログラムに基づいて種々の処理を実行するための情報処理を行う。   In addition, the control unit 102 has an internal memory for storing a control program, a program defining various processing procedures, and necessary data, and performs information processing for executing various processes based on these programs. Do.

ここで、制御部102は、機能概念的に、フレーム取得部102a、原稿取得部102b、部分特徴判定部102c、全体特徴判定部102d、再取得部102e、画像表示部102f、および、OCR部102gを備える。   Here, the control unit 102 conceptually has a frame acquisition unit 102a, a document acquisition unit 102b, a partial feature determination unit 102c, an overall feature determination unit 102d, a re-acquisition unit 102e, an image display unit 102f, and an OCR unit 102g. Is provided.

フレーム取得部102aは、画像データ(フレーム)を取得する。ここで、フレーム取得部102aは、撮影部110の撮影による画像データを取得してもよい。また、フレーム取得部102aは、非圧縮且つ高解像度の画像データを取得してもよい。   The frame acquisition unit 102a acquires image data (frame). Here, the frame acquisition unit 102a may acquire image data obtained by photographing by the photographing unit 110. The frame acquisition unit 102a may acquire non-compressed and high-resolution image data.

また、フレーム取得部102aは、撮影部110による連続画像撮影または動画撮影を制御して、1コマに相当する画像データ(フレーム)を取得してもよい。また、フレーム取得部102aは、撮影部110による静止画撮影を制御して、画像データを取得してもよい。また、フレーム取得部102aは、アンシラリデータを取得してもよい。   The frame acquisition unit 102a may acquire image data (frame) corresponding to one frame by controlling continuous image shooting or moving image shooting by the shooting unit 110. The frame acquisition unit 102a may acquire image data by controlling still image shooting by the shooting unit 110. The frame acquisition unit 102a may acquire ancillary data.

原稿取得部102bは、原稿の原稿画像データを取得する。ここで、原稿取得部102bは、フレームから原稿の原稿画像データを取得してもよい。また、原稿取得部102bは、フレームから原稿の一部領域の領域画像データを取得してもよい。ここで、原稿は、矩形原稿であってもよい。   The document acquisition unit 102b acquires document image data of a document. Here, the document acquisition unit 102b may acquire document image data of a document from a frame. Further, the document acquisition unit 102b may acquire region image data of a partial region of the document from the frame. Here, the document may be a rectangular document.

また、原稿取得部102bは、フレームから原稿の分割領域の分割領域画像データを取得してもよい。ここで、原稿取得部102bは、フレームから原稿の位置データを検出してもよい。ここで、原稿取得部102bは、フレームから原稿のコーナー座標(4点)を検出してもよい。   Further, the document acquisition unit 102b may acquire the divided region image data of the divided region of the document from the frame. Here, the document acquisition unit 102b may detect the position data of the document from the frame. Here, the document acquisition unit 102b may detect the corner coordinates (four points) of the document from the frame.

また、原稿取得部102bは、フレームから原稿のレイアウトを検出してもよい。また、原稿取得部102bは、エッジ検出法、および/または、特徴点マッチング法を用いて、フレームから原稿の位置データを検出し、原稿の位置データに基づいて、原稿画像データを取得してもよい。   The document acquisition unit 102b may detect the layout of the document from the frame. Further, the document acquisition unit 102b may detect the position data of the document from the frame using the edge detection method and / or the feature point matching method, and acquire the document image data based on the position data of the document. Good.

部分特徴判定部102cは、特徴データファイル106aに登録された帳票の部分特徴と、当該帳票中の当該部分特徴の位置に対応する位置にある原稿中の原稿部分特徴と、が一致するか否かを判定する。   The partial feature determination unit 102c determines whether or not the partial feature of the form registered in the feature data file 106a matches the original partial feature in the original at a position corresponding to the position of the partial feature in the form. Determine.

ここで、部分特徴判定部102cは、特徴データファイル106aに登録された帳票の1つの部分特徴と、当該帳票中の当該部分特徴の位置に対応する位置にある原稿中の原稿部分特徴と、が一致するか否かを判定してもよい。   Here, the partial feature determination unit 102c has one partial feature of the form registered in the feature data file 106a and a document partial feature in the document at a position corresponding to the position of the partial feature in the form. It may be determined whether or not they match.

また、部分特徴判定部102cは、特徴データファイル106aに登録された帳票の1つの部分特徴と、当該帳票中の当該部分特徴の位置に対応する位置にある原稿中の原稿部分特徴と、の一致度合を閾値と比較することにより、部分特徴と原稿部分特徴とが一致するか否かを判定してもよい。   In addition, the partial feature determination unit 102c matches one partial feature of the form registered in the feature data file 106a with the original partial feature in the document at a position corresponding to the position of the partial feature in the form. By comparing the degree with a threshold value, it may be determined whether or not the partial feature matches the original document partial feature.

また、部分特徴判定部102cは、特徴データファイル106aに登録された帳票の部分特徴を構成する罫線、文字および/または特徴的画像の、位置(座標)、色の階調値、数および/またはサイズに基づいて、当該部分特徴と当該部分特徴の位置に対応する位置にある原稿中の原稿部分特徴との一致度合を閾値と比較することにより、部分特徴と原稿部分特徴とが一致するか否かを判定してもよい。   In addition, the partial feature determination unit 102c also includes the position (coordinates), the color gradation value, the number, and / or the ruled lines, characters, and / or characteristic images constituting the partial features of the form registered in the feature data file 106a. Based on the size, whether or not the partial feature and the document partial feature match by comparing the matching degree between the partial feature and the document partial feature in the document at the position corresponding to the position of the partial feature with a threshold. It may be determined.

ここで、サイズは、長さ、大きさ、角度、および/または、幅等であってもよく、これらの組み合わせで表された概念(例えば、形状等)であってもよい。   Here, the size may be a length, a size, an angle, and / or a width, or may be a concept (for example, a shape) expressed by a combination thereof.

また、部分特徴が罫線の場合、部分特徴判定部102cは、罫線の交点座標の位置、罫線の色の階調値、罫線の本数、ならびに/または、罫線の長さおよび/もしくは幅等に基づいて、部分特徴と原稿部分特徴との一致度合を閾値と比較してもよい。   When the partial feature is a ruled line, the partial feature determination unit 102c is based on the position of the coordinate of the intersection of the ruled line, the gradation value of the ruled line color, the number of ruled lines, and / or the length and / or width of the ruled line. Thus, the degree of coincidence between the partial feature and the document partial feature may be compared with a threshold value.

また、部分特徴が文字の場合、部分特徴判定部102cは、文字の位置、文字の色の階調値、文字の個数、ならびに/または、文字の領域の大きさ、長さおよび/もしくは幅等に基づいて、部分特徴と原稿部分特徴との一致度合を閾値と比較してもよい。   In the case where the partial feature is a character, the partial feature determination unit 102c determines the character position, the character color gradation value, the number of characters, and / or the size, length, and / or width of the character region. The degree of coincidence between the partial feature and the document partial feature may be compared with a threshold.

また、部分特徴が特徴的画像(例えば、絵柄画像等)の場合、特徴的画像の位置、特徴的画像の色の階調値、特徴的画像の個数、ならびに/または、特徴的画像の大きさ、長さ、幅および/もしくは形状等に基づいて、部分特徴と原稿部分特徴との一致度合を閾値と比較してもよい。   When the partial feature is a characteristic image (for example, a pattern image), the position of the characteristic image, the color gradation value of the characteristic image, the number of characteristic images, and / or the size of the characteristic image The degree of coincidence between the partial feature and the original document partial feature may be compared with a threshold value based on the length, width, and / or shape.

全体特徴判定部102dは、特徴データファイル106aに登録された帳票の全体特徴と、原稿の原稿全体特徴と、が一致するか否かを判定する。   The overall feature determination unit 102d determines whether the overall feature of the form registered in the feature data file 106a matches the overall document feature of the document.

ここで、全体特徴判定部102dは、部分特徴判定部102cにより部分特徴と原稿部分特徴とが一致すると判定された場合、特徴データファイル106aに登録された帳票の全体特徴と、原稿の原稿全体特徴と、が一致するか否かを判定してもよい。   Here, if the partial feature determination unit 102c determines that the partial feature and the document partial feature match, the overall feature determination unit 102d and the overall feature of the document registered in the feature data file 106a and the original document original feature And whether or not match.

ここで、全体特徴判定部102dは、部分特徴判定部102cにより部分特徴と原稿部分特徴とが一致すると判定された場合、特徴データファイル106aに登録された帳票の複数の部分特徴と、当該帳票中の当該各部分特徴の位置に対応する位置にある原稿中の原稿部分特徴と、が一致するか否かを判定してもよい。   Here, if the partial feature determination unit 102c determines that the partial feature and the document partial feature match, the overall feature determination unit 102d determines a plurality of partial features of the form registered in the feature data file 106a and the It may be determined whether or not the document partial feature in the document at a position corresponding to the position of each of the partial features matches.

再取得部102eは、特徴判定に用いたフレームを取得する、または、撮影部110の再度の撮影による画像データ(フレーム)を取得する。ここで、再取得部102eは、更に、疑似シャッター動作情報を出力させてもよい。   The re-acquisition unit 102e acquires a frame used for feature determination, or acquires image data (frame) obtained by re-shooting by the shooting unit 110. Here, the reacquisition unit 102e may further output pseudo shutter operation information.

ここで、再取得部102eは、部分特徴判定部102cにより部分特徴と原稿部分特徴とが一致しないと判定された場合、撮影部110の再度の撮影によるフレームを取得してもよい。   Here, when the partial feature determination unit 102c determines that the partial feature and the document partial feature do not match, the re-acquisition unit 102e may acquire a frame obtained by re-shooting by the shooting unit 110.

また、再取得部102eは、全体特徴判定部102dにより全体特徴と原稿全体特徴とが一致しないと判定された場合、撮影部110の再度の撮影によるフレームを取得してもよい。   Further, the re-acquisition unit 102e may acquire a frame obtained by re-shooting by the shooting unit 110 when the overall feature determination unit 102d determines that the overall feature and the entire document feature do not match.

また、再取得部102eは、全体特徴判定部102dにより複数の部分特徴と原稿部分特徴とが一致しないと判定された場合、撮影部110の再度の撮影によるフレームを取得してもよい。   The re-acquisition unit 102e may acquire a frame obtained by re-shooting by the shooting unit 110 when the overall feature determination unit 102d determines that the plurality of partial features do not match the document partial feature.

また、再取得部102eは、部分特徴判定部102cにより、特徴データファイル106aに登録された全ての帳票の1つの部分特徴と当該帳票中の当該部分特徴の位置に対応する位置にある原稿中の原稿部分特徴とが一致しないと判定された場合、撮影部110の再度の撮影によるフレームを取得してもよい。   In addition, the re-acquisition unit 102e causes the partial feature determination unit 102c to store one partial feature of all the forms registered in the feature data file 106a and the position in the document corresponding to the position of the partial feature in the form. If it is determined that the document part feature does not match, a frame obtained by re-shooting by the shooting unit 110 may be acquired.

また、再取得部102eは、部分特徴判定部102cにより部分特徴と原稿部分特徴とが一致すると判定された場合、特徴判定に用いたフレームを取得、または、撮影部110の再度の撮影によるフレームを取得し、その際、疑似シャッター動作情報を出力させてもよい。   Further, the re-acquisition unit 102e acquires a frame used for feature determination when the partial feature determination unit 102c determines that the partial feature and the document partial feature match, or acquires a frame obtained by re-shooting by the shooting unit 110. In this case, pseudo shutter operation information may be output.

ここで、再取得部102eは、特徴判定により識別された帳票が、例えば、免許証または名刺等の小型の帳票の場合、特徴判定に用いたフレームをそのまま取得してもよい。   Here, when the form identified by the feature determination is a small form such as a license or a business card, the reacquisition unit 102e may acquire the frame used for the feature determination as it is.

一方、再取得部102eは、特徴判定により識別された帳票が、例えば、A4等の高解像度が必要な帳票の場合、撮影部110の再度の撮影による高解像度且つ非圧縮の新たなフレームを取得してもよい。   On the other hand, when the form identified by the feature determination is a form that requires high resolution, such as A4, the reacquisition part 102e obtains a new high-resolution and uncompressed frame by re-shooting by the shooting unit 110. May be.

また、再取得部102eは、撮影部110による撮影(連続画像撮影、動画撮影、または、静止画撮影等)を制御して、新たなフレームを取得してもよい。また、再取得部102eは、更に、取得したフレームを画像データファイル106bに格納してもよい。   In addition, the reacquisition unit 102e may acquire a new frame by controlling shooting (such as continuous image shooting, moving image shooting, or still image shooting) by the shooting unit 110. The reacquisition unit 102e may further store the acquired frame in the image data file 106b.

画像表示部102fは、画像データを表示させる。ここで、画像表示部102fは、フレーム、および/または、原稿画像データを表示させてもよい。   The image display unit 102f displays image data. Here, the image display unit 102f may display a frame and / or document image data.

また、画像表示部102fは、画像データを入出力部112に表示させてもよい。また、画像表示部102fは、文字データを表示させてもよい。   Further, the image display unit 102f may display the image data on the input / output unit 112. The image display unit 102f may display character data.

OCR部102gは、画像データに対してOCR処理を行い、文字データを取得する。ここで、OCR部102gは、原稿画像データ、または、フレームに対してOCR処理を行い、文字データを取得してもよい。また、OCR部102gは、更に、取得した文字データを画像データファイル106bに格納してもよい。   The OCR unit 102g performs OCR processing on the image data and acquires character data. Here, the OCR unit 102g may perform character image data by performing OCR processing on document image data or frames. The OCR unit 102g may further store the acquired character data in the image data file 106b.

[本実施形態の処理]
上述した構成のモバイル端末100で実行される処理の一例について、図2から図7を参照して、本実施形態における帳票特徴判定処理の一例について説明する。
[Process of this embodiment]
An example of the process executed by the mobile terminal 100 having the above-described configuration will be described with reference to FIGS.

[帳票特徴判定処理(その1)]
まず、図2および図3を参照して、本実施形態における登録帳票が1種類の場合の帳票特徴判定処理の一例について説明する。図2は、本実施形態のモバイル端末100における処理の一例を示すフローチャートである。
[Form Feature Judgment Processing (Part 1)]
First, with reference to FIG. 2 and FIG. 3, an example of a form feature determination process when there is one type of registered form in the present embodiment will be described. FIG. 2 is a flowchart illustrating an example of processing in the mobile terminal 100 of the present embodiment.

図2に示すように、まず、フレーム取得部102aは、撮影部(カメラ)110を起動させ、撮影部110による連続画像撮影または動画撮影を制御する(ステップSA−1)。   As shown in FIG. 2, first, the frame acquisition unit 102a activates the photographing unit (camera) 110 and controls continuous image photographing or moving image photographing by the photographing unit 110 (step SA-1).

そして、フレーム取得部102aは、カメラ110により撮影された画像のフレームを入力(取得)する(ステップSA−2)。   Then, the frame acquisition unit 102a inputs (acquires) a frame of an image captured by the camera 110 (Step SA-2).

そして、原稿取得部102bは、エッジ検出法、および/または、特徴点マッチング法を用いて、フレーム取得部102aにより取得されたフレームから矩形原稿の原稿画像データを切り出す(ステップSA−3)。   Then, the document acquisition unit 102b cuts out the document image data of the rectangular document from the frame acquired by the frame acquisition unit 102a using the edge detection method and / or the feature point matching method (step SA-3).

そして、部分特徴判定部102cは、特徴データファイル106aに登録された帳票の1つの部分特徴の位置に対応する位置にある原稿中の原稿部分特徴を検出する(ステップSA−4)。   Then, the partial feature determination unit 102c detects a document partial feature in the document at a position corresponding to the position of one partial feature of the form registered in the feature data file 106a (step SA-4).

ここで、特徴データファイル106aには、帳票毎に位置情報と特徴情報(罫線、文字画像、テキスト、絵柄画像、および、顔画像等)とが予め登録されていてもよい。ここで、色とは、RGB、HSV、Lab、または、YUV等の階調値であってもよい。   Here, in the feature data file 106a, position information and feature information (ruled line, character image, text, picture image, face image, etc.) may be registered in advance for each form. Here, the color may be a gradation value such as RGB, HSV, Lab, or YUV.

すなわち、本実施形態においては、他にはない固有の特徴および領域情報を事前に帳票データとして登録していてもよい。   That is, in the present embodiment, unique features and area information that are not available may be registered in advance as form data.

そして、部分特徴判定部102cは、特徴データファイル106aに登録された帳票の1つの部分特徴と、検出した原稿部分特徴と、の一致度合を閾値と比較することにより、部分特徴と原稿部分特徴とが一致する(矩形原稿が対象の帳票)か否かを判定する(ステップSA−5)。   Then, the partial feature determination unit 102c compares the degree of coincidence between one partial feature of the form registered in the feature data file 106a and the detected document partial feature with a threshold value, thereby determining the partial feature and the document partial feature. Are matched (rectangular document is the target form) (step SA-5).

このように、本実施形態においては、切り出した画像データを特徴検出し、予め特徴データファイル106aに登録してある帳票の特徴との整合性を判定している。   As described above, in the present embodiment, the extracted image data is subjected to feature detection, and consistency with the feature of the form registered in advance in the feature data file 106a is determined.

ここで、本実施形態において、整合性の判定には、交点座標の位置、色の階調値、罫線の本数、長さもしくは幅、または、文字の数等が閾値を満たすか否かを判定してもよく、画像が一致するか否かを判定してもよい。   In this embodiment, the consistency is determined by determining whether the position of the intersection coordinates, the color gradation value, the number of ruled lines, the length or width, the number of characters, and the like satisfy a threshold value. Alternatively, it may be determined whether the images match.

すなわち、本実施形態においては、部分特徴の位置(座標等)、色、数、および/または、サイズ(長さ、大きさおよび/または幅等)で部分特徴判定をしてもよい。   That is, in the present embodiment, partial feature determination may be performed based on the position (coordinates, etc.), color, number, and / or size (length, size, and / or width, etc.) of partial features.

そして、部分特徴判定部102cは、矩形原稿が対象の帳票ではないと判定した場合(ステップSA−5:No)、画像再取得依頼を行い、処理をステップSA−1に移行させる。   When the partial feature determination unit 102c determines that the rectangular document is not the target form (step SA-5: No), the partial feature determination unit 102c makes an image reacquisition request and shifts the processing to step SA-1.

一方、部分特徴判定部102cは、矩形原稿が対象の帳票であると判定した場合(ステップSA−5:Yes)、処理をステップSA−6に移行させる。   On the other hand, if the partial feature determination unit 102c determines that the rectangular document is the target form (step SA-5: Yes), the process shifts to step SA-6.

すなわち、本実施形態において、登録済み帳票との整合が取れれば、整合した帳票種別情報を設定し、後段の画像処理(OCR解析等)へ処理を遷移させてもよい。   In other words, in this embodiment, if matching with a registered form can be achieved, matched form type information may be set, and the process may be shifted to subsequent image processing (OCR analysis or the like).

そして、再取得部102eは、特徴判定に用いたフレームを取得する、または、カメラ110による撮影を制御して、高解像度且つ非圧縮の新たなフレームを取得し、画像データファイル106bに格納し、その際、疑似シャッター動作情報を入出力部112に出力させる(ステップSA−6)。   Then, the reacquisition unit 102e acquires a frame used for feature determination, or controls shooting by the camera 110 to acquire a new high-resolution and uncompressed frame, and stores it in the image data file 106b. At this time, the pseudo shutter operation information is output to the input / output unit 112 (step SA-6).

すなわち、本実施形態においては、目的の帳票と判断できたら、自動的に擬似シャッターを切り、画像データを取得してもよい。   In other words, in the present embodiment, if the target form can be determined, the pseudo shutter may be automatically released to obtain the image data.

そして、OCR部102gは、再取得部102eにより取得されたフレームに含まれる原稿画像データ、または、フレームに対して画像処理(OCR処理)による文字認識を行い、文字データを取得する(ステップSA−7)。   Then, the OCR unit 102g performs character recognition by image processing (OCR processing) on the document image data or the frame included in the frame acquired by the re-acquisition unit 102e, and acquires character data (step SA- 7).

そして、画像表示部102fは、特徴判定により識別された帳票の帳票名、OCR部102gにより取得された文字データ、再取得部102eにより取得されたフレームに含まれる原稿画像データを入出力部112に出力(表示)させ(ステップSA−8)、処理を終了する。   The image display unit 102f then sends the form name of the form identified by the feature determination, the character data acquired by the OCR unit 102g, and the document image data included in the frame acquired by the re-acquisition unit 102e to the input / output unit 112. Output (display) (step SA-8), the process is terminated.

ここで、図3を参照して、本実施形態における画面表示の一例について説明する。図3は、本実施形態における画面表示の一例を示す図である。   Here, an example of the screen display in the present embodiment will be described with reference to FIG. FIG. 3 is a diagram illustrating an example of a screen display in the present embodiment.

図3に示すように、本実施形態においては、特徴判定により識別された帳票の帳票名(運転免許証)および当該帳票のアイコンと、帳票に記載されている文字の情報(氏名、生年月日、住所、有効期限、および/または、免許証番号等)と、原稿画像データと、を入出力部(ディスプレイ)112に表示させてもよい。   As shown in FIG. 3, in the present embodiment, the form name (driver's license) of the form identified by the feature determination, the icon of the form, and the information of the characters (name, date of birth) described in the form , Address, expiration date, and / or license number) and document image data may be displayed on the input / output unit (display) 112.

そして、本実施形態において、表示後の画面へのユーザ操作などによって、帳票に応じたサービス(システム)等に、読み取った情報を受け渡す(データ送信する)ことで、ユーザの所望のデータ処理を実現できる。   In the present embodiment, the user's desired data processing is performed by transferring the read information (data transmission) to a service (system) corresponding to the form by a user operation on the screen after display. realizable.

このように、本実施形態においては、部分的な特徴判定を実施することで、高速なリトライ処理を実現している。   As described above, in this embodiment, high-speed retry processing is realized by performing partial feature determination.

[帳票特徴判定処理(その2)]
次に、図4から図6を参照して、本実施形態における登録帳票が複数種類の場合の帳票特徴判定処理の一例について説明する。図4は、本実施形態のモバイル端末100における処理の一例を示すフローチャートである。
[Form Feature Judgment Processing (Part 2)]
Next, an example of a form feature determination process when there are a plurality of types of registered forms in this embodiment will be described with reference to FIGS. FIG. 4 is a flowchart showing an example of processing in the mobile terminal 100 of the present embodiment.

図4に示すように、まず、フレーム取得部102aは、撮影部(カメラ)110を起動させ、撮影部110による連続画像撮影または動画撮影を制御する(ステップSB−1)。   As shown in FIG. 4, first, the frame acquisition unit 102a activates the photographing unit (camera) 110 and controls continuous image photographing or moving image photographing by the photographing unit 110 (step SB-1).

そして、フレーム取得部102aは、カメラ110により撮影された画像のフレームを入力(取得)する(ステップSB−2)。   Then, the frame acquisition unit 102a inputs (acquires) a frame of an image captured by the camera 110 (step SB-2).

そして、原稿取得部102bは、エッジ検出法、および/または、特徴点マッチング法を用いて、フレーム取得部102aにより取得されたフレームから矩形原稿の原稿画像データを切り出す(ステップSB−3)。   Then, the document acquisition unit 102b cuts out the document image data of the rectangular document from the frame acquired by the frame acquisition unit 102a using the edge detection method and / or the feature point matching method (step SB-3).

そして、部分特徴判定部102cは、特徴データファイル106aに登録された帳票の1つの部分特徴の位置に対応する位置にある原稿中の原稿部分特徴を検出する(ステップSB−4)。   Then, the partial feature determination unit 102c detects a document partial feature in the document at a position corresponding to the position of one partial feature of the form registered in the feature data file 106a (step SB-4).

そして、部分特徴判定部102cは、特徴データファイル106aに登録された帳票の1つの部分特徴と、検出した原稿部分特徴と、の一致度合を閾値と比較することにより、部分特徴と原稿部分特徴とが一致する(矩形原稿が対象の帳票)か否かを判定する(ステップSB−5)。   Then, the partial feature determination unit 102c compares the degree of coincidence between one partial feature of the form registered in the feature data file 106a and the detected document partial feature with a threshold value, thereby determining the partial feature and the document partial feature. Are matched (rectangular document is the target form) (step SB-5).

このように、本実施形態においては、帳票の特徴量を検出および判定しているため、同じサイズの帳票であっても高精度に識別可能である。   As described above, in the present embodiment, since the feature amount of the form is detected and determined, even forms of the same size can be identified with high accuracy.

そして、部分特徴判定部102cは、矩形原稿が対象の帳票ではないと判定した場合(ステップSB−5:No)、処理をステップSB−6に移行させる。   If the partial feature determination unit 102c determines that the rectangular document is not the target form (step SB-5: No), the process shifts to step SB-6.

そして、部分特徴判定部102cは、特徴データファイル106aに登録済みの全ての帳票の1つの部分特徴と、検出した原稿部分特徴と、が一致するか否かの判定が完了したか否かを判定する(ステップSB−6)。   Then, the partial feature determination unit 102c determines whether or not the determination as to whether one partial feature of all the forms registered in the feature data file 106a matches the detected document partial feature is complete. (Step SB-6).

そして、部分特徴判定部102cは、登録済みの全ての帳票の1つの部分特徴と、検出した原稿部分特徴と、が一致するか否かの判定が完了したと判定した場合(ステップSB−6:Yes)、画像再取得依頼を行い、処理をステップSB−1に移行させる。   When the partial feature determination unit 102c determines that the determination as to whether one partial feature of all registered forms matches the detected document partial feature is complete (step SB-6: Yes), an image reacquisition request is made, and the process proceeds to step SB-1.

一方、部分特徴判定部102cは、登録済みの全ての帳票の1つの部分特徴と、検出した原稿部分特徴と、が一致するか否かの判定が完了していないと判定した場合(ステップSB−6:No)、比較対象とする特徴データファイル106aに登録された帳票の種類を変更して、処理をステップSB−4に移行させる。   On the other hand, when the partial feature determination unit 102c determines that the determination as to whether one partial feature of all registered forms matches the detected document partial feature has not been completed (step SB-). 6: No), the type of the form registered in the feature data file 106a to be compared is changed, and the process proceeds to step SB-4.

ここで、図5を参照して、本実施形態における部分特徴判定の一例について説明する。図5は、本実施形態における部分特徴判定の一例を示す図である。   Here, an example of partial feature determination in the present embodiment will be described with reference to FIG. FIG. 5 is a diagram illustrating an example of partial feature determination in the present embodiment.

図5に示すように、本実施形態においては、切り出した原稿画像データを、予め特徴データファイル106aに登録してある帳票の部分特徴との整合性を判定してもよい。   As shown in FIG. 5, in the present embodiment, the consistency of the clipped document image data with the partial feature of the form registered in advance in the feature data file 106 a may be determined.

このように、本実施形態において、整合性の判定は、部分的な特徴判定のため、登録済みの帳票が複数あっても高速に判定を実施でき、エラー時のリトライ処理も高速に行うことができる。   As described above, in this embodiment, the consistency determination is a partial feature determination, so even if there are a plurality of registered forms, the determination can be performed at high speed, and the retry process at the time of error can also be performed at high speed. it can.

図4に戻り、部分特徴判定部102cは、矩形原稿が対象の帳票であると判定した場合(ステップSB−5:Yes)、処理をステップSB−7に移行させる。すなわち、本実施形態においては、登録済み帳票との整合が取れれば、全体特徴検出へ処理を遷移させる。   Returning to FIG. 4, when the partial feature determination unit 102c determines that the rectangular document is the target form (step SB-5: Yes), the process proceeds to step SB-7. In other words, in the present embodiment, if matching with the registered form is achieved, the process is shifted to the overall feature detection.

そして、全体特徴判定部102dは、原稿中の原稿全体特徴(例えば、特徴データファイル106aに登録された帳票の複数の部分特徴の位置に対応する位置にある原稿中の原稿部分特徴)を検出する(ステップSB−7)。   Then, the entire feature determination unit 102d detects the entire document feature in the document (for example, the document partial feature in the document at a position corresponding to the position of the plurality of partial features registered in the feature data file 106a). (Step SB-7).

そして、全体特徴判定部102dは、特徴データファイル106aに登録された、部分特徴判定部102cにより対象の帳票であると判定された帳票の全体特徴と、原稿の原稿全体特徴と、が一致する(矩形原稿が対象の帳票)か否かを判定する(ステップSB−8)。   Then, the overall feature determination unit 102d matches the overall feature of the form registered in the feature data file 106a and determined to be the target form by the partial feature determination unit 102c with the overall document feature of the document ( It is determined whether or not the rectangular document is a target form (step SB-8).

ここで、図6を参照して、本実施形態における全体特徴判定の一例について説明する。図6は、本実施形態における全体特徴判定の一例を示す図である。   Here, with reference to FIG. 6, an example of the overall feature determination in the present embodiment will be described. FIG. 6 is a diagram illustrating an example of overall feature determination in the present embodiment.

本実施形態においては、全体特徴判定において、画像全体の全体特徴と登録済み帳票の全体特徴との比較を行ってもよい。ここで、部分特徴判定と同様に、特徴データファイル106aに登録済みの特徴データを元に、比較を行ってもよい。   In the present embodiment, in the overall feature determination, the overall feature of the entire image may be compared with the overall feature of the registered form. Here, as in the partial feature determination, the comparison may be performed based on the feature data registered in the feature data file 106a.

図6に示すように、例えば、本実施形態においては、運転免許証の場合、氏名、生年月日、住所、有効期限、および、免許証番号等のレイアウト判定を実施してもよい。   As shown in FIG. 6, in this embodiment, for example, in the case of a driver's license, layout determination such as name, date of birth, address, expiration date, and license number may be performed.

図4に戻り、全体特徴判定部102dは、矩形原稿が対象の帳票ではないと判定した場合(ステップSB−8:No)、画像再取得依頼を行い、処理をステップSB−1に移行させる。   Returning to FIG. 4, if the overall feature determination unit 102d determines that the rectangular document is not the target form (step SB-8: No), it makes an image reacquisition request and shifts the processing to step SB-1.

すなわち、本実施形態においては、部分特徴判定で特定帳票の一部の部分特徴と整合性が取れたが、全体特徴判定で整合性が取れなかった場合、最初のシーケンスの画像データの取得(再撮影)からやり直しをさせる。   In other words, in the present embodiment, the partial feature determination is consistent with some partial features of the specific form, but if the overall feature determination is not consistent, the first sequence of image data acquisition (re-execution) Start over from (Shooting).

一方、全体特徴判定部102dは、矩形原稿が対象の帳票であると判定した場合(ステップSB−8:Yes)、処理をステップSB−9に移行させる。   On the other hand, if the overall feature determination unit 102d determines that the rectangular document is the target form (step SB-8: Yes), the overall feature determination unit 102d shifts the process to step SB-9.

すなわち、本実施形態においては、全体特徴判定で整合性が取れた場合、整合した帳票種別情報を設定し、画像処理(OCR解析等)へ処理を遷移させる。ここで、全体特徴判定部102dは、各種帳票ごとに画像処理に必要な情報を取得してもよい。   That is, in this embodiment, when consistency is obtained in the overall feature determination, matched form type information is set, and the process is shifted to image processing (OCR analysis or the like). Here, the overall feature determination unit 102d may acquire information necessary for image processing for each of the various forms.

そして、再取得部102eは、特徴判定に用いたフレームを取得する、または、カメラ110による撮影を制御して、高解像度且つ非圧縮の新たなフレームを取得し、画像データファイル106bに格納し、その際、疑似シャッター動作情報を入出力部112に出力させる(ステップSB−9)。   Then, the reacquisition unit 102e acquires a frame used for feature determination, or controls shooting by the camera 110 to acquire a new high-resolution and uncompressed frame, and stores it in the image data file 106b. At that time, the pseudo shutter operation information is output to the input / output unit 112 (step SB-9).

そして、OCR部102gは、再取得部102eにより取得されたフレームに含まれる原稿画像データ、または、フレームに対して画像処理(OCR処理)による文字認識を行い、文字データを取得する(ステップSB−10)。   Then, the OCR unit 102g performs character recognition by image processing (OCR processing) on the document image data or the frame included in the frame acquired by the re-acquisition unit 102e, and acquires character data (step SB- 10).

そして、画像表示部102fは、特徴判定により識別された帳票名、OCR部102gにより取得された文字データ、再取得部102eにより取得されたフレームに含まれる原稿画像データを入出力部112に出力(表示)させ(ステップSB−11)、処理を終了する。   Then, the image display unit 102f outputs the form name identified by the characteristic determination, the character data acquired by the OCR unit 102g, and the document image data included in the frame acquired by the re-acquisition unit 102e to the input / output unit 112 ( Display) (step SB-11), and the process ends.

このように、本実施形態においては、特徴判定を2段階で実施することで、精度よく高速に帳票識別を実施することが可能である。   Thus, in the present embodiment, it is possible to perform form identification with high accuracy and high speed by performing feature determination in two stages.

[帳票特徴判定処理(その3)]
そして、図7を参照して、本実施形態における登録帳票が複数種類の場合の帳票特徴判定処理の一例について説明する。図7は、本実施形態のモバイル端末100における処理の一例を示すフローチャートである。
[Form Feature Judgment Processing (Part 3)]
Then, with reference to FIG. 7, an example of a form feature determination process when there are a plurality of types of registered forms in the present embodiment will be described. FIG. 7 is a flowchart illustrating an example of processing in the mobile terminal 100 of the present embodiment.

まず、図7に示すステップSC−1からステップSC−7の処理は、図4に示すステップSB−1からステップSB−7の処理と同一であるため、説明を省略する。   First, the processing from step SC-1 to step SC-7 shown in FIG. 7 is the same as the processing from step SB-1 to step SB-7 shown in FIG.

そして、全体特徴判定部102dは、特徴データファイル106aに登録された、部分特徴判定部102cにより対象の帳票であると判定された帳票の全体特徴と、原稿の原稿全体特徴と、が一致する(矩形原稿が対象の帳票)か否かを判定する(ステップSC−8)。   Then, the overall feature determination unit 102d matches the overall feature of the form registered in the feature data file 106a and determined to be the target form by the partial feature determination unit 102c with the overall document feature of the document ( It is determined whether or not the rectangular document is a target form (step SC-8).

そして、全体特徴判定部102dは、矩形原稿が対象の帳票であると判定した場合(ステップSC−8:Yes)、処理をステップSC−9に移行させる。   When the overall feature determination unit 102d determines that the rectangular document is the target form (step SC-8: Yes), the overall feature determination unit 102d shifts the process to step SC-9.

ここで、図7に示すステップSC−9からステップSC−11の処理は、図4に示すステップSB−9からステップSB−11の処理と同一であるため、説明を省略する。   Here, the processing from step SC-9 to step SC-11 shown in FIG. 7 is the same as the processing from step SB-9 to step SB-11 shown in FIG.

一方、全体特徴判定部102dは、矩形原稿が対象の帳票ではないと判定した場合(ステップSC−8:No)、画像再取得依頼を行い、処理をステップSC−12に移行させる。   On the other hand, if it is determined that the rectangular document is not the target form (step SC-8: No), the overall feature determination unit 102d makes an image reacquisition request and shifts the processing to step SC-12.

そして、再取得部102eは、撮影部(カメラ)110を起動させ、撮影部110による連続画像撮影または動画撮影を制御する(ステップSC−12)。   Then, the reacquisition unit 102e activates the photographing unit (camera) 110 and controls continuous image photographing or moving image photographing by the photographing unit 110 (step SC-12).

そして、再取得部102eは、カメラ110により撮影された画像のフレームを入力(取得)する(ステップSC−13)。   Then, the reacquisition unit 102e inputs (acquires) a frame of an image captured by the camera 110 (step SC-13).

そして、原稿取得部102bは、エッジ検出法、および/または、特徴点マッチング法を用いて、フレーム取得部102aにより取得されたフレームから矩形原稿の原稿画像データを切り出す(ステップSC−14)。   Then, the document acquisition unit 102b cuts out the document image data of the rectangular document from the frame acquired by the frame acquisition unit 102a using the edge detection method and / or the feature point matching method (step SC-14).

そして、全体特徴判定部102dは、原稿中の原稿全体特徴を検出する(ステップSC−15)。   Then, the entire feature determination unit 102d detects the entire document feature in the document (step SC-15).

そして、全体特徴判定部102dは、特徴データファイル106aに登録された、部分特徴判定部102cにより対象の帳票であると判定された帳票の全体特徴と、原稿の原稿全体特徴と、が一致する(矩形原稿が対象の帳票)か否かを判定する(ステップSC−16)。   Then, the overall feature determination unit 102d matches the overall feature of the form registered in the feature data file 106a and determined to be the target form by the partial feature determination unit 102c with the overall document feature of the document ( It is determined whether or not the rectangular document is a target form (step SC-16).

そして、全体特徴判定部102dは、矩形原稿が対象の帳票ではないと判定した場合(ステップSC−16:No)、画像再取得依頼を行い、処理をステップSC−12に移行させる。   When the overall feature determination unit 102d determines that the rectangular document is not the target form (step SC-16: No), the overall feature determination unit 102d makes an image reacquisition request and shifts the processing to step SC-12.

一方、全体特徴判定部102dは、矩形原稿が対象の帳票であると判定した場合(ステップSC−16:Yes)、処理をステップSC−9に移行させる。   On the other hand, if the overall feature determination unit 102d determines that the rectangular document is the target form (step SC-16: Yes), the overall feature determination unit 102d shifts the process to step SC-9.

このように、本実施形態においては、一度、部分特徴判定で撮影対象の媒体が明確となっている場合、2回目以降の処理では、部分特徴判定の処理をパスすることも可能である。   As described above, in the present embodiment, when the medium to be imaged is clear once in the partial feature determination, the partial feature determination process can be passed in the second and subsequent processes.

これにより、本実施形態においては、2回目から部分特徴判定の処理にかかる時間を短縮でき、より高速なリトライ処理が可能となる。   As a result, in the present embodiment, it is possible to reduce the time required for the partial feature determination process from the second time, and it is possible to perform a faster retry process.

このように、本実施形態においては、カメラの動画像データより1フレームだけ抜き出した高解像度の画像データから原稿領域の矩形切り出しを実施し、切り出した原稿領域に対し特徴検出を実施し、帳票種別を判定し、一致するものがなければ、再度画像データの取得からやり直してもよい。   As described above, in the present embodiment, a rectangular region of a document area is cut out from high-resolution image data extracted by one frame from the moving image data of the camera, feature detection is performed on the cut-out document region, and the form type If there is no match, the image data may be acquired again.

ここで、本実施形態においては、高速かつ高精度に判定を行うために、二段階の特徴判定を実施してもよい。なお、第一段目では、帳票毎に設定した特定の領域の特徴との比較を実施してもよい。   Here, in the present embodiment, two-stage feature determination may be performed in order to perform determination with high speed and high accuracy. In the first stage, a comparison with the characteristics of a specific area set for each form may be performed.

ここで、帳票毎に設定した特定の領域および特徴は、帳票種別ごとに固有のものであってもよい。また、第二段目では、帳票全体の特徴比較を実施してもよい。それにより、本実施形態においては、高速な処理と高精度な帳票識別とを行うことができる。   Here, the specific area and feature set for each form may be unique for each form type. In the second stage, feature comparison of the entire form may be performed. Thereby, in this embodiment, high-speed processing and highly accurate form identification can be performed.

近年、スマートフォンまたはタブレット等のモバイル端末の普及に伴い、モバイル端末が有するカメラでの文書スキャンの需要が増えている。これは、モバイル端末の利用が、手軽であること、および、従来のスキャナと異なり、専用端末が不要であるというメリットがあるからである。   In recent years, with the widespread use of mobile terminals such as smartphones and tablets, there is an increasing demand for document scanning with cameras of mobile terminals. This is because the use of a mobile terminal is easy and there is an advantage that a dedicated terminal is not required unlike a conventional scanner.

従来から、モバイル端末を使って原稿を自動撮影する仕組みがあり、モバイル端末のカメラを使って個人認証をする場合、個人認証の目的の原稿のみを撮影する必要があった。   Conventionally, there is a mechanism for automatically photographing a document using a mobile terminal. When performing personal authentication using a camera of a mobile terminal, it is necessary to photograph only a document for personal authentication purposes.

しかしながら、従来は、不要な原稿を撮影する、または、OCR認識できない画像を撮影するといった課題が存在していた。   However, conventionally, there has been a problem of shooting an unnecessary document or shooting an image that cannot be recognized by OCR.

そこで、本実施形態においては、カメラで撮影している対象原稿が、目的の原稿かどうかを判断し、且つ、OCR認識できる原稿であると判断した場合に自動的に撮影する手法を提案している。   Therefore, in the present embodiment, a method is proposed in which it is determined whether or not the target document being shot by the camera is a target document, and when it is determined that the document is OCR-recognizable, it is automatically shot. Yes.

[他の実施形態]
さて、これまで本発明の実施形態について説明したが、本発明は、上述した実施形態以外にも、請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
[Other Embodiments]
The embodiments of the present invention have been described so far, but the present invention may be implemented in various different embodiments other than the above-described embodiments within the scope of the technical idea described in the claims. Is.

例えば、モバイル端末100は、スタンドアローンの形態で処理を行ってもよく、クライアント端末(モバイル端末100とは別筐体である)からの要求に応じて処理を行い、その処理結果を当該クライアント端末に返却するようにしてもよい。   For example, the mobile terminal 100 may perform processing in a stand-alone form, performs processing in response to a request from a client terminal (which is a separate housing from the mobile terminal 100), and outputs the processing result to the client terminal You may make it return to.

また、実施形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。   In addition, among the processes described in the embodiment, all or part of the processes described as being automatically performed can be performed manually, or all of the processes described as being performed manually are all performed. Alternatively, a part can be automatically performed by a known method.

このほか、明細書中および図面中で示した処理手順、制御手順、具体的名称、各処理の登録データもしくは検索条件等のパラメータを含む情報、画面例、または、データベース構成については、特記する場合を除いて任意に変更することができる。   In addition, processing procedures, control procedures, specific names, information including parameters such as registered data or search conditions for each processing, screen examples, or database configuration shown in the description and drawings are specially noted. It can be changed arbitrarily except for.

また、モバイル端末100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。   In addition, regarding the mobile terminal 100, each illustrated component is functionally conceptual and does not necessarily need to be physically configured as illustrated.

例えば、モバイル端末100の各装置が備える処理機能、特に制御部102にて行われる各処理機能については、その全部または任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。   For example, all or some of the processing functions provided in each device of the mobile terminal 100, particularly the processing functions performed by the control unit 102, are realized by the CPU and a program interpreted and executed by the CPU. Alternatively, it may be realized as hardware by wired logic.

なお、プログラムは、後述する、コンピュータに本発明に係る方法を実行させるためのプログラム化された命令を含む、一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じてモバイル端末100に機械的に読み取られる。すなわち、ROMまたはHDDなどの記憶部106などには、OS(Operating System)と協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。   Note that the program is recorded on a non-transitory computer-readable recording medium including a programmed instruction for causing a computer to execute the method according to the present invention, which will be described later, and the mobile terminal 100 as necessary. Read mechanically. That is, in the storage unit 106 such as a ROM or an HDD, computer programs for performing various processes by giving instructions to the CPU in cooperation with an OS (Operating System) are recorded. This computer program is executed by being loaded into the RAM, and constitutes a control unit in cooperation with the CPU.

また、このコンピュータプログラムは、モバイル端末100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。   The computer program may be stored in an application program server connected to the mobile terminal 100 via an arbitrary network, and may be downloaded in whole or in part as necessary. .

また、本発明に係るプログラムを、コンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USBメモリ、SDカード、フレキシブルディスク、光磁気ディスク、ROM、EPROM、EEPROM、CD−ROM、MO、DVD、および、Blu−ray(登録商標)Disc等の任意の「可搬用の物理媒体」を含むものとする。   In addition, the program according to the present invention may be stored in a computer-readable recording medium, and may be configured as a program product. Here, the “recording medium” means a memory card, USB memory, SD card, flexible disk, magneto-optical disk, ROM, EPROM, EEPROM, CD-ROM, MO, DVD, and Blu-ray (registered trademark). It includes any “portable physical medium” such as Disc.

また、「プログラム」とは、任意の言語や記述方法にて記述されたデータ処理方法であり、ソースコードやバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成、読み取り手順、あるいは、読み取り後のインストール手順等については、周知の構成や手順を用いることができる。   The “program” is a data processing method described in an arbitrary language or description method, and may be in any format such as source code or binary code. Note that the “program” is not necessarily limited to a single configuration, and functions are achieved in cooperation with a separate configuration such as a plurality of modules and libraries or a separate program represented by the OS. Including things. In addition, a well-known structure and procedure can be used about the specific structure for reading a recording medium in each apparatus shown in embodiment, a reading procedure, or the installation procedure after reading.

記憶部106に格納される各種のデータベース等は、RAMもしくはROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、および/または、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、および/または、ウェブページ用ファイル等を格納してもよい。   Various databases and the like stored in the storage unit 106 are storage means such as a memory device such as a RAM or ROM, a fixed disk device such as a hard disk, a flexible disk, and / or an optical disk. Various programs, tables, databases, and / or web page files used may be stored.

また、モバイル端末100は、既知のパーソナルコンピュータ等の情報処理装置として構成してもよく、また、該情報処理装置に任意の周辺装置を接続して構成してもよい。また、モバイル端末100は、該情報処理装置に本発明の方法を実現させるソフトウェア(プログラム、データ等を含む)を実装することにより実現してもよい。   The mobile terminal 100 may be configured as an information processing apparatus such as a known personal computer, or may be configured by connecting an arbitrary peripheral device to the information processing apparatus. The mobile terminal 100 may be realized by installing software (including programs, data, and the like) that causes the information processing apparatus to implement the method of the present invention.

更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じて、または、機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。   Furthermore, the specific form of the distribution / integration of the devices is not limited to that shown in the figure, and all or a part of them may be functionally or physically in arbitrary units according to various additions or according to functional loads. Can be distributed and integrated. That is, the above-described embodiments may be arbitrarily combined and may be selectively implemented.

以上のように、モバイル端末、画像処理方法、および、プログラムは、産業上の多くの分野、特にカメラで読み込んだ画像を扱う画像処理分野で実施することができ、極めて有用である。   As described above, the mobile terminal, the image processing method, and the program can be implemented in many industrial fields, particularly in the image processing field that handles images read by a camera, and are extremely useful.

100 モバイル端末
102 制御部
102a フレーム取得部
102b 原稿取得部
102c 部分特徴判定部
102d 全体特徴判定部
102e 再取得部
102f 画像表示部
102g OCR部
106 記憶部
106a 特徴データファイル
106b 画像データファイル
110 撮影部
112 入出力部
114 センサ部
116 通信部
DESCRIPTION OF SYMBOLS 100 Mobile terminal 102 Control part 102a Frame acquisition part 102b Document acquisition part 102c Partial feature determination part 102d Whole feature determination part 102e Re-acquisition part 102f Image display part 102g OCR part 106 Storage part 106a Feature data file 106b Image data file 110 Shooting part 112 Input / output unit 114 Sensor unit 116 Communication unit

Claims (9)

撮影部の撮影によるフレームを取得するフレーム取得手段と、
前記フレームから原稿の原稿画像データを取得する原稿取得手段と、
登録された帳票の部分特徴と、当該帳票中の当該部分特徴の位置に対応する位置にある前記原稿中の原稿部分特徴と、が一致するか否かを判定する部分特徴判定手段と、
前記部分特徴判定手段により前記部分特徴と前記原稿部分特徴とが一致すると判定された場合、前記帳票の全体特徴と、前記原稿の原稿全体特徴と、が一致するか否かを判定する全体特徴判定手段と、
前記部分特徴判定手段により前記部分特徴と前記原稿部分特徴とが一致しないと判定された場合、または、前記全体特徴判定手段により前記全体特徴と前記原稿全体特徴とが一致しないと判定された場合、前記撮影部の再度の撮影によるフレームを取得する再取得手段と、
を備えたモバイル端末。
A frame acquisition means for acquiring a frame by shooting of the shooting unit;
Document acquisition means for acquiring document image data of a document from the frame;
Partial feature determination means for determining whether or not the registered partial feature of the document matches the document partial feature in the document at a position corresponding to the position of the partial feature in the document;
When the partial feature determination unit determines that the partial feature and the document partial feature match, the overall feature determination determines whether or not the overall feature of the form matches the overall document feature of the document. Means,
When the partial feature determination unit determines that the partial feature and the document partial feature do not match, or when the overall feature determination unit determines that the overall feature and the document total feature do not match, Re-acquisition means for acquiring a frame by re-shooting of the shooting unit;
Mobile terminal equipped with.
前記部分特徴は、前記帳票の複数の項目のうちの一部の項目の特徴であり、前記全体特徴は、前記複数の項目のレイアウトの特徴である、
請求項1に記載のモバイル端末。
The partial feature is a feature of a part of a plurality of items of the form, and the overall feature is a layout feature of the plurality of items.
The mobile terminal according to claim 1.
前記部分特徴は、罫線、文字、および/または、特徴的画像から構成される、
請求項1に記載のモバイル端末。
The partial features are composed of ruled lines, characters, and / or characteristic images.
The mobile terminal according to claim 1.
前記部分特徴判定手段は、登録された前記帳票の前記部分特徴と、当該帳票中の当該部分特徴の位置に対応する位置にある前記原稿中の前記原稿部分特徴と、の一致度合を閾値と比較することにより、前記部分特徴と前記原稿部分特徴とが一致するか否かを判定する、
請求項1に記載のモバイル端末。
The partial feature determination unit compares the degree of coincidence between the partial feature of the registered form and the document partial feature in the document at a position corresponding to the position of the partial feature in the form with a threshold value. To determine whether or not the partial feature and the document partial feature match.
The mobile terminal according to claim 1.
前記部分特徴判定手段は、登録された前記帳票の前記部分特徴を構成する罫線、文字および/または特徴的画像の、位置、色の階調値、数および/またはサイズに基づいて、前記一致度合を前記閾値と比較することにより、前記部分特徴と前記原稿部分特徴とが一致するか否かを判定する、
請求項4に記載のモバイル端末。
The partial feature determination means is configured to determine the degree of coincidence based on the position, color gradation value, number and / or size of ruled lines, characters and / or characteristic images constituting the partial feature of the registered form. Is compared with the threshold value to determine whether the partial feature matches the original document partial feature,
The mobile terminal according to claim 4.
前記再取得手段は、前記撮影部の再度の撮影によるフレームを取得したときに疑似シャッター動作情報を出力させる、
請求項1に記載のモバイル端末。
The re-acquisition means outputs pseudo-shutter operation information when acquiring a frame by re-shooting of the shooting unit,
The mobile terminal according to claim 1.
前記原稿画像データに対してOCR処理を行い、文字データを取得するOCR手段、を更に備えた、
請求項1に記載のモバイル端末。
An OCR unit that performs OCR processing on the document image data and obtains character data;
The mobile terminal according to claim 1.
撮影部の撮影によるフレームを取得するフレーム取得ステップと、
前記フレームから原稿の原稿画像データを取得する原稿取得ステップと、
登録された帳票の部分特徴と、当該帳票中の当該部分特徴の位置に対応する位置にある前記原稿中の原稿部分特徴と、が一致するか否かを判定する部分特徴判定ステップと、
前記部分特徴判定ステップにて前記部分特徴と前記原稿部分特徴とが一致すると判定された場合、前記帳票の全体特徴と、前記原稿の原稿全体特徴と、が一致するか否かを判定する全体特徴判定ステップと、
前記部分特徴判定ステップにて前記部分特徴と前記原稿部分特徴とが一致しないと判定された場合、または、前記全体特徴判定ステップにて前記全体特徴と前記原稿全体特徴とが一致しないと判定された場合、前記撮影部の再度の撮影によるフレームを取得する再取得ステップと、
を含む画像処理方法。
A frame acquisition step of acquiring a frame by shooting of the shooting unit;
A document acquisition step of acquiring document image data of the document from the frame;
A partial feature determination step for determining whether or not a partial feature of the registered form matches a document partial feature in the document at a position corresponding to the position of the partial feature in the form;
If it is determined in the partial feature determination step that the partial feature and the document partial feature match, an overall feature for determining whether or not the overall feature of the form and the original document feature of the document match. A determination step;
When it is determined in the partial feature determination step that the partial feature and the document partial feature do not match, or in the overall feature determination step, it is determined that the overall feature and the document original feature do not match A re-acquisition step of acquiring a frame by re-shooting of the shooting unit;
An image processing method including:
撮影部の撮影によるフレームを取得するフレーム取得ステップと、
前記フレームから原稿の原稿画像データを取得する原稿取得ステップと、
登録された帳票の部分特徴と、当該帳票中の当該部分特徴の位置に対応する位置にある前記原稿中の原稿部分特徴と、が一致するか否かを判定する部分特徴判定ステップと、
前記部分特徴判定ステップにて前記部分特徴と前記原稿部分特徴とが一致すると判定された場合、前記帳票の全体特徴と、前記原稿の原稿全体特徴と、が一致するか否かを判定する全体特徴判定ステップと、
前記部分特徴判定ステップにて前記部分特徴と前記原稿部分特徴とが一致しないと判定された場合、または、前記全体特徴判定ステップにて前記全体特徴と前記原稿全体特徴とが一致しないと判定された場合、前記撮影部の再度の撮影によるフレームを取得する再取得ステップと、
をコンピュータに実行させるためのプログラム。
A frame acquisition step of acquiring a frame by shooting of the shooting unit;
A document acquisition step of acquiring document image data of the document from the frame;
A partial feature determination step for determining whether or not a partial feature of the registered form matches a document partial feature in the document at a position corresponding to the position of the partial feature in the form;
If it is determined in the partial feature determination step that the partial feature and the document partial feature match, an overall feature for determining whether or not the overall feature of the form and the original document feature of the document match. A determination step;
When it is determined in the partial feature determination step that the partial feature and the document partial feature do not match, or in the overall feature determination step, it is determined that the overall feature and the document original feature do not match A re-acquisition step of acquiring a frame by re-shooting of the shooting unit;
A program that causes a computer to execute.
JP2019157096A 2019-08-29 2019-08-29 Mobile devices, image processing methods, and programs Active JP6785930B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019157096A JP6785930B2 (en) 2019-08-29 2019-08-29 Mobile devices, image processing methods, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019157096A JP6785930B2 (en) 2019-08-29 2019-08-29 Mobile devices, image processing methods, and programs

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018505172A Division JP6581288B2 (en) 2016-03-17 2016-03-17 Mobile terminal, image processing method, and program

Publications (2)

Publication Number Publication Date
JP2019207735A true JP2019207735A (en) 2019-12-05
JP6785930B2 JP6785930B2 (en) 2020-11-18

Family

ID=68767796

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019157096A Active JP6785930B2 (en) 2019-08-29 2019-08-29 Mobile devices, image processing methods, and programs

Country Status (1)

Country Link
JP (1) JP6785930B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09204492A (en) * 1996-01-26 1997-08-05 Toshiba Corp Slip processor
JPH11288445A (en) * 1998-04-02 1999-10-19 Nippon Telegr & Teleph Corp <Ntt> Method and device for recognizing slip
JP2003216893A (en) * 2002-01-23 2003-07-31 Sharp Corp Portable information terminal with camera
JP2004164674A (en) * 2004-01-23 2004-06-10 Oki Electric Ind Co Ltd Format recognition device and character reader
JP2004201282A (en) * 2002-12-06 2004-07-15 Casio Comput Co Ltd Photographing device and photographing method
JP2008310531A (en) * 2007-06-13 2008-12-25 Hitachi Computer Peripherals Co Ltd Business form identification method, business form identification program and optical character reading system using the business form identification method
JP2015210542A (en) * 2014-04-23 2015-11-24 株式会社キーエンス Portable optical reader, optical reading method using portable optical reader, and computer program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09204492A (en) * 1996-01-26 1997-08-05 Toshiba Corp Slip processor
JPH11288445A (en) * 1998-04-02 1999-10-19 Nippon Telegr & Teleph Corp <Ntt> Method and device for recognizing slip
JP2003216893A (en) * 2002-01-23 2003-07-31 Sharp Corp Portable information terminal with camera
JP2004201282A (en) * 2002-12-06 2004-07-15 Casio Comput Co Ltd Photographing device and photographing method
JP2004164674A (en) * 2004-01-23 2004-06-10 Oki Electric Ind Co Ltd Format recognition device and character reader
JP2008310531A (en) * 2007-06-13 2008-12-25 Hitachi Computer Peripherals Co Ltd Business form identification method, business form identification program and optical character reading system using the business form identification method
JP2015210542A (en) * 2014-04-23 2015-11-24 株式会社キーエンス Portable optical reader, optical reading method using portable optical reader, and computer program

Also Published As

Publication number Publication date
JP6785930B2 (en) 2020-11-18

Similar Documents

Publication Publication Date Title
CN113630551B (en) Electronic device providing various functions by application using camera and operating method thereof
KR102236616B1 (en) Information processing apparatus, control method thereof, and storage medium
US10810743B2 (en) Image processing device, image processing method, and computer program product
JP6581288B2 (en) Mobile terminal, image processing method, and program
JP6785930B2 (en) Mobile devices, image processing methods, and programs
US9396405B2 (en) Image processing apparatus, image processing method, and image processing program
JP6600090B2 (en) Image processing apparatus, image processing method, and program
JP6503478B2 (en) Mobile terminal, image processing method, and program
US20110109763A1 (en) Apparatus and method for image registration in portable terminal
JP6613378B2 (en) Mobile terminal, image processing method, and program
JP6697829B2 (en) Mobile terminal, image processing method, and program
WO2018003090A1 (en) Image processing device, image processing method, and program
JP6705984B2 (en) Information processing apparatus, processing method thereof, and program
JP6115673B2 (en) Apparatus and program
US10628713B2 (en) Mobile terminal, image processing method, and computer-readable recording medium
WO2017158814A1 (en) Mobile terminal, image processing method, and program
JP5920448B2 (en) Imaging device, program
JP5532748B2 (en) Imaging device
JP5655916B2 (en) Image search system
JP5169596B2 (en) Information management apparatus, information management method, and program
JP2017157220A (en) Imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190829

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200917

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201027

R150 Certificate of patent or registration of utility model

Ref document number: 6785930

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150