Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7670261B2 - Float meter reading program, float meter reading device, and float meter reading method - Google Patents
[go: Go Back, main page]

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 PDF

Info

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
Application number
JP2021092181A
Other languages
Japanese (ja)
Other versions
JP2022184377A (en
Inventor
強福 趙
菖平 上田
開斗 鈴木
順平 菅野
幸治 江原
善範 速水
次男 金田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Aizu
Original Assignee
University of Aizu
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 University of Aizu filed Critical University of Aizu
Priority to JP2021092181A priority Critical patent/JP7670261B2/en
Publication of JP2022184377A publication Critical patent/JP2022184377A/en
Application granted granted Critical
Publication of JP7670261B2 publication Critical patent/JP7670261B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 Patent Documents 1 and 2).

特開平7-06552号公報Japanese Patent Application Publication No. 7-06552 中国特許出願公開第106289426号明細書Chinese Patent Publication No. 106289426

ここで、上記のようなアナログメータの読み取りは、一般的に、作業者の目視によって行われる。そのため、上記のようなアナログメータの読み取りでは、値の読み取りミスや管理システム(図示せず)への入力ミス等が発生する可能性がある。 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.

図1は、第1の実施の形態における情報処理装置1の構成例を示す図である。FIG. 1 is a diagram showing an example of a configuration of an information processing device 1 according to the first embodiment. 図2は、フロートメータ10の具体例について説明する図である。FIG. 2 is a diagram for explaining a specific example of the float meter 10. As shown in FIG. 図3は、第1の実施の形態におけるフロートメータ読取処理の概略を説明する図である。FIG. 3 is a diagram for explaining an outline of the float meter reading process in the first embodiment. 図4は、第1の実施の形態におけるフロートメータ読取処理の概略を説明する図である。FIG. 4 is a diagram for explaining an outline of the float meter reading process in the first embodiment. 図5は、第1の実施の形態におけるフロートメータ読取処理の詳細を説明するフローチャート図である。FIG. 5 is a flow chart illustrating details of the float meter reading process in the first embodiment. 図6は、第1の実施の形態におけるフロートメータ読取処理の詳細を説明するフローチャート図である。FIG. 6 is a flow chart illustrating details of the float meter reading process in the first embodiment. 図7は、第1の実施の形態におけるフロートメータ読取処理の詳細を説明するフローチャート図である。FIG. 7 is a flow chart illustrating details of the float meter reading process in the first embodiment. 図8は、第1の実施の形態におけるフロートメータ読取処理の詳細を説明する図である。FIG. 8 is a diagram for explaining details of the float meter reading process in the first embodiment. 図9は、第1の実施の形態におけるフロートメータ読取処理の詳細を説明する図である。FIG. 9 is a diagram for explaining details of the float meter reading process in the first embodiment. 図10は、第1の実施の形態におけるフロートメータ読取処理の詳細を説明する図である。FIG. 10 is a diagram for explaining details of the float meter reading process in the first embodiment. 図11は、第1の実施の形態におけるフロートメータ読取処理の詳細を説明する図である。FIG. 11 is a diagram for explaining details of the float meter reading process in the first embodiment. 図12は、第1の実施の形態におけるフロートメータ読取処理の詳細を説明する図である。FIG. 12 is a diagram for explaining details of the float meter reading process in the first embodiment. 図13は、第1の実施の形態におけるフロートメータ読取処理の詳細を説明する図である。FIG. 13 is a diagram for explaining details of the float meter reading process in the first embodiment. 図14は、第1の実施の形態におけるフロートメータ読取処理の詳細を説明する図である。FIG. 14 is a diagram for explaining details of the float meter reading process in the first embodiment.

以下、図面を参照して本発明の実施の形態について説明する。しかしながら、かかる実施の形態例が、本発明の技術的範囲を限定するものではない。 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 information processing device 1 in the first embodiment.

情報処理装置1は、コンピュータ装置であって、例えば、汎用的なPC(Personal Computer)である。そして、情報処理装置1は、例えば、図示しないフロートメータが示す値を自動的に読み取る処理(以下、フロートメータ読取処理とも呼ぶ)を行う。 The information processing device 1 is a computer device, for example, a general-purpose PC (Personal Computer). The information processing device 1 performs a process for automatically reading the value indicated by a float meter (not shown) (hereinafter, also referred to as a float meter reading process).

情報処理装置1は、汎用的なコンピュータ装置のハードウエア構成を有し、例えば、図1に示すように、プロセッサであるCPU101と、メモリ102と、通信インタフェース103と、記憶媒体104とを有する。各部は、バス105を介して互いに接続される。 The information processing device 1 has the hardware configuration of a general-purpose computer device, and for example, as shown in FIG. 1, has a processor, a CPU 101, a memory 102, a communication interface 103, and a storage medium 104. Each part is connected to each other via a bus 105.

記憶媒体104は、例えば、フロートメータ読取処理を行うためのプログラム(図示しない)を記憶するプログラム格納領域(図示しない)を有する。 The storage medium 104 has, for example, a program storage area (not shown) that stores a program (not shown) for performing a float meter reading process.

また、記憶媒体104は、例えば、フロートメータ読取処理を行う際に用いられる情報を記憶する記憶部110(以下、記憶領域110とも呼ぶ)を有する。なお、記憶媒体104は、例えば、HDD(Hard Disk Drive)やSSD(Solid State Drive)であってよい。 The storage medium 104 also has a storage unit 110 (hereinafter also referred to as storage area 110) that stores information used when performing the float meter reading process. The storage medium 104 may be, for example, a hard disk drive (HDD) or a solid state drive (SSD).

CPU101は、記憶媒体104からメモリ102にロードされたプログラムを実行してフロートメータ読取処理を行う。 The CPU 101 executes the program loaded from the storage medium 104 to the memory 102 to perform the float meter reading process.

通信インタフェース103は、例えば、インターネット網等のネットワークNWを介してスマートフォン等の操作端末2と通信を行う。 The communication interface 103 communicates with an operation terminal 2 such as a smartphone via a network NW such as the Internet.

[フロートメータの具体例]
次に、フロートメータ10の具体例について説明を行う。図2は、フロートメータ10の具体例について説明する図である。
[Example of a float meter]
Next, a specific example of the float meter 10 will be described.

フロートメータ10は、図2に示すように、例えば、垂直方向に延びる円筒形状のガラス管11と、ガラス管11の内部を垂直方向に移動するフロート12とを有している。なお、ガラス管11の側面に付加された目盛り11aの間隔は、図2に示すように、垂直方向における上側から下側に向かって広がっている。 As shown in Fig. 2, the float meter 10 has, for example, a cylindrical glass tube 11 that extends vertically, and a float 12 that moves vertically inside the glass tube 11. Note that the intervals between the scales 11a added to the side of the glass tube 11 increase vertically from the top to the bottom, as shown in Fig. 2.

そして、作業者は、例えば、フロート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 glass tube 11, for example, by reading the value (hereinafter also referred to as the scale value) of the scale 11a that corresponds to the position 12a (hereinafter also referred to as the upper end position 12a) that corresponds to the upper end edge of the float 12.

また、フロートメータ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 floatmeter 10 has four circular first reference areas 13a, 13b, 13c, and 13d (hereinafter, these are also collectively referred to as the first reference areas 13), and two rectangular second reference areas 14a and 14b (hereinafter, these are also collectively referred to as the second reference areas 14). Each of the first reference areas 13 is, for example, a circular sticker (e.g., a blue sticker) affixed to the floatmeter 10, and each of the second reference areas 14 is, for example, a rectangular sticker (e.g., a yellow sticker) affixed to the floatmeter 10. The uses of the first reference areas 13 and the second reference areas 14 will be described later.

なお、以下、目盛り11aの読み取りがフロート12の上端位置12aを基準として行われるものとして説明を行うが、目盛り11aの読み取りは、フロート12における上端位置12a以外の位置を基準として行うものであってもよい。 In the following description, the reading of the scale 11a is performed based on the top end position 12a of the float 12, but the reading of the scale 11a may be performed based on a position other than the top end position 12a of the float 12.

[第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 data generation unit 111 of the information processing device 1 generates learning data (hereinafter also referred to as first learning data) by adding information (hereinafter also referred to as position information) about the position of the floatmeter 10 in the first learning image data to the learning image data (hereinafter also referred to as first learning image data) showing the floatmeter 10.

具体的に、第1データ生成部111は、例えば、目盛り11aと4つの第1基準領域13とが少なくとも含まれる第1学習用画像データに対し、第1学習用画像データにおけるフロートメータ10の位置情報を付加することによって第1学習データを生成する。 Specifically, the first data generator 111 generates the first learning data by adding position information of the float meter 10 in the first learning image data to the first learning image data that includes at least the scale 11a and the four first reference areas 13, for example.

なお、第1データ生成部111は、生成済の第1学習データのサイズや色等を変更することによって、さらなる第1学習データを生成するものであってもよい。 The first data generation unit 111 may generate further first learning data by changing the size, color, etc. of the first learning data that has already been generated.

そして、情報処理装置1の第1モデル生成部112は、例えば、第1データ生成部111が生成した複数の第1学習データを用いた機械学習を行うことによって、学習モデル(以下、第1学習モデルとも呼ぶ)を生成する。その後、第1モデル生成部112は、生成した第1学習モデルを記憶領域110に記憶する。 Then, the first model generation unit 112 of the information processing device 1 generates a learning model (hereinafter also referred to as the first learning model) by, for example, performing machine learning using the multiple first learning data generated by the first data generation unit 111. After that, the first model generation unit 112 stores the generated first learning model in the memory area 110.

すなわち、第1モデル生成部112は、複数の第1学習データを用いることによって、推論段階において検出用画像からフロートメータ10が映る部分画像データ(以下、第1部分画像データとも呼ぶ)を抽出する際に用いられる第1学習モデルを生成する。 In other words, the first model generation unit 112 uses multiple pieces of first learning data to generate a first learning model that is used when extracting partial image data (hereinafter also referred to as first partial image data) showing the float meter 10 from the detection image in the inference stage.

また、情報処理装置1の第2データ生成部113は、例えば、フロートメータ10の内部を移動するフロート12が映る学習用画像データ(以下、第2学習用画像データとも呼ぶ)に対し、第2学習用画像データにおけるフロート12の位置情報を付加することによって学習データ(以下、第2学習データとも呼ぶ)を生成する。 The second data generation unit 113 of the information processing device 1 generates learning data (hereinafter also referred to as second learning data) by adding position information of the float 12 in the second learning image data to learning image data (hereinafter also referred to as second learning image data) that shows the float 12 moving inside the float meter 10.

具体的に、第2データ生成部113は、例えば、フロート12とフロート12の上端位置12aよりも垂直方向上側である領域(例えば、垂直方向の長さがフロート12の長さと同一である領域)とが映る第2学習用画像データに対し、第2学習用画像データにおけるフロート12の位置情報を追加することによって第2学習データを生成する。 Specifically, the second data generating unit 113 generates the second learning data by adding position information of the float 12 in the second learning image data to the second learning image data that shows the float 12 and an area vertically above the upper end position 12a of the float 12 (e.g., an area whose vertical length is the same as the length of the float 12).

なお、第2データ生成部113は、生成済の第2学習データのサイズや色等を変更することによって、さらなる第2学習データを生成するものであってもよい。 The second data generation unit 113 may generate further second learning data by changing the size, color, etc. of the second learning data that has already been generated.

そして、情報処理装置1の第2モデル生成部114は、例えば、第2データ生成部113が生成した複数の第2学習データを用いた機械学習を行うことによって、学習モデル(以下、第2学習モデルとも呼ぶ)を生成する。その後、第2モデル生成部114は、生成した第2学習モデルを記憶領域110に記憶する。 The second model generation unit 114 of the information processing device 1 then generates a learning model (hereinafter also referred to as the second learning model) by, for example, performing machine learning using the multiple pieces of second learning data generated by the second data generation unit 113. After that, the second model generation unit 114 stores the generated second learning model in the memory area 110.

すなわち、第2モデル生成部114は、複数の第2学習データを用いることによって、推論段階において第1部分画像データからフロート12についての部分画像データ(以下、第2部分画像データとも呼ぶ)を抽出する際に用いられる第2学習モデルを生成する。 In other words, the second model generation unit 114 uses multiple second learning data to generate a second learning model that is used when extracting partial image data (hereinafter also referred to as second partial image data) about the float 12 from the first partial image data in the inference stage.

次に、第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 image extraction unit 121 of the information processing device 1 extracts, for example, first partial image data about the float meter from the verification image data. The verification image data is, for example, image data that shows the same float meter 10 as the first learning data.

具体的に、第1画像抽出部121は、記憶領域110に記憶された第1学習モデルに対する検証用画像データの入力に伴って出力される値が示す位置情報を特定する。そして、第1画像抽出部121は、特定した位置情報に対応する第1部分画像データを検証用画像データから抽出する。 Specifically, the first image extraction unit 121 identifies location information indicated by a value output in response to input of the verification image data to the first learning model stored in the memory area 110. Then, the first image extraction unit 121 extracts the first partial image data corresponding to the identified location information from the verification image data.

そして、情報処理装置1の画像補正部122は、例えば、第1画像抽出部121が抽出した第1部分画像データについてホモグラフィー変換を行う。 Then, the image correction unit 122 of the information processing device 1 performs, for example, homography transformation on the first partial image data extracted by the first image extraction unit 121.

続いて、情報処理装置1の第2画像抽出部123は、第1画像抽出部121が抽出した第1部分画像データからフロート12についての第2部分画像データを抽出する。 Next, the second image extraction unit 123 of the information processing device 1 extracts second partial image data for the float 12 from the first partial image data extracted by the first image extraction unit 121.

具体的に、第2画像抽出部123は、記憶領域110に記憶された第2学習モデルに対する第1部分画像データの入力に伴って出力される値が示す位置情報を特定する。そして、第2画像抽出部123は、特定した位置情報に対応する第2部分画像データを第1部分画像データから抽出する。 Specifically, the second image extraction unit 123 identifies location information indicated by a value output in response to input of the first partial image data to the second learning model stored in the memory area 110. Then, the second image extraction unit 123 extracts the second partial image data corresponding to the identified location information from the first partial image data.

その後、情報処理装置1の位置特定部124は、第2画像抽出部123が抽出した第2部分画像データから、第2画像データに映るフロート12を構成する第1部分及び第2部分についての垂直方向における第1位置及び第2位置をそれぞれ特定する。 Then, the position identification unit 124 of the information processing device 1 identifies, from the second partial image data extracted by the second image extraction unit 123, the first position and the second position in the vertical direction for the first part and the second part constituting the float 12 reflected in the second image data.

具体的に、位置特定部124は、例えば、第2画像抽出部123が抽出した第2部分画像データの垂直方向における複数の位置のそれぞれについて、各位置における垂直方向に直交する方向(以下、水平方向とも呼ぶ)の画素値の合計値を算出する。そして、位置特定部124は、例えば、第2画像抽出部123が抽出した第2部分画像データの垂直方向における複数の位置のうち、算出した合計値が閾値以下である位置のうちのいずれか2つを、第1位置及び第2位置としてそれぞれ特定する。 Specifically, the position identification unit 124 calculates, for example, the sum of pixel values in a direction perpendicular to the vertical direction (hereinafter also referred to as the horizontal direction) at each of a plurality of positions in the vertical direction of the second partial image data extracted by the second image extraction unit 123. Then, the position identification unit 124 identifies, for example, any two of the positions in the vertical direction of the second partial image data extracted by the second image extraction unit 123 where the calculated sum is equal to or less than a threshold value as the first position and the second position, respectively.

そして、情報処理装置1の上端特定部125は、位置特定部124が特定した第1位置及び第2位置のそれぞれを用いることにより、第2画像データに映るフロート12の上端位置12aを特定する。 Then, the top end identification unit 125 of the information processing device 1 identifies the top end position 12a of the float 12 reflected in the second image data by using the first position and the second position identified by the position identification unit 124.

具体的に、上端特定部125は、例えば、上端位置12aから第1位置までの長さに対する上端位置12aから第2位置までの長さの割合と、第2部分画像データにおける第1位置及び第2位置とから、第2画像データに映るフロート12の上端位置12aを特定する。 Specifically, the top end determination unit 125 determines the top end position 12a of the float 12 reflected in the second image data, for example, from the ratio of the length from the top end position 12a to the second position to the length from the top end position 12a to the first position, and the first position and the second position in the second partial image data.

さらに、情報処理装置1の値算出部126は、例えば、フロートメータ10における垂直方向の各位置とフロートメータ10の目盛り11aにおける各目盛り値との関係式を用いることによって、上端特定部125が特定した上端位置12aに対応するフロートメータ10の目盛り値を算出する。 Furthermore, the value calculation unit 126 of the information processing device 1 calculates the scale value of the float meter 10 corresponding to the upper end position 12a identified by the upper end identification unit 125, for example, by using a relational equation between each vertical position on the float meter 10 and each scale value on the scale 11a of the float meter 10.

具体的に、作業者は、例えば、第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 floatometer 10 shown in the first learning image and the scale value on the scale 11a of the floatometer 10 shown in the first learning image. The value calculation unit 126 then calculates the scale value corresponding to the upper end position 12a identified by the upper end identification unit 125, for example, by using the generated approximation equation. In the following description, the approximation equation used to calculate the scale value is a quadratic approximation equation, but this approximation equation may be, for example, a cubic approximation equation, a quartic approximation equation, or a logarithmic approximation equation.

すなわち、一般的なフロートメータでは、フロートにおける目盛りの読み取りに用いられる部分(例えば、フロートの上端位置)の形状とフロートにおける他の部分の形状とが類似している場合がある。そのため、例えば、フロートメータ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 top end position 12a of the float 12 in response to input of verification image data showing the float meter 10, the information processing device 1 may identify a position other than the top end position 12a as the top end position 12a, and may output image data that does not include part of the float 12 as the second partial image data.

そこで、本実施の形態における情報処理装置1は、学習段階において、フロート12だけでなく、フロート12の上端位置12aよりも垂直方向上側を含む領域についての位置情報が付加された第2学習データを用いることによって第2学習モデルを生成する。そして、情報処理装置1は、推論段階において、第2学習モデルから出力された第2部分画像データからフロート12の上端位置12aを特定する。 In this embodiment, the information processing device 1 generates a second learning model in the learning stage by using second learning data to which position information is added not only for the float 12 but also for the area vertically above the top end position 12a of the float 12. Then, in the inference stage, the information processing device 1 identifies the top end position 12a of the float 12 from the second partial image data output from the second learning model.

これにより、本実施の形態における情報処理装置1は、上端位置12a以外の位置を上端位置12aとして特定した場合であっても、フロート12の全体が含まれる第2部分画像データを出力することが可能な第2学習モデルを生成することが可能になる。そのため、本実施の形態における情報処理装置1は、例えば、目盛り11aの読み取りに用いられる部分の形状と他の部分の形状とが類似しているフロート12についても、目盛り11aの読み取りを精度良く行うことが可能になる。 As a result, the information processing device 1 in this embodiment is able to generate a second learning model capable of outputting second partial image data including the entire float 12, even when a position other than the top end position 12a is identified as the top end position 12a. Therefore, the information processing device 1 in this embodiment is able to accurately read the scale 11a, for example, even for a float 12 in which the shape of the part used to read the scale 11a is similar to the shape of the other parts.

なお、本実施の形態において生成される第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 data generation unit 111 waits, for example, until the learning timing arrives (NO in S11). The learning timing may be, for example, the timing when the worker inputs the first learning image data via the operation terminal 2. The learning timing may also be, for example, the timing when the worker inputs information to generate each learning model.

そして、学習タイミングなった場合(S11のYES)、第1データ生成部111は、第1学習用画像データのそれぞれに対し、各画像データにおけるフロートメータ10の位置情報を付加することによって、第1学習データを生成する(S12)。 Then, when the learning timing arrives (YES in S11), the first data generation unit 111 generates the first learning data by adding the position information of the float meter 10 in each image data to each of the first learning image data (S12).

具体的に、第1データ生成部111は、図8に示すように、例えば、フロートメータ10を含むバウンディングボックスB1(作業者によって指定されたバウンディングボックスB1)を用いることによって、第1学習用画像データDT11に対してフロートメータ10の位置情報を付加する。 Specifically, as shown in FIG. 8, the first data generation unit 111 adds position information of the float meter 10 to the first learning image data DT11 by using, for example, a bounding box B1 including the float meter 10 (a bounding box B1 specified by the operator).

さらに具体的に、作業者は、例えば、撮像装置(図示しない)によって撮影された動画データに含まれる各フレームに対応する画像データを第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 float meter 10 to the first learning image data DT11 by using a bounding box B1. After that, the first data generator 111 generates the first learning data, for example, by associating the first learning image data DT11 with the coordinates (X and Y coordinates) of the top left corner of the bounding box B1 and the vertical and horizontal lengths of the bounding box B1.

なお、撮像装置は、例えば、非固定のカメラであってもよい。また、撮像装置は、例えば、操作端末2に内蔵されているものであってもよい。 The imaging device may be, for example, a non-fixed camera. The imaging device may also be, for example, built into the operation terminal 2.

その後、第1モデル生成部112は、S12の処理で生成した第1学習データを用いた機械学習を行うことによって、第1学習モデルを生成する(S13)。 Then, the first model generation unit 112 generates a first learning model by performing machine learning using the first learning data generated in the processing of S12 (S13).

続いて、第2データ生成部113は、第2学習用画像データのそれぞれに対し、各画像データにおけるフロート12の位置情報を付加することによって、第2学習データを生成する(S14)。 Next, the second data generation unit 113 generates second learning data by adding position information of the float 12 in each piece of image data to each piece of second learning image data (S14).

具体的に、第2データ生成部113は、図9に示すように、例えば、フロート12を含むバウンディングボックスB2(作業者によって指定されたバウンディングボックスB2)を用いることによって、第2学習用画像データDT12に対してフロート12を含む領域の位置情報を付加する。 Specifically, as shown in FIG. 9, the second data generation unit 113 adds position information of the area including the float 12 to the second learning image data DT12 by using, for example, a bounding box B2 including the float 12 (a bounding box B2 specified by the worker).

さらに具体的に、第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 data generation unit 113 acquires, for example, image data output in response to input of the first learning image data DT11 to the first learning model generated in the process of S13 as the second learning image data DT12. Then, the worker uses the bounding box B2 to add position information of the area that reflects the float 12 and the area vertically above the top end position 12a of the float 12 to the second learning image data DT12. After that, the second data generation unit 113 generates the second learning data by, for example, associating the second learning image data DT12 with the coordinates (X and Y coordinates) of the top left corner of the bounding box B2 and the vertical and horizontal lengths of the bounding box B2.

その後、第2モデル生成部114は、S14の処理で生成した第2学習データを用いた機械学習を行うことによって、第2学習モデルを生成する(S15)。 Then, the second model generation unit 114 generates a second learning model by performing machine learning using the second learning data generated in the processing of S14 (S15).

これにより、作業者は、後述する推論段階において用いる各学習モデルを生成することが可能になる。 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 image extraction unit 121 waits until the judgment timing arrives (NO in S21). The judgment timing may be, for example, the timing when the worker inputs the verification image data via the operation terminal 2. The judgment timing may also be, for example, the timing when the worker inputs information to the effect that a judgment will be made on the verification image data.

そして、判定タイミングになった場合(S21のYES)、第1画像抽出部121は、フロートメータ10についての検証用画像データを取得する(S22)。 Then, when the determination timing arrives (YES in S21), the first image extraction unit 121 acquires verification image data for the float meter 10 (S22).

具体的に、第1画像抽出部121は、図10(A)に示すように、例えば、撮像装置によって撮影された動画データに含まれる各フレームに対応する画像データを検証用画像データDT21として受信する。 Specifically, as shown in FIG. 10(A), the first image extraction unit 121 receives, for example, image data corresponding to each frame included in video data captured by an imaging device as verification image data DT21.

続いて、第1画像抽出部121は、S22の処理で取得した検証用画像データを入力することに伴って第1学習モデルから出力される値を取得する(S23)。 Next, the first image extraction unit 121 acquires values output from the first learning model in response to input of the verification image data acquired in the processing of S22 (S23).

そして、第1画像抽出部121は、S23の処理で取得した値に対応する第1部分画像データを、S22の処理で取得した検証用画像データから抽出する(S24)。 Then, the first image extraction unit 121 extracts the first partial image data corresponding to the value obtained in the process of S23 from the verification image data obtained in the process of S22 (S24).

具体的に、第1画像抽出部121は、図10(B)に示すように、例えば、S21の処理で取得した検証用画像データのうち、フロートメータ10が映る部分に対応する画像データを第1部分画像データDT22として取得する。 Specifically, as shown in FIG. 10(B), the first image extraction unit 121 acquires, for example, image data corresponding to the portion of the verification image data acquired in the processing of S21 that shows the float meter 10 as the first partial image data DT22.

画像補正部122は、S24の処理で抽出した第1部分画像データについてホモグラフィー変換を行う(S25)。 The image correction unit 122 performs homography transformation on the first partial image data extracted in the processing of S24 (S25).

具体的に、画像補正部122は、例えば、S24の処理で抽出した第1部分画像データDT22に映るフロートメータ10における第2基準領域14のそれぞれが予め指定された位置に移動するように、ホモグラフィー変換を行う。 Specifically, the image correction unit 122 performs a homography transformation so that, for example, each of the second reference areas 14 in the floatometer 10 reflected in the first partial image data DT22 extracted in the processing of S24 moves to a pre-specified position.

すなわち、画像補正部122は、第1部分画像データDT22についてのホモグラフィー変換を行うことで第1部分画像データDT22の正規化を行い、第1部分画像データDT22に映るフロートメータ10における第2基準領域14のそれぞれの位置を補正する。 That is, the image correction unit 122 normalizes the first partial image data DT22 by performing a homography transformation on the first partial image data DT22, and corrects the positions of each of the second reference areas 14 in the float meter 10 reflected in the first partial image data DT22.

これにより、情報処理装置1は、全ての第1部分画像データDT22に映る第2基準領域14の位置を合わせることが可能になる。そのため、情報処理装置1は、後述するように、第2基準領域14の位置等に基づくことによってフロート12の上端位置12aを特定することが可能になる。 This enables the information processing device 1 to align the position of the second reference area 14 reflected in all of the first partial image data DT22. Therefore, the information processing device 1 can identify the upper end position 12a of the float 12 based on the position of the second reference area 14, etc., as described below.

なお、画像補正部122は、例えば、第1部分画像データDT22についてのホモグラフィー変換を、第1部分画像データDT22についての二値化等の強調処理を行うことによって第1基準領域13を強調させてから行うものであってもよい。 In addition, the image correction unit 122 may perform, for example, homography transformation on the first partial image data DT22 after emphasizing the first reference region 13 by performing an emphasis process such as binarization on the first partial image data DT22.

これにより、情報処理装置1は、例えば、後述する第1位置及び第2位置の特定をより行い易くすることが可能になる。 This enables the information processing device 1 to, for example, more easily identify the first and second positions described below.

次に、第2画像抽出部123は、S25の処理でホモグラフィー変換を行った第1部分画像データを入力することに伴って第2学習モデルから出力される値を取得する(S26)。 Next, the second image extraction unit 123 acquires values output from the second learning model in response to input of the first partial image data that has been subjected to homography transformation in the processing of S25 (S26).

そして、第2画像抽出部123は、図7に示すように、S26の処理で取得した値に対応する第2部分画像データを、S25の処理でホモグラフィー変換を行った第1部分画像データから抽出する(S31)。 Then, as shown in FIG. 7, the second image extraction unit 123 extracts the second partial image data corresponding to the value obtained in the process of S26 from the first partial image data that has been subjected to homography transformation in the process of S25 (S31).

具体的に、第2画像抽出部123は、図11(B)に示すように、例えば、S25の処理でホモグラフィー変換を行った第1部分画像データDT22(図11(A))のうち、フロート12が映る部分に対応する画像データを第2部分画像データDT23として取得する。 Specifically, as shown in FIG. 11(B), the second image extraction unit 123 acquires, for example, image data corresponding to the portion of the first partial image data DT22 (FIG. 11(A)) on which homography transformation has been performed in processing S25, which corresponds to the portion showing the float 12, as the second partial image data DT23.

さらに具体的に、第2画像抽出部123は、図11(B)に示すように、フロート12に加えて、フロート12の上端位置12aよりも垂直方向上側の領域が映る画像データを第2部分画像データDT23として取得する。 More specifically, as shown in FIG. 11(B), the second image extraction unit 123 acquires image data that shows the area vertically above the top end position 12a of the float 12 in addition to the float 12 as the second partial image data DT23.

続いて、位置特定部124は、S31の処理で抽出した第2部分画像データの垂直方向における複数の位置のそれぞれについて、各位置における水平方向の画素値の合計値(以下、単に合計値とも呼ぶ)を算出する(S32)。 Next, the position identification unit 124 calculates the sum of the horizontal pixel values at each of the multiple vertical positions of the second partial image data extracted in the process of S31 (S32).

そして、位置特定部124は、例えば、S32の処理で算出した合計値が所定の条件を満たす位置のうちのいずれか2つを、第1位置及び第2位置として特定する(S33)。具体的に、位置特定部124は、例えば、S32の処理で算出した合計値が閾値(以下、第1閾値とも呼ぶ)以下である位置のうちのいずれか2つを、第1位置及び第2位置として特定する。以下、S32及びS33の処理の具体例について説明を行う。 Then, the position identification unit 124 identifies, for example, any two of the positions where the total value calculated in the process of S32 satisfies a predetermined condition as the first position and the second position (S33). Specifically, the position identification unit 124 identifies, for example, any two of the positions where the total value calculated in the process of S32 is equal to or less than a threshold value (hereinafter also referred to as the first threshold value) as the first position and the second position. Specific examples of the processes of S32 and S33 are described below.

[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 float 12, and FIG. 12(B) is a diagram for explaining a specific example of the second partial image data DT23. Also, FIG. 13 is a graph showing the sum of pixel values at each position in the vertical direction of the second partial image data DT23. The vertical axis in FIG. 13 indicates the position (coordinate) in the vertical direction of the second partial image data DT23, and the horizontal axis in FIG. 13 indicates the sum of pixel values in the horizontal direction at each position. Note that, in the following, the vertical coordinate of each image data increases from the top to the bottom.

初めに、フロート12の具体例について説明を行う。 First, we will explain a specific example of float 12.

フロート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 float 12 has, for example, an upper end position 12a that serves as a reference when reading the scale 11a. The float 12 also has a recess 12b on the side surface between positions 12b0 and 12b1 in the vertical direction, and further has a tapered portion 12c that extends downward from position 12c0 at the lower end in the vertical direction. Hereinafter, as shown in FIG. 12(B), the vertical coordinate corresponding to the upper end position in the second partial image data DT23 is also called coordinate b0, the vertical coordinate corresponding to the lower end position in the second partial image data DT23 is also called coordinate b1, the vertical coordinate corresponding to position 12b0 in the recess 12b is also called coordinate y1, the vertical coordinate corresponding to position 12b1 in the recess 12b is also called coordinate y2, and the vertical coordinate corresponding to position c1 in the tapered portion 12c is also called coordinate y3.

次に、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 position identification unit 124 calculates, for example, the sum of the horizontal pixel values at each of a plurality of positions in the vertical direction of the second partial image data DT23. The plurality of positions here are, for example, positions corresponding to each pixel in the vertical direction of the second partial image data DT23.

続いて、位置特定部124は、例えば、図13に示すように、第2部分画像データDT23の垂直方向における各位置の画素値の合計値を示すグラフを生成する。 Next, the position identification unit 124 generates a graph showing the sum of pixel values at each position in the vertical direction of the second partial image data DT23, as shown in, for example, FIG. 13.

具体的に、例えば、第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 position identification unit 124 generates a graph in which, for example, coordinate b0 is set to "0" and coordinate b1 is set to "80", as shown in FIG. 13.

そして、位置特定部124は、S33の処理において、生成したグラフを参照し、第2部分画像データDT23を垂直方向における複数の位置のうち、画素値の合計値が閾値以下である位置を特定する。 Then, in the process of S33, the position identification unit 124 refers to the generated graph and identifies, among multiple positions in the vertical direction of the second partial image data DT23, a position where the sum of pixel values is equal to or less than a threshold value.

具体的に、図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 position identification unit 124, for example, identifies the start point (e.g., "14") and end point (e.g., "16") of the range with the smallest sum of pixel values among each point whose vertical coordinate is between "10" and "20" as coordinate y1 and coordinate y2, respectively. In addition, the position identification unit 124, for example, identifies the start point (e.g., "68") of the range with the smallest sum of pixel values among each point whose vertical coordinate is between "60" and "70" as coordinate y3.

すなわち、第2部分画像データDT23に映る凹部12bやテーパー部12cにおける水平方向の画素値の合計値は、検証用画像データDT21の撮影時における光の当たり方に起因して、例えば、フロート12における他の部分の画素値の合計値よりも小さくなる。そのため、位置特定部124は、例えば、画素値の合計値が閾値以下である位置を特定することで、座標y1、座標y2及び座標y3を特定することが可能になる。 That is, the sum of the horizontal pixel values in the recess 12b and tapered portion 12c reflected in the second partial image data DT23 is smaller than the sum of the pixel values in other portions of the float 12, for example, due to the way the light hits them when the verification image data DT21 is captured. Therefore, the position identification unit 124 can identify the coordinates y1, y2, and y3, for example, by identifying a position where the sum of the pixel values is equal to or less than a threshold value.

その後、位置特定部124は、例えば、座標y1、座標y2及び座標y3のうちの2つを第1位置及び第2位置として特定する。 Then, the position identification unit 124 identifies, for example, two of coordinates y1, y2, and y3 as the first position and the second position.

なお、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 recess 12b and the tapered portion 12c reflected in the second partial image data DT23 may be greater than the sum of the pixel values in other portions of the float 12. Therefore, in this case, the position identification unit 124 may, for example, identify any two of the positions where the sum calculated in the process of S32 is equal to or greater than a threshold value (hereinafter also referred to as the second threshold value) as the first position and the second position (S33). Specifically, the position identification unit 124 may, for example, identify the positions where the sum of the pixel values is equal to or greater than the threshold value, thereby identifying the coordinates y1, y2, and y3.

図7に戻り、上端特定部125は、S33で特定した第1位置及び第2位置から、フロート12の垂直方向における上端位置12aを特定する(S35)。 Returning to FIG. 7, the upper end determination unit 125 determines the upper end position 12a of the float 12 in the vertical direction from the first position and the second position determined in S33 (S35).

具体的に、上端特定部125は、例えば、以下の式(1)、式(2)及び式(3)のいずれかを用いることによって、上端位置12aに対応する座標y0を算出する。以下の式(1)、式(2)及び式(3)において、c1、c2及びc3のそれぞれは、他の画像データ(図示しない)を用いて計測した上端位置12aから位置12b0までの長さ、上端位置12aから位置12b1までの長さ、及び、上端位置12aから位置12c0までの長さである。 Specifically, the top end determination unit 125 calculates the coordinate y0 corresponding to the top end position 12a by using, for example, any of the following formulas (1), (2), and (3). In the following formulas (1), (2), and (3), c1, c2, and c3 are the length from the top end position 12a to position 12b0, the length from the top end position 12a to position 12b1, and the length from the top end position 12a to position 12c0, respectively, measured using other image data (not shown).

さらに具体的に、例えば、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 end identification unit 125 calculates coordinate y0 according to, for example, the following formula (1).

Figure 0007670261000001
Figure 0007670261000001

すなわち、例えば、上端位置12aから位置12c0までの長さを上端位置12aから位置12b1までの長さで割った値は、フロート12が映る全ての画像データにおいて同じ値である。そのため、位置特定部124は、例えば、他の画像データを用いて計測した上端位置12aから位置12c0までの長さを、他の画像データを用いて計測した上端位置12aから位置12b1までの長さで割った値を用いることによって座標y0を算出する。 That is, for example, the value obtained by dividing the length from the top end position 12a to position 12c0 by the length from the top end position 12a to position 12b1 is the same for all image data showing the float 12. Therefore, the position identification unit 124 calculates the coordinate y0 by using the value obtained by dividing the length from the top end position 12a to position 12c0 measured using other image data by the length from the top end position 12a to position 12b1 measured using other image data.

また、例えば、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 end identification unit 125 calculates the coordinate y0 according to, for example, the following formula (2).

Figure 0007670261000002
Figure 0007670261000002

また、例えば、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 end identification unit 125 calculates the coordinate y0 according to, for example, the following formula (3).

Figure 0007670261000003
Figure 0007670261000003

なお、上端特定部125は、例えば、上記の式(1)、式(2)及び式(3)の全てを用いることによって上端位置12aの座標y0をそれぞれ算出するものであってもよい。そして、上端特定部125は、この場合、例えば、上記の式(1)、式(2)及び式(3)のそれぞれを用いることによって算出した座標y0の中央値や平均値を算出するものであってよい。 The upper end determination unit 125 may calculate the coordinate y0 of the upper end position 12a by using, for example, all of the above formulas (1), (2), and (3). In this case, the upper end determination unit 125 may calculate the median or average of the coordinate y0 calculated by using, for example, each of the above formulas (1), (2), and (3).

図7に戻り、値算出部126は、S34の処理で特定した上端位置12aに対応するフロートメータ10における目盛り値を算出する(S35)。 Returning to FIG. 7, the value calculation unit 126 calculates the scale value of the float meter 10 corresponding to the upper end position 12a identified in the processing of S34 (S35).

具体的に、値算出部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 value calculation unit 126 calculates the coordinate in the first partial image data DT22 of the coordinate y0 calculated in the processing of S34 (hereinafter also referred to as the coordinate Y0). Then, the value calculation unit 126 obtains a value indicating the position of the coordinate Y0 in the first partial image data DT22 by dividing the length from the top end position in the vertical direction of the first partial image data DT22 to the top end position 12a of the float 12 (the length from coordinate m0 to coordinate Y0 shown in FIG. 14) by the length from the top end position to the bottom end position in the vertical direction of the first partial image data DT22 (the length from coordinate m0 to coordinate m1 shown in FIG. 14).

さらに具体的に、値算出部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 value calculation unit 126 calculates the coordinate Y0 by adding the coordinate b0 in the first partial image data DT22 (hereinafter also referred to as the coordinate B0) described in FIG. 12B to the coordinate y0 calculated in the process of S34. Then, the value calculation unit 126 obtains a value indicating the position of the coordinate Y0 in the first partial image data DT22 by following the following formula (4). Note that in the following formula (4), P corresponds to the value indicating the position of the coordinate Y0, y min corresponds to the coordinate m0 corresponding to the upper end position of the second reference area 14a, and y max corresponds to the coordinate m1 corresponding to the lower end position of the second reference area 14b.

Figure 0007670261000004
Figure 0007670261000004

そして、値算出部126は、予め生成されたフロートメータ10に対応する2次近似式に対して座標Y0の位置を示す値を代入することによって、座標Y0に対応する目盛り値(目盛り11aにおける目盛り値)を算出する。その後、値算出部126は、例えば、算出した目盛り値を操作端末2に出力する。 Then, the value calculation unit 126 calculates the scale value corresponding to the coordinate Y0 (the scale value on the scale 11a) by substituting a value indicating the position of the coordinate Y0 into the quadratic approximation equation corresponding to the float meter 10 that was generated in advance. After that, the value calculation unit 126 outputs the calculated scale value to the operation terminal 2, for example.

なお、例えば、撮像装置によって撮影された動画データに含まれる各フレームに対応する画像データ(以下、基準画像データとも呼ぶ)と検証用画像データ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 value calculation unit 126 may, for example, multiply the verification image data DT21 by a scaling factor of the reference image data relative to the verification image data DT21, and then substitute this into the quadratic approximation equation. In other words, the value calculation unit 126 may substitute a value indicating the position of the coordinate Y0 in the reference image data into the quadratic approximation equation.

また、作業者は、例えば、第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 scale 11a of the floatometer 10 reflected in the first partial image data DT22, for example, by using learning data (not shown) including the first learning image data DT11 and information indicating the scale value on the scale 11a of the floatometer 10 reflected in the first learning image data DT11. The value calculation unit 126 may then identify, for example, a value output in response to input of the first partial image data DT22 to the generated learning model as the scale value on the scale 11a of the floatometer 10 reflected in the first partial image data DT22.

さらに、例えば、フロート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 scale 11a corresponding to the upper end position 12a of the float 12 or a correct equation that can calculate the scale value on the scale 11a by using the upper end position 12a of the float 12 is known in advance, the value calculation unit 126 may use this correct answer value or correct equation to identify the scale value on the scale 11a of the float meter 10 reflected in the first partial image data DT22.

このように、本実施の形態における情報処理装置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 information processing device 1 in this embodiment uses a first learning model that outputs first partial image data showing the float meter 10 in response to input of verification image data, and a second learning model that outputs second partial image data showing the float 12 and the area vertically above the top end position 12a of the float 12 in response to input of the first partial image data, to sequentially identify the float meter 10 shown in the verification image data and the float 12 shown in the first partial image data. Then, the information processing device 1 identifies the top end position 12a of the float 12 shown in the second partial image data, for example, by using the first and second positions (positions other than the top end position 12a of the float) of the float 12 shown in the second partial image data.

これにより、本実施の形態における情報処理装置1は、上端位置12a以外の位置を上端位置12aとして特定した場合であっても、フロート12の全体が含まれる第2部分画像データを出力することが可能な第2学習モデルを生成することが可能になる。そのため、本実施の形態における情報処理装置1は、例えば、目盛り11aの読み取りに用いられる部分の形状と他の部分の形状とが類似しているフロート12についても、目盛り11aの読み取りを精度良く行うことが可能になる。 As a result, the information processing device 1 in this embodiment is able to generate a second learning model capable of outputting second partial image data including the entire float 12, even when a position other than the top end position 12a is identified as the top end position 12a. Therefore, the information processing device 1 in this embodiment is able to accurately read the scale 11a, for example, even for a float 12 in which the shape of the part used to read the scale 11a is similar to the shape of the other parts.

なお、第1画像抽出部121は、S22の処理において、撮像装置によって撮影された動画データに含まれる各フレームに対応する検証用画像データDT21を連続的に取得するものであってもよい。そして、情報処理装置1は、取得した検証用画像データDT21のそれぞれについてS23からS35の処理を行うものであってよい。その後、値算出部126は、S35の処理で算出した目盛り値のそれぞれの中央値や平均値を操作端末2に出力するものであってもよい。 The first image extraction unit 121 may continuously acquire verification image data DT21 corresponding to each frame included in the video data captured by the imaging device in the process of S22. The information processing device 1 may then perform processes from S23 to S35 for each of the acquired verification image data DT21. Thereafter, the value calculation unit 126 may output the median and average of each of the scale values calculated in the process of S35 to the operation terminal 2.

また、第1データ生成部111は、S12の処理において、例えば、基準マーカ13のそれぞれの位置からバウンディングボックスB1の位置を自動的に特定するものであってもよい。 In addition, in the processing of S12, the first data generation unit 111 may, for example, automatically determine the position of the bounding box B1 from the positions of each of the reference markers 13.

具体的に、第1データ生成部111は、例えば、全ての基準マーカ13が含まれる位置をバウンディングボックスB1の位置として自動的に特定するものであってもよい。そして、第1データ生成部111は、特定したバウンディングボックスB1の位置情報を第1学習用画像データDT11に付加することによって、第1学習データを自動的に生成するものであってもよい。 Specifically, the first data generation unit 111 may, for example, automatically identify a position that includes all of the reference markers 13 as the position of the bounding box B1. The first data generation unit 111 may then automatically generate the first learning data by adding position information of the identified bounding box B1 to the first learning image data DT11.

これにより、情報処理装置1は、第1学習データの生成に伴う作業者の作業負荷を軽減させることが可能になる。 This enables the information processing device 1 to reduce the workload of workers involved in generating the first learning data.

また、第2データ生成部113は、S14の処理において、例えば、基準マーカ14のそれぞれの位置と、第2学習用画像データDT12の垂直方向における各位置に対応する画素値の合計値を示すグラフ(図13で説明したグラフ)とから、バウンディングボックスB2の位置を自動的に特定するものであってもよい。 In addition, in the processing of S14, the second data generation unit 113 may automatically determine the position of the bounding box B2 from, for example, each position of the reference marker 14 and a graph showing the sum of pixel values corresponding to each position in the vertical direction of the second learning image data DT12 (the graph described in FIG. 13).

具体的に、第2データ生成部113は、例えば、第2学習用画像データDT12の垂直方向における各位置のうち、画素値の合計値が閾値以下である垂直方向における範囲を特定する。そして、第2データ生成部113は、例えば、特定した範囲を垂直方向上側及び垂直方向下側に向けて所定の長さだけ拡大した領域に対応する位置を、バウンディングボックスB2の位置として自動的に特定するものであってもよい。その後、第2データ生成部113は、特定したバウンディングボックスB2の位置情報を第2学習用画像データDT12に付加することによって、第2学習データを自動的に生成するものであってもよい。 Specifically, the second data generation unit 113, for example, identifies a range in the vertical direction among the positions in the second learning image data DT12 where the sum of pixel values is equal to or less than a threshold value. Then, the second data generation unit 113 may, for example, automatically identify a position corresponding to an area obtained by expanding the identified range vertically upward and downward by a predetermined length as the position of the bounding box B2. Thereafter, the second data generation unit 113 may automatically generate the second learning data by adding position information of the identified bounding box B2 to the second learning image data DT12.

これにより、情報処理装置1は、第2学習データの生成に伴う作業者の作業負荷を軽減させることが可能になる。 This enables the information processing device 1 to reduce the workload of workers involved in generating the second learning data.

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部分画像データを抽出し、
抽出した前記第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において、
前記第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:
請求項2において、
前記第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:
請求項2において、
前記第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:
請求項1において、
前記第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において、さらに、
前記第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において、
前記上端位置を特定する処理では、
前記上端位置から前記第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学習モデルから出力される値を取得し、
取得した前記値に対応する前記第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:
請求項1において、さらに、
前記フロートが含まれる複数の第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部分画像データを抽出し、
抽出した前記第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部分画像データを抽出し、
抽出した前記第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;
JP2021092181A 2021-06-01 2021-06-01 Float meter reading program, float meter reading device, and float meter reading method Active JP7670261B2 (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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