JP2019186858A - Selection device, selection method, and selection program - Google Patents
Selection device, selection method, and selection program Download PDFInfo
- Publication number
- JP2019186858A JP2019186858A JP2018078646A JP2018078646A JP2019186858A JP 2019186858 A JP2019186858 A JP 2019186858A JP 2018078646 A JP2018078646 A JP 2018078646A JP 2018078646 A JP2018078646 A JP 2018078646A JP 2019186858 A JP2019186858 A JP 2019186858A
- Authority
- JP
- Japan
- Prior art keywords
- imaging device
- image
- area
- indicating
- confidence value
- 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
Links
Images
Landscapes
- Studio Devices (AREA)
- Image Analysis (AREA)
Abstract
【課題】オブジェクトを精度良く検出することができる画像を撮像する撮像装置を選択する。【解決手段】選択装置2は、所定エリアにおける所定の位置にオブジェクトを模した三次元モデルを仮想的に配置した場合における、第1撮像装置が撮像する第1画像に含まれる当該三次元モデルを示す画像の領域を示す第1領域と、第2撮像装置が撮像した第2画像に含まれる当該三次元モデルを示す画像の領域を示す第2領域とを特定する領域特定部221と、第1領域に基づいてオブジェクトの検出を行う場合の信頼性を示す第1信頼値と、第2領域に基づいてオブジェクトの検出を行う場合の信頼性の値を示す第2信頼値とを特定する信頼値特定部222と、第1信頼値と第2信頼値との比率に基づいて、第1撮像装置及び第2撮像装置のうち、所定の位置におけるオブジェクトの検出に使用する撮像装置を選択する選択部223と、を備える。【選択図】図3An image pickup apparatus that picks up an image capable of accurately detecting an object is selected. A selection device (2) is configured to, when a three-dimensional model imitating an object is virtually arranged at a predetermined position in a predetermined area, include a three-dimensional model included in a first image captured by a first imaging device. An area specifying unit 221 that specifies a first area indicating an area of the image to be displayed, a second area indicating an area of the image indicating the three-dimensional model included in the second image captured by the second imaging device, A confidence value that specifies a first confidence value that indicates reliability when an object is detected based on a region and a second confidence value that indicates a reliability value when an object is detected based on a second region. A specifying unit 222, and a selecting unit that selects an imaging device to be used for detecting an object at a predetermined position from the first imaging device and the second imaging device based on a ratio between the first reliability value and the second reliability value. 223 and Equipped with a. [Selection diagram] FIG.
Description
本発明は、オブジェクトの検出に用いる画像を生成する撮像装置を選択することができる選択装置、選択方法及び選択プログラムに関する。 The present invention relates to a selection device, a selection method, and a selection program that can select an imaging device that generates an image used for object detection.
従来、所定エリアにおけるオブジェクトの移動軌跡を示す動線を生成するにあたり、複数の撮像装置から取得した複数の画像に基づいて、オブジェクトを検出することが行われている(例えば、特許文献1参照)。 Conventionally, when generating a flow line indicating a movement trajectory of an object in a predetermined area, an object is detected based on a plurality of images acquired from a plurality of imaging devices (see, for example, Patent Document 1). .
複数の撮像装置の撮像範囲が重複するように設置されている場合、1つのオブジェクトが複数の撮像装置が撮像した画像に重複して映ることがある。当該オブジェクトを精度良く検出するにあたり、複数の撮像装置のうち、当該オブジェクトを精度良く検出することができる画像を撮像する撮像装置を選択できるようにすることが好ましい。 When the imaging ranges of a plurality of imaging devices are installed so as to overlap, one object may be reflected in an image captured by the plurality of imaging devices. In detecting the object with high accuracy, it is preferable to select an imaging device that picks up an image capable of detecting the object with high accuracy from among a plurality of imaging devices.
そこで、本発明はこれらの点に鑑みてなされたものであり、オブジェクトを精度良く検出することができる画像を撮像する撮像装置を選択することができる選択装置、選択方法及び選択プログラムを提供することを目的とする。 Therefore, the present invention has been made in view of these points, and provides a selection device, a selection method, and a selection program that can select an imaging device that captures an image that can accurately detect an object. With the goal.
本発明の第1の態様に係る選択装置は、所定エリアを示す三次元空間における所定の位置に、前記所定エリアにおいて検出する対象となるオブジェクトを模した三次元モデルを仮想的に配置した場合における、前記所定エリアを撮像する第1撮像装置が撮像する第1画像に含まれる当該三次元モデルを示す画像の領域を示す第1領域と、前記所定エリアを撮像する第2撮像装置が撮像した第2画像に含まれる当該三次元モデルを示す画像の領域を示す第2領域とを特定する領域特定部と、前記第1領域に基づいて前記オブジェクトの検出を行う場合の当該検出の信頼性を示す第1信頼値と、前記第2領域に基づいて前記オブジェクトの検出を行う場合の当該検出の信頼性の値を示す第2信頼値とを特定する信頼値特定部と、前記第1信頼値と前記第2信頼値との比率に基づいて、前記第1撮像装置及び第2撮像装置のうち、前記所定の位置における前記オブジェクトの検出に使用する撮像装置を選択する選択部と、を備える。 In the selection device according to the first aspect of the present invention, a three-dimensional model imitating an object to be detected in the predetermined area is virtually arranged at a predetermined position in the three-dimensional space indicating the predetermined area. A first area indicating an area of the image indicating the three-dimensional model included in the first image captured by the first image capturing apparatus capturing the predetermined area, and a second image capturing performed by the second image capturing apparatus capturing the predetermined area. An area specifying unit that specifies a second area indicating an area of the image indicating the three-dimensional model included in two images, and the reliability of the detection when the object is detected based on the first area A confidence value identifying unit that identifies a first confidence value and a second confidence value indicating a reliability value of the detection when the object is detected based on the second region; and the first confidence value, Serial based on the ratio between the second confidence value, among the first imaging device and the second imaging device, and a selection unit for selecting an imaging device used to detect the object in the predetermined position.
前記信頼値特定部は、前記第1領域の面積を、前記第1信頼値の特定に用い、前記第2領域の面積を、前記第2信頼値の特定に用いてもよい。
前記第1撮像装置又は前記第2撮像装置は、全方位画像を撮像する撮像装置であり、前記信頼値特定部は、前記第1領域の位置と、前記第1画像の中心との距離とを前記第1信頼値の特定に用い、前記第2領域の位置と、前記第2画像の中心との距離とを前記第2信頼値の特定に用いてもよい。
The reliability value specifying unit may use the area of the first region for specifying the first reliability value and use the area of the second region for specifying the second reliability value.
The first imaging device or the second imaging device is an imaging device that captures an omnidirectional image, and the reliability value specifying unit calculates a distance between the position of the first region and the center of the first image. The first confidence value may be used for specifying the second confidence value by using a distance between the position of the second region and the center of the second image.
前記信頼値特定部は、前記三次元モデルと、前記検出する対象とはならない第2オブジェクトを模した第2の三次元モデルとを仮想的に配置した場合における、前記第1領域が、前記第1画像に含まれる前記第2の三次元モデルを示す画像領域によって隠される割合を前記第1信頼値の特定に用い、前記第2領域が、前記第2画像に含まれる前記第2の三次元モデルを示す画像領域によって隠される割合を前記第2信頼値の特定に用いてもよい。 In the case where the three-dimensional model and the second three-dimensional model imitating the second object that is not the target to be detected are virtually arranged, the first value in the confidence value specifying unit is the first area. A ratio hidden by an image region indicating the second three-dimensional model included in one image is used for specifying the first confidence value, and the second region is included in the second image. The ratio hidden by the image area indicating the model may be used for specifying the second confidence value.
前記選択装置は、前記第1画像の画像中の位置と、当該位置に対応する第1信頼値とを関連付けた情報と、前記第2画像の画像中の位置と、当該位置に対応する第2信頼値とを関連付けた情報とを記憶する記憶部をさらに備え、前記信頼値特定部は、前記記憶部を参照し、前記第1画像に含まれる前記三次元モデルを示す画像の位置に関連付けられている前記第1信頼値を取得するとともに、前記第2画像に含まれる前記三次元モデルを示す画像の位置に関連付けられている前記第2信頼値を取得することにより、前記第1信頼値及び前記第2信頼値を特定してもよい。 The selection device includes information associating a position in the image of the first image with a first confidence value corresponding to the position, a position in the image of the second image, and a second corresponding to the position. A storage unit that stores information associated with a confidence value; and the confidence value specifying unit refers to the storage unit and is associated with a position of an image indicating the three-dimensional model included in the first image. Obtaining the first confidence value, and obtaining the second confidence value associated with a position of an image indicating the three-dimensional model included in the second image, and The second confidence value may be specified.
前記選択部は、前記所定の位置に対応する前記第2信頼値に対する前記第1信頼値の比率が第1の閾値以上の場合に、前記所定の位置における前記オブジェクトの検出に使用する撮像装置として前記第1撮像装置を選択し、前記所定の位置に対応する前記第1信頼値に対する前記第2信頼値の比率が第2の閾値以上の場合に、前記所定の位置における前記オブジェクトの検出に使用する撮像装置として前記第2撮像装置を選択してもよい。 The selection unit is an imaging device used for detecting the object at the predetermined position when a ratio of the first reliability value to the second reliability value corresponding to the predetermined position is greater than or equal to a first threshold value. Used to detect the object at the predetermined position when the first imaging device is selected and the ratio of the second reliability value to the first reliability value corresponding to the predetermined position is greater than or equal to a second threshold value. The second imaging device may be selected as the imaging device to perform.
前記選択部は、前記所定の位置に対応する前記第2信頼値に対する前記第1信頼値の比率が前記第1の閾値未満であるとともに、前記所定の位置に対応する前記第1信頼値に対する前記第2信頼値の比率が前記第2の閾値未満の場合に、前記所定の位置における前記オブジェクトの検出に使用する撮像装置として前記第1撮像装置及び前記第2撮像装置を選択してもよい。 The selection unit is configured such that a ratio of the first reliability value to the second reliability value corresponding to the predetermined position is less than the first threshold, and the ratio to the first reliability value corresponding to the predetermined position. When the ratio of the second confidence values is less than the second threshold value, the first imaging device and the second imaging device may be selected as the imaging device used for detecting the object at the predetermined position.
前記選択部は、前記所定の位置が前記第1撮像装置から第1の距離以内である場合、前記第1信頼値と前記第2信頼値との比率にかかわらず、前記所定の位置における前記オブジェクトの検出に使用する撮像装置として前記第1撮像装置を選択し、前記所定の位置が前記第2撮像装置から第2の距離以内である場合、前記第1信頼値と前記第2信頼値との比率にかかわらず、前記所定の位置における前記オブジェクトの検出に使用する撮像装置として前記第2撮像装置を選択してもよい。 When the predetermined position is within a first distance from the first imaging device, the selection unit is configured to detect the object at the predetermined position regardless of a ratio between the first reliability value and the second reliability value. When the first imaging device is selected as an imaging device to be used for detection of and the predetermined position is within a second distance from the second imaging device, the first confidence value and the second confidence value Regardless of the ratio, the second imaging device may be selected as the imaging device used to detect the object at the predetermined position.
前記信頼値特定部は、前記三次元空間における複数の位置のそれぞれについて、前記三次元モデルを仮想的に配置した場合における前記第1信頼値と前記第2信頼値とを特定し、前記選択部は、前記三次元空間における複数の位置のそれぞれについて、前記第1信頼値と前記第2信頼値との比率に基づいて前記オブジェクトの検出に使用する撮像装置を選択してもよい。 The reliability value specifying unit specifies the first reliability value and the second reliability value when the three-dimensional model is virtually arranged for each of a plurality of positions in the three-dimensional space, and the selection unit For each of a plurality of positions in the three-dimensional space, an imaging device used for detection of the object may be selected based on a ratio between the first confidence value and the second confidence value.
前記選択装置は、撮像装置を識別する装置識別情報と、当該撮像装置を前記オブジェクトの検出に使用することが選択された位置を示す位置情報とを関連付けて記憶部に記憶させる記憶制御部をさらに備えてもよい。 The selection device further includes a storage control unit that associates device identification information for identifying the imaging device with location information indicating a location where the imaging device is selected to be used for detection of the object, and stores the information in the storage unit. You may prepare.
前記信頼値特定部は、前記所定の位置において前記オブジェクトに対応する複数の形状のそれぞれについて、前記所定の位置に当該形状を模した前記三次元モデルを配置した場合における前記第1信頼値と前記第2信頼値とを特定し、前記選択部は、前記所定の位置において前記オブジェクトに対応する複数の形状のそれぞれについて、前記第1信頼値と前記第2信頼値との比率に基づいて前記オブジェクトの検出に使用する撮像装置を選択してもよい。 The reliability value specifying unit, for each of a plurality of shapes corresponding to the object at the predetermined position, the first reliability value when the three-dimensional model imitating the shape is arranged at the predetermined position and the A second confidence value is specified, and the selection unit determines the object based on a ratio between the first confidence value and the second confidence value for each of a plurality of shapes corresponding to the object at the predetermined position. You may select the imaging device used for detection.
前記信頼値特定部は、前記所定の位置において前記オブジェクトが取り得る一以上の形状のそれぞれについて、当該所定の位置に当該形状を模した前記三次元モデルを配置した場合における前記第1信頼値と前記第2信頼値とを特定してもよい。 The reliability value specifying unit, for each of one or more shapes that can be taken by the object at the predetermined position, the first reliability value when the three-dimensional model imitating the shape is arranged at the predetermined position The second confidence value may be specified.
前記選択装置は、撮像装置を識別する装置識別情報と、前記オブジェクトの形状と、当該撮像装置を前記オブジェクトの検出に使用することが選択された位置を示す位置情報とを関連付けて記憶部に記憶させる記憶制御部をさらに備えてもよい。 The selection device stores, in a storage unit, device identification information for identifying an imaging device, a shape of the object, and position information indicating a position where the imaging device is selected to be used for detection of the object. A storage control unit may be further provided.
本発明の第2の態様に係る選択方法は、コンピュータが実行する、所定エリアを示す三次元空間における所定の位置に、前記所定エリアにおいて検出する対象となるオブジェクトを模した三次元モデルを仮想的に配置した場合における、前記所定エリアを撮像する第1撮像装置が撮像する第1画像に含まれる当該三次元モデルを示す画像の領域を示す第1領域と、前記所定エリアを撮像する第2撮像装置が撮像した第2画像に含まれる当該三次元モデルを示す画像の領域を示す第2領域とを特定するステップと、前記第1領域に基づいて前記オブジェクトの検出を行う場合の当該検出の信頼性を示す第1信頼値と、前記第2領域に基づいて前記オブジェクトの検出を行う場合の当該検出の信頼性の値を示す第2信頼値とを特定するステップと、前記第1信頼値と前記第2信頼値との比率に基づいて、前記第1撮像装置及び第2撮像装置のうち、前記所定の位置における前記オブジェクトの検出に使用する撮像装置を選択するステップと、を備える。 The selection method according to the second aspect of the present invention is a virtual method in which a computer executes a three-dimensional model imitating an object to be detected in a predetermined area at a predetermined position in a three-dimensional space indicating the predetermined area. A first area indicating an area of an image indicating the three-dimensional model included in the first image captured by the first imaging device that captures the predetermined area, and a second imaging for capturing the predetermined area. A step of identifying a second area indicating an area of the image indicating the three-dimensional model included in the second image captured by the apparatus; and the reliability of the detection when detecting the object based on the first area Identifying a first confidence value indicating the reliability and a second confidence value indicating a reliability value of the detection when the object is detected based on the second region; Selecting an imaging device to be used for detection of the object at the predetermined position from the first imaging device and the second imaging device based on a ratio between the first confidence value and the second confidence value; .
本発明の第3の態様に係る選択プログラムは、コンピュータを、所定エリアを示す三次元空間における所定の位置に、前記所定エリアにおいて検出する対象となるオブジェクトを模した三次元モデルを仮想的に配置した場合における、前記所定エリアを撮像する第1撮像装置が撮像する第1画像に含まれる当該三次元モデルを示す画像の領域を示す第1領域と、前記所定エリアを撮像する第2撮像装置が撮像した第2画像に含まれる当該三次元モデルを示す画像の領域を示す第2領域とを特定する領域特定部、前記第1領域に基づいて前記オブジェクトの検出を行う場合の当該検出の信頼性を示す第1信頼値と、前記第2領域に基づいて前記オブジェクトの検出を行う場合の当該検出の信頼性の値を示す第2信頼値とを特定する信頼値特定部、及び、前記第1信頼値と前記第2信頼値との比率に基づいて、前記第1撮像装置及び第2撮像装置のうち、前記所定の位置における前記オブジェクトの検出に使用する撮像装置を選択する選択部、として機能させる。 The selection program according to the third aspect of the present invention virtually arranges a three-dimensional model imitating an object to be detected in the predetermined area at a predetermined position in a three-dimensional space indicating the predetermined area. In this case, a first area indicating an area of the image indicating the three-dimensional model included in the first image captured by the first image capturing apparatus capturing the predetermined area, and a second image capturing apparatus capturing the predetermined area. An area specifying unit that specifies a second area indicating an area of the image indicating the three-dimensional model included in the captured second image, and reliability of the detection when the object is detected based on the first area And a confidence value specifying unit that specifies a second confidence value indicating a reliability value of the detection when the object is detected based on the second region. Based on the ratio between the first confidence value and the second confidence value, an imaging device to be used for detecting the object at the predetermined position is selected from the first imaging device and the second imaging device. It functions as a selection unit.
本発明によれば、オブジェクトを精度良く検出することができる画像を撮像する撮像装置を選択することができるという効果を奏する。 According to the present invention, it is possible to select an imaging device that captures an image capable of accurately detecting an object.
[オブジェクト追跡システムSの概要]
図1は、本実施形態に係るオブジェクト追跡システムSの構成を示す図である。オブジェクト追跡システムSは、第1撮像装置1Aと、第2撮像装置1Bと、選択装置2と、オブジェクト追跡装置3とを備える。
[Outline of Object Tracking System S]
FIG. 1 is a diagram showing a configuration of an object tracking system S according to the present embodiment. The object tracking system S includes a
第1撮像装置1Aと、第2撮像装置1Bとは、所定エリアを撮像する撮像装置である。ここで、所定エリアは、例えば店舗のフロアである。所定エリアには、オブジェクト追跡システムSにおいて、移動の軌跡を追跡する対象のオブジェクトとして、店員等の人物が存在する。第1撮像装置1A及び第2撮像装置1Bのそれぞれは、所定エリアの少なくとも一部を含む全方位画像を撮像する。ここで、第1撮像装置1Aが撮像可能な範囲と第2撮像装置1Bが撮像可能な範囲とは、少なくとも一部で重複しているものとする。
The
なお、本実施形態において、第1撮像装置1A及び第2撮像装置1Bのそれぞれは、全方位画像を撮像するものとしたが、これに限らず、全方位画像ではない画像を撮像してもよい。
In the present embodiment, each of the
第1撮像装置1A及び第2撮像装置1Bが撮像する全方位画像には、同一のオブジェクトが含まれている場合がある。この場合には、いずれの全方位画像でも当該オブジェクトの追跡が可能であるものの、オブジェクトの画像の大きさによっては、第1撮像装置1Aが撮像する全方位画像により当該オブジェクトを追跡する場合と、第2撮像装置1Bが撮像する全方位画像により当該オブジェクトを追跡する場合とで追跡の精度に差がでることがある。
The omnidirectional images captured by the
このため、選択装置2は、所定エリアに含まれる複数の位置のそれぞれについて、当該位置に存在するオブジェクトの特定に用いる撮像装置のうち、オブジェクトの追跡精度が高い撮像装置を、第1撮像装置1A、第2撮像装置1Bの中から選択する。
For this reason, for each of a plurality of positions included in the predetermined area, the selection device 2 selects an imaging device with high object tracking accuracy among the imaging devices used for specifying the object existing at the position as the
図2は、本実施形態に係る選択装置2の概要を示す図である。選択装置2は、図2に示すように、複数の位置のうち、所定エリアを示す三次元空間Aにおける所定の位置に、所定エリアにおいて検出する対象となるオブジェクトを模した三次元モデルMを仮想的に配置した場合における、第1撮像装置1Aが撮像する第1画像に含まれる、当該三次元モデルMを示す画像の領域を示す第1領域を特定する。また、選択装置2は、所定エリアを示す三次元空間Aにおける所定の位置に、当該オブジェクトを模した三次元モデルMを仮想的に配置した場合における、第2撮像装置1Bが撮像する第2画像に含まれる、当該三次元モデルMを示す画像の領域を示す第2領域を特定する。
FIG. 2 is a diagram illustrating an overview of the selection device 2 according to the present embodiment. As illustrated in FIG. 2, the selection device 2 virtually displays a three-dimensional model M imitating an object to be detected in a predetermined area at a predetermined position in the three-dimensional space A indicating the predetermined area among a plurality of positions. The first region indicating the region of the image indicating the three-dimensional model M included in the first image captured by the
選択装置2は、第1領域に基づいてオブジェクトの検出を行う場合の、当該検出の信頼性を示す第1信頼値と、第2領域に基づいてオブジェクトの検出を行う場合の、当該検出の信頼性を示す第2信頼値とを特定する。選択装置2は、第1信頼値と第2信頼値の比率に基づいて、第1撮像装置1A及び第2撮像装置1Bのうち、所定の位置におけるオブジェクトの検出に使用する撮像装置を選択する。このようにすることで、選択装置2は、所定の位置においてオブジェクトを精度良く検出することができる画像を撮像する撮像装置を選択することができる。
When the selection device 2 detects an object based on the first region, the selection device 2 indicates the first reliability value indicating the reliability of the detection, and the detection reliability when the object is detected based on the second region. The second confidence value indicating the sex is specified. The selection device 2 selects an imaging device to be used for detecting an object at a predetermined position from the
選択装置2は、所定エリアの複数の位置のそれぞれにおいて、上述の処理を行い、オブジェクトを精度良く検出することができる画像を撮像する撮像装置を選択する。選択装置2は、選択結果に基づいて、撮像装置を識別する装置識別情報と、当該撮像装置をオブジェクトの検出に使用することが選択された位置を示す位置情報と、当該位置に当該オブジェクトが配置された場合に撮像装置が撮像する画像に含まれる当該オブジェクトを示す画像の領域を示す情報を関連付けた担当領域情報を生成する。 The selection device 2 performs the above-described processing at each of a plurality of positions in a predetermined area, and selects an imaging device that captures an image that can accurately detect an object. Based on the selection result, the selection device 2 includes device identification information for identifying the imaging device, position information indicating a position where the imaging device is selected to be used for object detection, and the object is arranged at the position. In this case, responsible area information is generated in association with information indicating the area of the image indicating the object included in the image captured by the imaging device.
図1に説明を戻す。オブジェクト追跡装置3は、第1撮像装置1Aから全方位画像を取得するとともに、第2撮像装置1Bから全方位画像を取得する。オブジェクト追跡装置3は、取得した全方位画像を解析することにより、全方位画像に含まれるオブジェクトを示す領域を特定する。
Returning to FIG. The
ここで、第1撮像装置1Aから取得した全方位画像と、第2撮像装置1Bから取得した全方位画像とには、同一のオブジェクトを示す領域が含まれることがある。オブジェクト追跡装置3は、特定したオブジェクトの領域と、選択装置2が生成した担当領域情報とに基づいて、特定したオブジェクトの領域から、オブジェクトの追跡に用いるオブジェクトの領域を選択する。そして、オブジェクト追跡装置3は、担当領域情報において、選択したオブジェクトの領域に関連付けられている位置に基づいて、オブジェクトの追跡を行う。このようにすることで、オブジェクト追跡装置3は、精度良くオブジェクトの追跡を行うことができる。
Here, the omnidirectional image acquired from the
[選択装置2の構成]
続いて、選択装置2の構成を説明する。図3は、本実施形態に係る選択装置2の構成を示す図である。図3に示すように、選択装置2は、記憶部21と、制御部22とを備える。
[Configuration of Selection Device 2]
Next, the configuration of the selection device 2 will be described. FIG. 3 is a diagram illustrating a configuration of the selection device 2 according to the present embodiment. As illustrated in FIG. 3, the selection device 2 includes a
記憶部21は、ROM(Read Only Memory)及びRAM(Random Access Memory)等を含む記憶媒体である。記憶部21は、制御部22が実行するプログラムを記憶している。例えば、記憶部21は、選択装置2を、領域特定部221、信頼値特定部222、選択部223、及び記憶制御部224として機能させる選択プログラムを記憶している。
The
制御部22は、例えばCPU(Central Processing Unit)又はGPU(Graphics Processing Unit)である。制御部22は、記憶部21に記憶された選択プログラムを実行することにより、領域特定部221、信頼値特定部222、選択部223、及び記憶制御部224として機能する。
The
領域特定部221は、所定エリアを示す三次元空間における所定の位置に、所定のエリアにおいて検出する対象となるオブジェクトを模した三次元モデルを仮想的に配置した場合における、所定エリアを撮像する第1撮像装置1Aが撮像する第1画像に含まれる当該三次元モデルを示す画像の領域を示す第1領域を特定する。
The
同様に、領域特定部221は、所定エリアを示す三次元空間における所定の位置に、当該オブジェクトを模した三次元モデルを仮想的に配置した場合における、所定エリアを撮像する第2撮像装置1Bが撮像した第2画像に含まれる当該三次元モデルを示す画像の領域を示す第2領域を特定する。
Similarly, the
具体的には、領域特定部221は、所定エリアを示す仮想的な三次元空間を構築する。そして、領域特定部221は、仮想的な三次元空間において、所定エリアにおける第1撮像装置1Aの設置位置に対応する位置に、第1撮像装置1Aと同様に全方位画像を生成する第1カメラオブジェクトを配置する。また、領域特定部221は、仮想的な三次元空間において、所定エリアにおける第2撮像装置1Bの設置位置に対応する位置に、第2撮像装置1Bと同様に全方位画像を生成する第2カメラオブジェクトを配置する。ここで、仮想的な三次元空間における位置は、例えば、グローバル座標系の三次元座標(X,Y,0)により表現される。
Specifically, the
領域特定部221は、所定エリアを示す仮想的な三次元空間における所定の位置に、三次元モデルを配置した場合に、第1撮像装置1Aに対応する第1カメラオブジェクトに全方位画像を生成させるとともに、第2撮像装置1Bに対応する第2カメラオブジェクトに全方位画像を生成させる。ここで、三次元モデルの形状は、オブジェクト(人物)そのものの形状であることが好ましいが、円柱等の組み合わせによりオブジェクトを簡易的に模した形状であってもよい。
The
領域特定部221は、第1カメラオブジェクトが生成した全方位画像を解析し、当該全方位画像に含まれている三次元モデルを示す画像の領域を示す第1領域を特定する。例えば、領域特定部221は、第1カメラオブジェクトが生成した全方位画像に含まれている三次元モデルの輪郭を特定し、当該輪郭を囲む領域を示す情報を特定することにより、第1領域を特定する。
The
ここで、領域を示す情報には、輪郭点群により構成される任意形状の三次元モデルであるポリゴンや、ポリゴンの外接矩形を用いることができる。ここで、外接矩形とは、ポリゴンに外接し、全方位画像上の所定軸に対して二辺が平行する矩形である。矩形領域を示す情報は、全方位画像に対して規定されるローカル座標系における、矩形領域の中心点を示す画像上の2次元座標(x,y)と、当該頂点と隣接する2つの頂点との距離w,hと、所定軸に対する傾きθとを含む情報(x,y,w,h,θ)により規定される。なお、θがゼロ度の場合は直立矩形と呼称され、ゼロ度以外の場合は回転矩形と呼称される。 Here, for the information indicating the region, a polygon that is a three-dimensional model having an arbitrary shape constituted by a group of contour points, or a circumscribed rectangle of the polygon can be used. Here, the circumscribed rectangle is a rectangle that circumscribes the polygon and has two sides parallel to a predetermined axis on the omnidirectional image. The information indicating the rectangular area includes two-dimensional coordinates (x, y) on the image indicating the center point of the rectangular area and two vertices adjacent to the vertex in the local coordinate system defined for the omnidirectional image. The distances w and h and the information (x, y, w, h, θ) including the inclination θ with respect to the predetermined axis are defined. When θ is zero degrees, it is called an upright rectangle, and when it is not zero degrees, it is called a rotating rectangle.
同様に、領域特定部221は、第2カメラオブジェクトが生成した全方位画像を解析し、当該全方位画像に含まれている三次元モデルを示す画像の領域を示す第2領域を特定する。
Similarly, the
ここで、領域特定部221は、所定の位置においてオブジェクトに対応する複数の形状のそれぞれについて、所定の位置に当該形状を模した三次元モデルを配置した場合における第1信頼値と第2信頼値とを特定する。オブジェクトは、人物であることから、オブジェクトの形状は、例えば、直立しているときの人物の形状、椅子に座っているときの人物の形状、大人を示す人物の形状、子供を示す人物の形状である。
Here, for each of a plurality of shapes corresponding to the object at a predetermined position, the
なお、所定の位置において、椅子等が設けられておらず、人物が立つことしか想定されていない場合には、椅子に座っているときの人物の形状に対応する第1信頼値と第2信頼値とを特定する必要性が低い。このため、領域特定部221は、所定の位置においてオブジェクトが複数の形状を取り得る場合に、オブジェクトが取り得る複数の形状のそれぞれについて、所定の位置に、当該形状を模した三次元モデルを配置した場合における第1領域と第2領域とを特定する。
In addition, when a chair or the like is not provided at a predetermined position and only a person is assumed to stand, the first confidence value and the second confidence value corresponding to the shape of the person when sitting on the chair The need to specify a value is low. Therefore, when the object can take a plurality of shapes at a predetermined position, the
例えば、記憶部21には、オブジェクトが取り得る複数の形状のそれぞれと、当該オブジェクトが当該形状を取り得る位置とを関連付けた、形状別位置情報が記憶されている。領域特定部221は、形状別位置情報を参照し、所定の位置において取り得るオブジェクトの形状を特定する。領域特定部221は、所定の位置においてオブジェクトが取り得る複数の形状のそれぞれについて、所定の位置に、当該形状を模した三次元モデルを配置した場合における第1領域と第2領域とを特定する。
For example, the
領域特定部221は、上述した手順の処理を、所定エリアを示す三次元空間における複数の位置のそれぞれに対して行い、複数の位置のそれぞれに、当該位置においてオブジェクトが取り得る形状を模した三次元モデルを仮想的に配置した場合における第1領域及び第2領域を特定する。
The
信頼値特定部222は、第1領域に基づいてオブジェクトの検出を行う場合の当該検出の信頼性を示す第1信頼値と、第2領域に基づいてオブジェクトの検出を行う場合の当該検出の信頼性を示す第2信頼値とを特定する。
The confidence
信頼値特定部222は、所定の位置においてオブジェクトが取り得る一以上の形状のそれぞれについて、所定の位置に当該形状を模した三次元モデルを配置した場合における第1信頼値及び第2信頼値を特定する。
For each of one or more shapes that the object can take at the predetermined position, the reliability
信頼値特定部222は、第1領域の面積を第1信頼値の特定に用い、第2領域の面積を第2信頼値の特定に用いる。例えば、信頼値特定部222は、第1領域の面積が大きければ大きいほど第1信頼値を高くし、第2領域の面積が大きければ大きいほど第2信頼値を高くする。
The reliability
また、信頼値特定部222は、第1領域の位置と、第1画像の中心との距離を第1信頼値の特定に用い、第2領域の位置と、第2画像の中心との距離を第2信頼値の特定に用いる。例えば、信頼値特定部222は、第1領域の位置と、第1画像の中心との距離が長ければ長いほど第1信頼値を小さくし、第2領域の位置と、第2画像の中心との距離が長ければ長いほど第2信頼値を小さくする。
In addition, the confidence
なお、領域特定部221は、三次元モデルと、検出する対象とはならない第2オブジェクトを模した第2の三次元モデルとを三次元空間に仮想的に配置してもよい。ここで、第2の三次元モデルは、所定エリアに配置される椅子、テーブル、棚等の静的なオブジェクトに対応する三次元モデルである。
Note that the
信頼値特定部222は、所定エリアを示す三次元空間に、三次元モデルと第2の三次元モデルとを仮想的に配置した場合における、第1領域が、第1画像に含まれる第2の三次元モデルを示す画像領域によって隠される割合を第1信頼値の特定に用いてもよい。同様に、信頼値特定部222は、第2領域が、第2画像に含まれる第2の三次元モデルを示す画像領域によって隠される割合を第2信頼値の特定に用いてもよい。
The reliability
例えば、信頼値特定部222は、第1領域が、第1画像に含まれる第2の三次元モデルを示す画像領域によって隠される割合が小さければ小さいほど、第1信頼値を大きく、第2領域が、第2画像に含まれる第2の三次元モデルを示す画像領域によって隠される割合が小さければ小さいほど、第2信頼値を大きくする。
For example, the reliability
また、記憶部21には、第1画像の画像中の位置と、当該位置に対応する第1信頼値とを関連付けた第1信頼値情報と、第2画像の画像中の位置と、当該位置に対応する第2信頼値とを関連付けた第2信頼値情報とが記憶されていてもよい。信頼値特定部222は、第1画像中における三次元モデルの位置を特定するとともに、第2画像中における三次元モデルの位置を特定してもよい。そして、信頼値特定部222は、記憶部21に記憶されている第1信頼値情報を参照し、第1画像に含まれる三次元モデルを示す画像の位置に関連付けられている第1信頼値を取得する。同様に、信頼値特定部222は、記憶部21に記憶されている第2信頼値情報を参照し、第2画像に含まれる三次元モデルを示す画像の位置に関連付けられている第2信頼値を特定する。このようにすることで、信頼値特定部222は、三次元空間上に仮想的に配置した三次元モデルの位置に対応する第1信頼値及び第2信頼値を容易に特定することができる。
In addition, the
信頼値特定部222は、上述した手順の処理を、所定エリアを示す三次元空間における複数の位置のそれぞれに対して行う。複数の位置は、例えば、所定エリアを一定間隔の格子に区切って分割し、各格子点により規定してもよい。そして、信頼値特定部222は、複数の位置のそれぞれに対応して、オブジェクトが取り得る複数の形状のそれぞれの第1信頼値及び第2信頼値を特定する。
The confidence
選択部223は、信頼値特定部222が特定した第1信頼値と第2信頼値との比率に基づいて、第1撮像装置1A及び第2撮像装置1Bのうち、所定の位置におけるオブジェクトの検出に使用する撮像装置を選択する。
The
具体的には、選択部223は、所定の位置に対応する第2信頼値に対する第1信頼値の比率が第1の閾値以上の場合に、当該所定の位置におけるオブジェクトの検出に使用する撮像装置として第1撮像装置1Aを選択する。
Specifically, when the ratio of the first confidence value to the second confidence value corresponding to the predetermined position is equal to or higher than the first threshold, the
また、選択部223は、所定の位置に対応する第1信頼値に対する第2信頼値の比率が第2の閾値以上の場合に、当該所定の位置におけるオブジェクトの検出に使用する撮像装置として第2撮像装置1Bを選択する。ここで、本実施形態において、第1の閾値と第2の閾値は、同じ閾値(所定の閾値)であるものとするが、第1の閾値と第2の閾値とは異なる値であってもよい。このようにすることで、選択装置2は、信頼値が相対的に高い画像に対応する撮像装置を選択することができる。
In addition, when the ratio of the second confidence value to the first confidence value corresponding to the predetermined position is equal to or greater than the second threshold, the
また、選択部223は、所定の位置に対応する第2信頼値に対する第1信頼値の比率が第1の閾値未満であるとともに、当該所定の位置に対応する第1信頼値に対する第2信頼値の比率が第2の閾値未満の場合に、所定の位置におけるオブジェクトの検出に使用する撮像装置として第1撮像装置1A及び第2撮像装置1Bを選択する。このようにすることで、選択装置2は、2つの撮像装置の信頼値の差が大きくない場合には、2つの撮像装置を選択し、2つの撮像装置を用いてオブジェクトの検出を行うようにすることができる。
In addition, the
選択部223は、所定の位置においてオブジェクトが取り得る複数の形状のそれぞれについて、複数の形状のそれぞれに対応する第1信頼値と第2信頼値との比率に基づいて、オブジェクトの検出に使用する撮像装置を選択する。また、選択部223は、三次元空間における複数の位置のそれぞれについて、第1信頼値と第2信頼値との比率に基づいてオブジェクトの検出に使用する撮像装置を選択する。
For each of a plurality of shapes that can be taken by the object at a predetermined position, the
なお、所定の位置においてオブジェクトの面積が同等であっても、当該オブジェクトが各撮像装置の近傍に存在する場合は、検出に使用する撮像装置として、オブジェクトの近傍の撮像装置を用いた方がオブジェクトの位置を高精度に検出できる場合が多い。したがって、選択部223は、所定の位置が第1撮像装置1Aから第1の距離以内である場合、第1信頼値と第2信頼値との比率に関わらず、所定の位置におけるオブジェクトの検出に使用する撮像装置として第1撮像装置1Aを選択してもよい。また、選択部223は、所定の位置が第2撮像装置1Bから第2の距離以内である場合、第1信頼値と第2信頼値との比率に関わらず、所定の位置におけるオブジェクトの検出に使用する撮像装置として第2撮像装置1Bを選択してもよい。このようにすることで、選択装置2は、オブジェクトの位置を高精度に検出できる撮像装置を選択することができる。
Even if the area of the object is the same at a predetermined position, if the object exists in the vicinity of each imaging device, it is better to use the imaging device in the vicinity of the object as the imaging device used for detection. In many cases, the position of can be detected with high accuracy. Therefore, when the predetermined position is within the first distance from the
記憶制御部224は、撮像装置を識別する装置識別情報と、オブジェクトの形状を示す情報と、当該撮像装置をオブジェクトの検出に使用することが選択された位置を示す位置情報と、当該位置に当該オブジェクトが配置された場合に撮像装置が撮像する画像に含まれる当該オブジェクトを示す画像の領域を示す情報とを関連付けて、担当領域情報として記憶部21に記憶させる。
The
ここで、オブジェクトの検出に使用することが選択された位置は、グローバル座標系における位置座標により表現される。また、オブジェクトを示す画像の領域を示す情報は、直立矩形領域を示す情報であり、第1領域又は第2領域である。なお、オブジェクトを示す画像の領域を示す情報は、後段のオブジェクト追跡処理において、直立矩形とのマッチングを行う場合は、直立矩形領域を示す情報により表現されるが、回転矩形や任意形状のポリゴンとのマッチングを行う場合は、同様の情報により表現される。記憶制御部224は、オブジェクトが取り得る複数の形状のそれぞれに対応する担当領域情報を記憶部21に記憶させる。担当領域情報は、例えば制御部22によりオブジェクト追跡装置3に送信される。なお、担当領域情報は、複数の形状のそれぞれに対して別個に設けられていてもよいし、複数の形状のそれぞれに対応して1つのみ設けられていてもよい。
Here, the position selected to be used for object detection is represented by position coordinates in the global coordinate system. The information indicating the area of the image indicating the object is information indicating the upright rectangular area, and is the first area or the second area. Note that the information indicating the area of the image indicating the object is represented by the information indicating the upright rectangular area when matching with the upright rectangle in the object tracking process in the subsequent stage. When matching is performed, it is expressed by similar information. The
図4は、三次元空間における複数の位置のそれぞれにおいて選択された撮像装置を示す図である。図4(a)は、オブジェクトの形状が直立状態を示す形状である場合に、複数の位置のそれぞれにおいて選択された撮像装置を示す図である。図4(b)は、オブジェクトがの形状が着席状態を示す形状である場合に、複数の位置のそれぞれにおいて選択された撮像装置を示す図である。 FIG. 4 is a diagram illustrating an imaging device selected at each of a plurality of positions in the three-dimensional space. FIG. 4A is a diagram illustrating an imaging device selected at each of a plurality of positions when the shape of the object is a shape indicating an upright state. FIG. 4B is a diagram illustrating an imaging device selected at each of a plurality of positions when the shape of the object is a shape indicating a seated state.
図4に示す領域A1は、オブジェクトの検出に使用する撮像装置として第1撮像装置1Aが選択された領域、領域A2は、オブジェクトの検出に使用する撮像装置として第1撮像装置1A及び第2撮像装置1Bが選択された領域、領域A3は、オブジェクトの検出に使用する撮像装置として第2撮像装置1Bが選択された領域である。
An area A1 illustrated in FIG. 4 is an area where the
図4(a)、(b)に示されるように、オブジェクトが直立状態である場合と、着席状態である場合とで、担当領域が異なっていることが確認できる。また、図4(a)では、第1撮像装置1Aの近傍において、オブジェクトの検出に使用する撮像装置として第1撮像装置1A及び第2撮像装置1Bが選択されている。これは、三次元モデルが第1撮像装置1Aに近すぎると、第1撮像装置1Aが撮像する第1画像に、三次元モデルMの上部しか映らず、第1領域の面積が小さくなるためである。
As shown in FIGS. 4A and 4B, it can be confirmed that the assigned area is different between the case where the object is in the upright state and the case where the object is in the seated state. In FIG. 4A, in the vicinity of the
つまり、面積の大小という観点では、第1撮像装置1Aの真下に存在するオブジェクトの検出に使用する撮像装置として、第1撮像装置1A及び第2撮像装置1Bの優劣が付けられない。しかしながら、画像上の面積が同等であっても、オブジェクトが各撮像装置の近傍に存在する場合は、検出に使用する撮像装置としてその撮像装置を用いた方がオブジェクトの位置を高精度に検出できる場合が多い。そこで、選択部223は、面積の大小に従って、図4(a)、(b)に示されるような担当領域を決めた後、各撮像装置の近傍領域、例えば、撮像装置の真下位置から一定距離以内については、その撮像装置が選択されるように担当領域を再定義(上書き)してもよい。
また、図4(b)では、行動エリアAにおいて、領域A1〜A3として設定されていない領域が存在するが、この領域は、オブジェクトが着席状態を取らない領域である。
That is, from the viewpoint of the size of the area, the superiority or inferiority of the
Further, in FIG. 4B, in the action area A, there are areas that are not set as the areas A1 to A3. This area is an area where the object does not take a seated state.
[オブジェクト追跡装置3の構成]
続いて、オブジェクト追跡装置3の構成を説明する。図5は、本実施形態に係るオブジェクト追跡装置3の構成を示す図である。図5に示すように、オブジェクト追跡装置3は、記憶部31と、制御部32とを備える。
[Configuration of Object Tracking Device 3]
Next, the configuration of the
記憶部31は、ROM及びRAM等を含む記憶媒体である。記憶部31は、制御部32が実行するプログラムを記憶している。例えば、記憶部31は、オブジェクト追跡装置3を、画像取得部321、オブジェクト検出部322、及びオブジェクト追跡部323として機能させるオブジェクト追跡プログラムを記憶している。
また、記憶部31には、予め、選択装置2が生成した担当領域情報が記憶されているものとする。
The
Further, it is assumed that responsible area information generated by the selection device 2 is stored in the
制御部32は、例えばCPUである。制御部32は、記憶部31に記憶されたオブジェクト追跡プログラムを実行することにより、画像取得部321、オブジェクト検出部322、及びオブジェクト追跡部323として機能する。
The
画像取得部321は、第1撮像装置1Aが撮像した全方位画像を取得するとともに、第2撮像装置1Bが撮像した全方位画像を取得する。全方位画像には、撮像時刻を示す情報が含まれている。
The
オブジェクト検出部322は、画像取得部321が取得した全方位画像を解析することにより、全方位画像に含まれるオブジェクトを検出する。例えば、オブジェクト検出部322は、全方位画像に含まれるオブジェクトの輪郭を示す輪郭領域を特定する。そして、オブジェクト検出部322は、特定した輪郭領域に基づいて、直立矩形領域を示す情報を特定することにより、当該オブジェクトを検出する。
The
オブジェクト検出部322は、特定した直立矩形領域を示す情報と、担当領域情報に含まれている直立矩形領域を示す情報とのマッチングを行う。例えば、オブジェクト検出部322は、特定した直立矩形領域を示す情報が示す直立矩形領域と、担当領域情報に含まれている複数の直立矩形領域を示す情報が示す直立矩形領域との重複率(IOU:Intersection over Union)を算出する。そして、オブジェクト検出部322は、担当領域情報に含まれている直立矩形領域を示す情報のうち、重複率が最も高いものを特定する。
The
オブジェクト検出部322は、重複率が最も高い直立矩形領域を示す情報に関連付けられている位置情報を特定し、当該位置情報が示す位置を、オブジェクトの位置とする。そして、オブジェクト検出部322は、当該オブジェクトが含まれている全方位画像に含まれている撮像時刻を示す情報と、当該位置情報とを関連付けて、オブジェクト位置情報として、記憶部31に記憶させる。オブジェクト検出部322は、取得した複数の全方位画像のそれぞれについて、上述の手順に基づいてオブジェクトの位置を特定し、オブジェクト位置情報を記憶部31に記憶させる。
The
オブジェクト追跡部323は、記憶部31に記憶されているオブジェクト位置情報に基づいて、オブジェクトの追跡を行う。例えば、オブジェクト追跡部323は、連続する2つの時刻において、位置情報が示す位置が所定距離以内のオブジェクトを同一のオブジェクトとすることにより、オブジェクトの追跡を行う。
The
[選択装置2における処理の流れ]
続いて、選択装置2における処理の流れについて説明する。図6は、本実施形態に係る選択装置2における処理の流れを示すフローチャートである。
[Processing Flow in Selection Device 2]
Next, the flow of processing in the selection device 2 will be described. FIG. 6 is a flowchart showing the flow of processing in the selection device 2 according to this embodiment.
まず、領域特定部221は、行動エリアに含まれる複数の位置のうち、未選択の位置を選択する(S1)。
続いて、領域特定部221は、選択された位置において、オブジェクトが取り得る形状のうち、未選択の形状を選択する(S2)。
First, the
Subsequently, the
続いて、領域特定部221は、S2において選択した形状に対応する三次元モデルを、S1において選択した位置に配置したときの第1領域及び第2領域を特定する(S3)。
続いて、信頼値特定部222は、第1領域に基づいて第1信頼値を特定するとともに、第2領域に基づいて第2信頼値を特定する(S4)。ここで、信頼値特定部222は、第1領域及び第2領域以外の情報に基づいて第1信頼値及び第2信頼値を特定してもよい。
Subsequently, the
Subsequently, the confidence
続いて、選択部223は、第2信頼値に対する第1信頼値の比率が第1閾値以上であるか否かを判定する(S5)。選択部223は、第1閾値以上であると判定すると、S6に処理を移し、第1閾値未満であると判定すると、S7に処理を移す。
Subsequently, the
S6において、選択部223は、S1において選択された位置における、S2において選択された形状に対応するオブジェクトの検出に使用する撮像装置として第1撮像装置1Aを選択する。選択部223は、S6の処理が終了すると、S10に処理を移す。
In S6, the
続いて、選択部223は、第1信頼値に対する第2信頼値の比率が第2閾値以上であるか否かを判定する(S7)。選択部223は、第2閾値以上であると判定すると、S8に処理を移し、第2閾値未満であると判定すると、S9に処理を移す。
Subsequently, the
S8において、選択部223は、S1において選択された位置における、S2において選択された形状に対応するオブジェクトの検出に使用する撮像装置として第2撮像装置1Bを選択する。選択部223は、S8の処理が終了すると、S10に処理を移す。
In S8, the
S9において、選択部223は、S1において選択された位置における、S2において選択された形状に対応するオブジェクトの検出に使用する撮像装置として第1撮像装置1A及び第2撮像装置1Bを選択する。
In S9, the
続いて、記憶制御部224は、S1において選択された位置を示す位置情報と、S2において選択された形状を示す形状情報と、選択部223が選択した撮像装置を識別する装置識別情報と、当該位置にオブジェクトが配置された場合に当該撮像装置が撮像する画像に含まれる当該オブジェクトを示す画像の領域を示す情報(直立矩形を示す情報)とを関連付けて担当領域情報として記憶部21に記憶させる(S10)。
Subsequently, the
続いて、領域特定部221は、オブジェクトが取り得る全ての形状を選択したか否かを判定する(S11)。領域特定部221は、全ての形状を選択したと判定すると、S12に処理を移し、全ての形状を選択していないと判定すると、S2に処理を移す。
Subsequently, the
続いて、領域特定部221は、行動エリアに含まれる全ての位置を選択したか否かを判定する(S12)。領域特定部221は、全ての位置を選択したと判定すると、本フローチャートに係る処理を終了し、全ての位置を選択していないと判定すると、S1に処理を移す。
Subsequently, the
[オブジェクト追跡装置3における処理の流れ]
続いて、オブジェクト追跡装置3における処理の流れについて説明する。図7は、本実施形態に係るオブジェクト追跡装置3における処理の流れを示すフローチャートである。なお、本フローチャートの開始時に、オブジェクト追跡装置3の記憶部31は、選択装置2が生成した担当領域情報を記憶しているものとする。
[Flow of Processing in Object Tracking Device 3]
Next, the flow of processing in the
まず、画像取得部321は、第1撮像装置1Aと第2撮像装置1Bとから、複数の全方位画像を取得する(S21)。ここで、第1撮像装置1A及び第2撮像装置1Bが撮像する全方位画像に含まれる撮像時刻は同期されているものとする。
First, the
続いて、オブジェクト検出部322は、未選択の全方位画像のうち、撮像時刻が最も古い全方位画像を選択する(S22)。ここでは、オブジェクト検出部322は、撮像時刻が最も古い全方位画像として、第1撮像装置1Aと、第2撮像装置1Bとに撮像された2つの全方位画像を選択する。
Subsequently, the
続いて、オブジェクト検出部322は、選択した全方位画像の画像解析を行い、全方位画像に含まれるオブジェクトの直立矩形領域を特定する(S23)。
続いて、オブジェクト検出部322は、特定したオブジェクトの直立矩形領域と、記憶部31に記憶されている担当領域情報に含まれている複数の直立矩形領域情報のそれぞれが示す直立矩形領域との重複率を算出する(S24)。
Subsequently, the
Subsequently, the
続いて、オブジェクト検出部322は、担当領域情報において、重複率が最も高い直立矩形領域に関連付けられている位置情報が示す位置を、オブジェクトの位置に特定する(S25)。
Subsequently, the
続いて、オブジェクト追跡部323は、S25において特定されたオブジェクトの位置に基づいてオブジェクトを追跡する(S26)。
Subsequently, the
続いて、オブジェクト検出部322は、全ての全方位画像を選択したか否かを判定する(S27)。オブジェクト検出部322は、全ての全方位画像を選択したと判定すると、本フローチャートに係る処理を終了し、全ての全方位画像を選択していないと判定すると、S22に処理を移す。
Subsequently, the
[本実施形態における効果]
以上説明したように、本実施形態に係る選択装置2は、所定エリアを示す三次元空間における所定の位置に、所定エリアにおいて検出する対象となるオブジェクトを模した三次元モデルを仮想的に配置した場合における、所定エリアを撮像する第1撮像装置1Aが撮像する第1画像に含まれる当該三次元モデルを示す画像の領域を示す第1領域と、所定エリアを撮像する第2撮像装置1Bが撮像した第2画像に含まれる当該三次元モデルを示す画像の領域を示す第2領域とを特定し、当該第1領域に基づいてオブジェクトの検出を行う場合の当該検出の信頼性を示す第1信頼値と、当該第2領域に基づいてオブジェクトの検出を行う場合の当該検出の信頼性の値を示す第2信頼値とを特定する。そして、選択装置2は、第1信頼値と第2信頼値との比率に基づいて、第1撮像装置1A及び第2撮像装置1Bのうち、所定の位置におけるオブジェクトの検出に使用する撮像装置を選択する。このようにすることで、選択装置2は、オブジェクトを精度良く検出することができる画像を撮像する撮像装置を選択することができる。
[Effect in this embodiment]
As described above, the selection device 2 according to the present embodiment virtually arranges a three-dimensional model imitating an object to be detected in a predetermined area at a predetermined position in a three-dimensional space indicating the predetermined area. In this case, a first area indicating an area of the image indicating the three-dimensional model included in the first image captured by the first
以上、本発明を実施形態を用いて説明したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されない。上記実施形態に、多様な変更又は改良を加えることが可能であることが当業者に明らかである。 As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above embodiment.
また、特に、装置の分散・統合の具体的な実施形態は以上に図示するものに限られず、その全部又は一部について、種々の付加等に応じて、又は、機能負荷に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。 In particular, the specific embodiments of the distribution / integration of the devices are not limited to those illustrated above, and all or a part thereof may be arbitrarily selected according to various additions or according to the functional load. It can be configured to be functionally or physically distributed and integrated in units.
例えば、上記実施形態では、選択装置2と、オブジェクト追跡装置3とは異なる装置であるものとしたが、これに限らない。選択装置2と、オブジェクト追跡装置3とは、一つの装置により実現されてもよい。
For example, in the above embodiment, the selection device 2 and the
1A・・・第1撮像装置、1B・・・第2撮像装置、2・・・選択装置、21・・・記憶部、22・・・制御部、221・・・領域特定部、222・・・信頼値特定部、223・・・選択部、224・・・記憶制御部、3・・・オブジェクト追跡装置、31・・・記憶部、32・・・制御部、321・・・画像取得部、322・・・オブジェクト検出部、323・・・オブジェクト追跡部、S・・・オブジェクト追跡システム
DESCRIPTION OF
Claims (15)
前記第1領域に基づいて前記オブジェクトの検出を行う場合の当該検出の信頼性を示す第1信頼値と、前記第2領域に基づいて前記オブジェクトの検出を行う場合の当該検出の信頼性の値を示す第2信頼値とを特定する信頼値特定部と、
前記第1信頼値と前記第2信頼値との比率に基づいて、前記第1撮像装置及び第2撮像装置のうち、前記所定の位置における前記オブジェクトの検出に使用する撮像装置を選択する選択部と、
を備える選択装置。 When a three-dimensional model imitating an object to be detected in the predetermined area is virtually arranged at a predetermined position in a three-dimensional space indicating the predetermined area, the first imaging device that captures the predetermined area captures an image A first region indicating an image region indicating the three-dimensional model included in the first image, and an image indicating the three-dimensional model included in the second image captured by the second imaging device that captures the predetermined area. An area specifying unit for specifying the second area indicating the area;
A first reliability value indicating the reliability of the detection when the object is detected based on the first area, and a reliability value of the detection when the object is detected based on the second area A confidence value identifying unit that identifies a second confidence value indicating
A selection unit that selects, from the first imaging device and the second imaging device, an imaging device to be used for detecting the object at the predetermined position based on a ratio between the first reliability value and the second reliability value. When,
A selection device comprising:
請求項1に記載の選択装置。 The reliability value specifying unit uses the area of the first region for specifying the first reliability value, and uses the area of the second region for specifying the second reliability value.
The selection device according to claim 1.
前記信頼値特定部は、前記第1領域の位置と、前記第1画像の中心との距離とを前記第1信頼値の特定に用い、前記第2領域の位置と、前記第2画像の中心との距離とを前記第2信頼値の特定に用いる、
請求項1又は2に記載の選択装置。 The first imaging device or the second imaging device is an imaging device that captures an omnidirectional image,
The confidence value specifying unit uses the distance between the position of the first region and the center of the first image for specifying the first confidence value, and the position of the second region and the center of the second image. Is used to specify the second confidence value,
The selection device according to claim 1 or 2.
請求項1から3のいずれか1項に記載の選択装置。 In the case where the three-dimensional model and the second three-dimensional model imitating the second object that is not the target to be detected are virtually arranged, the first value in the confidence value specifying unit is the first area. A ratio hidden by an image region indicating the second three-dimensional model included in one image is used for specifying the first confidence value, and the second region is included in the second image. The ratio hidden by the image area indicating the model is used to specify the second confidence value.
The selection device according to any one of claims 1 to 3.
前記信頼値特定部は、前記記憶部を参照し、前記第1画像に含まれる前記三次元モデルを示す画像の位置に関連付けられている前記第1信頼値を取得するとともに、前記第2画像に含まれる前記三次元モデルを示す画像の位置に関連付けられている前記第2信頼値を取得することにより、前記第1信頼値及び前記第2信頼値を特定する、
請求項1に記載の選択装置。 Information associating a position in the image of the first image with a first confidence value corresponding to the position, a position in the image of the second image, and a second confidence value corresponding to the position A storage unit for storing the received information,
The confidence value specifying unit refers to the storage unit, acquires the first confidence value associated with the position of the image indicating the three-dimensional model included in the first image, and adds the first confidence value to the second image. Identifying the first confidence value and the second confidence value by obtaining the second confidence value associated with a position of an image indicating the included three-dimensional model;
The selection device according to claim 1.
請求項1から5のいずれか1項に記載の選択装置。 The selection unit is an imaging device used for detecting the object at the predetermined position when a ratio of the first reliability value to the second reliability value corresponding to the predetermined position is greater than or equal to a first threshold value. Used to detect the object at the predetermined position when the first imaging device is selected and the ratio of the second reliability value to the first reliability value corresponding to the predetermined position is greater than or equal to a second threshold value. Selecting the second imaging device as an imaging device to perform,
The selection device according to any one of claims 1 to 5.
請求項1から6のいずれか1項に記載の選択装置。 The selection unit is configured such that a ratio of the first reliability value to the second reliability value corresponding to the predetermined position is less than the first threshold, and the ratio to the first reliability value corresponding to the predetermined position. When the ratio of the second confidence value is less than the second threshold value, the first imaging device and the second imaging device are selected as imaging devices used for detecting the object at the predetermined position.
The selection device according to any one of claims 1 to 6.
請求項1から7のいずれか1項に記載の選択装置。 When the predetermined position is within a first distance from the first imaging device, the selection unit is configured to detect the object at the predetermined position regardless of a ratio between the first reliability value and the second reliability value. When the first imaging device is selected as an imaging device to be used for detection of and the predetermined position is within a second distance from the second imaging device, the first confidence value and the second confidence value Regardless of the ratio, the second imaging device is selected as the imaging device used for detecting the object at the predetermined position.
The selection device according to any one of claims 1 to 7.
前記選択部は、前記三次元空間における複数の位置のそれぞれについて、前記第1信頼値と前記第2信頼値との比率に基づいて前記オブジェクトの検出に使用する撮像装置を選択する、
請求項1から8のいずれか1項に記載の選択装置。 The confidence value specifying unit specifies the first confidence value and the second confidence value when the three-dimensional model is virtually arranged for each of a plurality of positions in the three-dimensional space,
The selection unit selects an imaging device to be used for detection of the object based on a ratio between the first confidence value and the second confidence value for each of a plurality of positions in the three-dimensional space.
The selection device according to any one of claims 1 to 8.
請求項1から9のいずれか1項に記載の選択装置。 A storage control unit that associates and stores device identification information for identifying the imaging device and position information indicating a position selected to use the imaging device for detection of the object in the storage unit;
The selection device according to any one of claims 1 to 9.
前記選択部は、前記所定の位置において前記オブジェクトに対応する複数の形状のそれぞれについて、前記第1信頼値と前記第2信頼値との比率に基づいて前記オブジェクトの検出に使用する撮像装置を選択する、
請求項1から10のいずれか1項に記載の選択装置。 The reliability value specifying unit, for each of a plurality of shapes corresponding to the object at the predetermined position, the first reliability value when the three-dimensional model imitating the shape is arranged at the predetermined position and the Identify a second confidence value,
The selection unit selects an imaging device to be used for detection of the object based on a ratio between the first confidence value and the second confidence value for each of a plurality of shapes corresponding to the object at the predetermined position. To
The selection device according to any one of claims 1 to 10.
請求項11に記載の選択装置。 The reliability value specifying unit, for each of one or more shapes that can be taken by the object at the predetermined position, the first reliability value when the three-dimensional model imitating the shape is arranged at the predetermined position Identifying the second confidence value;
The selection device according to claim 11.
請求項11又は12に記載の選択装置。 A storage control unit that associates and stores device identification information for identifying an imaging device, the shape of the object, and position information indicating a position selected to use the imaging device for detection of the object in a storage unit; In addition,
The selection device according to claim 11 or 12.
所定エリアを示す三次元空間における所定の位置に、前記所定エリアにおいて検出する対象となるオブジェクトを模した三次元モデルを仮想的に配置した場合における、前記所定エリアを撮像する第1撮像装置が撮像する第1画像に含まれる当該三次元モデルを示す画像の領域を示す第1領域と、前記所定エリアを撮像する第2撮像装置が撮像した第2画像に含まれる当該三次元モデルを示す画像の領域を示す第2領域とを特定するステップと、
前記第1領域に基づいて前記オブジェクトの検出を行う場合の当該検出の信頼性を示す第1信頼値と、前記第2領域に基づいて前記オブジェクトの検出を行う場合の当該検出の信頼性の値を示す第2信頼値とを特定するステップと、
前記第1信頼値と前記第2信頼値との比率に基づいて、前記第1撮像装置及び第2撮像装置のうち、前記所定の位置における前記オブジェクトの検出に使用する撮像装置を選択するステップと、
を備える選択方法。 The computer runs,
When a three-dimensional model imitating an object to be detected in the predetermined area is virtually arranged at a predetermined position in a three-dimensional space indicating the predetermined area, the first imaging device that captures the predetermined area captures an image A first region indicating an image region indicating the three-dimensional model included in the first image, and an image indicating the three-dimensional model included in the second image captured by the second imaging device that captures the predetermined area. Identifying a second region indicative of the region;
A first reliability value indicating the reliability of the detection when the object is detected based on the first area, and a reliability value of the detection when the object is detected based on the second area Identifying a second confidence value indicative of
Selecting an imaging device to be used for detection of the object at the predetermined position from the first imaging device and the second imaging device based on a ratio between the first confidence value and the second confidence value; ,
A selection method comprising:
所定エリアを示す三次元空間における所定の位置に、前記所定エリアにおいて検出する対象となるオブジェクトを模した三次元モデルを仮想的に配置した場合における、前記所定エリアを撮像する第1撮像装置が撮像する第1画像に含まれる当該三次元モデルを示す画像の領域を示す第1領域と、前記所定エリアを撮像する第2撮像装置が撮像した第2画像に含まれる当該三次元モデルを示す画像の領域を示す第2領域とを特定する領域特定部、
前記第1領域に基づいて前記オブジェクトの検出を行う場合の当該検出の信頼性を示す第1信頼値と、前記第2領域に基づいて前記オブジェクトの検出を行う場合の当該検出の信頼性の値を示す第2信頼値とを特定する信頼値特定部、及び、
前記第1信頼値と前記第2信頼値との比率に基づいて、前記第1撮像装置及び第2撮像装置のうち、前記所定の位置における前記オブジェクトの検出に使用する撮像装置を選択する選択部、
として機能させる選択プログラム。
Computer
When a three-dimensional model imitating an object to be detected in the predetermined area is virtually arranged at a predetermined position in a three-dimensional space indicating the predetermined area, the first imaging device that captures the predetermined area captures an image A first region indicating an image region indicating the three-dimensional model included in the first image, and an image indicating the three-dimensional model included in the second image captured by the second imaging device that captures the predetermined area. An area specifying unit for specifying the second area indicating the area;
A first reliability value indicating the reliability of the detection when the object is detected based on the first area, and a reliability value of the detection when the object is detected based on the second area A confidence value identifying unit that identifies a second confidence value indicating
A selection unit that selects, from the first imaging device and the second imaging device, an imaging device to be used for detecting the object at the predetermined position based on a ratio between the first reliability value and the second reliability value. ,
Selection program to function as.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018078646A JP6929241B2 (en) | 2018-04-16 | 2018-04-16 | Selection device, selection method and selection program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018078646A JP6929241B2 (en) | 2018-04-16 | 2018-04-16 | Selection device, selection method and selection program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2019186858A true JP2019186858A (en) | 2019-10-24 |
| JP6929241B2 JP6929241B2 (en) | 2021-09-01 |
Family
ID=68337726
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018078646A Active JP6929241B2 (en) | 2018-04-16 | 2018-04-16 | Selection device, selection method and selection program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6929241B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115830104A (en) * | 2022-12-14 | 2023-03-21 | 杭州海康威视数字技术股份有限公司 | Moving path generation method and device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001175860A (en) * | 1999-12-17 | 2001-06-29 | Nec Corp | Device, method, and recording medium for three- dimensional body recognition including feedback process |
| JP2011097284A (en) * | 2009-10-28 | 2011-05-12 | Panasonic Corp | Monitoring device |
| JP2018004310A (en) * | 2016-06-28 | 2018-01-11 | キヤノン株式会社 | Information processing device, measurement system, information processing method and program |
-
2018
- 2018-04-16 JP JP2018078646A patent/JP6929241B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001175860A (en) * | 1999-12-17 | 2001-06-29 | Nec Corp | Device, method, and recording medium for three- dimensional body recognition including feedback process |
| JP2011097284A (en) * | 2009-10-28 | 2011-05-12 | Panasonic Corp | Monitoring device |
| JP2018004310A (en) * | 2016-06-28 | 2018-01-11 | キヤノン株式会社 | Information processing device, measurement system, information processing method and program |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115830104A (en) * | 2022-12-14 | 2023-03-21 | 杭州海康威视数字技术股份有限公司 | Moving path generation method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP6929241B2 (en) | 2021-09-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9996974B2 (en) | Method and apparatus for representing a physical scene | |
| EP2866088B1 (en) | Information processing apparatus and method | |
| US11490062B2 (en) | Information processing apparatus, information processing method, and storage medium | |
| JP5251987B2 (en) | Person determination device, method and program | |
| CN106484098B (en) | The real time interactive operation system and method for user interface | |
| JP5913709B1 (en) | Image generation apparatus, image generation method, and image generation program | |
| JP2019067323A (en) | Information processing apparatus, information processing method, and recording medium | |
| JP2015079433A5 (en) | ||
| JP2019219248A (en) | Point group processor, method for processing point group, and program | |
| JP2021016547A (en) | Program, recording medium, object detection device, object detection method, and object detection system | |
| JP2021043141A (en) | Object distance estimation device and object distance estimation method | |
| JP6929241B2 (en) | Selection device, selection method and selection program | |
| JP6894398B2 (en) | Object tracking device, object tracking method, and object tracking program | |
| JP7500333B2 (en) | GENERATION DEVICE, GENERATION METHOD, AND PROGRAM | |
| JP6937266B2 (en) | Area selection device, area selection method, and area selection program | |
| JP7810171B2 (en) | Information processing device, information processing method, and program | |
| JP2013211741A (en) | Image monitoring device | |
| US20230334807A1 (en) | Information processing device, information processing method, and program | |
| JP2019168251A (en) | Shape measuring apparatus, shape measuring method, and program | |
| JP2025036018A (en) | Information processing device, method, program, and system | |
| WO2026000189A1 (en) | Safety boundary adjustment method, display device, display system and computer storage medium | |
| JPH07105409A (en) | Collision detection device for three-dimensional moving body | |
| US20210343040A1 (en) | Object tracking | |
| JP2021144358A (en) | Learning apparatus, estimation apparatus, learning method, and program | |
| JP2013211739A (en) | Image monitoring device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200529 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210531 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210706 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210720 |
|
| 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: 20210803 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210810 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6929241 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |