JP2020052903A - Imaging position correcting apparatus, and imaging position correcting method - Google Patents

Imaging position correcting apparatus, and imaging position correcting method Download PDF

Info

Publication number
JP2020052903A
JP2020052903A JP2018183870A JP2018183870A JP2020052903A JP 2020052903 A JP2020052903 A JP 2020052903A JP 2018183870 A JP2018183870 A JP 2018183870A JP 2018183870 A JP2018183870 A JP 2018183870A JP 2020052903 A JP2020052903 A JP 2020052903A
Authority
JP
Japan
Prior art keywords
meter
photographing position
correction
camera
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018183870A
Other languages
Japanese (ja)
Other versions
JP7103126B2 (en
Inventor
貴雅 堀
Takamasa Hori
貴雅 堀
伸行 藤原
Nobuyuki Fujiwara
伸行 藤原
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP2018183870A priority Critical patent/JP7103126B2/en
Publication of JP2020052903A publication Critical patent/JP2020052903A/en
Application granted granted Critical
Publication of JP7103126B2 publication Critical patent/JP7103126B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

To provide a correcting apparatus and a correcting method which can properly correct an imaging position of a camera when a large misalignment occurs in the camera which images meter display information.SOLUTION: A meter reading apparatus 1 has an image input unit 10 for collecting an analog meter group imaged by a camera 3 to store them in a storage unit 11. A processing setting unit 12 selects and sets a template image including a display name for each meter of the analog meter group. An imaging position confirming unit 13 confirms, by using the template image, whether or not all meters are imaged in captured image data of the analog mete group. An imaging position correcting unit 14 corrects an imaging position of the camera 3 on the basis of a confirmation result of the imaging position confirming unit 13. A meter reading unit 15 reads meter display information on the basis of the corrected image. A read result transmitting unit 16 transmits the read meter display information through a network.SELECTED DRAWING: Figure 3

Description

本発明は、例えば制御盤などアナログメータをカメラで撮影してメータ表示情報(指示値やランプの点灯状態など)を読み取る際に撮影位置を補正する技術に関する。   The present invention relates to a technique for correcting an image capturing position when an analog meter such as a control panel is captured by a camera and meter display information (indicated value, lamp lighting state, etc.) is read.

周知のように電力や水処理などのインフラ設備において、回転機などの設備が正常に動作しているか否かを現場作業員が日々点検している。日々の点検作業の際は、制御盤などに設置されているアナログメータの指示値を記録し、また異常があればアナログメータの指示値を確認する。   As is well-known, in infrastructure facilities such as electric power and water treatment, field workers check daily whether or not facilities such as rotating machines are operating normally. During daily inspection work, record the indicated value of the analog meter installed on the control panel, etc., and check the indicated value of the analog meter if there is any abnormality.

このアナログメータについては、現在のところ監視制御システムに計装データとして収集する仕組みが無い場合が多い。そのため、現場の作業員が直接視認しなければならず、また新たに前記指示値を計装データとして収集するためには工事が必要となってしまう。   At present, in many cases, there is no mechanism for collecting the analog meter as instrumentation data in the monitoring control system. Therefore, a worker at the site must directly visually recognize the work, and construction is required to newly collect the indicated value as instrumentation data.

そこで、特許文献1〜4のようにアナログメータや表示ランプなどをカメラで撮影し、撮影画像の画像処理によってメータ表示情報を読み取る装置が提案されている。ここで読み取られた情報は、有線LANや無線LANなどの通信網を経由して監視制御システムやクラウドシステムなどで収集されている。   Therefore, as disclosed in Patent Literatures 1 to 4, there have been proposed devices which photograph an analog meter, a display lamp, and the like with a camera, and read meter display information by image processing of a photographed image. The information read here is collected by a monitoring control system or a cloud system via a communication network such as a wired LAN or a wireless LAN.

特開2000−182021JP-A-2000-182021 特開2006−120133JP-A-2006-120133 特開2017−207910JP-A-2017-207910 特開2017−126187JP-A-2017-126187

“法人向け商品 サポート BB−SC384B 特長”,〔online〕 〔平成30年9月7日検索〕,インターネット<URL:https://sol.panasonic.biz/security/netwkcam/lineup/sc384b.html>"Corporate Product Support BB-SC384B Features", [online] [Search on September 7, 2018], Internet <URL: https://sol.panasonic.biz/security/netwkcam/lineup/sc384b.html>

しかしながら、作業員が現場に設置したカメラに触れたことや、あるいはカメラの電源ON/OFF時のキャリブレーションなどが原因でカメラの撮影位置がずれる場合が少なくない。   However, there are many cases where the photographing position of the camera shifts due to the operator touching the camera installed on the site or the calibration at the time of power ON / OFF of the camera.

この場合にはメータの撮影ができず、メータ表示情報の読み取りに異常が発生するため、カメラの撮影位置を補正する必要がある。ところが、特許文献1〜4の読取装置は、撮影対象の微小な誤差(ずれ)に対しては画像処理で補正可能なものの、メータの半分以上が見切れると補正できないおそれがある。   In this case, the meter cannot be photographed, and an error occurs in reading the meter display information. Therefore, it is necessary to correct the photographing position of the camera. However, the reading apparatuses disclosed in Patent Literatures 1 to 4 can correct minute errors (deviations) of a photographing target by image processing, but may not be able to correct the errors if more than half of the meter is cut off.

本発明は、このような従来の問題を解決するためになされ、カメラの撮影位置が大きくずれてしまった場合に適切に補正し、メータ表示情報を確実に読み取ることを解決課題としている。   SUMMARY OF THE INVENTION The present invention has been made to solve such a conventional problem, and has an object to solve the problem in that when a photographing position of a camera is greatly deviated, an appropriate correction is made and meter display information is reliably read.

(1)本発明の一態様は、カメラで撮影されたメータ群の画像からメータ表示情報を読み取る際に前記カメラの撮影位置を補正する装置であって、
前記カメラで撮影された画像が入力される画像入力部と、
前記画像入力部から入力された撮影画像内に前記全メータが撮影されているか否かを確認する撮影位置確認部と、
前記撮影位置確認部にて前記全メータの撮影が確認されなければ、カメラの撮影位置を補正する撮影位置補正部と、を備え、
前記撮影位置確認部は、事前に用意された前記各メータのテンプレート画像と前記撮影画像とのパターンマッチングを実行し、メータ毎の相関値を撮影位置確認結果として出力し、
前記撮影位置補正部は、前記各相関値と事前設定の閾値とを比較し、すべての前記相関値が前記閾値より小さくなければ前記撮影画像を正常と判定する一方、
前記相関値が前記閾値よりも小さいメータがあれば前記撮影位置の異常を判定して前記撮影位置を補正することを特徴としている。
(1) One embodiment of the present invention is an apparatus for correcting a photographing position of a camera when reading meter display information from an image of a meter group photographed by the camera,
An image input unit into which an image captured by the camera is input,
A photographing position confirming unit that confirms whether or not all the meters have been photographed in the photographed image input from the image input unit;
If the imaging of all meters is not confirmed by the imaging position confirmation unit, an imaging position correction unit that corrects the imaging position of the camera,
The photographing position confirmation unit performs pattern matching between the template image of each meter and the photographed image prepared in advance, and outputs a correlation value for each meter as a photographing position confirmation result.
The photographing position correction unit compares the correlation value with a preset threshold, and determines that the photographed image is normal unless all the correlation values are smaller than the threshold.
When there is a meter whose correlation value is smaller than the threshold value, the abnormality of the photographing position is determined and the photographing position is corrected.

(2)本発明の他の態様は、カメラで撮影されたメータ群の画像からメータ表示情報を読み取るにあたって、コンピュータにより前記カメラの撮影位置を補正する方法であって、
前記カメラで撮影された画像を入力する画像入力ステップと、
前記画像入力ステップで入力された撮影画像内に前記全メータが撮影されているか否かを確認する撮影位置確認ステップと、
前記撮影位置確認ステップにて前記全メータの撮影が確認されなければ、カメラの撮影位置を補正する撮影位置補正ステップと、有し、
前記撮影位置確認ステップにおいて、事前に用意された前記各メータのテンプレート画像と前記撮影画像とのパターンマッチングを実行し、メータ毎の相関値を撮影位置確認結果として出力し、
前記撮影位置補正ステップにおいて、前記各相関値と事前設定の閾値とを比較し、すべての前記相関値が前記閾値より小さくなければ前記撮影画像を正常と判定する一方、
前記相関値が前記閾値よりも小さいメータがあれば前記撮影位置の異常を判定して前記撮影位置を補正することを特徴としている。
(2) Another aspect of the present invention is a method of correcting a shooting position of the camera by a computer when reading meter display information from an image of a meter group shot by the camera,
An image input step of inputting an image taken by the camera,
A photographing position confirming step of confirming whether or not all the meters have been photographed in the photographed image input in the image input step,
If photographing of all meters is not confirmed in the photographing position confirmation step, a photographing position correction step of correcting a photographing position of a camera,
In the photographing position confirmation step, pattern matching is performed between the template image of each meter and the photographed image prepared in advance, and a correlation value for each meter is output as a photographing position confirmation result,
In the photographing position correction step, comparing each of the correlation values and a preset threshold value, while determining that the photographed image is normal unless all the correlation values are smaller than the threshold value,
When there is a meter whose correlation value is smaller than the threshold value, the abnormality of the photographing position is determined and the photographing position is corrected.

本発明によれば、カメラの撮影位置が大きくずれてしまった場合であっても、適切に補正されるため、メータ表示情報を確実に読み取ることができる。   ADVANTAGE OF THE INVENTION According to this invention, even if the imaging | photography position of a camera deviates greatly, since it corrects appropriately, meter display information can be read reliably.

本発明の実施形態に係る撮影位置の補正装置を構成するメータ読取装置の設置状況を示す配置図。FIG. 2 is a layout diagram showing an installation state of a meter reading device that constitutes a photographing position correction device according to the embodiment of the present invention. (a)はカメラを天井などに設置した状態を示す概略図、(b)は回動アームを用いてカメラを設置した状態を示す概略図。(A) is a schematic diagram showing a state where the camera is installed on a ceiling or the like, and (b) is a schematic diagram showing a state where the camera is installed using a rotating arm. 図1のメータ読取装置の構成図。The block diagram of the meter reader of FIG. 同 処理内容を示すフローチャート。5 is a flowchart showing the processing contents. 同 メータの表示名の拡大図。An enlarged view of the display name of the meter. (a)は表示名を含むテンプレート画像例、(b)は表示名およびマーカ(異形状)を含むテンプレート画像例、(c)は表示名およびマーカ(異色)を含むテンプレート画像例。(A) is a template image example including a display name, (b) is a template image example including a display name and a marker (unusual shape), and (c) is a template image example including a display name and a marker (unusual color). (a)は正常な撮影画像データおよび相関値の説明図、(b)は実施例1の撮影画像データおよび相関値の説明図、(c)は実施例2の撮影画像データおよび相関値の説明図。(A) is an explanatory diagram of normal photographed image data and a correlation value, (b) is an explanatory diagram of photographed image data and a correlation value of the first embodiment, and (c) is a diagram of photographed image data and a correlation value of the second embodiment. FIG. (a)は実施例3の撮影画像データおよび相関値の説明図、(b)は第1次補正後の補正データおよび相関値の説明図、(c)は第2次補正後の補正データおよび相関値の説明図、(d)は第3次補正後の補正データおよび相関値の説明図。(A) is an explanatory diagram of the captured image data and the correlation value of the third embodiment, (b) is an explanatory diagram of the correction data and the correlation value after the first correction, and (c) is the correction data and the second correction. FIG. 7D is an explanatory diagram of a correlation value, and FIG. 9D is an explanatory diagram of correction data and a correlation value after the third correction. (a)は実施例4の撮影画像データおよび相関値の説明図、(b)は第1補正後の補正データおよび相関値の説明図、(c)は第2次補正後の補正データおよび相関値の説明図。(A) is an explanatory diagram of the captured image data and the correlation value of the fourth embodiment, (b) is an explanatory diagram of the correction data and the correlation value after the first correction, and (c) is the correction data and the correlation after the second correction. Explanatory drawing of a value.

以下、本発明の実施形態に係る撮影位置の補正装置を説明する。この補正装置は、カメラの撮影画像からアナログメータのメータ表示情報(例えばメータの指示値やランプの点灯状態など)を読み取るメータ読取装置に内蔵され(組み込まれ)、該メータ読取装置にカメラの撮影位置を補正する機能を付加している。   Hereinafter, an image capturing position correction device according to an embodiment of the present invention will be described. This correction device is built in (built-in) a meter reading device that reads meter display information (for example, a meter reading value and a lamp lighting state) from an image captured by a camera. A function to correct the position is added.

図1中の1は、前記メータ読取装置を示している。このメータ読取装置1は、制御盤2の正面に配置されたアナログメータ群4に撮影させ、撮影された撮影画像データを収集してアナログメータ群4のメータ表示情報を読み取っている。ここではカメラ3は、画角を調整・制御できる機能を備える必要があり、例えば非特許文献1に記載されたネットワークカメラなどを使用することができる。   1 in FIG. 1 indicates the meter reading device. The meter reading device 1 causes the analog meter group 4 arranged in front of the control panel 2 to take a picture, collects the photographed image data, and reads the meter display information of the analog meter group 4. Here, the camera 3 needs to have a function of adjusting and controlling the angle of view. For example, a network camera described in Non-Patent Document 1 can be used.

図2に基づきカメラ3の設置状況を説明する。まず、図2(a)に示すように、室内の天井5にボルトとナットを用いて固定し、矢印X方向から制御盤2のアナログメータ4群を撮影することができる。また、制御盤2に対向する制御盤7の平面7aにマグネットなどでカメラ3を固定し、矢印Y方向から撮影することもできる。   An installation state of the camera 3 will be described with reference to FIG. First, as shown in FIG. 2A, a group of analog meters 4 of the control panel 2 can be photographed from the direction of the arrow X by fixing to the ceiling 5 in the room using bolts and nuts. In addition, the camera 3 can be fixed to the flat surface 7a of the control panel 7 facing the control panel 2 with a magnet or the like, and an image can be taken from the arrow Y direction.

つぎに図2(b)に示すように、制御盤2の天井2aに可動アーム6の基部を設置する一方、可動アーム6の先端にカメラ3を取り付けることもできる。この場合には可動アーム6を回動させ、矢印Z方向からアナログメータを撮影することができる。   Next, as shown in FIG. 2B, the base of the movable arm 6 is installed on the ceiling 2 a of the control panel 2, and the camera 3 can be attached to the tip of the movable arm 6. In this case, it is possible to rotate the movable arm 6 and take an image of the analog meter from the arrow Z direction.

なお、制御盤2などが設置される場所は蛍光灯などの照明が無い場合が多いことから、カメラ3の付近に照明を設置したり、対策や赤外線などを撮影できる機能を備えたカメラ3を設置してもよい。   Since the place where the control panel 2 and the like are installed is often not illuminated by a fluorescent light or the like, it is necessary to install an illumination near the camera 3 or to install a camera 3 having a function for taking countermeasures and infrared rays. May be installed.

また、画角や画質の関係上、精度良く読み取るため、カメラ3は可能な限りアナログメータ群4と正対させ、かつアナログメータ群4と近い位置に設置することが好ましい。   Further, in order to accurately read the image, it is preferable that the camera 3 is positioned as close to the analog meter group 4 as possible and is located as close to the analog meter group 4 as possible.

≪構成例≫
図3に基づき前記読取装置1の構成例を説明する。ここでは前記読取装置1は、カメラ3と有線/無線によりデータ送受信が可能に接続されているものとする。
≪Configuration example≫
An example of the configuration of the reading device 1 will be described with reference to FIG. Here, it is assumed that the reading device 1 is connected to the camera 3 in a wired / wireless manner so that data can be transmitted / received.

具体的には前記読取装置1は、コンピュータを主体に構成され、通常のコンピュータのハードウェアリソース(例えばCPU,RAMやROMなどの主記記憶装置,SSDやSDカードなどの補助記憶装置等)を備える。このハードウェアリソースとソフトウェアリソースとの協働の結果、前記読取装置1は、画像入力部10,記憶部11,処理設定部12,撮影位置確認部13,撮影位置補正部14,メータ読取部15,読取結果伝送部16を実装する。   Specifically, the reading device 1 is mainly configured by a computer, and uses hardware resources of a normal computer (for example, a CPU, a main storage device such as a RAM and a ROM, and an auxiliary storage device such as an SSD and an SD card). Prepare. As a result of the cooperation between the hardware resources and the software resources, the reading device 1 includes the image input unit 10, the storage unit 11, the processing setting unit 12, the photographing position checking unit 13, the photographing position correcting unit 14, and the meter reading unit 15. , The reading result transmitting unit 16 is mounted.

ここでは記憶部11は前記記憶装置に構築されている一方、前記読取装置1の補正機能は主に前記各部12〜14により実行され、カメラ3の撮影画像データが画像入力部10に入力される。この入力により収集された撮影画像データが、前記記憶装置に構築された記憶部11に保存される。   Here, while the storage unit 11 is constructed in the storage device, the correction function of the reading device 1 is mainly executed by the units 12 to 14, and the image data of the camera 3 is input to the image input unit 10. . The captured image data collected by this input is stored in the storage unit 11 constructed in the storage device.

処理設定部12は、記憶部11に記憶された撮影画像データを入力とし、アナログメータ群4の個々のメータ位置を確認するために必要なメータ情報を設定し、設定されたメータ情報は記憶部11に出力されて保存させる。   The processing setting unit 12 receives the captured image data stored in the storage unit 11 as input, sets meter information necessary for confirming individual meter positions of the analog meter group 4, and stores the set meter information in the storage unit. 11 and stored.

撮影位置確認部13は、記憶部11に記憶された撮影画像データおよびメータ情報を入力として画像処理を施し、アナログメータ群4のすべてのメータが撮影画像データ内に撮影されているか否かを確認する。この撮影位置の確認結果は、記憶部11に出力されて保存される。   The photographing position confirming unit 13 performs image processing with the photographed image data and the meter information stored in the storage unit 11 as inputs, and confirms whether all the meters in the analog meter group 4 are photographed in the photographed image data. I do. The result of checking the shooting position is output to the storage unit 11 and stored.

撮影位置補正部14は、記憶部11に記憶された撮影画像データとメータ表示情報と撮影位置の確認結果とを入力とし、撮影位置の確認結果に応じてカメラの撮影位置を補正させる。この補正は、アナログメータ群4のすべてのメータが撮影画像データ内に撮影されてない場合に実行される一方、撮影されていれば実行されない。また、補正後の撮影位置補正画像データ(以下、補正データとする。)内にすべてのメータが撮影されていなければ再補正が実行される一方、撮影されていれば補正データが記憶部11に出力され、該撮影画像に上書き保存される。   The photographing position correction unit 14 receives the photographed image data, the meter display information, and the photographing position confirmation result stored in the storage unit 11, and corrects the photographing position of the camera according to the photographing position confirmation result. This correction is executed when all the meters of the analog meter group 4 are not photographed in the photographed image data, but are not performed when the meters are photographed. Further, if all meters are not photographed in the corrected photographing position corrected image data (hereinafter referred to as “correction data”), re-correction is executed, while if photographed, the correction data is stored in the storage unit 11. It is output and overwritten and stored on the captured image.

メータ読取部15は、記憶部11に記憶された撮影画像データ(補正画像データを含む。)を入力とし、アナログメータ群4の各メータ表示情報(例えばメータの指示値やランプの点灯状態など)を読み取る。このメータ表示情報の読取結果データは、記憶部11に出力されて保存される。   The meter reading unit 15 receives the captured image data (including the corrected image data) stored in the storage unit 11 as input, and displays each meter display information of the analog meter group 4 (for example, the indicated value of the meter and the lighting state of the lamp). Read. The reading result data of the meter display information is output to the storage unit 11 and stored.

読取結果伝送部16は、記憶部11に記憶された読取結果データを入力とし、入力された読取結果データをネットワーク経由で監視制御システムやクラウドなどに伝送する。例えば読取結果伝送部16は、有線/無線の通信デバイスで構成することができる。   The read result transmitting unit 16 receives the read result data stored in the storage unit 11 and transmits the input read result data to a monitoring control system or a cloud via a network. For example, the reading result transmission unit 16 can be configured by a wired / wireless communication device.

≪処理内容≫
図4に基づき前記読取装置1の処理内容(S01〜S05)を説明する。ここでは図5の制御盤2のアナログメータ群4を撮影し、各メータ4a〜4dのメータ表示情報を読み取る際の処理を説明する。
≪Processing content≫
The processing contents (S01 to S05) of the reading device 1 will be described with reference to FIG. Here, a process for photographing the analog meter group 4 of the control panel 2 of FIG. 5 and reading the meter display information of each of the meters 4a to 4d will be described.

S01:処理が開始されると、画像入力部10により制御盤2のアナログメータ群4の撮影画像データが収集される。ここではカメラ3から出力されたアナログメータ群4の撮影画像データが入力され、記憶部11に保存される。以後、S02〜S04の処理は、記憶部11に保存された撮影画像データに基づき実施される。   S01: When the process is started, the image input unit 10 collects captured image data of the analog meter group 4 of the control panel 2. Here, the captured image data of the analog meter group 4 output from the camera 3 is input and stored in the storage unit 11. Thereafter, the processing of S02 to S04 is performed based on the captured image data stored in the storage unit 11.

S02:処理設定部12は、入力された撮影画像データに基づきメータ情報を設定し、設定されたメータ情報を記憶部11に出力して保存させる。   S02: The process setting unit 12 sets meter information based on the input photographed image data, and outputs the set meter information to the storage unit 11 to store the same.

このメータ情報の設定に際しては、事前に用意された各メータ4a〜4dのテンプレート画像を選択する。すなわち、図5に示すように、一般的にメータなどには、何を出力しているのかを示す表示名(ネームプレート)Sが併せて設置されていることが多い。そこで、カメラ3の撮影位置を特定するため、各メータ4a〜4dと表示名Sを含んだ画像データをテンプレート画像データとする。   In setting the meter information, a template image of each of the meters 4a to 4d prepared in advance is selected. That is, as shown in FIG. 5, in general, a display name (name plate) S that indicates what is being output is generally installed on a meter or the like. Therefore, in order to specify the shooting position of the camera 3, image data including the meters 4a to 4d and the display name S is used as template image data.

例えば図6(a)中のa−1,a−2は、表示名Sを含んだテンプレート画像を示している。また、図6(b)中のb−1,b−2は、表示名Sとマーカ(異形状)Mを含んだテンプレート画像を示している。さらに図6(c)中のc−1,c−2は、表示名Sとマーカ(異色)Mを含んだテンプレート画像を示している。   For example, a-1 and a-2 in FIG. 6A indicate template images including the display name S. Further, b-1 and b-2 in FIG. 6B indicate template images including the display name S and the marker (irregular shape) M. Further, c-1 and c-2 in FIG. 6C indicate template images including a display name S and a marker (different color) M.

このようなテンプレート画像データは、あらかじめ制御盤4の製造番号などをIDに登録されている。ここではユーザ入力の前記製造番号などをキーにアナログメータ4群の各テンプレート画像データが選択され、制御盤2のアナログメータ群4の撮影位置の確認用に設定される。   In such template image data, the serial number of the control panel 4 and the like are registered in advance in the ID. Here, each template image data of the group of analog meters 4 is selected by using the serial number or the like input by the user as a key, and is set for confirming a shooting position of the group of analog meters 4 of the control panel 2.

また、撮影した画像データ内にアナログメータ4群が含まれているか否かを判定するための閾値(テンプレート画像データと誤差の閾値など)や、テンプレート画像データ上のメータ位置などもメータ情報として設定する。なお、閾値は、メータ4a〜4dごとに設定でき、工場出荷時のデフォルト値のまま設定してもよく、ユーザ入力の値を設定してもよいものとする。   In addition, a threshold value for determining whether or not the group of analog meters 4 is included in the captured image data (threshold value of the template image data and an error), a meter position on the template image data, and the like are also set as meter information. I do. The threshold value can be set for each of the meters 4a to 4d, and may be set as the factory default value or a user input value.

S03:撮影位置確認部13は、入力された撮影画像データおよびメータ情報に基づきアナログメータ群4のすべてのメータが撮影画像データ内に撮影されているか否かを確認する。   S03: The photographing position confirmation unit 13 confirms whether or not all the meters of the analog meter group 4 are photographed in the photographed image data based on the inputted photographed image data and the meter information.

具体的には撮影画像データと各メータ4a〜4dのテンプレート画像とのパターンマッチングを実行し、パターンマッチングで算出された相関値を撮影位置確認結果として記憶部11に出力して保存させる。このパターンマッチングは、アナログメータ群4の各メータ4a〜4dのそれぞれに対して実行し、各実行結果の集合を撮影位置確認結果とする。この撮影位置確認結果は、記憶部11に出力されて保存される。   More specifically, pattern matching is performed between the captured image data and the template images of the meters 4a to 4d, and the correlation value calculated by the pattern matching is output to the storage unit 11 as an imaging position confirmation result and stored. This pattern matching is executed for each of the meters 4a to 4d of the analog meter group 4, and a set of the execution results is used as a photographing position confirmation result. This photographing position confirmation result is output to the storage unit 11 and stored.

S04,S05:撮影位置補正部14は、入力された撮影画像データとメータ情報と撮影位置確認結果とに基づきカメラ3の撮影位置が正常か否かを判定する(S04)。   S04, S05: The photographing position correction unit 14 determines whether the photographing position of the camera 3 is normal based on the inputted photographed image data, the meter information, and the photographing position confirmation result (S04).

具体的には撮影位置確認結果に示されたすべての相関値が前記閾値よりも小さくなければ、カメラ3の撮影位置が正常と判定され、S06に進む。一方、撮影位置確認結果に示されたいずれかの相関値が、前記閾値よりも小さい場合にはカメラ3の撮影位置が異常(ずれている)と判定され、カメラ3に撮影位置の補正指令が出力される。   Specifically, if all the correlation values indicated in the photographing position confirmation result are not smaller than the threshold value, it is determined that the photographing position of the camera 3 is normal, and the process proceeds to S06. On the other hand, if any of the correlation values shown in the photographing position confirmation result is smaller than the threshold value, it is determined that the photographing position of the camera 3 is abnormal (deviation), and the camera 3 is instructed to correct the photographing position. Is output.

この補正指令が出力された場合には、例えば非特許文献1に記載されたパン(表示可能範囲:最大360度)・チルト(表示可能範囲:最大162度)・ズーム(18倍光学ズーム,2倍EXズーム)などの画角調整機能により撮影位置の補正処理が行われる(S05)。   When this correction command is output, for example, pan (displayable range: maximum 360 degrees), tilt (displayable range: maximum 162 degrees), and zoom (18 × optical zoom, 2) described in Non-Patent Document 1 are described. Correction processing of the photographing position is performed by an angle-of-view adjustment function such as double EX zoom (S05).

この補正処理後に撮影した補正データが、画像入力部10により入力され(S01)、S02およびS03の処理を経た後にS04の再判定が行われる(ただし、S04は前回の設定を用いることができる。)。   The correction data photographed after the correction processing is input by the image input unit 10 (S01), and after performing the processing of S02 and S03, the re-determination of S04 is performed (however, the previous setting can be used for S04. ).

その際、補正データが正常と判定されれば記録部11に出力されてS07に進む一方、異常と判定されれば補正指示が出力され、再補正を行う(S05)。このS01〜S05の処理を正常と判定されるまで繰り返す。   At this time, if the correction data is determined to be normal, the correction data is output to the recording unit 11 and the process proceeds to S07. If the correction data is determined to be abnormal, a correction instruction is output and re-correction is performed (S05). The processes in S01 to S05 are repeated until it is determined that the process is normal.

S06,S07:メータ読取部15は、S04の判定が正常の撮影画像データ(補正データを含む。)に基づき各メータ4a〜4dのメータ表示情報の読み取りを実行する(S06)。このメータ表示情報の読み取りには、例えば特許文献4の方法を用いることができる。   S06, S07: The meter reading unit 15 reads the meter display information of each of the meters 4a to 4d based on the captured image data (including the correction data) for which the determination in S04 is normal (S06). For reading the meter display information, for example, the method of Patent Document 4 can be used.

なお、読取結果伝送部16は、S06の読み取り結果を監視制御システムやクラウドなどに伝送するために、メータ読取結果の伝送処理を実行する(S07)。   In addition, the reading result transmission unit 16 executes transmission processing of the meter reading result in order to transmit the reading result of S06 to the monitoring control system or the cloud (S07).

≪実施例≫
以下、実施例1〜4に基づき前記読取装置1による撮影画像データの補正処理を説明する。この実施例1,2は、アナログメータ群(横一列)4の一部が見切れている場合の補正処理を示している。また、実施例3は、同アナログメータ群4の全部が見切れている場合の補正処理を示している。さらに実施例4は、アナログメータ群(3行×3列)4の一部が見切れている場合の補正処理を示している。
<< Example >>
Hereinafter, the correction processing of the captured image data by the reading device 1 will be described based on Embodiments 1 to 4. The first and second embodiments show the correction processing when a part of the analog meter group (one horizontal row) 4 is cut off. In addition, the third embodiment shows a correction process when the analog meter group 4 is completely cut off. Further, the fourth embodiment shows a correction process when a part of the analog meter group (3 rows × 3 columns) 4 is cut off.

(1)実施例1
図7(a)(b)に基づき実施例1を説明する。この図7(a)は正常判定された撮影画像データと相関値の評価とを示し、図7(b)は実施例1の撮影画像と相関値の評価とを示し、相関値表E中のメータ1〜4はアナログメータ群4のメータ4a〜4dを示している。
(1) Example 1
First Embodiment A first embodiment will be described with reference to FIGS. FIG. 7A shows the photographed image data determined to be normal and the evaluation of the correlation value, and FIG. 7B shows the photographed image of Example 1 and the evaluation of the correlation value. Meters 1 to 4 indicate the meters 4a to 4d of the analog meter group 4.

この相関値表Eは、各メータ1〜4の相関値を二つの閾値1,2(閾値1>閾値2≠0)を用いて比較した結果を示し、各メータ1〜4の相関値を三段階で評価している。この閾値1,2は、経験則に基づき定められた値が好ましく、例えば「閾値1=0.7〜0.8」程度・「閾値2=0.3〜0.5」程度を目安に値を定めることができる。   This correlation value table E shows the result of comparing the correlation values of each of the meters 1 to 4 using two thresholds 1 and 2 (threshold 1> threshold 2) 0). We evaluate at stage. The thresholds 1 and 2 are preferably values determined based on an empirical rule. For example, the thresholds 1 and 2 may be set to approximately 0.7 to 0.8 and approximately 2 to 0.3 to 0.5, respectively. Can be determined.

具体的には前記相関値表Eは、「相関値≧閾値1」を「高」と評価し、「閾値1>相関値≧閾値2」を「中」と評価し、「閾値2>相関値≧0」を「低」と評価している(実施例2〜4も同じ評価とする。)。   Specifically, the correlation value table E evaluates “correlation value ≧ threshold value 1” as “high”, “threshold value 1> correlation value ≧ threshold value 2” as “medium”, and “threshold value 2> correlation value ≧ 0 ”is evaluated as“ low ”(Examples 2 to 4 have the same evaluation).

図7(a)の撮影画像データは、メータ1〜4のすべての相関値が「高」と評価されているため、S04の処理時にカメラ3の撮影位置が正常と判定され(S04)、補正処理が行われない。   In the photographed image data of FIG. 7A, since the correlation values of all the meters 1 to 4 are evaluated as “high”, the photographing position of the camera 3 is determined to be normal in the processing of S04 (S04), and the correction is performed. No action is taken.

一方、図7(b)の撮影画像データは、メータ3,4の相関値が「高」と評価されているものの、メータ2の相関値が「中」と評価され、かつメータ1の相関値が「低」と評価されている。したがって、図7(b)の撮影画像データは、S04の処理時にカメラ3の撮影位置が異常(ずれている)と判定される。   7B, the correlation values of the meters 3 and 4 are evaluated as “high”, but the correlation value of the meter 2 is evaluated as “medium” and the correlation value of the meter 1 is evaluated. Are rated "low". Therefore, in the photographed image data of FIG. 7B, the photographing position of the camera 3 is determined to be abnormal (displaced) at the time of the processing of S04.

このとき図7(b)の撮影画像データは、前記相関値の評価によればメータ1〜4群の一部が見切れた状態、即ちメータ1が完全に見切れ、メータ2の一部が見切れた状態と想定される。   At this time, in the captured image data of FIG. 7B, according to the evaluation of the correlation value, a part of the meters 1 to 4 was partially cut off, that is, the meter 1 was completely cut off, and a part of the meter 2 was cut off. State is assumed.

したがって、カメラ3を相関値の評価が低い水平方向、即ち矢印L方向に補正する補正指令が出力され、該補正指令に応じた補正処理が行われる(S05)。この場合の各メータ1〜4の位置はS02で設定されたテンプレート画像上のメータ位置を参照すればよく、該メータ位置に応じた長さ分だけ矢印L方向に補正される。   Therefore, a correction command for correcting the camera 3 in the horizontal direction where the evaluation of the correlation value is low, that is, in the direction of the arrow L is output, and a correction process according to the correction command is performed (S05). In this case, the positions of the meters 1 to 4 may refer to the meter positions on the template image set in S02, and are corrected in the direction of the arrow L by a length corresponding to the meter positions.

その結果、実施例1の補正処理によれば、アナログメータ群4の水平方向の一部が見切れた状態、例えば水平方向の一方側のメータが完全に見切れた状態/一部のメータの水平方向の大半が見切れた状態であっても、カメラ3が適切な撮影位置に自動的に補正され、この点でメータ表示情報を確実に読み取ることが可能となる。   As a result, according to the correction processing of the first embodiment, a state in which a part of the analog meter group 4 in the horizontal direction is cut off, for example, a state in which one meter in the horizontal direction is completely cut off / the horizontal direction of some meters Camera 3 is automatically corrected to an appropriate photographing position even if most of the image is not seen, and it is possible to reliably read the meter display information at this point.

(2)実施例2
図7(c)に基づき実施例2を説明する。この図7(c)の撮影画像データは、メータ1〜2のすべての相関値が「中」と評価されているため、S04の処理時にカメラ3の撮影位置が異常と判定される。
(2) Example 2
A second embodiment will be described with reference to FIG. In the captured image data of FIG. 7C, all the correlation values of the meters 1 and 2 are evaluated as “medium”, so that the imaging position of the camera 3 is determined to be abnormal at the time of the processing of S04.

また、前記相関値の評価によれば、図7(c)の撮影画像データは、各メータ1〜4の垂直方向の上下の一方が見切れている状態と想定される。したがって、カメラ3の撮影位置を垂直方向に沿って上下に補正する補正指示が順に出力される。この上下方向の補正を実施する順番は、事前に定めておくものとする。   According to the evaluation of the correlation value, it is assumed that the photographed image data in FIG. 7C is in a state where one of the upper and lower sides in the vertical direction of each of the meters 1 to 4 is cut off. Therefore, correction instructions for correcting the shooting position of the camera 3 up and down along the vertical direction are sequentially output. The order in which the vertical correction is performed is determined in advance.

ここでは最初にカメラ3の撮影位置を垂直方向に沿って矢印U方向(上方向)に補正する補正指示が出力されるものとする。この補正指令に応じて第1次補正が行われ(S05)、第1次補正後の補正データが画像入力部10により入力される。   Here, first, it is assumed that a correction instruction for correcting the shooting position of the camera 3 in the direction of the arrow U (upward) along the vertical direction is output. The primary correction is performed according to the correction command (S05), and the correction data after the primary correction is input by the image input unit 10.

この補正データの再判定(S04)は、異常(すべての相関値の評価=中or低)となるため、続いてカメラ3の撮影位置を垂直方向に沿って矢印D方向(下方向)に補正する補正指示が出力される。   Since the re-determination of the correction data (S04) is abnormal (evaluation of all correlation values = medium or low), the shooting position of the camera 3 is subsequently corrected in the direction of arrow D (downward) along the vertical direction. Is output.

この補正指令に応じて第2次補正が行われ(S05)、該第2次補正後の補正データが画像入力部10により入力される。この補正データの再判定(S04)は正常(すべての相関値の評価=「高」)となるため、その後にS06の読み取り処理が実行される。なお、撮影位置を調整する際の補正量は、実施例1と同様にテンプレート画像上のメータ位置を参照すればよい。   Secondary correction is performed according to the correction command (S05), and the correction data after the secondary correction is input by the image input unit 10. Since the re-determination of the correction data (S04) is normal (evaluation of all correlation values = “high”), the reading process of S06 is executed thereafter. Note that the correction amount at the time of adjusting the shooting position may refer to the meter position on the template image as in the first embodiment.

このように実施例2の補正処理によれば、アナログメータ群4の垂直方向の一部が見切れた状態の場合、即ち全メータ4a〜4cの上下の一方がそれぞれ見切れた場合であっても、カメラ3を適切な撮影位置に自動的に補正することが可能となる。   As described above, according to the correction processing of the second embodiment, even when the vertical part of the analog meter group 4 is cut off, that is, when the upper and lower ones of all the meters 4a to 4c are cut off, It is possible to automatically correct the camera 3 to an appropriate shooting position.

(3)実施例3
図8に基づき実施例3を説明する。この図8(a)は、撮影位置Fの撮影画像データおよび相関値の評価を示している。この撮影画像データは、メータ1〜4のすべての相関値が「低」と評価され、S04の処理時にカメラ3の撮影位置が異常と判定される。また、メータ1〜4(4a〜4d)のすべてが写っていないため、どの方向にずれているのか不明な状態となっている。
(3) Example 3
Embodiment 3 will be described with reference to FIG. FIG. 8A shows the evaluation of the photographed image data at the photographing position F and the correlation value. In the photographed image data, all the correlation values of the meters 1 to 4 are evaluated as “low”, and the photographing position of the camera 3 is determined to be abnormal at the time of the processing of S04. Further, since all of the meters 1 to 4 (4a to 4d) are not shown, it is unclear in which direction the meters are shifted.

そこで、撮影位置Fの周辺にメータ1〜4が存在するか否かを補正により探索する。ここでは撮影位置Fの四隅f1〜f4を特徴部分とし、各特徴部分f1〜f4を中心にする撮影位置に順に補正する。このとき評価の高くなる撮影位置を探索し、最終的には実施例1,2と同様な補正を実行することで撮影位置の補正を完了させる。以下、詳細を説明する。   Therefore, whether or not the meters 1 to 4 exist around the shooting position F is searched by correction. Here, the four corners f1 to f4 of the photographing position F are set as characteristic portions, and correction is sequentially performed to the photographing positions centering on the characteristic portions f1 to f4. At this time, a shooting position having a high evaluation is searched for, and finally the same correction as in the first and second embodiments is executed to complete the correction of the shooting position. Hereinafter, the details will be described.

まず、図8(b)に示すように、特徴部分f1を中心とする撮影位置F1に補正する補正指令がカメラ3に出力される。この補正指令に基づき第1次補正が行われ(S05)、撮影位置F1の補正データについて相関値が再計算される。この再結果1によれば、すべての相関値が「低」と評価され、撮影位置F1も異常と判定される(S04)。   First, as shown in FIG. 8B, a correction command for correcting the photographing position F1 around the characteristic portion f1 is output to the camera 3. The primary correction is performed based on the correction command (S05), and the correlation value is recalculated for the correction data of the photographing position F1. According to the re-result 1, all the correlation values are evaluated as “low”, and the imaging position F1 is also determined to be abnormal (S04).

つぎに図8(c)に示すように、特徴部分f2を中心とする撮影位置F2に補正する補正指令が出力される。この補正指令に基づき第2次補正が行われ(S05)、撮影位置F2の補正データについて相関値が再計算される。この再計算結果2によれば、メータ1,2の相関値が「高」と評価されているものの、メータ3の相関値が「中」と評価され、かつメータ4の相関値が「低」と評価されていることから、撮影位置F2も異常と判定される(S04)。   Next, as shown in FIG. 8C, a correction command for correcting the photographing position F2 around the characteristic portion f2 is output. Secondary correction is performed based on this correction command (S05), and the correlation value is recalculated for the correction data of the photographing position F2. According to the recalculation result 2, although the correlation values of the meters 1 and 2 are evaluated as “high”, the correlation value of the meter 3 is evaluated as “medium” and the correlation value of the meter 4 is “low”. Therefore, the imaging position F2 is also determined to be abnormal (S04).

もっとも、前述した再計算結果2の評価によれば、撮影位置F2の補正データは、メータ1〜4群の一部が見切れた状態、即ちメータ4が完全に見切れ、メータ3の一部が見切れた状態と想定される。   However, according to the evaluation of the recalculation result 2 described above, the correction data of the photographing position F2 is in a state where a part of the meters 1 to 4 is partially cut off, that is, the meter 4 is completely cut off, and a part of the meter 3 is cut off. Is assumed.

したがって、カメラ3を相関値の低い方向、即ち矢印R方向に補正する補正指令が出力され、該補正指令に基づき撮影位置F3への第3次補正が行われる(S05)。この第3次補正後の補正データは、図8(d)の再計算結果3によれば、すべての相関値が「高」と評価されるため、正常と判定され(S04)、S07の処理に移行する。   Therefore, a correction command for correcting the camera 3 in the direction of the low correlation value, that is, the direction of the arrow R is output, and the third correction to the photographing position F3 is performed based on the correction command (S05). According to the recalculation result 3 in FIG. 8D, the correction data after the third correction is evaluated as normal because all the correlation values are evaluated as “high” (S04), and the processing of S07 is performed. Move to

そうすると実施例3の補正処理によれば、アナログメータ群4の一部が見切れた場合だけでなく、その全部が見切れた場合であっても、カメラ3を適切な撮影位置に自動的に補正することが可能となる。   Then, according to the correction processing of the third embodiment, the camera 3 is automatically corrected to an appropriate photographing position not only when a part of the analog meter group 4 is cut off but also when the entire analog meter group 4 is cut off. It becomes possible.

(4)実施例4
図9に基づき実施例4を説明する。ここでは制御盤2の正面には、メータ4a〜4iを「3行×3列」に配列したアナログメータ群4が配置されている。また、相関値表Eのメータ1〜9は、アナログメータ群4のメータ4a〜4iを示している。
(4) Example 4
Embodiment 4 will be described with reference to FIG. Here, an analog meter group 4 in which meters 4a to 4i are arranged in “3 rows × 3 columns” is arranged on the front of the control panel 2. The meters 1 to 9 of the correlation value table E indicate the meters 4 a to 4 i of the analog meter group 4.

図9(a)は、撮影位置F11の撮影画像データおよび相関値の評価を示している。この撮影画像データは、メータ7の相関値が「高」と評価されているものの、メータ4,5,8の相関値が「中」と評価され、かつメータ1〜3,6,9の相関値が「低」と評価されている。   FIG. 9A illustrates the evaluation of the captured image data and the correlation value at the capturing position F11. In the captured image data, the correlation value of the meter 7 is evaluated as “high”, but the correlation values of the meters 4, 5, and 8 are evaluated as “medium”, and the correlation values of the meters 1 to 3, 6, and 9 are evaluated. The value is rated as "low".

したがって、撮影位置F11の撮影画像データは、アナログメータ4群の一部が見切れた状態と想定され、S04の処理時にカメラ3の撮影位置が異常と判定され、補正指令が出力される。   Therefore, the photographed image data at the photographing position F11 is assumed to be in a state where a part of the group of analog meters 4 has been cut off, and the photographing position of the camera 3 is determined to be abnormal during the processing of S04, and a correction command is output.

この場合にはカメラ3を相関値の低い方向に補正すればよく、水平方向(矢印R方向)と垂直方向(矢印U方向)の二段階の補正が行われる。この水平方向の補正と垂直方向の補正の順番は事前に定めておくものとする。   In this case, it is only necessary to correct the camera 3 in the direction in which the correlation value is low, and two-stage correction in the horizontal direction (arrow R direction) and the vertical direction (arrow U direction) is performed. The order of the horizontal correction and the vertical correction is determined in advance.

ここでは最初に撮影位置F11を矢印R方向に補正する補正指示が出力され、第1次補正が行われるものとする(S05)。この第1次補正後は、図9(b)に示すように、撮影位置F12の補正データがカメラ3で撮影され、該補正データにS04の判定が行われる。   Here, it is assumed that a correction instruction for correcting the photographing position F11 in the direction of the arrow R is output first, and the first correction is performed (S05). After the first correction, as shown in FIG. 9B, the correction data of the shooting position F12 is shot by the camera 3, and the determination of S04 is performed on the correction data.

このとき撮影位置F12の補正データは、相関値表Eに示すように、メータ7〜9の相関値が「高」と評価され、メータ4〜6の相関値が「中」と評価され、メータ1〜3の相関値が「低」と評価されている。   At this time, as shown in the correlation value table E, the correction data of the photographing position F12 is evaluated such that the correlation values of the meters 7 to 9 are evaluated as “high”, the correlation values of the meters 4 to 6 are evaluated as “medium”, The correlation values of 1 to 3 are evaluated as “low”.

この評価によれば、撮影位置F12の補正データは、S04の処理時に異常と判定されるものの、実施例2とは逆に上方向に移動させればよく、続いて撮影位置を矢印U方向(上方向)に補正する補正指示が出力され、第2次補正が行われる(S05)。   According to this evaluation, although the correction data of the photographing position F12 is determined to be abnormal at the time of the processing of S04, the correction data may be moved upward, contrary to the second embodiment. A correction instruction to correct (upward) is output, and the second correction is performed (S05).

すなわち、図9(c)に示すように、撮影位置F13の補正データがカメラ3で撮影され、その後に該補正データについてS04の判定が行われる。このとき撮影位置F13の補正データは、相関値表Eに示すように、すべての相関値が「高」と評価されているため、正常と判定され(S04)、S07の処理に移行する。   That is, as shown in FIG. 9C, the correction data at the shooting position F13 is shot by the camera 3, and then the determination in S04 is performed on the correction data. At this time, as shown in the correlation value table E, the correction data at the photographing position F13 is determined to be normal (S04) because all the correlation values are evaluated as “high”, and the process proceeds to S07.

このように実施例4の補正処理によれば、アナログメータ群(横一列)4が見切れている場合だけでなく、アナログメータ群(3行×3列)が見切れている場合にも、カメラ3を適切な撮影位置に自動的に補正することが可能となる。   As described above, according to the correction processing of the fourth embodiment, not only when the analog meter group (one horizontal row) 4 is cut off, but also when the analog meter group (3 rows × 3 columns) is cut off, the camera 3 Can be automatically corrected to an appropriate shooting position.

なお、本発明は上記実施形態に限定されるものではなく、各請求項に記載された範囲内で変形して実施することができる。例えばカメラ3の設置状況は、図2(a)(b)に限定されず、制御盤2,7間に配置された設置台上に一対のカメラ3を設置してもよい。この場合に一方のカメラ3は制御盤2のアナログメータ群4を撮影し、他方のカメラ3は制御盤7のアナログメータ群4を撮影することができる。   Note that the present invention is not limited to the above-described embodiment, and can be implemented with modification within the scope described in each claim. For example, the installation state of the camera 3 is not limited to FIGS. 2A and 2B, and a pair of cameras 3 may be installed on an installation table arranged between the control panels 2 and 7. In this case, one camera 3 can photograph the analog meter group 4 of the control panel 2, and the other camera 3 can photograph the analog meter group 4 of the control panel 7.

1…メータ読取装置(撮影位置の補正装置)
2,7…制御盤
2a,7a…平面
3…カメラ
4…アナログメータ群
4a〜4i…メータ
5…天井
10…画像入力部
11…記憶部
12…処理設定部
13…撮影位置確認部
14…撮影位置補正部
15…メータ読取部
16…読取結果伝送部
1. Meter reading device (imaging position correction device)
2, 7: Control panel 2a, 7a: Flat surface 3: Camera 4: Analog meter group 4a to 4i: Meter 5: Ceiling 10: Image input unit 11: Storage unit 12: Processing setting unit 13: Shooting position confirmation unit 14: Shooting Position correction unit 15: meter reading unit 16: reading result transmission unit

Claims (8)

カメラで撮影されたメータ群の画像からメータ表示情報を読み取る際に前記カメラの撮影位置を補正する装置であって、
前記カメラで撮影された画像が入力される画像入力部と、
前記画像入力部から入力された撮影画像内に前記全メータが撮影されているか否かを確認する撮影位置確認部と、
前記撮影位置確認部にて前記全メータの撮影が確認されなければ、カメラの撮影位置を補正する撮影位置補正部と、を備え、
前記撮影位置確認部は、事前に用意された前記各メータのテンプレート画像と前記撮影画像とのパターンマッチングを実行し、メータ毎の相関値を撮影位置確認結果として出力し、
前記撮影位置補正部は、前記各相関値と事前設定の閾値とを比較し、すべての前記相関値が前記閾値より小さくなければ前記撮影画像を正常と判定する一方、
前記相関値が前記閾値よりも小さいメータがあれば前記撮影位置の異常を判定して前記撮影位置を補正する
ことを特徴とする撮影位置の補正装置。
An apparatus for correcting a shooting position of the camera when reading meter display information from an image of a meter group shot by a camera,
An image input unit into which an image captured by the camera is input,
A photographing position confirming unit that confirms whether or not all the meters have been photographed in the photographed image input from the image input unit;
If the imaging of all meters is not confirmed by the imaging position confirmation unit, an imaging position correction unit that corrects the imaging position of the camera,
The photographing position confirmation unit performs pattern matching between the template image of each meter and the photographed image prepared in advance, and outputs a correlation value for each meter as a photographing position confirmation result,
The photographing position correction unit compares the correlation value with a preset threshold, and determines that the photographed image is normal unless all the correlation values are smaller than the threshold.
If there is a meter whose correlation value is smaller than the threshold value, an abnormality of the photographing position is determined and the photographing position is corrected, wherein the photographing position is corrected.
前記補正後の撮影画像を前記画像入力部から入力し、
前記撮影位置確認部にて前記補正後の撮影画像内に前記全メータが撮影されているか否かを再確認し、
前記撮影位置補正部は、前記再確認の結果として前記全メータの撮影が確認されなければ、
前記補正後の撮影画像の撮影位置を再補正することを特徴とする請求項1に記載された撮影位置の補正装置。
The captured image after the correction is input from the image input unit,
In the photographing position confirmation unit, reconfirm whether or not all the meters are photographed in the photographed image after the correction,
The imaging position correction unit, if the imaging of all meters is not confirmed as a result of the reconfirmation,
The photographing position correcting apparatus according to claim 1, wherein the photographing position of the photographed image after the correction is corrected again.
前記撮影位置補正部は、前記メータ群の水平方向の一方側または垂直方向の一方側に配置された前記メータの前記相関値が前記閾値よりも小さければ、
前記撮影位置を前記一方側に補正することを特徴とする請求項1または2に記載された撮影位置の補正装置。
The photographing position correction unit, if the correlation value of the meter arranged on one side in the horizontal direction or one side in the vertical direction of the meter group is smaller than the threshold,
The apparatus according to claim 1, wherein the photographing position is corrected to the one side.
前記撮影位置補正部は、二つの前記閾値(閾値1>閾値2≠0)を用いて前記相関値を三段階で評価し、
「相関値≧閾値1」を「高」と評価し、「閾値1>相関値≧閾値2」を「中」と評価し、「閾値2>相関値≧0」を「低」と評価し、
すべての前記相関値の評価が「低」であれば、前記撮影画像の四隅を特徴として、それぞれの特徴が中心となるように順に撮影位置を補正し、
前記撮影位置確認部で出力された前記補正後の撮影画像の相関値を、二つの前記閾値を用いて前記三段階で再評価し、
前記再評価の結果、前記メータ群の水平方向の一方側または垂直方向の一方側の前記評価が低ければ、
前記一方側に撮影位置を補正することを特徴とする請求項2記載された撮影位置の補正装置。
The imaging position correction unit evaluates the correlation value in three steps using two thresholds (threshold 1> threshold 2 ≠ 0),
“Correlation value ≧ threshold value 1” is evaluated as “high”, “threshold value 1> correlation value ≧ threshold value 2” is evaluated as “medium”, “threshold value 2> correlation value ≧ 0” is evaluated as “low”,
If the evaluation of all the correlation values is "low", the four corners of the captured image are features, and the shooting position is corrected in order so that each feature is the center,
The correlation value of the corrected captured image output by the capturing position confirmation unit, re-evaluated in the three stages using two thresholds,
As a result of the re-evaluation, if the evaluation of one side in the horizontal direction or one side in the vertical direction of the meter group is low,
The apparatus according to claim 2, wherein the camera position is corrected to the one side.
カメラで撮影されたメータ群の画像からメータ表示情報を読み取るにあたって、コンピュータにより前記カメラの撮影位置を補正する方法であって、
前記カメラで撮影された画像を入力する画像入力ステップと、
前記画像入力ステップで入力された撮影画像内に前記全メータが撮影されているか否かを確認する撮影位置確認ステップと、
前記撮影位置確認ステップにて前記全メータの撮影が確認されなければ、カメラの撮影位置を補正する撮影位置補正ステップと、有し、
前記撮影位置確認ステップにおいて、事前に用意された前記各メータのテンプレート画像と前記撮影画像とのパターンマッチングを実行し、メータ毎の相関値を撮影位置確認結果として出力し、
前記撮影位置補正ステップにおいて、前記各相関値と事前設定の閾値とを比較し、すべての前記相関値が前記閾値より小さくなければ前記撮影画像を正常と判定する一方、
前記相関値が前記閾値よりも小さいメータがあれば前記撮影位置の異常を判定して前記撮影位置を補正する
ことを特徴とする撮影位置の補正方法。
When reading the meter display information from the image of the meter group photographed by the camera, a method for correcting the photographing position of the camera by a computer,
An image input step of inputting an image taken by the camera,
A photographing position confirming step of confirming whether or not all the meters have been photographed in the photographed image input in the image input step,
If photographing of all meters is not confirmed in the photographing position confirmation step, a photographing position correction step of correcting a photographing position of a camera,
In the photographing position confirmation step, pattern matching is performed between the template image of each meter and the photographed image prepared in advance, and a correlation value for each meter is output as a photographing position confirmation result,
In the photographing position correction step, comparing each of the correlation values and a preset threshold value, while determining that the photographed image is normal unless all the correlation values are smaller than the threshold value,
If there is a meter whose correlation value is smaller than the threshold value, an abnormality of the photographing position is determined and the photographing position is corrected.
前記画像入力ステップは、前記補正後の撮影画像を再入力するステップを有し、
前記撮影位置確認ステップは、前記補正後の撮影画像内に前記全メータが撮影されているか否かを再確認するステップを有し、
前記撮影位置補正ステップは、前記再確認の結果として前記全メータの撮影が確認されなければ、前記補正後の撮影画像の撮影位置を再補正するステップを有する
ことを特徴とする請求項5に記載された撮影位置の補正方法。
The image input step has a step of re-inputting the captured image after the correction,
The photographing position confirming step has a step of reconfirming whether or not all the meters are photographed in the photographed image after the correction,
The photographing position correcting step includes a step of re-correcting a photographing position of the photographed image after the correction if photographing of all the meters is not confirmed as a result of the reconfirmation. Corrected shooting position.
前記撮影位置補正ステップにおいて、
前記メータ群の水平方向の一方側または垂直方向の一方側に配置された前記メータの前記相関値が前記閾値よりも小さければ、
前記撮影位置を前記一方側に補正することを特徴とする請求項5または6に記載された撮影位置の補正方法。
In the photographing position correction step,
If the correlation value of the meter arranged on one side in the horizontal direction or one side in the vertical direction of the meter group is smaller than the threshold,
7. The method according to claim 5, wherein the photographing position is corrected to the one side.
前記撮影位置補正ステップにおいて、二つの前記閾値(閾値1>閾値2≠0)を用いて前記相関値を三段階で評価し、
「相関値≧閾値1」を「高」と評価し、「閾値1>相関値≧閾値2」を「中」と評価し、「閾値2>相関値≧0」を「低」と評価し、
すべての前記相関値の評価が「低」であれば、前記撮影画像の四隅を特徴として、それぞれの特徴が中心となるように順に撮影位置を補正し、
前記撮影位置確認部で出力された前記補正後の撮影画像の相関値を、二つの前記閾値を用いて前記三段階で再評価し、
前記再評価の結果、前記メータ群の水平方向の一方側または垂直方向の一方側の前記評価が低ければ、
前記一方側に撮影位置を補正することを特徴とする請求項6に記載された撮影位置の補正方法。
In the photographing position correcting step, the correlation value is evaluated in three steps using two thresholds (threshold 1> threshold 2 ≠ 0),
“Correlation value ≧ threshold value 1” is evaluated as “high”, “threshold value 1> correlation value ≧ threshold value 2” is evaluated as “medium”, “threshold value 2> correlation value ≧ 0” is evaluated as “low”,
If the evaluation of all the correlation values is "low", the four corners of the captured image are features, and the shooting position is corrected in order so that each feature is the center,
The correlation value of the corrected captured image output by the capturing position confirmation unit, re-evaluated in the three stages using two thresholds,
As a result of the re-evaluation, if the evaluation of one side in the horizontal direction or one side in the vertical direction of the meter group is low,
7. The method according to claim 6, wherein the photographing position is corrected to the one side.
JP2018183870A 2018-09-28 2018-09-28 Shooting position correction device, shooting position correction method Active JP7103126B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018183870A JP7103126B2 (en) 2018-09-28 2018-09-28 Shooting position correction device, shooting position correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018183870A JP7103126B2 (en) 2018-09-28 2018-09-28 Shooting position correction device, shooting position correction method

Publications (2)

Publication Number Publication Date
JP2020052903A true JP2020052903A (en) 2020-04-02
JP7103126B2 JP7103126B2 (en) 2022-07-20

Family

ID=69997373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018183870A Active JP7103126B2 (en) 2018-09-28 2018-09-28 Shooting position correction device, shooting position correction method

Country Status (1)

Country Link
JP (1) JP7103126B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5559894A (en) * 1993-06-28 1996-09-24 Lubliner; David J. Automated meter inspection and reading

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5559894A (en) * 1993-06-28 1996-09-24 Lubliner; David J. Automated meter inspection and reading

Also Published As

Publication number Publication date
JP7103126B2 (en) 2022-07-20

Similar Documents

Publication Publication Date Title
US10506151B2 (en) Information acquisition apparatus
CN105407342B (en) The calibration method of image calibration system and stereo camera
KR101874098B1 (en) DlAGNOSTIC AND MANAGING METHOD OF NEW RENEWABLE ENERGY APPATUS USING MOBILE DEVICE AND THE SYSTEM THEREOF
JP5879431B2 (en) Rotor blade diagnosis
CN102768816A (en) Automatic LED (light-emitting diode) display screen correction method
JP6765791B2 (en) A method for creating a reference image set for pattern matching, a device for creating a reference image set for pattern matching, a work recognition method, a program, and a recording medium.
CN113610788B (en) Fault monitoring method and device for image acquisition device, electronic equipment and storage medium
JP2017194946A (en) Management device, management method, and management program
US11499738B2 (en) System for device addition or replacement that uses a code scan
TW201907153A (en) Image inspection device, production system, image inspection method, program and memory medium
US9858692B2 (en) Test support apparatus, test support method, and test support program for plant monitoring system
KR101446324B1 (en) Management system for pipe of the process of semiconductor and method thereof
JP2020052903A (en) Imaging position correcting apparatus, and imaging position correcting method
US20210065468A1 (en) Systems and methods for artificial intelligence in a vehicle service environment
US20200260069A1 (en) Method and system for monitoring equipment state
KR20180037347A (en) Board inspection apparatus and method of compensating board distortion using the same
JP2017146866A (en) Apparatus monitoring system
WO2023113754A1 (en) Calibration and management method of ptz cameras
KR20190133373A (en) Auto producting system and method for 3d interior space image based on the information of reflrction image cloud
US20210400033A1 (en) Configuration of devices for business management systems
KR102217627B1 (en) Dron waytpoint creating system and method for monitoring road slope using dron
JP2005122378A (en) Quality control system for housing construction
JP6503248B2 (en) Device confirmation system and method
JP4397898B2 (en) Digitized drawing photographing apparatus and method
CN105225062A (en) A kind of disposal route of transmission line of electricity defect elimination information and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210203

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220118

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220225

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220620

R150 Certificate of patent or registration of utility model

Ref document number: 7103126

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150