JP7670261B2 - Float meter reading program, float meter reading device, and float meter reading method - Google Patents
Float meter reading program, float meter reading device, and float meter reading method Download PDFInfo
- Publication number
- JP7670261B2 JP7670261B2 JP2021092181A JP2021092181A JP7670261B2 JP 7670261 B2 JP7670261 B2 JP 7670261B2 JP 2021092181 A JP2021092181 A JP 2021092181A JP 2021092181 A JP2021092181 A JP 2021092181A JP 7670261 B2 JP7670261 B2 JP 7670261B2
- Authority
- JP
- Japan
- Prior art keywords
- image data
- float
- partial image
- learning
- float meter
- 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
Links
- 238000000034 method Methods 0.000 title claims description 71
- 238000012795 verification Methods 0.000 claims description 26
- 238000012545 processing Methods 0.000 claims description 20
- 230000004044 response Effects 0.000 claims description 11
- 230000009466 transformation Effects 0.000 claims description 11
- 238000010801 machine learning Methods 0.000 claims description 6
- 230000010365 information processing Effects 0.000 description 32
- 238000000605 extraction Methods 0.000 description 22
- 238000010586 diagram Methods 0.000 description 20
- 238000004364 calculation method Methods 0.000 description 15
- 239000000284 extract Substances 0.000 description 6
- 238000003384 imaging method Methods 0.000 description 6
- 238000003702 image correction Methods 0.000 description 5
- 239000011521 glass Substances 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 239000007789 gas Substances 0.000 description 2
- 239000007788 liquid Substances 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000012530 fluid Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000011179 visual inspection Methods 0.000 description 1
Images
Landscapes
- Measuring Volume Flow (AREA)
Description
本発明は、フロートメータ読取プログラム、フロートメータ読取装置及びフロートメータ読取方法関する。 The present invention relates to a float meter reading program, a float meter reading device, and a float meter reading method.
例えば、半導体の製造等を行う工場には、一般的に、各機器の温度や圧力等の計測を行うための多くのアナログメータが配置されている。具体的に、上記のような工場では、例えば、各機器を流れる液体や気体の流量を計測するフロートメータが配置されている。 For example, factories that manufacture semiconductors and the like generally have many analog meters installed to measure the temperature, pressure, and other aspects of each piece of equipment. Specifically, factories such as the one described above are equipped with, for example, float meters that measure the flow rate of liquids or gases flowing through each piece of equipment.
そして、作業者は、例えば、定期的なタイミングにおいて工場内を巡回し、各アナログメータが指し示している値を確認する。その後、作業者は、例えば、各アナログメータの値を用いて必要な計算を行い、工場内において異常(例えば、機器の故障等)が発生しているか否かについての判定を行う。その結果、工場内において異常が発生していると判定した場合、作業者は、例えば、異常が発生した機器の交換を行うための手配等を行う(特許文献1乃至2参照)。
The worker then, for example, patrols the factory at regular intervals and checks the values indicated by each analog meter. After that, the worker, for example, performs necessary calculations using the values of each analog meter and determines whether or not an abnormality (e.g., equipment failure, etc.) has occurred within the factory. As a result, if it is determined that an abnormality has occurred within the factory, the worker, for example, makes arrangements to replace the equipment with the abnormality (see
ここで、上記のようなアナログメータの読み取りは、一般的に、作業者の目視によって行われる。そのため、上記のようなアナログメータの読み取りでは、値の読み取りミスや管理システム(図示せず)への入力ミス等が発生する可能性がある。 The reading of the analog meter as described above is generally performed by the worker's visual inspection. Therefore, when reading the analog meter as described above, there is a possibility that errors may occur in reading the value or inputting the value into the management system (not shown).
特に、各目盛りの間隔が一定ではないフロートメータの読み取りは、通常、他のアナログメータの読み取りよりも困難性が高い。そのため、フロートメータの読み取りでは、他のアナログメータの読み取りが行われる場合よりも値の読み取りミスや入力ミス等の発生頻度が高くなる。 In particular, reading a float meter, whose scales are not spaced uniformly, is usually more difficult than reading other analog meters. As a result, reading float meters is more prone to errors in reading or inputting values than reading other analog meters.
そこで、本発明の目的は、フロートメータの値の読み取りや入力を自動的に行うことを可能とするフロートメータ読取プログラム、フロートメータ読取装置及びフロートメータ読取方法を提供することにある。 The object of the present invention is to provide a float meter reading program, a float meter reading device, and a float meter reading method that enable the reading and input of float meter values to be performed automatically.
上記目的を達成するための本発明におけるフロートメータ読取プログラムは、内部を垂直方向に移動するフロートを有するフロートメータが含まれる検証用画像データから、前記フロートメータを含む第1部分画像データを抽出し、抽出した前記第1部分画像データから、前記フロートを含む第2部分画像データを抽出し、抽出した前記第2部分画像データから、前記フロートに含まれる第1部分及び第2部分についての前記垂直方向における第1位置及び第2位置をそれぞれ特定し、特定した前記第1位置及び第2位置から、前記フロートの前記垂直方向における上端位置を特定し、前記フロートメータにおける前記垂直方向の各位置と前記フロートメータにおける各目盛り値との関係式を用いることによって、特定した前記上端位置に対応する前記フロートメータの目盛り値を算出する、処理をコンピュータに実行させることを特徴とする。 The float meter reading program of the present invention for achieving the above object is characterized in that it causes a computer to execute the following process: extracting first partial image data including a float meter from verification image data including a float meter having a float that moves vertically inside the float; extracting second partial image data including the float from the extracted first partial image data; identifying first and second positions in the vertical direction for the first and second parts included in the float from the extracted second partial image data; identifying the top end position of the float in the vertical direction from the identified first and second positions; and calculating the float meter scale value corresponding to the identified top end position by using a relational equation between each position in the vertical direction of the float meter and each scale value of the float meter.
本発明におけるフロートメータ読取プログラム、フロートメータ読取装置及びフロートメータ読取方法によれば、フロートメータの値の読み取りや入力を自動的に行うことを可能とする。 The float meter reading program, float meter reading device, and float meter reading method of the present invention make it possible to automatically read and input float meter values.
以下、図面を参照して本発明の実施の形態について説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。 Below, an embodiment of the present invention will be described with reference to the drawings. However, such an embodiment does not limit the technical scope of the present invention.
初めに、第1の実施の形態における情報処理装置1(以下、フロートメータ読取装置1とも呼ぶ)の構成例について説明を行う。図1は、第1の実施の形態における情報処理装置1の構成例を示す図である。
First, a configuration example of the information processing device 1 (hereinafter also referred to as the float meter reading device 1) in the first embodiment will be described. FIG. 1 is a diagram showing a configuration example of the
情報処理装置1は、コンピュータ装置であって、例えば、汎用的なPC(Personal Computer)である。そして、情報処理装置1は、例えば、図示しないフロートメータが示す値を自動的に読み取る処理(以下、フロートメータ読取処理とも呼ぶ)を行う。
The
情報処理装置1は、汎用的なコンピュータ装置のハードウエア構成を有し、例えば、図1に示すように、プロセッサであるCPU101と、メモリ102と、通信インタフェース103と、記憶媒体104とを有する。各部は、バス105を介して互いに接続される。
The
記憶媒体104は、例えば、フロートメータ読取処理を行うためのプログラム(図示しない)を記憶するプログラム格納領域(図示しない)を有する。
The
また、記憶媒体104は、例えば、フロートメータ読取処理を行う際に用いられる情報を記憶する記憶部110(以下、記憶領域110とも呼ぶ)を有する。なお、記憶媒体104は、例えば、HDD(Hard Disk Drive)やSSD(Solid State Drive)であってよい。
The
CPU101は、記憶媒体104からメモリ102にロードされたプログラムを実行してフロートメータ読取処理を行う。
The
通信インタフェース103は、例えば、インターネット網等のネットワークNWを介してスマートフォン等の操作端末2と通信を行う。
The
[フロートメータの具体例]
次に、フロートメータ10の具体例について説明を行う。図2は、フロートメータ10の具体例について説明する図である。
[Example of a float meter]
Next, a specific example of the
フロートメータ10は、図2に示すように、例えば、垂直方向に延びる円筒形状のガラス管11と、ガラス管11の内部を垂直方向に移動するフロート12とを有している。なお、ガラス管11の側面に付加された目盛り11aの間隔は、図2に示すように、垂直方向における上側から下側に向かって広がっている。
As shown in Fig. 2, the
そして、作業者は、例えば、フロート12の上端縁に対応する位置12a(以下、上端位置12aとも呼ぶ)に対応する目盛り11aの値(以下、目盛り値とも呼ぶ)を読み取ることによって、ガラス管11内部に流入した気体や液体等の流体の流量を計測する。
Then, the operator measures the flow rate of the fluid, such as gas or liquid, that has flowed into the
また、フロートメータ10には、図2に示すように、4つの円形領域である第1基準領域13a、13b、13c及び13d(以下、これらを総称して第1基準領域13とも呼ぶ)と、2つの矩形領域である第2基準領域14a及び14b(以下、これらを総称して第2基準領域14とも呼ぶ)とを有する。第1基準領域13のそれぞれは、例えば、フロートメータ10に貼付された円形のシール(例えば、青色のシール)であり、第2基準領域14のそれぞれは、例えば、フロートメータ10に貼付された矩形のシール(例えば、黄色のシール)である。第1基準領域13及び第2基準領域14の用途については後述する。
2, the
なお、以下、目盛り11aの読み取りがフロート12の上端位置12aを基準として行われるものとして説明を行うが、目盛り11aの読み取りは、フロート12における上端位置12a以外の位置を基準として行うものであってもよい。
In the following description, the reading of the
[第1の実施の形態の概略]
図3及び図4は、第1の実施の形態におけるフロートメータ読取処理の概略を説明する図である。具体的に、図3は、第1の実施の形態におけるフロートメータ読取処理のうち、学習段階の処理について説明する図である。また、図4は、第1の実施の形態におけるフロートメータ読取処理のうち、推論段階の処理について説明する図である。
[Outline of the first embodiment]
Fig. 3 and Fig. 4 are diagrams for explaining an outline of the float meter reading process in the first embodiment. Specifically, Fig. 3 is a diagram for explaining the learning stage process of the float meter reading process in the first embodiment. Also, Fig. 4 is a diagram for explaining the inference stage process of the float meter reading process in the first embodiment.
初めに、第1の実施の形態におけるフロートメータ読取処理のうち、学習段階の処理について説明を行う。 First, we will explain the learning stage of the float meter reading process in the first embodiment.
情報処理装置1の第1データ生成部111は、図3に示すように、例えば、フロートメータ10が映る学習用画像データ(以下、第1学習用画像データとも呼ぶ)に対し、第1学習用画像データにおけるフロートメータ10の位置についての情報(以下、位置情報とも呼ぶ)を付加することによって学習データ(以下、第1学習データとも呼ぶ)を生成する。
As shown in FIG. 3, the first
具体的に、第1データ生成部111は、例えば、目盛り11aと4つの第1基準領域13とが少なくとも含まれる第1学習用画像データに対し、第1学習用画像データにおけるフロートメータ10の位置情報を付加することによって第1学習データを生成する。
Specifically, the
なお、第1データ生成部111は、生成済の第1学習データのサイズや色等を変更することによって、さらなる第1学習データを生成するものであってもよい。
The first
そして、情報処理装置1の第1モデル生成部112は、例えば、第1データ生成部111が生成した複数の第1学習データを用いた機械学習を行うことによって、学習モデル(以下、第1学習モデルとも呼ぶ)を生成する。その後、第1モデル生成部112は、生成した第1学習モデルを記憶領域110に記憶する。
Then, the first
すなわち、第1モデル生成部112は、複数の第1学習データを用いることによって、推論段階において検出用画像からフロートメータ10が映る部分画像データ(以下、第1部分画像データとも呼ぶ)を抽出する際に用いられる第1学習モデルを生成する。
In other words, the first
また、情報処理装置1の第2データ生成部113は、例えば、フロートメータ10の内部を移動するフロート12が映る学習用画像データ(以下、第2学習用画像データとも呼ぶ)に対し、第2学習用画像データにおけるフロート12の位置情報を付加することによって学習データ(以下、第2学習データとも呼ぶ)を生成する。
The second
具体的に、第2データ生成部113は、例えば、フロート12とフロート12の上端位置12aよりも垂直方向上側である領域(例えば、垂直方向の長さがフロート12の長さと同一である領域)とが映る第2学習用画像データに対し、第2学習用画像データにおけるフロート12の位置情報を追加することによって第2学習データを生成する。
Specifically, the second
なお、第2データ生成部113は、生成済の第2学習データのサイズや色等を変更することによって、さらなる第2学習データを生成するものであってもよい。
The second
そして、情報処理装置1の第2モデル生成部114は、例えば、第2データ生成部113が生成した複数の第2学習データを用いた機械学習を行うことによって、学習モデル(以下、第2学習モデルとも呼ぶ)を生成する。その後、第2モデル生成部114は、生成した第2学習モデルを記憶領域110に記憶する。
The second
すなわち、第2モデル生成部114は、複数の第2学習データを用いることによって、推論段階において第1部分画像データからフロート12についての部分画像データ(以下、第2部分画像データとも呼ぶ)を抽出する際に用いられる第2学習モデルを生成する。
In other words, the second
次に、第1の実施の形態におけるフロートメータ読取処理のうち、推論段階の処理について説明を行う。 Next, we will explain the inference stage of the float meter reading process in the first embodiment.
情報処理装置1の第1画像抽出部121は、例えば、検証用画像データからフロートメータについての第1部分画像データを抽出する。検証用画像データは、例えば、第1学習用データと同一のフロートメータ10が映る画像データである。
The first
具体的に、第1画像抽出部121は、記憶領域110に記憶された第1学習モデルに対する検証用画像データの入力に伴って出力される値が示す位置情報を特定する。そして、第1画像抽出部121は、特定した位置情報に対応する第1部分画像データを検証用画像データから抽出する。
Specifically, the first
そして、情報処理装置1の画像補正部122は、例えば、第1画像抽出部121が抽出した第1部分画像データについてホモグラフィー変換を行う。
Then, the
続いて、情報処理装置1の第2画像抽出部123は、第1画像抽出部121が抽出した第1部分画像データからフロート12についての第2部分画像データを抽出する。
Next, the second
具体的に、第2画像抽出部123は、記憶領域110に記憶された第2学習モデルに対する第1部分画像データの入力に伴って出力される値が示す位置情報を特定する。そして、第2画像抽出部123は、特定した位置情報に対応する第2部分画像データを第1部分画像データから抽出する。
Specifically, the second
その後、情報処理装置1の位置特定部124は、第2画像抽出部123が抽出した第2部分画像データから、第2画像データに映るフロート12を構成する第1部分及び第2部分についての垂直方向における第1位置及び第2位置をそれぞれ特定する。
Then, the
具体的に、位置特定部124は、例えば、第2画像抽出部123が抽出した第2部分画像データの垂直方向における複数の位置のそれぞれについて、各位置における垂直方向に直交する方向(以下、水平方向とも呼ぶ)の画素値の合計値を算出する。そして、位置特定部124は、例えば、第2画像抽出部123が抽出した第2部分画像データの垂直方向における複数の位置のうち、算出した合計値が閾値以下である位置のうちのいずれか2つを、第1位置及び第2位置としてそれぞれ特定する。
Specifically, the
そして、情報処理装置1の上端特定部125は、位置特定部124が特定した第1位置及び第2位置のそれぞれを用いることにより、第2画像データに映るフロート12の上端位置12aを特定する。
Then, the top
具体的に、上端特定部125は、例えば、上端位置12aから第1位置までの長さに対する上端位置12aから第2位置までの長さの割合と、第2部分画像データにおける第1位置及び第2位置とから、第2画像データに映るフロート12の上端位置12aを特定する。
Specifically, the top
さらに、情報処理装置1の値算出部126は、例えば、フロートメータ10における垂直方向の各位置とフロートメータ10の目盛り11aにおける各目盛り値との関係式を用いることによって、上端特定部125が特定した上端位置12aに対応するフロートメータ10の目盛り値を算出する。
Furthermore, the
具体的に、作業者は、例えば、第1学習用画像に映るフロートメータ10における垂直方向の位置と、第1学習用画像に映るフロートメータ10の目盛り11aにおける目盛り値との組合せを複数用いることによって近似式を生成する。そして、値算出部126は、例えば、生成された近似式を用いることによって、上端特定部125が特定した上端位置12aに対応する目盛り値を算出する。以下、目盛り値の算出に用いる近似式が2次近似式であるものとして説明を行うが、この近似式は、例えば、3次近似式、4次近似式または対数近似式等であってもよい。
Specifically, the operator generates an approximation equation by using multiple combinations of the vertical position of the
すなわち、一般的なフロートメータでは、フロートにおける目盛りの読み取りに用いられる部分(例えば、フロートの上端位置)の形状とフロートにおける他の部分の形状とが類似している場合がある。そのため、例えば、フロートメータ10が映る検証用画像データの入力に応じてフロート12の上端位置12aを出力する単一の学習モデルを用いる場合、情報処理装置1は、上端位置12a以外の位置を上端位置12aとして特定する可能性があり、例えば、フロート12の一部が含まれない画像データを第2部分画像データとして出力する可能性がある。
That is, in a typical float meter, the shape of the part of the float used to read the scale (e.g., the top end position of the float) may be similar to the shape of other parts of the float. Therefore, for example, when using a single learning model that outputs the
そこで、本実施の形態における情報処理装置1は、学習段階において、フロート12だけでなく、フロート12の上端位置12aよりも垂直方向上側を含む領域についての位置情報が付加された第2学習データを用いることによって第2学習モデルを生成する。そして、情報処理装置1は、推論段階において、第2学習モデルから出力された第2部分画像データからフロート12の上端位置12aを特定する。
In this embodiment, the
これにより、本実施の形態における情報処理装置1は、上端位置12a以外の位置を上端位置12aとして特定した場合であっても、フロート12の全体が含まれる第2部分画像データを出力することが可能な第2学習モデルを生成することが可能になる。そのため、本実施の形態における情報処理装置1は、例えば、目盛り11aの読み取りに用いられる部分の形状と他の部分の形状とが類似しているフロート12についても、目盛り11aの読み取りを精度良く行うことが可能になる。
As a result, the
なお、本実施の形態において生成される第1学習モデル及び第2学習モデルは、例えば、SSD(Single Shot Multibox Detector)による学習モデルやYOLO(You Only Look Once)による学習モデルであってよい。 The first learning model and the second learning model generated in this embodiment may be, for example, a learning model based on SSD (Single Shot Multibox Detector) or a learning model based on YOLO (You Only Look Once).
[第1の実施の形態の詳細]
次に、第1の実施の形態におけるフロートメータ読取処理の詳細について説明を行う。図5から図7は、第1の実施の形態におけるフロートメータ読取処理の詳細を説明するフローチャート図である。また、図8から図14は、第1の実施の形態におけるフロートメータ読取処理の詳細を説明する図である。
[Details of the First Embodiment]
Next, the details of the float meter reading process in the first embodiment will be described. Figures 5 to 7 are flow charts for explaining the details of the float meter reading process in the first embodiment. Figures 8 to 14 are diagrams for explaining the details of the float meter reading process in the first embodiment.
[学習段階における処理]
初めに、第1の実施の形態におけるフロートメータ読取処理の詳細のうち、学習段階における処理について説明を行う。図5は、学習段階における処理について説明する図である。
[Processing in the learning stage]
First, the process in the learning stage will be described in detail in the float meter reading process in the first embodiment. FIG 5 is a diagram for explaining the process in the learning stage.
第1データ生成部111は、図5に示すように、例えば、学習タイミングになるまで待機する(S11のNO)。学習タイミングは、例えば、作業者が操作端末2を介して第1学習用画像データを入力したタイミングであってよい。また、学習タイミングは、例えば、作業者が各学習モデルの生成を行う旨の情報を入力したタイミングであってよい。
As shown in FIG. 5, the first
そして、学習タイミングなった場合(S11のYES)、第1データ生成部111は、第1学習用画像データのそれぞれに対し、各画像データにおけるフロートメータ10の位置情報を付加することによって、第1学習データを生成する(S12)。
Then, when the learning timing arrives (YES in S11), the first
具体的に、第1データ生成部111は、図8に示すように、例えば、フロートメータ10を含むバウンディングボックスB1(作業者によって指定されたバウンディングボックスB1)を用いることによって、第1学習用画像データDT11に対してフロートメータ10の位置情報を付加する。
Specifically, as shown in FIG. 8, the first
さらに具体的に、作業者は、例えば、撮像装置(図示しない)によって撮影された動画データに含まれる各フレームに対応する画像データを第1学習用画像データDT11として用意する。そして、作業者は、バウンディングボックスB1を用いることによって、フロートメータ10の位置情報を第1学習用画像データDT11に対して付加する。その後、第1データ生成部111は、例えば、第1学習用画像データDT11と、バウンディングボックスB1の左上の座標(X座標及びY座標)と、バウンディングボックスB1の縦及び横の長さとを対応付けることによって第1学習データを生成する。
More specifically, the worker prepares image data corresponding to each frame included in video data captured by an imaging device (not shown), for example, as the first learning image data DT11. The worker then adds position information of the
なお、撮像装置は、例えば、非固定のカメラであってもよい。また、撮像装置は、例えば、操作端末2に内蔵されているものであってもよい。
The imaging device may be, for example, a non-fixed camera. The imaging device may also be, for example, built into the
その後、第1モデル生成部112は、S12の処理で生成した第1学習データを用いた機械学習を行うことによって、第1学習モデルを生成する(S13)。
Then, the first
続いて、第2データ生成部113は、第2学習用画像データのそれぞれに対し、各画像データにおけるフロート12の位置情報を付加することによって、第2学習データを生成する(S14)。
Next, the second
具体的に、第2データ生成部113は、図9に示すように、例えば、フロート12を含むバウンディングボックスB2(作業者によって指定されたバウンディングボックスB2)を用いることによって、第2学習用画像データDT12に対してフロート12を含む領域の位置情報を付加する。
Specifically, as shown in FIG. 9, the second
さらに具体的に、第2データ生成部113は、例えば、S13の処理で生成した第1学習モデルに対する第1学習用画像データDT11の入力に伴って出力される画像データを第2学習用画像データDT12として取得する。そして、作業者は、バウンディングボックスB2を用いることによって、フロート12とフロート12の上端位置12aよりも垂直方向上側とが映る領域の位置情報を第2学習用画像データDT12に対して付加する。その後、第2データ生成部113は、例えば、第2学習用画像データDT12と、バウンディングボックスB2の左上の座標(X座標及びY座標)と、バウンディングボックスB2の縦及び横の長さとを対応付けることによって第2学習データを生成する。
More specifically, the second
その後、第2モデル生成部114は、S14の処理で生成した第2学習データを用いた機械学習を行うことによって、第2学習モデルを生成する(S15)。
Then, the second
これにより、作業者は、後述する推論段階において用いる各学習モデルを生成することが可能になる。 This allows the worker to generate each learning model to be used in the inference stage described below.
[推論段階における処理]
次に、第1の実施の形態におけるフロートメータ読取処理の詳細のうち、推論段階における処理について説明を行う。図6及び図7は、推論段階における処理について説明する図である。
[Processing in the inference stage]
Next, the process in the inference stage of the float meter reading process in the first embodiment will be described in detail with reference to Figs. 6 and 7.
第1画像抽出部121は、図6に示すように、判定タイミングなるまで待機する(S21のNO)。判定タイミングは、例えば、作業者が操作端末2を介して検証用画像データを入力したタイミングであってよい。また、判定タイミングは、例えば、作業者が検証用画像データの判定を行う旨の情報を入力したタイミングであってよい。
As shown in FIG. 6, the first
そして、判定タイミングになった場合(S21のYES)、第1画像抽出部121は、フロートメータ10についての検証用画像データを取得する(S22)。
Then, when the determination timing arrives (YES in S21), the first
具体的に、第1画像抽出部121は、図10(A)に示すように、例えば、撮像装置によって撮影された動画データに含まれる各フレームに対応する画像データを検証用画像データDT21として受信する。
Specifically, as shown in FIG. 10(A), the first
続いて、第1画像抽出部121は、S22の処理で取得した検証用画像データを入力することに伴って第1学習モデルから出力される値を取得する(S23)。
Next, the first
そして、第1画像抽出部121は、S23の処理で取得した値に対応する第1部分画像データを、S22の処理で取得した検証用画像データから抽出する(S24)。
Then, the first
具体的に、第1画像抽出部121は、図10(B)に示すように、例えば、S21の処理で取得した検証用画像データのうち、フロートメータ10が映る部分に対応する画像データを第1部分画像データDT22として取得する。
Specifically, as shown in FIG. 10(B), the first
画像補正部122は、S24の処理で抽出した第1部分画像データについてホモグラフィー変換を行う(S25)。
The
具体的に、画像補正部122は、例えば、S24の処理で抽出した第1部分画像データDT22に映るフロートメータ10における第2基準領域14のそれぞれが予め指定された位置に移動するように、ホモグラフィー変換を行う。
Specifically, the
すなわち、画像補正部122は、第1部分画像データDT22についてのホモグラフィー変換を行うことで第1部分画像データDT22の正規化を行い、第1部分画像データDT22に映るフロートメータ10における第2基準領域14のそれぞれの位置を補正する。
That is, the
これにより、情報処理装置1は、全ての第1部分画像データDT22に映る第2基準領域14の位置を合わせることが可能になる。そのため、情報処理装置1は、後述するように、第2基準領域14の位置等に基づくことによってフロート12の上端位置12aを特定することが可能になる。
This enables the
なお、画像補正部122は、例えば、第1部分画像データDT22についてのホモグラフィー変換を、第1部分画像データDT22についての二値化等の強調処理を行うことによって第1基準領域13を強調させてから行うものであってもよい。
In addition, the
これにより、情報処理装置1は、例えば、後述する第1位置及び第2位置の特定をより行い易くすることが可能になる。
This enables the
次に、第2画像抽出部123は、S25の処理でホモグラフィー変換を行った第1部分画像データを入力することに伴って第2学習モデルから出力される値を取得する(S26)。
Next, the second
そして、第2画像抽出部123は、図7に示すように、S26の処理で取得した値に対応する第2部分画像データを、S25の処理でホモグラフィー変換を行った第1部分画像データから抽出する(S31)。
Then, as shown in FIG. 7, the second
具体的に、第2画像抽出部123は、図11(B)に示すように、例えば、S25の処理でホモグラフィー変換を行った第1部分画像データDT22(図11(A))のうち、フロート12が映る部分に対応する画像データを第2部分画像データDT23として取得する。
Specifically, as shown in FIG. 11(B), the second
さらに具体的に、第2画像抽出部123は、図11(B)に示すように、フロート12に加えて、フロート12の上端位置12aよりも垂直方向上側の領域が映る画像データを第2部分画像データDT23として取得する。
More specifically, as shown in FIG. 11(B), the second
続いて、位置特定部124は、S31の処理で抽出した第2部分画像データの垂直方向における複数の位置のそれぞれについて、各位置における水平方向の画素値の合計値(以下、単に合計値とも呼ぶ)を算出する(S32)。
Next, the
そして、位置特定部124は、例えば、S32の処理で算出した合計値が所定の条件を満たす位置のうちのいずれか2つを、第1位置及び第2位置として特定する(S33)。具体的に、位置特定部124は、例えば、S32の処理で算出した合計値が閾値(以下、第1閾値とも呼ぶ)以下である位置のうちのいずれか2つを、第1位置及び第2位置として特定する。以下、S32及びS33の処理の具体例について説明を行う。
Then, the
[S32及びS33の処理の具体例]
図12及び図13は、S32及びS33の処理の具体例を説明する図である。具体的に、図12(A)は、フロート12の具体例を説明する図であり、図12(B)は、第2部分画像データDT23の具体例について説明する図である。また、図13は、第2部分画像データDT23の垂直方向における各位置の画素値の合計値を示すグラフである。図13における縦軸は、第2部分画像データDT23の垂直方向における位置(座標)を示し、図13における横軸は、各位置における水平方向の画素値の合計値を示している。なお、以下、各画像データにおける垂直方向の座標が上側から下側に向かって大きくなるものとして説明を行う。
[Specific example of processing in S32 and S33]
12 and 13 are diagrams for explaining a specific example of the processes of S32 and S33. Specifically, FIG. 12(A) is a diagram for explaining a specific example of the
初めに、フロート12の具体例について説明を行う。
First, we will explain a specific example of
フロート12は、図12(A)に示すように、例えば、目盛り11aを読み取る際の基準となる上端位置12aを有する。また、フロート12は、例えば、垂直方向における位置12b0と位置12b1との間の側面おいて凹部12bを有し、さらに、垂直方向の下端部において位置12c0から下方向に延びるテーパー部12cを有する。以下、図12(B)に示すように、第2部分画像データDT23における上端位置に対応する垂直方向における座標を座標b0とも呼び、第2部分画像データDT23における下端位置に対応する垂直方向における座標を座標b1とも呼び、凹部12bにおける位置12b0に対応する垂直方向における座標を座標y1とも呼び、凹部12bにおける位置12b1に対応する垂直方向における座標を座標y2とも呼び、テーパー部12cにおける位置c1に対応する垂直方向における座標を座標y3をとも呼ぶ。
As shown in FIG. 12(A), the
次に、S32及びS33の処理の具体例について説明を行う。 Next, we will explain specific examples of the processing in S32 and S33.
位置特定部124は、S32の処理において、例えば、第2部分画像データDT23を垂直方向における複数の位置のそれぞれについて、各位置における水平方向の画素値の合計値を算出する。ここでの複数の位置は、例えば、第2部分画像データDT23を垂直方向における各ピクセルに対応する位置である。
In the process of S32, the
続いて、位置特定部124は、例えば、図13に示すように、第2部分画像データDT23の垂直方向における各位置の画素値の合計値を示すグラフを生成する。
Next, the
具体的に、例えば、第2部分画像データDT23の垂直方向における長さ(座標b0から座標b1までの長さ)が「80」である場合、位置特定部124は、図13に示すように、例えば、座標b0を「0」とし、座標b1を「80」とした場合におけるグラフを生成する。
Specifically, for example, if the vertical length of the second partial image data DT23 (the length from coordinate b0 to coordinate b1) is "80", the
そして、位置特定部124は、S33の処理において、生成したグラフを参照し、第2部分画像データDT23を垂直方向における複数の位置のうち、画素値の合計値が閾値以下である位置を特定する。
Then, in the process of S33, the
具体的に、図13に示すグラフは、垂直方向における座標が「10」から「20」までの間の各点に対応する画素値の合計値と、垂直方向における座標が「60」から「70」までの間の各点に対応する画素値の合計値とが特に小さいことを示している。そのため、位置特定部124は、例えば、垂直方向における座標が「10」から「20」までの間の各点のうち、画素値の合計値が最も小さい範囲の始点(例えば、「14」)及び終点(例えば、「16」)のそれぞれを座標y1及び座標y2として特定する。また、位置特定部124は、例えば、垂直方向における座標が「60」から「70」までの間の各点のうち、画素値の合計値が最も小さい範囲の始点(例えば、「68」)を座標y3として特定する。
Specifically, the graph shown in FIG. 13 indicates that the sum of pixel values corresponding to each point whose vertical coordinate is between "10" and "20" and the sum of pixel values corresponding to each point whose vertical coordinate is between "60" and "70" are particularly small. Therefore, the
すなわち、第2部分画像データDT23に映る凹部12bやテーパー部12cにおける水平方向の画素値の合計値は、検証用画像データDT21の撮影時における光の当たり方に起因して、例えば、フロート12における他の部分の画素値の合計値よりも小さくなる。そのため、位置特定部124は、例えば、画素値の合計値が閾値以下である位置を特定することで、座標y1、座標y2及び座標y3を特定することが可能になる。
That is, the sum of the horizontal pixel values in the
その後、位置特定部124は、例えば、座標y1、座標y2及び座標y3のうちの2つを第1位置及び第2位置として特定する。
Then, the
なお、S25の処理において、例えば、第1部分画像データDT22についての強調処理を行うことによって第1基準領域13を強調させてからホモグラフィー変換を行う場合、第2部分画像データDT23に映る凹部12bやテーパー部12cにおける水平方向の画素値の合計値は、フロート12における他の部分の画素値の合計値よりも大きくなる可能性がある。そのため、位置特定部124は、この場合、例えば、S32の処理で算出した合計値が閾値(以下、第2閾値とも呼ぶ)以上である位置のうちのいずれか2つを、第1位置及び第2位置として特定するものであってもよい(S33)。具体的に、位置特定部124は、例えば、画素値の合計値が閾値以上である位置を特定することで、座標y1、座標y2及び座標y3を特定するものであってよい。
In the process of S25, for example, when the first reference region 13 is enhanced by performing an enhancement process on the first partial image data DT22 and then homography transformation is performed, the sum of the horizontal pixel values in the
図7に戻り、上端特定部125は、S33で特定した第1位置及び第2位置から、フロート12の垂直方向における上端位置12aを特定する(S35)。
Returning to FIG. 7, the upper
具体的に、上端特定部125は、例えば、以下の式(1)、式(2)及び式(3)のいずれかを用いることによって、上端位置12aに対応する座標y0を算出する。以下の式(1)、式(2)及び式(3)において、c1、c2及びc3のそれぞれは、他の画像データ(図示しない)を用いて計測した上端位置12aから位置12b0までの長さ、上端位置12aから位置12b1までの長さ、及び、上端位置12aから位置12c0までの長さである。
Specifically, the top
さらに具体的に、例えば、S34の処理において座標y3及び座標y2を第1位置及び第2位置として特定した場合、上端特定部125は、例えば、以下の式(1)に従って座標y0を算出する。
More specifically, for example, if coordinates y3 and y2 are identified as the first position and the second position in the processing of S34, the upper
すなわち、例えば、上端位置12aから位置12c0までの長さを上端位置12aから位置12b1までの長さで割った値は、フロート12が映る全ての画像データにおいて同じ値である。そのため、位置特定部124は、例えば、他の画像データを用いて計測した上端位置12aから位置12c0までの長さを、他の画像データを用いて計測した上端位置12aから位置12b1までの長さで割った値を用いることによって座標y0を算出する。
That is, for example, the value obtained by dividing the length from the
また、例えば、S34の処理において座標y3及び座標y1が第1位置及び第2位置として特定した場合、上端特定部125は、例えば、以下の式(2)に従って座標y0を算出する。
For example, if the coordinates y3 and y1 are identified as the first and second positions in the processing of S34, the upper
また、例えば、S34の処理において座標y2及び座標y1を第1位置及び第2位置として特定した場合、上端特定部125は、例えば、以下の式(3)に従って座標y0を算出する。
For example, if the coordinates y2 and y1 are identified as the first and second positions in the processing of S34, the upper
なお、上端特定部125は、例えば、上記の式(1)、式(2)及び式(3)の全てを用いることによって上端位置12aの座標y0をそれぞれ算出するものであってもよい。そして、上端特定部125は、この場合、例えば、上記の式(1)、式(2)及び式(3)のそれぞれを用いることによって算出した座標y0の中央値や平均値を算出するものであってよい。
The upper
図7に戻り、値算出部126は、S34の処理で特定した上端位置12aに対応するフロートメータ10における目盛り値を算出する(S35)。
Returning to FIG. 7, the
具体的に、値算出部126は、図14に示すように、S34の処理で算出した座標y0の第1部分画像データDT22における座標(以下、座標Y0とも呼ぶ)を算出する。そして、値算出部126は、第1部分画像データDT22の垂直方向における上端位置からフロート12の上端位置12aまでの長さ(図14に示す座標m0から座標Y0までの長さ)を、第1部分画像データDT22の垂直方向における上端位置から下端位置までの長さ(図14に示す座標m0から座標m1までの長さ)で除算することによって、第1部分画像データDT22における座標Y0の位置を示す値を取得する。
Specifically, as shown in FIG. 14, the
さらに具体的に、値算出部126は、例えば、図12(B)で説明した座標b0の第1部分画像データDT22における座標(以下、座標B0とも呼ぶ)を、S34の処理で算出した座標y0に加算することによって座標Y0を算出する。そして、値算出部126は、以下の式(4)に従うことによって、第1部分画像データDT22における座標Y0の位置を示す値を取得する。なお、以下の式(4)において、Pは、座標Y0の位置を示す値に対応し、yminは、第2基準領域14aの上端位置に対応する座標m0に対応し、ymaxは、第2基準領域14bの下端位置に対応する座標m1に対応している。
More specifically, the
そして、値算出部126は、予め生成されたフロートメータ10に対応する2次近似式に対して座標Y0の位置を示す値を代入することによって、座標Y0に対応する目盛り値(目盛り11aにおける目盛り値)を算出する。その後、値算出部126は、例えば、算出した目盛り値を操作端末2に出力する。
Then, the
なお、例えば、撮像装置によって撮影された動画データに含まれる各フレームに対応する画像データ(以下、基準画像データとも呼ぶ)と検証用画像データDT21とのピクセルサイズが異なっている場合、値算出部126は、例えば、検証用画像データDT21に対する基準画像データの倍率(スケーリングファクター)を検証用画像データDT21に対して乗算してから2次近似式に代入するものであってもよい。すなわち、値算出部126は、基準画像データにおける座標Y0の位置を示す値を2次近似式に対して代入するものであってもよい。
For example, when the pixel size of image data (hereinafter also referred to as reference image data) corresponding to each frame included in video data captured by an imaging device is different from that of the verification image data DT21, the
また、作業者は、例えば、第1学習用画像データDT11と第1学習用画像データDT11に映るフロートメータ10の目盛り11aにおける目盛り値を示す情報とを含む学習データ(図示せず)を用いることによって、第1部分画像データDT22に映るフロートメータ10の目盛り11aにおける目盛り値を算出する際に用いる学習モデル(図示せず)を生成するものであってもよい。そして、値算出部126は、例えば、生成した学習モデルに対する第1部分画像データDT22の入力に伴って出力される値を、第1部分画像データDT22に映るフロートメータ10の目盛り11aにおける目盛り値として特定するものであってもよい。
The worker may also generate a learning model (not shown) to be used in calculating the scale value on the
さらに、例えば、フロート12の上端位置12aに対応する目盛り11aにおける目盛り値の正解値や、フロート12の上端位置12aを用いることによって目盛り11aにおける目盛り値を算出することが可能な正解式が予め明らかである場合、値算出部126は、この正解値や正解式を用いることによって、第1部分画像データDT22に映るフロートメータ10の目盛り11aにおける目盛り値を特定するものであってもよい。
Furthermore, for example, if the correct answer value of the scale value on the
このように、本実施の形態における情報処理装置1は、検証用画像データの入力に応じてフロートメータ10が映る第1部分画像データを出力する第1学習モデルと、第1部分画像データの入力に応じてフロート12とフロート12の上端位置12aよりも垂直方向上側の領域とが映る第2部分画像データを出力する第2学習モデルとのそれぞれを用いることによって、検証用画像データに映るフロートメータ10の特定と第1部分画像データに映るフロート12の特定とを順に行う。そして、情報処理装置1は、例えば、第2部分画像データに映るフロート12の第1位置及び第2位置(フロートの上端位置12a以外の位置)を用いることによって、第2部分画像データに映るフロート12の上端位置12aの特定を行う。
In this manner, the
これにより、本実施の形態における情報処理装置1は、上端位置12a以外の位置を上端位置12aとして特定した場合であっても、フロート12の全体が含まれる第2部分画像データを出力することが可能な第2学習モデルを生成することが可能になる。そのため、本実施の形態における情報処理装置1は、例えば、目盛り11aの読み取りに用いられる部分の形状と他の部分の形状とが類似しているフロート12についても、目盛り11aの読み取りを精度良く行うことが可能になる。
As a result, the
なお、第1画像抽出部121は、S22の処理において、撮像装置によって撮影された動画データに含まれる各フレームに対応する検証用画像データDT21を連続的に取得するものであってもよい。そして、情報処理装置1は、取得した検証用画像データDT21のそれぞれについてS23からS35の処理を行うものであってよい。その後、値算出部126は、S35の処理で算出した目盛り値のそれぞれの中央値や平均値を操作端末2に出力するものであってもよい。
The first
また、第1データ生成部111は、S12の処理において、例えば、基準マーカ13のそれぞれの位置からバウンディングボックスB1の位置を自動的に特定するものであってもよい。
In addition, in the processing of S12, the first
具体的に、第1データ生成部111は、例えば、全ての基準マーカ13が含まれる位置をバウンディングボックスB1の位置として自動的に特定するものであってもよい。そして、第1データ生成部111は、特定したバウンディングボックスB1の位置情報を第1学習用画像データDT11に付加することによって、第1学習データを自動的に生成するものであってもよい。
Specifically, the first
これにより、情報処理装置1は、第1学習データの生成に伴う作業者の作業負荷を軽減させることが可能になる。
This enables the
また、第2データ生成部113は、S14の処理において、例えば、基準マーカ14のそれぞれの位置と、第2学習用画像データDT12の垂直方向における各位置に対応する画素値の合計値を示すグラフ(図13で説明したグラフ)とから、バウンディングボックスB2の位置を自動的に特定するものであってもよい。
In addition, in the processing of S14, the second
具体的に、第2データ生成部113は、例えば、第2学習用画像データDT12の垂直方向における各位置のうち、画素値の合計値が閾値以下である垂直方向における範囲を特定する。そして、第2データ生成部113は、例えば、特定した範囲を垂直方向上側及び垂直方向下側に向けて所定の長さだけ拡大した領域に対応する位置を、バウンディングボックスB2の位置として自動的に特定するものであってもよい。その後、第2データ生成部113は、特定したバウンディングボックスB2の位置情報を第2学習用画像データDT12に付加することによって、第2学習データを自動的に生成するものであってもよい。
Specifically, the second
これにより、情報処理装置1は、第2学習データの生成に伴う作業者の作業負荷を軽減させることが可能になる。
This enables the
1:情報処理装置
2:操作端末
101:CPU
102:メモリ
103:通信インタフェース
104:記憶媒体
105:バス
1: Information processing device 2: Operation terminal 101: CPU
102: Memory 103: Communication interface 104: Storage medium 105: Bus
Claims (11)
抽出した前記第1部分画像データから、前記フロートを含む第2部分画像データを抽出し、
抽出した前記第2部分画像データから、前記フロートの第1部分及び第2部分についての前記垂直方向における第1位置及び第2位置をそれぞれ特定し、
特定した前記第1位置及び第2位置から、前記フロートの前記垂直方向における上端位置を特定し、
前記フロートメータにおける前記垂直方向の各位置と前記フロートメータにおける各目盛り値との関係式を用いることによって、特定した前記上端位置に対応する前記フロートメータの目盛り値を算出する、
処理をコンピュータに実行させることを特徴とするフロートメータ読取プログラム。 Extracting a first partial image data including a float meter having a float that moves vertically inside the float meter from the verification image data including the float meter;
extracting second partial image data including the float from the extracted first partial image data;
Identifying a first position and a second position in the vertical direction for the first portion and the second portion of the float from the extracted second portion image data, respectively;
Identifying an upper end position of the float in the vertical direction from the identified first position and second position;
calculating a scale value of the float meter corresponding to the identified upper end position by using a relational expression between each position of the float meter in the vertical direction and each scale value of the float meter;
A float meter reading program that causes a computer to execute a process.
前記第1位置及び前記第2位置を特定する処理では、
前記第2部分画像データの前記垂直方向における位置ごとに、各位置における水平方向の画素値の合計値を算出し、
前記第2部分画像データの前記垂直方向における位置のうち、算出した前記合計値が所定の条件を満たす位置のうちのいずれか2つを、前記第1位置及び前記第2位置として特定する、
ことを特徴とするフロートメータ読取プログラム。 In claim 1,
In the process of identifying the first position and the second position,
calculating a sum of pixel values in a horizontal direction at each position of the second partial image data in the vertical direction;
identifying, as the first position and the second position, any two of the positions of the second partial image data in the vertical direction where the calculated sum satisfies a predetermined condition;
A float meter reading program comprising:
前記第1位置及び前記第2位置を特定する処理では、前記第2部分画像データの前記垂直方向における位置のうち、前記合計値が第1閾値以下である位置のうちのいずれか2つを、前記第1位置及び前記第2位置として特定する、
ことを特徴とするフロートメータ読取プログラム。 In claim 2,
In the process of identifying the first position and the second position, any two of positions of the second partial image data in the vertical direction where the sum is equal to or less than a first threshold value are identified as the first position and the second position.
A float meter reading program comprising:
前記第1位置及び前記第2位置を特定する処理では、前記第2部分画像データの前記垂直方向における位置のうち、前記合計値が第2閾値以上である位置のうちのいずれか2つを、前記第1位置及び前記第2位置として特定する、
ことを特徴とするフロートメータ読取プログラム。 In claim 2,
In the process of identifying the first position and the second position, any two of the positions of the second partial image data in the vertical direction where the sum is equal to or greater than a second threshold value are identified as the first position and the second position.
A float meter reading program comprising:
前記第2部分画像データを抽出する処理では、前記フロートと前記フロートの前記垂直方向上側の領域であって前記垂直方向の長さが所定以上である領域とを含む部分画像データを前記第2部分画像データとして抽出する、
ことを特徴とするフロートメータ読取プログラム。 In claim 1,
In the process of extracting the second partial image data, partial image data including the float and an area above the float in the vertical direction, the area having a length in the vertical direction equal to or greater than a predetermined length, is extracted as the second partial image data.
A float meter reading program comprising:
前記第1部分画像データについてホモグラフィー変換を行う、
処理をコンピュータに実行させ、
前記第2部分画像データを抽出する処理では、ホモグラフィー変換を行った前記第1部分画像データから前記第2部分画像データの抽出を行う、
ことを特徴とするフロートメータ読取プログラム。 In claim 1, further comprising:
performing a homography transformation on the first partial image data;
The process is executed by a computer,
In the process of extracting the second partial image data, the second partial image data is extracted from the first partial image data that has been subjected to homography transformation.
A float meter reading program comprising:
前記上端位置を特定する処理では、
前記上端位置から前記第1位置までの長さに対する前記上端位置から前記第2位置までの長さの割合と、前記第2部分画像データにおける前記第1位置及び前記第2位置とから、前記フロートの前記垂直方向における上端位置を特定する、
ことを特徴とするフロートメータ読取プログラム。 In claim 1,
In the process of identifying the upper end position,
determining an upper end position of the float in the vertical direction from a ratio of a length from the upper end position to the second position to a length from the upper end position to the first position, and from the first position and the second position in the second partial image data;
A float meter reading program comprising:
前記フロートメータが含まれる複数の第1学習用画像データのそれぞれに対し、前記複数の第1学習用画像データのそれぞれに含まれる前記フロートメータの位置情報を付加することによって、複数の第1学習データを生成し、
生成した前記複数の第1学習データを用いた機械学習を行うことによって、第1学習モデルを生成する、
処理をコンピュータに実行させ、
前記第1部分画像データを抽出する処理では、
前記検証用画像データを入力することに伴って前記第1学習モデルから出力される値を取得し、
取得した前記値に対応する前記第1部分画像データを前記検証用画像データから抽出する、
ことを特徴とするフロートメータ読取プログラム。 In claim 1, further comprising:
generating a plurality of first learning data by adding position information of the float meter included in each of the plurality of first learning image data, the position information being included in each of the plurality of first learning image data;
generating a first learning model by performing machine learning using the generated plurality of first learning data;
The process is executed by a computer,
In the process of extracting the first partial image data,
acquiring a value output from the first learning model in response to inputting the verification image data;
extracting the first partial image data corresponding to the acquired value from the verification image data;
A float meter reading program comprising:
前記フロートが含まれる複数の第2学習用画像データのそれぞれに対し、前記複数の第2学習用画像データに含まれる前記フロートの位置情報を付加することによって、複数の第2学習データを生成し、
生成した前記複数の第2学習データを用いた機械学習を行うことによって、第2学習モデルを生成する、
処理をコンピュータに実行させ、
前記第2部分画像データを抽出する処理では、
前記第1部分画像データを入力することに伴って前記第2学習モデルから出力される値を取得し、
取得した前記値に対応する前記第2部分画像データを前記第1部分画像データから抽出する、
ことを特徴とするフロートメータ読取プログラム。 In claim 1, further comprising:
generating a plurality of second learning data by adding position information of the float included in each of the plurality of second learning image data including the float;
generating a second learning model by performing machine learning using the generated plurality of second learning data;
The process is executed by a computer,
In the process of extracting the second partial image data,
Obtaining a value output from the second learning model in response to input of the first partial image data;
extracting the second partial image data corresponding to the obtained value from the first partial image data;
A float meter reading program comprising:
抽出した前記第1部分画像データから、前記フロートを含む第2部分画像データを抽出し、
抽出した前記第2部分画像データから、前記フロートの第1部分及び第2部分についての前記垂直方向における第1位置及び第2位置をそれぞれ特定し、
特定した前記第1位置及び第2位置から、前記フロートの前記垂直方向における上端位置を特定し、
前記フロートメータにおける前記垂直方向の各位置と前記フロートメータにおける各目盛り値との関係式を用いることによって、特定した前記上端位置に対応する前記フロートメータの目盛り値を算出する、
ことを特徴とするフロートメータ読取装置。 Extracting a first partial image data including a float meter having a float that moves vertically inside the float meter from the verification image data including the float meter;
extracting second partial image data including the float from the extracted first partial image data;
Identifying a first position and a second position in the vertical direction for the first portion and the second portion of the float from the extracted second portion image data, respectively;
Identifying an upper end position of the float in the vertical direction from the identified first position and second position;
calculating a scale value of the float meter corresponding to the identified upper end position by using a relational expression between each position of the float meter in the vertical direction and each scale value of the float meter;
A float meter reading device comprising:
抽出した前記第1部分画像データから、前記フロートを含む第2部分画像データを抽出し、
抽出した前記第2部分画像データから、前記フロートの第1部分及び第2部分についての前記垂直方向における第1位置及び第2位置をそれぞれ特定し、
特定した前記第1位置及び第2位置から、前記フロートの前記垂直方向における上端位置を特定し、
前記フロートメータにおける前記垂直方向の各位置と前記フロートメータにおける各目盛り値との関係式を用いることによって、特定した前記上端位置に対応する前記フロートメータの目盛り値を算出する、
処理をコンピュータが実行することを特徴とするフロートメータ読取方法。 Extracting a first partial image data including a float meter having a float that moves vertically inside the float meter from the verification image data including the float meter;
extracting second partial image data including the float from the extracted first partial image data;
Identifying a first position and a second position in the vertical direction for the first portion and the second portion of the float from the extracted second portion image data, respectively;
Identifying an upper end position of the float in the vertical direction from the identified first position and second position;
calculating a scale value of the float meter corresponding to the identified upper end position by using a relational expression between each position of the float meter in the vertical direction and each scale value of the float meter;
A method for reading a float meter, the method comprising the steps of: executing processing by a computer;
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021092181A JP7670261B2 (en) | 2021-06-01 | 2021-06-01 | Float meter reading program, float meter reading device, and float meter reading method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021092181A JP7670261B2 (en) | 2021-06-01 | 2021-06-01 | Float meter reading program, float meter reading device, and float meter reading method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022184377A JP2022184377A (en) | 2022-12-13 |
| JP7670261B2 true JP7670261B2 (en) | 2025-04-30 |
Family
ID=84438091
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021092181A Active JP7670261B2 (en) | 2021-06-01 | 2021-06-01 | Float meter reading program, float meter reading device, and float meter reading method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7670261B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118506375B (en) * | 2024-07-17 | 2024-10-01 | 长沙矿冶研究院有限责任公司 | DDWConvNet float flowmeter reading identification method and system |
| CN119624974B (en) * | 2025-02-14 | 2025-11-21 | 浙江永基智能科技有限公司 | Water level detection method and device based on fitting function |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006084418A (en) | 2004-09-17 | 2006-03-30 | Kurita Water Ind Ltd | Automatic instrument reading device |
| CN106289426A (en) | 2016-06-29 | 2017-01-04 | 天津市计量监督检测科学研究院 | A kind of glass ball float effusion meter automatic reading system and automatic reading method thereof |
-
2021
- 2021-06-01 JP JP2021092181A patent/JP7670261B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006084418A (en) | 2004-09-17 | 2006-03-30 | Kurita Water Ind Ltd | Automatic instrument reading device |
| CN106289426A (en) | 2016-06-29 | 2017-01-04 | 天津市计量监督检测科学研究院 | A kind of glass ball float effusion meter automatic reading system and automatic reading method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022184377A (en) | 2022-12-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Nishikawa et al. | Concrete crack detection by multiple sequential image filtering | |
| US12159387B2 (en) | Inspection support apparatus, inspection support method, and inspection support program for concrete structure | |
| JP6405320B2 (en) | Method and system for improved automated visual inspection of physical assets | |
| CN113850749B (en) | Method for training defect detector | |
| JP6860079B2 (en) | Anomaly detection device, anomaly detection method, and program | |
| Yun et al. | Automated registration of multi-view point clouds using sphere targets | |
| US8542912B2 (en) | Determining the uniqueness of a model for machine vision | |
| JP7670261B2 (en) | Float meter reading program, float meter reading device, and float meter reading method | |
| CN116309660B (en) | A method, apparatus, device and storage medium for linear detection | |
| CN112651315B (en) | Information extraction method, device, computer equipment and storage medium for line graph | |
| CN116958145B (en) | Image processing method and device, visual detection system and electronic equipment | |
| CN117078585A (en) | Method, device, equipment and medium for detecting defect damage of pipeline | |
| CN121033016B (en) | A method, equipment, and medium for the inspection and maintenance of aviation equipment based on target detection. | |
| CN104422422A (en) | Product profile deformation analysis system and method | |
| US8542905B2 (en) | Determining the uniqueness of a model for machine vision | |
| CN114240737A (en) | Method, apparatus, apparatus and medium for generating digital models from drawings | |
| KR102026427B1 (en) | Measurement System for concrete crack using smartphone | |
| JP2015201055A (en) | Defect location prediction apparatus, defect location prediction program, and defect location prediction method | |
| CN119991517A (en) | Three-dimensional model repair method, device and storage medium based on deep learning | |
| JP7589911B2 (en) | Indication value reading program, indication value reading device, and indication value reading method | |
| CN115934164B (en) | Application compatibility detection method and system for domestic software and hardware environment migration | |
| CN111241614A (en) | Engineering structure load inversion method based on condition generation confrontation network model | |
| US9483818B2 (en) | Bleed-through detection method and bleed-through detection apparatus | |
| CN115393337A (en) | Industrial defect detection method, device, equipment and computer-readable storage medium | |
| JP6639369B2 (en) | Template matching apparatus, method, and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240508 |
|
| A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A711 Effective date: 20240508 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20240508 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250221 |
|
| 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: 20250311 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250404 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7670261 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |