JP6783894B2 - Meter reader, meter reading method and computer program - Google Patents

Meter reader, meter reading method and computer program Download PDF

Info

Publication number
JP6783894B2
JP6783894B2 JP2019084414A JP2019084414A JP6783894B2 JP 6783894 B2 JP6783894 B2 JP 6783894B2 JP 2019084414 A JP2019084414 A JP 2019084414A JP 2019084414 A JP2019084414 A JP 2019084414A JP 6783894 B2 JP6783894 B2 JP 6783894B2
Authority
JP
Japan
Prior art keywords
pointer
scale
image
meter
direction orthogonal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019084414A
Other languages
Japanese (ja)
Other versions
JP2020038188A (en
Inventor
西村 圭介
圭介 西村
孝司 小山
孝司 小山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ogis Ri Co Ltd
Original Assignee
Ogis Ri Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ogis Ri Co Ltd filed Critical Ogis Ri Co Ltd
Priority to CN201980056028.8A priority Critical patent/CN112639901B/en
Priority to PCT/JP2019/034141 priority patent/WO2020045635A1/en
Publication of JP2020038188A publication Critical patent/JP2020038188A/en
Application granted granted Critical
Publication of JP6783894B2 publication Critical patent/JP6783894B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、アナログメータの指針を読み取るメータ読取装置、メータ読取方法及びコンピュータプログラムに関する。 The present invention relates to a meter reading device for reading a pointer of an analog meter, a meter reading method, and a computer program.

IoTシステムで使用される計器としては、デジタル温度計、湿度計、振動計等のデジタル信号で測定結果を出力する種類のデジタルセンサがよく使用されている。通信機に測定結果を示す数値を送信させることが容易なためである。これに対し、測定により得られる情報をデジタル信号へ変換することが容易でない機械式の計器がある。例えばブルドン、ダイヤフラム、ベローを用いた圧力計、浮子を用いた水位計等である。これらの機械式の計器は、目盛盤を目視で確認する種類の計器であり、アナログ信号も出力されない。これらの計器で測定される情報をIoTシステムで用いるため、担当者が目視で確認してきた目盛盤上の指針を、カメラで撮像して測定値を読み取る方法が提案されている。 As an instrument used in an IoT system, a type of digital sensor that outputs a measurement result by a digital signal such as a digital thermometer, a hygrometer, or a vibrometer is often used. This is because it is easy to have the communication device transmit a numerical value indicating the measurement result. On the other hand, there are mechanical instruments in which it is not easy to convert the information obtained by measurement into a digital signal. For example, a pressure gauge using a bourdon, a diaphragm, a bellows, a water level gauge using a buoy, and the like. These mechanical instruments are of the type that visually check the dial and do not output analog signals. In order to use the information measured by these instruments in the IoT system, a method has been proposed in which the pointer on the scale board visually confirmed by the person in charge is imaged with a camera and the measured value is read.

特許文献1には、単針回転型のアナログメータについて、指針が既知の目盛を指している状態の目盛盤を撮像した基準画像を用い、指針が動く範囲における輝度値の分析によって測定値を読み取る方法が提案されている。特許文献1では、輝度値が最も低く、円弧状の目盛盤における径方向の輝度値の変化が少ない部分に指針が存在すると推定し、基準画像との相関が高い部分から測定値を読み取っている。 In Patent Document 1, for a single-needle rotation type analog meter, a reference image obtained by imaging a scale board in a state where the pointer points to a known scale is used, and the measured value is read by analyzing the brightness value in the range in which the pointer moves. A method has been proposed. In Patent Document 1, it is estimated that the pointer exists in the portion of the arcuate scale plate where the luminance value is the lowest and the change in the luminance value in the radial direction is small, and the measured value is read from the portion having a high correlation with the reference image. ..

特許文献2では、指針に対して設定された輝度値の部分を画像認識により特定するため、背景除去、ノイズ除去等を行なう技術が開示されている。 Patent Document 2 discloses a technique for removing a background, removing noise, and the like in order to specify a portion of a brightness value set with respect to a pointer by image recognition.

特開2004−133560号公報Japanese Unexamined Patent Publication No. 2004-133560 特開2002−188939号公報JP-A-2002-188939

特許文献1又は特許文献2等の従来の方法では、撮像画像中の指針が写っている領域の輝度値は他の領域よりも低いという前提で、所定値よりも低い輝度値が現れる部分を撮像画像から抽出している。特許文献1では、予め指針を写した撮像画像を用い、目盛盤の撮像画像と共に周波数変換を施し、相関が高い部分を特定する方法を採用しているが、ノイズの除去を実施しても精度の高い特定が困難である。計器が取り付けられている場所には、工場の窓、他の機器からの光等の影響を受けており、目盛盤には、文字、汚れ等とは異なる鮮明な影が映る場合がある。指針が振れ続ける場合には撮像画像に写る指針の画像は不鮮明であり、鮮明な影等と混同して誤って検出される可能性がある。 In the conventional method such as Patent Document 1 or Patent Document 2, on the premise that the brightness value of the region in the captured image in which the pointer is captured is lower than that of the other regions, the portion where the brightness value lower than the predetermined value appears is imaged. Extracted from the image. In Patent Document 1, a method is adopted in which a captured image in which a pointer is copied in advance is used, frequency conversion is performed together with the captured image of the dial, and a portion having a high correlation is specified. It is difficult to identify the high frequency. The place where the instrument is installed is affected by the windows of the factory, light from other equipment, etc., and the dial may show clear shadows different from letters, dirt, etc. If the pointer continues to swing, the image of the pointer reflected in the captured image is unclear and may be confused with a clear shadow or the like and erroneously detected.

本発明は斯かる事情を鑑みてなされたものであり、簡素な方法で精度よくアナログメータの指針を読み取るメータ読取装置、メータ読取方法及びコンピュータプログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a meter reading device, a meter reading method, and a computer program that accurately read the pointer of an analog meter by a simple method.

本開示の一態様に係るメータ読取装置は、メータの目盛盤を撮像した撮像画像における前記目盛盤の基準位置、各々数値が対応付けられた前記目盛盤の複数の主目盛の位置、並びに前記メータの指針の形状及び大きさを示す情報を記憶しておく記憶部と、前記メータの目盛盤を新たに撮像した撮像画像を、記憶してある目盛盤の基準位置、前記複数の主目盛の位置に基づき、画像内の目盛に直交する方向に走査して走査画像を作成する第1作成部と、前記指針の形状を示す情報に基づいて指針の画像を作成する第2作成部と、作成した指針の画像を、記憶してある目盛盤の基準位置及び大きさに基づき画像内の目盛に直交する方向に走査して指針の走査画像を作成する第3作成部と、作成された目盛盤の走査画像及び指針の走査画像の比較により、目盛盤の走査画像における目盛に直交する方向に対する、指針が写っている可能性の高さを示す尤度の分布を算出する算出部と、該算出部が算出した尤度の目盛に直交する方向に対する分布に基づいて前記メータの指針が示す数値を特定する特定部とを備える。 The meter reading device according to one aspect of the present disclosure includes a reference position of the scale plate in an image captured by imaging the scale plate of the meter, positions of a plurality of main scales of the scale plate associated with each numerical value, and the meter. A storage unit that stores information indicating the shape and size of the pointer, a reference position of the scale plate that stores a newly captured image of the scale plate of the meter, and the positions of the plurality of main scales. Based on the above, a first creating unit that scans in a direction orthogonal to the scale in the image to create a scanned image, and a second creating unit that creates an image of the pointer based on the information indicating the shape of the pointer are created. A third creation unit that scans the pointer image in a direction orthogonal to the scale in the image based on the stored reference position and size of the scale, and creates a scanning image of the pointer, and the created scale. A calculation unit that calculates the distribution of likelihood indicating the high possibility that the pointer is reflected in the direction orthogonal to the scale in the scan image of the scale board by comparing the scanned image and the scanned image of the pointer, and the calculation unit. It is provided with a specific unit that specifies a numerical value indicated by the pointer of the meter based on the distribution in the direction orthogonal to the scale of the likelihood calculated by.

本開示の一態様に係るメータ読取方法は、メータの目盛盤を撮像した撮像画像における前記目盛盤の基準位置、各々数値が対応付けられた前記目盛盤の複数の主目盛の位置、並びに前記メータの指針の形状及び大きさを示す情報を記憶媒体に記憶しておき、前記メータの目盛盤を新たに撮像した撮像画像を、記憶してある目盛盤の基準位置、前記複数の主目盛の位置に基づき、画像内の目盛に直交する方向に走査して走査画像を作成し、前記メータの指針の形状を示す情報に基づいて指針の画像を作成し、作成した指針の画像を、記憶してある目盛盤の基準位置及び大きさに基づき画像内の目盛に直交する方向に走査して指針の走査画像を作成し、作成された目盛盤の走査画像及び指針の走査画像の比較により、目盛盤の走査画像における目盛に直交する方向に対する、指針が写っている可能性の高さを示す尤度の分布を算出し、算出された尤度の目盛に直交する方向に対する分布に基づいて前記メータの指針が示す数値を特定する処理を含む。 The meter reading method according to one aspect of the present disclosure includes a reference position of the scale plate in an image captured by imaging the scale plate of the meter, positions of a plurality of main scales of the scale plate associated with each numerical value, and the meter. Information indicating the shape and size of the pointer is stored in a storage medium, and the captured image newly captured by the scale plate of the meter is stored as a reference position of the stored scale plate and the positions of the plurality of main scales. To create a scanned image by scanning in a direction orthogonal to the scale in the image, create a pointer image based on the information indicating the shape of the pointer of the meter, and store the created pointer image. A scale scan image is created by scanning in a direction orthogonal to the scale in the image based on the reference position and size of a scale, and the scale board is compared with the created scale scan image and the pointer scan image. The distribution of the likelihood indicating the high possibility that the pointer is reflected in the direction orthogonal to the scale in the scanned image of the above is calculated, and the distribution of the meter in the direction orthogonal to the calculated scale of the likelihood is used. Includes processing to identify the numerical values indicated by the guidelines.

本開示の一態様に係るコンピュータプログラムは、記憶部を備えるコンピュータに、メータの目盛盤を撮像した撮像画像における前記目盛盤の基準位置、各々数値が対応付けられた前記目盛盤の複数の主目盛の位置、並びに前記メータの指針の形状及び大きさを示す情報を前記記憶部に記憶しておき、前記メータの目盛盤を新たに撮像した撮像画像を、記憶してある目盛盤の基準位置、前記複数の主目盛の位置に基づき、画像内の目盛に直交する方向に走査して走査画像を作成し、前記メータの指針の形状を示す情報に基づいて指針の画像を作成し、作成した指針の画像を、記憶してある目盛盤の基準位置及び大きさに基づき画像内の目盛に直交する方向に走査して指針の走査画像を作成し、作成された目盛盤の走査画像及び指針の走査画像の比較により、目盛盤の走査画像における目盛に直交する方向に対する、指針が写っている可能性の高さを示す尤度の分布を算出し、算出された尤度の目盛に直交する方向に対する分布に基づいて前記メータの指針が示す数値を特定する処理を実行させる。 In the computer program according to one aspect of the present disclosure, a computer provided with a storage unit has a plurality of main scales of the scale plate in which a reference position of the scale plate in an image captured by imaging the scale plate of a meter and a numerical value are associated with each other. The position of the meter and information indicating the shape and size of the pointer of the meter are stored in the storage unit, and an image captured by newly capturing the scale plate of the meter is stored in the stored reference position of the scale plate. A scanning image is created by scanning in a direction orthogonal to the scale in the image based on the positions of the plurality of main scales, and an image of the pointer is created based on the information indicating the shape of the pointer of the meter. The image of is scanned in the direction orthogonal to the scale in the image based on the stored reference position and size of the scale to create a scanning image of the pointer, and the scanned image of the created scale and scanning of the pointer are created. By comparing the images, the distribution of the likelihood indicating the high possibility that the pointer is reflected in the direction orthogonal to the scale in the scanned image of the scale board is calculated, and the distribution of the likelihood is calculated with respect to the direction orthogonal to the calculated scale of the likelihood. The process of specifying the numerical value indicated by the pointer of the meter based on the distribution is executed.

本開示の一態様では、記憶してある目盛盤の基準位置、複数の主目盛の位置、指針の形状及び大きさに基づいて、目盛盤を撮像した撮像画像を目盛に直交する方向に走査して走査画像が作成される。走査画像と指針画像に対して同様に操作を行なって得られる画像とを用いて走査画像中における指針が写っている可能性の高さを示す尤度分布が求められる。尤度分布に基づいて指針の位置、即ち目盛盤上で指針が示す数値が特定される。撮像した指針の画像ではなく、指針の画像を記憶してある形状及び大きさから改めて作成してから用いることで、ノイズが含まれる画像同士を比較する場合よりも逆に精度が高く特定できる知見が得られた。 In one aspect of the present disclosure, an image captured by an image of a scale is scanned in a direction orthogonal to the scale based on a stored reference position of the scale, positions of a plurality of main scales, and a shape and size of a pointer. A scanned image is created. A likelihood distribution indicating the high possibility that the pointer is shown in the scanned image is obtained by using the scanned image and the image obtained by performing the same operation on the pointer image. The position of the pointer, that is, the numerical value indicated by the pointer on the scale is specified based on the likelihood distribution. Findings that can be identified with higher accuracy than when comparing images containing noise by recreating the pointer image from the stored shape and size instead of the captured pointer image. was gotten.

本開示の一態様では、対象となるメータは円形状の目盛盤に対してその中心を支点として回転する指針を持つメータに適用できるだけでなく、指針が直線上に左右又は上下に移動するメータに適用することも可能である。 In one aspect of the present disclosure, the meter of interest can be applied not only to a meter having a pointer that rotates about a circular scale as a fulcrum, but also to a meter in which the pointer moves horizontally or vertically in a straight line. It is also possible to apply.

本開示の一態様では、尤度のピークが複数存在する場合、より急峻なピークに対応する目盛に直交する方向における位置に基づいて、指針が示す数値が特定される。これにより精度が高まる。 In one aspect of the present disclosure, when there are a plurality of likelihood peaks, the numerical value indicated by the pointer is specified based on the position in the direction orthogonal to the scale corresponding to the steeper peak. This increases accuracy.

本開示の一態様では、指針の画像における画素値の変動と類似する画素値の変動を有するか否かを示す尤度が算出される。これにより、多様な条件で撮像された画像に対しても指針が示す数値を特定する精度が高まる。 In one aspect of the present disclosure, a likelihood is calculated that indicates whether or not there is a pixel value variation similar to the pixel value variation in the pointer image. As a result, the accuracy of specifying the numerical value indicated by the pointer is improved even for images captured under various conditions.

本開示の一態様では、複数の主目盛の位置の区間毎に線形補完されて指針が示す数値が特定されるから、撮像画像が歪みを含んでいたとしても精度が悪化しない。 In one aspect of the present disclosure, since the numerical value indicated by the pointer is specified by linearly interpolating for each section of the position of the plurality of main scales, the accuracy does not deteriorate even if the captured image contains distortion.

本開示のメータ読取装置、メータ読取方法、及びコンピュータプログラムによれば、簡素な方法で精度よくアナログメータの指針を自動で読み取ることが可能になる。アナログメータの目視による異常判断の確認業務を省略させることが可能になる。アナログメータをIoTシステムに取り込むことも実現できる。 According to the meter reading device, the meter reading method, and the computer program of the present disclosure, it is possible to automatically read the pointer of the analog meter with high accuracy by a simple method. It is possible to omit the work of visually confirming the abnormality judgment of the analog meter. It is also possible to incorporate an analog meter into an IoT system.

本実施の形態におけるメータ検針システムの概要を示す説明図である。It is explanatory drawing which shows the outline of the meter meter reading system in this embodiment. カメラデバイスの模式図である。It is a schematic diagram of a camera device. メータ検針システムの構成を示すブロック図である。It is a block diagram which shows the structure of the meter meter reading system. 設定される情報の内容例を示す図である。It is a figure which shows the content example of the information to be set. 撮像画像における歪みの補正の概要を示す図である。It is a figure which shows the outline of the correction of the distortion in a captured image. サーバ装置による読取処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the reading process procedure by a server apparatus. 撮像画像の内容例を示す模式図である。It is a schematic diagram which shows the content example of the captured image. 撮像画像に対する走査方法の概要を示す図である。It is a figure which shows the outline of the scanning method with respect to the captured image. メータの目盛盤の走査画像の一例を示す模式図である。It is a schematic diagram which shows an example of the scan image of the scale board of a meter. 指針の走査画像の一例を示す模式図である。It is a schematic diagram which shows an example of the scanning image of a pointer. 尤度分布を示す図である。It is a figure which shows the likelihood distribution. 撮像画像に対する走査方法の他の例の概要を示す図である。It is a figure which shows the outline of another example of the scanning method with respect to the captured image. サーバ装置の制御部による異常検知処理の手順の一例を示すフローチャートである。It is a flowchart which shows an example of the procedure of abnormality detection processing by the control part of a server device. 実施の形態2のサーバ装置による読取処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the reading processing procedure by the server apparatus of Embodiment 2. 実施の形態2における撮像画像に対する走査方法の概要を示す図である。It is a figure which shows the outline of the scanning method with respect to the captured image in Embodiment 2. メータの目盛盤の走査画像の一例を示す模式図である。It is a schematic diagram which shows an example of the scan image of the scale board of a meter. 指針の走査画像の一例を示す模式図である。It is a schematic diagram which shows an example of the scanning image of a pointer. 指針の走査画像の画素値の変動分布を示す図である。It is a figure which shows the fluctuation distribution of the pixel value of the scan image of a pointer. 目盛盤の走査画像における画素値の変動分布を示す図である。It is a figure which shows the fluctuation distribution of the pixel value in the scan image of a scale board. 実施の形態2における尤度の算出方法を示す図である。It is a figure which shows the calculation method of the likelihood in Embodiment 2. FIG. 実施の形態2における尤度分布を示す図である。It is a figure which shows the likelihood distribution in Embodiment 2.

以下、本開示のメータ読取方法及びメータ読取装置についてその実施形態を示す図面に基づいて具体的に説明する。 Hereinafter, the meter reading method and the meter reading device of the present disclosure will be specifically described with reference to the drawings showing the embodiments thereof.

(実施の形態1)
図1は、実施の形態1におけるメータ検針システム100の概要を示す説明図である。メータ検針システム100は、複数のカメラデバイス1、ゲートウェイ装置2、サーバ装置3、及びクライアント装置4を含む。
(Embodiment 1)
FIG. 1 is an explanatory diagram showing an outline of the meter meter reading system 100 according to the first embodiment. The meter reading system 100 includes a plurality of camera devices 1, a gateway device 2, a server device 3, and a client device 4.

カメラデバイス1は、工場内の設備に設けられている複数のメータMに対して設けられている。ゲートウェイ装置2は工場内に設置されており、複数のカメラデバイス1と通信接続が可能である。カメラデバイス1とゲートウェイ装置2との間の通信接続は、例えば近距離無線通信により実現される。カメラデバイス1とゲートウェイ装置2との間は、有線によって通信接続が可能な構成としてもよい。 The camera device 1 is provided for a plurality of meters M provided in the equipment in the factory. The gateway device 2 is installed in the factory and can communicate with a plurality of camera devices 1. The communication connection between the camera device 1 and the gateway device 2 is realized by, for example, short-range wireless communication. A wired communication connection may be possible between the camera device 1 and the gateway device 2.

カメラデバイス1は、メータMの目盛盤を撮像した撮像画像をゲートウェイ装置2へ通信により送信する。ゲートウェイ装置2は、複数のカメラデバイス1夫々から送信される撮像画像を、ネットワークNを介してサーバ装置3へ送信する。 The camera device 1 transmits an captured image of the scale board of the meter M to the gateway device 2 by communication. The gateway device 2 transmits captured images transmitted from each of the plurality of camera devices 1 to the server device 3 via the network N.

サーバ装置3は、ゲートウェイ装置2から送信された撮像画像に対して後述する処理を実行し、撮像画像に写っている1又は複数のメータMの指針の位置が示す状態を特定する。サーバ装置3はこれに加え、状態を特定するための設定情報をWebベースで受け付ける機能を発揮すると共に、特定した状態に基づいてメータMが設けられている工場の管理者へ警報を発報する機能を発揮する。なおサーバ装置3について本実施の形態では、説明を容易にするために1台のサーバコンピュータとして説明するが、1台のサーバコンピュータにて論理的に複数のインスタンスにより動作する仮想サーバにより実現される。また、複数のサーバコンピュータで機能又は処理を分散させるか、重畳させてもよい。 The server device 3 executes a process described later on the captured image transmitted from the gateway device 2, and identifies the state indicated by the position of the pointer of one or a plurality of meters M reflected in the captured image. In addition to this, the server device 3 exerts a function of receiving setting information for specifying the state on a Web basis, and issues an alarm to the manager of the factory where the meter M is provided based on the specified state. Demonstrate function. In the present embodiment, the server device 3 will be described as one server computer for ease of explanation, but it is realized by a virtual server that logically operates by a plurality of instances on one server computer. .. Further, the functions or processes may be distributed or superimposed on a plurality of server computers.

ネットワークNは、公衆網N1、及びキャリアネットワークN2を含む。公衆網N1は所謂インターネットである。キャリアネットワークN2は、次世代又は次々世代高速携帯通信規格等の規格に基づく無線通信を実現する通信キャリアが提供するネットワークである。公衆網N1はアクセスポイントAPを含む。キャリアネットワークN2は基地局BSを含む。ゲートウェイ装置2は、アクセスポイントAP又は基地局BSにより、公衆網N1に接続されるサーバ装置3との間で情報の送受信が可能である。 The network N includes a public network N1 and a carrier network N2. The public network N1 is the so-called Internet. The carrier network N2 is a network provided by a communication carrier that realizes wireless communication based on a standard such as a next-generation or next-generation high-speed mobile communication standard. The public network N1 includes an access point AP. The carrier network N2 includes a base station BS. The gateway device 2 can send and receive information to and from the server device 3 connected to the public network N1 by the access point AP or the base station BS.

工場内の設備に取り付けられている多様なメータの内、デジタル出力機能を有するメータからは、例えば工場内のセンターコンソール等の制御装置に向けて測定結果を出力させ、制御装置で測定対象の状態の異常の有無等を判断することが容易である。これに対し、デジタル出力機能を有していないメータMについては従来、工場管理担当者が目視で異常の有無を確認するか、担当者が立ち入ることができない場所についてはカメラでメータの目盛盤を撮像してこれを担当者が遠隔から確認し、異常の有無を判断してきた。例えば、ダイヤフラム式の圧力計であるメータMについては、異常に高圧力となっていないか否かを担当者が1日に数回目視して確認するなどして、工場内設備の異常の有無を判断してきた。 Among the various meters installed in the equipment in the factory, the meter with the digital output function outputs the measurement result to the control device such as the center console in the factory, and the control device outputs the measurement target state. It is easy to judge the presence or absence of abnormalities in. On the other hand, for the meter M that does not have a digital output function, the factory management staff can visually check for any abnormalities, or the meter dial can be used with a camera in places where the staff cannot enter. The person in charge has taken an image and confirmed this remotely to determine the presence or absence of an abnormality. For example, with regard to the meter M, which is a diaphragm type pressure gauge, the person in charge visually checks whether the pressure is abnormally high several times a day to see if there is an abnormality in the equipment in the factory. I have judged.

本実施の形態では、デジタル出力機能を有していないメータMに対してカメラデバイス1を取り付け、カメラデバイス1で撮像された撮像画像に基づくサーバ装置3のメータ読取装置としての機能によって、メータMで測定している状態を特定するメータ検針システム100を実現する。以下に示す処理内容により、サーバ装置3は高精度にメータMの指針が差す状態を特定することができる。これにより、既存のアナログ式のメータMにカメラデバイス1を設けてゲートウェイ装置2を工場内に設置する容易な手順で、担当者の1日に数回の目視の作業を省略することを実現する。 In the present embodiment, the camera device 1 is attached to the meter M that does not have the digital output function, and the meter M is functioned as a meter reading device of the server device 3 based on the captured image captured by the camera device 1. The meter reading system 100 for specifying the state measured by is realized. The server device 3 can identify the state in which the pointer of the meter M is pointed with high accuracy by the processing contents shown below. As a result, it is possible to omit the visual work of the person in charge several times a day by a simple procedure of installing the camera device 1 on the existing analog meter M and installing the gateway device 2 in the factory. ..

図2は、カメラデバイス1の模式図である。図2Aは模式斜視図、図2Bは模式断面図である。カメラデバイス1は、基板10から延出された短冊状の延出基板10fの一面に撮像部11及び光源12を設け、基板10に通信部13及び制御部14を実装し、電池ボックス16を接続して構成される。なお光源12は、設置場所によっては不要な場合があるので着脱可能であることが好ましい。カメラデバイス1は、延出基板10fの撮像部11が実装されている面をメータMの目盛盤の視認用の窓に向けるようにして取り付けられる。カメラデバイス1は、アダプタ17によってメータMに対して位置決めされる。アダプタ17は、メータMの外径より大きい円形状の透明樹脂製カバー15及び該カバー15の一端に固定されたアダプタ17の本体を有している。アダプタ17の本体に電池ボックス16と共に基板10を固定し、カバー15をメータMの窓に被せ、図示しない取付ネジ又は取付金具で固定することで、カメラデバイス1がメータMに対して、図2に示すように位置決めされる。カバー15は透明樹脂製であり、メータMの目盛盤に対向する撮像部11が実装された延出基板10fは短冊状であって撮像部11の大きさに対応する幅を有する程度の大きさでよいので、カメラデバイス1が取り付けられた状態でのメータMも視認が可能である。なおカメラデバイス1及びアダプタ17の構成はこれに限らないことは勿論である。 FIG. 2 is a schematic view of the camera device 1. FIG. 2A is a schematic perspective view, and FIG. 2B is a schematic cross-sectional view. The camera device 1 is provided with an imaging unit 11 and a light source 12 on one surface of a strip-shaped extending substrate 10f extending from the substrate 10, a communication unit 13 and a control unit 14 are mounted on the substrate 10, and a battery box 16 is connected. It is composed of. The light source 12 is preferably removable because it may not be necessary depending on the installation location. The camera device 1 is attached so that the surface on which the image pickup unit 11 of the extension board 10f is mounted faces the viewing window of the scale plate of the meter M. The camera device 1 is positioned with respect to the meter M by the adapter 17. The adapter 17 has a circular transparent resin cover 15 having a larger outer diameter of the meter M and a main body of the adapter 17 fixed to one end of the cover 15. By fixing the board 10 together with the battery box 16 to the main body of the adapter 17, covering the cover 15 with the window of the meter M, and fixing with mounting screws or mounting brackets (not shown), the camera device 1 is attached to the meter M in FIG. It is positioned as shown in. The cover 15 is made of transparent resin, and the extension substrate 10f on which the image pickup unit 11 facing the scale plate of the meter M is mounted is strip-shaped and has a width corresponding to the size of the image pickup unit 11. Therefore, the meter M with the camera device 1 attached can also be visually recognized. Needless to say, the configurations of the camera device 1 and the adapter 17 are not limited to this.

撮像部11は、可視光又は赤外光の撮像素子及びメモリ等を含み、制御部14の制御信号に応じて撮像を実行する。光源12は例えばLED(Light Emitting Diode)を含み、制御部14の制御信号に応じて、撮像時に白色光又は赤外光を照射する。光源12については照度センサを用い、環境光によって十分に明るい場合には点灯しない等、環境光に応じた点灯とするようにしてもよい。通信部13はゲートウェイ装置2との通信接続を実現する。通信部13は例えばBluetooth(登録商標)、特に2.4GHzのBLE(Bluetooth Low Energy)等の近距離無線通信モジュールを含む。 The image pickup unit 11 includes an image pickup element for visible light or infrared light, a memory, and the like, and executes imaging in response to a control signal of the control unit 14. The light source 12 includes, for example, an LED (Light Emitting Diode), and emits white light or infrared light at the time of imaging according to the control signal of the control unit 14. An illuminance sensor may be used for the light source 12, and the light source 12 may be turned on according to the ambient light, such as not being turned on when it is sufficiently bright by the ambient light. The communication unit 13 realizes a communication connection with the gateway device 2. The communication unit 13 includes, for example, a short-range wireless communication module such as Bluetooth (registered trademark), particularly 2.4 GHz BLE (Bluetooth Low Energy).

制御部14はプロセッサ及びメモリを含み、メモリに記憶されているプログラム及び設定情報に基づいて撮像部11による撮像実行、光源12の点灯及び消灯、並びに通信部13による送受信を制御する。メモリに記憶されている設定情報には、カメラデバイス1を他と識別するための識別情報が予め記憶されており、制御部14は、通信部13から撮像画像を送信する際に、メモリに記憶されている識別情報を対応付けて送信する。制御部14は、設定情報に含まれる周期に基づいて、又はゲートウェイ装置2からの指示に応じて撮像部11で撮像を実行し、撮像部11の内蔵メモリに一時保存される撮像画像を読み出し、通信部13に与えてゲートウェイ装置2へ送信させる。 The control unit 14 includes a processor and a memory, and controls imaging execution by the imaging unit 11, lighting and extinguishing of the light source 12, and transmission / reception by the communication unit 13 based on the program and setting information stored in the memory. In the setting information stored in the memory, identification information for distinguishing the camera device 1 from others is stored in advance, and the control unit 14 stores the captured image in the memory when transmitting the captured image from the communication unit 13. The identification information provided is associated and transmitted. The control unit 14 executes imaging in the imaging unit 11 based on the cycle included in the setting information or in response to an instruction from the gateway device 2, and reads out the captured image temporarily stored in the built-in memory of the imaging unit 11. It is given to the communication unit 13 and transmitted to the gateway device 2.

カメラデバイス1は撮像部11以外に他のセンサを備えてもよい。カメラデバイス1は例えば、温度センサ、湿度センサを備えてもよい。カメラデバイス1は例えば、自身の電池電圧、照度センサ等、撮像環境に関する情報を取得するセンサを備えてもよい。制御部14は撮像画像のメタデータ記述部分にこれらのセンサで測定された情報を含めて通信部13から撮像画像と共に送信することができる。 The camera device 1 may include other sensors in addition to the image pickup unit 11. The camera device 1 may include, for example, a temperature sensor and a humidity sensor. The camera device 1 may include, for example, a sensor that acquires information about the imaging environment, such as its own battery voltage and illuminance sensor. The control unit 14 can include the information measured by these sensors in the metadata description portion of the captured image and transmit it from the communication unit 13 together with the captured image.

図3は、メータ検針システム100の構成を示すブロック図である。ゲートウェイ装置2は、プロトコルが異なる第1通信部22及び第2通信部23を備えた所謂IoTゲートウェイと呼ばれる装置を用いる。ゲートウェイ装置2は、制御部20及び記憶部21を備える。制御部20はCPU及びクロック等を用いて予め記憶されたプログラム及び設定情報に基づいてカメラデバイス1から送信される撮像画像のサーバ装置3への送信処理を行なう。第1通信部22は、カメラデバイス1との通信用のBLE等の近距離無線通信モジュールを含む。第2通信部23は、ネットワークNに含まれるキャリアネットワークN2経由での通信を実現する次世代移動通信規格用の通信モジュールを含む。ゲートウェイ装置2はその他、イーサネット(登録商標)用のデバイス、無線LAN用の通信モジュールを備えてもよい。 FIG. 3 is a block diagram showing the configuration of the meter meter reading system 100. The gateway device 2 uses a device called a so-called IoT gateway including a first communication unit 22 and a second communication unit 23 having different protocols. The gateway device 2 includes a control unit 20 and a storage unit 21. The control unit 20 performs a transmission process of a captured image transmitted from the camera device 1 to the server device 3 based on a program and setting information stored in advance using a CPU, a clock, or the like. The first communication unit 22 includes a short-range wireless communication module such as BLE for communication with the camera device 1. The second communication unit 23 includes a communication module for the next-generation mobile communication standard that realizes communication via the carrier network N2 included in the network N. The gateway device 2 may also include a device for Ethernet (registered trademark) and a communication module for wireless LAN.

サーバ装置3は、サーバコンピュータを用いる。サーバ装置3は、制御部30、記憶部31、及び通信部32を備える。制御部30はCPU(Central Processing Unit )又はGPU(Graphical Processing Unit )を用いたプロセッサであり、内蔵する揮発性メモリ、クロック等を含む。制御部30は後述するように画像処理を実行するためGPU又は別途グラフィックカードを用いることが好ましい。制御部30は、記憶部31に記憶されているサーバプログラム30Pに基づいた各処理を実行し、汎用サーバコンピュータを後述するメータMの撮像画像に関する情報処理を行なう特定のメータ読取装置として機能させる。 The server device 3 uses a server computer. The server device 3 includes a control unit 30, a storage unit 31, and a communication unit 32. The control unit 30 is a processor using a CPU (Central Processing Unit) or a GPU (Graphical Processing Unit), and includes a built-in volatile memory, a clock, and the like. Since the control unit 30 executes image processing as described later, it is preferable to use a GPU or a separate graphic card. The control unit 30 executes each process based on the server program 30P stored in the storage unit 31 and causes the general-purpose server computer to function as a specific meter reading device that processes information related to the captured image of the meter M described later.

記憶部31は、ハードディスクを用いてサーバプログラム30Pのほか、制御部30が参照する情報を記憶する。記憶部31は、後述の撮像画像に対する処理の際に制御部30が参照するメータM毎の設定情報を、メータMの識別情報と対応付けて記憶する。記憶部31に記憶してあるサーバプログラム30Pは、通信部32により外部から取得して記憶したものであってよい。 The storage unit 31 stores the information referred to by the control unit 30 in addition to the server program 30P using the hard disk. The storage unit 31 stores the setting information for each meter M referred to by the control unit 30 when processing the captured image, which will be described later, in association with the identification information of the meter M. The server program 30P stored in the storage unit 31 may be acquired and stored from the outside by the communication unit 32.

通信部32は、ネットワークカードを含む。制御部30は通信部32により、ネットワークNを介したクライアント装置4との間の情報の送受信が可能である。 The communication unit 32 includes a network card. The control unit 30 can send and receive information to and from the client device 4 via the network N by the communication unit 32.

クライアント装置4は、制御部40、記憶部41、表示部42、操作部43、音声入出力部44、及び通信部45を備える。制御部40は、CPU、又はGPU等のプロセッサと、メモリ等を含む。制御部40は、プロセッサ、メモリ、記憶部41、及び通信部45を集積した1つのハードウェア(SoC:System On a Chip)として構成されていてもよい。制御部40は、記憶部41に記憶されているアプリプログラム40Pに基づき、汎用的なコンピュータを本実施の形態のメータ検針システム100のユーザ用のクライアント装置4として機能させる。 The client device 4 includes a control unit 40, a storage unit 41, a display unit 42, an operation unit 43, a voice input / output unit 44, and a communication unit 45. The control unit 40 includes a processor such as a CPU or GPU and a memory or the like. The control unit 40 may be configured as one piece of hardware (SoC: System On a Chip) in which a processor, a memory, a storage unit 41, and a communication unit 45 are integrated. The control unit 40 causes a general-purpose computer to function as a client device 4 for the user of the meter meter reading system 100 of the present embodiment based on the application program 40P stored in the storage unit 41.

記憶部41は、例えばフラッシュメモリ等の不揮発性メモリを含む。記憶部41は、アプリプログラム40Pを記憶する。アプリプログラム40PはWebブラウザ機能を含むとよい。記憶部41に記憶してある汎用のWebブラウザプログラムが用いられてもよい。記憶部41は、制御部40が参照するデータを記憶する。アプリプログラム40Pは、記憶媒体49に記憶されたアプリプログラム49Pを、制御部40が図示しない読取部によって読み出して記憶部41にインストールしたものであってもよい。アプリプログラム40Pは、任意のサーバ装置がネットワークNを介して配信するアプリプログラム(図示せず)を制御部40が通信部45により受信して記憶部41にインストールしたものであってもよい。 The storage unit 41 includes a non-volatile memory such as a flash memory. The storage unit 41 stores the application program 40P. The application program 40P may include a Web browser function. A general-purpose Web browser program stored in the storage unit 41 may be used. The storage unit 41 stores the data referred to by the control unit 40. The application program 40P may be one in which the application program 49P stored in the storage medium 49 is read by the control unit 40 by a reading unit (not shown) and installed in the storage unit 41. The application program 40P may be one in which the control unit 40 receives the application program (not shown) distributed by any server device via the network N by the communication unit 45 and installs it in the storage unit 41.

表示部42は、液晶パネル又は有機ELディスプレイ等のディスプレイ装置を含む。操作部43は、ユーザの操作を受け付けるインタフェースであり、物理ボタン、ディスプレイ内蔵のタッチパネルデバイスを含む。操作部43は、物理ボタンまたはタッチパネルにて表示部42で表示している画面上における操作を受け付けることが可能である。 The display unit 42 includes a display device such as a liquid crystal panel or an organic EL display. The operation unit 43 is an interface that accepts user operations, and includes physical buttons and a touch panel device with a built-in display. The operation unit 43 can accept an operation on the screen displayed on the display unit 42 by a physical button or a touch panel.

音声入出力部44は、スピーカ及びマイクロフォン等を含む。音声入出力部44は、音声認識部を備えて、マイクロフォンにて入力音声から操作内容を認識して操作を受け付けることが可能である。 The audio input / output unit 44 includes a speaker, a microphone, and the like. The voice input / output unit 44 includes a voice recognition unit, and can recognize the operation content from the input voice with a microphone and accept the operation.

通信部45は、ネットワークNを介してサーバ装置3との間の情報の送受信を実現する無線通信モジュールである。通信部45は、ネットワークカードを用いて有線によりネットワークNを介した通信を行なってもよい。 The communication unit 45 is a wireless communication module that realizes transmission / reception of information to / from the server device 3 via the network N. The communication unit 45 may perform communication via the network N by wire using a network card.

このように構成されるメータ検針システム100におけるメータMの検針方法を説明する。本実施の形態においてゲートウェイ装置2は、記憶部21に予め、通信接続可能なカメラデバイス1のデバイス識別情報を記憶しておく。デバイス識別情報は例えばMACアドレスであってよいし、予めカメラデバイス1に付与して記憶されている情報であってもよい。記憶部21には、ゲートウェイ装置2自身のゲートウェイ識別情報が加えて記憶されてもよい。ゲートウェイ装置2は、カメラデバイス1用の第1通信部22によって複数のカメラデバイス1に対してペアリングを確立させ、ペアリングが確立されたカメラデバイス1夫々に異なるアドレスを一時的に付与する。ゲートウェイ装置2の制御部20は、複数のカメラデバイス1に対し、記憶部21に記憶してあるデバイス識別情報と対応付けて順に、撮像の実行及び撮像画像の送信を指示する。 The meter reading method of the meter M in the meter meter reading system 100 configured as described above will be described. In the present embodiment, the gateway device 2 stores in advance the device identification information of the camera device 1 that can be connected to the communication in the storage unit 21. The device identification information may be, for example, a MAC address, or may be information previously assigned to and stored in the camera device 1. The gateway identification information of the gateway device 2 itself may be additionally stored in the storage unit 21. The gateway device 2 establishes pairing for a plurality of camera devices 1 by the first communication unit 22 for the camera device 1, and temporarily assigns a different address to each of the camera devices 1 for which the pairing has been established. The control unit 20 of the gateway device 2 instructs a plurality of camera devices 1 to execute imaging and transmit captured images in order in association with the device identification information stored in the storage unit 21.

カメラデバイス1は夫々、ゲートウェイ装置2から指示を受けると、光源12を点灯させ、撮像部11による撮像を実行し、光源12を消灯させ、撮像画像を通信部13からゲートウェイ装置2へ送信する。制御部14は、内蔵メモリにデバイス識別情報が予め記憶してある場合、これを撮像画像と共に送信してもよい。 When each of the camera devices 1 receives an instruction from the gateway device 2, the light source 12 is turned on, the image pickup unit 11 executes imaging, the light source 12 is turned off, and the captured image is transmitted from the communication unit 13 to the gateway device 2. When the device identification information is stored in the built-in memory in advance, the control unit 14 may transmit the device identification information together with the captured image.

ゲートウェイ装置2の制御部20は、カメラデバイス1から第1通信部22により撮像画像を受信する都度、対応するデバイス識別情報と対応付けて、第2通信部23から撮像画像をサーバ装置3宛てに送信する。制御部20は内蔵メモリを用いて、撮像画像を蓄積してもよい。第2通信部23からの送信が困難な場合には蓄積しておき、通信可能となった時点で送信すればよい。 Each time the control unit 20 of the gateway device 2 receives the captured image from the camera device 1 by the first communication unit 22, the control unit 20 associates the captured image with the corresponding device identification information and sends the captured image from the second communication unit 23 to the server device 3. Send. The control unit 20 may store captured images using the built-in memory. If it is difficult to transmit from the second communication unit 23, it may be stored and transmitted when communication becomes possible.

ゲートウェイ装置2の制御部20は、以上の撮像指示、撮像画像の受信及び送信の処理を、通信接続可能な1又は複数のカメラデバイス1に対して巡回的に繰り返す。ゲートウェイ装置2は例えば、最大20台のカメラデバイス1と通信接続することができる。1回の撮像指示からサーバ装置3への送信に10秒−20秒要する場合、各カメラデバイス1では4分−6分に一度撮像が実行される。 The control unit 20 of the gateway device 2 cyclically repeats the above-mentioned processing of imaging instruction, reception and transmission of captured image, with respect to one or a plurality of camera devices 1 capable of communication connection. The gateway device 2 can communicate with, for example, up to 20 camera devices 1. If it takes 10 to 20 seconds to transmit from one imaging instruction to the server device 3, each camera device 1 executes imaging once every 4 to 6 minutes.

サーバ装置3では、ゲートウェイ装置2から撮像画像が送信される都度、デバイス識別情報と対応付けてメータM毎に、後述する処理によってメータMの目盛盤から指針の位置を特定し、指針が指し示す目盛に対応する数値を特定する。制御部30は、指針の位置の特定、及び数値の特定に使用する設定情報をメータM毎、デバイス識別情報に対応付けて記憶部31に記憶している。これらの情報は、サーバ装置3にクライアント装置4を接続してオペレータの操作によって処理を受け付けるとよい。 In the server device 3, each time the captured image is transmitted from the gateway device 2, the position of the pointer is specified from the scale plate of the meter M for each meter M in association with the device identification information by the process described later, and the scale indicated by the pointer. Identify the number corresponding to. The control unit 30 stores the setting information used for specifying the position of the pointer and the numerical value in the storage unit 31 in association with the device identification information for each meter M. It is preferable to connect the client device 4 to the server device 3 and accept the processing of these information by the operation of the operator.

図4は、設定される情報の内容例を示す図である。図4中、指針支点位置を符号Oで示し、複数の主目盛の位置を符号P0 ,P1 ,P2 ,P3 ,P4 ,P5 で示している。これらの位置は、オペレータが画面上で選択して設定されるとよい。記憶部31には、図4に示した指針支点位置Oの撮像画像上の位置を示す座標、複数の主目盛の位置P0 ,P1 ,P2 ,P3 ,P4 ,P5 ,…の位置を示す座標が夫々記憶される。 FIG. 4 is a diagram showing an example of the content of the set information. In FIG. 4, the position of the pointer fulcrum is indicated by the symbol O, and the positions of the plurality of main scales are indicated by the symbols P0, P1, P2, P3, P4, and P5. These positions may be selected and set by the operator on the screen. The storage unit 31 has coordinates indicating the positions of the pointer fulcrum position O shown in FIG. 4 on the captured image, and coordinates indicating the positions of the positions P0, P1, P2, P3, P4, P5, ... Of the plurality of main scales. Each is remembered.

また図4では、記憶してある指針の一般的な輪郭情報に基づき描画された輪郭に対して調整されて確定した指針の形状に対応する輪郭Cが示されている。記憶部31に予め指針の形状として一般的な輪郭を示す情報を記憶している。輪郭Cは、予め記憶してある輪郭を示す情報に基づき描画された輪郭に対し、オペレータが先端の指定、幅の拡縮、長さの調整をすることによって確定する。記憶部31には、確定された輪郭Cの長さ及び幅と、輪郭Cに対する指針支点位置Oの相対位置とが記憶される。針色についても選択を受け付
け、記憶部31に記憶されるとよい。
Further, in FIG. 4, the contour C corresponding to the shape of the pointer adjusted and determined with respect to the contour drawn based on the general contour information of the stored pointer is shown. Information indicating a general outline as the shape of the pointer is stored in advance in the storage unit 31. The contour C is determined by the operator designating the tip, expanding / contracting the width, and adjusting the length of the contour drawn based on the information indicating the contour stored in advance. The storage unit 31 stores the determined length and width of the contour C and the relative position of the pointer fulcrum position O with respect to the contour C. It is preferable that the needle color is also selected and stored in the storage unit 31.

また記憶部31には、撮像画像の歪み補正も予め設定されてあるとよい。歪み補正では例えば、カメラデバイス1の撮像部11とメータMとの間の距離が近いため、撮像部11がメータMの目盛盤とが厳密には垂直でなく即ち正対していない場合に歪みが大きくなる。その他レンズの特性による歪みがある。図5は、撮像画像における歪みの補正の概要を示す図である。図5では、撮像画像の歪みを格子で表している。図5に示すように、本来は相互に垂直に交わっている格子が、撮像方向の角度、レンズ特性等によって図5Aに示すように歪んで撮像される。サーバ装置3の制御部30にて、画像解析機能を用いて自動的に歪みを特定して補正してもよいし、撮像画像をプレビューさせる画面を表示し、オペレータが補正後の撮像画像を確認しながら、歪みを補正してもよい。図5Bは、補正後の格子を示している。補正パラメータ群は記憶部31に設定情報として記憶される。設定情報に基づいて制御部30は、同一のカメラデバイス1で撮像した撮像画像に対して、後述の読取処理の前段階で補正を行なうことができる。 Further, it is preferable that the storage unit 31 is preset with distortion correction of the captured image. In distortion correction, for example, since the distance between the image pickup unit 11 of the camera device 1 and the meter M is short, distortion occurs when the image pickup unit 11 is not strictly perpendicular to the scale plate of the meter M, that is, does not face each other. growing. There is other distortion due to the characteristics of the lens. FIG. 5 is a diagram showing an outline of distortion correction in a captured image. In FIG. 5, the distortion of the captured image is represented by a grid. As shown in FIG. 5, the grids that originally intersect each other vertically are distorted and imaged as shown in FIG. 5A depending on the angle of the imaging direction, the lens characteristics, and the like. The control unit 30 of the server device 3 may automatically identify and correct the distortion by using the image analysis function, display a screen for previewing the captured image, and the operator confirms the corrected captured image. However, the distortion may be corrected. FIG. 5B shows the corrected grid. The correction parameter group is stored in the storage unit 31 as setting information. Based on the setting information, the control unit 30 can correct the captured image captured by the same camera device 1 at a stage prior to the reading process described later.

次に、図4及び図5に示すようにして設定された設定情報に基づく読取処理について説明する。読取処理は、クライアント装置4を介して受け付けられた設定情報に基づき、カメラデバイス1から送信される撮像画像に対してサーバ装置3にて実行される。 Next, the reading process based on the setting information set as shown in FIGS. 4 and 5 will be described. The reading process is executed by the server device 3 for the captured image transmitted from the camera device 1 based on the setting information received via the client device 4.

図6は、サーバ装置3による読取処理手順の一例を示すフローチャートである。サーバ装置3は、撮像画像をゲートウェイ装置2から受信する都度、以下の処理を実行する。 FIG. 6 is a flowchart showing an example of the reading processing procedure by the server device 3. The server device 3 executes the following processing each time the captured image is received from the gateway device 2.

サーバ装置3の制御部30は、受信した撮像画像に対応するデバイス識別情報を特定し(ステップS201)、デバイス識別情報に対応付けられている設定情報を記憶部31から読み出す(ステップS202)。 The control unit 30 of the server device 3 identifies the device identification information corresponding to the received captured image (step S201), and reads out the setting information associated with the device identification information from the storage unit 31 (step S202).

制御部30は、読み出した設定情報に基づき、受信した撮像画像に対して第1に歪み補正処理を実行する(ステップS203)。ステップS203において制御部30は例えば、上述したように設定情報受付画面420内の撮像画像を含むプレビュー画面422にて、担当者の操作による補正のパラメータ群を読み出して適用する。制御部30は、歪み補正のパラメータを予め自動的に特定しておき、記憶部31に記憶しておいて使用してもよい。 The control unit 30 first executes distortion correction processing on the received captured image based on the read setting information (step S203). In step S203, for example, as described above, the control unit 30 reads out and applies the parameter group of the correction by the operation of the person in charge on the preview screen 422 including the captured image in the setting information reception screen 420. The control unit 30 may automatically specify the distortion correction parameter in advance and store it in the storage unit 31 for use.

制御部30は、撮像画像に対して第2にイコライゼーション処理を実行する(ステップS204)。ステップS204におけるイコライゼーション処理は、画像の階調補正によって、影や反射等のノイズ要素の影響を低減する画像処理である。 The control unit 30 secondly executes the equalization process on the captured image (step S204). The equalization process in step S204 is an image process that reduces the influence of noise elements such as shadows and reflections by correcting the gradation of the image.

制御部30は次に、ステップS203及びS204の処理後の撮像画像に写っているメータMを1つ選択し(ステップS205)、選択したメータMについて記憶してある設定情報に基づいて以下のステップS206からステップS214の処理を実行する。 Next, the control unit 30 selects one meter M shown in the captured images after the processing of steps S203 and S204 (step S205), and the following steps are taken based on the setting information stored for the selected meter M. The process of step S214 is executed from S206.

制御部30は、撮像画像に対し、指針支点位置を基準として、指針の長さ方向に沿う指針の長さ分に対応する範囲の画素を走査する処理を、複数の目盛位置の内の0(ゼロ)目盛位置から最大の目盛位置まで、目盛に直交する方向(又は指針が進行する方向)に順次進める(ステップS206)。参照処理の都度、参照した画素の画素値を用いて目盛盤の走査画像を作成する(ステップS207)。 The control unit 30 performs a process of scanning the captured image with pixels in a range corresponding to the length of the pointer along the length direction of the pointer with reference to the position of the pointer fulcrum, to be 0 (0) among the plurality of scale positions. Zero) From the scale position to the maximum scale position, the process proceeds sequentially in the direction orthogonal to the scale (or the direction in which the pointer advances) (step S206). A scanned image of the dial is created using the pixel values of the referenced pixels each time the reference process is performed (step S207).

制御部30は、読み出した設定情報に含まれる指針の形状の輪郭の情報及び針色に基づいて、指針の画像を作成する(ステップS208)。ステップS208において制御部30は例えば、指針の長さ及び幅よりもいずれも十分に大きい背景画像を設定情報に含まれる目盛盤の色で描画し、この背景画像の中央に、輪郭の情報に基づいて長さ及び幅に対応させた指針の輪郭を描画し、輪郭内を設定情報の針色で描画する。目盛に直交する方向に、指針の長さに対応する幅分の画素を走査し(ステップS209)、走査した画素の画素値を用いて指針の走査画像を作成する(ステップS210)。 The control unit 30 creates an image of the pointer based on the contour information of the shape of the pointer and the needle color included in the read setting information (step S208). In step S208, for example, the control unit 30 draws a background image that is sufficiently larger than the length and width of the pointer with the color of the dial included in the setting information, and is based on the contour information at the center of the background image. The outline of the pointer corresponding to the length and width is drawn, and the inside of the outline is drawn with the needle color of the setting information. Pixels having a width corresponding to the length of the pointer are scanned in a direction orthogonal to the scale (step S209), and a scanned image of the pointer is created using the pixel values of the scanned pixels (step S210).

制御部30は、ステップS207で作成した目盛盤の走査画像における目盛に直交する方向に沿って、ステップS210で作成した指針の走査画像を用い、指針が写っている可能性の高さの分布(尤度分布)を算出する(ステップS211)。 The control unit 30 uses the scanned image of the pointer created in step S210 along the direction orthogonal to the scale in the scanned image of the scale board created in step S207, and distributes the high possibility that the pointer is reflected ( (Likelihood distribution) is calculated (step S211).

ステップS211において制御部30は、目盛盤の走査画像(矩形画像)における目盛に直交する方向に沿って、ステップS210で作成した指針の走査画像を指針の方向に合わせて重畳させ、対応する画素同士の差分を算出して得られる数値に基づいて尤度を算出する。制御部30は、対応する画素同士の差分を、指針の走査画像の大きさの範囲全て合算したものを用いてもよいし、和の平均値を算出してもよい。制御部30は差分の合算値、又は平均値が小さい程に、指針の走査画像が位置する目盛盤の走査画像内の箇所に指針が写っている可能性が高いとして尤度を算出する。好ましくは、指針の走査画像における指針の中心線及び中心線から所定幅分の画素については、その差分が小さい程尤度が大きくなるように、差分に重み付けを与えて尤度を算出するとよい。 In step S211 the control unit 30 superimposes the scanned image of the pointer created in step S210 along the direction orthogonal to the scale in the scanned image (rectangular image) of the scale board in accordance with the direction of the pointer, and the corresponding pixels are overlapped with each other. The likelihood is calculated based on the numerical value obtained by calculating the difference between. The control unit 30 may use the sum of the differences between the corresponding pixels in the entire size range of the scanned image of the pointer, or may calculate the average value of the sum. The control unit 30 calculates the likelihood that the smaller the total value or the average value of the differences, the higher the possibility that the pointer appears in the scanned image of the dial on which the scanned image of the pointer is located. Preferably, for the center line of the pointer and the pixels having a predetermined width from the center line in the scanned image of the pointer, the likelihood may be calculated by weighting the difference so that the smaller the difference is, the larger the likelihood is.

制御部30は、ステップS211で算出した目盛に直交する方向、即ち目盛位置に対する尤度分布の微分値を用いて尤度分布を補正する(ステップS212)。ステップS212において制御部30は、尤度分布におけるピークの内、尤度が同程度のピークについてはより急峻なピークを採用するためである。 The control unit 30 corrects the likelihood distribution using the direction orthogonal to the scale calculated in step S211 that is, the differential value of the likelihood distribution with respect to the scale position (step S212). This is because in step S212, the control unit 30 adopts a steeper peak among the peaks in the likelihood distribution for peaks having the same likelihood.

制御部30は、ステップS212の補正後の尤度分布に基づき、尤度が最大となる目盛盤の走査画像上の位置を特定し(ステップS213)、特定した位置に対応する指針が示す数値を算出して記憶部31にデバイス識別情報及びメータ識別情報と対応付けて記憶する(ステップS214)。ステップS214における記憶は、撮像画像を取得した時間を示す時間情報と対応付けてログとして蓄積記憶してもよいし、最新の数値情報のみを記憶するようにしてもよい。 The control unit 30 identifies the position on the scanned image of the dial having the maximum likelihood based on the corrected likelihood distribution in step S212 (step S213), and determines the numerical value indicated by the pointer corresponding to the specified position. It is calculated and stored in the storage unit 31 in association with the device identification information and the meter identification information (step S214). The storage in step S214 may be stored and stored as a log in association with the time information indicating the time when the captured image was acquired, or only the latest numerical information may be stored.

制御部30は、受信した撮像画像について写っている監視対象のメータM全ての処理を実行したか否かを判断し(ステップS215)、全ての処理を実行していないと判断された場合(S215:NO)、処理をステップS205へ戻し、次のメータMを選択して(S205)、処理を続行する。 The control unit 30 determines whether or not all the processes of the monitored meter M shown in the received captured image have been executed (step S215), and when it is determined that all the processes have not been executed (S215). : NO), the process is returned to step S205, the next meter M is selected (S205), and the process is continued.

ステップS215にて全ての処理を実行したと判断された場合(S215:YES)、制御部30は処理を終了する。 When it is determined in step S215 that all the processes have been executed (S215: YES), the control unit 30 ends the processes.

ステップS206における走査に際し、指針が目盛範囲の上下限(ゼロ及び最大の目盛位置)を超えて振れることが予想される場合には、その上下限を超える部分を「読取範囲外領域」として設定された範囲を含めて実行してもよい。制御部30はステップS206で、「読取範囲外領域」を走査画像の対象とするか否かの設定に基づいて走査を進めてもよい。「読取範囲外領域」を対象としない場合、制御部30はS206で示したように、ゼロ目盛位置から最大目盛位置までに限定して走査を行ない、走査画像を作成する。「読取範囲外領域」を対象とする場合、制御部30は「読取範囲外領域」も含めて走査を進め、走査画像を作成し、S211以降の処理で指針が「読取範囲外領域」に存在していることが推定できる状態では、S213の特定処理を回避するといった処理を行なってもよい。 When scanning in step S206, if the pointer is expected to swing beyond the upper and lower limits (zero and maximum scale positions) of the scale range, the portion exceeding the upper and lower limits is set as the "outside reading range area". You may execute it including the range. In step S206, the control unit 30 may proceed with scanning based on the setting of whether or not the “out-of-reading area” is the target of the scanned image. When the "out-of-reading area" is not targeted, the control unit 30 scans only from the zero scale position to the maximum scale position as shown in S206 to create a scanned image. When the "outside reading range area" is targeted, the control unit 30 advances scanning including the "outside reading range area", creates a scanned image, and the pointer exists in the "outside reading range area" in the processing after S211. In a state where it can be estimated that the image is being performed, a process such as avoiding the specific process of S213 may be performed.

撮像画像の内容例を用い、図6のフローチャートに示した処理手順について具体的に説明する。図7は、撮像画像の内容例を示す模式図である。図7では図4で示したように圧力計であるメータMを撮像した例を示している。図8は、撮像画像に対する走査方法の概要を示す図である。図8では、図7に示した撮像画像に対し、図4を参照して説明した処理によって設定された指針支点位置を符号O、複数の主目盛の位置を符号P0 ,P1 ,P2 ,P3 ,P4 ,P5 で示している。図8では、目盛盤の走査画像を作成するための走査の進行方向を白抜きの矢符を示し、1回の走査(主走査)で参照する指針の長さ分に対応する範囲を破線の矩形Lにて示している。矩形Lは、指針の基準位置である指針の支点位置の画素を通り、指針の長さ分における1〜2画素、画素が参照できる程度の幅の範囲である。制御部30はステップS207(ステップS210でも同様)において、矩形Lを指針支点位置Oで少しずつ回転させながら画素値を参照して走査画像を作成する。 The processing procedure shown in the flowchart of FIG. 6 will be specifically described with reference to an example of the contents of the captured image. FIG. 7 is a schematic view showing an example of the contents of the captured image. FIG. 7 shows an example in which the meter M, which is a pressure gauge, is imaged as shown in FIG. FIG. 8 is a diagram showing an outline of a scanning method for captured images. In FIG. 8, with respect to the captured image shown in FIG. 7, the pointer fulcrum position set by the process described with reference to FIG. 4 is indicated by reference numeral O, and the positions of the plurality of main scales are indicated by reference numerals P0, P1, P2, P3, and so on. It is indicated by P4 and P5. In FIG. 8, the traveling direction of the scan for creating the scan image of the scale is indicated by a white arrow, and the range corresponding to the length of the pointer referred to in one scan (main scan) is indicated by a broken line. It is shown by a rectangle L. The rectangle L passes through the pixel at the fulcrum position of the pointer, which is the reference position of the pointer, and has a width range of 1 to 2 pixels for the length of the pointer, so that the pixel can be referred to. In step S207 (the same applies to step S210), the control unit 30 creates a scanned image by referring to the pixel values while rotating the rectangle L little by little at the pointer fulcrum position O.

図9は、メータMの目盛盤の走査画像の一例を示す模式図である。図9では走査画像を線図で示し、走査画像中の図8中で示した符号O,P0 ,P1 ,P2 ,P3 ,P4 ,P5 で識別される主目盛の位置を符号で示している。図9に示すように走査画像は矩形画像として作成される。図9に示す一例では、矩形画像を横切る線分Qが、指針支点位置に対応している。長辺方向は走査時の矩形Lの回転角度に対応する。なお図9に示すように、撮像画像におけるメータMの歪みによって、主目盛間の区間毎に長さが異なる。したがって後に指針が示す数値を読み取る際には区間毎に異なる主目盛間の目盛の配分に基づいて特定する。なお区間の長さを均一化するために区間毎に異なる係数で走査画像を伸長又は短縮させるようにしてもよい。 FIG. 9 is a schematic view showing an example of a scanned image of the scale plate of the meter M. In FIG. 9, the scanned image is shown as a diagram, and the positions of the main scales identified by the symbols O, P0, P1, P2, P3, P4, and P5 shown in FIG. 8 in the scanned image are indicated by the symbols. As shown in FIG. 9, the scanned image is created as a rectangular image. In the example shown in FIG. 9, the line segment Q that crosses the rectangular image corresponds to the position of the pointer fulcrum. The long side direction corresponds to the rotation angle of the rectangle L during scanning. As shown in FIG. 9, the length differs for each section between the main scales due to the distortion of the meter M in the captured image. Therefore, when reading the numerical value indicated by the guideline later, it is specified based on the distribution of the scales among the main scales, which are different for each section. In addition, in order to make the length of the section uniform, the scanned image may be stretched or shortened by a different coefficient for each section.

図10は、指針の走査画像の一例を示す模式図である。図8に示した方法で目盛盤の走査画像と同様の走査画像を作成するため、指針の下部が拡がった画像として作成される。 FIG. 10 is a schematic view showing an example of a scanned image of the pointer. In order to create a scanning image similar to the scanning image of the dial by the method shown in FIG. 8, the image is created as an image in which the lower part of the pointer is expanded.

図11は、尤度分布を示す図である。横軸は目盛盤の走査画像の走査の進行方向、縦軸は尤度を示している。図11は、尤度分布を図9に示した目盛盤の走査画像に重畳させるようにして示している。図11は、図9の目盛盤の走査画像に対して図10の指針の走査画像が合致、即ち指針が写っている可能性の高さの分布を示している。図11の例では、目盛盤の走査画像における左側に尤度のピークがある。制御部30はピークの位置と、走査画像上における主目盛の位置とに基づき、指針は3.4付近を示していると特定することができる。 FIG. 11 is a diagram showing a likelihood distribution. The horizontal axis shows the scanning traveling direction of the scanned image of the dial, and the vertical axis shows the likelihood. FIG. 11 shows the likelihood distribution superimposed on the scanned image of the scale shown in FIG. FIG. 11 shows the distribution of the high possibility that the scanned image of the pointer of FIG. 10 matches the scanned image of the scale of FIG. 9, that is, the pointer is reflected. In the example of FIG. 11, the likelihood peak is on the left side of the scanned image of the dial. The control unit 30 can identify that the pointer indicates the vicinity of 3.4 based on the position of the peak and the position of the main scale on the scanned image.

上述の処理は、回転する指針を持つメータMを例に説明したが、これに限らず上下する指針又は左右に動く指針(針に限らない指示部)を持つメータMに対しても同様の処理によって読取が可能である。このとき走査を進める方向は、目盛に直交する方向(指針が上下する方向)で変わらない。ただしこのようなメータMに対しては、設定情報として指針支点位置ではなく指針の基準位置(例えば中心)を受け付けて記憶しておき、読取処理においては基準位置を用いて走査画像を作成する。図12は、撮像画像に対する走査方法の他の例の概要を示す図である。図12に示す例では、垂直方向に指針が上下する水位計の撮像画像を用いている。このような水位計であっても目盛に直交する方向(指針又は水面、境界面等が進行する方向)に順次、指針を含む範囲Lの画素値を参照して走査画像を作成することで同様の処理を適用することができる。 The above-mentioned processing has been described by taking a meter M having a rotating pointer as an example, but the same processing is not limited to this, and the same processing is applied to a meter M having a pointer that moves up and down or a pointer that moves left and right (indicator not limited to a needle). Can be read by. At this time, the direction in which the scanning proceeds does not change in the direction orthogonal to the scale (the direction in which the pointer moves up and down). However, for such a meter M, the reference position (for example, the center) of the pointer is received and stored as setting information instead of the pointer fulcrum position, and a scanned image is created using the reference position in the reading process. FIG. 12 is a diagram showing an outline of another example of the scanning method for the captured image. In the example shown in FIG. 12, an image taken by a water level gauge whose pointer moves up and down in the vertical direction is used. Even with such a water level gauge, the same applies by sequentially creating a scanned image in the direction orthogonal to the scale (the direction in which the pointer or the water surface, the boundary surface, etc. travels) by referring to the pixel values in the range L including the pointer. Processing can be applied.

読み取られた数値は夫々、メータMの測定対象の状態の異常検知に利用できる。以下の処理では、読み取られた数値が予め設定された範囲内にあるか否かをサーバ装置3にて判断し、範囲外であると判断された場合のみにメータ検針システム100のクライアント装置4を用いる担当者へ向けて通知を行ない、安全監視サービスを実現する。 The read numerical values can be used for detecting abnormalities in the state of the measurement target of the meter M, respectively. In the following processing, the server device 3 determines whether or not the read numerical value is within the preset range, and only when it is determined that the read numerical value is out of the range, the client device 4 of the meter reading system 100 is used. Notify the person in charge of use and realize a safety monitoring service.

図13は、サーバ装置3の制御部30による異常検知処理の手順の一例を示すフローチャートである。制御部30は、図6のフローチャートに示した読取処理を実行する都度、又は、数分に1度、数時間に1度等の所定の周期で以下に示す処理手順を実行する。 FIG. 13 is a flowchart showing an example of a procedure for abnormality detection processing by the control unit 30 of the server device 3. The control unit 30 executes the following processing procedure each time the reading process shown in the flowchart of FIG. 6 is executed, or at a predetermined cycle such as once every few minutes or once every few hours.

制御部30は、デバイス識別情報を選択し(ステップS301)、選択したデバイス識別情報に対応付けて記憶したメータM毎の指針が示す数値を読み出す(ステップS302)。制御部30は、選択したデバイス識別情報に対応するメータM毎の所定安全範囲を読み出し(ステップS303)、ステップS302で読み出した数値が、ステップS303読み出した所定の安全範囲内であるか否かを判断する(ステップS304)。 The control unit 30 selects the device identification information (step S301), and reads out the numerical value indicated by the pointer for each meter M stored in association with the selected device identification information (step S302). The control unit 30 reads out a predetermined safety range for each meter M corresponding to the selected device identification information (step S303), and determines whether or not the numerical value read in step S302 is within the predetermined safety range read out in step S303. Determine (step S304).

ステップS304で安全範囲内であると判断された場合(S304:YES)、制御部30は、監視対象のメータMに対応するデバイス識別情報を全て選択したか否かを判断する(ステップS305)。全て選択したと判断された場合(S305:YES)、制御部30は処理を終了する。 When it is determined in step S304 that the safety range is within the range (S304: YES), the control unit 30 determines whether or not all the device identification information corresponding to the meter M to be monitored has been selected (step S305). When it is determined that all have been selected (S305: YES), the control unit 30 ends the process.

ステップS304で安全範囲外であると判断された場合(S304:NO)、制御部330は、ステップS301で選択したデバイス識別情報に対応付けられているアカウント情報に基づいて担当者へ向けて発報し(ステップS306)、処理をステップS305へ進める。 When it is determined in step S304 that the safety range is out of range (S304: NO), the control unit 330 issues a notification to the person in charge based on the account information associated with the device identification information selected in step S301. (Step S306), and the process proceeds to step S305.

ステップS305で全て選択していないと判断された場合(S305:NO)、制御部30は処理をステップS301へ戻す。 If it is determined in step S305 that all have not been selected (S305: NO), the control unit 30 returns the process to step S301.

従来は担当者が工場を巡回して、アナログメータであるメータMを目視により確認して異常の有無を判断してきた。しかしながら本開示のサーバ装置3の機能によって高精度な自動読取が可能になる。カメラデバイス1をメータMに位置決めして取り付け、ゲートウェイ装置2を設定、設置し、各カメラデバイス1について図4に示したような初期的な設定を行なうのみで以後、異常検知の業務を自動化することができる。例えば高温、危険ガス取扱い等、担当者の立ち入りが困難な場所に設置されているメータについても、高温対応のアダプタ17を用いてカメラデバイス1を使用することで、検針を自動化させることが可能である。 Conventionally, a person in charge patrols the factory and visually checks the meter M, which is an analog meter, to determine the presence or absence of an abnormality. However, the function of the server device 3 of the present disclosure enables highly accurate automatic reading. The camera device 1 is positioned and attached to the meter M, the gateway device 2 is set and installed, and only the initial settings as shown in FIG. 4 are performed for each camera device 1, and then the operation of abnormality detection is automated. be able to. For example, even for a meter installed in a place where it is difficult for the person in charge to enter due to high temperature, handling of dangerous gas, etc., it is possible to automate the meter reading by using the camera device 1 using the adapter 17 for high temperature. is there.

(実施の形態2)
実施の形態2におけるメータ検針システム100の構成は、サーバ装置3のメータ読取装置としての読取処理の詳細を除き、実施の形態1における構成と同様である。以下の実施の形態2の説明において実施の形態1と共通する構成については同一の符号を付して詳細な説明を省略する。
(Embodiment 2)
The configuration of the meter meter reading system 100 in the second embodiment is the same as the configuration in the first embodiment except for the details of the reading process as the meter reading device of the server device 3. In the following description of the second embodiment, the same reference numerals are given to the configurations common to the first embodiment, and detailed description thereof will be omitted.

実施の形態2における読取処理手順について説明する。図14は、実施の形態2のサーバ装置3による読取処理手順の一例を示すフローチャートである。図14のフローチャートに示す処理手順の内、実施の形態1の図6のフローチャートに示した処理手順と共通する手順については同一のステップ番号を付して詳細な説明を省略する。 The reading processing procedure according to the second embodiment will be described. FIG. 14 is a flowchart showing an example of the reading processing procedure by the server device 3 of the second embodiment. Among the processing procedures shown in the flowchart of FIG. 14, the procedures common to the processing procedures shown in the flowchart of FIG. 6 of the first embodiment are given the same step numbers and detailed description thereof will be omitted.

サーバ装置3の制御部30は、受信した撮像画像に対応するデバイス識別情報を特定し(S201)、デバイス識別情報に対応する設定情報を読み出す(S202)。制御部30は、受信した撮像画像に対して歪み補正処理を実行する(S203)。実施の形態2ではイコライゼーション処理は実行しない。 The control unit 30 of the server device 3 identifies the device identification information corresponding to the received captured image (S201), and reads out the setting information corresponding to the device identification information (S202). The control unit 30 executes distortion correction processing on the received captured image (S203). In the second embodiment, the equalization process is not executed.

制御部30は、撮像画像に写っているメータMを1つ選択し(S205)、選択したメータMに対する設定情報に基づいて以下の処理を実行する。 The control unit 30 selects one meter M shown in the captured image (S205), and executes the following processing based on the setting information for the selected meter M.

制御部30は、撮像画像に対し、指針支点位置を基準とした画素を走査する処理を、目盛盤の全域に対し、目盛に直交する方向(又は指針が進行する方向)に順次進める(ステップS226)。ステップS226における「指針支点位置を基準とした画素の走査」は、実施の形態2では、指針の針尾から針先までの長さ分の範囲の画素のみならず、針尾よりも外側部分の領域に及んでもよい。 The control unit 30 sequentially advances the process of scanning the pixels with reference to the pointer fulcrum position on the captured image in the direction orthogonal to the scale (or the direction in which the pointer advances) with respect to the entire area of the scale plate (step S226). ). In the second embodiment, the “scanning of pixels based on the pointer fulcrum position” in step S226 is performed not only on the pixels in the range of the length from the needle tail to the needle tip of the pointer, but also in the region outside the needle tail. It may reach.

制御部30は、ステップS226の参照処理の都度、参照した画素の画素値を用いて目盛盤の走査画像を作成する(S207)。 The control unit 30 creates a scanned image of the dial using the pixel values of the referenced pixels each time the reference process in step S226 is performed (S207).

制御部30は、選択したメータMの指針の画像を作成し(S208)、作成した画像に対してステップS226同様に、指針支点位置を基準とした画素の走査を実行し(S209)、操作した画素の画素値を用いて指針の走査画像を作成する(S210)。 The control unit 30 creates an image of the pointer of the selected meter M (S208), scans the created image with pixels based on the pointer fulcrum position in the same manner as in step S226 (S209), and operates. A scanned image of the pointer is created using the pixel values of the pixels (S210).

制御部30はステップS210で作成した指針の走査画像に対し、走査画像の範囲内における画素値の変動分布を算出する(ステップS221)。ここで画素値は、明度(輝度)に対応する値であってもよいし、RGB夫々の値であってもよい。 The control unit 30 calculates the variation distribution of the pixel values within the range of the scanned image with respect to the scanned image of the pointer created in step S210 (step S221). Here, the pixel value may be a value corresponding to brightness (luminance) or may be a value for each of RGB.

制御部30は、ステップS207で作成した目盛盤の走査画像における目盛に直交する方向に沿って、ステップS221で作成した指針の走査画像の画素値の変動分布を用いて、指針が写っている可能性の高さの分布(尤度分布)を算出する(ステップS222)。 The control unit 30 may capture the pointer along the direction orthogonal to the scale in the scan image of the scale board created in step S207 by using the variation distribution of the pixel values of the scan image of the pointer created in step S221. The distribution of high sex (probability distribution) is calculated (step S222).

ステップS222において制御部30は、目盛盤の走査画像(矩形画像)における目盛に直交する方向に沿って、ステップS210で作成した指針の走査画像に対応する範囲を順次ずらしながら各範囲内の画素値を抽出する。制御部30は、抽出した範囲の画素値の変動分布を算出し、ステップS221で算出された変動分布との類似性を示す数値に基づいて尤度を算出する。指針の画像は基本的に、輪郭が明確な指針が写っているため、画素値の変動が輪郭部分で大きい。目盛盤は大抵の場合、背景色であるから、映り込み、反射等の影響が無ければ変動が小さいはずである。制御部30は、各範囲内における画素値の変動分布の、指針の走査画像における画素値の変動分布との類似度に対応する導関数(後述)の積和を尤度として算出する。画素値の変動分布は、範囲内を任意の少なくとも1つの方向で走査した変動分布として算出されるが、尤度の精度を高めるために、異なる方向に走査した結果を積和してもよい。異なる方向の変動分布に重み付けを与えて尤度として合算してもよい。詳細は線図を参照して後述する。 In step S222, the control unit 30 sequentially shifts the range corresponding to the scanned image of the pointer created in step S210 along the direction orthogonal to the scale in the scanned image (rectangular image) of the scale board, and the pixel values in each range. Is extracted. The control unit 30 calculates the fluctuation distribution of the pixel values in the extracted range, and calculates the likelihood based on the numerical value indicating the similarity with the fluctuation distribution calculated in step S221. Since the image of the pointer basically shows a pointer with a clear outline, the fluctuation of the pixel value is large in the outline portion. Since the scale board is usually the background color, the fluctuation should be small if there is no influence such as reflection and reflection. The control unit 30 calculates the sum of products of derivatives (described later) corresponding to the similarity of the fluctuation distribution of the pixel values in each range with the fluctuation distribution of the pixel values in the scanned image of the pointer as the likelihood. The fluctuation distribution of the pixel value is calculated as a fluctuation distribution obtained by scanning the range in at least one direction, but in order to improve the accuracy of the likelihood, the results of scanning in different directions may be summed. The fluctuation distributions in different directions may be weighted and added up as the likelihood. Details will be described later with reference to the diagram.

制御部30は、ステップS222で算出した尤度分布に基づいて、尤度が最大となる目盛盤の走査画像上の位置を特定し(S213)、特定した位置に対応する指針が示す数値を算出して記憶部31にデバイス識別情報及びメータ識別情報と対応付けて記憶する(S214)。 Based on the likelihood distribution calculated in step S222, the control unit 30 identifies the position on the scanned image of the scale board having the maximum likelihood (S213), and calculates the numerical value indicated by the guideline corresponding to the specified position. Then, it is stored in the storage unit 31 in association with the device identification information and the meter identification information (S214).

制御部30は、受信した撮像画像について写っている監視対象のメータM全ての処理を実行したか否かを判断し(S215)、全ての処理を実行していないと判断された場合(S215:NO)、処理をステップS205へ戻し、次のメータMを選択して(S205)、処理を続行する。 The control unit 30 determines whether or not all the processes of the monitored meter M shown in the received captured image have been executed (S215), and when it is determined that all the processes have not been executed (S215:). NO), the process is returned to step S205, the next meter M is selected (S205), and the process is continued.

ステップS215にて全ての処理を実行したと判断された場合(S215:YES)、制御部30は処理を終了する。 When it is determined in step S215 that all the processes have been executed (S215: YES), the control unit 30 ends the processes.

実施の形態2の図14のフローチャートに示した処理手順について具体的に説明する。実施の形態2においても、メータMを撮像した場合には、図7に示したような撮像画像が取得される。図7に示した撮像画像を例に挙げて実施の形態2における読取手順を具体的に説明する。 The processing procedure shown in the flowchart of FIG. 14 of the second embodiment will be specifically described. Also in the second embodiment, when the meter M is imaged, the captured image as shown in FIG. 7 is acquired. The reading procedure in the second embodiment will be specifically described by taking the captured image shown in FIG. 7 as an example.

図15は、実施の形態2における撮像画像に対する走査方法の概要を示す図である。図15では、図7に示した撮像画像に対し、図4を参照して説明した処理によって設定された指針支点位置を符号O、複数の主目盛の位置を符号P0 ,P1 ,P2 ,P3 ,P4 ,P5 で示している。図15では、目盛盤の走査画像を作成するための走査の進行方向を白抜きの矢符を示し、1回の走査(主走査)で参照する画素群を、指針支点位置を中心とした目盛までの距離の2倍の長さの線分L2にて示している。線分L2は、指針の基準位置である指針の支点位置の画素を通る長さ分の線分である。制御部30はステップS207(ステップS210でも同様)において、線分L2を指針支点位置Oで少しずつ回転させながら、360度分、線分L2上の画素値を参照して走査画像を作成する。線分L2は、1〜2画素分の幅を有してL2内の画素を参照するようにしてもよい。 FIG. 15 is a diagram showing an outline of a scanning method for a captured image according to the second embodiment. In FIG. 15, with respect to the captured image shown in FIG. 7, the pointer fulcrum position set by the process described with reference to FIG. 4 is designated by reference numeral O, and the positions of the plurality of main scales are designated by reference numerals P0, P1, P2, P3, and so on. It is indicated by P4 and P5. In FIG. 15, a white arrow indicates the traveling direction of the scan for creating a scan image of the scale board, and the pixel group referred to in one scan (main scan) is a scale centered on the pointer fulcrum position. It is shown by a line segment L2 that is twice as long as the distance to. The line segment L2 is a line segment having a length that passes through the pixel at the fulcrum position of the pointer, which is the reference position of the pointer. In step S207 (the same applies to step S210), the control unit 30 creates a scanned image by referring to the pixel values on the line segment L2 for 360 degrees while rotating the line segment L2 little by little at the pointer fulcrum position O. The line segment L2 may have a width of 1 to 2 pixels and may refer to the pixels in L2.

図16は、メータMの目盛盤の走査画像の一例を示す模式図である。図16では走査画像を線図で示し、走査画像中の図15中で示した符号O,P0 ,P1 ,P2 ,P3 ,P4 ,P5 で識別される主目盛の位置を符号で示している。図16に示すように走査画像は矩形画像として作成される。図16に示す一例では、矩形画像を横切る線分Qが、指針支点位置Oに対応している。長辺方向は走査時の矩形Lの回転角度に対応する。図16に示す実施の形態2における目盛盤の走査画像は、図9と比較して、参照基準の線分L2が指針の針尾部分側の空白に及んでいる。この場合、線分L2を針尾側から先に延伸させることにより、針尾の先の領域は画素値の変動が小さいことが尤度に反映される。即ち、針尾の先を含めた指針画像との相関量が多さで尤度を算出することが可能になる。 FIG. 16 is a schematic view showing an example of a scanned image of the scale plate of the meter M. In FIG. 16, the scanned image is shown as a diagram, and the positions of the main scales identified by the symbols O, P0, P1, P2, P3, P4, and P5 shown in FIG. 15 in the scanned image are indicated by the symbols. As shown in FIG. 16, the scanned image is created as a rectangular image. In the example shown in FIG. 16, the line segment Q that crosses the rectangular image corresponds to the pointer fulcrum position O. The long side direction corresponds to the rotation angle of the rectangle L during scanning. In the scanned image of the dial in the second embodiment shown in FIG. 16, the reference reference line segment L2 extends to the blank on the needle tail portion side of the pointer as compared with FIG. In this case, by extending the line segment L2 from the needle tail side first, it is likely that the region at the tip of the needle tail has a small variation in the pixel value. That is, the likelihood can be calculated based on the amount of correlation with the pointer image including the tip of the needle tail.

図17は、指針の走査画像の一例を示す模式図である。図15に示した方法で目盛盤の走査画像と同様の走査画像を作成するため、指針の針尾部分が拡がった画像として作成されると共に、参照基準の線分L2が針尾部分の空白に及んでいる。 FIG. 17 is a schematic view showing an example of a scanned image of the pointer. In order to create a scanning image similar to the scanning image of the dial by the method shown in FIG. 15, it is created as an image in which the needle tail portion of the pointer is expanded, and the reference reference line segment L2 extends over the blank of the needle tail portion. There is.

図18は、指針の走査画像の画素値の変動分布を示す図である。制御部30は、指針の走査画像について、走査方向(図17,図18における横方向、ここでは指針の走査画像の幅方向)における画素値の分布を1ライン(1〜数画素の幅)ずつ取得し、取得した画素値を1画素単位で微分して変動分布を算出する。変動分布を走査方向に直交する方向にずらしながら、走査画像の高さ分だけ算出して記憶しておく。図18では、走査画像における高さ yがy=h1のときの走査方向に対する画素値の分布B2(h1)、高さ yがy=h2のときの走査方向に対する画素値の分布B2(h2)が取得されている。各々の分布を走査方向の1画素単位(x )で微分すると、以下の式(1)のように表される。ここでB2の「B」は走査方向における分布、「2」は、指針の走査画像における分布であることを示している。 FIG. 18 is a diagram showing a variation distribution of pixel values of the scanned image of the pointer. The control unit 30 distributes the pixel values in the scanning direction (horizontal direction in FIGS. 17 and 18, in this case, the width direction of the scanning image of the pointer) of the scanning image of the pointer by one line (width of 1 to several pixels). The fluctuation distribution is calculated by acquiring and differentiating the acquired pixel values in units of one pixel. While shifting the fluctuation distribution in the direction orthogonal to the scanning direction, the height of the scanned image is calculated and stored. In FIG. 18, the distribution of pixel values B2 (h1) with respect to the scanning direction when the height y in the scanned image is y = h1, and the distribution B2 (h2) of the pixel values with respect to the scanning direction when the height y is y = h2. Has been obtained. When each distribution is differentiated in units of one pixel (x) in the scanning direction, it is expressed as the following equation (1). Here, "B" of B2 indicates the distribution in the scanning direction, and "2" indicates the distribution in the scanned image of the pointer.

Figure 0006783894
Figure 0006783894

図18に示すように、指針が写る範囲の画素値の変動分布は、走査方向において中央部分の画素値(明度、輝度値、RGB値)が低い部分が存在することが分かる。 As shown in FIG. 18, it can be seen that the variation distribution of the pixel values in the range in which the pointer is captured includes a portion where the pixel value (brightness, luminance value, RGB value) in the central portion is low in the scanning direction.

図19は、目盛盤の走査画像における画素値の変動分布を示す図である。制御部30は、目盛盤の走査画像を走査方向に所定の画素単位ずつ、図19に示すように、指針の走査画像と一致する範囲のみ抽出し、抽出された範囲における画素値の分布を、図18と同様にして算出し、微分して変動分布を算出する。図19に示す画像は、図16に示した目盛盤の走査画像の内、走査方向における位置XがX=αであるときの破線で示す範囲を示している。 FIG. 19 is a diagram showing a variation distribution of pixel values in a scanned image of a dial. As shown in FIG. 19, the control unit 30 extracts the scanned image of the scale board in predetermined pixel units in the scanning direction, and extracts only the range that matches the scanned image of the pointer, and distributes the pixel values in the extracted range. It is calculated in the same manner as in FIG. 18 and differentiated to calculate the fluctuation distribution. The image shown in FIG. 19 shows the range indicated by the broken line when the position X in the scanning direction is X = α in the scanned image of the scale plate shown in FIG.

制御部30は、図19に示すような走査画像における範囲に対し、図18で示した方法と同様に、走査方向(図19における横方向、ここでは抽出範囲の幅方向)における画素値の分布を1ライン(1〜数画素の幅)ずつ取得し、取得した画素値を1画素単位で微分して変動分布を算出する。目盛盤の走査画像における走査方向における画素値の変動分布は、以下の式(2)のように表される。ここで「B」は走査方向における分布、「1」は、目盛盤の走査画像における分布であることを示している。 The control unit 30 distributes the pixel values in the scanning direction (horizontal direction in FIG. 19, in this case, the width direction of the extraction range) with respect to the range in the scanned image as shown in FIG. 19, as in the method shown in FIG. Is acquired for each line (width of 1 to several pixels), and the acquired pixel value is differentiated in 1-pixel units to calculate the fluctuation distribution. The variation distribution of the pixel values in the scanning direction in the scanned image of the scale board is expressed by the following equation (2). Here, "B" indicates the distribution in the scanning direction, and "1" indicates the distribution in the scanned image of the dial.

Figure 0006783894
Figure 0006783894

図20は、実施の形態2における尤度の算出方法を示す図である。実施の形態2において尤度は、図19に示したような目盛盤における走査画像から、走査方向の位置Xを中心として抽出された範囲における画素値の変動が、図18に示した指針の画像における画素値の変動とどれほどに類似しているかの変動類似性の積和によって算出される。変動類似性は、抽出範囲及び指針画像における走査方向の1行毎に、以下のように算出される。 FIG. 20 is a diagram showing a method of calculating the likelihood according to the second embodiment. In the second embodiment, the likelihood is the change in the pixel value in the range extracted from the scanning image on the scale as shown in FIG. 19 centered on the position X in the scanning direction, which is the image of the pointer shown in FIG. It is calculated by the sum of products of fluctuation similarity of how similar it is to the fluctuation of the pixel value in. The variation similarity is calculated as follows for each line in the scanning direction in the extraction range and the pointer image.

制御部30は、抽出範囲における走査方向の変化分毎の変動分布と、指針画像における走査方向の変化分毎の変動分布との乗算値を、変化分毎に算出する。乗算値は、変動分布に正の相関がある場合には、乗算の結果は正の値となり、つまり、変動分布における山谷の位置が同じであれば高いスコア、位相が逆なら低いスコアとして算出される。制御部30は、走査方向の変化分(dx)毎に算出した乗算値の和を取る(式(3))。 The control unit 30 calculates a multiplication value of the variation distribution for each change in the scanning direction in the extraction range and the variation distribution for each change in the scanning direction in the pointer image for each change. The multiplication value is calculated as a positive value if the fluctuation distribution has a positive correlation, that is, a high score if the peaks and valleys in the fluctuation distribution are the same, and a low score if the phases are opposite. To. The control unit 30 takes the sum of the multiplication values calculated for each change in the scanning direction (dx) (Equation (3)).

制御部30は、1行毎に算出した抽出範囲(部分画像)と指針の走査画像との間の走査方向における画素値の変動類似性の積和を、走査方向と直交する方向(指針の走査画像の高さ方向)に積算した結果を尤度として算出する(式(4))。 The control unit 30 sets the sum of products of fluctuation similarity of pixel values in the scanning direction between the extraction range (partial image) calculated for each line and the scanning image of the pointer in the direction orthogonal to the scanning direction (scanning of the pointer). The result of integration in the height direction of the image) is calculated as the likelihood (Equation (4)).

Figure 0006783894
Figure 0006783894

この尤度の分布を、Xの位置を少しずつ走査方向にずらしてとることにより、指針が写っている可能性(尤度)が高い走査方向の位置が特定できる。図21は、実施の形態2における尤度分布を示す図である。横軸は目盛盤の走査画像の走査の進行方向、縦軸は尤度を示している。図21は、尤度分布を図16に示した目盛盤の走査画像に重畳させるようにして示している。図21は、図16の目盛盤の走査画像に対して図17の指針画像との類似度の高さの分布を示している。図21の例では、走査画像が360度以上走査されて作成されているため、図面上の右側にも反転した指針の画像が写っているが、図17の指針画像との類似度の高さを示すため、尤度のピークは唯一となり、誤りなく特定することが可能である。 By shifting the position of X little by little in the scanning direction in this likelihood distribution, the position in the scanning direction where the pointer is likely to be reflected (likelihood) can be specified. FIG. 21 is a diagram showing the likelihood distribution in the second embodiment. The horizontal axis shows the scanning traveling direction of the scanned image of the dial, and the vertical axis shows the likelihood. FIG. 21 shows the likelihood distribution superimposed on the scanned image of the scale shown in FIG. FIG. 21 shows the distribution of the height of similarity with the pointer image of FIG. 17 with respect to the scanned image of the scale of FIG. In the example of FIG. 21, since the scanned image is created by scanning 360 degrees or more, the inverted pointer image is also shown on the right side of the drawing, but the degree of similarity with the pointer image of FIG. 17 is high. Therefore, the peak likelihood is unique and can be identified without error.

実施の形態2の尤度の算出においては、図18−図20で示したように抽出した範囲における幅方向について画素値を参照し、その変動分布を算出して積和を取ることによって尤度を算出した。しかしながら、尤度の精度を高めるために、幅方向とは異なる方向における変動分布、例えば、抽出した範囲及び指針の走査画像の高さ方向について変動分布を算出し、算出した変動分布を同様にして積算し、幅方向の変動分布に基づいて算出した尤度と合算してもよい。合算時には、幅方向の変動分布に基づく値と、高さ方向の変動分布に基づく値とに各々重みを付与して合算してもよい。異なる方向は、直交する幅方向又は高さ方向に限られず、指針の画像の特徴をとらえやすい任意の方向における画素値の変動分布をとって算出してもよい。 In the calculation of the likelihood of the second embodiment, the pixel values are referred to in the width direction in the extracted range as shown in FIGS. 18 to 20, the fluctuation distribution is calculated, and the product-sum is calculated to obtain the likelihood. Was calculated. However, in order to improve the accuracy of the likelihood, the fluctuation distribution in a direction different from the width direction, for example, the fluctuation distribution in the height direction of the extracted range and the scanned image of the pointer is calculated, and the calculated fluctuation distribution is made in the same manner. It may be integrated and added to the likelihood calculated based on the fluctuation distribution in the width direction. At the time of summarization, the value based on the fluctuation distribution in the width direction and the value based on the fluctuation distribution in the height direction may be weighted and summed up. The different directions are not limited to the orthogonal width direction or height direction, and may be calculated by taking the variation distribution of the pixel values in any direction in which the characteristics of the pointer image can be easily captured.

実施の形態2で説明した処理についても、上下する指針又は左右に動く指針(針に限らない指示部)を持つメータMに対しても同様の処理によって読取が可能であるし、実施の形態1同様に、読み取られた数値に基づく異常検知及び発報の安全監視サービスの実現にも適用可能である。 Regarding the process described in the second embodiment, the meter M having a pointer moving up and down or a pointer moving left and right (indicator not limited to the needle) can be read by the same process, and the process described in the second embodiment can be read by the same process. Similarly, it can be applied to the realization of a safety monitoring service for abnormality detection and notification based on the read numerical value.

上述のように開示された実施の形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed as described above should be considered in all respects as exemplary and not restrictive. The scope of the present invention is indicated by the scope of claims, not the above-mentioned meaning, and is intended to include all modifications within the meaning and scope equivalent to the scope of claims.

1 カメラデバイス
11 撮像部
13 通信部
14 制御部
2 ゲートウェイ装置
3 サーバ装置(メータ読取装置)
30 制御部
31 記憶部
30P サーバプログラム
4 クライアント装置
40 制御部
40P アプリプログラム
42 表示部
43 操作部
1 Camera device 11 Imaging unit 13 Communication unit 14 Control unit 2 Gateway device 3 Server device (meter reader)
30 Control unit 31 Storage unit 30P Server program 4 Client device 40 Control unit 40P App program 42 Display unit 43 Operation unit

Claims (8)

メータの目盛盤を撮像した撮像画像における前記目盛盤の基準位置、各々数値が対応付けられた前記目盛盤の複数の主目盛の位置、並びに前記メータの指針の形状及び大きさを示す情報を記憶しておく記憶部と、
前記メータの目盛盤を新たに撮像した撮像画像を、記憶してある目盛盤の基準位置、前記複数の主目盛の位置に基づき、画像内の目盛に直交する方向に走査して走査画像を作成する第1作成部と、
前記指針の形状を示す情報に基づいて指針の画像を作成する第2作成部と、
作成した指針の画像を、記憶してある目盛盤の基準位置及び大きさに基づき画像内の目盛に直交する方向に走査して指針の走査画像を作成する第3作成部と、
作成された目盛盤の走査画像及び指針の走査画像の比較により、目盛盤の走査画像における目盛に直交する方向に対する、指針が写っている可能性の高さを示す尤度の分布を算出する算出部と、
該算出部が算出した尤度の目盛に直交する方向に対する分布に基づいて前記メータの指針が示す数値を特定する特定部と
を備えるメータ読取装置。
Stores information indicating the reference position of the scale plate in the captured image obtained by capturing the scale plate of the meter, the positions of a plurality of main scales of the scale plate associated with each numerical value, and the shape and size of the pointer of the meter. The memory part to keep and
A scanned image is created by scanning an image captured by newly capturing the scale plate of the meter in a direction orthogonal to the scale in the image based on the stored reference position of the scale plate and the positions of the plurality of main scales. The first creation part to do and
A second creation unit that creates an image of the pointer based on the information indicating the shape of the pointer, and
A third creation unit that scans the created pointer image in a direction orthogonal to the scale in the image based on the stored reference position and size of the scale board to create a scanned image of the pointer.
Calculation to calculate the distribution of likelihood indicating the high possibility that the pointer is reflected in the direction orthogonal to the scale in the scanned image of the scale by comparing the scanned image of the created scale and the scanned image of the pointer. Department and
A meter reading device including a specific unit that specifies a numerical value indicated by a pointer of the meter based on a distribution in a direction orthogonal to the likelihood scale calculated by the calculation unit.
前記目盛盤は円形状であって前記記憶部に記憶されている目盛盤の基準位置は、回転する指針の支点の位置を示し、前記目盛に直交する方向は前記支点を中心とする回転方向である
請求項1に記載のメータ読取装置。
The scale plate has a circular shape, and the reference position of the scale plate stored in the storage unit indicates the position of the fulcrum of the rotating pointer, and the direction orthogonal to the scale is the rotation direction centered on the fulcrum. The meter reading device according to claim 1.
前記目盛盤は矩形状であって前記記憶部に記憶されている目盛盤の基準位置は、直線上に移動する指針の特定の箇所に対応する位置を示し、前記目盛に直交する方向は前記指針の移動方向である
請求項1に記載のメータ読取装置。
The scale is rectangular, and the reference position of the scale stored in the storage unit indicates a position corresponding to a specific position of the pointer moving on a straight line, and the direction orthogonal to the scale is the pointer. The meter reading device according to claim 1, which is the moving direction of the above.
前記算出部は、前記第1作成部によって作成された走査画像における前記指針の走査画像に対応する範囲における画素値の変動と、前記第3作成部によって作成された指針の走査画像における画素値の変動との類似性を示す数値の走査方向及び前記目盛に直交する方向の積和によって前記尤度を算出する
請求項1から請求項3のいずれか1項に記載のメータ読取装置。
The calculation unit determines the fluctuation of the pixel value in the range corresponding to the scanned image of the pointer in the scanned image created by the first creation unit and the pixel value in the scanned image of the pointer created by the third creation unit. The meter reading device according to any one of claims 1 to 3, wherein the likelihood is calculated by the sum of products in a scanning direction of numerical values indicating similarity to fluctuations and in a direction orthogonal to the scale.
前記特定部は、
尤度の目盛に直交する方向に対する分布に基づいて、尤度のピークを1又は複数特定し、
複数のピークが特定される場合、尤度の変化がより急峻なピークを選択し、
選択したピークの目盛に直交する方向における位置と、前記複数の目盛の位置とに基づいて指針が示す数値を特定する
請求項1から請求項3のいずれか1項に記載のメータ読取装置。
The specific part is
One or more likelihood peaks are identified based on the distribution in the direction orthogonal to the likelihood scale.
If multiple peaks are identified, select the peak with a steeper likelihood change and
The meter reading device according to any one of claims 1 to 3, wherein a numerical value indicated by a pointer is specified based on a position in a direction orthogonal to the scale of the selected peak and the positions of the plurality of scales.
前記特定部は、前記目盛盤の走査画像の目盛に直交する方向における前記記憶部に記憶してある複数の主目盛の位置の間の区間内のいずれかにピークが存在する場合、区間毎に目盛間を補完して数値を特定する
請求項1から請求項5のいずれか1項に記載のメータ読取装置。
When a peak exists in any of the sections between the positions of the plurality of main scales stored in the storage unit in the direction orthogonal to the scale of the scanned image of the scale plate, the specific unit is used for each section. The meter reading device according to any one of claims 1 to 5, which complements the scales to specify a numerical value.
メータの目盛盤を撮像した撮像画像における前記目盛盤の基準位置、各々数値が対応付けられた前記目盛盤の複数の主目盛の位置、並びに前記メータの指針の形状及び大きさを示す情報を記憶媒体に記憶しておき、
前記メータの目盛盤を新たに撮像した撮像画像を、記憶してある目盛盤の基準位置、前記複数の主目盛の位置に基づき、画像内の目盛に直交する方向に走査して走査画像を作成し、
前記メータの指針の形状を示す情報に基づいて指針の画像を作成し、
作成した指針の画像を、記憶してある目盛盤の基準位置及び大きさに基づき画像内の目盛に直交する方向に走査して指針の走査画像を作成し、
作成された目盛盤の走査画像及び指針の走査画像の比較により、目盛盤の走査画像における目盛に直交する方向に対する、指針が写っている可能性の高さを示す尤度の分布を算出し、
算出された尤度の目盛に直交する方向に対する分布に基づいて前記メータの指針が示す数値を特定する
処理を含むメータ読取方法。
Stores information indicating the reference position of the scale plate in the captured image of the scale plate of the meter, the positions of a plurality of main scales of the scale plate associated with each numerical value, and the shape and size of the pointer of the meter. Store it in the medium
A scanned image is created by scanning an image captured by newly capturing the scale plate of the meter in a direction orthogonal to the scale in the image based on the stored reference position of the scale plate and the positions of the plurality of main scales. And
An image of the pointer is created based on the information indicating the shape of the pointer of the meter.
The created pointer image is scanned in a direction orthogonal to the scale in the image based on the stored reference position and size of the scale board to create a scanned image of the pointer.
By comparing the scanned image of the created dial and the scanned image of the pointer, the distribution of the likelihood indicating the high possibility that the pointer is shown in the direction orthogonal to the scale in the scanned image of the scale is calculated.
A meter reading method including a process of specifying a numerical value indicated by a pointer of the meter based on a distribution in a direction orthogonal to the calculated likelihood scale.
記憶部を備えるコンピュータに、
メータの目盛盤を撮像した撮像画像における前記目盛盤の基準位置、各々数値が対応付けられた前記目盛盤の複数の主目盛の位置、並びに前記メータの指針の形状及び大きさを示す情報を前記記憶部に記憶しておき、
前記メータの目盛盤を新たに撮像した撮像画像を、記憶してある目盛盤の基準位置、前記複数の主目盛の位置に基づき、画像内の目盛に直交する方向に走査して走査画像を作成し、
前記メータの指針の形状を示す情報に基づいて指針の画像を作成し、
作成した指針の画像を、記憶してある目盛盤の基準位置及び大きさに基づき画像内の目盛に直交する方向に走査して指針の走査画像を作成し、
作成された目盛盤の走査画像及び指針の走査画像の比較により、目盛盤の走査画像における目盛に直交する方向に対する、指針が写っている可能性の高さを示す尤度の分布を算出し、
算出された尤度の目盛に直交する方向に対する分布に基づいて前記メータの指針が示す数値を特定する
処理を実行させるコンピュータプログラム。
For computers equipped with a storage unit
The information indicating the reference position of the scale plate in the captured image of the scale plate of the meter, the positions of a plurality of main scales of the scale plate associated with each numerical value, and the shape and size of the pointer of the meter are described. Store it in the memory
A scanned image is created by scanning an image captured by newly capturing the scale plate of the meter in a direction orthogonal to the scale in the image based on the stored reference position of the scale plate and the positions of the plurality of main scales. And
An image of the pointer is created based on the information indicating the shape of the pointer of the meter.
The created pointer image is scanned in a direction orthogonal to the scale in the image based on the stored reference position and size of the scale board to create a scanned image of the pointer.
By comparing the scanned image of the created dial and the scanned image of the pointer, the distribution of the likelihood indicating the high possibility that the pointer is shown in the direction orthogonal to the scale in the scanned image of the scale is calculated.
A computer program that executes a process of specifying a numerical value indicated by a pointer of the meter based on a distribution in a direction orthogonal to the calculated likelihood scale.
JP2019084414A 2018-08-30 2019-04-25 Meter reader, meter reading method and computer program Active JP6783894B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980056028.8A CN112639901B (en) 2018-08-30 2019-08-30 Meter reading device, meter reading method, and storage medium
PCT/JP2019/034141 WO2020045635A1 (en) 2018-08-30 2019-08-30 Meter reading device, meter reading method, and computer program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018161878 2018-08-30
JP2018161878 2018-08-30

Publications (2)

Publication Number Publication Date
JP2020038188A JP2020038188A (en) 2020-03-12
JP6783894B2 true JP6783894B2 (en) 2020-11-11

Family

ID=69737829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019084414A Active JP6783894B2 (en) 2018-08-30 2019-04-25 Meter reader, meter reading method and computer program

Country Status (2)

Country Link
JP (1) JP6783894B2 (en)
CN (1) CN112639901B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7206236B2 (en) * 2020-06-26 2023-01-17 三菱重工業株式会社 Indicated value reading system, method and program
CN112329770B (en) * 2020-10-30 2024-02-23 江苏理工学院 Instrument scale identification method and device
JP7116770B2 (en) * 2020-12-04 2022-08-10 日本化薬株式会社 Analog meter pointer reading method and analog meter pointer reading system
CN113295148B (en) * 2021-06-02 2022-06-07 国家海洋局烟台海洋环境监测中心站 Remote sea wave observation method based on shore optical wave meter
JP7441989B1 (en) 2023-03-15 2024-03-01 三菱電機インフォメーションシステムズ株式会社 Meter reading device, meter reading method and meter reading program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5673331A (en) * 1995-06-03 1997-09-30 United States Department Of Energy Method and apparatus for reading meters from a video image
JP2002288780A (en) * 2001-03-28 2002-10-04 Mitsubishi Electric Corp Automatic meter reader and instrumentation system using the same
JP4020377B2 (en) * 2002-10-08 2007-12-12 財団法人電力中央研究所 Analog meter automatic reading method and automatic reading device
JP2012104032A (en) * 2010-11-12 2012-05-31 Kansai Electric Power Co Inc:The Analog meter reading device and reading method
CN102176228B (en) * 2011-01-28 2013-02-06 河海大学常州校区 Machine vision method for identifying dial plate information of multi-pointer instrument
CN104751187B (en) * 2015-04-14 2019-04-16 山西科达自控股份有限公司 Meter reading automatic distinguishing method for image
CN105426809B (en) * 2015-08-18 2019-02-22 张大堃 A kind of method of gauge pointer automatic identification
CN105550683A (en) * 2015-12-07 2016-05-04 重庆大学 Vision-based pointer instrument automatic reading system and method

Also Published As

Publication number Publication date
CN112639901A (en) 2021-04-09
JP2020038188A (en) 2020-03-12
CN112639901B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
JP6783894B2 (en) Meter reader, meter reading method and computer program
JP6811354B2 (en) Meter reader, meter meter reading system, and computer program
CN107615334B (en) Object recognition device and object recognition system
KR100939079B1 (en) System for mesurement of the snowfall and method for mesurement of the snowfall
CN111047568A (en) Steam leakage defect detection and identification method and system
KR102089498B1 (en) Measuring apparatus for analogue gauge and method thereof
CN106895791B (en) Board deformation monitoring and early warning system
CN108881875B (en) Image white balance processing method and device, storage medium and terminal
JP7408865B2 (en) Meter reading work device and method and meter reading work system
JP2011060067A (en) Automatic meter reading system
US11694361B2 (en) Camera auto-calibration system
WO2020045635A1 (en) Meter reading device, meter reading method, and computer program
CN116630327B (en) Boiler state abnormity monitoring system based on thermodynamic diagram
CN112419402A (en) Positioning method and system based on multispectral image and laser point cloud
JP2020160691A (en) Remote meter reading computer, method and program of the same
JP7116770B2 (en) Analog meter pointer reading method and analog meter pointer reading system
JP3888528B2 (en) Liquid level recognition processing apparatus and liquid level monitoring system
JP4936952B2 (en) Suspicious object monitoring device
JP2006250536A (en) Pattern recognition device and pattern recognition method
JP6927861B2 (en) Analog meter reading automatic reading method and equipment
JP2021124905A (en) Meter reading device, meter reading system, meter reading method, and computer program
KR102390125B1 (en) Method and system for measuring length of object using smart phone
WO2021090864A1 (en) Image processing device, image processing method, and image capturing device
JP2006084418A (en) Automatic reading apparatus for measuring instrument
CN116379937B (en) Method and device for monitoring shaking of power transmission tower

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200326

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201022

R150 Certificate of patent or registration of utility model

Ref document number: 6783894

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250