JP2022069052A - Moving body detection system - Google Patents

Moving body detection system Download PDF

Info

Publication number
JP2022069052A
JP2022069052A JP2020177997A JP2020177997A JP2022069052A JP 2022069052 A JP2022069052 A JP 2022069052A JP 2020177997 A JP2020177997 A JP 2020177997A JP 2020177997 A JP2020177997 A JP 2020177997A JP 2022069052 A JP2022069052 A JP 2022069052A
Authority
JP
Japan
Prior art keywords
area
closed
region
detection system
image pickup
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2020177997A
Other languages
Japanese (ja)
Other versions
JP6980887B1 (en
Inventor
寛明 澤戸
Hiroaki Sawato
求 島山
Motomu Shimayama
淳也 古賀
Junya Koga
晴美 増山
Harumi Masuyama
達也 安生
Tatsuya Yasuo
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.)
Pci Solutions Inc
Original Assignee
Pci Solutions 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 Pci Solutions Inc filed Critical Pci Solutions Inc
Priority to JP2020177997A priority Critical patent/JP6980887B1/en
Application granted granted Critical
Publication of JP6980887B1 publication Critical patent/JP6980887B1/en
Publication of JP2022069052A publication Critical patent/JP2022069052A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Traffic Control Systems (AREA)
  • Image Analysis (AREA)

Abstract

To provide a moving body detection system that can limit a scope of moving bodies to be detected to detect a moving body accurately.SOLUTION: In a body detection system 1 according to the present invention, a recognition device 10 comprises: moving body detection means 11 for detecting the presence of a vehicle C when a light source with constant illuminance penetrates into a closed domain S in an imaging area R1; closed domain passage detection means 12 for detecting passing through of the vehicle C from change in the average illuminance; filtering means 13 for excluding a moving body as a moving body not passing through the closed domain S when the average illuminance does not change in the closed domain S; and means 14 for determining movement along neighboring closed domains for determining whether the vehicle C that has passed through the closed domain S has passed through a neighboring closed domain T neighboring it at its upper side within a prescribed time.SELECTED DRAWING: Figure 2

Description

本発明は、撮像装置により撮像された画像又は映像から移動体の動きを検知する移動体検知システムに関する。 The present invention relates to a moving body detection system that detects the movement of a moving body from an image or video image captured by an image pickup device.

従来、移動体の動きを検知する方法として、撮像した動画データに含まれるフレームの画素値の差分を算出し、二値化処理を行う方法(フレーム差分法)や、フレーム内から検知対象の画像の特徴点を抽出して、時系列的にその特徴点を追跡する方法(オプティカルフロー法)等が知られている。 Conventionally, as a method of detecting the movement of a moving object, a method of calculating the difference in pixel values of frames included in captured moving image data and performing binarization processing (frame difference method), or an image to be detected from within the frame. A method of extracting the feature points of the above and tracking the feature points in time series (optical flow method) and the like are known.

下記の特許文献1の動体検知システムは、例えば車等に搭載して、自身の周囲に往来する動体を検知するためのシステムである。この動体検知システムは、動体検知装置、撮像手段であるカメラ(撮像部)、スピーカ及びモニタを備えている。 The following motion detection system of Patent Document 1 is a system mounted on, for example, a car or the like to detect moving objects moving around itself. This motion detection system includes a motion detection device, a camera (imaging unit) as an image pickup means, a speaker, and a monitor.

動体検知システムは、複数の画像フレームを取得すると、動体検知装置が複数の画像フレームのうち第一の画像フレームと、第一の画像フレームより前に取得された第二の画像フレームとの輝度の差分の絶対値から求めたON画素を含む前処理フレームを求める。 When the motion detection system acquires a plurality of image frames, the motion detection device determines the brightness of the first image frame among the plurality of image frames and the second image frame acquired before the first image frame. The preprocessing frame including the ON pixel obtained from the absolute value of the difference is obtained.

さらに、動体検知装置は、前処理フレーム内の領域毎にON画素の個数を集計し、複数の前処理フレームにおいて、ON画素の個数から求めた重心の経時変化を求める。これにより、動体の検知、移動方向の検知を可能としている(特許文献1/段落0029~0039、図4,図8)。 Further, the motion detecting device aggregates the number of ON pixels for each region in the preprocessing frame, and obtains the time-dependent change of the center of gravity obtained from the number of ON pixels in the plurality of preprocessing frames. This makes it possible to detect a moving object and a moving direction (Patent Documents 1 / paragraphs 0029 to 0039, FIGS. 4 and 8).

特開2017-220020号公報Japanese Unexamined Patent Publication No. 2017-220020

しかしながら、特許文献1の動体検知システムの場合、画像フレーム内に存在する全ての動体を検知し、その経時変化を調べている。このことは、画像フレーム内で風により揺れる木の枝等も検知対象になることを意味する。 However, in the case of the moving object detection system of Patent Document 1, all the moving objects existing in the image frame are detected, and the change with time is investigated. This means that tree branches and the like swaying due to the wind in the image frame are also detected targets.

従って、例えば動体として、車両の移動方向を調べたい場合に、今回は調べる必要のない動体の動きが障害となり、検知の精度が低下してしまうという問題があった。 Therefore, for example, when it is desired to check the moving direction of the vehicle as a moving body, there is a problem that the movement of the moving body, which does not need to be checked this time, becomes an obstacle and the detection accuracy is lowered.

本発明は上記課題に鑑み、検知対象の移動体を限定して、高精度で移動体を検知することができる移動体検知システムを提供することを目的とする。 In view of the above problems, it is an object of the present invention to provide a moving body detection system capable of detecting a moving body with high accuracy by limiting the moving body to be detected.

上記課題を解決するため、本発明は、撮像装置を用いて所定領域を撮像し、撮像された画像又は映像から移動体の動きを認識する認識装置を備える移動体検知システムであって、
前記認識装置は、一定の照度を有する光源が撮像領域を水平方向及び垂直方向に分割した閉領域に侵入したことにより前記移動体の存在を検知する移動体検知手段と、前記撮像領域内の特定の閉領域における平均照度の変化から、前記移動体が当該閉領域に侵入し、侵出する当該閉領域の通過を検知する閉領域通過検知手段と、前記閉領域における平均照度が変化しない場合に、当該閉領域を通過しない移動体として、検知対象から除外するフィルタリング手段と、前記閉領域を通過した前記移動体が当該閉領域の上側に隣接する隣接閉領域を指定時間内に通過したかを判定する隣接閉領域間移動判定手段と、
を備えていることを特徴とする。
In order to solve the above problems, the present invention is a moving body detection system including a recognition device that captures a predetermined area using an imaging device and recognizes the movement of the moving body from the captured image or video.
The recognition device includes a moving body detecting means for detecting the presence of the moving body when a light source having a constant illuminance invades a closed region obtained by dividing the imaging region into a horizontal direction and a vertical direction, and a specific identification within the imaging region. From the change in the average illuminance in the closed region, the closed region passage detecting means for detecting the passage of the moving body invading the closed region and invading the closed region, and the case where the average illuminance in the closed region does not change. As a moving body that does not pass through the closed region, a filtering means that excludes it from the detection target and whether the moving body that has passed through the closed region has passed the adjacent closed region adjacent to the upper side of the closed region within a specified time. A means for determining movement between adjacent closed areas for determination, and
It is characterized by having.

本発明の移動体検知システムにおいて、認識装置の移動体検知手段は撮像された画像又は映像中の光源が撮像領域内の閉領域に侵入したとき、移動体(車両等)の存在を検知する。また、閉領域通過検知手段は、特定の閉領域の平均照度の変化を検知する。具体的には、当該閉領域に一定の照度を有する移動体が侵入すると閉領域内の平均照度が高くなり、移動体が侵出すると平均照度が元に戻ることを利用して、当該閉領域を通過する移動体を検知する。 In the moving body detection system of the present invention, the moving body detecting means of the recognition device detects the presence of a moving body (vehicle or the like) when a light source in the captured image or video enters a closed region in the imaging region. Further, the closed region passage detecting means detects a change in the average illuminance in a specific closed region. Specifically, when a moving object having a certain illuminance invades the closed region, the average illuminance in the closed region increases, and when the moving object invades, the average illuminance returns to the original value. Detects moving objects passing through.

閉領域内を移動するだけで通過しない移動体については、当該閉領域内の平均照度が変化しないため、フィルタリング手段が検知対象から除外する。さらに、隣接閉領域間移動判定手段は、閉領域を通過した移動体が当該閉領域の上側に隣接する隣接閉領域を指定時間内に通過したことを判定することで、移動の方向とその移動が連続して発生していることを認識する。このように、本移動体検知システムは、撮像装置に接近してくる移動体に限定して、高精度で移動体の検知を行うことができる。 For moving objects that move only in the closed region but do not pass through, the average illuminance in the closed region does not change, so the filtering means excludes them from the detection target. Further, the movement determining means between adjacent closed regions determines that the moving body that has passed through the closed region has passed the adjacent closed region adjacent to the upper side of the closed region within a specified time, thereby determining the direction of movement and its movement. Recognize that is occurring continuously. As described above, this moving object detection system can detect a moving object with high accuracy only for the moving object approaching the image pickup apparatus.

本発明の移動体検知システムにおいて、
前記認識装置は、前記撮像装置が有する撮像センサのサイズ及び焦点距離と、撮像対象の物体の大きさと、前記撮像装置から当該撮像対象の物体までの距離とに基づいて、前記閉領域の位置及び大きさを決定する閉領域決定手段を備えていることが好ましい。
In the moving object detection system of the present invention
The recognition device has a position of the closed region and a focal length based on the size and focal length of the image pickup sensor of the image pickup device, the size of the object to be imaged, and the distance from the image pickup device to the object to be imaged. It is preferable to have a closed region determining means for determining the size.

例えば、移動体に対して閉領域が大きすぎる場合には、移動体が当該閉領域に侵入したとしても、平均照度の変化が小さく、分かり難い。このため、閉領域決定手段は、撮像センサのサイズ及び焦点距離と、撮像対象の物体(移動体)の大きさと、撮像装置から当該撮像対象の物体までの距離に基づいて閉領域の大きさを算出し、決定する。これにより、本移動体検知システムは、平均照度の変化を捕え易い、適切な大きさの閉領域を生成することができる。 For example, when the closed area is too large for the moving body, even if the moving body invades the closed area, the change in the average illuminance is small and difficult to understand. Therefore, the closed region determining means determines the size of the closed region based on the size and focal length of the image pickup sensor, the size of the object (moving body) to be imaged, and the distance from the image pickup device to the object to be imaged. Calculate and determine. As a result, the mobile object detection system can generate a closed region of an appropriate size that can easily capture changes in the average illuminance.

また、本発明の移動体検知システムにおいて、
前記認識装置は、機械学習済み認識モデルを用いて前記撮像領域内の道路エリアと当該道路エリア以外のエリアとを識別する道路識別手段と、前記閉領域を前記道路エリア内に設定する道路内閉領域設定手段と、を備えていることが好ましい。
Further, in the moving body detection system of the present invention,
The recognition device includes a road identification means for distinguishing a road area in the imaging region from an area other than the road area using a machine-learned recognition model, and a road closure in which the closed area is set in the road area. It is preferable to have an area setting means.

道路識別手段は、機械学習済み認識モデルを利用することで、撮像領域内の道路エリアと道路エリア以外のエリアとを正確に識別することができる。さらに、道路内閉領域設定手段は、閉領域を道路エリア内に設定するので、道路上に存在する移動体を確実に検知することができる。 The road identification means can accurately discriminate between the road area in the imaging region and the area other than the road area by using the machine-learned recognition model. Further, since the closed area setting means in the road sets the closed area in the road area, it is possible to reliably detect the moving body existing on the road.

また、本発明の移動体検知システムにおいて、
前記認識装置は、前記撮像装置の前記撮像領域の角度及び範囲の制御を指示する撮像制御手段を備え、
前記撮像制御手段は、前記撮像領域の水平方向を少なくとも2以上の区域に分割し、当該各区域のうち前記道路エリアの面積が最大の区域が当該撮像領域の中央にくるように調整した後、前記撮像領域をズームインすることが好ましい。
Further, in the moving body detection system of the present invention,
The recognition device includes an image pickup control means for instructing control of an angle and a range of the image pickup region of the image pickup device.
The image pickup control means divides the horizontal direction of the image pickup area into at least two or more areas, adjusts the area having the largest area of the road area among the areas so as to be in the center of the image pickup area, and then adjusts the area. It is preferable to zoom in on the imaging area.

撮像制御手段は、撮像領域の水平方向を分割し、認識された道路エリアが最大の区域が撮像領域の中央にくるように撮像領域の角度及び範囲の調整を指示する。その後、撮像制御手段は、撮像領域をズームインする。これにより、道路上の車両を的確に撮像領域内に収めることができる。 The imaging control means divides the horizontal direction of the imaging region and instructs the adjustment of the angle and range of the imaging region so that the area having the largest recognized road area is in the center of the imaging region. After that, the image pickup control means zooms in on the image pickup area. This makes it possible to accurately fit the vehicle on the road within the imaging region.

また、本発明の移動体検知システムにおいて、
前記認識装置は、機械学習済み認識モデルを用いて前記移動体の有無を検知する機械学習移動体検知手段と、前記撮像された画像又は映像から撮像環境の明度を判定する環境明度判定手段と、を備え、
前記環境明度判定手段が判定した前記明度に基づいて、前記機械学習移動体検知手段と前記移動体検知手段の両方、又は何れか一方により前記移動体を検知することが好ましい。
Further, in the moving body detection system of the present invention,
The recognition device includes a machine learning moving object detecting means for detecting the presence or absence of the moving object using a machine-learned recognition model, and an environmental brightness determining means for determining the brightness of the imaging environment from the captured image or video. Equipped with
It is preferable that the moving object is detected by the machine learning moving object detecting means and / or the moving object detecting means based on the brightness determined by the environmental brightness determining means.

環境明度判定手段は、撮像された画像又は映像から撮像環境の明度を検知して昼間、夜間、夕方の判定を行うことができる。また、認識装置は、機械学習済み認識モデルを用いて移動体の有無を検知する機械学習移動体検知手段を備えている。そして、移動体検知システムは、昼間には機械学習移動体検知手段を利用し、夜間は上述の移動体検知手段を利用し、夕方は移動体検知手段と機械学習移動体検知手段の両方を利用するといったように、撮像環境の明度に応じて検知手段を切り替える。これにより、本移動体検知システムは、撮像環境に応じて正確に移動体を検知することができる。 The environmental brightness determination means can detect the brightness of the imaging environment from the captured image or video and determine daytime, nighttime, and evening. Further, the recognition device includes a machine-learned moving object detecting means for detecting the presence or absence of a moving object by using a machine-learned recognition model. The moving body detection system uses the machine learning moving body detecting means in the daytime, uses the above-mentioned moving body detecting means at night, and uses both the moving body detecting means and the machine learning moving body detecting means in the evening. The detection means is switched according to the brightness of the imaging environment. As a result, the moving object detection system can accurately detect the moving object according to the imaging environment.

また、本発明の移動体検知システムにおいて、
前記認識装置は、前記撮像領域を水平方向及び垂直方向に分割して複数の前記閉領域を生成する閉領域生成手段と、前記閉領域の各々に対して平均照度の変化を検知する平均照度検知手段と、前記閉領域のうち、前記平均照度が予め定めた閾値以上の領域からなるハイライトエリアを抽出し、当該ハイライトエリアの中心座標の軌跡が前記撮像領域の下方に移動する下方移動ベクトルとなっているかを判定するベクトル判定手段と、を備えていることが好ましい。
Further, in the moving body detection system of the present invention,
The recognition device includes a closed region generation means that divides the imaging region into a horizontal direction and a vertical direction to generate a plurality of the closed regions, and an average illuminance detection that detects a change in the average illuminance for each of the closed regions. A downward movement vector that extracts a highlight area consisting of the means and a region having an average illuminance equal to or higher than a predetermined threshold among the closed regions, and the locus of the center coordinates of the highlight area moves below the imaging region. It is preferable to have a vector determination means for determining whether or not.

この構成によれば、閉領域生成手段が生成した閉領域の各々に対して、平均照度検知手段が平均照度の変化を検知する。これにより、移動体が閉領域内に存在するか否かの判定を行うことができる。また、ベクトル判定手段は、ハイライトエリアを抽出し、その中心座標の軌跡が下方移動ベクトルとなっているかを判定する。そして、下方移動ベクトルとなっている場合に、その移動体が認識装置に接近する方向へ移動していると判定することができる。 According to this configuration, the average illuminance detecting means detects a change in the average illuminance for each of the closed regions generated by the closed region generating means. This makes it possible to determine whether or not the moving body exists in the closed region. Further, the vector determination means extracts the highlight area and determines whether or not the locus of the center coordinates thereof is a downward movement vector. Then, when it is a downward movement vector, it can be determined that the moving body is moving in a direction approaching the recognition device.

また、本発明の移動体検知システムにおいて、
前記ベクトル判定手段は、カウンタを有し、前記ハイライトエリアの中心座標の軌跡が、前記撮像領域の下方に移動するベクトルの場合に前記カウンタの値を加算し、上方に移動するベクトルの場合に前記カウンタの値を減算し、前記カウンタの値が予め定めた所定値以上となったとき、前記下方移動ベクトルと判定することが好ましい。
Further, in the moving body detection system of the present invention,
The vector determination means has a counter, and when the locus of the center coordinates of the highlight area is a vector that moves downward in the imaging region, the value of the counter is added and the vector moves upward. It is preferable to subtract the value of the counter and determine that the downward movement vector is obtained when the value of the counter becomes a predetermined value or more.

この構成によれば、ベクトル判定手段はカウンタを有しており、カウンタ値を加算していくことで下方移動ベクトルとなっているかを判定する。これにより、下方移動ベクトルの判定精度を高めることができる。 According to this configuration, the vector determination means has a counter, and by adding the counter values, it is determined whether or not the vector is a downward movement vector. This makes it possible to improve the determination accuracy of the downward movement vector.

第1実施形態に係る移動体検知システムの概要を説明する図。The figure explaining the outline of the moving body detection system which concerns on 1st Embodiment. 撮像装置の画像データを説明する図。The figure explaining the image data of an image pickup apparatus. 第1実施形態の認識装置と撮像装置の内部構成を説明する図。The figure explaining the internal structure of the recognition apparatus and the image pickup apparatus of 1st Embodiment. (a)車両の閉領域通過検知処理を説明する図(1)。(b)閉領域の平均照度グラフ(1)。(A) The figure (1) explaining the closed area passage detection processing of a vehicle. (B) Average illuminance graph in a closed region (1). (a)車両の閉領域通過検知処理を説明する図(2)。(b)閉領域の平均照度グラフ(2)。(A) The figure (2) explaining the closed area passage detection processing of a vehicle. (B) Average illuminance graph in the closed region (2). (a)車両の閉領域通過検知処理を説明する図(3)。(b)閉領域の平均照度グラフ(3)。(A) The figure (3) explaining the closed area passage detection processing of a vehicle. (B) Average illuminance graph in the closed region (3). (a)閉領域サイズの決定処理を説明する図(1)。(b)閉領域サイズの決定処理を説明する図(2)。(A) The figure (1) explaining the process of determining a closed area size. (B) The figure (2) explaining the process of determining a closed area size. 第2実施形態の認識装置と撮像装置の内部構成を説明する図。The figure explaining the internal structure of the recognition apparatus and the image pickup apparatus of 2nd Embodiment. (a)道路エリアの決定処理を説明する図(視点調整前、等倍)。(b)道路エリアの決定処理を説明する図(区域分割、等倍)。(c)道路エリアの決定処理を説明する図(視点調整後、等倍)。(d)道路エリアの決定処理を説明する図(視点調整後、5倍ズーム)。(A) A diagram illustrating a road area determination process (before viewpoint adjustment, 1x magnification). (B) The figure explaining the determination process of a road area (area division, equal magnification). (C) The figure explaining the determination process of the road area (the same magnification after adjusting the viewpoint). (D) The figure explaining the road area determination process (5x zoom after viewpoint adjustment). (a)機械学習移動体検知を説明する図(昼間)。(b)機械学習移動体検知を説明する図(夕方)。(c)移動体検知を説明する図(夕方)。(d)移動体検知を説明する図(夜間)。(A) A diagram illustrating machine learning mobile object detection (daytime). (B) A diagram illustrating machine learning mobile object detection (evening). (C) The figure explaining the moving body detection (evening). (D) The figure explaining the moving object detection (at night). セル生成処理について説明する図。The figure explaining the cell generation process. 平均照度検知処理について説明する図。The figure explaining the average illuminance detection processing. 移動ベクトル判定処理について説明する図。The figure explaining the movement vector determination process. (a)ハイライトエリア。(b)ハイライトエリア(ΔT後)。(A) Highlight area. (B) Highlight area (after ΔT). 隣接レイヤー間移動体検知処理について説明する図。The figure explaining the moving object detection process between adjacent layers.

[第1実施形態]
まず、図1を参照して、本発明の第1実施形態に係る移動体検知システム1の概要を説明する。
[First Embodiment]
First, with reference to FIG. 1, the outline of the mobile body detection system 1 according to the first embodiment of the present invention will be described.

移動体検知システム1は、認識装置10と撮像装置50とを備えている。移動体検知システム1は、例えば、夜間に高速道路で工事や落下物回収を行う特別車両Vに搭載され、特別車両Vに接近してくる車両Cを検知する機能を有している。 The moving object detection system 1 includes a recognition device 10 and an image pickup device 50. The moving object detection system 1 is mounted on, for example, a special vehicle V that performs construction work or collects fallen objects on a highway at night, and has a function of detecting a vehicle C approaching the special vehicle V.

認識装置10と撮像装置50とは有線又は無線で接続され、互いに通信が可能となっている。撮像装置50は、道路後方を撮像して画像データ(リアルタイム映像)を取得し、認識装置10に送信する。そして、認識装置10は、撮像装置50で撮像された画像データの画像処理を実行する。 The recognition device 10 and the image pickup device 50 are connected by wire or wirelessly, and can communicate with each other. The image pickup device 50 captures an image of the rear of the road, acquires image data (real-time video), and transmits the image data to the recognition device 10. Then, the recognition device 10 executes image processing of the image data captured by the image pickup device 50.

認識装置10は、画像データから車両の有無や、当該車両が認識装置10に接近してくる方向か、離れていく方向か等を解析する。 The recognition device 10 analyzes the presence / absence of a vehicle, the direction in which the vehicle approaches the recognition device 10, the direction in which the vehicle moves away from the recognition device 10, and the like from the image data.

認識装置10が、図中の車両Cを特別車両Vに接近してくる移動体と認識した場合、特別車両V付近で作業を行う作業員Pにとって危険な状況が発生し得る。このため、認識装置10は、作業員Pの所有する携帯端末と通信して、警告音や振動を出力させて状況を報知する。また、特別車両Vに警報器を取り付けて作業員Pに報知してもよい。 When the recognition device 10 recognizes the vehicle C in the figure as a moving body approaching the special vehicle V, a dangerous situation may occur for the worker P who works in the vicinity of the special vehicle V. Therefore, the recognition device 10 communicates with the mobile terminal owned by the worker P and outputs a warning sound or vibration to notify the situation. Further, an alarm may be attached to the special vehicle V to notify the worker P.

次に、図2を参照して、撮像装置50により撮像された画像データについて説明する。 Next, the image data captured by the image pickup apparatus 50 will be described with reference to FIG. 2.

図(写真)の外枠は、撮像装置50により撮像された画像データの領域(撮像領域R1)である。撮像領域R1には、道路、周辺の木々、道路標識、ガードレール、建物、そして道路上の車両が含まれ得る。また、道路内の枠(実線)は、閉領域S(以下、「セル」ともいう)を示している。詳細は後述するが、移動体検知システム1では、閉領域Sを通過する移動体を認識し、移動が継続して発生しているか等を解析する。 The outer frame of the figure (photograph) is a region (imaging region R1) of image data captured by the imaging device 50. The imaging region R1 may include roads, surrounding trees, road signs, guardrails, buildings, and vehicles on the road. Further, the frame (solid line) in the road indicates a closed area S (hereinafter, also referred to as “cell”). Although the details will be described later, the moving body detection system 1 recognizes a moving body passing through the closed region S and analyzes whether or not the movement is continuously generated.

閉領域Sの上側に隣接する領域は、隣接閉領域Tである。撮像装置50に接近してくる車両Cは、撮像領域R1の下方に移動することになる。車両Cが閉領域Sに侵入する直前に隣接閉領域T内に存在していた場合、撮像装置50に接近してくる方向に移動する移動体といえるため、モニタリングの対象とする。 The region adjacent to the upper side of the closed region S is the adjacent closed region T. The vehicle C approaching the image pickup device 50 will move below the image pickup region R1. If the vehicle C exists in the adjacent closed region T immediately before entering the closed region S, it can be said that the vehicle moves in the direction approaching the image pickup apparatus 50, and is therefore subject to monitoring.

ここで、図3を参照して、第1実施形態の認識装置10と撮像装置50の内部構成について説明する。 Here, with reference to FIG. 3, the internal configuration of the recognition device 10 and the image pickup device 50 of the first embodiment will be described.

認識装置10は、移動体検知手段11と、閉領域通過検知手段12と、フィルタリング手段13と、隣接閉領域間移動判定手段14と、閉領域決定手段15とを備えている。 The recognition device 10 includes a moving body detecting means 11, a closed area passage detecting means 12, a filtering means 13, an adjacent closed area movement determining means 14, and a closed area determining means 15.

また、撮像装置50は、撮像手段51を備えている。撮像手段51は、動画又は静止画が撮像可能なビデオカメラであり、生成された画像データは認識装置10に送信される。 Further, the image pickup apparatus 50 includes an image pickup means 51. The image pickup means 51 is a video camera capable of capturing a moving image or a still image, and the generated image data is transmitted to the recognition device 10.

認識装置10の移動体検知手段11は、受信した画像データを解析し、移動体を検知する。移動体検知手段11は、一定の照度を有する光源の有無(車両であれば、ヘッドライト)により移動体を検知するため、移動体の外形が認識できない夜間でも機能する。 The moving object detecting means 11 of the recognition device 10 analyzes the received image data and detects the moving object. Since the moving body detecting means 11 detects the moving body depending on the presence or absence of a light source having a constant illuminance (headlight in the case of a vehicle), the moving body detecting means 11 functions even at night when the outer shape of the moving body cannot be recognized.

また、閉領域通過検知手段12は、上述の閉領域Sにおける平均照度の変化から、移動体が閉領域Sを通過したか否かを判定する。平均照度は、画像データをグレースケール(白黒画像)化することで数値化する。例えば、数値を「0(黒)」~「255(白)」と定め、閉領域S内の数値の平均値を算出する。数値が高いほど、閉領域S内の平均照度は高い(明るい)ことになる。 Further, the closed region passage detecting means 12 determines whether or not the moving body has passed through the closed region S from the change in the average illuminance in the closed region S described above. The average illuminance is quantified by converting the image data into a gray scale (black and white image). For example, the numerical value is set to "0 (black)" to "255 (white)", and the average value of the numerical values in the closed region S is calculated. The higher the value, the higher (brighter) the average illuminance in the closed region S.

ここで、図4A~図4Cを参照して、移動体(車両)の検知と、当該移動体の閉領域の通過判定の詳細を説明する。 Here, with reference to FIGS. 4A to 4C, the details of the detection of the moving body (vehicle) and the passage determination of the closed region of the moving body will be described.

閉領域は、撮像領域R内にマトリクス状に配列されている。ここでは、上段の閉領域を閉領域S1,S2,S3とし、下段の閉領域であって、閉領域S1,S2,S3の隣接閉領域を、それぞれ閉領域T1,T2,T3とする。 The closed regions are arranged in a matrix in the imaging region R. Here, the upper closed region is referred to as a closed region S1, S2, S3, and the lower closed region, which is an adjacent closed region of the closed regions S1, S2, S3, is referred to as a closed region T1, T2, T3, respectively.

図4Aは、移動する車両C(丸印)が閉領域S1~S3に侵入する直前の状態を示している。図4A(a)に示すように、ここでは、閉領域S1~S3の平均照度は低い状態である。 FIG. 4A shows a state immediately before the moving vehicle C (circle) enters the closed areas S1 to S3. As shown in FIG. 4A (a), here, the average illuminance of the closed regions S1 to S3 is low.

図4A(b)は、閉領域S1の平均照度グラフ(実線)と閉領域T2の平均照度グラフ(破線)をそれぞれ示している。図示するように、閉領域S1,T2の平均照度は、レベル1を維持している。 FIG. 4A (b) shows an average illuminance graph (solid line) in the closed region S1 and an average illuminance graph (broken line) in the closed region T2, respectively. As shown in the figure, the average illuminance of the closed regions S1 and T2 maintains the level 1.

閉領域S3内の星印は、移動体Mを示している。詳細は後述するが、移動体Mは、閉領域S3内を移動する物体(木の枝や車両)である。なお、閉領域S2,T1,T3については、侵入してくる移動体も元々存在する移動体もないので、閉領域内の平均照度は変化しない。 The asterisk in the closed region S3 indicates the moving body M. Although the details will be described later, the moving body M is an object (tree branch or vehicle) moving in the closed region S3. As for the closed regions S2, T1 and T3, since there is neither an invading moving body nor an originally existing moving body, the average illuminance in the closed region does not change.

図4Bは、車両Cが閉領域S1に侵入(ゲートイン)した後の状態を示している。図4B(a)に示すように、車両Cが閉領域S1内に侵入したとき、他の閉領域と比較して閉領域S1の平均照度が高くなる。このため、移動体検知手段11は、閉領域S1内の車両Cの存在を検知する。なお、車両Cは、閉領域S1の右下方向に進行している。 FIG. 4B shows a state after the vehicle C has entered (gate-in) the closed region S1. As shown in FIG. 4B (a), when the vehicle C enters the closed region S1, the average illuminance of the closed region S1 becomes higher than that of the other closed regions. Therefore, the moving body detecting means 11 detects the presence of the vehicle C in the closed region S1. The vehicle C is traveling in the lower right direction of the closed region S1.

図4B(b)は、閉領域S1の平均照度グラフ(実線)を示している。図示するように、閉領域S1の平均照度は、車両Cが侵入している期間はレベル3になるが、この後、車両Cの侵出に伴ってレベル1まで低下する。また、閉領域T2の平均照度グラフ(破線)は、閉領域T2内に車両Cが存在しないため、レベル1のまま変化しない。 FIG. 4B (b) shows an average illuminance graph (solid line) of the closed region S1. As shown in the figure, the average illuminance of the closed region S1 becomes level 3 during the period in which the vehicle C is invading, but then decreases to level 1 as the vehicle C invades. Further, the average illuminance graph (broken line) of the closed region T2 does not change at level 1 because the vehicle C does not exist in the closed region T2.

図4Cは、車両Cが閉領域S1から侵出(ゲートアウト)し、閉領域T2に侵入した後の状態を示している。図4C(a)に示すように、閉領域T2内に車両Cが存在するため、他の閉領域と比較して閉領域T2の平均照度が高くなる。 FIG. 4C shows a state after the vehicle C has invaded (gated out) from the closed region S1 and entered the closed region T2. As shown in FIG. 4C (a), since the vehicle C exists in the closed region T2, the average illuminance in the closed region T2 is higher than that in the other closed regions.

図4C(b)は、閉領域S1の平均照度グラフ(実線)を示している。一部、図4B(b)の期間と重複するが、車両Cが閉領域S1から侵出した後、平均照度はレベル1となる。また、閉領域T2の平均照度グラフ(破線)は、閉領域T2内に車両Cが存在しない期間はレベル1であるが、車両Cの侵入に伴いレベル3に上昇する。このように、閉領域通過検知手段12は、閉領域S1における平均照度の変化から、車両Cが閉領域S1に侵入し侵出したこと、すなわち閉領域S1の通過を検知する。 FIG. 4C (b) shows an average illuminance graph (solid line) of the closed region S1. Partly overlapping the period of FIG. 4B (b), the average illuminance becomes level 1 after the vehicle C has invaded the closed region S1. Further, the average illuminance graph (broken line) of the closed region T2 is level 1 during the period when the vehicle C does not exist in the closed region T2, but rises to level 3 as the vehicle C invades. As described above, the closed region passage detecting means 12 detects that the vehicle C has invaded and invaded the closed region S1 from the change in the average illuminance in the closed region S1, that is, the passage of the closed region S1.

図3に戻り、認識装置10の隣接閉領域間移動判定手段14は、上述の例のように、車両Cが閉領域S(S1~S3の何れか)から侵出し、隣接閉領域T(T1~T3の何れか)に侵入するまでの事象が指定時間内に発生しているかを検知する。この検知は、車両Cの移動の連続性、移動方向の検知に用いられる。 Returning to FIG. 3, in the moving determination means 14 between adjacent closed regions of the recognition device 10, the vehicle C invades from the closed region S (any of S1 to S3) as in the above example, and the adjacent closed region T (T1). It is detected whether the event until the invasion into (any of T3) has occurred within the specified time. This detection is used to detect the continuity of movement of the vehicle C and the direction of movement.

一方、移動体Mは、閉領域S3内を移動するだけで、閉領域S3の外部に進出しない(図4A~図4Cの閉領域S3参照)。このため、閉領域S3の平均照度は一定値のままとなる。認識装置10のフィルタリング手段13は、閉領域S3における平均照度が変化しない場合に、閉領域S3を通過しない移動体(いわばノイズ)として検知対象から除外する。 On the other hand, the moving body M only moves in the closed region S3 and does not advance to the outside of the closed region S3 (see the closed region S3 in FIGS. 4A to 4C). Therefore, the average illuminance of the closed region S3 remains a constant value. When the average illuminance in the closed region S3 does not change, the filtering means 13 of the recognition device 10 excludes it from the detection target as a moving object (so-called noise) that does not pass through the closed region S3.

次に、図5を参照して、閉領域サイズの決定処理について説明する。 Next, the process of determining the closed area size will be described with reference to FIG.

移動体検知システム1では、上述の閉領域Sのサイズを適正な範囲に設定する必要がある。例えば、車両Cの大きさ(高さ)に対して閉領域Sのサイズが大きすぎる場合、車両Cが閉領域Sに侵入しても平均照度の変化が極めて小さく、検知され難い。 In the mobile body detection system 1, it is necessary to set the size of the closed region S described above to an appropriate range. For example, when the size of the closed region S is too large with respect to the size (height) of the vehicle C, the change in the average illuminance is extremely small even if the vehicle C enters the closed region S, and it is difficult to detect.

このため、移動体検知システム1では、認識装置10の閉領域決定手段15が閉領域Sのサイズを決定する。具体的には、閉領域決定手段15は、撮像装置50が有する撮像センサの垂直方向のサイズ及び焦点距離と、撮像対象の物体の大きさと、撮像装置50から当該撮像対象の物体までの距離とに基づいて、最適な閉領域Sのサイズを決定する。 Therefore, in the mobile body detection system 1, the closed area determining means 15 of the recognition device 10 determines the size of the closed area S. Specifically, the closed region determining means 15 includes the vertical size and focal length of the image pickup sensor of the image pickup device 50, the size of the object to be imaged, and the distance from the image pickup device 50 to the object to be imaged. The optimum size of the closed region S is determined based on.

図5(a)に示すように、認識装置10は、車両Dを認識するために、撮像領域R2内に閉領域Sを生成する。そして、閉領域S内に車両Dを検知したとき、閉領域Sのサイズを決定する。なお、撮像領域R2の推定高さをH(m)とする。 As shown in FIG. 5A, the recognition device 10 generates a closed region S in the imaging region R2 in order to recognize the vehicle D. Then, when the vehicle D is detected in the closed area S, the size of the closed area S is determined. The estimated height of the imaging region R2 is H (m).

図5(b)に示すように、撮像装置50から距離L(m)だけ離れた地点を走行する車両Dに対する撮像領域R2の推定高さH(m)は、撮像装置50(撮像手段51)が有する撮像センサ55の垂直方向サイズをIh(mm)、レンズ56の焦点距離F(mm)として、以下の式で与えられる。
H=L×(Ih/F) ・・・(式1)
なお、焦点距離Fは、ズーム倍率に比例(F=k×[倍率])する。
As shown in FIG. 5B, the estimated height H (m) of the image pickup region R2 with respect to the vehicle D traveling at a point separated by a distance L (m) from the image pickup device 50 is the image pickup device 50 (imaging means 51). The vertical size of the image sensor 55 of the image sensor 55 is Ih (mm), and the focal length F (mm) of the lens 56 is given by the following equation.
H = L × (Ih / F) ・ ・ ・ (Equation 1)
The focal length F is proportional to the zoom magnification (F = k × [magnification]).

例えば、F=4.7×10=47(mm)、Ih=3.6(mm)のとき、200m(L=200)手前の車両Dについては、(式1)より、H≒15.3(m)となる。 For example, when F = 4.7 × 10 = 47 (mm) and Ih = 3.6 (mm), for vehicle D 200 m (L = 200) before, H≈15.3 from (Equation 1). It becomes (m).

車両Dの高さhが3.0(m)である場合、その1.5倍(N=1.5)の高さ(4.5(m))の閉領域Sとするためには、
=(h×N)/H ・・・(式2)
に従い、閉領域Sの高さH(%)を撮像領域R2の約30%に抑えればよい。このような処理により、最適な閉領域Sのサイズが決定される。
When the height h of the vehicle D is 3.0 (m), in order to obtain a closed region S having a height (4.5 (m)) 1.5 times (N = 1.5) of the height h,
HC = (h × N) / H ... (Equation 2)
Therefore, the height HC (%) of the closed region S may be suppressed to about 30% of the imaging region R2. By such processing, the optimum size of the closed region S is determined.

[第2実施形態]
移動体検知システム1では、撮像装置50の撮像領域内に検出したい車両等の移動体を収めなければ、上述の閉領域の通過検知の機能を実現することができない。従って、撮像装置50の方向とエリアとを制御し、接近してくる移動体を領域内に収める必要がある。
[Second Embodiment]
In the moving object detection system 1, the above-mentioned function of passing detection in a closed region cannot be realized unless a moving object such as a vehicle to be detected is housed in the imaging region of the imaging device 50. Therefore, it is necessary to control the direction and the area of the image pickup apparatus 50 to fit the approaching moving object within the area.

図6は、第2実施形態の認識装置10と撮像装置50の内部構成を示している。認識装置10は、第1実施形態(図3参照)で説明した構成に加え、道路認識手段17と、道路内閉領域設定手段18と、撮像制御手段19と、機械学習移動体検知手段20と、環境明度判定手段21と、閉領域生成手段22と、平均照度検知手段23と、ベクトル判定手段24とを備えている。 FIG. 6 shows the internal configuration of the recognition device 10 and the image pickup device 50 of the second embodiment. In addition to the configuration described in the first embodiment (see FIG. 3), the recognition device 10 includes a road recognition means 17, a road closed area setting means 18, an image pickup control means 19, and a machine learning moving object detecting means 20. The environment brightness determining means 21, the closed region generating means 22, the average illuminance detecting means 23, and the vector determining means 24 are provided.

道路認識手段17は、第1の機械学習済み認識モデルを用いて、撮像領域内の道路エリアと道路エリア以外のエリア(建物、塀、木等)とを識別する。そして、道路内閉領域設定手段18は、道路エリア内に上述の閉領域S,Tを設定する。これにより、移動体検知システム1は、道路上に存在する移動体(車両)を確実に検知することができる。 The road recognition means 17 uses the first machine-learned recognition model to discriminate between a road area in the imaging region and an area other than the road area (buildings, walls, trees, etc.). Then, the closed area setting means 18 in the road sets the above-mentioned closed areas S and T in the road area. As a result, the moving object detection system 1 can reliably detect a moving object (vehicle) existing on the road.

次に、図7を参照して、道路エリアの決定処理を説明する。 Next, the road area determination process will be described with reference to FIG. 7.

図7(a)は、撮像装置50が道路の後方を撮像したときの等倍(ズーム無し)の撮像領域R3を示している。これは、撮像を開始した時点(視点調整前)の状態であり、撮像装置50の視点は、撮像領域R3の中心(実線円)にある。 FIG. 7A shows an image pickup region R3 at the same magnification (without zoom) when the image pickup apparatus 50 images the rear of the road. This is the state at the time when the image pickup is started (before the viewpoint adjustment), and the viewpoint of the image pickup apparatus 50 is at the center (solid line circle) of the image pickup region R3.

その後、道路認識手段17は、図7(b)に示すように、撮像領域R3の水平方向をL(Left)-Zone、C(Center)-Zone、R(Right)-Zoneの3区域に分割する。道路認識手段17は、さらに各区域を垂直方向で方向に3分割して上方からT(Top)-Area、M(Middle)-Area、B(Bottom)-Areaを定めて、各区域に道路の画素がどの程度含まれているかを認識する。道路認識手段17により道路エリアと認識された部分は、所定の色彩が施される。 After that, as shown in FIG. 7B, the road recognition means 17 divides the horizontal direction of the imaging region R3 into three areas of L (Left) -Zone, C (Center) -Zone, and R (Right) -Zone. do. The road recognition means 17 further divides each area into three in the vertical direction, determines T (Top) -Area, M (Middle) -Area, and B (Bottom) -Area from above, and sets the road in each area. Recognize how many pixels are included. The portion recognized as the road area by the road recognition means 17 is given a predetermined color.

図7(b)の例において、L-Zone内に47%、C-Zone内に26%、R-Zone内に11%の道路エリアが認識された場合、撮像領域R3の道路エリアの占める割合は、その平均の28%となる。また、L-Zone内に道路エリアと判定された領域がどの程度あるかについて、T-Areaに15%、M-Areaに70%、B-Areaに15%のように、詳細情報を取得してもよい。 In the example of FIG. 7B, when a road area of 47% in the L-Zone, 26% in the C-Zone, and 11% in the R-Zone is recognized, the ratio of the road area in the imaging region R3 is occupied. Is 28% of the average. In addition, detailed information is obtained on how much area is determined to be a road area in the L-Zone, such as 15% for T-Area, 70% for M-Area, and 15% for B-Area. You may.

その後、撮像装置50は、L-Zoneの中心又はR-Zoneの中心が撮像中心となるように制御が行われる。撮像装置50の遠隔操作は、Open Network Video Interface(以下、ONVIF(登録商標)という)で標準仕様が規定されている。ONVIF制御では、左右方向及び上下方向の合わせたい回転角度に応じて、撮像手段51を何秒回転させるかを指定することができる。同様に、ONVIF制御では、ズームアップ又はズームダウンを何秒間行うかを指定することができる。また、このONVIF制御により、撮像領域R3の中心がPTZ(Pan,Tilt,Zoom)制御される。 After that, the image pickup apparatus 50 is controlled so that the center of the L-Zone or the center of the R-Zone becomes the image pickup center. The standard specifications for remote control of the image pickup device 50 are defined by the Open Network Video Interface (hereinafter referred to as ONVIF (registered trademark)). In ONVIF control, it is possible to specify how many seconds the image pickup means 51 is rotated according to the rotation angles to be adjusted in the left-right direction and the up-down direction. Similarly, with ONVIF control, it is possible to specify how many seconds the zoom up or zoom down is performed. Further, by this ONVIF control, the center of the imaging region R3 is controlled by PTZ (Pan, Tilt, Zoom).

撮像装置50は、第1実施形態(図3参照)で説明した撮像手段51に加え、撮像手段51に制御信号を送信する制御手段52を備えている。制御手段52は、認識装置10の撮像制御手段19からの指示(制御信号)を受信し、上述のPTZ制御を行う。 The image pickup apparatus 50 includes, in addition to the image pickup means 51 described in the first embodiment (see FIG. 3), a control means 52 for transmitting a control signal to the image pickup means 51. The control means 52 receives an instruction (control signal) from the image pickup control means 19 of the recognition device 10 and performs the above-mentioned PTZ control.

この例では、認識装置10の道路認識手段17が第1の機械学習済み認識モデルを利用して、撮像領域R3から道路エリアを認識する。道路エリアを算出した結果、撮像領域R3の左側に道路エリアが多く存在する(左方向のカーブ)と認識されたため、撮像制御手段19がPTZ制御を指示する。 In this example, the road recognition means 17 of the recognition device 10 uses the first machine-learned recognition model to recognize the road area from the imaging region R3. As a result of calculating the road area, it is recognized that there are many road areas on the left side of the image pickup area R3 (curve in the left direction), so that the image pickup control means 19 instructs PTZ control.

具体的には、撮像制御手段19は、第1の機械学習済み認識モデルが認識した道路エリアの面積を取得し、ONVIF制御により道路エリアの面積が最大のL-Zoneの中心(破線円)が画面中央にくるように位置調整する。具体的には、撮像制御手段19は、視野角の1/3の角度の左方向に撮像手段51が回転するように、ONVIF制御を行う。これにより、図7(c)に示すように、撮像領域R4の中心が、撮像領域R3におけるL-Zoneの中心に移動する。 Specifically, the imaging control means 19 acquires the area of the road area recognized by the first machine-learned recognition model, and the center (broken line circle) of the L-Zone having the largest area of the road area is determined by ONVIF control. Adjust the position so that it is in the center of the screen. Specifically, the image pickup control means 19 performs ONVIF control so that the image pickup means 51 rotates to the left at an angle of 1/3 of the viewing angle. As a result, as shown in FIG. 7C, the center of the imaging region R4 moves to the center of the L-Zone in the imaging region R3.

その後、撮像制御手段19は、図7(d)に示すように、倍率の増加(5倍ズーム)を指示し、ONVIF制御により倍率の増加に応じた時間ズームアップを行う。これにより、移動体検知システム1は、道路上の移動体(車両)を的確に撮像領域内に収めることができる。 After that, as shown in FIG. 7D, the image pickup control means 19 instructs to increase the magnification (5x zoom), and ONVIF control performs time zooming up according to the increase in the magnification. As a result, the moving object detection system 1 can accurately accommodate the moving object (vehicle) on the road within the imaging region.

次に、図8を参照して、撮像環境の明度に応じた移動体検知について説明する。 Next, with reference to FIG. 8, moving object detection according to the brightness of the imaging environment will be described.

第1実施形態で説明した移動体検知手段11は画像データを解析して移動体を検知するが、検知対象が車両である場合、ヘッドライトの光によりその有無を検知する。このため、移動体検知手段11、閉領域通過検知手段12、フィルタリング手段13及び隣接閉領域間移動判定手段14からなる移動体検知は、撮像環境の明度(明るさ)が低い夜間に適用されることが好ましい。 The moving object detecting means 11 described in the first embodiment analyzes the image data to detect the moving object, but when the detection target is a vehicle, the presence or absence of the moving object is detected by the light of the headlight. Therefore, the moving object detection including the moving object detecting means 11, the closed region passage detecting means 12, the filtering means 13, and the moving object detecting means 14 between adjacent closed regions is applied at night when the brightness (brightness) of the imaging environment is low. Is preferable.

一方、撮像環境の明度が高い昼間の場合は、第2の機械学習済み認識モデル(例えば、Intel社からOpenVINO(登録商標)として提供されている移動体認識モデル)を用いて画像データを解析し、移動体の有無を検知するのが最も簡易である。第2の機械学習済み認識モデルによる車両の検知は、認識装置10の機械学習移動体検知手段20が担当する(図6参照)。 On the other hand, in the daytime when the image quality is high, the image data is analyzed using a second machine-learned recognition model (for example, a moving object recognition model provided by Intel as OpenVINO®). , It is easiest to detect the presence or absence of a moving object. The machine learning moving object detecting means 20 of the recognition device 10 is in charge of detecting the vehicle by the second machine-learned recognition model (see FIG. 6).

認識装置10の環境明度判定手段21は、画像データを解析して又は画像データの平均照度から撮像環境の明度を判定し、当該画像データが撮像された時間が昼間、夕方、夜間の何れに当たるかを判断する。なお、認識装置10がリアルタイムクロックを備えている場合、その日時から昼間、夕方、夜間の判定を行うこともできる。 The environmental brightness determination means 21 of the recognition device 10 analyzes the image data or determines the brightness of the imaging environment from the average illuminance of the image data, and whether the time when the image data is captured corresponds to daytime, evening, or nighttime. To judge. When the recognition device 10 is provided with a real-time clock, it is possible to perform daytime, evening, and nighttime determination from the date and time.

環境明度判定手段21が撮像時間を「昼間」と判断した場合には、上述の機械学習移動体検知により車両の有無を検知するように制御される。また、環境明度判定手段21が撮像時間を「夜間」と判断した場合には、第1実施形態の移動体検知で車両の有無を検知するように制御される。 When the environmental brightness determining means 21 determines that the imaging time is "daytime", it is controlled to detect the presence or absence of the vehicle by the above-mentioned machine learning moving object detection. Further, when the environmental brightness determining means 21 determines that the imaging time is "nighttime", it is controlled so as to detect the presence or absence of the vehicle by the moving object detection of the first embodiment.

また、環境明度判定手段21が撮像時間を「夕方」と判断した場合には、機械学習移動体検知と第1実施形態の移動体検知のハイブリッド方式で車両の有無を検知するように制御する。これにより、移動体検知システム1は、撮像環境の明度に応じて、正確に移動体検知を行うことができる。 Further, when the environmental brightness determining means 21 determines that the imaging time is "evening", it is controlled to detect the presence or absence of a vehicle by a hybrid method of machine learning moving object detection and moving object detection of the first embodiment. As a result, the moving object detection system 1 can accurately detect the moving object according to the brightness of the imaging environment.

次に、図9~図12を参照して、接近移動体検知処理について説明する。これは、第1実施形態とは異なる手法で撮像装置50に接近してくる移動体を検知する処理であり、認識装置10の閉領域生成手段22、平均照度検知手段23及びベクトル判定手段24を用いる(図6参照)。 Next, the approaching moving object detection process will be described with reference to FIGS. 9 to 12. This is a process of detecting a moving object approaching the image pickup apparatus 50 by a method different from that of the first embodiment, and the closed region generation means 22, the average illuminance detecting means 23, and the vector determination means 24 of the recognition device 10 are used. Used (see FIG. 6).

図9は、撮像装置50により撮像された画像データ(撮像範囲R5)を示している。認識装置10の閉領域生成手段22は、撮像領域R5内に閉領域(セル)を生成する。 FIG. 9 shows image data (imaging range R5) captured by the imaging device 50. The closed region generation means 22 of the recognition device 10 generates a closed region (cell) in the imaging region R5.

セルを生成するため、閉領域生成手段22は、まず、撮像領域R5をレイヤーに分割する。ここで、「レイヤー」とは、撮像領域R5を垂直方向で分割した画像エリアである。図9の例では、閉領域生成手段22が撮像領域R4を垂直方向に7分割している(Layer_1~Layer7)。その後、閉領域生成手段22が各レイヤーを水平方向で分割してセルを生成する。これにより、例えば、Layer_3を分割したCell_Aや、Layer_7を分割したCell_Bが生成される。 In order to generate cells, the closed region generation means 22 first divides the imaging region R5 into layers. Here, the "layer" is an image area obtained by dividing the imaging region R5 in the vertical direction. In the example of FIG. 9, the closed region generation means 22 vertically divides the imaging region R4 into seven (Layer_1 to Layer7). After that, the closed area generation means 22 divides each layer in the horizontal direction to generate cells. As a result, for example, Cell_A in which Layer_3 is divided and Cell_B in which Layer_7 is divided are generated.

レイヤーの垂直方向の高さは任意の値に設定できるが、撮像領域R5の上方のレイヤーは、下方のレイヤーよりも高さが低いことが好ましい。撮像領域R5の上方のセルサイズを小さくすることにより、接近方向(下方)のセルサイズが大きくなるため、遠方の接近車両がセル内に存在するかの判定精度が向上する。 The vertical height of the layers can be set to any value, but it is preferable that the upper layer of the imaging region R5 is lower in height than the lower layer. By reducing the cell size above the imaging region R5, the cell size in the approaching direction (downward) becomes large, so that the accuracy of determining whether a distant approaching vehicle exists in the cell is improved.

次に、認識装置10の平均照度検知手段23は、セルの各々に対して平均照度の変化を検知し、接近車両の存在を判定する。図10に示すように、平均照度検知手段23は、まず、撮像領域R6内の複数のセル(例えば、領域Xの6個のセル)に対し、平均照度計算処理を実行する。平均照度計算処理では、セルの各々に対して平均照度を算出し、最低照度を更新する。 Next, the average illuminance detecting means 23 of the recognition device 10 detects a change in the average illuminance for each of the cells and determines the presence of an approaching vehicle. As shown in FIG. 10, the average illuminance detecting means 23 first executes an average illuminance calculation process on a plurality of cells in the imaging region R6 (for example, six cells in the region X). In the average illuminance calculation process, the average illuminance is calculated for each cell and the minimum illuminance is updated.

平均照度の算出は第1実施形態と同様であるが、まず、画像データをグレースケール(白黒画像)化することで数値化する。さらに、セル内の数値(0~255)の平均値を算出する。数値が高いほど、セル内の平均照度は高い(明るい)ことになる。 The calculation of the average illuminance is the same as that of the first embodiment, but first, the image data is quantified by converting it into a gray scale (black and white image). Further, the average value of the numerical values (0 to 255) in the cell is calculated. The higher the number, the higher (brighter) the average illuminance in the cell.

その後、平均照度検知手段23は、平均照度変化評価処理を実行する。本処理では、[条件1](平均照度)≧(指定閾値)であるかと、[条件2](平均照度-最低照度)>指定閾値であるかの2条件を判定して評価する。平均照度検知手段23は、[条件1]及び[条件2]が満たされた場合、セル内に接近車両が存在すると推定する。 After that, the average illuminance detecting means 23 executes the average illuminance change evaluation process. In this process, two conditions are determined and evaluated: [Condition 1] (average illuminance) ≧ (designated threshold value) and [Condition 2] (average illuminance-minimum illuminance)> designated threshold value. The average illuminance detecting means 23 estimates that an approaching vehicle exists in the cell when [Condition 1] and [Condition 2] are satisfied.

例えば、指定閾値を「100」とし、領域X内のCell_Cの最低照度の数値が「30」、Cell_Cの平均照度の数値が「237」であった場合、平均照度(237)≧指定閾値(100)であり、平均照度(237)-最低照度(30)>指定閾値(100)であるため、[条件1]及び[条件2]を満たす。従って、平均照度検知手段23は、Cell_C内に接近車両が存在すると推定する。 For example, when the designated threshold value is "100", the minimum illuminance value of Cell_C in the region X is "30", and the average illuminance value of Cell_C is "237", the average illuminance (237) ≥ designated threshold value (100). ), And since the average illuminance (237) -minimum illuminance (30)> designated threshold value (100), [Condition 1] and [Condition 2] are satisfied. Therefore, the average illuminance detecting means 23 estimates that an approaching vehicle exists in Cell_C.

次に、認識装置10のベクトル判定手段24は、OpenCV等の汎用的な画像処理ソフトパッケージで提供されている機能を利用し、セル内のハイライトエリア(照度が指定閾値以上)の中心座標を求め、中心座標の軌跡が撮像領域R6の下方に向かって移動するベクトル(下方移動ベクトル)になっているか否かを判定する。 Next, the vector determination means 24 of the recognition device 10 uses the function provided by a general-purpose image processing software package such as OpenCV to determine the center coordinates of the highlight area (illuminance is equal to or higher than the specified threshold value) in the cell. It is determined whether or not the locus of the center coordinates is a vector (downward movement vector) that moves downward in the image pickup region R6.

図11Aに示すように、ベクトル判定手段24は、まず、撮像領域R6内のCell_Cに対し、再分割セル平均照度処理を実行する。本処理では、セルを水平方向及び垂直方向に分割して再分割セルを生成し(例えば、16個の再分割セル)、当該再分割セルの平均照度を算出する。 As shown in FIG. 11A, the vector determination means 24 first executes subdivision cell average illuminance processing on Cell_C in the imaging region R6. In this process, cells are divided horizontally and vertically to generate subdivided cells (for example, 16 subdivided cells), and the average illuminance of the subdivided cells is calculated.

次に、ベクトル判定手段24は、ハイライトエリア算出処理を実行する。図11B(a)において、Cell_C内の領域HAは、本処理で算出されたハイライトされた再分割セルの外形を示している。さらに、ベクトル判定手段24は、ハイライトベクトル処理を実行する。本処理では、ハイライトエリア(領域HA)の中心座標Oを決定し、中心座標Oの軌跡を調べる。 Next, the vector determination means 24 executes the highlight area calculation process. In FIG. 11B (a), the region HA in Cell_C shows the outer shape of the highlighted subdivided cell calculated in this process. Further, the vector determination means 24 executes the highlight vector processing. In this process, the center coordinate O 1 of the highlight area (region HA) is determined, and the locus of the center coordinate O 1 is investigated.

図11B(b)は、図11B(a)の状態からΔT後の領域HAを示している。ここでは、車両の移動に伴いCell_C内の領域HAが変形し、中心座標は点Oに移動している。このとき、ベクトル判定手段24は、移動ベクトル(O→O)の角度から接近判定を行う。 FIG. 11B (b) shows the region HA after ΔT from the state of FIG. 11B (a). Here, the region HA in Cell_C is deformed as the vehicle moves, and the center coordinates move to the point O2 . At this time, the vector determination means 24 makes an approach determination from the angle of the movement vector (O 1 → O 2 ).

ベクトル判定手段24がカウンタを備えており、カウンタ値により移動ベクトルを求めてもよい。領域HAの中心座標の軌跡が撮像領域R6の下方に移動する移動ベクトルの場合、当該カウンタの値を加算する。一方、当該中心座標の軌跡が上方に移動する移動ベクトルの場合、当該カウンタの値を減算する。そして、当該カウンタの値が予め定めた所定値以上となったとき、ベクトル判定手段24が下方移動ベクトルであると判定する。 The vector determination means 24 includes a counter, and the movement vector may be obtained from the counter value. When the locus of the center coordinates of the region HA is a movement vector that moves below the imaging region R6, the value of the counter is added. On the other hand, in the case of a movement vector in which the locus of the center coordinates moves upward, the value of the counter is subtracted. Then, when the value of the counter becomes equal to or higher than a predetermined value, the vector determination means 24 determines that the vector is a downward movement vector.

最後に、認識装置10の隣接閉領域間移動判定手段14は、隣接するレイヤー間を車両が指定時間内に通過したか否かを判定する。図12は、撮像領域R6内の複数のセル(領域Yの9個のセル)を示している。例えば、処理対象セルがLayer_4に存在するCell_Eであった場合、平均照度検知手段23は、Cell_Eに対して平均照度の変化を検知し、接近車両の存在を検知する。 Finally, the adjacent closed region movement determination means 14 of the recognition device 10 determines whether or not the vehicle has passed between the adjacent layers within a designated time. FIG. 12 shows a plurality of cells (nine cells in the region Y) in the imaging region R6. For example, when the cell to be processed is Cell_E existing in Layer_4, the average illuminance detecting means 23 detects the change in average illuminance with respect to Cell_E and detects the presence of an approaching vehicle.

Cell_Eに接近車両が存在すると判定された場合、隣接閉領域間移動判定手段14は、Cell_Eの1つ上に隣接するレイヤー、すなわちLayer_3のセル(Cell_CやCell_D)が指定時間内(例えば、1~2秒)に、接近車両の存在を検知しているかを判定する。この判定により、車両の移動の連続性、移動方向が検知されるので、結果的に撮像装置50に接近してくる移動体を検知することができる。 When it is determined that an approaching vehicle exists in Cell_E, in the adjacent closed region movement determination means 14, the layer adjacent to one above Cell_E, that is, the cell (Cell_C or Cell_D) of Layer_3 is within the specified time (for example, 1 to 1 to). 2 seconds), it is determined whether the presence of an approaching vehicle is detected. By this determination, the continuity of movement of the vehicle and the direction of movement are detected, so that it is possible to detect a moving object approaching the image pickup apparatus 50 as a result.

本発明は、上記の実施形態に限定されるものではなく、本発明の技術的範囲に属する限り、種々の形態をとりうる。移動体として車両の例を示したが、バイク、農耕用車、自転車等でもよい。 The present invention is not limited to the above-described embodiment, and may take various forms as long as it belongs to the technical scope of the present invention. Although an example of a vehicle is shown as a moving body, a motorcycle, an agricultural vehicle, a bicycle, or the like may be used.

1 移動体検知システム
10 認識装置
11 移動体検知手段
12 閉領域通過検知手段
13 フィルタリング手段
14 隣接閉領域間移動判定手段
15 閉領域決定手段
17 道路認識手段
18 道路内閉領域設定手段
19 撮像制御手段
20 機械学習移動体検知手段
21 環境明度判定手段
22 閉領域生成手段
23 平均照度検知手段
24 ベクトル判定手段
50 撮像装置
51 撮像手段
52 制御手段
55 撮像センサ
56 レンズ
C,D 車両
R1~R6 撮像領域
S,S1~S3 閉領域
T,T1~T3 隣接閉領域
V 特別車両
1 Mobile detection system 10 Recognition device 11 Mobile detection means 12 Closed area passage detection means 13 Filtering means 14 Adjacent closed area movement determination means 15 Closed area determination means 17 Road recognition means 18 Road closed area setting means 19 Imaging control means 20 Machine learning moving object detecting means 21 Environmental brightness judging means 22 Closed area generating means 23 Average illuminance detecting means 24 Vector judging means 50 Imaging device 51 Imaging means 52 Control means 55 Imaging sensor 56 Lens C, D Vehicles R1 to R6 Imaging region S , S1 to S3 Closed area T, T1 to T3 Adjacent closed area V Special vehicle

Claims (7)

撮像装置を用いて所定領域を撮像し、撮像された画像又は映像から移動体の動きを認識する認識装置を備える移動体検知システムであって、
前記認識装置は、
一定の照度を有する光源が撮像領域を水平方向及び垂直方向に分割した閉領域に侵入したことにより前記移動体の存在を検知する移動体検知手段と、
前記撮像領域内の特定の閉領域における平均照度の変化から、前記移動体が当該閉領域に侵入し、侵出する当該閉領域の通過を検知する閉領域通過検知手段と、
前記閉領域における平均照度が変化しない場合に、当該閉領域を通過しない移動体として、検知対象から除外するフィルタリング手段と、
前記閉領域を通過した前記移動体が当該閉領域の上側に隣接する隣接閉領域を指定時間内に通過したかを判定する隣接閉領域間移動判定手段と、
を備えていることを特徴とする移動体検知システム。
A mobile body detection system including a recognition device that captures a predetermined area using an image pickup device and recognizes the movement of the moving body from the captured image or video.
The recognition device is
A moving body detecting means for detecting the presence of the moving body when a light source having a constant illuminance invades a closed area obtained by dividing the imaging region into a horizontal direction and a vertical direction.
A closed region passage detecting means for detecting the passage of the closed region in which the moving object invades and invades the closed region from the change in the average illuminance in the specific closed region in the imaging region.
When the average illuminance in the closed region does not change, a filtering means for excluding it from the detection target as a moving object that does not pass through the closed region, and
A means for determining movement between adjacent closed regions, which determines whether or not the moving body that has passed through the closed region has passed through an adjacent closed region adjacent to the upper side of the closed region within a specified time.
A mobile detection system characterized by being equipped with.
請求項1に記載の移動体検知システムにおいて、
前記認識装置は、前記撮像装置が有する撮像センサのサイズ及び焦点距離と、撮像対象の物体の大きさと、前記撮像装置から当該撮像対象の物体までの距離とに基づいて、前記閉領域の位置及び大きさを決定する閉領域決定手段を備えていることを特徴とする移動体検知システム。
In the mobile detection system according to claim 1,
The recognition device has a position of the closed region and a focal length based on the size and focal length of the image pickup sensor of the image pickup device, the size of the object to be imaged, and the distance from the image pickup device to the object to be imaged. A moving object detection system characterized by having a closed area determination means for determining the size.
請求項1又は2に記載の移動体検知システムにおいて、
前記認識装置は、
機械学習済み認識モデルを用いて前記撮像領域内の道路エリアと当該道路エリア以外のエリアとを識別する道路識別手段と、
前記閉領域を前記道路エリア内に設定する道路内閉領域設定手段と、
を備えていることを特徴とする移動体検知システム。
In the mobile detection system according to claim 1 or 2.
The recognition device is
A road identification means for discriminating between a road area in the imaging region and an area other than the road area using a machine-learned recognition model.
A road closed area setting means for setting the closed area in the road area,
A mobile detection system characterized by being equipped with.
請求項3に記載の移動体検知システムにおいて、
前記認識装置は、前記撮像装置の前記撮像領域の角度及び範囲の制御を指示する撮像制御手段を備え、
前記撮像制御手段は、前記撮像領域の水平方向を少なくとも2以上の区域に分割し、当該各区域のうち前記道路エリアの面積が最大の区域が当該撮像領域の中央にくるように調整した後、前記撮像領域をズームインすることを特徴とする移動体検知システム。
In the mobile detection system according to claim 3,
The recognition device includes an image pickup control means for instructing control of an angle and a range of the image pickup region of the image pickup device.
The image pickup control means divides the horizontal direction of the image pickup area into at least two or more areas, adjusts the area having the largest area of the road area among the areas so as to be in the center of the image pickup area, and then adjusts the area. A moving object detection system characterized by zooming in on the imaging area.
請求項1~4の何れか1項に記載の移動体検知システムにおいて、
前記認識装置は、
機械学習済み認識モデルを用いて前記移動体の有無を検知する機械学習移動体検知手段と、
前記撮像された画像又は映像から撮像環境の明度を判定する環境明度判定手段と、を備え、
前記環境明度判定手段が判定した前記明度に基づいて、前記機械学習移動体検知手段と前記移動体検知手段の両方、又は何れか一方により前記移動体を検知することを特徴とする移動体検知システム。
In the mobile detection system according to any one of claims 1 to 4,
The recognition device is
A machine learning moving object detection means that detects the presence or absence of the moving object using a machine-learned recognition model,
The environment brightness determination means for determining the brightness of the imaging environment from the captured image or video is provided.
A moving body detection system characterized in that the moving body is detected by either the machine learning moving body detecting means and / or the moving body detecting means based on the brightness determined by the environmental brightness determining means. ..
請求項1~5の何れか1項に記載の移動体検知システムにおいて、
前記認識装置は、
前記撮像領域を水平方向及び垂直方向に分割して複数の前記閉領域を生成する閉領域生成手段と、
前記閉領域の各々に対して平均照度の変化を検知する平均照度検知手段と、
前記閉領域のうち、前記平均照度が予め定めた閾値以上の領域からなるハイライトエリアを抽出し、当該ハイライトエリアの中心座標の軌跡が前記撮像領域の下方に移動する下方移動ベクトルとなっているかを判定するベクトル判定手段と、
を備えていることを特徴とする移動体検知システム。
In the mobile detection system according to any one of claims 1 to 5,
The recognition device is
A closed region generation means that divides the imaging region in the horizontal direction and the vertical direction to generate a plurality of the closed regions.
An average illuminance detecting means for detecting a change in the average illuminance for each of the closed regions,
A highlight area consisting of a region having an average illuminance equal to or higher than a predetermined threshold value is extracted from the closed region, and the locus of the center coordinates of the highlight area becomes a downward movement vector that moves below the imaging region. Vector judgment means to determine whether or not
A mobile detection system characterized by being equipped with.
請求項6に記載の移動体検知システムにおいて、
前記ベクトル判定手段は、カウンタを有し、
前記ハイライトエリアの中心座標の軌跡が、前記撮像領域の下方に移動するベクトルの場合に前記カウンタの値を加算し、上方に移動するベクトルの場合に前記カウンタの値を減算し、
前記カウンタの値が予め定めた所定値以上となったとき、前記下方移動ベクトルと判定することを特徴とする移動体検知システム。
In the mobile detection system according to claim 6,
The vector determination means has a counter and has a counter.
When the locus of the center coordinates of the highlight area is a vector moving downward in the imaging region, the value of the counter is added, and when the trajectory is a vector moving upward, the value of the counter is subtracted.
A moving object detection system characterized in that when the value of the counter becomes equal to or higher than a predetermined value, it is determined as the downward movement vector.
JP2020177997A 2020-10-23 2020-10-23 Mobile detection system Active JP6980887B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020177997A JP6980887B1 (en) 2020-10-23 2020-10-23 Mobile detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020177997A JP6980887B1 (en) 2020-10-23 2020-10-23 Mobile detection system

Publications (2)

Publication Number Publication Date
JP6980887B1 JP6980887B1 (en) 2021-12-15
JP2022069052A true JP2022069052A (en) 2022-05-11

Family

ID=78870886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020177997A Active JP6980887B1 (en) 2020-10-23 2020-10-23 Mobile detection system

Country Status (1)

Country Link
JP (1) JP6980887B1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100533482C (en) * 1999-11-03 2009-08-26 特许科技有限公司 Image processing techniques for a video based traffic monitoring system and methods therefor
JP2004118424A (en) * 2002-09-25 2004-04-15 Sony Corp Motion detecting device, motion detecting method, motion detecting system and its program
JP5019375B2 (en) * 2007-09-05 2012-09-05 コイト電工株式会社 Object detection apparatus and object detection method
JP6091319B2 (en) * 2013-04-26 2017-03-08 三菱電機株式会社 Image processing device for monitoring

Also Published As

Publication number Publication date
JP6980887B1 (en) 2021-12-15

Similar Documents

Publication Publication Date Title
CN109703460B (en) Multi-camera complex scene self-adaptive vehicle collision early warning device and early warning method
JP3764086B2 (en) Vehicle information providing device
EP2919197B1 (en) Object detection device and object detection method
US9177196B2 (en) Vehicle periphery monitoring system
JP4528283B2 (en) Vehicle periphery monitoring device
JP5686281B2 (en) Three-dimensional object identification device, and mobile object control device and information providing device provided with the same
CN106203272B (en) The method and apparatus for determining the movement of movable objects
JP5696927B2 (en) Object identification device, and moving body control device and information providing device provided with the same
WO2018008461A1 (en) Image processing device
JP2005309797A (en) Warning device for pedestrian
US8373754B2 (en) Method and system for evaluating brightness values in sensor images of image-evaluating adaptive cruise control systems
CN112367475B (en) Traffic incident detection method and system and electronic equipment
JP2008158640A (en) Moving object detection apparatus
JP2011150687A (en) Three-dimensional object identifying apparatus, moving body control apparatus equipped with the same, and information providing apparatus
JP5962297B2 (en) Camera field of view detection device
KR101033237B1 (en) Multi-function detecting system for vehicles and security using 360 deg. wide image and method of detecting thereof
JP4864953B2 (en) Vehicle periphery monitoring device
JP6980887B1 (en) Mobile detection system
JP3916930B2 (en) Approach warning device
JP2011103058A (en) Erroneous recognition prevention device
JP4765113B2 (en) Vehicle periphery monitoring device, vehicle, vehicle periphery monitoring program, and vehicle periphery monitoring method
JP4804202B2 (en) Stereo monitoring device
JP4567072B2 (en) Vehicle periphery monitoring device
KR102434154B1 (en) Method for tracking multi target in traffic image-monitoring-system
CN112406700B (en) Blind area early warning system based on upper and lower binocular vision analysis range finding

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201027

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211117

R150 Certificate of patent or registration of utility model

Ref document number: 6980887

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150