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
JP7761412B2 - Camera installation support system, camera control device, and camera installation method - Google Patents
[go: Go Back, main page]

JP7761412B2 - Camera installation support system, camera control device, and camera installation method - Google Patents

Camera installation support system, camera control device, and camera installation method

Info

Publication number
JP7761412B2
JP7761412B2 JP2021110867A JP2021110867A JP7761412B2 JP 7761412 B2 JP7761412 B2 JP 7761412B2 JP 2021110867 A JP2021110867 A JP 2021110867A JP 2021110867 A JP2021110867 A JP 2021110867A JP 7761412 B2 JP7761412 B2 JP 7761412B2
Authority
JP
Japan
Prior art keywords
camera
reference object
image
size
weighing machine
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
JP2021110867A
Other languages
Japanese (ja)
Other versions
JP2023007793A (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.)
Tokico System Solutions Co Ltd
Eneos Corp
Kokusai Denki Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
Tokico System Solutions Co Ltd
Eneos Corp
Kokusai Denki Electric Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Kokusai Electric Inc, Tokico System Solutions Co Ltd, Eneos Corp, Kokusai Denki Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP2021110867A priority Critical patent/JP7761412B2/en
Publication of JP2023007793A publication Critical patent/JP2023007793A/en
Application granted granted Critical
Publication of JP7761412B2 publication Critical patent/JP7761412B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Loading And Unloading Of Fuel Tanks Or Ships (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)
  • Accessories Of Cameras (AREA)

Description

本発明は、給油所におけるセルフ給油の様子を撮影するためのカメラの設置を支援する技術に関する。 The present invention relates to technology that supports the installation of cameras to capture self-service refueling at gas stations.

従来のセルフ給油では、給油所における危険行為の発見を人(従業員)の目視により行っていた。セルフ給油に対応した給油所では、給油許可を出してよいかを従業員が確認するための確認用カメラが設置されている。このような確認用カメラは、計量機に対して車両の前方側又は後方側の斜め上方に設置され、給油動作を車両の前方側又は後方側から斜めに見下ろした映像を撮影するのが一般的であった。図1は、給油所における従来のカメラの設置位置の例を示している。図1の例では、カメラ10が計量機20に対して車両30の後方側の斜め上方に設置されている。 In conventional self-service gas stations, dangerous behavior at the station is detected visually by a person (employee). Gas stations that support self-service gas stations are equipped with confirmation cameras that allow employees to confirm whether or not to issue permission for refueling. These confirmation cameras are typically installed diagonally above the vehicle's front or rear relative to the weighing machine, and capture footage of the refueling operation viewed diagonally from the front or rear of the vehicle. Figure 1 shows an example of the installation location of conventional cameras at a gas station. In the example of Figure 1, camera 10 is installed diagonally above the vehicle's rear relative to weighing machine 20.

ここで、本発明に係る技術分野の従来技術としては、以下のようなものがある。例えば、特許文献1には、各給油ポイントの情報と監視モニタに表示される各給油ポイントの画像とを対応させる発明が開示されている。また、特許文献2には、監視装置が利用者の異常行動を判定し、利用者の操作による車両への給油を制御する発明が開示されている。 Here, the following are examples of prior art in the technical field related to the present invention. For example, Patent Document 1 discloses an invention in which information about each refueling point is associated with an image of each refueling point displayed on a monitoring monitor. Furthermore, Patent Document 2 discloses an invention in which a monitoring device determines abnormal user behavior and controls vehicle refueling through user operation.

特開2000-238899号公報Japanese Patent Application Laid-Open No. 2000-238899 国際公開第2021/015256号International Publication No. 2021/015256

近年では、画像処理とAIを組み合わせて危険行為を発見するアプローチが検討されている。しかしながら、図1のような計量機に対して斜め方向から撮影する形態では、死角の発生によって期待された検出結果が得られない場合がある。また、給油所は店舗によりレイアウトが異なるため、カメラ位置、高さ、角度、視野範囲などを共通的に定義することは難しい。その結果、カメラ設置精度は工事作業者の経験に基づくことになり、均一なカメラ設置位置や画角にならない。また仮に、理想的な画角があって、カメラ設置が厳密に定義されたとしても、給油所毎に異なるレイアウトに対して毎回異なる作業者がカメラ設置を行うような状況では、作業者が現場で忠実に定義を遵守してカメラ設置することは極めて困難である。 In recent years, approaches that combine image processing and AI to detect dangerous behavior have been explored. However, when capturing images of a weighing machine from an oblique angle, as in Figure 1, blind spots can occur and the expected detection results may not be obtained. Furthermore, because the layout of each gas station varies, it is difficult to commonly define camera position, height, angle, field of view, etc. As a result, camera installation accuracy is based on the experience of the construction worker, and camera installation positions and angle of view are not uniform. Furthermore, even if there is an ideal angle of view and camera installation is strictly defined, it is extremely difficult for workers to faithfully install cameras on site in accordance with the definitions, given that different workers install cameras each time for different gas stations with different layouts.

本発明は、上記のような従来の事情に鑑みて為されたものであり、給油所におけるセルフ給油の監視に適した視野範囲にカメラを調整する作業を容易に実施できるようにすることを目的とする。 The present invention was made in consideration of the above-mentioned conventional circumstances, and aims to make it easier to adjust the camera to a field of view suitable for monitoring self-service refueling at gas stations.

上記の目的を達成するために、本発明の一態様であるカメラ設置支援システムは、以下のように構成される。
すなわち、本発明に係るカメラ設置支援システムは、給油所にある計量機の真上の位置又は計量機の真上から車両停車位置方向にシフトした位置に設置されたカメラと、カメラのパン、チルト及びズームを制御する機能を有するカメラ制御装置とを備え、カメラ制御装置は、計量機の位置及びサイズを規定したガイド情報を用いて、カメラの撮影映像に含まれる計量機の中心座標とガイド情報に含まれる計量機の中心座標とが一致するようにカメラのパン及びチルトを制御する処理と、カメラの撮影映像に含まれる計量機のサイズとガイド情報に含まれる計量機のサイズとが一致するようにカメラのズームを制御する処理とを実行することを特徴とする。
In order to achieve the above object, a camera installation support system according to one aspect of the present invention is configured as follows.
In other words, the camera installation support system of the present invention comprises a camera installed directly above a weighing machine at a gas station or at a position shifted from directly above the weighing machine toward the vehicle parking position, and a camera control device having the function of controlling the pan, tilt, and zoom of the camera, and the camera control device is characterized in that it uses guide information that specifies the position and size of the weighing machine to perform a process of controlling the pan and tilt of the camera so that the center coordinates of the weighing machine included in the image captured by the camera match the center coordinates of the weighing machine included in the guide information, and a process of controlling the zoom of the camera so that the size of the weighing machine included in the image captured by the camera matches the size of the weighing machine included in the guide information.

ここで、カメラ制御装置は、映像に含まれる計量機を検出するための学習済みモデルを用いて、カメラの撮影映像から計量機を検出する処理を実行するように構成され得る。 Here, the camera control device can be configured to execute a process to detect weighing machines from the video captured by the camera using a trained model for detecting weighing machines contained in the video.

また、カメラ制御装置は、カメラの撮影映像にガイド情報に含まれる計量機の位置及びサイズを示す画像を重畳させた映像を出力する処理を実行するように構成され得る。 The camera control device can also be configured to execute a process to output an image in which an image indicating the position and size of the weighing machine included in the guide information is superimposed on the image captured by the camera.

また、本発明の一態様であるカメラ制御装置は、以下のように構成される。
すなわち、本発明に係るカメラ制御装置は、給油所に設置されたカメラのパン、チルト及びズームを制御する機能を有するカメラ制御装置であって、カメラは、給油所にある計量機の真上の位置又は計量機の真上から車両停車位置方向にシフトした位置に設置されており、当該カメラ制御装置は、計量機の位置及びサイズを規定したガイド情報を用いて、カメラの撮影映像に含まれる計量機の中心座標とガイド情報に含まれる計量機の中心座標とが一致するようにカメラのパン及びチルトを制御する処理と、カメラの撮影映像に含まれる計量機のサイズとガイド情報に含まれる計量機のサイズとが一致するようにカメラのズームを制御する処理とを実行することを特徴とする。
A camera control device according to one aspect of the present invention is configured as follows.
In other words, the camera control device of the present invention is a camera control device having the function of controlling the pan, tilt, and zoom of a camera installed at a gas station, and the camera is installed at a position directly above a weighing machine at the gas station or at a position shifted from directly above the weighing machine in the direction of the vehicle parking position, and the camera control device is characterized in that it uses guide information that specifies the position and size of the weighing machine to perform a process of controlling the pan and tilt of the camera so that the center coordinates of the weighing machine included in the image captured by the camera match the center coordinates of the weighing machine included in the guide information, and a process of controlling the zoom of the camera so that the size of the weighing machine included in the image captured by the camera matches the size of the weighing machine included in the guide information.

また、本発明の一態様であるカメラ設置方法は、以下のように構成される。
すなわち、本発明に係るカメラ設置方法は、給油所にある計量機の真上の位置又は計量機の真上から車両停車位置方向にシフトした位置にカメラを設置する設置工程と、映像内における計量機の位置及びサイズを規定したガイドを含む調整用画像を用いて、カメラの視野範囲を調整する調整工程とを有することを特徴とする。
A camera installation method according to one aspect of the present invention is configured as follows.
In other words, the camera installation method of the present invention is characterized by having an installation step of installing a camera at a position directly above a weighing machine at a gas station or at a position shifted from directly above the weighing machine toward the vehicle stopping position, and an adjustment step of adjusting the field of view of the camera using an adjustment image including a guide that defines the position and size of the weighing machine within the image.

ここで、調整工程は、カメラ映像から計量機を検出するための学習済みモデルを用いて、カメラの撮影映像から計量機を検出する処理を含むように構成され得る。 Here, the adjustment process may be configured to include a process of detecting weighing machines from camera footage using a trained model for detecting weighing machines from camera footage.

また、調整工程は、カメラの撮影映像に含まれる計量機の中心座標と調整用画像のガイドの中心座標とが一致するようにカメラのパン及びチルトを制御する処理と、カメラの撮影映像に含まれる計量機のサイズと調整用画像のガイドのサイズとが一致するようにカメラのズームを制御する処理とを含むように構成され得る。 The adjustment process can also be configured to include a process of controlling the pan and tilt of the camera so that the center coordinates of the weighing device included in the image captured by the camera match the center coordinates of the guide in the adjustment image, and a process of controlling the zoom of the camera so that the size of the weighing device included in the image captured by the camera matches the size of the guide in the adjustment image.

また、調整工程は、カメラの撮影映像に調整用画像を重畳して表示する処理を含むように構成され得る。 The adjustment process may also be configured to include a process of superimposing an adjustment image on the image captured by the camera.

本発明によれば、給油所におけるセルフ給油の監視に適した視野範囲にカメラを調整する作業を容易に実施することが可能となる。 This invention makes it easy to adjust the camera to a field of view suitable for monitoring self-service refueling at gas stations.

従来のカメラの設置位置の例を示す正面図である。FIG. 1 is a front view showing an example of the installation position of a conventional camera. セルフ給油の監視に適したカメラの設置位置の例を示す正面図である。FIG. 10 is a front view showing an example of a camera installation position suitable for monitoring self-service refueling stations. セルフ給油の監視に適したカメラの設置位置の例を示す平面図である。FIG. 10 is a plan view showing an example of a camera installation position suitable for monitoring self-service gas stations. セルフ給油の監視に適したカメラの設置位置の例を示す側面図である。FIG. 10 is a side view showing an example of a camera installation position suitable for monitoring self-service refueling stations. 図2~図4に示す設置位置のカメラによる視野範囲の例を示す図である。5A to 5C are diagrams showing examples of the field of view of the cameras installed at the positions shown in FIGS. 2 to 4. 本発明の一実施形態に係るカメラ設置支援システムの構成例を示す図である。1 is a diagram illustrating an example of the configuration of a camera installation support system according to an embodiment of the present invention. 図6のカメラ設置支援システムで使用される調整用画像の例を示す図である。7A and 7B are diagrams showing examples of adjustment images used in the camera installation support system of FIG. 6; 図6のカメラ設置支援システムで使用される調整用画像の例を示す図である。7A and 7B are diagrams showing examples of adjustment images used in the camera installation support system of FIG. 6; 図6のカメラ設置支援システムで実施されるカメラの視野範囲の自動調整に関するフローチャートの例を示す図である。FIG. 7 is a diagram showing an example of a flowchart relating to automatic adjustment of the field of view range of the camera performed by the camera installation support system of FIG. 6 .

以下、本発明の一実施形態について、図面を参照しながら説明する。
まず、給油所におけるセルフ給油の監視を行うのに適したカメラの設置位置について説明する。画像処理AIによる危険行為の発見を行うにあたり、カメラ位置は重要なポイントとなる。しかしながら、従来の給油所にある確認用カメラは、従業員の目視によるおおよその確認が目的であるため、カメラ位置や画角はそれほど重要視されていない。このため、画像処理AIによる危険行為の発見には不適切なカメラ位置や画角であることが多い。更に、画像処理AIによる効果を最大限に引き出すためには、カメラ位置、高さ、画角等の厳密な調整が必要になるが、給油所は店舗によってレイアウトが異なるため、カメラ位置、高さ、画角を共通的に定義することは行われていない。このため、工事作業者の経験に基づいたカメラ取り付けでは、画像処理AIの均一な検出精度が得られない。そこで、好適なカメラ設置位置を決めるために、セルフ給油を行う際の車両停止位置、給油者の姿勢、給油者の挙動の3項目について分析した。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
First, we will explain the installation location of a camera suitable for monitoring self-service refueling at a gas station. Camera position is an important factor when detecting dangerous behavior using image processing AI. However, since the purpose of conventional confirmation cameras at gas stations is for employees to roughly check the situation visually, camera position and field of view are not particularly important. As a result, camera positions and field of view are often inappropriate for detecting dangerous behavior using image processing AI. Furthermore, to maximize the effectiveness of image processing AI, precise adjustment of camera position, height, field of view, etc. is required. However, because the layout of gas stations varies from store to store, camera position, height, and field of view are not commonly defined. For this reason, camera installation based on the experience of construction workers will not achieve uniform detection accuracy with image processing AI. Therefore, to determine the optimal camera installation location, we analyzed three factors: the vehicle stopping position, the posture of the refueler, and the behavior of the refueler during self-service refueling.

(1)車両停車位置
給油所を訪れる給油者の個人判断に依存するが、給油所の路面に矩形状にマークされた車両停車位置に自然と車両が促されるため、概ね車両の給油口が計量機の正面になるように停車されることが多い。また、計量機と車両の給油口との間の距離としては、給油ホ-スが届く距離で、かつ、給油動作に支障がなく、人がスムーズに出入りできる程度の距離が一般的に確保される。
(1) Vehicle Parking Position Although it depends on the personal judgment of the person who visits the gas station to fill up the tank, vehicles are naturally drawn to the rectangular vehicle parking positions marked on the road surface of the gas station, so vehicles are generally parked so that the fuel filler opening is directly in front of the metering machine. In addition, the distance between the metering machine and the vehicle's fuel filler opening is generally kept long enough for the fuel hose to reach, and long enough so that there is no interference with the refueling operation and people can enter and exit smoothly.

(2)給油者の姿勢
給油者は、概ね片手で給油ノズルを保持し、車両の傍らに立ち姿勢で給油する。給油が完了するまで、ほぼこの状態が維持される。従来のように、給油動作を車両の前方側又は後方側から斜めに見下ろした映像を撮影するカメラ配置では、給油ノズルを保持する手や腕に隠れてしまい、給油口が見えなくなる状況が発生する場合がある。また、給油者が両手で給油ノズルを保持する場合もまれにあるが、状況は同様である。
(2) Posture of the Fueler The fueler generally holds the fuel nozzle with one hand and stands next to the vehicle while filling the tank. This position is generally maintained until the fuel is filled. In conventional camera positions that capture the refueling operation from a diagonal downward view from the front or rear of the vehicle, the fuel nozzle may be hidden by the hand or arm holding the nozzle, making the fuel nozzle invisible. In rare cases, the fueler may hold the fuel nozzle with both hands, but the situation is similar.

給油者の立ち位置としては、給油ノズルに対して車両の前方側又は後方側であることが多い。ここで、例えば、車両の後方側から撮影するカメラ位置である場合で、かつ、給油者が車両の後方側に立った状態で給油した場合、給油口や給油ノズルは給油者に隠れてしまって給油動作を全く確認できなくなる。また、例えば、車両のドアを開けたままで給油が行われる場合があるが、カメラ位置が車両の前方側であれば、この際の給油動作はドアに隠れて全く確認できなくなる。 The person filling up the tank is often standing at the front or rear of the vehicle relative to the fuel nozzle. For example, if the camera is positioned to film from the rear of the vehicle and the person filling up the tank is standing at the rear of the vehicle, the fuel filler opening and fuel nozzle will be hidden by the person filling up the tank, making it impossible to see the filling action at all. Also, for example, there are cases where the vehicle is filled up with the door open, and if the camera is positioned at the front of the vehicle, the filling action will be hidden by the door and will not be visible at all.

(3)給油者の挙動
給油時は、給油者が給油ノズルを手で保持する必要があるため、立ち姿勢を維持することになり、その結果、給油中に給油者が大きく動くことは少ない。ところが、継ぎ足し給油の際などに、給油者が給油口を覗きながら給油する場合がある。この場合、給油者の頭部や上半身が給油口や給油ノズルに覆い被さることで、給油口や給油ノズルが隠れてしまい、カメラで捉えることができないことがある。
(3) Behavior of the Fueler When refueling, the fueler must hold the fuel nozzle in his/her hand, so he/she must maintain a standing posture, and as a result, the fueler rarely moves significantly while refueling. However, when refilling fuel, the fueler may look into the fuel filler neck while refueling. In this case, the fueler's head or upper body may cover the fuel filler neck or fuel filler nozzle, hiding them and making them impossible to capture on the camera.

なお、車両の給油口は車両に対して側面に位置し、給油ノズルは車両に対して垂直に挿し込まれる。そのため、継ぎ足し給油の際は、給油ノズルを少し引いて、給油ノズルの横方向か、もしくは正面から給油口を覗くような姿勢となる。車両の構造上、給油口の真上からでは給油タンク内部が見えないためであり、給油口を真上から覗くような姿勢にはなりにくい。 The vehicle's fuel filler cap is located on the side of the vehicle, and the fuel nozzle is inserted perpendicular to the vehicle. Therefore, when adding fuel, you must pull the fuel nozzle back slightly and look into the fuel filler cap from either the side or the front. Due to the vehicle's structure, it is not possible to see the inside of the fuel tank from directly above the fuel filler cap, so it is difficult to look into the fuel filler cap from directly above.

以上の分析結果より、給油者の細かい給油動作には種々あるものの、給油所のレイアウトや車両の形状がパターン化されているので、カメラの視野範囲をどのようにすべきかについてはある程度固定化できることがわかる。このことから、画像処理AIにより給油動作を検出するためのカメラ位置、高さ、角度をパターン化することで、様々な給油所のレイアウトに対して共通化できるようになり、危険行為を高い精度で検出することが可能となる。 The above analysis results show that although there are various detailed refueling actions taken by refueling drivers, the layout of gas stations and the shape of vehicles are patterned, so the camera's field of view can be fixed to a certain extent. Therefore, by patterning the camera position, height, and angle for detecting refueling actions using image processing AI, it becomes possible to standardize them for various gas station layouts, making it possible to detect dangerous behavior with high accuracy.

次に、カメラの台数について分析する。カメラ位置のパターン化は、カメラ台数にも左右される。例えば、従来のように、車両の前方側又は後方側から斜めに見下ろす角度で撮影する場合、給油者自身による隠れやドアによる隠れに対する対策として、1つのレ-ンに対して2台のカメラを設置して2方向から撮影することが考えられる。この場合、カメラ本体の設置台数が増えることから、機器費や工事費のコストが増大する。また、2台のカメラ映像を各々取り込んで画像処理AIに推論処理を実行させる必要があるため、画像処理AIが煩雑かつ複雑になる。また、カメラ2台分の映像を同時に処理する必要があることから、リソースの消費がカメラ1台分に対しておよそ2倍になる。その結果、AIの推論処理を行うコンピュータとして高性能機種を採用しなければならず、この点でもコストが割高となってしまう。 Next, we will analyze the number of cameras. The pattern of camera positioning is also influenced by the number of cameras. For example, when taking pictures at an angle looking down from the front or rear of the vehicle, as is done conventionally, one possible solution is to install two cameras per lane and take pictures from two directions as a countermeasure against the fuel pumper hiding behind the vehicle or behind a door. In this case, the number of cameras installed increases, which increases the costs of equipment and construction. Furthermore, since it is necessary to capture images from both cameras and have the image processing AI perform inference processing, the image processing AI becomes cumbersome and complex. Furthermore, since it is necessary to process images from two cameras simultaneously, resource consumption is approximately twice that of a single camera. As a result, a high-performance model must be used as the computer to perform the AI inference processing, which also increases costs.

一方、給油所に既に設置されている確認用カメラは、カメラ1台で2レーン分を撮影しているケースがある。この場合には、カメラ視野範囲の左右に各レーンが映ることになる。この2レーンを同時に撮影するケースでは、1レーンあたりに有効な画素数は少なくとも元の画素数の半分以下になり、情報量が半減する。また、画像処理AIで給油動作を監視する用途においては、2レーンを同時に撮影するがゆえに、カメラ視野範囲の中に給油動作に関係のない部分(監視に不要な部分)を少なからず含んでしまう。その結果、カメラの解像度を有効に活用できず、カメラの利用効率が良くない。これと同時に、誤報の原因ともなり得る。 On the other hand, confirmation cameras already installed at gas stations sometimes capture two lanes with a single camera. In this case, each lane is captured on the left and right sides of the camera's field of view. When these two lanes are captured simultaneously, the number of effective pixels per lane is at least half of the original number of pixels, halving the amount of information. Furthermore, when using image processing AI to monitor refueling operations, the camera's field of view includes a significant amount of parts that are not related to refueling operations (parts that are not necessary for monitoring) because the two lanes are captured simultaneously. As a result, the camera's resolution cannot be used effectively, and the camera is not used efficiently. At the same time, this can also lead to false alarms.

これらの分析結果より、カメラ台数は1レーンあたり1台を上限とし、可能な限り、画像処理AIにとって不要な部分を含まず、有効な部分を多く含むような視野範囲に設定する方がよいことがわかる。なお、2レーンを1台のカメラで同時に撮影する場合には、例えば、4Kカメラなどの高解像度のカメラを使用することで、元々の懸念を払拭できる可能性がある。実用においては、精度が均一かつ高く維持される撮影を行える場合に限り、どちらの運用でも問題ない。 These analysis results show that the number of cameras should be limited to one per lane, and that the field of view should be set to include as many useful areas as possible, while excluding areas that are unnecessary for the image processing AI. Furthermore, when simultaneously capturing images of two lanes with one camera, the original concerns may be alleviated by using a high-resolution camera, such as a 4K camera. In practice, either type of operation is acceptable, as long as the images can be captured with consistent and consistent accuracy.

次に、カメラ設置位置の固定化について分析する。これまでの分析から、画像処理AIにて給油動作を監視する場合の適切なカメラの設置位置は、ある程度絞り込まれる。本実施形態では、できる限り、給油者の動きに関わらず、一連の給油動作を監視し続けられる位置を基準とする。 Next, we will analyze fixing the camera installation position. From the analysis so far, the appropriate camera installation position when monitoring refueling operations using image processing AI can be narrowed down to a certain extent. In this embodiment, the standard is a position that allows continuous monitoring of the entire refueling operation, regardless of the movements of the person refueling, as much as possible.

(1)基準となる視野範囲
目指すべき、基準となる視野範囲は、計量機を中心にする。例えば、撮影映像の上部の中央に計量機が位置するような視野範囲とする。車両停車位置の分析から、給油動作が行われる場所は、計量機の中心であることがわかっているので、この部分を最も大きく撮影することが可能な位置にするためである。これにより、画像処理AIの検出精度を向上させることができる。また、視野範囲から給油動作が見切れる可能性を抑えられる。
(1) Reference field of view The target reference field of view is centered on the weighing machine. For example, the field of view should be such that the weighing machine is positioned at the top center of the captured image. Analysis of the vehicle stopping position reveals that the location where the refueling operation takes place is the center of the weighing machine, so the position should be such that this part can be captured as large as possible. This improves the detection accuracy of the image processing AI. It also reduces the possibility that the refueling operation will be cut off from the field of view.

(2)カメラ設置位置
視野範囲を計量機中心とするために、カメラの設置位置は、図2~図5に示すような位置を基準とする。図2は、カメラの設置位置の例を示す正面図である。図3は、カメラの設置位置の例を示す平面図である。図4は、カメラの設置位置の例を示す側面図である。
(2) Camera Installation Position In order to center the field of view on the weighing machine, the camera installation position is based on the positions shown in Figures 2 to 5. Figure 2 is a front view showing an example of the camera installation position. Figure 3 is a plan view showing an example of the camera installation position. Figure 4 is a side view showing an example of the camera installation position.

これらの図に示すように、カメラ10を、計量機20の中心を通って車両停車位置40の方向に延びる軸Xに沿った位置に設置することが理想である。給油所には必ずキャノピー(屋根)が設置されているため、カメラは基本的に天井取り付けとなる。図3の例では、計量機20を挟み込むように2つの車両停車位置40A,40Bが設定されており、これに対応して2つカメラ10A,10Bが設置されている。 As shown in these figures, the camera 10 is ideally installed along axis X, which passes through the center of the weighing machine 20 and extends in the direction of the vehicle stopping position 40. Because gas stations always have a canopy (roof), the camera is generally mounted on the ceiling. In the example of Figure 3, two vehicle stopping positions 40A, 40B are set on either side of the weighing machine 20, and two cameras 10A, 10B are installed corresponding to these positions.

カメラの設置位置を計量機の真上にすると、給油者本人によって給油口が隠れる可能性がある。一方で、カメラの設置位置を計量機の真上から離し過ぎると、車両によって給油口が見えにくくなる。そこで、図3、図4に示すように、計量機20の真上から車両停車位置40の方向にある程度(例えば、1.5メートル程度)シフトさせた位置とすることが好ましい。ただし、1台のカメラで2レーンを同時に撮影する場合には、図3に破線10’で示すように、計量機20の真上にカメラを設けるようにしてもよい。 If the camera is installed directly above the weighing machine, there is a possibility that the fuel filler cap will be obscured by the person filling the tank. On the other hand, if the camera is installed too far away from directly above the weighing machine, the fuel filler cap will be obscured by vehicles. Therefore, as shown in Figures 3 and 4, it is preferable to position the camera a certain distance (for example, about 1.5 meters) from directly above the weighing machine 20 toward the vehicle stopping position 40. However, if one camera is to simultaneously photograph two lanes, the camera may be installed directly above the weighing machine 20, as shown by the dashed line 10' in Figure 3.

以上のように、計量機の真上の位置(カメラ1台で2レーンを撮影する場合)又は計量機の真上から車両停車位置方向にシフトした位置(カメラ1台で1レーンを撮影する場合)に、カメラを設置するようにする。ここで、本明細書における「計量機の真上」は、計量機の中心の鉛直上だけを意味するものではなく、計量機を平面視した場合の計量機の設置範囲に相当する計量機の上空エリアも含まれる。したがって、「計量機の真上の位置又は計量機の真上から車両停車位置方向にシフトした位置」には、車両側から見た計量機の幅W(図3参照)に対応する範囲の上空エリアが含まれる。ただし、カメラの設置位置としては、計量機の中心を通る軸X(図3参照)により近い位置のほうが望ましいことは言うまでもない。 As described above, the camera is installed directly above the weighing machine (when one camera is used to capture two lanes) or at a position shifted from directly above the weighing machine toward the vehicle's stopping position (when one camera is used to capture one lane). Here, "directly above the weighing machine" in this specification does not only mean vertically above the center of the weighing machine, but also includes the area above the weighing machine that corresponds to the installation range of the weighing machine when viewed from above. Therefore, "a position directly above the weighing machine or a position shifted from directly above the weighing machine toward the vehicle's stopping position" includes the area above the weighing machine that corresponds to the width W of the weighing machine as seen from the vehicle (see Figure 3). However, it goes without saying that it is preferable to install the camera closer to the axis X (see Figure 3) that passes through the center of the weighing machine.

(3)カメラ設置する高さ
カメラを取り付けるキャノピーの高さは給油所によって異なり、概ね4mから6m程度の高さがある。そこで、カメラ設置の高さの違いは、カメラのレンズによるズーム機能で吸収することとする。カメラとしては、例えば、焦点距離=2.8~8.5[mm]、水平画角=38~110[°]、垂直画角=21~62[°]、解像度=フルHD(1920×1080)、アスペクト比=16:9のようなスペックのものを用いる。このように、ある程度の望遠、広角を設定できるカメラを選定することが望ましい。例えば、高さ4mの位置にカメラを設置する場合は広角に設定し、高さ6mの位置にカメラを設置する望遠に設定すればよい。また、カメラは、自動でズーム調整できるものが好ましく、更には自動でパン、チルトも調整できるものが好ましい。
(3) Camera Installation Height The height of the canopy on which the camera is mounted varies depending on the gas station, generally ranging from 4 to 6 meters. Therefore, differences in camera installation height are accommodated by the zoom function of the camera lens. For example, the camera specifications are as follows: focal length = 2.8 to 8.5 mm, horizontal angle of view = 38 to 110°, vertical angle of view = 21 to 62°, resolution = Full HD (1920 x 1080), and aspect ratio = 16:9. It is desirable to select a camera that can be set to a certain degree of telephoto and wide-angle. For example, if the camera is installed at a height of 4 meters, it should be set to wide-angle, and if the camera is installed at a height of 6 meters, it should be set to telephoto. Furthermore, it is preferable for the camera to be capable of automatic zoom adjustment, and it is even more preferable for it to be capable of automatic pan and tilt adjustment.

(4)カメラの角度
カメラの光軸をそのまま真下に向けてしまうと、計量機本体が見えず、計量機前の動作を確認できなくなる。また、給油動作の一部が車両の陰に隠れてしまう場合もある。したがって、カメラの角度は、光軸を計量機の方向にやや傾けることが理想である。そこで、図4に示すように、カメラ10の本体を計量機20の方向に少し傾けることが望ましい。これにより、図5に示すように、計量機を正面方向から見下ろすような映像を撮影できるようになる。
(4) Camera Angle If the optical axis of the camera is pointed directly downward, the weighing machine body will not be visible, and the operation in front of the weighing machine will not be visible. Also, part of the refueling operation may be hidden in the shadow of the vehicle. Therefore, it is ideal to angle the camera so that the optical axis is slightly tilted toward the weighing machine. Therefore, as shown in Figure 4, it is desirable to tilt the body of camera 10 slightly toward the weighing machine 20. This makes it possible to capture an image of the weighing machine looking down from the front, as shown in Figure 5.

図5の例では、計量機20と車両30の間の空間、すなわち、給油動作の全体的な様子を把握できるような映像50が撮影されている。したがって、車両の給油口付近と給油ノズルの挿入状態が給油者によって隠れずに見える映像を撮影できるため、計量機前の様子を支障なく確認できるようになる。 In the example of Figure 5, video 50 is captured that shows the space between the weighing machine 20 and the vehicle 30, i.e., the overall state of the refueling operation. Therefore, video can be captured that shows the area around the vehicle's fuel filler opening and the state of the inserted fuel filler nozzle without being obscured by the person filling the fuel, making it possible to check the situation in front of the weighing machine without any obstructions.

上記のようにして決定された位置にカメラを設置した後、画像処理AIに適した映像を撮影できるようにカメラの視野範囲を調整する必要がある。図6には、本発明の一実施形態に係る、カメラの視野範囲の調整に使用されるカメラ設置支援システムの構成例を示してある。同図のカメラ設置支援システムは、カメラ10と、カメラ制御装置60とを備えている。カメラ制御装置60は、例えば、プロセッサやメモリなどのハードウェア資源を備えたコンピュータにより実現され、本発明に係る各機能を実現するためのプログラムをプロセッサが実行するように構成される。 After installing the camera in the position determined as described above, the camera's field of view must be adjusted so that it can capture images suitable for the image processing AI. Figure 6 shows an example configuration of a camera installation support system used to adjust the camera's field of view according to one embodiment of the present invention. The camera installation support system shown in the figure comprises a camera 10 and a camera control device 60. The camera control device 60 is implemented, for example, by a computer equipped with hardware resources such as a processor and memory, and is configured so that the processor executes programs to realize each function according to the present invention.

図6のカメラ制御装置60は、メモリ61と、制御部62と、表示部63と、操作部64とを有しており、カメラ10と有線又は無線により通信可能に接続される。カメラ制御装置60の動作について、カメラ10の視野範囲を手動調整する場合、半自動調整する場合、及び、全自動調整する場合の3パターンを例にして以下に説明する。 The camera control device 60 in Figure 6 has a memory 61, a control unit 62, a display unit 63, and an operation unit 64, and is connected to the camera 10 for wired or wireless communication. The operation of the camera control device 60 will be explained below using three examples: manual adjustment of the field of view of the camera 10, semi-automatic adjustment, and fully automatic adjustment.

(1)視野範囲の手動調整
カメラを所定の位置に固定した後、カメラ本体の角度調整とズーム調整により、視野範囲を決定していく。パン・チルトを遠隔で制御する機能がない、ブレッド型カメラもしくはボックス型のカメラを用いる場合には、手動で角度調整を行う必要がある。また、ズーム調整にバリフォーカルレンズを使う場合にも、手動での調整となる。カメラの設置は高所による手動作業になるため、経験に基づく指示では正確な調整はできず、また手動によるために厳密な精度が得られない。
(1) Manual adjustment of the field of view After fixing the camera in a predetermined position, the field of view is determined by adjusting the angle and zoom of the camera body. When using a bread-type camera or a box-type camera that does not have the function to remotely control pan and tilt, the angle must be adjusted manually. Also, when using a varifocal lens for zoom adjustment, manual adjustment is required. Because camera installation is a manual task at a high altitude, accurate adjustments cannot be made based on instructions based on experience, and strict precision cannot be achieved because it is done manually.

この解決策として、図7Aに一例を示すような、映像における計量機の位置及びサイズを規定したガイド72を含む調整用画像70を予め準備し、カメラ制御装置60のメモリ61に記憶させておく。カメラ制御装置60は、制御部62による制御の下、調整用画像70をカメラ10の撮影映像にリアルタイムに重畳して表示部63に表示する。作業者は、カメラ制御装置60の表示部63に表示された映像における計量機の位置及びサイズが調整用画像70のガイド72にマッチするように、カメラ10を直接操作してカメラ10の視野範囲を調整する。これにより、手作業による視野範囲の調整精度が向上するため、誰でも均一に視野範囲を調整できるようになる。 To solve this problem, an adjustment image 70 including a guide 72 defining the position and size of the weighing machine in the image, as shown in an example in Figure 7A, is prepared in advance and stored in the memory 61 of the camera control device 60. Under the control of the control unit 62, the camera control device 60 superimposes the adjustment image 70 on the image captured by the camera 10 in real time and displays it on the display unit 63. The worker directly operates the camera 10 to adjust the field of view of the camera 10 so that the position and size of the weighing machine in the image displayed on the display unit 63 of the camera control device 60 matches the guide 72 in the adjustment image 70. This improves the accuracy of manual field of view adjustment, allowing anyone to adjust the field of view uniformly.

一例として、カメラ制御装置60は、カメラ10を手作業で調整する作業者が携帯する端末(例えば、タブレット)として実現される。この場合、作業者自身が、調整用画像が重畳された撮影映像をその場で確認することができる。別の例として、カメラ制御装置60は、給油所の建屋内に設置された監視装置として実現される。この場合、建屋内の人員が、調整用画像が重畳された撮影映像を確認しながら作業者に指示することもできる。更に別の例として、カメラ制御装置60は、給油所の設備にネットワーク回線を通じて接続された別拠点に設置された遠隔監視装置として実現されてもよい。 As one example, the camera control device 60 is realized as a terminal (e.g., a tablet) carried by a worker manually adjusting the camera 10. In this case, the worker can check the captured image with the adjustment image superimposed on it on the spot. As another example, the camera control device 60 is realized as a monitoring device installed inside a gas station building. In this case, personnel inside the building can give instructions to the worker while checking the captured image with the adjustment image superimposed on it. As yet another example, the camera control device 60 may be realized as a remote monitoring device installed at a separate location connected to the gas station equipment via a network line.

ここで、図7Aは、レーン毎に1台のカメラを設置する場合に使用する調整用画像70を示しており、上側中央部に計量機が映る映像を撮影するためのものである。なお、カメラ1台で2レーンを撮影する場合には、図7Bに別の例を示すように、計量機の両脇に車両が駐車されるため、映像における計量機の位置及びサイズを規定したガイド76を中央部に含むような調整用画像74を使用すればよい。 Figure 7A shows an adjustment image 70 used when one camera is installed per lane, and is intended to capture an image in which the weighing machine is visible in the upper center. When capturing images of two lanes with one camera, as shown in another example in Figure 7B, vehicles will be parked on both sides of the weighing machine, so an adjustment image 74 can be used that includes a guide 76 in the center that defines the position and size of the weighing machine in the image.

(2)視野範囲の半自動調整
カメラ10としてPTZ(パン・チルト・ズーム)の遠隔制御が可能なものを使用する場合、視野範囲の調整作業をある程度自動化することが可能である。すなわち、カメラ制御装置60は、制御部62による制御の下、調整用画像70(又は調整用画像74)をカメラ10の撮影映像にリアルタイムに重畳して表示部63に表示する。そして、操作部64で受け付けた操作に従って、制御部62がカメラ10のパン・チルト・ズームを遠隔的に制御する。作業者は、カメラ制御装置60の表示部63の表示を見ながら操作部64を操作して、パン・チルトの遠隔制御によりカメラ10の向きを縦横方向に調整する。また同様に、ズームの遠隔制御によりカメラ10の高さ方向の視野範囲を調整する。
(2) Semi-Automatic Adjustment of Field of View When a camera 10 capable of remotely controlling PTZ (pan, tilt, and zoom) is used, the field of view adjustment process can be automated to some extent. That is, under the control of the control unit 62, the camera control device 60 superimposes the adjustment image 70 (or adjustment image 74) on the image captured by the camera 10 in real time and displays it on the display unit 63. The control unit 62 then remotely controls the pan, tilt, and zoom of the camera 10 in accordance with operations received by the operation unit 64. The operator operates the operation unit 64 while viewing the display on the display unit 63 of the camera control device 60 to adjust the orientation of the camera 10 in the vertical and horizontal directions by remotely controlling the pan and tilt. Similarly, the field of view of the camera 10 in the vertical direction can be adjusted by remotely controlling the zoom.

このように、カメラ10の視野範囲を遠隔制御により調整することができれば、カメラを設置した後は、高所での手動作業による視野範囲の調整が不要となる。カメラ制御装置60は、作業者が携帯する端末(例えば、タブレット)として実現されてもよく、給油所の建屋内に設置された監視装置として実現されてもよく、給油所の設備にネットワーク回線を通じて接続された別拠点に設置された遠隔監視装置として実現されてもよい。 In this way, if the field of view of the camera 10 can be adjusted by remote control, manual adjustment of the field of view at high altitudes will no longer be necessary after the camera is installed. The camera control device 60 may be implemented as a terminal carried by an operator (e.g., a tablet), as a monitoring device installed inside the gas station building, or as a remote monitoring device installed at a separate location connected to the gas station equipment via a network line.

(3)視野範囲の全自動調整
撮影映像内のどこかに計量機が映るような位置にカメラ10が設置されている場合、視野範囲の調整作業を完全に自動化することが可能である。すなわち、カメラ制御装置60は、制御部62による制御の下、カメラ10の撮影映像から計量機を検出し、その位置及びサイズを把握する。そして、調整用画像70のガイド72(又は調整用画像74のガイド76)が示す位置及びサイズにマッチするように、制御部62がカメラ10のパン・チルト・ズームを遠隔的に制御する。なお、本実施例においては、調整用画像上のガイドの代わりに、予め規定された計量機の位置及びサイズの数値情報を用いてもよい。以下、カメラ10の視野範囲の基準となる、計量機の位置及びサイズを含む情報をガイド情報と称する。
(3) Fully Automatic Adjustment of Field of View When the camera 10 is installed in a position where a weighing machine is visible somewhere in the captured image, the field of view adjustment process can be fully automated. That is, under the control of the control unit 62, the camera control device 60 detects the weighing machine from the captured image of the camera 10 and determines its position and size. The control unit 62 then remotely controls the pan, tilt, and zoom of the camera 10 so that the weighing machine matches the position and size indicated by the guide 72 in the adjustment image 70 (or the guide 76 in the adjustment image 74). Note that in this embodiment, predetermined numerical information indicating the position and size of the weighing machine may be used instead of the guide on the adjustment image. Hereinafter, information including the position and size of the weighing machine, which serves as the basis for the field of view of the camera 10, will be referred to as guide information.

以下、視野範囲の全自動調整について、図8のフローチャートを参照しつつ説明する。
カメラが設置された後、カメラ制御装置60はまず、カメラ10の撮影映像から計量機を検出する(ステップS11)。本例では、撮影映像から計量機を検出できるように、予め、視野範囲の調整が適切に完了したカメラにて計量機を撮影した映像を学習データとして収集しておき、この学習データに基づいて、撮影映像から計量機を検出するための学習済みモデルを生成してあるものとする。この学習済みモデルを用いた計量機検出用AIにより、撮影映像に含まれる計量機を検出し、計量機の位置及びサイズを算出することができる。
The fully automatic adjustment of the field of view range will be described below with reference to the flowchart of FIG.
After the camera is installed, the camera control device 60 first detects the weighing machine from the video captured by the camera 10 (step S11). In this example, in order to enable the detection of the weighing machine from the captured video, video of the weighing machine captured by a camera whose field of view has been appropriately adjusted is collected in advance as training data, and a trained model for detecting the weighing machine from the captured video is generated based on this training data. The weighing machine detection AI using this trained model can detect the weighing machine included in the captured video and calculate the position and size of the weighing machine.

次に、カメラ制御装置60は、撮影映像に含まれる計量機の位置及びサイズがガイド情報に含まれる計量機の位置及びサイズに合うように、カメラ10のパン・チルト・ズームを自動制御する。一例として、まず、撮影映像から検出された計量機の中心座標と、ガイド情報の計量機の中心座標との差分、すなわち、水平方向(H)及び垂直方向(V)の画素数(ズレ量)を算出する(ステップS12)。その後、撮影映像に計量機の位置ズレがあるか否かを判定する(ステップS13)。算出したズレ量がゼロの場合(又は所定の閾値以下の場合)には、位置ズレがないものとし、そうでない場合は位置ズレがあるものとする。 Next, the camera control device 60 automatically controls the pan, tilt, and zoom of the camera 10 so that the position and size of the weighing machine included in the captured video match the position and size of the weighing machine included in the guide information. As an example, first, the difference between the center coordinates of the weighing machine detected from the captured video and the center coordinates of the weighing machine in the guide information, i.e., the number of pixels (amount of deviation) in the horizontal (H) and vertical (V) directions, is calculated (step S12). Then, it is determined whether there is any positional deviation of the weighing machine in the captured video (step S13). If the calculated amount of deviation is zero (or is below a predetermined threshold), it is determined that there is no positional deviation; otherwise, it is determined that there is positional deviation.

そして、撮影映像に計量機の位置ズレがあると判定された場合には、撮影映像に含まれる計量機の中心座標がガイド情報の計量機の中心座標に近づくように(つまり、ズレ量が小さくなるように)、カメラ10のパン・チルトを調整する(ステップS14)。ステップS12~S14の処理は、位置ズレが解消するまで繰り返される。すなわち、カメラ10のパン・チルトを調整するたびに、撮影映像に含まれる計量機の中心座標とガイド情報の計量機の中心座標とのズレを計算し、そのズレを補正するように再度パン・チルトを調整する。このように、カメラ制御装置60は、複数回のパン・チルトの制御によって、カメラ10の向きを徐々に補正していく。 If it is determined that the weighing machine's position is misaligned in the captured image, the pan/tilt of camera 10 is adjusted so that the center coordinates of the weighing machine included in the captured image approach the center coordinates of the weighing machine in the guide information (i.e., so that the amount of misalignment becomes smaller) (step S14). The processes of steps S12 to S14 are repeated until the positional misalignment is resolved. In other words, each time the pan/tilt of camera 10 is adjusted, the misalignment between the center coordinates of the weighing machine included in the captured image and the center coordinates of the weighing machine in the guide information is calculated, and the pan/tilt is adjusted again to correct that misalignment. In this way, the camera control device 60 gradually corrects the orientation of camera 10 by controlling pan/tilt multiple times.

次に、カメラ制御装置60は、カメラ10のズームを調整して、高さ方向の視野範囲を調整する。ここでは、AIにより撮影映像から計量機を検出した際に、撮影映像における計量機のサイズを算出する(ステップS15)。計量機のサイズは、例えば、撮影映像における計量機の境界を示す矩形を求め、この矩形のサイズを算出することで得られる。次に、撮影映像に含まれる計量機のサイズがガイド情報の計量機のサイズと一致するか否かを判定する(ステップS16)。 Next, the camera control device 60 adjusts the zoom of the camera 10 to adjust the field of view in the height direction. Here, when the AI detects a weighing machine in the captured video, it calculates the size of the weighing machine in the captured video (step S15). The size of the weighing machine can be obtained, for example, by determining a rectangle that indicates the boundary of the weighing machine in the captured video and calculating the size of this rectangle. Next, it is determined whether the size of the weighing machine included in the captured video matches the size of the weighing machine in the guide information (step S16).

そして、サイズ不一致と判定された場合には、撮影映像に含まれる計量機のサイズがガイド情報の計量機と同程度のサイズになるように、カメラ10のズームを調整する(ステップS17)。すなわち、撮影映像に含まれる計量機のサイズがガイド情報の計量機のサイズより小さい場合はズームインし、そうでない場合はズームアウトする。ステップS15~S17の処理は、サイズ不一致が解消するまで繰り返される。すなわち、カメラ10のズームを調整するたびに、撮影映像に含まれる計量機のサイズを計算し、ガイド情報の計量機のサイズと一致するように再度ズームを調整する。このように、カメラ制御装置60は、複数回のズームの制御によって、カメラの高さ方向の視野範囲を徐々に補正していく。 If a size mismatch is determined, the zoom of camera 10 is adjusted so that the size of the weighing device included in the captured video is approximately the same as the size of the weighing device in the guide information (step S17). That is, if the size of the weighing device included in the captured video is smaller than the size of the weighing device in the guide information, it zooms in; otherwise, it zooms out. The processes of steps S15 to S17 are repeated until the size mismatch is resolved. That is, each time the zoom of camera 10 is adjusted, the size of the weighing device included in the captured video is calculated, and the zoom is adjusted again so that it matches the size of the weighing device in the guide information. In this way, the camera control device 60 gradually corrects the camera's vertical field of view by controlling the zoom multiple times.

以上のように、カメラ制御装置60が、カメラ10の撮影映像に含まれる計量機の中心座標とガイド情報の計量機の中心座標とが一致するようにカメラ10のパン及びチルトを調整する処理と、カメラ10の撮影映像に含まれる計量機のサイズとガイド情報の計量機のサイズとが一致するようにカメラ10のズームを調整する処理とを行うことで、カメラ10の視野範囲を自動的に調整することが可能となる。カメラ制御装置60は、作業者が携帯する端末(例えば、タブレット)として実現されてもよく、給油所の建屋内に設置された監視装置として実現されてもよく、給油所の設備にネットワーク回線を通じて接続された別拠点に設置された遠隔監視装置として実現されてもよい。 As described above, the camera control device 60 adjusts the pan and tilt of the camera 10 so that the center coordinates of the weighing machine included in the image captured by the camera 10 match the center coordinates of the weighing machine in the guide information, and adjusts the zoom of the camera 10 so that the size of the weighing machine included in the image captured by the camera 10 matches the size of the weighing machine in the guide information, thereby making it possible to automatically adjust the field of view of the camera 10. The camera control device 60 may be implemented as a terminal carried by an operator (e.g., a tablet), as a monitoring device installed inside the gas station building, or as a remote monitoring device installed at a separate location connected to the gas station equipment via a network line.

なお、図8のフローチャートを参照して説明した処理は一例に過ぎず、他の処理によりカメラの視野範囲を自動調整してもよい。また、視野範囲の自動調整の過程を作業者が把握できるように、調整用画像をカメラの撮影映像にリアルタイムに重畳して表示するようにしてもよい。調整用画像を伴うカメラの撮影映像は、カメラ制御装置60の表示部63に表示してもよく、カメラ制御装置60と通信可能に接続された他の装置に表示されてもよい。 Note that the process described with reference to the flowchart in Figure 8 is merely an example, and the camera's field of view range may be automatically adjusted using other processes. Furthermore, to enable the worker to understand the process of automatically adjusting the field of view range, an adjustment image may be superimposed on the image captured by the camera in real time. The image captured by the camera along with the adjustment image may be displayed on the display unit 63 of the camera control device 60, or on another device connected to the camera control device 60 so that it can communicate with the camera control device 60.

以上説明したように、給油を行う車両の停車位置、給油者の姿勢、給油者の挙動の分析結果から、画像処理AI用のカメラは、計量機の真上の位置又は計量機の真上から車両停車位置の方向にシフトした位置に設置することが有効と考えられる。そこで、本実施形態ではまず、給油所に設置された計量機の真上の位置又は計量機の真上から車両停車位置の方向にシフトした位置にカメラを設置する設置工程を実施し、その後、映像における計量機の位置及びサイズを規定したガイドを含む調整用画像を用いて、カメラの視野範囲を調整する調整工程を実施するように構成されている。 As explained above, based on the analysis of the stopping position of the vehicle performing refueling, the posture of the refueler, and the behavior of the refueler, it is considered effective to install the camera for the image processing AI in a position directly above the weighing machine or in a position shifted from directly above the weighing machine in the direction of the vehicle stopping position. Therefore, in this embodiment, an installation process is first carried out in which the camera is installed in a position directly above the weighing machine installed at the gas station or in a position shifted from directly above the weighing machine in the direction of the vehicle stopping position, and then an adjustment process is carried out in which the field of view of the camera is adjusted using an adjustment image that includes a guide that defines the position and size of the weighing machine in the image.

このような方法でカメラを設置することで、給油動作の監視における死角を減らすことが可能となる。したがって、カメラの撮影映像を従業員が目視にて確認する場合や、画像処理AIによる危険行為の検出に用いる場合においても、精度の高い危険行為の検出が可能である。また、危険行為だけでなく、正常行為も同様に確認できるようになる。 By installing cameras in this way, it is possible to reduce blind spots when monitoring refueling operations. Therefore, whether an employee visually checks the camera footage or the footage is used to detect dangerous behavior using image processing AI, it is possible to detect dangerous behavior with high accuracy. Furthermore, it is possible to detect not only dangerous behavior but also normal behavior in the same way.

また、給油所のレイアウトは様々であるが、給油所のレイアウトにかかわらずに、給油動作の全体像を捉えた映像を撮影できるため、危険行為の検出精度を均一に保つことができる。更に、従来のカメラ角度では成しえなかった給油開始から給油終了までの給油動作を途切れなくトレースできようになり、目視確認においても給油所の安全運営に貢献できる。また、システム処理においてもカメラ台数を最低限にすることができるため、画像処理AIの処理負荷が低減されるとともに、コスト低減にも寄与できる。 Fuel stations have a variety of layouts, but regardless of the layout, it is possible to capture video that captures the entire refueling process, thereby maintaining consistent accuracy in detecting dangerous behavior. Furthermore, it is now possible to seamlessly trace the refueling process from start to finish, which was not possible with conventional camera angles, contributing to the safe operation of fuel stations even in visual confirmation. Furthermore, the number of cameras can be minimized in system processing, reducing the processing load on the image processing AI and contributing to cost reductions.

また、カメラ映像の視野範囲を均一化できるため、画角の違いによって給油所毎にAI推論の精度が大きく異なってしまうといった事態が生じにくくなる。更に、視野範囲を均一化することで、給油所に依存せずに汎用的に使用できるAIを構築することが可能となる。また、結果的に視野範囲がどの給油所の撮影映像でもほぼ同等になることで、学習データ生成におけるアノテ-ション作業についてのルールを統一することができる。その結果、どの給油所で撮影された映像であっても同様な作業にすることができ、効率的かつ精度の高いアノテーション作業を実施することが可能となるため、精度の高いAIを提供できるようになる。 In addition, because the field of view of camera footage can be standardized, it is less likely that the accuracy of AI inference will vary significantly from gas station to gas station due to differences in the angle of view. Furthermore, by standardizing the field of view, it becomes possible to build AI that can be used universally, regardless of the gas station. As a result, the field of view will be roughly the same for footage taken at all gas stations, making it possible to standardize the rules for annotation work in generating training data. As a result, the same work can be done regardless of the footage taken at any gas station, making it possible to carry out efficient and highly accurate annotation work, and thereby providing highly accurate AI.

ここで、上記の説明では、計量機の種類には特に触れていないが、実際には計量機には様々な種類のものがあるため、計量機の種類に応じた複数のガイド情報を用意することが好ましい。また、同じ種類の計量機でもサイズが異なるものがあるため、計量機のサイズ毎に異なるガイド情報を用意するようにしてもよい。あるいは、基準となる計量機のサイズに従ってガイド情報を用意しておき、実際の計量機のサイズと基準の計量機のサイズとの差異に応じてガイド情報の計量機のサイズを調整するようにしてもよい。この場合、計量機のサイズ毎に異なるガイド情報を用意する必要が無くなる。また、画像処理AIの設定によっては、計量機が別の位置(例えば、左側中央部、下側中央部、又は右側中央部)に映る映像の撮影が求められることも考えられる。その場合には、要求される位置を含むガイド情報を使用すればよい。 The above explanation does not specifically mention the type of weighing machine, but since there are actually many different types of weighing machines, it is preferable to prepare multiple guide information according to the type of weighing machine. Furthermore, since the same type of weighing machine can vary in size, different guide information may be prepared for each size of weighing machine. Alternatively, guide information may be prepared according to the size of a reference weighing machine, and the size of the weighing machine in the guide information may be adjusted depending on the difference between the actual size of the weighing machine and the size of the reference weighing machine. In this case, there is no need to prepare different guide information for each size of weighing machine. Furthermore, depending on the settings of the image processing AI, it may be necessary to capture an image in which the weighing machine is shown in a different position (for example, the center left side, the center bottom side, or the center right side). In that case, guide information including the required position can be used.

また、上記の説明では、カメラ映像の計量機自体を用いて視野範囲を調整していたが、別の基準対象物を用いても良い。例えば、計量機の位置を基準とした所定の位置に、設置された又は塗布された、所定の大きさの正方形又は長方形の印を基準対象物としてもよい。 Furthermore, in the above explanation, the field of view range was adjusted using the weighing machine itself in the camera image, but a different reference object may also be used. For example, the reference object may be a square or rectangular mark of a predetermined size that is placed or painted at a predetermined position relative to the position of the weighing machine.

以上、本発明の実施形態について説明したが、これら実施形態は例示に過ぎず、本発明の技術的範囲を限定するものではない。本発明は、その他の様々な実施形態をとることが可能であると共に、本発明の要旨を逸脱しない範囲で、省略や置換等の種々の変形を行うことができる。これら実施形態及びその変形は、本明細書等に記載された発明の範囲や要旨に含まれると共に、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 The above describes embodiments of the present invention, but these embodiments are merely examples and do not limit the technical scope of the present invention. The present invention can take on a variety of other embodiments, and various modifications such as omissions and substitutions can be made without departing from the spirit of the present invention. These embodiments and their modifications are included within the scope and spirit of the invention described in this specification, etc., and are also included in the invention described in the claims and their equivalents.

また、本発明は、上記の説明で挙げたような装置や、これら装置で構成されたシステムとして提供することが可能なだけでなく、これら装置により実行される方法、これら装置の機能をプロセッサにより実現させるためのプログラム、そのようなプログラムをコンピュータ読み取り可能に記憶する記憶媒体などとして提供することも可能である。 In addition, the present invention can be provided not only as the devices described above or as systems composed of these devices, but also as methods executed by these devices, programs for implementing the functions of these devices using a processor, and storage media for storing such programs in a computer-readable format.

本発明は、給油所においてセルフ給油の監視を行うシステムに利用することが可能である。 The present invention can be used in a system that monitors self-service refueling at gas stations.

10,10A,10B,10’:カメラ、 20:計量機、 30:車両、 40A,40B:車両停車位置、 50:撮影映像、 60:カメラ制御装置、61:メモリ、 62:制御部、 63:表示部、 64:操作部、 70,74:調整用画像、 72,76:ガイド

10, 10A, 10B, 10': camera, 20: weighing machine, 30: vehicle, 40A, 40B: vehicle stopping position, 50: captured image, 60: camera control device, 61: memory, 62: control unit, 63: display unit, 64: operation unit, 70, 74: adjustment image, 72, 76: guide

Claims (11)

給油所にある計量機の真上の位置又は計量機の真上から車両停車位置方向にシフトした位置に設置されたカメラと、
前記カメラのパン、チルト及びズームを制御する機能を有するカメラ制御装置とを備え、
前記カメラ制御装置は、前記カメラの撮影映像における基準対象物の位置及びサイズを規定したガイド情報を用いて、前記カメラの撮影映像における基準対象物の中心座標と前記ガイド情報に含まれる基準対象物の中心座標とが一致するように前記カメラのパン及びチルトを制御する処理を実行し、その後、前記カメラの撮影映像における基準対象物のサイズと前記ガイド情報に含まれる基準対象物のサイズとが一致するように前記カメラのズームを制御する処理を実行することを特徴とするカメラ設置支援システム。
A camera installed directly above a metering machine at a gas station or at a position shifted from directly above the metering machine toward a vehicle stopping position;
a camera control device having a function of controlling pan, tilt and zoom of the camera,
The camera control device uses guide information that specifies the position and size of a reference object in the image captured by the camera to perform a process of controlling the pan and tilt of the camera so that the center coordinates of the reference object in the image captured by the camera match the center coordinates of the reference object included in the guide information, and then performs a process of controlling the zoom of the camera so that the size of the reference object in the image captured by the camera matches the size of the reference object included in the guide information.
請求項1に記載のカメラ設置支援システムにおいて、
前記カメラ制御装置は、映像に含まれる基準対象物を検出するための学習済みモデルを用いて、前記カメラの撮影映像から基準対象物を検出する処理を実行することを特徴とするカメラ設置支援システム。
The camera installation support system according to claim 1,
The camera control device is characterized in that it performs a process of detecting a reference object from the image captured by the camera using a trained model for detecting a reference object contained in the image.
請求項1又は請求項2に記載のカメラ設置支援システムにおいて、
前記カメラ制御装置は、前記カメラの撮影映像に前記ガイド情報に含まれる基準対象物の位置及びサイズを示す画像を重畳させた映像を出力する処理を実行することを特徴とするカメラ設置支援システム。
3. The camera installation support system according to claim 1,
The camera control device is characterized in that it executes a process of outputting an image in which an image indicating the position and size of a reference object included in the guide information is superimposed on the image captured by the camera.
請求項1乃至請求項3のいずれかに記載のカメラ設置支援システムにおいて、
前記基準対象物は、計量機であることを特徴とするカメラ設置支援システム。
4. The camera installation support system according to claim 1,
A camera installation support system characterized in that the reference object is a weighing machine.
請求項1乃至請求項3のいずれかに記載のカメラ設置支援システムにおいて、
前記基準対象物は、地面に設置された又は塗布された印であることを特徴とするカメラ設置支援システム。
4. The camera installation support system according to claim 1,
A camera installation support system characterized in that the reference object is a mark installed or painted on the ground.
給油所に設置されたカメラのパン、チルト及びズームを制御する機能を有するカメラ制御装置であって、
前記カメラは、給油所にある計量機の真上の位置又は計量機の真上から車両停車位置方向にシフトした位置に設置されており、
当該カメラ制御装置は、前記カメラの撮影映像における基準対象物の位置及びサイズを規定したガイド情報を用いて、前記カメラの撮影映像における基準対象物の中心座標と前記ガイド情報に含まれる基準対象物の中心座標とが一致するように前記カメラのパン及びチルトを制御する処理を実行し、その後、前記カメラの撮影映像における基準対象物のサイズと前記ガイド情報に含まれる基準対象物のサイズとが一致するように前記カメラのズームを制御する処理を実行することを特徴とするカメラ制御装置。
A camera control device having a function of controlling pan, tilt, and zoom of a camera installed at a gas station,
The camera is installed directly above a metering machine at the gas station or at a position shifted from directly above the metering machine toward a vehicle stopping position,
The camera control device uses guide information that specifies the position and size of a reference object in the image captured by the camera to perform a process of controlling the pan and tilt of the camera so that the center coordinates of the reference object in the image captured by the camera match the center coordinates of the reference object included in the guide information, and then performs a process of controlling the zoom of the camera so that the size of the reference object in the image captured by the camera matches the size of the reference object included in the guide information.
給油所にある計量機の真上の位置又は計量機の真上から車両停車位置方向にシフトした位置にカメラを設置する設置工程と、
前記カメラの撮影映像における基準対象物の位置及びサイズを規定したガイドを含む調整用画像を用いて、前記カメラの視野範囲を調整する調整工程とを有し、
前記調整工程では、前記カメラの撮影映像における基準対象物の中心座標と前記調整用画像のガイドの中心座標とが一致するように前記カメラのパン及びチルトを制御する処理が実行され、その後、前記カメラの撮影映像における基準対象物のサイズと前記調整用画像のガイドのサイズとが一致するように前記カメラのズームを制御する処理が実行されることを特徴とするカメラ設置方法。
an installation step of installing a camera at a position directly above a metering machine at a gas station or at a position shifted from directly above the metering machine toward a vehicle stopping position;
an adjustment step of adjusting the field of view of the camera using an adjustment image including a guide that defines the position and size of a reference object in the image captured by the camera ,
A camera installation method characterized in that in the adjustment process, a process is performed to control the pan and tilt of the camera so that the center coordinates of the reference object in the image captured by the camera and the center coordinates of the guide in the adjustment image match, and then a process is performed to control the zoom of the camera so that the size of the reference object in the image captured by the camera and the size of the guide in the adjustment image match .
請求項7に記載のカメラ設置方法において、
前記調整工程は、カメラ映像から基準対象物を検出するための学習済みモデルを用いて、前記カメラの撮影映像から基準対象物を検出する処理を含むことを特徴とするカメラ設置方法。
The camera installation method according to claim 7,
A camera installation method characterized in that the adjustment process includes a process of detecting a reference object from the image captured by the camera using a trained model for detecting a reference object from camera image.
請求項7又は請求項8に記載のカメラ設置方法において、
前記基準対象物は、計量機であることを特徴とするカメラ設置方法。
The camera installation method according to claim 7 or 8 ,
A camera installation method characterized in that the reference object is a weighing machine.
請求項7又は請求項8に記載のカメラ設置方法において、
前記基準対象物は、地面に設置された又は塗布された印であることを特徴とするカメラ設置方法。
The camera installation method according to claim 7 or 8 ,
A camera installation method characterized in that the reference object is a mark installed or painted on the ground.
請求項7乃至請求項10のいずれかに記載のカメラ設置方法において、
前記調整工程は、前記カメラの撮影映像に前記調整用画像を重畳して表示する処理を含むことを特徴とするカメラ設置方法。
The camera installation method according to any one of claims 7 to 10 ,
The camera installation method, wherein the adjustment step includes a process of displaying the adjustment image superimposed on the image captured by the camera.
JP2021110867A 2021-07-02 2021-07-02 Camera installation support system, camera control device, and camera installation method Active JP7761412B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021110867A JP7761412B2 (en) 2021-07-02 2021-07-02 Camera installation support system, camera control device, and camera installation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021110867A JP7761412B2 (en) 2021-07-02 2021-07-02 Camera installation support system, camera control device, and camera installation method

Publications (2)

Publication Number Publication Date
JP2023007793A JP2023007793A (en) 2023-01-19
JP7761412B2 true JP7761412B2 (en) 2025-10-28

Family

ID=85112330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021110867A Active JP7761412B2 (en) 2021-07-02 2021-07-02 Camera installation support system, camera control device, and camera installation method

Country Status (1)

Country Link
JP (1) JP7761412B2 (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000238899A (en) 1998-12-25 2000-09-05 Tokico Ltd Gas station management device
JP2007104019A (en) 2005-09-30 2007-04-19 Matsushita Electric Ind Co Ltd In-vehicle device
JP2009046253A (en) 2007-08-20 2009-03-05 Mitsubishi Electric Corp Security camera device for an elevator and its photographing method
JP2012205229A (en) 2011-03-28 2012-10-22 Hitachi Ltd Camera-installation supporting method and image recognition method
US20130170770A1 (en) 2011-12-29 2013-07-04 Samsung Techwin Co. Ltd. Method of system for image stabilization through image processing, and zoom camera including image stabilization function
JP2013213872A (en) 2012-03-30 2013-10-17 Sony Corp Information processing apparatus, information processing method and program
JP2016071788A (en) 2014-10-01 2016-05-09 シャープ株式会社 Object detection device
JP2017108370A (en) 2015-07-06 2017-06-15 セイコーエプソン株式会社 Head-mounted display device and computer program
JP2019082761A (en) 2017-10-27 2019-05-30 富士通株式会社 Recognition program, recognition method and recognition device
JP2020188395A (en) 2019-05-16 2020-11-19 キヤノン株式会社 Methods, information processing devices, and programs that support the adjustment of the posture of the image pickup device.
JP2021051375A (en) 2019-09-20 2021-04-01 キヤノン株式会社 Image processing apparatus, image processing method, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63276371A (en) * 1987-05-08 1988-11-14 Hitachi Ltd Method and apparatus for adjusting picture angle of video camera

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000238899A (en) 1998-12-25 2000-09-05 Tokico Ltd Gas station management device
JP2007104019A (en) 2005-09-30 2007-04-19 Matsushita Electric Ind Co Ltd In-vehicle device
JP2009046253A (en) 2007-08-20 2009-03-05 Mitsubishi Electric Corp Security camera device for an elevator and its photographing method
JP2012205229A (en) 2011-03-28 2012-10-22 Hitachi Ltd Camera-installation supporting method and image recognition method
US20130170770A1 (en) 2011-12-29 2013-07-04 Samsung Techwin Co. Ltd. Method of system for image stabilization through image processing, and zoom camera including image stabilization function
JP2013213872A (en) 2012-03-30 2013-10-17 Sony Corp Information processing apparatus, information processing method and program
JP2016071788A (en) 2014-10-01 2016-05-09 シャープ株式会社 Object detection device
JP2017108370A (en) 2015-07-06 2017-06-15 セイコーエプソン株式会社 Head-mounted display device and computer program
JP2019082761A (en) 2017-10-27 2019-05-30 富士通株式会社 Recognition program, recognition method and recognition device
JP2020188395A (en) 2019-05-16 2020-11-19 キヤノン株式会社 Methods, information processing devices, and programs that support the adjustment of the posture of the image pickup device.
JP2021051375A (en) 2019-09-20 2021-04-01 キヤノン株式会社 Image processing apparatus, image processing method, and program

Also Published As

Publication number Publication date
JP2023007793A (en) 2023-01-19

Similar Documents

Publication Publication Date Title
KR101073076B1 (en) Fire monitoring system and method using compound camera
US8189962B2 (en) Image processing apparatus
EP1622107B1 (en) System, device and method for object tracing
US20080122930A1 (en) Image processor, intruder monitoring apparatus and intruder monitoring method
KR101287190B1 (en) Photographing position automatic tracking method of video monitoring apparatus
US20090179916A1 (en) Method and apparatus for calibrating a video display overlay
EP1339226B1 (en) Camera device for monitoring system
EP3745718B1 (en) Method of controlling pan-tilt-zoom camera by using fisheye camera and monitoring system
JP5178454B2 (en) Vehicle perimeter monitoring apparatus and vehicle perimeter monitoring method
US20060268108A1 (en) Video surveillance system, and method for controlling the same
US20130050483A1 (en) Apparatus, method, and program for video surveillance system
US20050264655A1 (en) Camera controller
JP6512793B2 (en) Imaging device, surveillance camera system, control method and program for imaging device
JP7761412B2 (en) Camera installation support system, camera control device, and camera installation method
JP6125102B2 (en) Information display system
EP2607951B1 (en) Method for setting up a monitoring camera
KR200462168Y1 (en) Apparatus for detecting the appearance status data of vehicles which go in and out
CN106370305A (en) Transformer station panoramic temperature measurement point presetting method
CN115866212B (en) Emergency command central control management system for judging picture priority based on big data
JP2006033188A (en) Monitoring device and monitoring method
JP2004165790A (en) Camera control system
KR20130102743A (en) Monitoring system for controlling the privacy mask display and method for using the same
KR102473078B1 (en) Location Calculating Device of a surveillance area photographed by a plurality of PTZ cameras
JP2023007795A (en) Self oil supply monitoring system
KR20090126086A (en) Monitor Control System for AV System

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240529

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250304

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250729

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250911

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20251016

R150 Certificate of patent or registration of utility model

Ref document number: 7761412

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150