JP2022082140A - Instrument reading system and instrument reading program - Google Patents

Instrument reading system and instrument reading program Download PDF

Info

Publication number
JP2022082140A
JP2022082140A JP2020193527A JP2020193527A JP2022082140A JP 2022082140 A JP2022082140 A JP 2022082140A JP 2020193527 A JP2020193527 A JP 2020193527A JP 2020193527 A JP2020193527 A JP 2020193527A JP 2022082140 A JP2022082140 A JP 2022082140A
Authority
JP
Japan
Prior art keywords
scale
instrument
candidate
image
information
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
JP2020193527A
Other languages
Japanese (ja)
Other versions
JP7411534B2 (en
Inventor
浩彦 佐川
Hirohiko Sagawa
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.)
Hitachi Systems Ltd
Original Assignee
Hitachi Systems 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 Hitachi Systems Ltd filed Critical Hitachi Systems Ltd
Priority to JP2020193527A priority Critical patent/JP7411534B2/en
Publication of JP2022082140A publication Critical patent/JP2022082140A/en
Application granted granted Critical
Publication of JP7411534B2 publication Critical patent/JP7411534B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

To set information necessary for reading an instrument accurately and in a short time by utilizing a mobile device such as a smartphone and a tablet terminal.SOLUTION: In an instrument reading system 1000 that acquires an image of an instrument and displays a result of reading a numerical value indicated by the instrument, setting means comprises: region candidate detecting means for detecting a candidate for a region including a scale in the image of the instrument; position candidate detecting means for detecting a candidate for a scale position with respect to each candidate in the region including the detected scale; input means for inputting information on a constraint condition for selecting an optimum candidate from the candidate for the region including the scale and the candidate for the scale position; ranking means for ranking the candidate for the region including the scale and the candidate for the scale position based on the candidate for the region including the scale and the candidate for the scale position and the input constraint condition; and display means for displaying a candidate for a region including an optimum scale and the candidate for the scale position based on a ranking result.SELECTED DRAWING: Figure 1

Description

本発明は、プラントや工場等の施設内に設置されている指針により指示値を表す種類の計器を対象として、点検や保守等において計器の指示値を取得および記録する作業を支援する計器読み取りシステム、計器読み取りプログラムに関するものである。 The present invention is an instrument reading system that supports the work of acquiring and recording the indicated value of an instrument in inspection, maintenance, etc., targeting a type of instrument that expresses the indicated value by a guideline installed in a facility such as a plant or factory. , It is about the instrument reading program.

プラントや工場等における点検作業や保守作業の一つとして、施設内に設置されている計器の指示値を取得し記録する作業がある。また、施設内に設置されている計器の中でも、指針によって指示値を表す種類の計器(指針型計器)がある。指針型計器の読み取り作業を支援する技術としては、スマートフォンやタブレット端末に搭載されているカメラやパソコンに接続されたカメラ等で計器の画像を撮影し、撮影した画像から計器の指示値を自動的に読み取る技術がある(例えば、特許文献1)。 As one of the inspection work and maintenance work in a plant or factory, there is a work of acquiring and recording the indicated value of the instrument installed in the facility. In addition, among the instruments installed in the facility, there is a type of instrument (pointer type instrument) that expresses the indicated value by a pointer. As a technology to support the reading work of the pointer type instrument, the image of the instrument is taken with the camera installed in the smartphone or tablet terminal or the camera connected to the personal computer, and the indicated value of the instrument is automatically calculated from the taken image. There is a technique for reading in (for example, Patent Document 1).

特許文献1では、指示値の読み取りに必要な情報を利用者があらかじめ設定し、設定した情報を用いて指示値の読み取りを行う技術が提示されている。カメラで撮影した計器の画像を画面上に表示し、計器の画像上で読み取りに必要な情報の設定を利用者が行うことができる。設定する情報としては、指針の支点位置、針の可動領域、目盛りを含む領域であり、これらの設定を支援する図形を計器の画像上に重ね合わせて表示し、利用者がその図形を移動・変形することにより設定を行えるようにして、設定作業の効率化を図っている。 Patent Document 1 presents a technique in which a user sets information necessary for reading an indicated value in advance and reads the indicated value using the set information. The image of the instrument taken by the camera is displayed on the screen, and the user can set the information necessary for reading on the image of the instrument. The information to be set is the fulcrum position of the pointer, the movable area of the needle, and the area including the scale. The figure that supports these settings is superimposed and displayed on the image of the instrument, and the user moves the figure. The setting work is made more efficient by making it possible to set by transforming.

特開2006-120133号公報Japanese Unexamined Patent Publication No. 2006-12133

計器読み取りシステムを導入する場合、読み取りが可能であるかどうかを点検作業や保守作業を行う実際の現場において、事前に確認することが通常と考えられる。このため、特許文献1のような、各計器に対して、事前に読み取りに必要となる情報を設定することにより読み取りを行う技術を用いることが現実的である。 When introducing an instrument reading system, it is usually considered to confirm in advance whether reading is possible at the actual site where inspection work and maintenance work are performed. Therefore, it is realistic to use a technique such as Patent Document 1 for reading by setting information necessary for reading in advance for each instrument.

しかしながら、点検作業や保守作業を実施する現場では、設備の配置や安全面から、使用できる機材や行動範囲が制限されるため、例えば、スマートフォンやタブレット端末のみで効率的に設定作業を行えることが望ましい。 However, at the site where inspection work and maintenance work are carried out, the equipment that can be used and the range of activities are limited due to the arrangement of equipment and safety, so for example, setting work can be performed efficiently only with smartphones and tablet terminals. desirable.

特許文献1では、指針が回転する中心位置や目盛り位置を、計器を撮影した画面上で利用者が指定することにより設定を行う方法が提示されている。しかし、読み取りの精度を上げるためには、中心位置や目盛り位置として、より正確な位置を指定する必要がある。一般的に使用されるパソコンおよびマウスが使える環境であれば、画像上で正確な位置を指定することは容易である。しかし、使用できる手段がスマートフォンやタブレット端末である場合、画面が小さい上に、指によるタッチ操作となるため、画像上で正確な位置を指定することが困難となり、設定に要する時間も増大する。このため、スマートフォンやタブレット端末の画面上においても、計器の読み取りに必要となる情報をより正確に設定するための手段が必要であると考えられる。 Patent Document 1 presents a method of setting a center position and a scale position on which a pointer rotates by being specified by a user on a screen on which an instrument is photographed. However, in order to improve the reading accuracy, it is necessary to specify more accurate positions as the center position and the scale position. It is easy to specify the exact position on the image in an environment where a commonly used personal computer and mouse can be used. However, when the means that can be used is a smartphone or a tablet terminal, the screen is small and the touch operation is performed by a finger, which makes it difficult to specify an accurate position on the image and increases the time required for setting. Therefore, it is considered that a means for more accurately setting the information necessary for reading the instrument is required even on the screen of the smartphone or tablet terminal.

以上のことから、本発明の目的は、計器の読み取りに必要となる情報の設定にスマートフォンやタブレット端末等のモバイル機器を用いる場合でも、正確に且つ短時間で、計器の読み取りに必要となる情報を設定することを可能とする技術を提供することにある。 From the above, an object of the present invention is the information required for reading the instrument accurately and in a short time even when a mobile device such as a smartphone or a tablet terminal is used to set the information required for reading the instrument. Is to provide the technology that makes it possible to set.

本発明の一態様にかかる計器読み取りシステムは、計器の画像を取得する取得手段と、計器が示す数値を読み取るために必要な計器の情報を設定するための設定手段と、設定された前記計器の情報に基づいて前記計器の画像から計器が示す数値を読み取る読み取り手段と、前記計器が示す数値を読み取った結果を表示する表示手段と、を有する計器読み取りシステムであって、前記設定手段は、前記計器の画像における目盛りを含む領域の候補を検出する領域候補検出手段と、検出された目盛りを含む領域の各候補に対して、目盛り位置の候補を検出する位置候補検出手段と、前記目盛りを含む領域の候補および前記目盛り位置の候補から、最適な候補を選択するための制約条件に関する情報を入力する入力手段と、前記目盛りを含む領域の候補および前記目盛り位置の候補と、入力された前記制約条件とに基づいて、前記目盛りを含む領域の候補と前記目盛り位置の候補とに順位付けを行う順位付け手段と、前記順位付けの結果に基づいて最適な目盛りを含む領域の候補と目盛り位置の候補を表示する表示手段と、を有することを特徴とする計器読み取りシステムとして構成される。 The instrument reading system according to one aspect of the present invention includes an acquisition means for acquiring an image of the instrument, a setting means for setting instrument information necessary for reading a numerical value indicated by the instrument, and a set means of the instrument. An instrument reading system comprising a reading means for reading a numerical value indicated by the instrument from an image of the instrument based on information and a display means for displaying the result of reading the numerical value indicated by the instrument, wherein the setting means is the said. The area candidate detecting means for detecting the candidate of the area including the scale in the image of the instrument, the position candidate detecting means for detecting the candidate of the scale position for each candidate of the area including the detected scale, and the scale are included. An input means for inputting information on a constraint condition for selecting an optimum candidate from a region candidate and a scale position candidate, a region candidate including the scale, a scale position candidate, and the input constraint. A ranking means for ranking the candidate of the region including the scale and the candidate of the scale position based on the conditions, and the candidate and the scale position of the region including the optimum scale based on the result of the ranking. It is configured as an instrument reading system characterized by having a display means for displaying candidates.

本発明によれば、計器の読み取りに必要となる情報の設定にスマートフォンやタブレット端末等のモバイル機器を用いる場合でも、正確に且つ短時間で、計器の読み取りに必要となる情報を設定することが可能となる。 According to the present invention, even when a mobile device such as a smartphone or a tablet terminal is used to set the information required for reading the instrument, it is possible to set the information required for reading the instrument accurately and in a short time. It will be possible.

第一の実施例を一般的なコンピュータによって実行させる場合のコンピュータの構成図。The block diagram of the computer when the first embodiment is executed by a general computer. 計器読み取りシステムで想定される利用状況の一例を表す図。The figure which shows an example of the usage situation assumed in the instrument reading system. 目盛りが円状に配置されており、指針がその円の中心を支点として回転する種類の計器を示す図と指示値の読み取りに必要な情報の一例。An example of a diagram showing a type of instrument in which the scales are arranged in a circle and the pointer rotates around the center of the circle and the information necessary for reading the indicated value. 計器情報データのフォーマットの一例。An example of the format of instrument information data. 計器設定データのフォーマットの一例。An example of the format of instrument setting data. 計器読み取り結果データのフォーマットの一例。An example of the format of instrument reading result data. 計器設定プログラムで実行される処理のフローチャートの一例。An example of a flowchart of processing executed by the instrument setting program. 目盛り線のデザインの一例を示す図。The figure which shows an example of the design of a scale line. 目盛り線のデザインの別の例を示す図。The figure which shows another example of the design of a scale line. 図8の計器の画像に対して検出される円候補の一例。An example of a circle candidate detected for the image of the instrument of FIG. 図9の計器の画像に対して検出される円候補の一例。An example of a circle candidate detected for the image of the instrument of FIG. 図8の計器の画像から抽出された目盛り領域の画像の一例。An example of an image of the scale area extracted from the image of the instrument of FIG. 図9の計器の画像から抽出された目盛り領域の画像の一例。An example of an image of the scale area extracted from the image of the instrument of FIG. 利用者が指定する情報を取得するための利用者への指示画面の一例。An example of an instruction screen for the user to acquire the information specified by the user. 利用者が必要な情報を指定した状態の一例を示す図。The figure which shows an example of the state which the user has specified necessary information. 順位付けされた円候補および目盛り位置候補を表示する画面の一例。An example of a screen that displays ranked circle candidates and scale position candidates. 図16において円候補の選択を変更した場合の画面の一例。An example of the screen when the selection of the circle candidate is changed in FIG. 円候補の位置を微調整する場合の画面の一例。An example of a screen for fine-tuning the position of a circle candidate. 計器読み取りプログラムで実行される処理のフローチャートの一例。An example of a flow chart of the processing executed by the instrument reading program. 目盛りが直線状に配置されており、指針がその直線に平行に直線状に移動する種類の計器を示す図と指示値の読み取りに必要な情報の一例。An example of a diagram showing a type of instrument in which the scales are arranged in a straight line and the pointer moves linearly in parallel with the straight line, and information necessary for reading the indicated value. 第二の実施例における計器設定データのフォーマットの一例。An example of the format of the instrument setting data in the second embodiment.

以下、図面を参照して本発明の実施形態を説明する。以下の記載および図面は、本発明を説明するための例示であって、説明の明確化のため、適宜、省略および簡略化がなされている。本発明は、他の種々の形態でも実施する事が可能である。特に限定しない限り、各構成要素は単数でも複数でも構わない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. The following description and drawings are examples for explaining the present invention, and are appropriately omitted and simplified for the sake of clarification of the description. The present invention can also be implemented in various other forms. Unless otherwise specified, each component may be singular or plural.

図面において示す各構成要素の位置、大きさ、形状、範囲などは、発明の理解を容易にするため、実際の位置、大きさ、形状、範囲などを表していない場合がある。このため、本発明は、必ずしも、図面に開示された位置、大きさ、形状、範囲などに限定されない。 The positions, sizes, shapes, ranges, etc. of each component shown in the drawings may not represent the actual positions, sizes, shapes, ranges, etc., in order to facilitate understanding of the invention. Therefore, the present invention is not necessarily limited to the position, size, shape, range and the like disclosed in the drawings.

以下の説明では、「テーブル」、「リスト」等の表現にて各種情報を説明することがあるが、各種情報は、これら以外のデータ構造で表現されていてもよい。データ構造に依存しないことを示すために「XXテーブル」、「XXリスト」等を「XX情報」と呼ぶことがある。識別情報について説明する際に、「識別情報」、「識別子」、「名」、「ID」、「番号」等の表現を用いた場合、これらについてはお互いに置換が可能である。 In the following description, various information may be described by expressions such as "table" and "list", but various information may be expressed by a data structure other than these. The "XX table", "XX list", etc. may be referred to as "XX information" to show that they do not depend on the data structure. When expressions such as "identification information", "identifier", "name", "ID", and "number" are used in explaining the identification information, these can be replaced with each other.

同一あるいは同様な機能を有する構成要素が複数ある場合には、同一の符号に異なる添字を付して説明する場合がある。ただし、これらの複数の構成要素を区別する必要がない場合には、添字を省略して説明する場合がある。 When there are a plurality of components having the same or similar functions, they may be described by adding different subscripts to the same reference numerals. However, if it is not necessary to distinguish between these plurality of components, the subscripts may be omitted for explanation.

また、以下の説明では、プログラムを実行して行う処理を説明する場合があるが、プログラムは、プロセッサ(例えばCPU(Central Processing Unit)、GPU(Graphics Processing Unit))によって実行されることで、定められた処理を、適宜に記憶資源(例えばメモリ)および/またはインターフェースデバイス(例えば通信ポート)等を用いながら行うため、処理の主体がプロセッサとされてもよい。同様に、プログラムを実行して行う処理の主体が、プロセッサを有するコントローラ、装置、システム、計算機、ノードであってもよい。プログラムを実行して行う処理の主体は、演算部であれば良く、特定の処理を行う専用回路(例えばFPGA(Field-Programmable Gate Array)やASIC(Application Specific Integrated Circuit))を含んでいてもよい。 Further, in the following description, a process performed by executing a program may be described, but the program is determined by being executed by a processor (for example, a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit)). In order to perform the processed processing while appropriately using storage resources (for example, memory) and / or interface devices (for example, communication port), the main body of the processing may be a processor. Similarly, the main body of the process of executing the program may be a controller, an apparatus, a system, a computer, or a node having a processor. The main body of the processing performed by executing the program may be any arithmetic unit, and may include a dedicated circuit (for example, FPGA (Field-Programmable Gate Array) or ASIC (Application Specific Integrated Circuit)) for performing specific processing. ..

プログラムは、プログラムソースから計算機のような装置にインストールされてもよい。プログラムソースは、例えば、プログラム配布サーバまたは計算機が読み取り可能な記憶メディアであってもよい。プログラムソースがプログラム配布サーバの場合、プログラム配布サーバはプロセッサと配布対象のプログラムを記憶する記憶資源を含み、プログラム配布サーバのプロセッサが配布対象のプログラムを他の計算機に配布してもよい。また、以下の説明において、2以上のプログラムが1つのプログラムとして実現されてもよいし、1つのプログラムが2以上のプログラムとして実現されてもよい。 The program may be installed from a program source into a device such as a calculator. The program source may be, for example, a program distribution server or a computer-readable storage medium. When the program source is a program distribution server, the program distribution server includes a processor and a storage resource for storing the program to be distributed, and the processor of the program distribution server may distribute the program to be distributed to other computers. Further, in the following description, two or more programs may be realized as one program, or one program may be realized as two or more programs.

以下では、計器の読み取りに必要となる情報をあらかじめ設定し、設定した情報に基づいて計器の指示値を読み取る計器読み取り技術において、計器の読み取りに必要となる情報の設定にスマートフォンやタブレット端末等のモバイル機器を用いる場合でも、正確に且つ短時間で、計器の読み取りに必要となる情報を設定することを可能としている。 In the following, in the instrument reading technology that sets the information required for reading the instrument in advance and reads the indicated value of the instrument based on the set information, the information required for reading the instrument is set for smartphones, tablet terminals, etc. Even when using a mobile device, it is possible to set the information required for reading the instrument accurately and in a short time.

第一の実施例を図1から図19を用いて説明する。 The first embodiment will be described with reference to FIGS. 1 to 19.

図1は、第一の実施例における計器読み取りシステム1000を一般的なコンピュータによって実行させる場合のコンピュータの構成図を示す。本実施例における計器読み取りシステム1000は、図2に示すように、利用者201が手に把持した端末202を用いて計器203を撮影し、端末202で計器203の指示値を読み取らせる場合を想定している。指示値の読み取りに必要となる各種情報についても、端末202で計器203の画像を取得し、端末202の画面上で計器203の画像を操作することにより、設定を行う。端末202は、スマートフォンやタブレット端末、ノートPC等の、よく知られているモバイル端末であり、図1に含まれる構成要素を端末202に含む構成とすることができる。あるいは、データやプログラムの一部をサーバに格納し、必要な処理をネットワーク経由で実行する構成とすることも可能である。また、本実施例は、計器203を撮影するカメラを固定して設置するようなシステム対しても適用可能である。 FIG. 1 shows a configuration diagram of a computer when the instrument reading system 1000 in the first embodiment is executed by a general computer. As shown in FIG. 2, the instrument reading system 1000 in the present embodiment assumes a case where the instrument 203 is photographed by the terminal 202 held by the user 201 and the terminal 202 reads the indicated value of the instrument 203. is doing. Various information required for reading the indicated value is also set by acquiring the image of the instrument 203 on the terminal 202 and operating the image of the instrument 203 on the screen of the terminal 202. The terminal 202 is a well-known mobile terminal such as a smartphone, a tablet terminal, or a notebook PC, and the component included in FIG. 1 can be included in the terminal 202. Alternatively, it is possible to store a part of data or a program in a server and execute necessary processing via a network. Further, this embodiment is also applicable to a system in which a camera for photographing the instrument 203 is fixedly installed.

メモリ104に格納されたプログラムは、CD(Compact Disk)やDVD(Digital Versatile Disk)、USB(Universal Serial Bus)メモリ等の可搬性を有する非一時的な記録媒体に格納され、コンピュータにインストールされてもよい。計器読み取りシステム1000の機能は、メモリ104に格納されたプログラムがCPU101によって実行されることで、定められた処理がハードウェアと協働して実現される。計器読み取りシステム1000が実行するプログラム、その機能、あるいはその機能を実現する手段を、「機能」、「手段」、「部」、「ユニット」、「モジュール」等と呼ぶ場合がある。 The program stored in the memory 104 is stored in a portable non-temporary recording medium such as a CD (Compact Disk), a DVD (Digital Versatile Disk), or a USB (Universal Serial Bus) memory, and is installed in a computer. May be good. The function of the instrument reading system 1000 is that the program stored in the memory 104 is executed by the CPU 101, so that the defined processing is realized in cooperation with the hardware. A program executed by the instrument reading system 1000, a function thereof, or a means for realizing the function may be referred to as a "function", a "means", a "part", a "unit", a "module", or the like.

図1におけるCPU101は、計器読み取りシステム1000における各プログラムを実行するための情報処理装置である。入力I/F(インタフェース)102には、計器を撮影するためのカメラおよび、システムの開始や終了等を制御するためのキーボード、ボタン、マウスあるいはタッチパネル等の一般的なコンピュータにおける入力装置が含まれる。出力I/F(インタフェース)103は利用者にシステムの動作状況等を表示するための手段であり、スマートフォンやタブレット端末の画面、あるいは一般的なコンピュータ用の表示装置が含まれる。また、メモリ104は、計器読み取りシステム1000における各プログラムを格納するための記憶媒体である。メモリ104には、計器設定プログラム105および、計器読み取りプログラム106が含まれる。 The CPU 101 in FIG. 1 is an information processing device for executing each program in the instrument reading system 1000. The input I / F (interface) 102 includes a camera for photographing the instrument and an input device in a general computer such as a keyboard, a button, a mouse or a touch panel for controlling the start and end of the system. .. The output I / F (interface) 103 is a means for displaying the operating status of the system to the user, and includes a screen of a smartphone or a tablet terminal, or a display device for a general computer. Further, the memory 104 is a storage medium for storing each program in the instrument reading system 1000. The memory 104 includes an instrument setting program 105 and an instrument reading program 106.

第一の実施例では、指針によって指示値を表す種類の計器のうち、図3の計器301に示すように、目盛りが円状に配置されており、指針がその円の中心を支点として回転する種類の計器を読み取りの対象と想定する。図3の計器301に示す種類の計器を読み取るために必要となる基本的な情報は、目盛りが構成する円と目盛りの最小値の位置および最大値の位置である。図3では、目盛りが構成する円の中心位置302、目盛りが構成する円の半径303、目盛りの最小値位置304および目盛りの最大値位置305が読み取りに必要な基本的な情報となる。以下では、一例として、目盛りの最小値の位置および最大値の位置が、読み取りに必要な基本的な情報であるとして説明している。しかし、目盛りの最小値の位置および最大値の位置に限らず、例えば、目盛りが通常指し示す値の範囲がわかる場合には、その範囲の下限値の位置および上限値の位置を、読み取りに必要な基本的な情報としてもよい。例えば、指針が指し示す指示値が、経験上あるいは制御等により、最小値および最大値の80%の範囲で推移することがわかっている場合には、当該範囲の下限値の位置および上限値の位置を、読み取りに必要な基本的な情報とすればよい。このように、本システムの利用者は、上記最小値の位置および最大値の位置にかえて、読み取り位置や範囲を任意に設定することができる。 In the first embodiment, among the types of instruments whose indicated values are represented by the pointer, the scales are arranged in a circle as shown in the instrument 301 of FIG. 3, and the pointer rotates around the center of the circle as a fulcrum. Assume a type of instrument to be read. The basic information required to read the type of instrument shown in the instrument 301 of FIG. 3 is the circle formed by the scale, the position of the minimum value of the scale, and the position of the maximum value. In FIG. 3, the center position 302 of the circle formed by the scale, the radius 303 of the circle formed by the scale, the minimum value position 304 of the scale, and the maximum value position 305 of the scale are basic information necessary for reading. In the following, as an example, the position of the minimum value and the position of the maximum value of the scale are described as basic information necessary for reading. However, it is not limited to the position of the minimum value and the position of the maximum value of the scale. It may be basic information. For example, if it is known from experience or control that the indicated value indicated by the pointer changes within the range of 80% of the minimum and maximum values, the position of the lower limit value and the position of the upper limit value in the range are known. Should be the basic information required for reading. In this way, the user of this system can arbitrarily set the reading position and the range instead of the above-mentioned minimum value position and maximum value position.

円の中心位置302は、例えば図3に示すように、画像の左下を原点とした位置座標により表すことができる。原点位置は、任意に設定することもできる。さらに、目盛りの最小値位置304および目盛りの最大値位置305は、例えば、図3に示すように、円の中心位置302から真下におろした線を基準とした相対的な角度で表すことができる。基準とする線も任意に設定することができる。これらの情報を利用者が効率的に指定するためには、例えば、目盛りの最小値位置304および目盛りの最大値位置305のみを指定すれば良い。2点のみの指定では通常、2種類の円が候補として求められることになるが、本実施例では、計器全体がなるべく大きく画像中に映るように撮影する、というような制約を用いることができる。この制約を用いることにより、目盛りの最小値位置304および目盛りの最大値位置305のみを用いて、目盛りが構成する円を一意に特定することが可能となる。また、目盛りの最小値位置304および目盛りの最大値位置305は指定された情報をそのまま使用すれば良い。 As shown in FIG. 3, for example, the center position 302 of the circle can be represented by the position coordinates with the lower left of the image as the origin. The origin position can be set arbitrarily. Further, the minimum value position 304 of the scale and the maximum value position 305 of the scale can be represented by a relative angle with respect to a line drawn directly below the center position 302 of the circle, for example, as shown in FIG. .. The reference line can also be set arbitrarily. In order for the user to efficiently specify this information, for example, only the minimum value position 304 of the scale and the maximum value position 305 of the scale need to be specified. If only two points are specified, two types of circles are usually required as candidates, but in this embodiment, it is possible to use a constraint that the entire instrument is photographed so as to be reflected in the image as large as possible. .. By using this constraint, it is possible to uniquely identify the circle formed by the scale by using only the minimum value position 304 of the scale and the maximum value position 305 of the scale. Further, the designated information may be used as it is for the minimum value position 304 of the scale and the maximum value position 305 of the scale.

さらに、図3の計器301に示す種類の計器において、最小値位置と最大値位置が計器の中心線(例えば、円の中心位置302を通る垂直な線や水平な線)に対して線対称の位置にある場合は、目盛りの最小値位置304および目盛りの最大値位置305のいずれか一方と、円の中心位置302を指定することでも、目盛りが構成する円を一意に特定することができる。上述した情報は、計器の読み取りに必要となる基本的な情報であるが、それ以外の情報を追加することもできる。例えば、最小値と最大値以外の目盛りの位置を追加するようにしても良い。また、図3に示す計器は傾きが無い状態で撮影された状態となっているが、実際に計器を撮影する場合、計器が傾いて撮影される場合が一般的である。このため、上記に示した情報に加えて、傾きに関する情報を追加するようにしても良い。 Further, in the type of instrument shown in the instrument 301 of FIG. 3, the minimum value position and the maximum value position are axisymmetric with respect to the center line of the instrument (for example, a vertical line or a horizontal line passing through the center position 302 of the circle). When it is in the position, the circle formed by the scale can be uniquely specified by designating either the minimum value position 304 of the scale or the maximum value position 305 of the scale and the center position 302 of the circle. The above-mentioned information is basic information necessary for reading the instrument, but other information can be added. For example, the positions of the scales other than the minimum value and the maximum value may be added. Further, although the instrument shown in FIG. 3 is in a state of being photographed without tilting, when actually photographing the instrument, it is common that the instrument is photographed at an angle. Therefore, in addition to the information shown above, information regarding the inclination may be added.

計器情報データ107には、計器の読み取りに必要な情報の種類および計器の設定時に利用者が指定する情報の種類を登録する。図4に、計器情報データ107のフォーマットの一例を示す。計器情報ID401は、計器情報の種類を表す識別子であり、計器情報データ107の中において唯一の識別子であれば、任意の数字列あるいは文字列を使用することができる。設定情報リスト402は、上述した計器の指示値の読み取りに必要な情報の種類を文字列等により列挙したものである。図3に示す種類の計器であれば、例えば「円の中心位置、円の半径、最小値位置、最大値位置」のような文字列を記述する。「円の中心位置」は図3に示した円の中心位置302、「円の半径」は図3に示した円の半径303、「最小値位置」は図3に示した目盛りの最小値位置304、「最大値位置」は図3に示した目盛りの最大値位置305にそれぞれ対応することを想定している。 In the instrument information data 107, the type of information required for reading the instrument and the type of information specified by the user when setting the instrument are registered. FIG. 4 shows an example of the format of the instrument information data 107. The instrument information ID 401 is an identifier representing the type of instrument information, and any numeric string or character string can be used as long as it is the only identifier in the instrument information data 107. The setting information list 402 lists the types of information necessary for reading the indicated value of the above-mentioned instrument by a character string or the like. For the type of instrument shown in FIG. 3, a character string such as "center position of circle, radius of circle, minimum value position, maximum value position" is described. The "center position of the circle" is the center position 302 of the circle shown in FIG. 3, the "radius of the circle" is the radius 303 of the circle shown in FIG. 3, and the "minimum value position" is the minimum value position of the scale shown in FIG. It is assumed that 304 and the "maximum value position" correspond to the maximum value position 305 of the scale shown in FIG. 3, respectively.

入力情報リスト403は、設定情報リスト402に列挙されている情報のうち、計器の設定を行う際に利用者が手動で入力を行う情報の種類を列挙したものである。例えば、図3に示す計器に対して、目盛りの最小値位置304および最大値位置305を利用者が入力するという想定の場合、上述した設定情報リスト402の例に対する入力情報リスト403には「最小値位置、最大値位置」のような文字列を記述する。あるいは、目盛りが構成する円の中心位置302と目盛りの最小値位置304を利用者が入力する想定の場合は「中心位置、最小値位置」のような文字列を記述する。このように、利用者が入力すると想定する情報の種類および組み合わせは、設定情報リスト402に含まれる情報の種類の範囲内であれば、任意に設定することができる。 The input information list 403 lists the types of information that the user manually inputs when setting the instrument among the information listed in the setting information list 402. For example, when it is assumed that the user inputs the minimum value position 304 and the maximum value position 305 of the scale for the instrument shown in FIG. 3, the input information list 403 for the above-mentioned example of the setting information list 402 is "minimum". Describe a character string such as "value position, maximum value position". Alternatively, when the user is supposed to input the center position 302 of the circle formed by the scale and the minimum value position 304 of the scale, a character string such as "center position, minimum value position" is described. As described above, the types and combinations of information assumed to be input by the user can be arbitrarily set as long as they are within the range of the types of information included in the setting information list 402.

計器設定データ108には、計器設定プログラム105により設定される各計器の指示値の読み取りに必要となる情報が格納される。図3に示す計器の設定情報を格納するためのフォーマットの一例を図5に示す。図5において、計器名称501は読み取り対象の各計器に付与される名称であり、計器設定データ108において唯一の文字列であれば、任意の文字列を使用することができる。計器情報ID502は、計器情報の種類を表す識別子であり、計器情報データ107における計器情報ID401のいずれかが記述される。テンプレート画像503は、対象計器の読み取りに必要な情報を設定する際に計器を撮影した画像である。円の中心位置504、円の半径505、最小値位置506および最大値位置507は、図3における目盛りが構成する円の中心位置302、目盛りが構成する円の半径303、目盛りの最小値位置304および目盛りの最大値位置305にそれぞれ対応するデータが記述される。また、最小値508および最大値509は、最小値位置506および最大値位置507を指針が指示した場合の計器の指示値を記述する。 The instrument setting data 108 stores information necessary for reading the indicated value of each instrument set by the instrument setting program 105. FIG. 5 shows an example of a format for storing the setting information of the instrument shown in FIG. In FIG. 5, the instrument name 501 is a name given to each instrument to be read, and any character string can be used as long as it is the only character string in the instrument setting data 108. The instrument information ID 502 is an identifier representing the type of instrument information, and any one of the instrument information ID 401 in the instrument information data 107 is described. The template image 503 is an image taken by the instrument when setting the information necessary for reading the target instrument. The center position 504 of the circle, the radius 505 of the circle, the minimum value position 506, and the maximum value position 507 are the center position 302 of the circle formed by the scale in FIG. 3, the radius 303 of the circle formed by the scale, and the minimum value position 304 of the scale. And the data corresponding to the maximum value position 305 of the scale is described. Further, the minimum value 508 and the maximum value 509 describe the indicated value of the instrument when the pointer indicates the minimum value position 506 and the maximum value position 507.

計器設定プログラム105や計器読み取りプログラム106には、読み取りに必要な情報の種類を表す上述のような文字列が登録されており、読み取りに必要な情報の種類の組み合わせにより、設定方法や読み取り方法を選択し、実行するようにしておく。想定する以外の種類の計器を対象とする必要が生じた場合は、読み取りに必要な新たな情報の種類の定義、新たな情報の組み合わせの計器情報データ107への登録、および、計器設定プログラム105および計器読み取りプログラム106への必要な情報や設定方法、読み取り方法の追加、を必要に応じて行うことにより、新しい種類の計器の設定および読み取りを行うことができる。 The above-mentioned character strings indicating the types of information required for reading are registered in the instrument setting program 105 and the instrument reading program 106, and the setting method and reading method can be determined by combining the types of information required for reading. Make a selection and run it. When it becomes necessary to target an instrument of a type other than expected, the definition of a new type of information required for reading, the registration of a combination of new information in the instrument information data 107, and the instrument setting program 105. A new type of instrument can be set and read by adding necessary information, setting method, and reading method to the instrument reading program 106 as needed.

計器読み取り結果データ109には、計器読み取りプログラム106により読み取られた計器の指示値が格納される。図6に読み取られた計器の指示値を格納するフォーマットの一例を示す。図6において、計器名称601は読み取られた指示値に対応する計器の名称であり、図5における計器名称501と同様の名称が記述される。日時602には、指示値が読み取られた日付および時間を示す数値あるいは文字列が記述される。603は読み取られた指示値を表す数値あるいは文字列である。 The instrument reading result data 109 stores the indicated value of the instrument read by the instrument reading program 106. FIG. 6 shows an example of a format for storing the indicated value of the read instrument. In FIG. 6, the instrument name 601 is the name of the instrument corresponding to the read indicated value, and the same name as the instrument name 501 in FIG. 5 is described. In the date and time 602, a numerical value or a character string indicating the date and time when the indicated value was read is described. Reference numeral 603 is a numerical value or a character string representing the read indicated value.

計器設定プログラム105は、計器の読み取りに必要な情報を設定し、設定した情報を計器設定データ108に格納するためのプログラムである。図7に、計器設定プログラム105により実行される処理のフローチャートの一例を示す。なお、図7に示すフローチャートは、図3に示す種類の計器を対象とした処理となっている。 The instrument setting program 105 is a program for setting information necessary for reading the instrument and storing the set information in the instrument setting data 108. FIG. 7 shows an example of a flowchart of the process executed by the instrument setting program 105. The flowchart shown in FIG. 7 is a process for the type of instrument shown in FIG.

以下に説明するように、実施例1および後述する実施例2では、計器の画像(例えば、図3の円形形状の計器の画像や図20の矩形形状の計器の画像)に示す種類の計器を取得する取得手段(例えば、入力装置102であるカメラ)と、計器が示す数値を読み取るために必要な計器の情報を設定するための設定手段(例えば、計器設定プログラム105)と、設定された計器の情報に基づいて計器の画像から計器が示す数値を読み取る読み取り手段(例えば、計器読み取りプログラム106)と、計器が示す数値を読み取った結果を表示する表示手段(例えば、出力装置103である表示装置)と、を有する計器読み取りシステム1000において、上記設定手段は、計器の画像における目盛りを含む領域の候補(例えば、図3の円候補や図20の矩形候補)を検出する領域候補検出手段(例えば、図7のS704~S707を実行する計器読み取りプログラム106)と、検出された目盛りを含む領域の各候補に対して、目盛り位置の候補を検出する位置候補検出手段(例えば、図7のS708を実行する計器読み取りプログラム106)と、目盛りを含む領域の候補および目盛り位置の候補から、最適な候補を選択するための制約条件に関する情報(例えば、図7のS709で指定される情報)を入力する入力手段(例えば、図7のS709を実行する計器読み取りプログラム106)と、目盛りを含む領域の候補および目盛り位置の候補と、入力された制約条件とに基づいて、目盛りを含む領域の候補と目盛り位置の候補とに順位付けを行う順位付け手段(例えば、図7のS710を実行する計器読み取りプログラム106)と、順位付けの結果に基づいて最適な目盛りを含む領域の候補と目盛り位置の候補を表示する表示手段(例えば、図7のS711を実行する計器読み取りプログラム106)と、を有することを特徴とする計器読み取りシステムとして機能する。 As will be described below, in Example 1 and Example 2 described later, the types of instruments shown in the image of the instrument (for example, the image of the circular instrument in FIG. 3 and the image of the rectangular instrument in FIG. 20) are used. An acquisition means for acquisition (for example, a camera which is an input device 102), a setting means for setting instrument information necessary for reading a numerical value indicated by the instrument (for example, an instrument setting program 105), and a set instrument. A reading means for reading the numerical value indicated by the instrument from the image of the instrument based on the information of (for example, the instrument reading program 106) and a display means for displaying the result of reading the numerical value indicated by the instrument (for example, a display device which is an output device 103). ), And the setting means is a region candidate detecting means (for example, a circle candidate in FIG. 3 or a rectangular candidate in FIG. 20) for detecting a region candidate including a scale in an image of the instrument. , The instrument reading program 106) that executes S704 to S707 of FIG. 7, and the position candidate detecting means (for example, S708 of FIG. 7) that detects the candidate of the scale position for each candidate of the region including the detected scale. Input the information regarding the constraint condition for selecting the optimum candidate from the instrument reading program 106) to be executed and the candidate of the area including the scale and the candidate of the scale position (for example, the information specified by S709 in FIG. 7). Based on the input means (for example, the instrument reading program 106 that executes S709 of FIG. 7, the candidate of the area including the scale and the candidate of the scale position, and the input constraint condition, the candidate and the scale of the area including the scale). A ranking means for ranking the position candidates (for example, an instrument reading program 106 that executes S710 in FIG. 7), and a region candidate including an optimum scale and a scale position candidate based on the ranking result. It functions as an instrument reading system characterized by having a display means for displaying (for example, an instrument reading program 106 that executes S711 of FIG. 7).

図7におけるステップ701では、計器設定プログラム105は、計器情報データ107から読み取り対象となる計器に関する情報を取得する。具体的には、計器設定プログラム105は、計器情報データ107から計器情報ID401の一覧を取得し、端末202の画面上に一覧表示するとともに、利用者に対象となる計器に対応する計器情報IDを選択するよう指示を行う。計器設定プログラム105は、利用者が一覧から選択した計器情報IDに対応する計器情報を計器情報データ107から取得する。 In step 701 in FIG. 7, the instrument setting program 105 acquires information about the instrument to be read from the instrument information data 107. Specifically, the instrument setting program 105 acquires a list of instrument information ID 401 from the instrument information data 107, displays the list on the screen of the terminal 202, and gives the user an instrument information ID corresponding to the target instrument. Instruct to select. The instrument setting program 105 acquires instrument information corresponding to the instrument information ID selected by the user from the list from the instrument information data 107.

ステップ702では、計器設定プログラム105は、端末202に設置されているカメラを用いて、読み取り対象となる計器の画像を撮影する。この画像は、計器設定データ108のテンプレート画像503として格納される。 In step 702, the instrument setting program 105 takes an image of the instrument to be read by using the camera installed in the terminal 202. This image is stored as the template image 503 of the instrument setting data 108.

ステップ703では、計器設定プログラム105は、撮影した計器の画像から輪郭線(エッジ)を抽出する。輪郭線は、一般によく知られた方法、例えば、Canny法等を用いることにより容易に抽出することができる。ステップ703で輪郭線を抽出した後、ステップ704への処理とステップ705への処理に分岐する。この分岐は、異なるデザインの目盛りに対応することが目的である。 In step 703, the instrument setting program 105 extracts contour lines (edges) from the captured image of the instrument. The contour line can be easily extracted by using a generally well-known method, for example, the Canny method. After extracting the contour line in step 703, the process branches to the process of step 704 and the process of step 705. This branch is intended to accommodate different design scales.

図3に示す種類の計器を目盛りのデザインで分類すると、図8に示す種類の計器と図9に示す種類の計器に大別される。図8に示す種類の計器は、目盛り線によって構成される円と同心円である円弧の線に各目盛り線が接触しているデザイン801である。円弧の線811は、目盛り線と同様に描かれた線である場合もあるが、計器の枠が同様の役割を果たしている場合もある。この種類の計器では、輪郭線の抽出結果においても円弧と各目盛り線が接続された状態となる。一方、図9に示す種類の計器は、各目盛り線が独立した短い線になっているデザイン901であり、輪郭線の抽出においても各目盛り線に対して独立した輪郭線が抽出される。これら二種類の目盛りのデザインに柔軟に対応するため、図7に示すフローチャートでは、計器設定プログラム105は、ステップ704において図8に示す種類の目盛り線に対応した処理を、ステップ705以降において図9に示す種類の目盛り線に対応した処理を行う。図7では、ステップ704の処理と、ステップ705以降の処理とを実行する場合を例示しているが、どちらかの処理を選択的に実行してもよい。 When the types of instruments shown in FIG. 3 are classified by the scale design, they are roughly classified into the types of instruments shown in FIG. 8 and the types of instruments shown in FIG. The type of instrument shown in FIG. 8 is a design 801 in which each scale line is in contact with an arc line that is concentric with a circle composed of scale lines. The arc line 811 may be a line drawn in the same manner as the scale line, but the frame of the instrument may play a similar role. In this type of instrument, the arc and each scale line are connected even in the extraction result of the contour line. On the other hand, the type of instrument shown in FIG. 9 has a design 901 in which each scale line is an independent short line, and an independent contour line is extracted for each scale line also in the extraction of the contour line. In order to flexibly correspond to the design of these two types of scales, in the flowchart shown in FIG. 7, the instrument setting program 105 performs the processing corresponding to the type of scale lines shown in FIG. 8 in step 704, and the process corresponding to the scale lines of the type shown in FIG. Performs processing corresponding to the types of scale lines shown in. FIG. 7 illustrates a case where the process of step 704 and the process of step 705 and subsequent steps are executed, but either process may be selectively executed.

ステップ704では、計器設定プログラム105は、ステップ703で抽出した輪郭線すべてを用いて円候補の検出を行う。円候補の検出方法としては、一般によく知られた方法、例えば、Hough変換等を用いることにより、容易に検出することができる。計器設定プログラム105は、図8に示す計器の画像から抽出した輪郭線に対して円候補の検出を行うことにより、例えば図10における円候補1001、円候補1002および円候補1003に示すような円候補を抽出することできる。図10において、円候補1001は目盛り線が接する円弧の線に対して検出された候補、円候補1002および円候補1003は計器の枠によって表される線が円候補として検出されたものである。また、計器設定プログラム105は、抽出した輪郭線すべてを用いて円候補の検出を行う代わりに、抽出された輪郭線を連結された輪郭線のまとまり(例えば、図10で示す円を構成する1または複数の破線を含む小領域)に分割し、分割された輪郭線のまとまりがあらかじめ定められた長さより長い輪郭線のみに対して円候補の検出を行うようにしても良い。 In step 704, the instrument setting program 105 detects the circle candidate using all the contour lines extracted in step 703. As a method for detecting a circle candidate, a generally well-known method, for example, a Hough transform or the like, can be used to easily detect the circle candidate. The instrument setting program 105 detects circle candidates for the contour lines extracted from the image of the instrument shown in FIG. 8, for example, circles as shown in circle candidates 1001, circle candidates 1002, and circle candidates 1003 in FIG. Candidates can be extracted. In FIG. 10, the circle candidate 1001 is a candidate detected for the arc line tangent to the scale line, and the circle candidate 1002 and the circle candidate 1003 are the lines represented by the frame of the instrument detected as the circle candidate. Further, instead of detecting the circle candidate using all the extracted contour lines, the instrument setting program 105 forms a group of contour lines in which the extracted contour lines are connected (for example, 1 constituting the circle shown in FIG. 10). Alternatively, it may be divided into a small area including a plurality of broken lines), and the circle candidate may be detected only for the contour line whose group of the divided contour lines is longer than a predetermined length.

一方、ステップ705では、計器設定プログラム105は、抽出された輪郭線を連結された輪郭線のまとまり(例えば、図11で示す円を構成する目盛り線に対応する小領域)に分割し、分割された輪郭線のまとまりの領域が占める面積(例えば、図11で示す目盛り線に対応する小領域の面積)を求める。計器設定プログラム105は、求めた面積があらかじめ目盛り線の面積を想定した閾値より小さい輪郭線のまとまりのみを残す。この処理により、計器設定プログラム105は、図9に示す種類の計器の画像から、目盛り線に関する輪郭線のみを抽出することが可能となる。 On the other hand, in step 705, the instrument setting program 105 divides the extracted contour lines into a group of connected contour lines (for example, a small area corresponding to the scale line constituting the circle shown in FIG. 11) and is divided. The area occupied by a group of contour lines (for example, the area of a small area corresponding to the scale line shown in FIG. 11) is obtained. The instrument setting program 105 leaves only a set of contour lines whose area is smaller than the threshold value assuming the area of the scale line in advance. By this process, the instrument setting program 105 can extract only the contour line related to the scale line from the image of the instrument of the type shown in FIG.

次にステップ706において、計器設定プログラム105は、ステップ705により残された各輪郭線のまとまりについて、それぞれの輪郭線の重心位置を求める。さらにステップ707において、計器設定プログラム105は、求めた重心位置に対してステップ704で使用したのと同様の方法を用いて円候補の検出を行う。ステップ705から707の処理により、図11の円候補1101に示すように、独立した目盛り線により構成される円候補を検出することができる。 Next, in step 706, the instrument setting program 105 obtains the position of the center of gravity of each contour line for each group of contour lines left by step 705. Further, in step 707, the instrument setting program 105 detects the circle candidate for the obtained center of gravity position by using the same method as that used in step 704. By the processing of steps 705 to 707, as shown in the circle candidate 1101 of FIG. 11, the circle candidate composed of independent scale lines can be detected.

ステップ704および、ステップ705から707によって検出された各円候補のうち、目盛りによって構成される円に対して検出された候補は、円候補1001のように全ての目盛りに接触、あるいは、円候補1101のように全ての目盛りと交差する形になる。この場合、円候補の半径を基準として当該半径よりも一定程度大きくした円および当該半径よりも一定程度小さくした円によって挟まれるドーナツ状の領域は目盛りを含む領域となるため、各円候補は目盛り領域の候補となる。 Of the circle candidates detected in steps 704 and 705 to 707, the candidate detected for the circle composed of the scales touches all the scales like the circle candidate 1001 or the circle candidate 1101. It becomes a shape that intersects all the scales like. In this case, the donut-shaped area sandwiched between the circles that are slightly larger than the radius and the circles that are smaller than the radius based on the radius of the circle candidates is the area including the scale, so each circle candidate has a scale. Candidate for the area.

このように、上記領域候補検出手段(例えば、図7のS704~S707を実行する計器読み取りプログラム106)は、計器の画像中から抽出した輪郭情報から目盛りを含む領域を表す形状を特定することにより、計器の画像中から目盛りを含む領域の候補を検出する処理(例えば、図7のS704)と、計器の画像中から各々の目盛りに対応する小領域を抽出し、抽出した複数の小領域が構成する形状が目盛りを含む領域を表す形状であるかどうかを判定することにより、計器の画像中から目盛りを含む領域の候補を検出する処理(例えば、図7のS705~S707)と、の少なくともいずれかの処理を行う。 As described above, the region candidate detecting means (for example, the instrument reading program 106 that executes S704 to S707 in FIG. 7) identifies the shape representing the region including the scale from the contour information extracted from the image of the instrument. , A process of detecting a candidate for a region including a scale from the image of the instrument (for example, S704 in FIG. 7), and a small region corresponding to each scale is extracted from the image of the instrument, and the extracted plurality of small regions are At least of the process of detecting a candidate for the region including the scale from the image of the instrument (for example, S705 to S707 in FIG. 7) by determining whether the constituent shape is a shape representing the region including the scale. Perform one of the processes.

ステップ708では、計器設定プログラム105は、ステップ704および、ステップ705から707によって検出された各円候補に対して、目盛り位置候補の検出を行う。目盛り位置候補の検出を行うためには、まず、円候補の中心位置に基づいて、図8や図9に示すような計器画像に対して極座標変換を行い、目盛り領域の画像を矩形状の画像に変換する。具体的には、計器設定プログラム105は、円候補の中心位置から円周方向に伸ばした直線を想定し、その直線上の画素値を取得する。計器設定プログラム105は、中心位置を軸に、直線の角度を少しずつ変えながら取得した画素を接続していくことにより、円形の画像を矩形状の画像に変換することができる。この際、計器設定プログラム105は、円候補の半径を中心として、あらかじめ設定された範囲の画素値のみを取得することにより、円候補が目盛りによって構成される円と一致している場合、図12および図13に示すように、目盛り領域のみを矩形状に変形した画像を取得することができる。図12は図8に示す画像から抽出された目盛り領域の画像、図13は図9に示す画像から抽出された目盛り領域の画像を想定している。また図12および図13では、目盛り線のみが抽出されている場合を想定した画像であるが、実際には、数字やその他模様の一部が含まれる場合もある。 In step 708, the instrument setting program 105 detects the scale position candidate for each circle candidate detected by step 704 and steps 705 to 707. In order to detect the scale position candidate, first, based on the center position of the circle candidate, polar coordinate conversion is performed on the instrument image as shown in FIGS. 8 and 9, and the image of the scale area is converted into a rectangular image. Convert to. Specifically, the instrument setting program 105 assumes a straight line extending in the circumferential direction from the center position of the circle candidate, and acquires the pixel value on the straight line. The instrument setting program 105 can convert a circular image into a rectangular image by connecting the acquired pixels while changing the angle of the straight line little by little with the center position as the axis. At this time, when the instrument setting program 105 acquires only the pixel values in a preset range centered on the radius of the circle candidate, and the circle candidate matches the circle formed by the scale, FIG. 12A. And as shown in FIG. 13, it is possible to acquire an image in which only the scale area is deformed into a rectangular shape. FIG. 12 assumes an image of the scale area extracted from the image shown in FIG. 8, and FIG. 13 assumes an image of the scale area extracted from the image shown in FIG. Further, in FIGS. 12 and 13, the images are based on the assumption that only the scale lines are extracted, but in reality, some numbers and other patterns may be included.

さらにステップ708では、計器設定プログラム105は、目盛り領域の画像に対して、目盛り線のみを残すための処理を行う。具体的には、図12および図13のような画像の場合、計器設定プログラム105は、縦方向の線のみを残す処理を行う。この方法としては、一般によく知られたモルフォロジー変換等を用いることにより、容易に行うことができる。縦方向の線のみを残す処理を行うことにより、図12に示す画像も図13と同様の画像に変換される。計器設定プログラム105は、目盛り線のみとなった画像に対して、例えば図13に示すような画像の場合、各目盛り線の横方向の位置を目盛り位置候補として取得する。 Further, in step 708, the instrument setting program 105 performs a process for leaving only the scale line on the image in the scale area. Specifically, in the case of images as shown in FIGS. 12 and 13, the instrument setting program 105 performs a process of leaving only vertical lines. This method can be easily performed by using a generally well-known morphology conversion or the like. By performing the process of leaving only the lines in the vertical direction, the image shown in FIG. 12 is also converted into the same image as in FIG. The instrument setting program 105 acquires the lateral position of each scale line as a scale position candidate in the case of an image as shown in FIG. 13, for example, with respect to an image having only scale lines.

ステップ709では、計器設定プログラム105は、計器の設定時に利用者が指定する情報を取得する。このため、計器設定プログラム105は、端末202の画面上に図14に示すような指示画面を表示する。この画面は、ステップ702で計器の撮影を行った後に表示される画面となる。端末202の画面がタッチパネルを有する場合、計器の画像1401上の該当位置を指でタッチすることにより、必要な情報を指定することができる。利用者が設定する必要がある情報の種類は、ステップ701で取得した計器情報データ107中における入力情報リスト403の内容によって決定される。計器設定プログラム105は、入力情報リスト403の内容に従って、利用者が指定した情報を順番に設定情報リスト中の情報に対応付ける。 In step 709, the instrument setting program 105 acquires information specified by the user when setting the instrument. Therefore, the instrument setting program 105 displays an instruction screen as shown in FIG. 14 on the screen of the terminal 202. This screen is the screen displayed after taking a picture of the instrument in step 702. When the screen of the terminal 202 has a touch panel, necessary information can be specified by touching the corresponding position on the image 1401 of the instrument with a finger. The type of information that the user needs to set is determined by the content of the input information list 403 in the instrument information data 107 acquired in step 701. The instrument setting program 105 associates the information specified by the user with the information in the setting information list in order according to the contents of the input information list 403.

図15に利用者が必要な情報を指定した状態の一例を示す。図15は、利用者が指定する情報が目盛りの最小値位置304と目盛りの最大値位置305である場合の例を示しており、最小値位置1501が設定され、最大値位置1502が設定されている。なお、この時に利用者が指定する位置は正確な位置である必要は無い。また、図14においてボタン1402は直前の画面に戻るためのボタンであり、計器設定プログラム105は、利用者からマウスや画面タッチ等による選択を受け付けると、画面を遷移させて直前画面に戻ることができる。以降の画面でも同様に、計器設定プログラム105は、このボタンが選択されると、直前の画面に遷移させる。 FIG. 15 shows an example of a state in which the user has specified necessary information. FIG. 15 shows an example in which the information specified by the user is the minimum value position 304 of the scale and the maximum value position 305 of the scale, the minimum value position 1501 is set, and the maximum value position 1502 is set. There is. The position specified by the user at this time does not have to be an accurate position. Further, in FIG. 14, the button 1402 is a button for returning to the immediately preceding screen, and the instrument setting program 105 may change the screen and return to the immediately preceding screen when the user accepts a selection by a mouse, a screen touch, or the like. can. Similarly on the subsequent screens, the instrument setting program 105 transitions to the immediately preceding screen when this button is selected.

ステップ710では、計器設定プログラム105は、利用者が指定した情報に基づいて、すでに検出されている円候補および目盛り位置候補に対して順位付けを行う。いずれの順位付けについても、利用者が指定した位置と円候補や目盛り位置候補との距離に基づいて行うことができる。例えば、円候補の順位付けについては、計器設定プログラム105は、各円候補について、円候補の中心位置から利用者が指定した位置までの距離と円候補の半径との差を求め、差がより小さい候補を順位が上位の候補とすれば良い。また、目盛り位置候補の順位付けについては、計器設定プログラム105は、利用者が指定した位置を上述した極座標変換後の画像上での位置に変換し、各目盛り候補との距離がより小さい候補を順位が上位の候補とすれば良い。 In step 710, the instrument setting program 105 ranks the already detected circle candidates and scale position candidates based on the information specified by the user. Both rankings can be performed based on the distance between the position specified by the user and the circle candidate or the scale position candidate. For example, regarding the ranking of circle candidates, the instrument setting program 105 finds the difference between the distance from the center position of the circle candidate to the position specified by the user and the radius of the circle candidate for each circle candidate, and the difference is larger. The smaller candidate may be the higher-ranked candidate. Regarding the ranking of the scale position candidates, the instrument setting program 105 converts the position specified by the user into the position on the image after the polar coordinate conversion described above, and selects a candidate having a smaller distance from each scale candidate. The candidate with the highest ranking may be selected.

円候補や目盛り位置候補に順位付けを行う方法としては、これら以外にも順位がつけられる方法であればどのような方法でも用いることができる。さらに、円候補や目盛り位置候補の順位付けにおいて、利用者が指定した位置以外を制約に加えるようにしても良い。例えば、対象の計器が画像の中央付近に撮影されると想定できる場合、中心位置が画像の中心により近い円候補を順位が上位の候補とするようにしても良い。またさらに、複数の条件を組み合わせて順位付けを行うようにすることもできる。 As a method for ranking the circle candidates and the scale position candidates, any method other than these can be used as long as the ranking can be performed. Further, in the ranking of the circle candidate and the scale position candidate, a position other than the position specified by the user may be added to the constraint. For example, when it can be assumed that the target instrument is photographed near the center of the image, a circle candidate whose center position is closer to the center of the image may be selected as a candidate with a higher rank. Furthermore, it is possible to combine a plurality of conditions for ranking.

このように、上記設定手段(例えば、計器設定プログラム105)は、上記入力手段(例えば、図7のS709を実行する計器読み取りプログラム106)から、目盛り位置の概略の位置を取得し、上記順位付け手段(例えば、図7のS710を実行する計器読み取りプログラム106)は、検出された目盛りを含む領域の候補と、目盛り位置の候補の位置と取得した概略の位置との距離とに基づいて、検出された目盛りを含む領域の候補と目盛り位置の候補とに順位付けを行う。 As described above, the setting means (for example, the instrument setting program 105) acquires the approximate position of the scale position from the input means (for example, the instrument reading program 106 that executes S709 in FIG. 7) and ranks the scale positions. The means (for example, the instrument reading program 106 executing S710 in FIG. 7) detects based on the distance between the candidate region including the detected scale and the position of the candidate scale position and the acquired approximate position. The candidate of the area including the scale and the candidate of the scale position are ranked.

ステップ711では、計器設定プログラム105は、ステップ710で行った順位付けの結果に基づいて、円候補および目盛り位置候補を端末202の画面上に表示する。図16に順位付けされた円候補および目盛り位置候補の表示例を示す。図16において、画面の上部1601には、ステップ702で取得された計器の画像上に、順位付けされた円候補および目盛り位置候補を重ね合わせた結果が表示されている。特に図16では、円候補、目盛り位置候補ともに、上位3つの候補のみが表示されており、さらに第一候補はそれぞれ太い線で表示されているとともに、円候補の第一候補については中心位置も合わせて表示されている。図16において、円候補は破線、最小値の目盛り位置候補は四角、最大値の目盛り位置候補は三角、円候補の中心位置は計器中央の小さい破線の円1602として表示されている。また図16では、目盛り位置候補は第一の円候補に対する候補のみとしている。さらに、計器設定プログラム105は、図16における「円1」、「円2」、「円3」、「最小1」、「最小2」等のように、各候補には順位に応じた名称を自動的に付与し、各候補に紐づけて表示する。図16に示す表示は一例であり、表示する候補数や線の太さ、記号の形状、表示色等を必要に応じて変更することができる。あるいは、利用者が使い勝手や嗜好に合わせて個別に調整できるようにしても良い。 In step 711, the instrument setting program 105 displays the circle candidate and the scale position candidate on the screen of the terminal 202 based on the result of the ranking performed in step 710. FIG. 16 shows a display example of the ranked circle candidates and scale position candidates. In FIG. 16, in the upper part 1601 of the screen, the result of superimposing the ranked circle candidates and scale position candidates on the image of the instrument acquired in step 702 is displayed. In particular, in FIG. 16, only the top three candidates are displayed for both the circle candidate and the scale position candidate, the first candidate is displayed with a thick line, and the center position of the first candidate for the circle candidate is also displayed. It is also displayed. In FIG. 16, the circle candidate is displayed as a broken line, the minimum value scale position candidate is displayed as a square, the maximum value scale position candidate is displayed as a triangle, and the center position of the circle candidate is displayed as a small broken line circle 1602 in the center of the instrument. Further, in FIG. 16, the scale position candidates are only candidates for the first circle candidate. Further, the instrument setting program 105 assigns each candidate a name according to the order, such as "yen 1", "yen 2", "yen 3", "minimum 1", "minimum 2", etc. in FIG. It is automatically assigned and displayed in association with each candidate. The display shown in FIG. 16 is an example, and the number of candidates to be displayed, the thickness of the line, the shape of the symbol, the display color, and the like can be changed as necessary. Alternatively, the user may be able to make individual adjustments according to usability and taste.

また、図16の画面の下部1603には、検出された円候補および目盛り位置候補に付与された名称が上位の候補から順に一覧表示されている。候補の左側に表示されている丸は、黒丸が選択されている候補、白丸は選択されていない候補を示している。画面の下部1603では、いずれも第一位の候補が選択された状態であることを示している。画面の下部1603においても上位3つの候補のみが表示されているが、表示する候補の個数は任意に変更しても良い。例えば、計器設定プログラム105は、画面の上部1601に表示されている候補より多く候補を表示するようにしても良い。 Further, in the lower part 1603 of the screen of FIG. 16, the names given to the detected circle candidates and the scale position candidates are listed in order from the top candidate. The circles displayed on the left side of the candidates indicate the candidates for which the black circle is selected, and the white circles indicate the candidates for which the black circle is not selected. At the bottom 1603 of the screen, it is shown that the first-ranked candidate is selected. Only the top three candidates are displayed in the lower 1603 of the screen, but the number of candidates to be displayed may be arbitrarily changed. For example, the instrument setting program 105 may display more candidates than the candidates displayed in the upper part 1601 of the screen.

ステップ712では、計器設定プログラム105は、ステップ711で表示された内容に対して利用者が行った操作の結果を取得し、ステップ713において図16の決定ボタン1604が選択されたと判定した場合(ステップ713;Yes)、ステップ715に進む。ステップ713において、計器設定プログラム105は、利用者の操作が決定ボタン1604の選択ではないと判定した場合(ステップ713;No)、別候補選択または微調整であると判断し、ステップ714で必要な画面表示の変更を行い、再度ステップ712に戻り、利用者の操作を取得する。利用者の操作としては、例えば、円候補や目盛り候補の選択変更、円候補の位置や目盛り候補の位置の微調整等を想定することができる。他に必要な操作があれば、適宜追加することが可能である。 In step 712, the instrument setting program 105 acquires the result of the operation performed by the user with respect to the content displayed in step 711, and determines in step 713 that the determination button 1604 of FIG. 16 is selected (step). 713; Yes), proceed to step 715. In step 713, when the instrument setting program 105 determines that the user's operation is not the selection of the enter button 1604 (step 713; No), it determines that it is another candidate selection or fine adjustment, and is necessary in step 714. Change the screen display, return to step 712 again, and acquire the user's operation. As the user's operation, for example, it is possible to assume that the selection of the circle candidate or the scale candidate is changed, the position of the circle candidate or the position of the scale candidate is finely adjusted, and the like. If there are other necessary operations, they can be added as appropriate.

このように、上記設定手段(例えば、計器設定プログラム105)は、目盛りを含む領域の候補のうち、順位が上位の候補からあらかじめ定められた個数の候補を、計器の画像に重ねて表示するとともに、目盛りを含む領域の各候補に対応する目盛り位置の候補のうち、順位が上位の候補からあらかじめ定められた個数の候補を計器の画像に重ね合わせて表示する。 As described above, the setting means (for example, the instrument setting program 105) displays a predetermined number of candidates from the candidates having a higher rank among the candidates of the area including the scale on the image of the instrument. Among the candidates for the scale position corresponding to each candidate in the area including the scale, a predetermined number of candidates from the candidates having the highest rank are superimposed and displayed on the image of the instrument.

また、上記設定手段(例えば、計器設定プログラム105)は、画像上に表示されている目盛りを含む領域の候補あるいは目盛り位置の候補を選択する選択手段(例えば、図16の画面下部1603に表示された円候補、最大値候補、最小値候補の選択を受け付ける計器設定プログラム105)を有し、選択された目盛りを含む領域の候補および目盛り位置の候補を、他の目盛りを含む領域の候補および目盛り位置の候補とは異なる形態で表示する処理、選択された目盛りを含む領域の候補に対する目盛り位置の候補のみを計器の画像上に表示する処理、のいずれか1つ以上の処理を行い、目盛りを含む領域の候補および目盛り位置の候補を計器の画面上に表示し、視認性を向上させることができる。 Further, the setting means (for example, the instrument setting program 105) is displayed at a selection means (for example, 1603 at the bottom of the screen of FIG. 16) for selecting a candidate for a region including a scale displayed on an image or a candidate for a scale position. It has an instrument setting program 105) that accepts selection of circle candidates, maximum value candidates, and minimum value candidates, and can select area candidates and scale position candidates that include the selected scale, and region candidates and scales that include other scales. One or more of the processing of displaying in a form different from the position candidate and the processing of displaying only the scale position candidate for the candidate of the area including the selected scale on the image of the instrument is performed to display the scale. Candidates for the included area and candidates for the scale position can be displayed on the screen of the instrument to improve visibility.

図16において円候補の選択を変更した場合の画面の一例を図17に示す。円候補の選択は、図16における画面の下部1603に表示されている候補の一覧において、該当する候補の名称やその横に表示されている丸印をマウスや画面タッチ等により選択することで行うことができる。あるいは、図16における画面の上部1601で計器の画像上に表示されている候補を直接選択するようにしても良い。図17は、円候補を「円1」から「円3」に変更した場合の表示例であり、「円3」を太い破線で表示することにより「円3」が選択されていることを示しており、さらに、「円3」に対する目盛り位置候補が表示されている。計器設定プログラム105は、目盛り位置候補の選択の変更を、選択されている円候補に関連する目盛り位置候補のみに対して行うことができる。図17の場合、「円3」に対する目盛り位置候補、「最小1」から「最小3」および「最大1」から「最大3」のいずれかを選択することができる。 FIG. 17 shows an example of a screen when the selection of the circle candidate is changed in FIG. The circle candidate is selected by selecting the name of the corresponding candidate and the circle mark displayed next to it in the list of candidates displayed at the lower part 1603 of the screen in FIG. 16 by using the mouse, touching the screen, or the like. be able to. Alternatively, the candidate displayed on the image of the instrument at the upper part 1601 of the screen in FIG. 16 may be directly selected. FIG. 17 is a display example when the circle candidate is changed from "yen 1" to "yen 3", and it is shown that "yen 3" is selected by displaying "yen 3" with a thick broken line. Further, a scale position candidate for "Circle 3" is displayed. The instrument setting program 105 can change the selection of the scale position candidate only for the scale position candidate related to the selected circle candidate. In the case of FIG. 17, it is possible to select one of the scale position candidates for the “circle 3”, “minimum 1” to “minimum 3” and “maximum 1” to “maximum 3”.

このように、上記設定手段(例えば、計器設定プログラム105)は、目盛りを含む領域の候補と目盛り位置の候補の一覧を表示し、一覧の中で選択された目盛りを含む領域の候補あるいは目盛り位置の候補に対応する候補を、他の目盛りを含む領域の候補あるいは目盛り位置の候補とは異なる形態で計器の画像上で表示し、画面下部1603で選択された内容を画面上部1601に反映させることができる。 As described above, the setting means (for example, the instrument setting program 105) displays a list of candidates for the area including the scale and candidates for the scale position, and the candidate or the scale position of the area including the scale selected in the list. The candidates corresponding to the candidates of are displayed on the image of the instrument in a form different from the candidates of the area including other scales or the candidates of the scale position, and the contents selected in the lower part 1603 of the screen are reflected in the upper part 1601 of the screen. Can be done.

また、図18は、円候補の位置を微調整する場合の画面の一例である。図18の画面は、図17の画面の下部1702に配置されている「微調整」と記述されたボタンをマウスや画面タッチ等で選択することで表示される画面であり、図16で選択されている円候補のみの位置を修正することができる。図18の画面上において、指のスライド方向1801に示すように画面上で指をスライドさせることにより、計器設定プログラム105がこれを検知し、円候補のスライド方向1802のように指の動きに合わせて対象の円候補の位置を修正することができる。マウスを使用して同様の操作を行うようにすることもできる。また図18において、調整ラジオボタン1803をマウスあるいは画面タッチ等により選択することで、計器設定プログラム105がこれを検知し、円候補の大きさの微調整を行うことができる。円候補の大きさの変更方法としては、円候補の位置の場合と同様に、指のスライドやマウスの移動に合わせて変更する方法を用いることができる。目盛り位置候補についても同様に位置の微調整を行うようにすることができる。なお、目盛り位置候補の場合、微調整が可能な範囲を円候補によって決定される円周上に制限するようにしても良い。 Further, FIG. 18 is an example of a screen when finely adjusting the position of the circle candidate. The screen of FIG. 18 is a screen displayed by selecting a button described as “fine adjustment” arranged at the lower part 1702 of the screen of FIG. 17 with a mouse, touching the screen, or the like, and is selected in FIG. It is possible to correct the position of only the circle candidate. By sliding the finger on the screen as shown in the slide direction 1801 of the finger on the screen of FIG. 18, the instrument setting program 105 detects this and adjusts to the movement of the finger as shown in the slide direction 1802 of the circle candidate. The position of the target circle candidate can be corrected. You can also use the mouse to perform similar operations. Further, in FIG. 18, by selecting the adjustment radio button 1803 with a mouse, touching the screen, or the like, the instrument setting program 105 can detect this and fine-tune the size of the circle candidate. As a method of changing the size of the circle candidate, a method of changing the size according to the slide of the finger or the movement of the mouse can be used as in the case of the position of the circle candidate. The position of the scale position candidate can be finely adjusted in the same manner. In the case of the scale position candidate, the range in which fine adjustment is possible may be limited to the circumference determined by the circle candidate.

このように、上記設定手段(例えば、計器設定プログラム105)は、目盛りを含む領域の候補および目盛り位置の候補のうち、選択されている候補の計器の画像上における位置を調整することができる。 As described above, the setting means (for example, the instrument setting program 105) can adjust the position of the selected candidate instrument among the candidate of the region including the scale and the candidate of the scale position on the image.

ステップ715では、計器設定プログラム105は、選択されている円候補および目盛り位置候補から計器の読み取りに必要な情報を取得し、計器設定データ108に保存する。これにより、利用者が指定した位置が正確でない場合でも、より正確な情報を設定することができる。さらに、計器設定プログラム105は、選択された目盛り位置候補に対する計器の指示値を取得し、計器設定データ108に保存し、処理を終了する。目盛り位置候補に対する計器の指示値は利用者が入力することを想定しており、計器設定プログラム105は、端末202の画面上に、それぞれの目盛り位置候補に対する指示値を入力するよう指示を表示し、利用者が入力した結果を計器設定データ108に保存する。 In step 715, the instrument setting program 105 acquires information necessary for reading the instrument from the selected circle candidate and scale position candidate, and stores the information in the instrument setting data 108. This makes it possible to set more accurate information even if the position specified by the user is not accurate. Further, the instrument setting program 105 acquires the indicated value of the instrument for the selected scale position candidate, stores it in the instrument setting data 108, and ends the process. It is assumed that the user inputs the indicated value of the instrument for the scale position candidate, and the instrument setting program 105 displays an instruction on the screen of the terminal 202 to input the indicated value for each scale position candidate. , The result input by the user is saved in the instrument setting data 108.

計器の指示値の読み取りに必要な情報を設定するための上述した方法では、ステップ709で利用者が指定する情報を全て取得した後、ステップ710で円候補および目盛り位置候補に順位付けを行い、ステップ711でその結果を表示していた。このステップ709からステップ711までの処理フローについては、上述した方法の他、利用者が情報を一つ設定するたびに、計器設定プログラム105は、設定された情報に基づいて円候補および目盛り候補の順位付けを行い、その結果が表示されるようにしても良い。 In the above-mentioned method for setting the information necessary for reading the indicated value of the instrument, after acquiring all the information specified by the user in step 709, the circle candidate and the scale position candidate are ranked in step 710. The result was displayed in step 711. Regarding the processing flow from step 709 to step 711, in addition to the method described above, each time the user sets one piece of information, the instrument setting program 105 sets the circle candidate and the scale candidate based on the set information. Ranking may be performed and the result may be displayed.

さらに、利用者が設定する情報として最小値位置506あるいは最大値位置507のいずれか一方のみが設定されている場合は、計器設定プログラム105は、これらの位置に加えて、円候補の中心位置から真下に引いた直線に対して線対称にある位置あるいは、円候補の中心位置から水平方向に引いた直線に対して線対称にある位置も円候補や目盛り位置候補の順位付けの基準に追加し、円候補や目盛り位置候補の順位付けを行うようにしても良い。これは、目盛り線が円形状に配置されている計器において、多くの場合、最小値位置と最大値位置が計器の中心線に対して線対称の位置にあるためである。設定された位置に対して、円候補の中心位置から垂直あるいは水平に引いた直線に線対称な位置を自動的に円候補や目盛り位置候補の順位付けに使用するようにするとともに、利用者が情報を一つ設定するたびに、設定された情報に基づいて円候補および目盛り候補の順位付けを行い、その結果が表示されるようにする。すなわち、上記設定手段(例えば、計器設定プログラム105)は、上記入力手段(例えば、図7のS709を実行する計器読み取りプログラム106)から、制約条件となる情報を一つ取得するごとに、目盛りを含む領域の候補および目盛り位置の候補の順位付けを更新し、計器の画像上における目盛りを含む領域の候補および目盛り位置の候補の表示を変更する。これにより、最短、一つの情報を設定するだけで、計器の読み取りに必要な情報を全て設定することが可能となる。 Further, when only one of the minimum value position 506 and the maximum value position 507 is set as the information set by the user, the instrument setting program 105 is added to these positions from the center position of the circle candidate. The position that is line-symmetrical to the straight line drawn directly below or the position that is line-symmetrical to the straight line drawn horizontally from the center position of the circle candidate is also added to the ranking criteria of the circle candidate and the scale position candidate. , Circle candidates and scale position candidates may be ranked. This is because, in an instrument in which the scale lines are arranged in a circular shape, the minimum value position and the maximum value position are often line-symmetrical with respect to the center line of the instrument. The position that is line-symmetrical to the straight line drawn vertically or horizontally from the center position of the circle candidate with respect to the set position is automatically used for ranking the circle candidate and the scale position candidate, and the user can use it. Each time one piece of information is set, the circle candidate and the scale candidate are ranked based on the set information, and the result is displayed. That is, each time the setting means (for example, the instrument setting program 105) acquires one piece of information as a constraint condition from the input means (for example, the instrument reading program 106 that executes S709 in FIG. 7), the scale is set. Update the ranking of the candidate area and the candidate scale position, and change the display of the candidate area including the scale and the candidate scale position on the image of the instrument. This makes it possible to set all the information necessary for reading the instrument by setting only one piece of information at the shortest.

このように、上記設定手段(例えば、計器設定プログラム105)は、目盛りを含む領域の形状が円形の場合、上記入力手段(例えば、図7のS709を実行する計器読み取りプログラム106)から、(1)最小値および最大値を示す目盛り位置の概略の位置、(2)円形の中心位置の概略の位置と最小値を示す目盛り位置の概略の位置、(3)円形の中心位置の概略の位置と最大値を示す目盛り位置の概略の位置、(4)最小値を示す目盛り位置の概略の位置と計器の画像の中心位置、(5)最大値を示す目盛り位置の概略の位置と計器の画像の中心位置、のいずれかを条件を取得し、上記順位付け手段(例えば、図7のS710を実行する計器読み取りプログラム106)は、検出された目盛りを含む領域の候補と、上記(1)~(5)のいずれかの条件とに基づいて、目盛りを含む領域の候補、および目盛り位置の候補に順位付けを行ってもよい。 As described above, when the shape of the region including the scale is circular, the setting means (for example, the instrument setting program 105) has (1) from the input means (for example, the instrument reading program 106 that executes S709 in FIG. 7). ) Approximate position of the scale position indicating the minimum and maximum values, (2) Approximate position of the center position of the circle and the approximate position of the scale position indicating the minimum value, (3) Approximate position of the center position of the circle The approximate position of the scale position indicating the maximum value, (4) the approximate position of the scale position indicating the minimum value and the center position of the instrument image, (5) the approximate position of the scale position indicating the maximum value and the image of the instrument. The ranking means (for example, the instrument reading program 106 that executes S710 in FIG. 7) obtains the condition of any of the center positions, and the candidate of the region including the detected scale and the above (1) to (1) to ( Based on any of the conditions of 5), the candidate of the region including the scale and the candidate of the scale position may be ranked.

また、上記設定手段(例えば、計器設定プログラム105)は、目盛り位置が特定の線に対して線対称である計器である場合、上記入力手段(例えば、図7のS709を実行する計器読み取りプログラム106)から取得する情報として、最小値を示す目盛り位置の概略の位置、あるいは、最大値を示す目盛り位置の概略の位置、のいずれか一方を取得し、上記順位付け手段(例えば、図7のS710を実行する計器読み取りプログラム106)は、検出された目盛りを含む領域の候補と、目盛り位置の候補の位置と取得したいずれかの概略の位置との距離とに基づいて、検出された目盛りを含む領域の候補と目盛り位置の候補とに順位付けを行ってもよい。 Further, when the setting means (for example, the instrument setting program 105) is an instrument whose scale position is axisymmetric with respect to a specific line, the input means (for example, the instrument reading program 106 that executes S709 in FIG. 7). ), Either the approximate position of the scale position indicating the minimum value or the approximate position of the scale position indicating the maximum value is acquired, and the above-mentioned ranking means (for example, S710 in FIG. 7) is acquired. The instrument reading program 106) that executes the program includes the detected graduations based on the distance between the candidate region including the detected graduations and the position of the candidate graduation position and one of the acquired approximate positions. You may rank the area candidate and the scale position candidate.

図1における計器読み取りプログラム106は、計器設定プログラム105により保存された計器設定データ108に基づいて、計器を撮影した画像から計器の指示値の読み取りを行い、読み取った指示値を計器読み取り結果データ109に格納するためのプログラムである。図19に、計器読み取りプログラム106により実行される処理のフローチャートの一例を示す。 The instrument reading program 106 in FIG. 1 reads the indicated value of the instrument from the image taken by the instrument based on the instrument setting data 108 saved by the instrument setting program 105, and reads the read indicated value as the instrument reading result data 109. It is a program for storing in. FIG. 19 shows an example of a flowchart of processing executed by the instrument reading program 106.

図19におけるステップ1901では、計器読み取りプログラム106は、計器設定データ108から読み取り対象となる計器に関する設定情報を取得する。具体的には、計器読み取りプログラム106は、計器設定データ108から計器名称501の一覧を取得し、端末202の画面上に一覧表示するとともに、利用者に対象となる計器に対応する計器名称を選択するよう指示を行う。計器読み取りプログラム106は、利用者が一覧から選択した計器名称に対応する設定情報を計器設定データ108から読み込む。 In step 1901 in FIG. 19, the instrument reading program 106 acquires setting information regarding the instrument to be read from the instrument setting data 108. Specifically, the instrument reading program 106 acquires a list of instrument names 501 from the instrument setting data 108, displays the list on the screen of the terminal 202, and selects the instrument name corresponding to the target instrument for the user. Instruct to do so. The instrument reading program 106 reads the setting information corresponding to the instrument name selected from the list by the user from the instrument setting data 108.

ステップ1902では、計器読み取りプログラム106は、端末202に設置されているカメラを用いて、読み取り対象となる計器の画像を撮影する。上述したステップ1901およびステップ1902では、読み取り対象となる計器名称を利用者が指定した後、対象となる計器の画像を撮影する流れとなっているが、その他、計器の名称を登録した画像パターンや記号、文字列を対象となる計器の周辺に設置し、計器を撮影する際、その画像パターンや記号、文字列を対象の計器とともに撮影し、画像パターンや記号、文字列を認識させることにより、計器の名称を取得する方法を用いることができる。例えば、計器の名称を登録した画像パターンとしては、よく知られたQRコード(登録商標)やARマーカーと呼ばれる画像パターンを用いることができる。また、計器の名称を表す記号や文字列を使用する場合は、よく知られた文字認識技術を用いることにより、撮影した画像から計器の名称を取得することが可能となる。 In step 1902, the instrument reading program 106 uses a camera installed in the terminal 202 to capture an image of the instrument to be read. In step 1901 and step 1902 described above, the flow is such that the user specifies the name of the instrument to be read and then the image of the target instrument is taken. When a symbol or character string is installed around the target instrument and the instrument is photographed, the image pattern, symbol, or character string is photographed together with the target instrument to recognize the image pattern, symbol, or character string. A method of obtaining the name of the instrument can be used. For example, as an image pattern in which the name of the instrument is registered, a well-known QR code (registered trademark) or an image pattern called an AR marker can be used. In addition, when using a symbol or character string representing the name of the instrument, it is possible to obtain the name of the instrument from the captured image by using a well-known character recognition technique.

計器設定データ108のテンプレート画像503およびステップ1902で撮影した計器の画像は、ともに読み取り対象となる計器を撮影した画像であるが、撮影時のカメラの位置や向きが同一となることは無いため、画像上における計器の位置、向き、大きさが異なっている画像となる。この状態では、計器設定データ108に保存されている情報を使用して計器の指示値の読み取りを行うことが困難である。そのため、計器読み取りプログラム106は、ステップ1903において、ステップ1902で撮影した画像上での計器とテンプレート画像上での計器の位置、向き、大きさを一致させる処理を行う。この方法としては、計器読み取りプログラム106は、例えば、よく知られた画像の局所特徴点および局所特徴点に付随する局所特徴量と呼ばれる情報をテンプレート画像503およびステップ1902で撮影した計器の画像から抽出する。 The template image 503 of the instrument setting data 108 and the image of the instrument taken in step 1902 are both images of the instrument to be read, but the position and orientation of the cameras at the time of shooting are not the same. The images have different positions, orientations, and sizes of the instruments on the image. In this state, it is difficult to read the indicated value of the instrument using the information stored in the instrument setting data 108. Therefore, in step 1903, the instrument reading program 106 performs a process of matching the position, orientation, and size of the instrument on the image taken in step 1902 with the instrument on the template image. In this method, the instrument reading program 106, for example, extracts information called local feature points and information called local feature quantities associated with the well-known images from the template image 503 and the image of the instrument taken in step 1902. do.

次に、計器読み取りプログラム106は、局所特徴量の類似度に基づいてテンプレート画像503から抽出した局所特徴点と、ステップ1902で撮影した計器の画像から抽出した局所特徴点との対応関係を求める。対応関係を求める方法としては、よく知られた総当たり法等を用いることができる。計器読み取りプログラム106は、局所特徴点の対応関係を求めた後、求めた対応関係を用いてステップ1902で撮影した計器の画像をテンプレート画像503上に投影するための変換行列を求める。この変換行列は、よく知られたホモグラフィー行列と呼ばれる行列である。 Next, the instrument reading program 106 obtains the correspondence between the local feature points extracted from the template image 503 based on the similarity of the local feature quantities and the local feature points extracted from the instrument image taken in step 1902. As a method for finding a correspondence, a well-known round-robin method or the like can be used. The instrument reading program 106 obtains the correspondence of the local feature points, and then obtains a transformation matrix for projecting the image of the instrument taken in step 1902 onto the template image 503 using the obtained correspondence. This transformation matrix is a well-known matrix called the homography matrix.

最後に、計器読み取りプログラム106は、求めた変換行列を用いて、ステップ1902で撮影した計器の画像をテンプレート画像503上に投影する処理を行う。これにより、ステップ1902で撮影した画像中の計器の部分をテンプレート画像503上の計器の部分に合わせ込んだ画像、すなわち計器の位置、向き、大きさを一致させた画像を取得することができる。テンプレート画像503上の計器とステップ1902で撮影した画像上の計器を一致させる方法としては、同様の結果が得られる手法であればどのような手法を用いても良い。 Finally, the instrument reading program 106 performs a process of projecting the image of the instrument taken in step 1902 onto the template image 503 by using the obtained transformation matrix. As a result, it is possible to acquire an image in which the portion of the instrument in the image taken in step 1902 is fitted to the portion of the instrument on the template image 503, that is, an image in which the position, orientation, and size of the instrument are matched. As a method of matching the instrument on the template image 503 with the instrument on the image taken in step 1902, any method may be used as long as the method can obtain the same result.

ステップ1904では、計器読み取りプログラム106は、ステップ1903により得られた計器の画像、および計器設定データ108の情報を用いて、計器の指示値の読み取りを行う。ステップ1903により得られた画像上における計器の位置、向き、大きさは、テンプレート画像上における計器の位置、向き、大きさに一致しているため、計器読み取りプログラム106は、例えば、以下のような方法により、指示値の読み取りを行う。計器読み取りプログラム106は、まず、指針の色と同じ領域をステップ1903により得られた計器の画像中から抽出することにより、指針を画像中から抽出する。 In step 1904, the instrument reading program 106 reads the indicated value of the instrument using the image of the instrument obtained in step 1903 and the information of the instrument setting data 108. Since the position, orientation, and size of the instrument on the image obtained in step 1903 match the position, orientation, and size of the instrument on the template image, the instrument reading program 106 may, for example,: The indicated value is read by the method. The instrument reading program 106 first extracts the pointer from the image by extracting the same region as the color of the pointer from the image of the instrument obtained in step 1903.

さらに、計器読み取りプログラム106は、抽出した指針の輪郭線(エッジ)を求め、求めた輪郭線から直線の抽出を行う。輪郭線を求める方法としては、例えば上述したCanny法を用いることができる。直線を抽出する方法としては、例えば上述したHough変換を用いることができる。その他、同様の結果を得られる方法であれば、どのような方法を用いても良い。計器読み取りプログラム106は、抽出した直線のうち、最も長い二本の直線が交わる位置を求めることにより、指針の先端位置を取得することができる。あるいは、ステップ1903により得られた計器の画像中から直接、輪郭線を求め、輪郭線から抽出した直線のうち、最も長い二本の直線が交わる位置を求めることにより、指針の先端位置を取得するようにしても良い。なお、指針の抽出や輪郭線の抽出等において、計器設定データ108における円の中心位置504および円の半径505によって決定される円の範囲に処理の範囲を限定することにより、不要な領域や輪郭線の抽出を抑制することができる。 Further, the instrument reading program 106 obtains the contour line (edge) of the extracted pointer and extracts a straight line from the obtained contour line. As a method for obtaining the contour line, for example, the above-mentioned Canny method can be used. As a method for extracting a straight line, for example, the above-mentioned Hough transform can be used. In addition, any method may be used as long as the same result can be obtained. The instrument reading program 106 can acquire the tip position of the pointer by finding the position where the two longest straight lines of the extracted straight lines intersect. Alternatively, the contour line is directly obtained from the image of the instrument obtained in step 1903, and the tip position of the pointer is obtained by finding the position where the two longest straight lines of the straight lines extracted from the contour line intersect. You may do so. In the extraction of pointers and contour lines, unnecessary areas and contours are defined by limiting the processing range to the range of the circle determined by the center position 504 of the circle and the radius 505 of the circle in the instrument setting data 108. It is possible to suppress the extraction of lines.

計器読み取りプログラム106は、画像中における指針の先端位置を求めた後、最小値位置506および最大値位置507の値と同じ計算方法による値に指針の先端位置を変換する。用いる計算方法としては、例えば、円の中心位置504から真下に下した直線と、円の中心位置504から対象位置に伸ばした直線がなす角度を求める、というような方法を用いることができる。この計算方法により求めた指針の先端位置と、計器設定データ108における最小値位置506、最大値位置507、最小値508、最大値509を用いて、(式1)により計器の指示値を算出することができる。 The instrument reading program 106 obtains the tip position of the pointer in the image, and then converts the tip position of the pointer into a value by the same calculation method as the values of the minimum value position 506 and the maximum value position 507. As the calculation method to be used, for example, a method of obtaining an angle formed by a straight line directly below the center position 504 of the circle and a straight line extending from the center position 504 of the circle to the target position can be used. Using the tip position of the pointer obtained by this calculation method, the minimum value position 506, the maximum value position 507, the minimum value 508, and the maximum value 509 in the instrument setting data 108, the indicated value of the instrument is calculated by (Equation 1). be able to.

M=(Vmax-Vmin)/(θmax-θmin)×P (式1)
(式1)において、Mは求められた計器の指示値、Pは指針の先端位置、θminは最小値位置506、θmaxは最大値位置507、Vminは最小値508、Vmaxは最大値509である。(式1)は、最小値508から最大値509までの間の目盛りが全て等間隔である場合に計器の指示値を算出するために使用することができる計算式であり、よく知られた線形補間による計算式である。目盛りの間隔が不均等である場合は、最小値508と最大値509の間の中間的な目盛り位置および目盛り値に関する情報を計器設定データ108に追加し、指針の先端位置を挟む中間的な目盛り位置および目盛り値を用いて線形補間を行うことにより、計器の指示値を算出するようにしても良い。指針の先端位置を検出する方法や計器の指示値を算出する方法としては、上述した方法に限定されるものではなく、同様の結果が得られる方法であれば、どのような方法でも用いることができる。
M = (Vmax-Vmin) / (θmax-θmin) × P (Equation 1)
In (Equation 1), M is the indicated value of the obtained instrument, P is the tip position of the pointer, θmin is the minimum value position 506, θmax is the maximum value position 507, Vmin is the minimum value 508, and Vmax is the maximum value 509. .. (Equation 1) is a well-known linear equation that can be used to calculate the indicated value of the instrument when the scales between the minimum value 508 and the maximum value 509 are all evenly spaced. It is a calculation formula by interpolation. If the scale spacing is uneven, information about the intermediate scale position and scale value between the minimum value 508 and the maximum value 509 is added to the instrument setting data 108, and the intermediate scale sandwiching the tip position of the pointer is inserted. The indicated value of the instrument may be calculated by performing linear interpolation using the position and the scale value. The method of detecting the tip position of the pointer and the method of calculating the indicated value of the instrument are not limited to the above-mentioned methods, and any method can be used as long as the same result can be obtained. can.

最後に、計器読み取りプログラム106は、ステップ1905で、ステップ1904で読み取った計器の指示値を端末202の画面上に表示するとともに、計器読み取り結果データ109に格納し、処理を終了する。 Finally, in step 1905, the instrument reading program 106 displays the indicated value of the instrument read in step 1904 on the screen of the terminal 202, stores it in the instrument reading result data 109, and ends the process.

以上のように第一の実施例によれば、目盛りが円状に配置されており、指針がその円の中心を支点として回転する種類の計器の指示値を画像から読み取る計器読み取りシステムにおいて、計器の読み取りに必要となる情報の設定にスマートフォンやタブレット端末等のモバイル機器を用いる場合でも、正確に且つ短時間で、計器の読み取りに必要となる情報を設定することが可能となる。 As described above, according to the first embodiment, in an instrument reading system in which the scale is arranged in a circle and the pointer reads the indicated value of the type of instrument that rotates around the center of the circle from the image. Even when a mobile device such as a smartphone or a tablet terminal is used to set the information required for reading the instrument, it is possible to set the information required for reading the instrument accurately and in a short time.

第二の実施例を図20から図21を用いて説明する。第一の実施例では図3に示すように、目盛りが円状に配置されており、指針がその円の中心を支点として回転する種類(例えば、円形形状)の計器を読み取り対象の計器として想定していた。一方、第二の実施例では図20の計器2001に示すように、目盛りが直線状に配置されており、指針がその直線に平行に直線状に移動する種類(例えば、矩形形状)の計器を読み取り対象の計器として想定する。 The second embodiment will be described with reference to FIGS. 20 to 21. In the first embodiment, as shown in FIG. 3, an instrument of a type (for example, a circular shape) in which the scale is arranged in a circle and the pointer rotates around the center of the circle as a fulcrum is assumed as the instrument to be read. Was. On the other hand, in the second embodiment, as shown in the instrument 2001 of FIG. 20, a type of instrument (for example, a rectangular shape) in which the scale is arranged linearly and the pointer moves linearly in parallel with the straight line is used. Assume as an instrument to be read.

図20に示す種類の計器の指示値を読み取るために必要となる基本的な情報は、図20の指針の支点(が稼働する範囲の)位置2002、目盛りが構成する直線の位置2003、目盛りの最小値位置2004および目盛りの最大値位置2005に描かれた破線で囲まれた領域を特定する情報であり、指針の支点(が稼働する範囲の)位置2002、目盛りが構成する直線の位置2003、目盛りの最小値位置2004および目盛りの最大値位置2005がそれらの情報となる。これらの情報はすべて、例えば、画像の左下を原点とした位置座標により表すことができる。原点位置は、任意に設定することもできる。これらの情報を利用者が効率的に指定するためには、例えば、支点位置2002、目盛りの最小値位置2004および目盛りの最大値位置2005のみを指定すれば良い。 The basic information required to read the readings of the types of instruments shown in FIG. 20 is the position 2002 of the fulcrum of the pointer in FIG. 20, the position of the straight line formed by the scale 2003, and the scale. Information that identifies the area surrounded by the broken line drawn in the minimum value position 2004 and the maximum value position 2005 of the scale, and is the position 2002 of the fulcrum of the pointer (in the range where the scale operates), the position of the straight line formed by the scale 2003, The minimum value position 2004 of the scale and the maximum value position 2005 of the scale are such information. All of this information can be represented, for example, by the position coordinates with the lower left of the image as the origin. The origin position can be set arbitrarily. In order for the user to efficiently specify this information, for example, only the fulcrum position 2002, the minimum value position of the scale 2004, and the maximum value position of the scale 2005 may be specified.

図20では、目盛りの最小値位置2004および最大値位置2005は縦方向の位置座標のみで表している。しかし、画像上での位置を指定する際は点で指定される、すなわちX座標とY座標の両方が取得できるため、目盛りの最小値位置2004および最大値位置2005がX-Y形式で保存されていると想定すれば、上述の3種類の情報が計器の読み取りに必要な基本的な情報となる。さらに計器の画像を撮影する際に、計器の中心が画像の中心と一致するように撮影する、というような制約を用いることにより、計器設定プログラム105は、目盛りの最小値位置2004および最大値位置2005のうちのいずれか一方と、支点位置2002のみで、図20における計器の読み取りに必要な領域、すなわち、指針の支点位置2002、目盛りが構成する直線の位置2003、目盛りの最小値位置2004および目盛りの最大値位置2005の箇所に引かれている破線で囲まれた領域を特定することが可能となる。この場合、計器設定プログラム105は、例えば目盛りの最小値位置2004のみを使用する場合、図20における画像の中心を通る水平線に対して線対称にある位置を目盛りの最大値位置2005とみなせば良い。上述した情報は、図20に示す種類の計器の読み取りに必要となる基本的な情報であるが、それ以外の情報を追加することもできる。例えば、目盛りの間隔が不均等であるような場合等は、目盛りの最小値位置2004と目盛りの最大値位置2005の間に中間的な目盛り位置を追加しても良い。さらに、図20に示す計器は、傾きが無い状態で撮影された状態となっているが、実際に計器を撮影する場合、計器が傾いて撮影される場合が一般的である。このため、上記に示した情報に加えて、傾きに関する情報を追加するようにしても良い。 In FIG. 20, the minimum value position 2004 and the maximum value position 2005 of the scale are represented only by the vertical position coordinates. However, when specifying the position on the image, it is specified by a point, that is, since both the X coordinate and the Y coordinate can be acquired, the minimum value position 2004 and the maximum value position 2005 of the scale are saved in the XY format. Assuming that, the above three types of information are the basic information necessary for reading the instrument. Further, by using a constraint that the center of the instrument is taken so as to coincide with the center of the image when the image of the instrument is taken, the instrument setting program 105 can perform the minimum value position 2004 and the maximum value position of the scale. With only one of 2005 and the fulcrum position 2002, the area required for reading the instrument in FIG. 20, that is, the fulcrum position 2002 of the pointer, the position 2003 of the straight line formed by the scale, the minimum value position 2004 of the scale, and It is possible to specify the area surrounded by the broken line drawn at the position of the maximum value position 2005 of the scale. In this case, when the instrument setting program 105 uses only the minimum value position 2004 of the scale, for example, the position in line symmetry with respect to the horizontal line passing through the center of the image in FIG. 20 may be regarded as the maximum value position 2005 of the scale. .. The above-mentioned information is basic information necessary for reading the type of instrument shown in FIG. 20, but other information can be added. For example, when the intervals between the scales are uneven, an intermediate scale position may be added between the minimum value position 2004 of the scale and the maximum value position 2005 of the scale. Further, the instrument shown in FIG. 20 is in a state of being photographed without tilt, but when actually photographing the instrument, it is general that the instrument is photographed at an angle. Therefore, in addition to the information shown above, information regarding the inclination may be added.

計器情報データ107には、計器設定プログラム105は、設定情報リスト402および入力情報リスト403の内容を上述した情報に合わせて変更したデータを登録する。例えば、設定情報リスト402は「支点位置、直線位置、最小値位置、最大値位置」、入力情報リスト403は「支点位置、最小値位置、最大値位置」のように記述することができる。「支点位置」は指針の支点位置2002、「直線位置」は目盛りが構成する直線の位置2003、「最小値位置」は目盛りの最小値位置2004、「最大値位置」は目盛りの最大値位置2005にそれぞれ対応することを想定している。第一の実施例では、指針の支点位置である円の中心位置は検出された円候補によって決定されるため利用者による入力は不要であるが、図4に示す種類の計器では支点が稼働する範囲を目盛りが構成する直線の位置2003などから一意に決定することが困難であるため、第二の実施例においては、「支点位置」も利用者が入力することを想定する。 In the instrument information data 107, the instrument setting program 105 registers data in which the contents of the setting information list 402 and the input information list 403 are changed according to the above-mentioned information. For example, the setting information list 402 can be described as "fulcrum position, straight line position, minimum value position, maximum value position", and the input information list 403 can be described as "fulcrum position, minimum value position, maximum value position". The "fulcrum position" is the fulcrum position 2002 of the pointer, the "straight line position" is the position of the straight line formed by the scale 2003, the "minimum value position" is the minimum value position of the scale 2004, and the "maximum value position" is the maximum value position of the scale 2005. It is assumed that each of them will correspond to. In the first embodiment, since the center position of the circle, which is the fulcrum position of the pointer, is determined by the detected circle candidate, no input by the user is required, but the fulcrum operates in the instrument of the type shown in FIG. Since it is difficult to uniquely determine the range from the position of the straight line formed by the scale 2003 or the like, in the second embodiment, it is assumed that the user also inputs the “fulcrum position”.

図21に、第二の実施例で使用する計器設定データ108のフォーマットの一例を示す。図5との違いは、円の中心位置504が支点位置2101に、円の半径505が直線の位置2102に変更されている点である。支点位置2101および直線の位置2012は、それぞれ、図20における指針の支点位置2002および目盛りが構成する直線の位置2003に対応している。 FIG. 21 shows an example of the format of the instrument setting data 108 used in the second embodiment. The difference from FIG. 5 is that the center position 504 of the circle is changed to the fulcrum position 2101 and the radius 505 of the circle is changed to the position 2102 of the straight line. The fulcrum position 2101 and the straight line position 2012 correspond to the fulcrum position 2002 of the pointer in FIG. 20 and the straight line position 2003 formed by the scale, respectively.

第二の実施例における計器設定プログラム105では、ステップ704、ステップ707で行われる処理を円候補の検出から直線候補の検出に変更する。また、計器設定プログラム105は、ステップ708以降の処理では、検出された直線候補に対して目盛り候補の検出(ステップ708)、直線候補への順位付け(ステップ710)、順位付けの結果に基づく直線候補の表示(ステップ711)等を行うようにすれば良い。また、目盛り候補の検出(ステップ708)では、目盛りが直線状であるため、第一の実施例で使用した極座標変換を行う必要は無い。計器設定プログラム105は、計器の画像から図12あるいは図13に示すような画像を直接、取得し、目盛り位置の候補を検出することが可能となる。直線候補の順位付け(ステップ710)については、計器設定プログラム105は、第一の実施例において利用者が指定した位置と円候補との距離に基づいて行っていた処理を、利用者が指定した位置と直線候補との距離に基づいて行う処理に変更するのみで良い。候補の表示および候補に対する利用者の操作については、円と直線という形状的な差異はあるが、基本的に同様の方法を用いることができる。 In the instrument setting program 105 in the second embodiment, the processing performed in steps 704 and 707 is changed from the detection of the circle candidate to the detection of the straight line candidate. Further, in the processing after step 708, the instrument setting program 105 detects the scale candidate for the detected straight line candidate (step 708), ranks the straight line candidate (step 710), and the straight line based on the ranking result. The candidates may be displayed (step 711) or the like. Further, in the detection of the scale candidate (step 708), since the scale is linear, it is not necessary to perform the polar coordinate conversion used in the first embodiment. The instrument setting program 105 can directly acquire an image as shown in FIG. 12 or 13 from the image of the instrument and detect a candidate for the scale position. Regarding the ranking of straight line candidates (step 710), the instrument setting program 105 specifies the processing performed by the user based on the distance between the position specified by the user and the circle candidate in the first embodiment. It is only necessary to change the process to be performed based on the distance between the position and the straight line candidate. Regarding the display of candidates and the user's operation on the candidates, although there is a difference in shape between a circle and a straight line, basically the same method can be used.

第二の実施例における計器読み取りプログラム106では、図19に示すフローチャートで示される処理と同様の処理を行うことで、計器の指示値の読み取りを行うことができる。ただし第二の実施例では、ステップ1904で実施される処理において、以下の二点が第一の実施例とは異なる。まず、第一の実施例では円の中心位置504および円の半径505によって決定される円の範囲に処理の範囲を限定していたが、第二の実施例では指針の支点位置2002および目盛りが構成する直線の位置2003によって決定される矩形領域(図20において、2002と2003で挟まれた領域)に処理の範囲を限定する。また、第一の実施例では指針の先端位置を円の中心位置504からの相対的な値に変換した後、指示値の計算をしていたが、第二の実施例では検出した指針の先端位置をそのまま使用することができる。例えば、計器読み取りプログラム106は、図20に示すように指針が縦方向に移動する場合は指針位置のY座標の値をそのまま用いることができる。この場合、目盛りの最小値位置2004、目盛りの最大値位置2005についても同様の値を用いれば良い。また、指針が横方向に移動する場合はX座標の値を用いれば良い。 In the instrument reading program 106 in the second embodiment, the indicated value of the instrument can be read by performing the same processing as the processing shown in the flowchart shown in FIG. However, in the second embodiment, the following two points are different from the first embodiment in the process performed in step 1904. First, in the first embodiment, the processing range is limited to the range of the circle determined by the center position 504 of the circle and the radius 505 of the circle, but in the second embodiment, the fulcrum position 2002 and the scale of the pointer are set. The range of processing is limited to a rectangular region (a region sandwiched between 2002 and 2003 in FIG. 20) determined by the position 2003 of the constituent straight line. Further, in the first embodiment, the indicated value was calculated after converting the tip position of the pointer to a relative value from the center position 504 of the circle, but in the second embodiment, the tip of the detected pointer is calculated. The position can be used as it is. For example, in the instrument reading program 106, when the pointer moves in the vertical direction as shown in FIG. 20, the value of the Y coordinate of the pointer position can be used as it is. In this case, the same values may be used for the minimum value position 2004 of the scale and the maximum value position 2005 of the scale. When the pointer moves in the lateral direction, the value of the X coordinate may be used.

以上のように第二の実施例によれば、目盛りが直線状に配置されており、指針がその直線に沿って直線状に移動する種類の計器の指示値を画像から読み取る計器読み取りシステムにおいて、計器の読み取りに必要となる情報の設定にスマートフォンやタブレット端末等のモバイル機器を用いる場合でも、正確に且つ短時間で、計器の読み取りに必要となる情報を設定することが可能となる。 As described above, according to the second embodiment, in the instrument reading system in which the scale is arranged linearly and the reading of the instrument of the type in which the pointer moves linearly along the straight line is read from the image. Even when a mobile device such as a smartphone or tablet terminal is used to set the information required for reading the instrument, it is possible to set the information required for reading the instrument accurately and in a short time.

また、実施例1で示した円形形状の計器、実施例2で示した矩形形状の計器、あるいは円形形状や矩形形状に含まれる様々な種類の計器について、少なくとも、計器の種類ごとに、目盛りを含む領域の形状、制約条件に関する情報の種類、制約条件を入力する順序に関する情報を格納する計器情報格納手段(例えば、計器情報データ107、計器設定データ108、計器読み取り結果データ109を記憶するストレージ)と、設定を行う計器の種類を取得する種類取得手段(例えば、計器設定プログラム105)と、画像上に表示されている目盛りを含む領域の候補あるいは目盛り位置の候補を選択する選択手段(例えば、図16の画面下部1603に表示された円候補、最大値候補、最小値候補の選択を受け付ける計器設定プログラム105)と、を有し、上記設定手段は、取得された計器の種類に対応する情報を計器情報格納手段から取得し、取得した情報に基づいて、目盛りを含む領域の候補または目盛り位置の候補の順位付けに必要な制約条件に関する情報を取得し、上記順位付け手段は、取得された情報に基づいて、目盛りを含む領域の候補または目盛り位置の候補の順位付けを行い、上記選択手段は、順位付けの結果に基づいて、目盛りを含む領域の候補または目盛り位置の候補の選択を行うことも可能である。これにより、計器読み取りシステムを様々な種類の計器に適用することができる。 Further, for the circular instrument shown in Example 1, the rectangular instrument shown in Example 2, and various types of instruments included in the circular shape and the rectangular shape, at least each type of instrument has a scale. Instrument information storage means for storing information on the shape of the area to be included, the type of information on the constraint condition, and the order in which the constraint condition is input (for example, storage for storing the instrument information data 107, the instrument setting data 108, and the instrument reading result data 109). A type acquisition means for acquiring the type of the instrument to be set (for example, the instrument setting program 105), and a selection means for selecting a candidate for an area including a scale displayed on the image or a candidate for a scale position (for example, for example). It has an instrument setting program 105) that accepts selection of a circle candidate, a maximum value candidate, and a minimum value candidate displayed at the lower part 1603 of the screen of FIG. 16, and the above setting means has information corresponding to the acquired type of instrument. Is acquired from the instrument information storage means, and based on the acquired information, information on the constraint conditions necessary for ranking the candidate of the area including the scale or the candidate of the scale position is acquired, and the above-mentioned ranking means is acquired. Based on the information, the candidate of the area including the scale or the candidate of the scale position is ranked, and the above-mentioned selection means selects the candidate of the area including the scale or the candidate of the scale position based on the result of the ranking. It is also possible. This allows the instrument reading system to be applied to various types of instruments.

1000 計器読み取りシステム
101 CPU
102 入力I/F
103 出力I/F
104 メモリ
105 計器設定プログラム
106 計器読み取りプログラム
107 計器情報データ
108 計器設定データ
109 計器読み取り結果データ
201 利用者
202 モバイル端末
203 対象計器
1000 Instrument reading system 101 CPU
102 Input I / F
103 Output I / F
104 Memory 105 Instrument setting program 106 Instrument reading program 107 Instrument information data 108 Instrument setting data 109 Instrument reading result data 201 User 202 Mobile terminal 203 Target instrument

Claims (12)

計器の画像を取得する取得手段と、
計器が示す数値を読み取るために必要な計器の情報を設定するための設定手段と、
設定された前記計器の情報に基づいて前記計器の画像から計器が示す数値を読み取る読み取り手段と、
前記計器が示す数値を読み取った結果を表示する表示手段と、を有する計器読み取りシステムであって、
前記設定手段は、
前記計器の画像における目盛りを含む領域の候補を検出する領域候補検出手段と、
検出された目盛りを含む領域の各候補に対して、目盛り位置の候補を検出する位置候補検出手段と、
前記目盛りを含む領域の候補および前記目盛り位置の候補から、最適な候補を選択するための制約条件に関する情報を入力する入力手段と、
前記目盛りを含む領域の候補および前記目盛り位置の候補と、入力された前記制約条件とに基づいて、前記目盛りを含む領域の候補と前記目盛り位置の候補とに順位付けを行う順位付け手段と、
前記順位付けの結果に基づいて最適な目盛りを含む領域の候補と目盛り位置の候補を表示する表示手段と、
を有することを特徴とする計器読み取りシステム。
The acquisition method to acquire the image of the instrument and
Setting means for setting the instrument information required to read the numerical value indicated by the instrument, and
A reading means for reading the numerical value indicated by the instrument from the image of the instrument based on the set information of the instrument.
An instrument reading system comprising a display means for displaying the result of reading the numerical value indicated by the instrument.
The setting means is
A region candidate detecting means for detecting a region candidate including a scale in the image of the instrument, and a region candidate detecting means.
For each candidate in the area including the detected scale, a position candidate detecting means for detecting a candidate for the scale position and a position candidate detecting means.
An input means for inputting information regarding a constraint condition for selecting an optimum candidate from the candidate of the area including the scale and the candidate of the scale position.
A ranking means for ranking the candidate of the region including the scale and the candidate of the scale position based on the candidate of the region including the scale, the candidate of the scale position, and the input constraint condition.
A display means for displaying a candidate for an area including an optimum scale and a candidate for a scale position based on the result of the ranking, and a display means.
An instrument reading system characterized by having.
請求項1記載の計器読み取りシステムであって、
前記領域候補検出手段は、
前記計器の画像中から抽出した輪郭情報から目盛りを含む領域を表す形状を特定することにより、前記計器の画像中から前記目盛りを含む領域の候補を検出する処理と、前記計器の画像中から各々の目盛りに対応する小領域を抽出し、抽出した複数の小領域が構成する形状が目盛りを含む領域を表す形状であるかどうかを判定することにより、前記計器の画像中から前記目盛りを含む領域の候補を検出する処理と、
の少なくともいずれかの処理を行うこと、
を特徴とする計器読み取りシステム。
The instrument reading system according to claim 1.
The region candidate detecting means is
A process of detecting a candidate for a region including the scale from the image of the instrument by specifying a shape representing the region including the scale from the contour information extracted from the image of the instrument, and a process of detecting the candidate of the region including the scale from the image of the instrument, respectively. By extracting a small area corresponding to the scale of the instrument and determining whether or not the shape composed of the extracted plurality of small areas represents the area including the scale, the area including the scale is included in the image of the instrument. Processing to detect candidates and
Doing at least one of the processes,
An instrument reading system featuring.
請求項1記載の計器読み取りシステムであって、
前記設定手段は、
前記入力手段から、前記目盛り位置の概略の位置を取得し、
前記順位付け手段は、
検出された前記目盛りを含む領域の候補と、前記目盛り位置の候補の位置と取得した前記概略の位置との距離とに基づいて、検出された前記目盛りを含む領域の候補と前記目盛り位置の候補とに順位付けを行うこと、
を特徴とする計器読み取りシステム。
The instrument reading system according to claim 1.
The setting means is
The approximate position of the scale position is acquired from the input means, and the position is obtained.
The ranking means is
Candidates for the detected region including the scale and candidates for the scale position based on the distance between the detected region candidate including the scale and the acquired position of the scale position candidate and the acquired approximate position. To rank with,
An instrument reading system featuring.
請求項3記載の計器読み取りシステムであって、
前記設定手段は、
前記目盛りを含む領域の形状が円形の場合、前記入力手段から、(1)最小値および最大値を示す前記目盛り位置の概略の位置、(2)円形の中心位置の概略の位置と最小値を示す前記目盛り位置の概略の位置、(3)円形の中心位置の概略の位置と最大値を示す前記目盛り位置の概略の位置、(4)最小値を示す前記目盛り位置の概略の位置と前記計器の画像の中心位置、(5)最大値を示す前記目盛り位置の概略の位置と前記計器の画像の中心位置、のいずれかを条件を取得し、
前記順位付け手段は、
検出された前記目盛りを含む領域の候補と、前記(1)~(5)のいずれかの条件とに基づいて、前記目盛りを含む領域の候補、および前記目盛り位置の候補に順位付けを行うこと、
を特徴とする計器読み取りシステム。
The instrument reading system according to claim 3.
The setting means is
When the shape of the region including the scale is circular, (1) the approximate position of the scale position indicating the minimum value and the maximum value, and (2) the approximate position and the minimum value of the center position of the circle are obtained from the input means. The approximate position of the scale position shown, (3) the approximate position of the circular center position and the approximate position of the scale position indicating the maximum value, (4) the approximate position of the scale position indicating the minimum value and the instrument. Obtain the condition of either the center position of the image of (5) the approximate position of the scale position indicating the maximum value or the center position of the image of the instrument.
The ranking means is
Based on the detected candidate for the region including the scale and the condition of any one of (1) to (5), the candidate for the region including the scale and the candidate for the scale position are ranked. ,
An instrument reading system featuring.
請求項3記載の計器読み取りシステムであって、
前記設定手段は、
前記目盛り位置が特定の線に対して線対称である計器である場合、前記入力手段から取得する情報として、最小値を示す前記目盛り位置の概略の位置、あるいは、最大値を示す前記目盛り位置の概略の位置、のいずれか一方を取得し、
前記順位付け手段は、
検出された前記目盛りを含む領域の候補と、前記目盛り位置の候補の位置と取得したいずれかの前記概略の位置との距離とに基づいて、検出された前記目盛りを含む領域の候補と前記目盛り位置の候補とに順位付けを行うこと、
を特徴とする計器読み取りシステム。
The instrument reading system according to claim 3.
The setting means is
When the scale position is an instrument that is axisymmetric with respect to a specific line, the information acquired from the input means is the approximate position of the scale position indicating the minimum value or the scale position indicating the maximum value. Get one of the approximate positions,
The ranking means is
Based on the distance between the detected region candidate including the scale and the position of the candidate position of the scale position and any of the acquired approximate positions, the candidate region including the detected scale and the scale are used. Ranking with candidate positions,
An instrument reading system featuring.
請求項3記載の計器読み取りシステムであって、
前記設定手段は、前記目盛りを含む領域の候補のうち、順位が上位の候補からあらかじめ定められた個数の候補を、前記計器の画像に重ねて表示するとともに、前記目盛りを含む領域の各候補に対応する目盛り位置の候補のうち、順位が上位の候補からあらかじめ定められた個数の候補を前記計器の画像に重ね合わせて表示すること、
を特徴とする計器読み取りシステム。
The instrument reading system according to claim 3.
The setting means displays a predetermined number of candidates from the candidates having a higher rank among the candidates of the area including the scale on the image of the instrument, and displays the candidates in the area including the scale on each candidate. Among the candidates for the corresponding scale positions, a predetermined number of candidates from the candidates with the highest rank are superimposed and displayed on the image of the instrument.
An instrument reading system featuring.
請求項6記載の計器読み取りシステムであって、
前記設定手段は、
画像上に表示されている前記目盛りを含む領域の候補あるいは前記目盛り位置の候補を選択する選択手段を有し、
選択された前記目盛りを含む領域の候補および前記目盛り位置の候補を、他の前記目盛りを含む領域の候補および前記目盛り位置の候補とは異なる形態で表示する処理、選択された前記目盛りを含む領域の候補に対する前記目盛り位置の候補のみを計器の画像上に表示する処理、
のいずれか1つ以上の処理を行い、前記目盛りを含む領域の候補および前記目盛り位置の候補を計器の画面上に表示すること、
を特徴とする計器読み取りシステム。
The instrument reading system according to claim 6.
The setting means is
It has a selection means for selecting a candidate for an area including the scale displayed on an image or a candidate for the scale position.
A process of displaying the selected region candidate including the scale and the candidate of the scale position in a form different from the other candidates of the region including the scale and the candidate of the scale position, the region including the selected scale. Processing to display only the candidate of the scale position for the candidate of the instrument on the image of the instrument,
Performing any one or more of the above processes and displaying the candidate of the area including the scale and the candidate of the scale position on the screen of the instrument.
An instrument reading system featuring.
請求項7記載の計器読み取りシステムであって、
前記設定手段は、
前記目盛りを含む領域の候補と前記目盛り位置の候補の一覧を表示し、前記一覧の中で選択された前記目盛りを含む領域の候補あるいは前記目盛り位置の候補に対応する候補を、他の前記目盛りを含む領域の候補あるいは前記目盛り位置の候補とは異なる形態で計器の画像上で表示すること、
を特徴とする計器読み取りシステム。
The instrument reading system according to claim 7.
The setting means is
A list of candidates for the area including the scale and the candidate for the scale position is displayed, and a candidate for the region including the scale or a candidate corresponding to the candidate for the scale position selected in the list is selected as another candidate for the scale. Display on the image of the instrument in a form different from the candidate of the area including the above or the candidate of the scale position.
An instrument reading system featuring.
請求項7記載の計器読み取りシステムであって、
前記設定手段は、
前記目盛りを含む領域の候補および前記目盛り位置の候補のうち、選択されている候補の前記計器の画像上における位置を調整することができること、
を特徴とする計器読み取りシステム。
The instrument reading system according to claim 7.
The setting means is
The position of the selected candidate among the candidate of the region including the scale and the candidate of the scale position on the image of the instrument can be adjusted.
An instrument reading system featuring.
請求項6記載の計器読み取りシステムであって、
前記設定手段は、
前記入力手段から、制約条件となる情報を一つ取得するごとに、前記目盛りを含む領域の候補および前記目盛り位置の候補の順位付けを更新し、前記計器の画像上における前記目盛りを含む領域の候補および前記目盛り位置の候補の表示を変更すること、
を特徴とする計器読み取りシステム。
The instrument reading system according to claim 6.
The setting means is
Every time one piece of information that becomes a constraint condition is acquired from the input means, the ranking of the candidate of the area including the scale and the candidate of the scale position is updated, and the area including the scale on the image of the instrument is updated. Changing the display of candidates and candidates for the scale position,
An instrument reading system featuring.
請求項1記載の計器読み取りシステムであって、
少なくとも、計器の種類ごとに、前記目盛りを含む領域の形状、制約条件に関する情報の種類、制約条件を入力する順序に関する情報を格納する計器情報格納手段と、設定を行う前記計器の種類を取得する種類取得手段と、画像上に表示されている前記目盛りを含む領域の候補あるいは前記目盛り位置の候補を選択する選択手段と、を有し、
前記設定手段は、
取得された前記計器の種類に対応する前記情報を前記計器情報格納手段から取得し、取得した前記情報に基づいて、前記目盛りを含む領域の候補または前記目盛り位置の候補の順位付けに必要な制約条件に関する情報を取得し、
前記順位付け手段は、
取得された前記情報に基づいて、前記目盛りを含む領域の候補または前記目盛り位置の候補の順位付けを行い、
前記選択手段は、
前記順位付けの結果に基づいて、前記目盛りを含む領域の候補または前記目盛り位置の候補の選択を行うこと、
を特徴とする計器読み取りシステム。
The instrument reading system according to claim 1.
At least, for each type of instrument, the shape of the area including the scale, the type of information regarding the constraint condition, the instrument information storage means for storing the information regarding the order in which the constraint condition is input, and the type of the instrument to be set are acquired. It has a type acquisition means and a selection means for selecting a candidate for a region including the scale or a candidate for the scale position displayed on the image.
The setting means is
The constraint necessary for ranking the candidate of the area including the scale or the candidate of the scale position based on the acquired information obtained by acquiring the information corresponding to the acquired type of the instrument from the instrument information storage means. Get information about the condition,
The ranking means is
Based on the acquired information, the candidate of the area including the scale or the candidate of the scale position is ranked.
The selection means is
To select a candidate for a region including the scale or a candidate for the scale position based on the result of the ranking.
An instrument reading system featuring.
コンピュータを、
計器の画像を取得する取得手段、
計器が示す数値を読み取るために必要な計器の情報を設定するための設定手段、
設定された前記計器の情報に基づいて前記計器の画像から計器が示す数値を読み取る読み取り手段、
前記計器が示す数値を読み取った結果を表示する表示手段、として機能させる計器読み取りプログラムであって、
前記設定手段を、
前記計器の画像における目盛りを含む領域の候補を検出する領域候補検出手段、
検出された目盛りを含む領域の各候補に対して、目盛り位置の候補を検出する位置候補検出手段、
前記目盛りを含む領域の候補および前記目盛り位置の候補から、最適な候補を選択するための制約条件に関する情報を入力する入力手段、
前記目盛りを含む領域の候補および前記目盛り位置の候補と、入力された前記制約条件とに基づいて、前記目盛りを含む領域の候補と前記目盛り位置の候補とに順位付けを行う順位付け手段、
前記順位付けの結果に基づいて最適な目盛りを含む領域の候補と目盛り位置の候補を表示する表示手段、
として機能させることを特徴とする計器読み取りプログラム。
Computer,
Acquisition method to acquire the image of the instrument,
Setting means for setting the instrument information required to read the numerical value indicated by the instrument,
A reading means that reads the numerical value indicated by the instrument from the image of the instrument based on the set information of the instrument.
An instrument reading program that functions as a display means for displaying the result of reading the numerical value indicated by the instrument.
The setting means
A region candidate detecting means for detecting a region candidate including a scale in the image of the instrument,
A position candidate detecting means for detecting a candidate for a scale position for each candidate in the area including the detected scale.
An input means for inputting information regarding a constraint condition for selecting an optimum candidate from the candidate of the area including the scale and the candidate of the scale position.
A ranking means for ranking a candidate for a region including the scale and a candidate for the scale position based on the candidate for the region including the scale, the candidate for the scale position, and the input constraint condition.
A display means for displaying a candidate for an area including an optimum scale and a candidate for a scale position based on the result of the ranking.
An instrument reading program characterized by functioning as.
JP2020193527A 2020-11-20 2020-11-20 Instrument reading system, instrument reading program Active JP7411534B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020193527A JP7411534B2 (en) 2020-11-20 2020-11-20 Instrument reading system, instrument reading program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020193527A JP7411534B2 (en) 2020-11-20 2020-11-20 Instrument reading system, instrument reading program

Publications (2)

Publication Number Publication Date
JP2022082140A true JP2022082140A (en) 2022-06-01
JP7411534B2 JP7411534B2 (en) 2024-01-11

Family

ID=81801370

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020193527A Active JP7411534B2 (en) 2020-11-20 2020-11-20 Instrument reading system, instrument reading program

Country Status (1)

Country Link
JP (1) JP7411534B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4020377B2 (en) 2002-10-08 2007-12-12 財団法人電力中央研究所 Analog meter automatic reading method and automatic reading device
JP2020181467A (en) 2019-04-26 2020-11-05 Gmoクラウド株式会社 Meter reading system, meter reading method, and program
JP6763060B1 (en) 2019-05-27 2020-09-30 株式会社東芝 Reading system, moving body, reading method, program, and storage medium

Also Published As

Publication number Publication date
JP7411534B2 (en) 2024-01-11

Similar Documents

Publication Publication Date Title
CN106558026B (en) Deviating user interface
US9864969B2 (en) Image processing apparatus for generating map of differences between an image and a layout plan
US10964057B2 (en) Information processing apparatus, method for controlling information processing apparatus, and storage medium
CN106558027B (en) Method for estimating deviation error in camera pose
US9734591B2 (en) Image data processing method and electronic device supporting the same
US11323577B2 (en) Image processing device for creating an album
US10713488B2 (en) Inspection spot output apparatus, control method, and storage medium
CN110096929A (en) Target detection neural network based
CN111353458B (en) Text box labeling method, device and storage medium
JP4950716B2 (en) Image processing system and scanning electron microscope apparatus
US9672589B2 (en) Terminal device and drawing display program for terminal device
JP2018124918A (en) Image processor, image processing method, and program
JP2022082140A (en) Instrument reading system and instrument reading program
KR101909485B1 (en) Program, information storage medium and recognition device
JP6156740B2 (en) Information display device, input information correction program, and input information correction method
KR20200142096A (en) Display control device, display control method, and display control program stored in a recording medium
CN104869268B (en) Display control unit, image forming apparatus and display control method
JP5683764B1 (en) Data input system, data input method, data input program, and data input device
WO2012053626A1 (en) Image comparison device, image comparison method, image comparison system, server, terminal, terminal control method, and terminal control program
US20230367473A1 (en) Ink data generation apparatus, method, and program
JP2019128899A (en) Display control program, display control device, and display control method
JP2014109876A (en) Information processor, information processing method and program
JP5666011B1 (en) Method and electronic equipment
JP2013168081A (en) Edge detection device and edge detection method
US11347352B2 (en) Virtual keyboard error correction based on a dynamic spatial model

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230512

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231124

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231225

R150 Certificate of patent or registration of utility model

Ref document number: 7411534

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150