JP7199974B2 - Parameter selection device, parameter selection method, and parameter selection program - Google Patents
Parameter selection device, parameter selection method, and parameter selection program Download PDFInfo
- Publication number
- JP7199974B2 JP7199974B2 JP2019005448A JP2019005448A JP7199974B2 JP 7199974 B2 JP7199974 B2 JP 7199974B2 JP 2019005448 A JP2019005448 A JP 2019005448A JP 2019005448 A JP2019005448 A JP 2019005448A JP 7199974 B2 JP7199974 B2 JP 7199974B2
- Authority
- JP
- Japan
- Prior art keywords
- parameter
- object detection
- degree
- parameter selection
- influence
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000010187 selection method Methods 0.000 title claims 2
- 238000012545 processing Methods 0.000 claims description 157
- 238000001514 detection method Methods 0.000 claims description 146
- 238000004458 analytical method Methods 0.000 claims description 119
- 238000005259 measurement Methods 0.000 claims description 80
- 238000004364 calculation method Methods 0.000 claims description 67
- 238000005457 optimization Methods 0.000 claims description 25
- 238000000605 extraction Methods 0.000 claims description 16
- 238000000354 decomposition reaction Methods 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 6
- 238000000034 method Methods 0.000 description 48
- 238000010586 diagram Methods 0.000 description 18
- 238000012937 correction Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 9
- 238000012360 testing method Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 238000009434 installation Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000011156 evaluation Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000007423 decrease Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 240000007594 Oryza sativa Species 0.000 description 1
- 235000007164 Oryza sativa Nutrition 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 235000009566 rice Nutrition 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Length Measuring Devices By Optical Means (AREA)
- Image Analysis (AREA)
- Image Processing (AREA)
Description
本発明は、物体検出装置および物体検出方法に関する。 The present invention relates to an object detection device and an object detection method.
計測装置(以下、センサという場合がある)が取得した情報によって物体を検出する物体検出技術へのニーズが高まっており、物体検出結果はユーザ要件に応じて多様なアプリケーションで活用されている。例えば、監視目的とした所定エリアへの侵入者検知や、人流や交通量解析を目的とした物体の軌跡抽出、物体数のカウントなどが例に挙げられる。センサとしては、監視カメラ、距離センサ、レーザレーダなどが多く活用されている。センサを適切な箇所に満遍なく設置できればユーザが求める物体計測および後段のアプリケーションを高精度に実現できる。 There is a growing need for object detection technology that detects objects based on information acquired by measuring devices (hereinafter sometimes referred to as sensors), and object detection results are used in a variety of applications according to user requirements. For example, detection of an intruder into a predetermined area for monitoring purposes, extraction of trajectories of objects for the purpose of analyzing the flow of people and traffic, counting of the number of objects, etc. can be mentioned. Monitoring cameras, distance sensors, laser radars, and the like are widely used as sensors. If the sensors can be evenly installed at appropriate locations, it will be possible to achieve highly accurate object measurement and subsequent applications required by the user.
しかし、実際にはコスト面や設置場所の環境などによって、使用するセンサ台数や物体検出の性能などが限定され、期待された計測精度が出ない場面が多々ある。そのような場面では、技術者などが現地に赴き、精度を維持するためにセンサの設置位置や姿勢、画角、物体検出に使用する閾値などのパラメータを、時間をかけて調整する必要があった。このような状況を鑑みて、近年では、センサのパラメータを自動で最適化する技術が開発されているものの、大量のセンサのパラメータを一括に最適化するには計算コストを考慮すると現実的ではない。そこで、調整の対象となるパラメータを選定する技術への期待が高い。例えば、特許文献1では、監視カメラの最適な配置条件に関するパラメータを自動で選定し最適化している。 However, in reality, the number of sensors to be used and the performance of object detection are limited due to factors such as cost and the environment of the installation site, and there are many cases where the expected measurement accuracy is not achieved. In such situations, it is necessary for engineers to visit the site and spend time adjusting parameters such as the sensor installation position, orientation, angle of view, and thresholds used for object detection in order to maintain accuracy. rice field. In view of this situation, in recent years, technology for automatically optimizing sensor parameters has been developed, but it is not realistic to optimize the parameters of a large number of sensors at once, considering the computational cost. . Therefore, there are high expectations for technology for selecting parameters to be adjusted. For example, in Japanese Unexamined Patent Application Publication No. 2002-100000, parameters relating to optimal placement conditions for surveillance cameras are automatically selected and optimized.
しかしながら、特許文献1では、必要最小限のカメラ台数にて死角の無い監視を実現できるよう監視カメラの配置条件を選定することで、効率的にパラメータを最適化できるものの、物体検出に使用する閾値などに関するパラメータを対象とすることができない。また、監視などのユーザ要件に応じて最適な監視カメラの配置条件のパラメータを選定しているが、監視カメラそのものが保持する外部パラメータと内部パラメータを全て一括で最適化しており、その中からユーザ要件の達成に適したパラメータを予め選定することができない。
However, in
本発明は、上述の課題を解決するためになされたものであり、計測範囲から物体を検出する際、計測目的ごとのユーザ要件の達成に適した調整対象のパラメータを適切に選定することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and it is an object of the present invention to appropriately select parameters to be adjusted that are suitable for achieving user requirements for each measurement purpose when detecting an object from a measurement range. and
かかる課題を解決するために本発明の一例においては、パラメータ選定装置は、計測装置の計測範囲内における物体を物体検出装置が検出する際に使用するアルゴリズムで用いられるパラメータが、前記アルゴリズムを使用して前記物体を検出する検出精度に与える第1の影響度を算出するパラメータ影響度算出部と、ユーザ要件を達成するための解析項目が、前記物体検出装置によって検出された前記物体の計測精度に与える第2の影響度を算出する解析項目影響度算出部と、前記第1の影響度および前記第2の影響度に基づいて、調整対象とする前記パラメータを選定するパラメータ選定部とを有することを特徴とする。 In order to solve such a problem, in one example of the present invention, the parameter selection device uses the algorithm for the parameter used when the object detection device detects an object within the measurement range of the measurement device. a parameter influence calculation unit that calculates a first influence on the detection accuracy of detecting the object by using the object detection device; and a parameter selection unit for selecting the parameter to be adjusted based on the first influence and the second influence. characterized by
本発明によれば、計測範囲から物体を検出する際、計測目的ごとのユーザ要件の達成に適した調整対象のパラメータを適切に選定できる。 ADVANTAGE OF THE INVENTION According to this invention, when detecting an object from a measurement range, the parameter of the adjustment object suitable for achievement of user requirements for every measurement purpose can be selected appropriately.
以下図面に基づき、本発明の実施例を詳述する。以下の実施例を説明するための各図面において、同一参照番号は、同一または類似の構成あるいは処理を示し、後出の説明が省略される。また、各実施例及び各変形例は、本発明の技術思想の範囲内及び整合する範囲内でその一部又は全部を組合せることができる。 An embodiment of the present invention will be described in detail below with reference to the drawings. In each drawing for explaining the embodiments below, the same reference numbers indicate the same or similar configurations or processes, and the descriptions thereof will be omitted. Moreover, each embodiment and each modification can be combined in whole or in part within the scope of the technical idea of the present invention and within the scope of matching.
<実施例1の物体検出装置の構成>
図1は、実施例1の物体検出装置の構成を示す機能ブロック図である。実施例1の物体検出装置1は、センサ情報200と、センサなどの計測装置での計測目的などのユーザ要件201を使用して、センサで検知した物体検出に用いるパラメータを自動で選定する装置である。なお、本実施例では、センサとしてステレオカメラを使用した場合について記載するが、ステレオカメラに限定されるものではなく、TOFセンサやレーザレーダなどの距離センサ、単眼カメラ、監視カメラなど他のセンサへの応用も可能である。
<Structure of Object Detection Apparatus of
FIG. 1 is a functional block diagram showing the configuration of the object detection device of Example 1. As shown in FIG. The
物体検出装置1は、処理ブロック分解部2と、パラメータ寄与率算出部3と、ユーザ解析項目抽出部4と、解析項目寄与率算出部5と、最適化処理ブロック決定部6と、パラメータ選定部7と、パラメータ調整部8と、物体検出実行部9と、解析実行部10とを有する。
The
なお、処理ブロック分解部2と、パラメータ寄与率算出部3と、ユーザ解析項目抽出部4と、解析項目寄与率算出部5と、最適化処理ブロック決定部6と、パラメータ選定部7と、パラメータ調整部8と、物体検出実行部9の各機能部は、演算装置、主記憶装置、および外部記憶装置を有するセンサ、あるいはセンサとは別に用意した計算機において実現される。
A processing
処理ブロック分解部2は、センサ情報200に含まれるセンサ固有の計測アルゴリズムを複数の処理ブロックに分解する。パラメータ寄与率算出部3は、処理ブロック分解部2によって分解された複数の処理ブロックのそれぞれで使用されるパラメータがセンサ固有の計測アルゴリズムの出力結果の精度に対してどの程度の影響があるかを示す寄与率を算出する。
The
ユーザ解析項目抽出部4は、ユーザ要件201から、ユーザが必要とするセンサによる解析項目を抽出する。解析項目寄与率算出部5は、処理ブロック分解部2によって分解された各処理ブロックに対する解析項目の寄与率を算出する。
The user analysis
最適化処理ブロック決定部6は、ユーザ解析項目抽出部4によってユーザ要件201から抽出された解析項目の情報と、解析項目寄与率算出部5によって算出された各処理ブロックに対する解析項目の寄与率の情報とから、最適化処理を実施する処理ブロックを決定する。
The optimization processing
パラメータ選定部7は、最適化処理ブロック決定部6により最適化処理を実施すると決定された処理ブロックにおいて寄与率が高いパラメータを最適化対象のパラメータとして選定する。パラメータ調整部8は、パラメータ選定部7によって選定されたパラメータを、センサ固有の計測アルゴリズムを用いた物体検出などの精度が向上するように調整する。
The
物体検出実行部9は、指定されたパラメータにて物体検出を実行する。解析実行部10は、物体検出実行部9による物体検出の結果を使用してユーザ要件201に応じたアプリケーションを実行する。
The object
以下、処理ブロック分解部2、パラメータ寄与率算出部3、ユーザ解析項目抽出部4、解析項目寄与率算出部5、最適化処理ブロック決定部6、およびパラメータ選定部7の各機能の詳細について説明する。
Details of the functions of the processing
<処理ブロック分解部の処理>
図2は、処理ブロック分解部の処理を説明するための図である。物体検出アルゴリズム12は、例えばステレオカメラ11からの入力に対して物体検出処理を行った出力結果14を出力する計測アルゴリズムの一例である。映像取得12a、歪み補正12b、視差算出12c、3次元点群算出12d、および物体検出12eは、物体検出アルゴリズム12が分解された各処理ブロックの一例である。
<Processing of processing block decomposing unit>
FIG. 2 is a diagram for explaining the processing of the processing block decomposing unit. The
処理ブロック分解部2は、センサ情報200から物体検出に使用するステレオカメラ11の物体検出アルゴリズム12を取得し、複数の処理ブロックに分解する。センサ情報200としては、物体検出のプログラムソースなどのアルゴリズムの詳細が把握できる情報や、物体検出に使用するセンサ独自のSDKの情報、物体検出に関連するパラメータなどである。
The processing
図2は、ステレオカメラ11の物体検出アルゴリズム12を複数の処理ブロックに分解する一例を示す。物体検出アルゴリズム12を複数の処理ブロックに分割する方法としては、例えば、プログラムソース中の関数やクラスごと、使用するSDKごとなど、装置に開発に関連した分割方法や、アルゴリズム開発者の知見や経験、解析ツールなどを用いてアルゴリズムを細分化した各フローチャートを処理ブロックとする分割方法などの種々の手法がある。
FIG. 2 shows an example of decomposing the
各処理ブロックについて説明する。映像取得12aは、ステレオカメラ11を制御してカメラ画像を取得する処理であり、画像の取得頻度を示すフレームレートや取得する画像の解像度などのパラメータ13aが使用される。歪み補正12bは、映像取得12aで取得された画像からカメラ特有のレンズ歪みを取り除く処理であり、例えば焦点距離や歪み係数、画像中心といったパラメータ13bを使用し、Brownのレンズ歪みモデルにフィッティングして歪みを取り除くなどの一般的な方法がある。
Each processing block will be described. The
視差算出12cは、歪み補正12bでレンズ歪みを除去した2枚のカメラ画像を比較して相違度が最小となる一定の大きさの領域を小領域とし、その探索幅から視差を算出する。小領域の相違度を計算する方法としては、例えば、SAD(Sum of Absolute Difference)やSSD(Sum of Squared Difference)などの方法がある。視差算出12cで使用されるパラメータ13cとしては、小領域のサイズや探索幅の最大値(最大探索幅)などである。
The
3次元点群算出12dでは、ステレオカメラ11の設置位置や設置姿勢などのパラメータ13dを用いて、下記式(1)および式(2)をもとに、画像座標からカメラ座標Xc、世界座標Xwと順に変換することで、世界座標Xwの3次元点群座標を導出する。下記式(2)において、回転行列Rは、カメラの設置姿勢を示し、ステレオカメラ11のパン、チルト、およびロールの角度から算出できる。また、下記式(2)において、並進ベクトルXwは、ステレオカメラ11のカメラ高さなどの設置位置を示す。
In the three-dimensional
(u,v):画像座標、(u0,v0):画像中心、b:基線長、f:焦点距離、d:視差、pit:ピッチ
(u, v): image coordinates, (u 0 , v 0 ): image center, b: baseline length, f: focal length, d: parallax, pit: pitch
物体検出12eは、3次元点群算出12dで算出された3次元点群を解析して求めた形状や体積などが一定の基準値を満たす場合に物体として判断して検出する。物体検出12eにて使用されるパラメータ13eとしては、一定の基準値である検出閾値や3次元点群に対するノイズ除去などを実施する補正処理回数などがある。
The
なお、本実施例では、ステレオカメラ11の物体検出アルゴリズム12を5つの処理ブロックに分割したが、分割数が限定されるものではない。また、各処理ブロックの処理内容や使用するパラメータも図2に示すものに限定されるものではない。
Although the
<パラメータ寄与率算出部の構成>
図3は、パラメータ寄与率算出部の構成を示す機能ブロック図である。パラメータ寄与率算出部3は、パラメータ設定範囲決定部20と、計測精度変動量算出部21と、パラメータ寄与率テーブル作成部22とを有する。
<Configuration of Parameter Contribution Rate Calculation Unit>
FIG. 3 is a functional block diagram showing the configuration of the parameter contribution calculation unit. The parameter contribution
パラメータ設定範囲決定部20は、各処理ブロックにて使用されるパラメータ13a~13eを受け取り、各パラメータ13a~13eの寄与率を算出するパラメータ値の設定範囲を決定する。計測精度変動量算出部21は、パラメータ設定範囲決定部20で取得した設定範囲にてパラメータを変化させた際、物体検出実行部9から出力される物体検出の出力結果14に基づいて計測精度の変動量を算出する。パラメータ寄与率テーブル作成部22は、計測精度変動量算出部21で算出した計測制度の変動量からパラメータ寄与率を示すテーブルを作成する。
The parameter setting
以下、各機能について説明する。パラメータ設定範囲決定部20は、処理ブロック分解部2によって分解された各処理ブロックにて使用されるそれぞれのパラメータの初期値を入力とし、計測精度変動量算出部21にて使用するパラメータの設定範囲をパラメータごとに決定する。パラメータ設定範囲決定部20に入力される初期値としては、例えば、ユーザによる設定値あるいはシステム上での規定値や、所定のアルゴリズムでの自動推定値などがある。
Each function will be described below. The parameter setting
本実施例では、映像取得12a、視差算出12c、および物体検出12eで使用されるパラメータ13a、13c、13eの初期値として、ユーザによるシステム上での規定値を使用する。また、歪み補正12bおよび3次元点群算出12dで使用されるパラメータ13b、13dの初期値として、所定のアルゴリズムによる推定値を使用する。例えば、パラメータ13bの推定方法としては、Zhangのキャリブレーション手法などを利用し、パラメータ13dの推定方法としては、RANSACアルゴリズムにより検出した平面情報を用いた手法などを利用する方法がある。
In this embodiment, default values of the
また、パラメータ設定範囲決定部20に入力された初期値から設定範囲を決定する方法としては、初期値の前後の所定範囲内の値を最小値および最大値とする方法などがある。ここで、最小値および最大値を決定する方法は、ユーザが物体検出アルゴリズム12の詳細を把握しているいか否かに応じて、切り替えてもよい。例えば、ユーザが物体検出アルゴリズム12の詳細を把握している場合は、過去の経験などを踏まえて最小値および最大値を決定し、把握していない場合は、SDKの仕様情報などから設定可能なパラメータ値を調査し決定してもよい。あるいは、これら両者の方法を組み合わせてもよい。最小値および最大値を決定する方法は、特に限定されるものではない。
As a method of determining the setting range from the initial values input to the parameter setting
また、本実施例では、設定範囲に含まれるパラメータとして離散的な値を使用する。例えば、連続的なパラメータである場合には、設定範囲の最小値と最大値の間を所定数に分割して、離散的な値のパラメータを生成する。離散的なパラメータの場合は、取り得る全ての値をパラメータの設定範囲に含めるなどしてもよい。 Also, in this embodiment, discrete values are used as parameters included in the setting range. For example, in the case of a continuous parameter, the interval between the minimum value and the maximum value of the setting range is divided into a predetermined number to generate parameters with discrete values. In the case of discrete parameters, all possible values may be included in the parameter setting range.
計測精度変動量算出部21は、パラメータ設定範囲決定部20により入力された各パラメータの設定範囲内にてパラメータ値を変化させて、物体検出実行部9による計測精度の変動量を算出する。本実施例では、計測精度としては真値付け済みのテスト映像を入力した際の物体検出精度あるいは処理ブロック独自の評価指標を使用する。
The measurement accuracy
物体検出精度を算出する方法としては、検出対象が撮像されておりかつ全フレームに対して予め対象の領域が分かるような真値情報を保持したテスト映像を使用し、設定したパラメータ値で正しく対象を検出したフレーム数の全フレーム数に対する割合を百分率にて表した値を物体検出精度として算出できる。 As a method for calculating the accuracy of object detection, we used a test video in which the detection target was captured and which retained true value information so that the target area could be known in advance for all frames. The ratio of the number of frames in which the is detected to the total number of frames can be calculated as the object detection accuracy.
処理ブロック独自の評価指標は、視差算出12cの処理ブロックの場合は、例えば、視差が比較的算出されやすいランダムパターンなどをテスト映像として使用し、画像全体のピクセル数に対する視差算出により視差を求めることができない無効視差のピクセル総数の割合を百分率にて表した値としてもよい。
In the case of the processing block of the
また、歪み補正12bの処理ブロックの独自の評価指標は、例えば、床のタイルなど直線が多いテスト映像を使用し、テスト映像中の直線数に対する、歪み補正を実施後の画像に直線検出アルゴリズムを適用し検出された直線数の割合を百分率にて表した値としてもよい。
In addition, the original evaluation index of the processing block of the
また、計測精度の変動量は、例えば、パラメータpの設定範囲が0≦p≦9の10個の整数値である場合、p以外の全てのパラメータ値を初期値に固定し、p=0、p=1、…p=9とした場合のテスト映像における物体検出精度を計算し、図4に示すように物体検出精度の変動量を算出することで求められる。図4は、計測精度変動量算出部により算出された計測精度の変動量の一例を示す図である。図4では、p=2で計測精度が最大値を取る例を示している。 In addition, for example, when the setting range of the parameter p is 10 integer values of 0 ≤ p ≤ 9, the amount of variation in the measurement accuracy is determined by fixing all parameter values other than p to the initial value, p = 0, It can be obtained by calculating the object detection accuracy in the test video when p=1, . FIG. 4 is a diagram showing an example of variation in measurement accuracy calculated by the measurement accuracy variation calculation unit. FIG. 4 shows an example in which the measurement accuracy takes the maximum value when p=2.
なお、計測精度変動量算出部21により計測精度を算出する際に、ユーザが各処理ブロックの詳細なアルゴリズムを把握できるか否かに応じて、計測精度として、物体検出精度と処理ブロック独自の評価指標のどちらを使用するか切り替えてもよい。例えば、詳細なアルゴリズムが把握できる処理ブロックについては、処理ブロックの独自指標を評価するために適したテストデータをそれぞれ用意する。アルゴリズムを把握できない処理ブロックについては、物体検出精度と対応したテストデータを、アルゴリズムを把握できない処理ブロック間で共通に使用して、計測精度を算出してもよい。
Note that when calculating the measurement accuracy by the measurement accuracy
パラメータ寄与率テーブル作成部22は、計測精度変動量算出部21で算出した計測精度の変動量を使用し、処理ブロックごとのパラメータ寄与率テーブルT1を作成する。パラメータの処理ブロックへの寄与率とは、処理ブロックにおいて各パラメータの重要性を示す指標であり、計測精度変動量算出部21にて使用した計測精度が高い程、重要性が高いと判断する。
The parameter contribution rate
計測精度の変動量からパラメータ寄与率を算出する方法としては、例えば、パラメータを変動させた際の計測精度の最大値が大きい程パラメータの寄与率が高いと判定し、各パラメータの最大値を0から100の範囲に正規化した値を寄与率として使用する方法がある。または、例えば、計測精度の最小値、平均値、分散値のいずれかあるいはいずれかを組み合わせた独自の指標などを用いて正規化した値を寄与率として使用する方法などでもよい。パラメータ寄与率テーブル作成部22は、処理ブロックごとに算出した各パラメータ寄与率を、パラメータ寄与率テーブルT1に格納する。
As a method of calculating the parameter contribution rate from the variation amount of the measurement accuracy, for example, it is determined that the larger the maximum value of the measurement accuracy when the parameter is varied, the higher the contribution rate of the parameter, and the maximum value of each parameter is set to 0. There is a method of using a value normalized in the range from to 100 as the contribution rate. Alternatively, for example, a method of using a value normalized by using any one of the minimum value, the average value, and the variance value of the measurement accuracy, or a unique index combining any one of them, may be used as the contribution rate. The parameter contribution rate
図5は、パラメータ寄与率テーブルの一例を示す図である。図5に示すパラメータ寄与率テーブルT1は、所定の記憶部に格納されており、処理ブロックごとの寄与率テーブルT1a~T1eを含む。パラメータ寄与率テーブルT1は、映像取得12aにおける各パラメータ13aの寄与率を格納した寄与率テーブルT1a、歪み補正12bにおける各パラメータ13bの寄与率を格納した寄与率テーブルT1b、視差算出12cにおける各パラメータ13cの寄与率を格納した寄与率テーブルT1c、3次元点群算出12dにおける各パラメータ13dの寄与率を格納した寄与率テーブルT1d、および物体検出12eにおける各パラメータ13eの寄与率を格納した寄与率テーブルT1eを含む。
FIG. 5 is a diagram showing an example of a parameter contribution rate table. A parameter contribution rate table T1 shown in FIG. 5 is stored in a predetermined storage unit, and includes contribution rate tables T1a to T1e for each processing block. The parameter contribution rate table T1 includes a contribution rate table T1a storing the contribution rate of each
なお、本実施例では、図3に示したパラメータ寄与率算出部3の構成にてパラメータの寄与率を算出したが、処理ブロック内の各パラメータの計測精度への影響度を判定できる手段であれば、特に限定されるものではない。
In this embodiment, the parameter contribution rate is calculated by the configuration of the parameter contribution
<ユーザ要件>
図6を参照して、ユーザ要件201について説明する。図6は、ユーザ要件を説明するための図である。ユーザ要件201とは、ユーザが主目的を達成するために物体検出技術を実行するアプリケーションの一覧情報を含む。
<User requirements>
図6は、2次元マップ30で示されるステレオカメラ11の計測範囲30Aにおいて、ユーザの主目的に関連する設備31a、31bのぞれぞれの周辺に設定される計測エリア32a、32bごとに、ユーザが実行したいアプリケーションの一覧表33を例示している。ユーザ要件201は、2次元マップ30および一覧表33を含む。
FIG. 6 shows, in the
例えば、ユーザの主目的が計測範囲30Aの全体監視である場合は、計測エリアは2次元マップ30の全体であり、画像中において移動する人物を検出する動体検知などのアプリケーションの実行が必要となる。また、ユーザの主目的が計測範囲30Aの全体の人流解析である場合は、計測エリアは2次元マップ30の全体であり、人物軌跡推定などのアプリケーションの実行が必要となる。
For example, if the user's main purpose is to monitor the
また、ユーザの主目的が設備31aの利用率の把握である場合は、設備31aの周辺に計測エリア32aを設定し、計測エリア32a内の人数カウントや滞留時間計測などのアプリケーションを実行することで、設備31aの利用者数や利用時間を解析できる。また、ユーザの主目的が設備32bの利用者層の把握である場合は、設備31bの周辺に計測エリア32bを設定し、計測エリア32b内に存在する人物の数を計数するエリア内人数カウントや人の性別判定、人のキャリーバックの所持を検知するキャリーバック検知などのアプリケーションを実行することで、全体の人数に対する男女の比率やキャリーバック保持者の比率などを解析することができる。
If the main purpose of the user is to grasp the utilization rate of the
なお、図6のユーザ要件201は、あくまで一例を示すに過ぎず、これに限定されるものではない。また、ユーザ要件201を作成する方法としては、図6に示すように、ユーザが、GUIなどを用いて、計測エリアを2次元マップ30に設定し、計測範囲全体、あるいは設定した計測エリアごとに実行したいアプリケーションを一覧表33に登録して作成する方法がある。2次元マップ30および一覧表33は、所定の記憶部に格納される。しかし、ユーザが計測したい範囲および実行したいアプリケーションが把握できる情報および方法であれば、特に限定されない。また、主目的は、計測エリアと対応するアプリケーションが把握できる抽象度の情報である、あるいは計測エリアと対応するアプリケーションが把握できる情報に変換できる情報であればよく、特に限定されるものではない。
Note that the
<解析項目テーブルおよび組み合わせテーブル>
図7を用いてユーザ解析項目抽出部4の処理について説明する。図7は、解析項目テーブルおよび組み合わせテーブルの一例を示す図である。図7(a)は、処理ブロック分解部2によって分解された各処理ブロックから抽出する解析項目の一覧を示す解析項目一覧テーブル40の一例を示す。また、図7(b)は、アプリケーションと解析項目の組み合わせテーブル41の一例を示している。図7(a)によると、解析項目一覧テーブル40には、“物体検出”、“追跡”、“位置計測”、“行動認識”、“画像認識”、“形状把握”、および“サイズ計測”の解析項目がある。解析項目一覧テーブル40および組み合わせテーブル41は、所定の記憶部に格納される。
<Analysis item table and combination table>
Processing of the user analysis
ユーザ解析項目抽出部4は、ユーザ要件201の情報と予め作成した組み合わせテーブル41とから、ユーザが求めるアプリケーションを実現するために必要な解析項目を抽出する。解析項目は、アプリケーションを実行するにあたり、物体検出に加え、必要な情報を取得するための解析技術(アプリケーション)である。
The user analysis
例えば、組み合わせテーブル41において、「アプリケーション」“動体検知”は、物体検出結果のみで実現可能な機能であるため、「解析項目」が“なし”である。また、例えば、「アプリケーション」“滞留時間計測”は、物体検出の結果を利用するため、物体検出に加え、同一の人物が同じ位置に存在することを判定するために物体の“追跡”および“位置計測”の解析項目が必要となる。このように、ユーザ要件201におけるユーザの主目的から、物体検出の結果を利用するアプリケーションと、アプリケーションに対応する解析項目とが把握できる。
For example, in the combination table 41, "application" and "moving body detection" are functions that can be realized only with the result of object detection, so "analysis item" is "none". Also, for example, the "application" and "residence time measurement" use the result of object detection, so in addition to object detection, the object is "tracked" and " "Position measurement" analysis items are required. In this way, from the user's main purpose in the
例えば、図6の一覧表33に示すように、ユーザ要件201において、「主目的」が“計測エリア31aの利用率把握”の場合、実行が必要な「アプリケーション」は“エリア内人数カウント”および“滞留時間計測”となる。このため、ユーザ解析項目抽出部4は、組み合わせテーブル41を参照して、“エリア内人数カウント”および“滞留時間計測”のそれぞれの「アプリケーション」に対応する「解析項目」“位置計測”および“追跡”を抽出する。
For example, as shown in the
なお、「解析項目」は、図7(a)の解析項目一覧テーブル40に示す解析項目以外のものも使用してもよい。また、1つの解析項目を計測範囲とセンサとの位置関係や精度面などから複数に分割してもよい。例えば、物体検出では、一般的にカメラなどのセンサから対象までの距離が離れると対象の情報量が少なくなる、あるいは障害物が間に存在する確率が高くなり、検出精度が低下する。このため、「解析項目」“物体検出”を、“近傍の検出”および“遠方の検出”に分割する方法がある。また、安全やセキュリティ面などから、情報粒度が所定未満および所定以上の位置情報が必要となるケースがあるため、「解析項目」“位置計測”を“大まかな位置計測”および“高精度な位置計測”に分割する方法などがある。 As for the “analysis item”, items other than the analysis items shown in the analysis item list table 40 of FIG. 7A may also be used. Also, one analysis item may be divided into a plurality of items based on the positional relationship between the measurement range and the sensor, the accuracy, and the like. For example, in object detection, when the distance from a sensor such as a camera to an object increases, the amount of information about the object decreases, or the probability that an obstacle exists between them increases, resulting in a decrease in detection accuracy. Therefore, there is a method of dividing the "analysis item" and "object detection" into "near detection" and "distant detection". In addition, for safety and security reasons, there are cases where location information with information granularity less than or greater than a predetermined level is required. There is a method of dividing into "measurement".
<解析項目寄与率テーブル>
図8は、解析項目寄与率テーブルの一例を示す図である。図8は、解析項目寄与率算出部5によって、歪み補正12bと3次元点群算出12dの各処理ブロックに対する解析項目の寄与率を算出した一例である。各処理ブロックに対する解析項目の寄与率の算出方法としては、パラメータ寄与率算出部3の手法を踏襲し、解析実行部10から出力される解析結果から求めた処理ブロックごとの解析項目の精度の変動量を使用して寄与率を算出する方法などがある。なお、図8では、図7(a)に示す「解析項目」“物体検出”が、“近傍の検出”および“遠方の検出”に細分化されていることを前提とする。
<Analysis item contribution rate table>
FIG. 8 is a diagram showing an example of an analysis item contribution rate table. FIG. 8 is an example of calculation of the contribution rate of the analysis item for each processing block of the
以下、「解析項目」“追跡”の各処理ブロックに対する寄与率を算出する方法について説明する。 A method of calculating the contribution rate for each processing block of "analysis item" and "tracking" will be described below.
まず、“追跡”の技術を評価するための真値付け済みのテスト映像を生成する。次に、「解析項目」“追跡”の精度の変動量を求める対象の処理ブロック内のみパラメータを変化させ、物体検出および物体検出結果を用いた追跡を実施する。パラメータを変化させる方法としては、同一の処理ブロックにて使用されるパラメータの全ての組み合わせパターンを順番に使用する方法などがある。最後に、パラメータを変化させることによる追跡精度の変動量を算出する。追跡精度は、例えば同一人物をどの程度追跡できているかなどである。全処理ブロックの追跡精度の変動量と、各処理ブロックの追跡精度の変動量とを比較して、全処理ブロックの追跡精度の変動に対する各処理ブロックの追跡精度の寄与率を求めることができる。 First, a true-priced test video is generated to evaluate the "tracking" technique. Next, the parameters are changed only in the target processing block for obtaining the amount of variation in the accuracy of the "analysis item" and "tracking", and object detection and tracking using the object detection results are performed. As a method of changing parameters, there is a method of sequentially using all combination patterns of parameters used in the same processing block. Finally, the amount of change in tracking accuracy due to changes in parameters is calculated. The tracking accuracy is, for example, how much the same person can be tracked. By comparing the amount of variation in tracking accuracy of all processing blocks and the amount of variation in tracking accuracy of each processing block, the contribution rate of the tracking accuracy of each processing block to the variation in tracking accuracy of all processing blocks can be obtained.
なお、解析項目の精度の変動量を求める際に、処理ブロックにて使用されるパラメータの組み合わせパターンを作成するとき、全てのパラメータを使用するのではなくパラメータ設定範囲決定部20(図3参照)の情報を活用する方法などにより、組み合わせ数を削減してもよい。 It should be noted that when creating a combination pattern of parameters used in the processing block when determining the amount of variation in the accuracy of the analysis item, instead of using all the parameters, the parameter setting range determination unit 20 (see FIG. 3) The number of combinations may be reduced by a method of utilizing the information of
また、本実施例で述べた方法以外にも、解析項目の精度に対して各処理ブロックの影響度合いを算出可能な方法であれば、特に限定されるものではない。 In addition to the method described in this embodiment, any method can be used as long as it can calculate the degree of influence of each processing block on the accuracy of the analysis item.
以上、図8に示すように、歪み補正12bと3次元点群算出12dの各処理ブロックに対する解析項目の寄与率の算出方法を示したが、映像取得12a、視差算出12c、および物体検出12eの各処理ブロックに対する解析項目の寄与率も、同様に算出される。
As described above, as shown in FIG. 8, the method of calculating the contribution rate of the analysis item for each processing block of the
図8に示すように、ユーザ解析項目抽出部4は、上述のように算出した処理ブロックごとの各解析項目の寄与率を、解析項目寄与率テーブルT2に登録する。解析項目寄与率テーブルT2は、所定の記憶部に格納されており、処理ブロックごとの寄与率テーブルT2a~T2eを含む。解析項目寄与率テーブルT2は、映像取得12aにおける各解析項目の寄与率を格納した寄与率テーブルT2a(図示せず)、歪み補正12bにおける各解析項目の寄与率を格納した寄与率テーブルT2b、視差算出12cにおける各解析項目の寄与率を格納した寄与率テーブルT2c(図示せず)、3次元点群算出12dにおける各解析項目の寄与率を格納した寄与率テーブルT2d、および物体検出12eにおける各解析項目の寄与率を格納した寄与率テーブルT2e(図示せず)を含む。
As shown in FIG. 8, the user analysis
図1の説明に戻る。最適化処理ブロック決定部6は、ユーザ解析項目抽出部4と解析項目寄与率算出部5の出力情報を用いて、ユーザ要件201にて必要な解析項目の寄与率が最大である処理ブロックを最適化処理ブロックとして決定する。例えば、ユーザ要件201にて必要な解析項目が一つのみの場合は、該当の解析項目への寄与率が最も高い処理ブロックを選択する方法がある。
Returning to the description of FIG. The optimization processing
また、複数の解析項目が必要な場合は、それぞれの寄与率を掛け合わせた値が最大となる処理ブロックを選択する方法がある。例えば、図8において“近傍の検出”と“追跡”が必要な解析項目の場合、これらの解析項目に対応する寄与率を掛け合わせた値は、歪み補正12bでは20×20=400、3次元点群算出12dでは60×30=1800となる。よって、歪み補正12bよりも3次元点群算出12dの処理ブロックが選択される。なお、最適化処理ブロック決定部6にて決定される処理ブロックは1つに限定されず、複数の処理ブロックにおいて解析項目の寄与率が同値かつ最大である場合は全ての処理ブロックを最適化の対象として判定してもよい。
Also, when a plurality of analysis items are required, there is a method of selecting a processing block that maximizes the value obtained by multiplying each contribution rate. For example, in the case of analysis items that require "neighborhood detection" and "tracking" in FIG. In the
パラメータ選定部7は、最適化の対象となった処理ブロックにおいて、パラメータ寄与率算出部3によって算出されたパラメータ寄与率が最も高いパラメータを最適化対象のパラメータとして選定する。なお、選定されるパラメータは1つに限定されず、例えば予めパラメータ寄与率の閾値を設定しておき、閾値よりもパラメータ寄与率が高いパラメータを全て最適化対象とする方法を採用してもよい。
The
また、最適化処理ブロック決定部6にて複数の処理ブロックが出力された場合は、処理ブロックの解析項目の寄与率と処理ブロック内のパラメータ寄与率を掛け合わせ、予め設定した閾値より高い値を示すパラメータを最適化対象とする方法を用いてもよい。
Further, when a plurality of processing blocks are output by the optimization processing
例えば、最適化処理ブロック決定部6にて出力された処理ブロックが、図5および図8にテーブルを示す歪み補正12bおよび3次元点群算出12dであり、ユーザ要件201から抽出された「解析項目」が“追跡”の場合を説明する。歪み補正12bの“追跡”に対する解析項目の寄与率“20”を、歪み補正12bの各パラメータ寄与率に掛け合わせると、“焦点距離”が20×60=1200、“歪み係数”が20×30=600、“画像中心”が20×10=200となる。3次元点群算出12dについても同様に計算すると、“カメラ高さ”が30×60=1800、“チルト角”が30×30=900、“ロール角”が30×10=300、“スケール”が30×20=600となる。そのため、予め設定した閾値が1000の場合、歪み補正12bの“焦点距離”と3次元点群算出12dの“カメラ高さ”が最適化対象のパラメータと決定される。
For example, the processing blocks output by the optimization processing
<実施例1の物体検出処理>
図9は、実施例1の物体検出処理を示すフローチャートである。実施例1の物体検出処理は、物体検出装置1により、ユーザ指示の所定タイミングで実行される。
<Object Detection Processing of
FIG. 9 is a flowchart illustrating object detection processing according to the first embodiment. The object detection process of the first embodiment is executed by the
図9に示すように、先ず、ステップS11では、処理ブロック分解部2は、センサ情報200に含まれるセンサ独自の計測アルゴリズムを複数の処理ブロックに分解する。
As shown in FIG. 9, first, in step S11, the processing
続いて、物体検出装置1は、ステップS12~S14のループ処理を、テップS11で分解して得られた全ての処理ブロックについて繰り返す。すなわち、ステップS12では、物体検出装置1は、ステップS11で得られた1つの処理ブロックを選択する。次に、ステップS13では、パラメータ寄与率算出部3は、ステップS12で選択された1つの処理ブロックについて、物体検出アルゴリズム12に対する各パラメータの寄与率を算出する。次に、ステップS14では、解析項目寄与率算出部5は、ステップS12で選択された1つの処理ブロックについて、物体検出アルゴリズム12に対する各解析項目の寄与率を算出する。
Subsequently, the
ステップS14が終了すると、物体検出装置1は、ステップS12において、ステップS11で得られた処理ブロックのうちの未選択の処理ブロックを選択し、この選択した処理ブロックについてステップS13およびステップS14の処理を実行する。なお、ステップS14が終了し、ステップS11で得られた処理ブロックのうちに未選択の処理ブロックが存在しなくなった場合、物体検出装置1は、ステップS15に処理を移す。
When step S14 ends, the
ステップS15では、最適化処理ブロック決定部6は、ユーザ解析項目抽出部4によりユーザ要件201から抽出された解析項目と、ステップS14で解析項目寄与率算出部5により算出された各解析項目の寄与率を用いて、ユーザ要件201にて必要な解析項目の寄与率が最大である処理ブロックを、最適化を実行する最適化処理ブロックとして決定する。
In step S15, the optimization processing
続いて、ステップS16では、パラメータ選定部7は、ステップS15で最適化処理ブロック決定部6により最適化処理を実施すると決定された処理ブロックに対する寄与率が高いパラメータを最適化対象のパラメータとして選定する。
Subsequently, in step S16, the
続いて、ステップS17では、パラメータ調整部8は、物体検出精度や解析項目に対応する解析精度が向上するように、ステップS16で選定されたパラメータを調整する。
Subsequently, in step S17, the
続いて、ステップS18では、物体検出実行部9は、ステップS17で調整したパラメータを用いて物体検出を実行する。続いて、ステップS19では、解析実行部10は、ステップS17で調整したパラメータを用いて、ステップS18での物体検出実行部9による物体検出の結果を使用してユーザ要件201に応じたアプリケーションを実行する。ステップS19が終了すると、物体検出装置1は、実施例1の物体検出処理を終了する。
Subsequently, in step S18, the object
上述の実施例1によれば、計測範囲から物体を検出する物体検出装置1において、計測装置独自のアルゴリズムを分割した各処理ブロックに対する解析項目の寄与率とパラメータの寄与率を算出し、調整対象となるパラメータをユーザ要件201ごとに選定する。すなわち、ユーザ要件201を充足するアプリケーションを実行する際に、このアプリケーションを実現するために必要な解析項目の寄与率が高い処理ブロックを選択し、選択した処理ブロックに対する寄与率が高いパラメータを選択することで、計測目的ごとのユーザ要件の達成に適した調整対象のパラメータを適切に選定できる。
According to the above-described first embodiment, in the
実施例1では、図1に示すように、各機能を一体的な物体検出装置1にて実現する構成を示した。しかし、これに限られず、図10に示すように、実施例2の物体検出装置1Bは、物体検出実行部9および解析実行部10のみを有するとしてもよい。別装置であるパラメータ選定装置50Bが、処理ブロック分解部2と、パラメータ寄与率算出部3と、ユーザ解析項目抽出部4と、解析項目寄与率算出部5と、最適化処理ブロック決定部6と、パラメータ選定部7と、パラメータ調整部8とを有する。そして、物体検出装置1Bは、パラメータ選定装置50Bにより選定および調整されたパラメータを用いて物体検出および解析を実行し、物体検出結果情報202と解析結果情報203を出力する形態であってもよい。
In Example 1, as shown in FIG. 1, the structure which implement|achieves each function by the integrated
さらに、実施例3では、図11に示すように、別装置が処理ブロック分解部2と、パラメータ寄与率算出部3と、解析項目寄与率算出部5とを有し、この別装置にて予めこれらの処理機能を実施して各処理ブロックに対する解析項目寄与率情報204とパラメータ寄与率情報205とを取得しておく。現地では、ユーザ解析項目抽出部4と、最適化処理ブロック決定部6と、パラメータ選定部7とを有するパラメータ選定装置50Cにて、ユーザ要件201とパラメータ寄与率情報205と解析項目寄与率情報204と入力として、調整対象となるパラメータをユーザ要件201ごとに高速に選定することができる。実施例2の物体検出装置1Bと同様の物体検出装置は、パラメータ選定装置50Cにて選定(あるいは選定および調整)されたパラメータを用いて物体検出および解析を実行し、物体検出結果情報と解析結果情報とを出力する。
Furthermore, in the third embodiment, as shown in FIG. 11, another device has a processing
また、上述した実施例1~3において、処理コストを考慮して一連の機能を実行してもよく、この実施例を実施例4として説明する。例えば、図10に示す実施例2のパラメータ選定装置50Bおよび物体検出装置1Bを含む形態に対して処理コストを考慮した場合の構成を図12に示す。
Further, in the first to third embodiments described above, a series of functions may be executed in consideration of the processing cost, and this embodiment will be described as the fourth embodiment. For example, FIG. 12 shows a configuration including the
図12において、許容処理コスト取得部51は、ユーザ要件201や物体検出装置1Dのスペック情報207から、物体検出やその後段の解析アプリケーションにて許容される処理コストを取得する。パラメータ選定装置制御部52は、物体検出実行部9や解析実行部10を実施した際の処理コスト情報206と、許容処理コスト取得部51によって取得された許容処理コストの情報から、パラメータ選定装置50Bの各機能が制御される。
In FIG. 12, the permissible processing cost acquisition unit 51 acquires the permissible processing cost for object detection and subsequent analysis application from the
許容処理コスト取得部51の入力例としては、現地にて許容される調整コスト量や物体検出装置1Dにて実行されるアプリケーションをリアルタイムまたはオフラインのどちららで処理するかといったユーザ要件201や、物体検出装置1Dにおいて物体検出やその他のアプリケーションが実行されるハードのCPUやメモリのスペック情報207などがあり、処理コストの単位としては処理フレームレート(ms)などが挙げられる。
Examples of inputs to the permissible processing cost acquisition unit 51 include
また、パラメータ選定装置制御部52の制御方法としては、パラメータ寄与率算出部3にてパラメータ寄与率を導出する際のパラメータの変化による計測精度の変動量に加えて、処理コストの変動量も算出しておき、パラメータ寄与率に反映させる方法がある。あるいは、最適化処理ブロック決定部6にて決定される最適化対象となる処理ブロック数や、パラメータ選定部7にて選定されるパラメータ数などの処理コストを踏まえてパラメータを変化させるという方法などがあり、特に限定されるものではない。
In addition, as a control method of the parameter selection
パラメータ選定の際に、物体検出やその後段の解析アプリケーションにて許容される処理コストが考慮されたパラメータが選定されることで、物理資源や性能に応じて物体検出装置1Dでの処理を効率化できる。
When selecting parameters, by selecting parameters that take into account the processing costs allowed for object detection and subsequent analysis applications, the efficiency of processing in the
<変形例>
また、図1、図10、および図12に示すパラメータ調整部8を、パラメータを自動で最適化する機能に変更することで、現地でのパラメータ調整なしに、ユーザ要件201を達成可能なステレオカメラ11のパラメータを推定することが可能となる。大量のセンサ(ステレオカメラ11など)の設置が必要となるシステムなどでは、大幅にシステムコストを削減することができる。
<Modification>
Further, by changing the
上述のように、実施例1~4では、ステレオカメラの物体検出技術に関連するパラメータの選定方法について説明したが、物体検出を実施するセンサであれば限定されるものではない。さらに、実施例1~4では、最終的な物体検出精度を指標として各処理ブロックへのパラメータ寄与率や解析項目寄与率を算出できるため、例えばセンサ独自の物体検出アルゴリズムが不明な場合においても、SDKの情報や設定可能なパラメータ仕様などが把握できるセンサであれば調整対象となるパラメータをユーザ要件ごとに選定できる。このため、多種多様なセンサを用いた物体検出装置に適応させることが可能であり、システム全体の汎用性を向上できる。 As described above, in Examples 1 to 4, the method of selecting parameters related to the stereo camera object detection technique has been described, but the sensor is not limited as long as it performs object detection. Furthermore, in Examples 1 to 4, the parameter contribution rate and analysis item contribution rate to each processing block can be calculated using the final object detection accuracy as an index. If the sensor is capable of grasping SDK information and configurable parameter specifications, parameters to be adjusted can be selected for each user requirement. Therefore, it can be adapted to object detection devices using various sensors, and the versatility of the entire system can be improved.
また、実施例1~4では、センサの物体検出技術に関連するアプリケーションに関するパラメータの選定方法について説明したが、本発明の技術思想の適用対象は、物体検出技術に限定されるものではない。例えば、物体追跡技術に関連するアプリケーションをユーザ要件とした場合においても、ユーザ要件ごとに物体追跡技術において調整対象となるパラメータを選定できる。 Further, in the first to fourth embodiments, the method of selecting parameters related to applications related to sensor object detection technology has been described, but the technical idea of the present invention is not limited to object detection technology. For example, even if user requirements are applications related to object tracking technology, parameters to be adjusted in object tracking technology can be selected for each user requirement.
図13は、実施例1~4の物体検出装置およびパラメータ選定装置を実現するコンピュータの構成を示すハードウェア図である。実施例1~4の物体検出装置およびパラメータ選定装置を実現するコンピュータ5000は、CPU(Central Processing Unit)に代表される演算装置5300、RAM(Random Access Memory)などのメモリ5400、入力装置5600(例えばキーボード、マウス、タッチパネルなど)、および出力装置5700(例えば外部ディスプレイモニタに接続されたビデオグラフィックカード)が、メモリコントローラ5500を通して相互接続される。コンピュータ5000において、実施例1~4の物体検出装置もしくはパラメータ選定装置を実現するためのプログラムがI/O(Input/Output)コントローラ5200を介してSSDやHDDなどの外部記憶装置5800から読み出されて、CPU5300およびメモリ5400の協働により実行されることにより、実施例1~4の物体検出装置およびパラメータ選定装置のそれぞれが実現される。あるいは、実施例1~4の物体検出装置およびパラメータ選定装置を実現するためのプログラムは、ネットワークインターフェース5100を介した通信により外部のコンピュータから取得されてもよい。
FIG. 13 is a hardware diagram showing the configuration of a computer that realizes the object detection device and parameter selection device of Examples 1-4. A
なお、本発明は上記した実施例に限定されるものではなく、様々な変形例を含む。例えば、上記した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えることが可能であり、また、ある実施例の構成に他の実施例の構成を加えることも可能である。また、各実施例の構成の一部について、他の構成の追加、削除、置換、統合、分散をすることが可能である。また実施例で示した各処理は、処理効率又は実装効率に基づいて適宜分散または統合してもよい。 In addition, the present invention is not limited to the above-described embodiments, and includes various modifications. For example, the above-described embodiments have been described in detail in order to explain the present invention in an easy-to-understand manner, and are not necessarily limited to those having all the described configurations. In addition, it is possible to replace part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. Moreover, it is possible to add, delete, replace, integrate, and distribute other configurations for a part of the configuration of each embodiment. Also, each process shown in the embodiment may be appropriately distributed or integrated based on processing efficiency or implementation efficiency.
1,1B,1D:物体検出装置、2:処理ブロック分解部、3:パラメータ寄与率算出部、4:ユーザ解析項目抽出部、5:解析項目寄与率算出部、6:最適化処理ブロック決定部、7:パラメータ選定部、8:パラメータ調整部、9:物体検出実行部、10:解析実行部、11:ステレオカメラ、12:物体検出アルゴリズム、12a:映像取得、12b:歪み補正、12c:視差算出、12d:視差算出、12c,12d:3次元点群算出、12e:物体検出、13a~13e:パラメータ、T1:パラメータ寄与率テーブル、T1a~T1e:寄与率テーブル、14:出力結果、20:パラメータ設定範囲決定部、21:計測精度変動量算出部、22:パラメータ寄与率テーブル作成部、30:2次元マップ、30A:計測範囲、31a,31b:設備、32a,32b:計測エリア、33:一覧表、40:解析項目一覧テーブル、41:組み合わせテーブル、50,50B,50C:パラメータ選定装置、51:許容処理コスト取得部、52:パラメータ選定装置制御部、200:センサ情報、201:ユーザ要件、202:物体検出結果情報、203:解析結果情報、204:解析項目寄与率情報、205:パラメータ寄与率情報、206:処理コスト情報、207:スペック情報、5000:コンピュータ、5100:ネットワークインターフェース、5200:コントローラ、5300:CPU、5400:メモリ、5500:メモリコントローラ、5600:入力装置、5700:出力装置、5800:外部記憶装置 1, 1B, 1D: object detection device, 2: processing block decomposition unit, 3: parameter contribution calculation unit, 4: user analysis item extraction unit, 5: analysis item contribution calculation unit, 6: optimization processing block determination unit , 7: parameter selection unit, 8: parameter adjustment unit, 9: object detection execution unit, 10: analysis execution unit, 11: stereo camera, 12: object detection algorithm, 12a: image acquisition, 12b: distortion correction, 12c: parallax Calculation, 12d: parallax calculation, 12c, 12d: 3D point cloud calculation, 12e: object detection, 13a-13e: parameters, T1: parameter contribution rate table, T1a-T1e: contribution rate table, 14: output result, 20: Parameter setting range determination unit 21: Measurement accuracy variation calculation unit 22: Parameter contribution rate table creation unit 30: Two-dimensional map 30A: Measurement range 31a, 31b: Equipment 32a, 32b: Measurement area 33: List 40: Analysis item list table 41: Combination table 50, 50B, 50C: Parameter selection device 51: Allowable processing cost acquisition unit 52: Parameter selection device control unit 200: Sensor information 201: User requirements 202: object detection result information; 203: analysis result information; 204: analysis item contribution rate information; 205: parameter contribution rate information; 206: processing cost information; : controller, 5300: CPU, 5400: memory, 5500: memory controller, 5600: input device, 5700: output device, 5800: external storage device
Claims (15)
ユーザ要件を達成するための解析項目が、前記物体検出装置によって検出された前記物体の計測精度に与える第2の影響度を算出する解析項目影響度算出部と、
前記第1の影響度および前記第2の影響度に基づいて、調整対象とする前記パラメータを選定するパラメータ選定部と
を有することを特徴とするパラメータ選定装置。 A parameter used in an algorithm used by an object detection device to detect an object within a measurement range of the measurement device is a parameter for calculating a first degree of influence on the detection accuracy of detecting the object using the algorithm. an impact calculation unit;
an analysis item impact calculation unit that calculates a second impact that an analysis item for achieving a user requirement has on the measurement accuracy of the object detected by the object detection device;
A parameter selection device, comprising: a parameter selection unit that selects the parameter to be adjusted based on the first degree of influence and the second degree of influence.
をさらに有することを特徴とする請求項1に記載のパラメータ選定装置。 2. The parameter selection device according to claim 1, further comprising a processing block decomposition unit that decomposes the algorithm into a plurality of processing blocks.
前記アルゴリズムの仕様情報または前記物体検出装置に関連する仕様情報をもとに、前記アルゴリズムを分割する
ことを特徴とする請求項2に記載のパラメータ選定装置。 The processing block decomposing unit,
The parameter selection device according to claim 2, wherein the algorithm is divided based on specification information of the algorithm or specification information related to the object detection device.
前記複数の処理ブロックのそれぞれで用いられるパラメータごとに、前記アルゴリズムあるいは各前記処理ブロックに対する前記第1の影響度を算出する
ことを特徴とする請求項2に記載のパラメータ選定装置。 The parameter influence degree calculation unit
3. The parameter selection device according to claim 2, wherein the first degree of influence on the algorithm or each processing block is calculated for each parameter used in each of the plurality of processing blocks.
前記解析項目ごとに、前記アルゴリズムあるいは各前記処理ブロックに対する前記第2の影響度を算出する
ことを特徴とする請求項4に記載のパラメータ選定装置。 The analysis item impact degree calculation unit
5. The parameter selection device according to claim 4, wherein the second degree of influence on the algorithm or each processing block is calculated for each analysis item.
ことを特徴とする請求項5に記載のパラメータ選定装置。 The first influence degree and the second influence degree are calculated using the detection accuracy of the algorithm or the amount of variation in the output result of the processing block when the parameter is changed. 5. The parameter selection device according to 5.
をさらに有し、
前記パラメータ選定部は、
前記最適化処理ブロック決定部によって最適化処理ブロックと決定された処理ブロックに対する前記第1の影響度が第1の所定条件を満たすパラメータを最適化対象のパラメータとして選定する
ことを特徴とする請求項5に記載のパラメータ選定装置。 an optimization processing block determination unit that determines a processing block for which the second degree of influence satisfies a second predetermined condition as an optimization processing block;
The parameter selection unit
A parameter that satisfies a first predetermined condition for the first degree of influence on a processing block determined to be an optimization processing block by the optimization processing block determination unit is selected as a parameter to be optimized. 5. The parameter selection device according to 5.
をさらに有することを特徴とする請求項1に記載のパラメータ選定装置。 2. The parameter selection device according to claim 1, further comprising a parameter adjustment unit that adjusts the parameter selected by the parameter selection unit so that the detection accuracy or the analysis accuracy is equal to or higher than a predetermined accuracy.
前記パラメータ調整部は、
前記物体検出装置が前記物体を検出する際に、前記解析項目の情報と、事前算出しておいた前記第1の影響度および前記第2の影響度とに基づいて、前記パラメータを調整する
ことを特徴とする請求項8に記載のパラメータ選定装置。 The first degree of influence and the second degree of influence are calculated in advance,
The parameter adjustment unit
When the object detection device detects the object, the parameter is adjusted based on the information of the analysis item and the pre-calculated first degree of influence and the second degree of influence. The parameter selection device according to claim 8, characterized by:
ことを特徴とする請求項1に記載のパラメータ選定装置。 The parameter selection device according to claim 1, wherein the parameter selection unit selects the parameter based on a processing cost of the object detection device.
をさらに有することを特徴とする請求項1に記載のパラメータ選定装置。 2. The parameter selection device according to claim 1, further comprising a user analysis item extraction unit that extracts the analysis item from the user's measurement purpose.
ことを特徴とする請求項11に記載のパラメータ選定装置。 12. The parameter selection device according to claim 11, wherein the analysis item corresponds to an application that uses object detection results by the algorithm.
ことを特徴とする請求項1に記載のパラメータ選定装置。 The parameter selection device according to claim 1, wherein the measurement device is one of a monocular camera, a stereo camera, a TOF sensor, and a laser radar.
計測装置の計測範囲内における物体を物体検出装置が検出する際に使用するアルゴリズムで用いられるパラメータが、前記アルゴリズムを使用して前記物体を検出する検出精度に与える第1の影響度を算出するパラメータ影響度算出ステップと、
ユーザ要件を達成するための解析項目が、前記物体検出装置によって検出された前記物体の計測精度に与える第2の影響度を算出する解析項目影響度算出ステップと、
前記第1の影響度および前記第2の影響度に基づいて、調整対象とする前記パラメータを選定するパラメータ選定ステップと
を含んだことを特徴とするパラメータ選定方法。 A parameter selection method executed by a parameter selection device,
A parameter used in an algorithm used by an object detection device to detect an object within a measurement range of the measurement device is a parameter for calculating a first degree of influence on the detection accuracy of detecting the object using the algorithm. an impact calculation step;
an analysis item impact calculation step of calculating a second impact of an analysis item for achieving a user requirement on the measurement accuracy of the object detected by the object detection device;
and a parameter selection step of selecting the parameter to be adjusted based on the first degree of influence and the second degree of influence.
計測装置の計測範囲内における物体を物体検出装置が検出する際に使用するアルゴリズムで用いられるパラメータが、前記アルゴリズムを使用して前記物体を検出する検出精度に与える第1の影響度を算出するパラメータ影響度算出部と、
ユーザ要件を達成するための解析項目が、前記物体検出装置によって検出された前記物体の計測精度に与える第2の影響度を算出する解析項目影響度算出部と、
前記第1の影響度および前記第2の影響度に基づいて、調整対象とする前記パラメータを選定するパラメータ選定部と
を有するパラメータ選定装置として機能させるためのパラメータ選定プログラム。 the computer,
A parameter used in an algorithm used by an object detection device to detect an object within a measurement range of the measurement device is a parameter for calculating a first degree of influence on the detection accuracy of detecting the object using the algorithm. an impact calculation unit;
an analysis item impact calculation unit that calculates a second impact that an analysis item for achieving a user requirement has on the measurement accuracy of the object detected by the object detection device;
A parameter selection program for functioning as a parameter selection device, comprising: a parameter selection unit that selects the parameter to be adjusted based on the first degree of influence and the second degree of influence.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019005448A JP7199974B2 (en) | 2019-01-16 | 2019-01-16 | Parameter selection device, parameter selection method, and parameter selection program |
CN201980081428.4A CN113168696B (en) | 2019-01-16 | 2019-12-05 | Parameter selection device, parameter selection method, and parameter selection program |
PCT/JP2019/047666 WO2020149044A1 (en) | 2019-01-16 | 2019-12-05 | Parameter selection device, parameter selection method, and parameter selection program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019005448A JP7199974B2 (en) | 2019-01-16 | 2019-01-16 | Parameter selection device, parameter selection method, and parameter selection program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020113202A JP2020113202A (en) | 2020-07-27 |
JP7199974B2 true JP7199974B2 (en) | 2023-01-06 |
Family
ID=71613780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019005448A Active JP7199974B2 (en) | 2019-01-16 | 2019-01-16 | Parameter selection device, parameter selection method, and parameter selection program |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP7199974B2 (en) |
CN (1) | CN113168696B (en) |
WO (1) | WO2020149044A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022096096A (en) * | 2020-12-17 | 2022-06-29 | 株式会社ティーアンドエス | Video distribution method and program for the same |
CN112634270B (en) * | 2021-03-09 | 2021-06-04 | 深圳华龙讯达信息技术股份有限公司 | Imaging detection system and method based on industrial internet |
JP2024177875A (en) * | 2023-06-12 | 2024-12-24 | 川崎重工業株式会社 | Information processing method, information processing device, and program |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005217615A (en) | 2004-01-28 | 2005-08-11 | Fuji Xerox Co Ltd | Image forming apparatus and image forming method |
JP2008089574A (en) | 2006-09-05 | 2008-04-17 | Dainippon Screen Mfg Co Ltd | Image processor, data processor, parameter adjustment method, and program |
JP2016015116A (en) | 2014-06-12 | 2016-01-28 | パナソニックIpマネジメント株式会社 | Image recognition method and camera system |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006163614A (en) * | 2004-12-03 | 2006-06-22 | Matsushita Electric Ind Co Ltd | Image processing device and method |
JP5006263B2 (en) * | 2008-06-03 | 2012-08-22 | 株式会社リコー | Image processing apparatus, program, and image processing method |
JP5812598B2 (en) * | 2010-12-06 | 2015-11-17 | 富士通テン株式会社 | Object detection device |
CN102194129B (en) * | 2011-05-13 | 2012-11-14 | 南京大学 | Vehicle-type-clustering-based video detection method for traffic flow parameters |
JP6214226B2 (en) * | 2013-06-06 | 2017-10-18 | キヤノン株式会社 | Image processing apparatus, tomography apparatus, image processing method and program |
CN104050661B (en) * | 2014-05-29 | 2016-08-31 | 华中科技大学 | The method of real-time adjustment of Surface scan three-dimension measuring system precision |
JP6188860B1 (en) * | 2016-04-13 | 2017-08-30 | 三菱電機株式会社 | Object detection device |
JP6772588B2 (en) * | 2016-06-29 | 2020-10-21 | 日産自動車株式会社 | Object tracking method and object tracking device |
-
2019
- 2019-01-16 JP JP2019005448A patent/JP7199974B2/en active Active
- 2019-12-05 WO PCT/JP2019/047666 patent/WO2020149044A1/en active Application Filing
- 2019-12-05 CN CN201980081428.4A patent/CN113168696B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005217615A (en) | 2004-01-28 | 2005-08-11 | Fuji Xerox Co Ltd | Image forming apparatus and image forming method |
JP2008089574A (en) | 2006-09-05 | 2008-04-17 | Dainippon Screen Mfg Co Ltd | Image processor, data processor, parameter adjustment method, and program |
JP2016015116A (en) | 2014-06-12 | 2016-01-28 | パナソニックIpマネジメント株式会社 | Image recognition method and camera system |
Also Published As
Publication number | Publication date |
---|---|
JP2020113202A (en) | 2020-07-27 |
CN113168696A (en) | 2021-07-23 |
CN113168696B (en) | 2024-10-18 |
WO2020149044A1 (en) | 2020-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9524562B2 (en) | Object tracking method and device | |
KR101837407B1 (en) | Apparatus and method for image-based target tracking | |
JP4215781B2 (en) | Abnormal operation detection device and abnormal operation detection method | |
KR100519781B1 (en) | Object tracking method and apparatus | |
JP6186834B2 (en) | Target tracking device and target tracking program | |
JP7199974B2 (en) | Parameter selection device, parameter selection method, and parameter selection program | |
EP2352128B1 (en) | Mobile body detection method and mobile body detection apparatus | |
US10255673B2 (en) | Apparatus and method for detecting object in image, and apparatus and method for computer-aided diagnosis | |
US20160259898A1 (en) | Apparatus and method for providing reliability for computer aided diagnosis | |
KR20170024303A (en) | System and method for detecting feature points of face | |
JP2018120283A (en) | Information processing device, information processing method and program | |
AU2014216000A1 (en) | A non-uniform curve sampling method for object tracking | |
JP2020170252A (en) | Image processing device, image processing method, and program | |
CN103475800A (en) | Method and device for detecting foreground in image sequence | |
CN108519631B (en) | Precipitation intensity prediction method | |
JP5976126B2 (en) | System and method for estimating target size | |
JP2012181710A (en) | Object tracking device, method and program | |
JP5177030B2 (en) | Target tracking device | |
CN112164093A (en) | An automatic character tracking method based on edge features and correlation filtering | |
CN114155278A (en) | Target tracking and related model training method, related device, equipment and medium | |
CN107665495B (en) | Object tracking method and object tracking device | |
US11475233B2 (en) | Image processing device and image processing method | |
KR20100013855A (en) | Method for tracking moving object on multiple cameras using probabilistic camera hand-off | |
CN117999498A (en) | Automatic cross sensor calibration using object detection | |
US20220398772A1 (en) | Object and feature detection in images |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20211015 |
|
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: 20221122 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20221221 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7199974 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |