JP6898883B2 - Connection device, connection method and connection program - Google Patents

Connection device, connection method and connection program Download PDF

Info

Publication number
JP6898883B2
JP6898883B2 JP2018078647A JP2018078647A JP6898883B2 JP 6898883 B2 JP6898883 B2 JP 6898883B2 JP 2018078647 A JP2018078647 A JP 2018078647A JP 2018078647 A JP2018078647 A JP 2018078647A JP 6898883 B2 JP6898883 B2 JP 6898883B2
Authority
JP
Japan
Prior art keywords
connected graph
graph
flow line
graphs
period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018078647A
Other languages
Japanese (ja)
Other versions
JP2019186859A (en
Inventor
有哉 巻渕
有哉 巻渕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KDDI Corp
Original Assignee
KDDI Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KDDI Corp filed Critical KDDI Corp
Priority to JP2018078647A priority Critical patent/JP6898883B2/en
Publication of JP2019186859A publication Critical patent/JP2019186859A/en
Application granted granted Critical
Publication of JP6898883B2 publication Critical patent/JP6898883B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Image Analysis (AREA)

Description

本発明は、オブジェクトの追跡結果を示す連結グラフを接続する接続装置、接続方法及び接続プログラムに関する。 The present invention relates to a connecting device, a connecting method and a connecting program for connecting a connected graph showing a tracking result of an object.

従来、所定エリアにおけるオブジェクトの移動軌跡を示す動線を生成するにあたり、複数の撮像装置から取得した複数の画像に基づいて、オブジェクトを追跡することが行われている(例えば、特許文献1参照)。 Conventionally, in generating a flow line indicating a movement trajectory of an object in a predetermined area, the object is tracked based on a plurality of images acquired from a plurality of imaging devices (see, for example, Patent Document 1). ..

特開2016−139949号公報Japanese Unexamined Patent Publication No. 2016-139949

ところで、オブジェクトの追跡を高速に行うために、追跡対象の時区間を分割し、各分割区間におけるオブジェクトの追跡を並列に実行することが行われている。しかしながら、追跡対象の時区間を分割すると、各分割区間の間でオブジェクトの追跡結果が途切れてしまうという問題が発生する。そこで、時区間の分割により途切れたオブジェクトの追跡結果を精度良く接続することが求められている。 By the way, in order to track an object at high speed, the time interval of the tracking target is divided, and the tracking of the object in each divided interval is executed in parallel. However, when the time interval of the tracking target is divided, there arises a problem that the tracking result of the object is interrupted between each divided interval. Therefore, it is required to accurately connect the tracking results of objects that are interrupted by the time interval division.

そこで、本発明はこれらの点に鑑みてなされたものであり、時区間の分割により途切れたオブジェクトの追跡結果を精度良く接続することができる接続装置、接続方法及び接続プログラムを提供することを目的とする。 Therefore, the present invention has been made in view of these points, and an object of the present invention is to provide a connection device, a connection method, and a connection program capable of accurately connecting tracking results of objects interrupted by time interval division. And.

本発明の第1の態様に係る接続装置は、所定エリアを撮像する第1撮像装置により第1期間に撮像された複数の画像に基づく一以上のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す動線としての一以上の第1動線と、前記所定エリアを撮像する第2撮像装置により前記第1期間に撮像された複数の画像に対応する前記動線としての一以上の第2動線とを、前記第1動線が示すオブジェクトと前記第2動線が示すオブジェクトとの同一性判定の結果に基づいて接続した連結グラフである第1連結グラフを一以上含む第1追跡結果情報と、前記第1期間に隣接する第2期間に対応する前記連結グラフである第2連結グラフを一以上含む第2追跡結果情報とを取得する取得部と、前記取得部が取得した前記第1追跡結果情報に含まれる第1連結グラフと接続する対象となる第2連結グラフを、前記取得部が取得した前記第2追跡結果情報に含まれる一以上の第2連結グラフから選択する選択部と、前記第1連結グラフと、当該第1連結グラフに対して前記選択部が選択した前記第2連結グラフとを接続した連結グラフを生成した場合に、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が含まれているか否かを判定することにより、前記連結グラフに矛盾が生じているか否かを判定する判定部と、前記判定部により前記連結グラフに前記矛盾が生じていないと判定されると、前記第1連結グラフと、当該第1連結グラフに対して選択された前記第2連結グラフとを接続する接続部と、を備える。 The connecting device according to the first aspect of the present invention shows the tracking results of one or more objects based on a plurality of images captured in the first period by the first imaging device that images a predetermined area, and shows the same object. As one or more first movement lines as movement lines indicating the positions at each time of the above, and as the movement lines corresponding to a plurality of images captured in the first period by the second imaging device that images the predetermined area. One or more connected graphs, which are connected graphs in which one or more second movement lines are connected based on the result of identification determination between the object indicated by the first movement line and the object indicated by the second movement line. An acquisition unit that acquires the first tracking result information including the first tracking result information and the second tracking result information including one or more second linked graphs that are the connected graphs corresponding to the second period adjacent to the first period, and the acquisition unit. The second connected graph to be connected to the first connected graph included in the first tracking result information acquired by the acquisition unit is one or more second connected graphs included in the second tracking result information acquired by the acquisition unit. When a connected graph in which the selection unit selected from the above, the first connected graph, and the second connected graph selected by the selection unit is connected to the first connected graph is generated, a plurality of flow lines are used. Therefore, a determination unit for determining whether or not there is a contradiction in the connected graph by determining whether or not a plurality of flow lines with overlapping corresponding imaging devices and corresponding times are included, and the above-mentioned When the determination unit determines that the connected graph does not have the inconsistency, the connecting unit that connects the first connected graph and the second connected graph selected for the first connected graph To be equipped.

前記選択部は、前記第1連結グラフにおいて前記第1期間と前記第2期間との境界位置に対応する前記第1動線が含まれている場合には、当該第1動線と前記第2連結グラフにおいて前記境界位置に対応する前記第1動線とに基づいて、前記第1連結グラフと接続する対象となる第2連結グラフを選択するとともに、前記第1連結グラフにおいて前記境界位置に対応する前記第2動線が含まれている場合には、当該第2動線と、前記第2連結グラフにおいて前記境界位置に対応する前記第2動線とに基づいて、前記第1連結グラフと接続する対象となる第2連結グラフを選択してもよい。 When the selection unit includes the first movement line corresponding to the boundary position between the first period and the second period in the first connected graph, the first movement line and the second movement line are included. Based on the first flow line corresponding to the boundary position in the connected graph, the second connected graph to be connected to the first connected graph is selected, and the first connected graph corresponds to the boundary position. When the second moving line is included, the first connected graph is based on the second moving line and the second moving line corresponding to the boundary position in the second connected graph. You may select the second connected graph to be connected.

前記選択部は、前記第1連結グラフにおいて前記境界位置に対応する動線と、前記第2連結グラフにおいて前記境界位置に対応する動線との適合度を算出し、適合度が相対的に高い第2連結グラフを、前記第1連結グラフと接続する対象となる第2連結グラフとして選択してもよい。 The selection unit calculates the degree of conformity between the flow line corresponding to the boundary position in the first connected graph and the flow line corresponding to the boundary position in the second connected graph, and the degree of conformity is relatively high. The second connected graph may be selected as the second connected graph to be connected to the first connected graph.

前記選択部は、前記第1連結グラフにおいて前記境界位置に対応する動線が示す前記所定エリアにおける位置と、前記第2連結グラフにおいて前記境界位置に対応する動線が示す前記所定エリアにおける位置とに基づいて、前記適合度を算出してもよい。 The selection unit includes a position in the predetermined area indicated by a flow line corresponding to the boundary position in the first connected graph and a position in the predetermined area indicated by a flow line corresponding to the boundary position in the second connected graph. The degree of conformity may be calculated based on the above.

前記選択部は、前記第1期間において前記境界位置に対応する前記画像に含まれる、前記第1連結グラフに対応する動線が示すオブジェクトを示す画像と、前記第2期間において前記境界位置に対応する前記画像に含まれる、前記第2連結グラフに対応する動線が示すオブジェクトを示す画像との類似度に基づいて、前記適合度を算出してもよい。 The selection unit corresponds to an image showing an object indicated by a flow line corresponding to the first connected graph included in the image corresponding to the boundary position in the first period and the boundary position in the second period. The degree of conformity may be calculated based on the degree of similarity with the image showing the object indicated by the flow line corresponding to the second connected graph included in the image.

前記選択部は、前記第1連結グラフと、前記第2追跡結果情報に含まれる一以上の第2連結グラフのそれぞれとの適合する度合いを示す適合度を算出し、一以上の当該第2連結グラフのうち、他の第2連結グラフに対応する適合度との比率が所定の閾値を超える第2連結グラフを、前記第1連結グラフと接続する対象となる第2連結グラフとして選択してもよい。 The selection unit calculates a degree of conformity indicating the degree of conformity between the first connected graph and one or more of the second connected graphs included in the second tracking result information, and one or more of the second connected graphs. Of the graphs, a second connected graph whose ratio to the degree of conformity corresponding to another second connected graph exceeds a predetermined threshold may be selected as the second connected graph to be connected to the first connected graph. Good.

前記選択部は、前記第1追跡結果情報から一の第1連結グラフを選択し、選択した第1連結グラフに含まれる前記境界位置に対応する動線に対して適合度を算出した前記境界位置に対応する動線を含む一以上の第2連結グラフのうち、適合度が相対的に高い動線を含む第2連結グラフを、選択した第1連結グラフに対する接続対象候補として選択し、接続対象候補として選択した第2連結グラフに含まれる前記境界位置に対応する動線と、前記第1追跡結果情報に含まれる一以上の第1連結グラフのそれぞれに含まれる前記境界位置に対応する動線との適合度を算出し、前記一以上の第1連結グラフのうち、適合度が相対的に高い動線を含む第1連結グラフと、選択した第1連結グラフとが一致した場合に、接続対象候補として選択した第2連結グラフを、選択した第1連結グラフと接続させる第2連結グラフとして選択してもよい。 The selection unit selects one first connected graph from the first tracking result information, and calculates the degree of conformity with respect to the flow line corresponding to the boundary position included in the selected first connected graph. Among one or more second connected graphs including the flow lines corresponding to, the second connected graph including the flow lines having a relatively high degree of conformity is selected as the connection target candidate for the selected first connected graph, and the connection target is selected. A flow line corresponding to the boundary position included in the second connected graph selected as a candidate and a flow line corresponding to the boundary position included in each of one or more first connected graphs included in the first tracking result information. When the first connected graph including the flow line with a relatively high degree of conformity and the selected first connected graph match among the one or more first connected graphs, the connection is made. The second connected graph selected as the target candidate may be selected as the second connected graph to be connected to the selected first connected graph.

前記選択部は、前記第1追跡結果情報に含まれる第1連結グラフ又は前記第2追跡結果情報に含まれる第2連結グラフにおいて、前記第1期間と前記第2期間との境界位置に対応する動線である到達動線と接続されている動線が、前記境界位置まで到達していない動線である非到達動線である場合に、当該到達動線に対応する位置情報に基づいて、当該非到達動線を前記境界位置まで延長させてもよい。 The selection unit corresponds to the boundary position between the first period and the second period in the first connected graph included in the first tracking result information or the second connected graph included in the second tracking result information. When the flow line connected to the arrival flow line which is the flow line is a non-reachable flow line which is a flow line which has not reached the boundary position, based on the position information corresponding to the arrival flow line, The non-reachable flow line may be extended to the boundary position.

前記接続部は、前記判定部により前記連結グラフに前記矛盾が生じてないと判定された複数の前記第2連結グラフのうち、前記第1連結グラフに対して適合度が相対的に高い前記第2連結グラフと、前記第1連結グラフとを接続してもよい。 The connection unit has a relatively high degree of conformity with respect to the first connection graph among the plurality of second connection graphs for which the determination unit has determined that the connection graph does not have the contradiction. The two connected graph and the first connected graph may be connected.

本発明の第2の態様に係る接続方法は、コンピュータが実行する、所定エリアを撮像する第1撮像装置により第1期間に撮像された複数の画像に基づく一以上のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す動線としての一以上の第1動線と、前記所定エリアを撮像する第2撮像装置により前記第1期間に撮像された複数の画像に対応する前記動線としての一以上の第2動線とを、前記第1動線が示すオブジェクトと前記第2動線が示すオブジェクトとの同一性判定の結果に基づいて接続した連結グラフである第1連結グラフを一以上含む第1追跡結果情報と、前記第1期間に隣接する第2期間に対応する前記連結グラフである第2連結グラフを一以上含む第2追跡結果情報とを取得するステップと、取得された前記第1追跡結果情報に含まれる第1連結グラフと接続する対象となる第2連結グラフを、取得された前記第2追跡結果情報に含まれる一以上の第2連結グラフから選択するステップと、前記第1連結グラフと、当該第1連結グラフに対して選択された前記第2連結グラフとを接続した連結グラフを生成した場合に、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が含まれているか否かを判定することにより、前記連結グラフに矛盾が生じているか否かを判定するステップと、前記連結グラフに前記矛盾が生じていないと判定されると、前記第1連結グラフと、当該第1連結グラフに対して選択された前記第2連結グラフとを接続するステップと、を備える。 In the connection method according to the second aspect of the present invention, each tracking result of one or more objects based on a plurality of images captured in the first period by a first imaging device that images a predetermined area, which is executed by a computer, is obtained. It corresponds to one or more first movement lines as movement lines indicating the positions of the same object at each time, and a plurality of images captured in the first period by the second imaging device that images the predetermined area. A first connected graph in which one or more second movement lines as the movement lines are connected based on the result of identification determination between the object indicated by the first movement line and the object indicated by the second movement line. A step of acquiring first trace result information including one or more connected graphs and second tracking result information including one or more second connected graphs which are the connected graphs corresponding to the second period adjacent to the first period. , The second connected graph to be connected to the first connected graph included in the acquired first tracking result information is selected from one or more second connected graphs included in the acquired second tracking result information. When a connected graph is generated in which the steps to be performed, the first connected graph, and the second connected graph selected for the first connected graph are connected, there are a plurality of flow lines and corresponding imaging. The step of determining whether or not there is a contradiction in the connected graph by determining whether or not a plurality of flow lines with overlapping devices and corresponding times are included, and the contradiction occurs in the connected graph. If it is determined that the case is not present, the first connected graph is provided with a step of connecting the second connected graph selected for the first connected graph.

本発明の第3の態様に係る接続プログラムは、コンピュータを、所定エリアを撮像する第1撮像装置により第1期間に撮像された複数の画像に基づく一以上のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す動線としての一以上の第1動線と、前記所定エリアを撮像する第2撮像装置により前記第1期間に撮像された複数の画像に対応する前記動線としての一以上の第2動線とを、前記第1動線が示すオブジェクトと前記第2動線が示すオブジェクトとの同一性判定の結果に基づいて接続した連結グラフである第1連結グラフを一以上含む第1追跡結果情報と、前記第1期間に隣接する第2期間に対応する前記連結グラフである第2連結グラフを一以上含む第2追跡結果情報とを取得する取得部、前記取得部が取得した前記第1追跡結果情報に含まれる第1連結グラフと接続する対象となる第2連結グラフを、前記取得部が取得した前記第2追跡結果情報に含まれる一以上の第2連結グラフから選択する選択部、前記第1連結グラフと、当該第1連結グラフに対して前記選択部が選択した前記第2連結グラフとを接続した連結グラフを生成した場合に、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が含まれているか否かを判定することにより、前記連結グラフに矛盾が生じているか否かを判定する判定部、及び、前記判定部により前記連結グラフに前記矛盾が生じていないと判定されると、前記第1連結グラフと、当該第1連結グラフに対して選択された前記第2連結グラフとを接続する接続部、として機能させる。 The connection program according to a third aspect of the present invention shows a computer, each tracking result of one or more objects based on a plurality of images captured in a first period by a first imaging device that images a predetermined area. One or more first movement lines as movement lines indicating the positions of the same object at each time, and the movement corresponding to a plurality of images captured in the first period by a second imaging device that images the predetermined area. A first connected graph which is a connected graph in which one or more second flow lines as lines are connected based on the result of identification determination between the object indicated by the first movement line and the object indicated by the second movement line. The acquisition unit that acquires the first tracking result information including one or more and the second tracking result information including one or more second linked graphs corresponding to the second period adjacent to the first period. One or more second connected graphs to be connected to the first connected graph included in the first tracking result information acquired by the acquisition unit are included in the second tracking result information acquired by the acquisition unit. When a connected graph is generated in which a selection unit selected from a connected graph, the first connected graph, and the second connected graph selected by the selection unit are connected to the first connected graph, a plurality of flow lines are generated. Therefore, a determination unit for determining whether or not there is a contradiction in the connected graph by determining whether or not a corresponding image pickup device and a plurality of moving lines having overlapping corresponding times are included, and a determination unit. When the determination unit determines that the connected graph does not have the inconsistency, the connection unit that connects the first connected graph and the second connected graph selected for the first connected graph. To function as ,.

本発明によれば、時区間の分割により途切れたオブジェクトの追跡結果を精度良く接続することができるという効果を奏する。 According to the present invention, there is an effect that the tracking results of objects interrupted by the time interval division can be connected with high accuracy.

本実施形態に係るオブジェクト追跡システムの構成を示す図である。It is a figure which shows the structure of the object tracking system which concerns on this embodiment. 本実施形態に係る第1撮像装置及び第2撮像装置の設置位置と、撮像範囲とを示す図である。It is a figure which shows the installation position of the 1st image pickup apparatus and the 2nd image pickup apparatus which concerns on this Embodiment, and the image pickup range. 第1撮像装置と第2撮像装置とが撮像した動画に基づくオブジェクトの追跡結果の例を示す図である。It is a figure which shows the example of the tracking result of the object based on the moving image which the 1st image pickup apparatus and the 2nd image pickup apparatus imaged. 図3に示す追跡結果に対応する動画を、第1期間に対応する動画と、第2期間に対応する動画に分けたときのオブジェクトの追跡結果の例を示す図である。It is a figure which shows the example of the tracking result of the object when the moving image corresponding to the tracking result shown in FIG. 3 is divided into the moving image corresponding to the 1st period, and the moving image corresponding to the 2nd period. 本実施形態に係る接続装置の構成を示す図である。It is a figure which shows the structure of the connection device which concerns on this embodiment. 本実施形態に係る接続装置に係る処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process which concerns on the connection apparatus which concerns on this embodiment. 第1連結グラフに対して第2連結グラフが選択されたときの選択パターンを示す図である。It is a figure which shows the selection pattern when the 2nd connected graph is selected with respect to the 1st connected graph. 非到達動線を境界位置まで延長させた例を示す図である。It is a figure which shows the example which extended the non-reachable flow line to a boundary position. 複数の期間のそれぞれに対して連結グラフの接続を繰り返した例を示す図である。It is a figure which shows the example which repeated the connection of the connected graph for each of a plurality of periods.

[オブジェクト追跡システムSの概要]
図1は、本実施形態に係るオブジェクト追跡システムSの構成を示す図である。オブジェクト追跡システムSは、第1撮像装置1Aと、第2撮像装置1Bと、オブジェクト追跡装置2と、接続装置3とを備える。
[Overview 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 first imaging device 1A, a second imaging device 1B, an object tracking device 2, and a connecting device 3.

第1撮像装置1Aと、第2撮像装置1Bとは、所定エリアを撮像することにより動画を生成する撮像装置である。ここで、所定エリアは、例えば店舗のフロアである。所定エリアには、オブジェクト追跡システムSにおいて移動の軌跡を追跡する対象のオブジェクトとして、店員等の人物が存在する。第1撮像装置1A及び第2撮像装置1Bのそれぞれは、所定エリアの少なくとも一部を含む全方位画像を撮像することにより、複数の画像を含む動画を生成する。複数の画像のそれぞれには、画像が撮像された撮像時刻が関連付けられているものとする。 The first imaging device 1A and the second imaging device 1B are imaging devices that generate moving images by imaging a predetermined area. Here, the predetermined area is, for example, the floor of a store. In the predetermined area, a person such as a clerk exists as an object to be tracked by the object tracking system S. Each of the first imaging device 1A and the second imaging device 1B generates a moving image including a plurality of images by capturing an omnidirectional image including at least a part of a predetermined area. It is assumed that the imaging time at which the image was captured is associated with each of the plurality of images.

ここで、第1撮像装置1Aが撮像可能な範囲と第2撮像装置1Bが撮像可能な範囲とは、少なくとも一部で重複しているものとする。図2は、本実施形態に係る第1撮像装置1A及び第2撮像装置1Bの設置位置と、撮像範囲とを示す図である。図2に示すように、所定エリアAには、第1撮像装置1Aと第2撮像装置1Bとが設置されている。また、図2には、第1撮像装置1Aの撮像範囲R1と、第2撮像装置1Bの撮像範囲R2とが示されている。図2に示すように、撮像範囲R1と撮像範囲R2とは、一部が重複していることが確認できる。なお、本実施形態において、第1撮像装置1A及び第2撮像装置1Bのそれぞれは、全方位画像を撮像するものとしたが、これに限らず、全方位画像ではない画像を撮像してもよい。 Here, it is assumed that the range in which the first imaging device 1A can take an image and the range in which the second imaging device 1B can take an image overlap at least in part. FIG. 2 is a diagram showing the installation positions of the first imaging device 1A and the second imaging device 1B and the imaging range according to the present embodiment. As shown in FIG. 2, a first imaging device 1A and a second imaging device 1B are installed in the predetermined area A. Further, FIG. 2 shows an imaging range R1 of the first imaging device 1A and an imaging range R2 of the second imaging device 1B. As shown in FIG. 2, it can be confirmed that the imaging range R1 and the imaging range R2 partially overlap. In the present embodiment, each of the first imaging device 1A and the second imaging device 1B is intended to capture an omnidirectional image, but the present invention is not limited to this, and an image other than the omnidirectional image may be captured. ..

オブジェクト追跡装置2は、第1撮像装置1Aから複数の画像を含む動画を取得するとともに、第2撮像装置1Bから複数の画像を含む動画を取得する。オブジェクト追跡装置2は、取得した動画を解析することにより、所定エリアを移動するオブジェクトを追跡し、オブジェクトの移動軌跡としての動線を生成する。図3は、第1撮像装置1Aと第2撮像装置1Bとが撮像した動画に基づくオブジェクトの追跡結果の例を示す図である。 The object tracking device 2 acquires a moving image including a plurality of images from the first imaging device 1A, and acquires a moving image including a plurality of images from the second imaging device 1B. The object tracking device 2 tracks an object moving in a predetermined area by analyzing the acquired moving image, and generates a flow line as a movement locus of the object. FIG. 3 is a diagram showing an example of tracking results of objects based on moving images captured by the first imaging device 1A and the second imaging device 1B.

図3に示す例では、第1撮像装置1Aにより撮像された複数の画像に基づくオブジェクトの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す動線として、動線LA1、LA2、LA3が特定されていることが確認できる。また、図3に示す例では、第2撮像装置1Bにより撮像された複数の画像に基づくオブジェクトの追跡結果を示す動線として、動線LB1、LB2、LB3が特定されていることが確認できる。以下の説明では、第1撮像装置1Aが撮像した画像に基づいて特定される動線を第1動線、第2撮像装置1Bが撮像した画像に基づいて特定される動線を第2動線という。 In the example shown in FIG. 3, the tracking results of objects based on a plurality of images captured by the first imaging device 1A are shown, and the flow lines LA1, LA2, and LA3 are used as the flow lines indicating the positions of the same object at each time. It can be confirmed that it has been identified. Further, in the example shown in FIG. 3, it can be confirmed that the flow lines LB1, LB2, and LB3 are specified as the flow lines showing the tracking results of the objects based on the plurality of images captured by the second imaging device 1B. In the following description, the flow line specified based on the image captured by the first imaging device 1A is the first flow line, and the flow line specified based on the image captured by the second imaging device 1B is the second flow line. That is.

オブジェクト追跡装置2は、第1動線が示すオブジェクトと第2動線が示すオブジェクトとの同一性判定の結果に基づいて、第1動線と第2動線とを接続する。オブジェクト追跡装置2は、第1動線と第2動線とが接続されていることを示す追跡接続情報を生成することにより、第1動線と第2動線とを接続する。図3に示す例では、第1動線LA3と、第2動線LB3とが、追跡接続情報Cによって接続されていることが確認できる。 The object tracking device 2 connects the first flow line and the second flow line based on the result of the identity determination between the object indicated by the first flow line and the object indicated by the second flow line. The object tracking device 2 connects the first flow line and the second flow line by generating tracking connection information indicating that the first flow line and the second flow line are connected. In the example shown in FIG. 3, it can be confirmed that the first flow line LA3 and the second flow line LB3 are connected by the tracking connection information C.

本実施形態において、オブジェクト追跡装置2は、オブジェクトの追跡を高速に行うために、追跡対象の時区間を分割し、各分割区間におけるオブジェクトの追跡を並列に実行する。すなわち、オブジェクト追跡装置2は、第1撮像装置1A及び第2撮像装置1Bが生成した動画を、動画の再生時間を、複数の期間に分割し、それぞれの動画に基づいてオブジェクトの追跡を並列に実行する。 In the present embodiment, the object tracking device 2 divides the time interval of the tracking target and executes the tracking of the object in each divided section in parallel in order to track the object at high speed. That is, the object tracking device 2 divides the video reproduction time of the moving images generated by the first imaging device 1A and the second imaging device 1B into a plurality of periods, and tracks the objects in parallel based on the respective moving images. Execute.

図4は、図3に示す追跡結果に対応する動画を、第1期間に対応する動画と、第2期間に対応する動画に分割したときのオブジェクトの追跡結果の例を示す図である。ここで、第2期間は、第1期間に隣接する期間であるものとする。図4では、第1期間に対応する追跡結果として、第1動線LA1−1、LA1−2及びLA1−3と、第2動線LB1−1、LB1−2及びLB1−3とが特定されていることが確認できる。また、図4では、第2期間に対応する追跡結果として、第1動線LA2−1及びLA2−2と、第2動線LB2−1及びLB2−2とが特定されていることが確認できる。また、図4では、第1動線LA1−3と、第2動線LB1−3とが、追跡接続情報Cによって接続されていることが確認できる。 FIG. 4 is a diagram showing an example of the tracking result of the object when the moving image corresponding to the tracking result shown in FIG. 3 is divided into the moving image corresponding to the first period and the moving image corresponding to the second period. Here, the second period is assumed to be a period adjacent to the first period. In FIG. 4, the first flow lines LA1-1, LA1-2 and LA1-3 and the second flow lines LB1-1, LB1-2 and LB1-3 are identified as the tracking results corresponding to the first period. It can be confirmed that it is. Further, in FIG. 4, it can be confirmed that the first flow lines LA2-1 and LA2-2 and the second flow lines LB2-1 and LB2-2 are specified as the tracking results corresponding to the second period. .. Further, in FIG. 4, it can be confirmed that the first flow line LA1-3 and the second flow line LB1-3 are connected by the tracking connection information C.

複数の期間に分割してオブジェクトを追跡する場合には、図4に示すように、追跡結果が途切れてしまう。そこで、接続装置3は、対応する可能性が高い2つの追跡結果を接続する。この場合において、接続装置3は、接続した後の追跡結果に矛盾が生じているか否かを判定し、矛盾が生じていないと判定すると、これらの追跡結果を接続する。このようにすることで、接続装置3は、時区間の分割により途切れたオブジェクトの追跡結果を精度良く接続することができる。 When the object is tracked by dividing it into a plurality of periods, the tracking result is interrupted as shown in FIG. Therefore, the connecting device 3 connects two tracking results that are likely to correspond. In this case, the connecting device 3 determines whether or not there is a contradiction in the tracking results after the connection, and if it is determined that there is no contradiction, connects these tracking results. By doing so, the connecting device 3 can accurately connect the tracking result of the object interrupted by the time interval division.

[接続装置3の構成]
続いて、接続装置3の構成を説明する。図5は、本実施形態に係る接続装置3の構成を示す図である。図5に示すように、接続装置3は、記憶部31と、制御部32とを備える。
[Configuration of connection device 3]
Subsequently, the configuration of the connecting device 3 will be described. FIG. 5 is a diagram showing a configuration of a connecting device 3 according to the present embodiment. As shown in FIG. 5, the connecting device 3 includes a storage unit 31 and a control unit 32.

記憶部31は、ROM(Read Only Memory)及びRAM(Random Access Memory)等を含む記憶媒体である。記憶部31は、制御部32が実行するプログラムを記憶している。例えば、記憶部31は、接続装置3を、取得部321、選択部322、判定部323、及び接続部324として機能させる接続プログラムを記憶している。 The storage unit 31 is a storage medium including a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. The storage unit 31 stores a program executed by the control unit 32. For example, the storage unit 31 stores a connection program that causes the connection device 3 to function as the acquisition unit 321, the selection unit 322, the determination unit 323, and the connection unit 324.

制御部32は、例えばCPU(Central Processing Unit)又はGPU(Graphics Processing Unit)である。制御部32は、記憶部31に記憶された接続プログラムを実行することにより、取得部321、選択部322、判定部323、及び接続部324として機能する。 The control unit 32 is, for example, a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit). The control unit 32 functions as an acquisition unit 321, a selection unit 322, a determination unit 323, and a connection unit 324 by executing the connection program stored in the storage unit 31.

以下、接続装置3における処理の流れを参照しながら、取得部321、選択部322、判定部323、及び接続部324の詳細について説明する。図6は、本実施形態に係る接続装置3に係る処理の流れを示すフローチャートである。 Hereinafter, the details of the acquisition unit 321, the selection unit 322, the determination unit 323, and the connection unit 324 will be described with reference to the processing flow in the connection device 3. FIG. 6 is a flowchart showing a flow of processing according to the connecting device 3 according to the present embodiment.

まず、取得部321は、オブジェクト追跡装置2から、オブジェクトの追跡結果を示す追跡結果情報を取得する(S1)。具体的には、取得部321は、第1期間における一以上のオブジェクトの追跡結果を示す第1追跡結果情報と、第2期間における一以上のオブジェクトの追跡結果を示す第2追跡結果情報とを取得する。 First, the acquisition unit 321 acquires tracking result information indicating the tracking result of the object from the object tracking device 2 (S1). Specifically, the acquisition unit 321 obtains the first tracking result information indicating the tracking result of one or more objects in the first period and the second tracking result information indicating the tracking result of one or more objects in the second period. get.

第1追跡結果情報は、一以上の第1連結グラフを含んでいる。第1連結グラフは、第1撮像装置1Aにより第1期間に撮像された複数の画像に基づく一以上のオブジェクトのそれぞれの追跡結果を示す一以上の第1動線と、第2撮像装置1Bにより第1期間に撮像された複数の画像に基づく一以上のオブジェクトのそれぞれの追跡結果を示す一以上の第2動線とを、第1動線が示すオブジェクトと第2動線が示すオブジェクトとの同一性判定の結果に基づいて接続した連結グラフである。 The first tracking result information includes one or more first connected graphs. The first concatenated graph is composed of one or more first flow lines showing the tracking results of one or more objects based on a plurality of images captured in the first period by the first imaging device 1A, and the second imaging device 1B. The object indicated by the first flow line and the object indicated by the second flow line have one or more second flow lines indicating the tracking results of one or more objects based on a plurality of images captured in the first period. It is a concatenated graph connected based on the result of the identity determination.

ここで、動線は、各時刻と、各時刻におけるオブジェクトの位置を示す位置情報とを関連付けた動線情報により示される。例えば、オブジェクトの位置情報は、所定エリアにおけるオブジェクトの位置を示す位置座標、又は撮像装置が撮像した画像におけるオブジェクトの位置を示す位置座標である。また、第1動線と、第2動線とは、同一性判定の結果に対応し、第1動線と第2動線とが接続されていることを示す追跡接続情報により接続される。このため、連結グラフは、一以上の第1動線と、一以上の第2動線と、一以上の追跡接続情報を含んでいる。なお、本実施形態では、第1動線単体又は第2動線単体についても、連結グラフの一形態であるものとする。 Here, the flow line is indicated by the flow line information in which each time is associated with the position information indicating the position of the object at each time. For example, the position information of an object is a position coordinate indicating the position of the object in a predetermined area, or a position coordinate indicating the position of the object in an image captured by an imaging device. Further, the first flow line and the second flow line correspond to the result of the identity determination, and are connected by the tracking connection information indicating that the first flow line and the second flow line are connected. Therefore, the connected graph includes one or more first flow lines, one or more second flow lines, and one or more tracking connection information. In this embodiment, the first flow line alone or the second flow line alone is also one form of the connected graph.

第2追跡結果情報は、一以上の第2連結グラフを含んでいる。第2連結グラフは、第1撮像装置1Aにより第2期間に撮像された複数の画像に基づく一以上の第1動線と、第2撮像装置1Bにより第2期間に撮像された複数の画像に基づく一以上の第2動線とを、第1動線が示すオブジェクトと第2動線が示すオブジェクトとの同一性判定の結果に基づいて接続した連結グラフである。 The second tracking result information includes one or more second connected graphs. The second connected graph is composed of one or more first flow lines based on a plurality of images captured in the second period by the first imaging device 1A and a plurality of images captured in the second period by the second imaging device 1B. It is a connected graph which connected one or more 2nd flow lines based on the result of the identity determination of the object indicated by the 1st flow line and the object indicated by the 2nd flow line.

続いて、選択部322は、取得部321が取得した第1追跡結果情報に含まれる第1連結グラフと接続する第2連結グラフを、取得部321が取得した第2追跡結果情報に含まれる一以上の第2連結グラフから選択する(S2〜S4)。 Subsequently, the selection unit 322 includes the second connected graph connected to the first linked graph included in the first tracking result information acquired by the acquisition unit 321 in the second tracking result information acquired by the acquisition unit 321. Select from the above second connected graph (S2 to S4).

具体的には、選択部322は、複数の第1連結グラフのうち、未選択の第1連結グラフを選択する(S2)。
選択部322は、選択した第1連結グラフにおいて第1期間と第2期間との境界位置に対応する第1動線が含まれている場合には、当該第1動線と、第2連結グラフにおいて当該境界位置に対応する第1動線とに基づいて、第1連結グラフと接続する対象となる第2連結グラフを選択する。なお、選択部322は、境界位置に到達していない動線についても、カルマンフィルタ等を用いて、過去フレームの動線情報をもとに境界位置に到達するまでの動線を補完し、境界位置に到達したものとして扱ってもよい。
Specifically, the selection unit 322 selects an unselected first connected graph from the plurality of first connected graphs (S2).
When the selected first connected graph includes the first flow line corresponding to the boundary position between the first period and the second period, the selection unit 322 sets the first flow line and the second connected graph. In, a second connected graph to be connected to the first connected graph is selected based on the first flow line corresponding to the boundary position. The selection unit 322 uses a Kalman filter or the like to supplement the flow line until it reaches the boundary position based on the flow line information of the past frame even for the flow line that has not reached the boundary position, and the boundary position. May be treated as having reached.

また、選択部322は、選択した第1連結グラフにおいて第1期間と第2期間との境界位置に対応する第2動線が含まれている場合には、当該第2動線と、第2連結グラフにおいて当該境界位置に対応する第2動線とに基づいて、第1連結グラフと接続する対象となる第2連結グラフを選択する。また、選択部322は、選択した第1連結グラフにおいて第1期間と第2期間との境界位置に対応する第1動線及び第2動線が含まれている場合には、当該第1動線と、第2連結グラフにおいて当該境界位置に対応する第1動線とに基づいて、第1連結グラフと接続する対象となる第2連結グラフを選択するとともに、当該第2動線と、第2連結グラフにおいて当該境界位置に対応する第2動線とに基づいて、第1連結グラフと接続する対象となる第2連結グラフを選択する。以下の説明において、第1期間と第2期間との境界位置を、単に境界位置という。 Further, when the selected first connected graph includes the second flow line corresponding to the boundary position between the first period and the second period, the selection unit 322 includes the second flow line and the second flow line. In the connected graph, the second connected graph to be connected to the first connected graph is selected based on the second flow line corresponding to the boundary position. Further, when the selected first connected graph includes the first movement line and the second movement line corresponding to the boundary position between the first period and the second period, the selection unit 322 performs the first movement. Based on the line and the first connected graph corresponding to the boundary position in the second connected graph, the second connected graph to be connected to the first connected graph is selected, and the second connected graph and the second connected graph are selected. In the two connected graph, the second connected graph to be connected to the first connected graph is selected based on the second flow line corresponding to the boundary position. In the following description, the boundary position between the first period and the second period is simply referred to as a boundary position.

以下、選択した第1連結グラフにおいて境界位置に対応する第1動線が含まれている場合において、第1連結グラフと接続する対象となる第2連結グラフを選択するときの処理の詳細を説明する。 Hereinafter, when the selected first connected graph includes the first flow line corresponding to the boundary position, the details of the processing when selecting the second connected graph to be connected to the first connected graph will be described. To do.

具体的には、選択部322は、選択した第1連結グラフにおいて境界位置に対応する動線と、一以上の第2連結グラフのそれぞれにおいて境界位置に対応する動線との適合度を算出する(S3)。 Specifically, the selection unit 322 calculates the goodness of fit between the flow line corresponding to the boundary position in the selected first connected graph and the flow line corresponding to the boundary position in each of one or more second connected graphs. (S3).

ここで、選択部322は、第1連結グラフにおいて境界位置に対応する動線が示す所定エリアにおける位置と、一以上の第2連結グラフのそれぞれにおいて境界位置に対応する動線が示す所定エリアにおける位置とに基づいて適合度を算出する。例えば、選択部322は、選択した第1連結グラフにおいて境界位置に対応する動線を示す動線情報に含まれる、境界位置に対応する位置情報が示す位置と、一以上の第2連結グラフのそれぞれにおいて境界位置に対応する動線を示す動線情報に含まれる、境界位置に対応する位置情報が示す位置との距離を算出し、当該距離に基づいて適合度を算出する。適合度は、境界位置に対応する動線間の距離が近ければ近いほど高くなるものとする。分割位置において対応する動線間の距離は近くなることから、接続装置3は、境界位置に対応する動線間の距離により適合度を算出することにより、精度良く対応する連結グラフを選択することができる。距離の算出は、所定エリアにおける座標系である世界座標系であっても、全方位画像における座標系である画像座標系であってもよい。 Here, the selection unit 322 is a position in a predetermined area indicated by a flow line corresponding to the boundary position in the first connected graph and a predetermined area indicated by a flow line corresponding to the boundary position in each of one or more second connected graphs. The goodness of fit is calculated based on the position. For example, the selection unit 322 includes a position indicated by the position information corresponding to the boundary position included in the flow line information indicating the flow line corresponding to the boundary position in the selected first connected graph, and one or more second connected graphs. In each case, the distance from the position indicated by the position information corresponding to the boundary position included in the flow line information indicating the flow line corresponding to the boundary position is calculated, and the degree of conformity is calculated based on the distance. The goodness of fit shall be higher as the distance between the flow lines corresponding to the boundary position is shorter. Since the distance between the corresponding flow lines at the division position becomes short, the connecting device 3 selects the corresponding connected graph with high accuracy by calculating the goodness of fit from the distance between the flow lines corresponding to the boundary position. Can be done. The calculation of the distance may be a world coordinate system which is a coordinate system in a predetermined area, or an image coordinate system which is a coordinate system in an omnidirectional image.

また、選択部322は、境界位置に対応する動線が示す位置に基づいて適合度を算出したが、これに限らない。選択部322は、第1期間において境界位置に対応する画像に含まれる、第1連結グラフに対応する動線が示すオブジェクトを示す画像と、第2期間において境界位置に対応する画像に含まれる、一以上の第2連結グラフのそれぞれに対応する動線が示すオブジェクトを示す画像との類似度に基づいて適合度を算出してもよい。 Further, the selection unit 322 calculates the goodness of fit based on the position indicated by the flow line corresponding to the boundary position, but the present invention is not limited to this. The selection unit 322 is included in the image showing the object indicated by the flow line corresponding to the first connected graph and the image corresponding to the boundary position in the second period, which is included in the image corresponding to the boundary position in the first period. The degree of conformity may be calculated based on the degree of similarity with the image showing the object indicated by the flow line corresponding to each of the one or more second connected graphs.

この場合において、選択部322は、第1撮像装置1A及び第2撮像装置1Bが撮像した第1期間に対応する複数の画像のうち、撮像時刻が最も新しい画像を選択する。そして、選択部322は、選択した第1連結グラフに対応する動線に含まれる、当該撮像時刻に関連付けられている位置情報を特定し、選択した画像から、特定した位置情報が示す位置に対応する画像を、オブジェクトを示す画像として抽出する。 In this case, the selection unit 322 selects the image having the latest imaging time from the plurality of images corresponding to the first period captured by the first imaging device 1A and the second imaging device 1B. Then, the selection unit 322 specifies the position information associated with the imaging time included in the flow line corresponding to the selected first connected graph, and corresponds to the position indicated by the specified position information from the selected image. The image to be used is extracted as an image showing an object.

また、選択部322は、第1撮像装置1A及び第2撮像装置1Bが撮像した第2期間に対応する複数の画像のうち、撮像時刻が最も古い画像を選択する。選択部322は、当該撮像時刻を含む動線に対応する一以上の第2連結グラフを特定する。そして、選択部322は、特定した一以上の当該第2連結グラフに対応する動線に含まれる、当該撮像時刻に関連付けられている位置情報を特定し、選択した画像から、特定した位置情報が示す位置に対応する画像を、オブジェクトを示す画像として抽出する。 Further, the selection unit 322 selects the image having the oldest imaging time among the plurality of images corresponding to the second period captured by the first imaging device 1A and the second imaging device 1B. The selection unit 322 identifies one or more second connected graphs corresponding to the flow lines including the imaging time. Then, the selection unit 322 specifies the position information associated with the imaging time included in the flow line corresponding to one or more specified second connected graphs, and the specified position information is obtained from the selected image. The image corresponding to the indicated position is extracted as an image indicating the object.

選択部322は、選択した第1連結グラフに対応する動線から抽出したオブジェクトを示す画像と、一以上の第2連結グラフに対応する動線から抽出した複数のオブジェクトを示す画像のそれぞれとの類似度を算出し、当該類似度に基づいて適合度を算出する。適合度は、類似度が高ければ高いほど高くなるものとする。分割位置において対応する動線に対応するオブジェクトの画像は類似することから、接続装置3は、境界位置に対応するオブジェクトの画像に基づいて適合度を算出することにより、精度良く対応する連結グラフを選択することができる。なお、選択部322は、第1期間において最も新しい画像と、第2期間において最も古い画像との比較を行ったが、比較に使用する画像はこれに限定されない。選択部322は、比較する画像間の時間的間隔が閾値以内の第1期間に対応する画像と、第2期間に対応する画像との比較を行ってもよい。 The selection unit 322 includes an image showing an object extracted from the flow line corresponding to the selected first connected graph and an image showing a plurality of objects extracted from the flow line corresponding to one or more second connected graphs. The degree of similarity is calculated, and the degree of conformity is calculated based on the degree of similarity. The goodness of fit shall be higher the higher the similarity. Since the images of the objects corresponding to the corresponding flow lines at the division positions are similar, the connecting device 3 calculates the goodness of fit based on the images of the objects corresponding to the boundary positions, thereby accurately producing the corresponding connected graph. You can choose. The selection unit 322 compares the newest image in the first period with the oldest image in the second period, but the image used for the comparison is not limited to this. The selection unit 322 may compare the image corresponding to the first period in which the time interval between the images to be compared is within the threshold value and the image corresponding to the second period.

選択部322は、選択した第1連結グラフに含まれる境界位置に対応する動線に対する、一以上の第2連結グラフのそれぞれに対応する境界位置に対応する動線の適合度を算出すると、当該一以上の第2連結グラフのうち、適合度が相対的に高い動線を含む第2連結グラフを、当該第1連結グラフと接続する対象となる第2連結グラフとして選択する(S4)。例えば、選択部322は、一以上の当該第2連結グラフのうち、最も適合度が高い動線を含む第2連結グラフと、適合度が2番目に高い動線を含む第2連結グラフとを特定する。そして、選択部322は、最も高い適合度と、他の第2連結グラフに対応し、2番目に高い適合度との比率が所定の閾値を超える場合、最も適合度が高い動線を含む第2連結グラフを、第1連結グラフと接続する対象となる第2連結グラフとして選択してもよい。 When the selection unit 322 calculates the degree of conformity of the flow line corresponding to the boundary position corresponding to each of the one or more second connected graphs with respect to the flow line corresponding to the boundary position included in the selected first connected graph, the said unit 322. Among the one or more second connected graphs, the second connected graph including the flow line having a relatively high degree of conformity is selected as the second connected graph to be connected to the first connected graph (S4). For example, the selection unit 322 selects a second connected graph including the flow line having the highest degree of conformity and a second connected graph including the flow line having the second highest degree of conformity among the one or more second connected graphs. Identify. Then, the selection unit 322 corresponds to another second connected graph, and when the ratio of the second highest goodness of fit exceeds a predetermined threshold, the selection unit 322 includes the flow line having the highest goodness of fit. The biconnected graph may be selected as the second connected graph to be connected to the first connected graph.

選択部322は、一以上の第2連結グラフのうち、適合度が相対的に高い動線を含む第2連結グラフを、接続対象候補として選択してもよい。そして、選択部322は、接続対象候補として選択した第2連結グラフに含まれる境界位置に対応する動線と、第1追跡結果情報に含まれる複数の第1連結グラフのうち、境界位置に対応する動線を含む一以上の第1連結グラフに含まれる当該動線との適合度を算出してもよい。そして、選択部322は、当該一以上の第1連結グラフのうち、接続対象候補として選択した第2連結グラフに含まれる動線との適合度が相対的に高い動線を含む第1連結グラフと、選択した第1連結グラフとが一致した場合に、接続対象候補として選択した第2連結グラフを、選択した第1連結グラフと接続させる第2連結グラフとして選択してもよい。このようにすることで、接続装置3は、選択された第1グラフに対応する可能性が高い第2連結グラフを選択することができる。 The selection unit 322 may select a second connected graph including a flow line having a relatively high degree of conformity from one or more second connected graphs as a connection target candidate. Then, the selection unit 322 corresponds to the flow line corresponding to the boundary position included in the second connected graph selected as the connection target candidate and the boundary position among the plurality of first connected graphs included in the first tracking result information. You may calculate the degree of conformity with the flow line included in one or more first connected graphs including the flow line. Then, the selection unit 322 is a first connected graph including a flow line having a relatively high degree of conformity with the flow line included in the second connected graph selected as a connection target candidate among the one or more first connected graphs. When the selected first connected graph matches, the second connected graph selected as the connection target candidate may be selected as the second connected graph to be connected to the selected first connected graph. By doing so, the connecting device 3 can select a second connected graph that is likely to correspond to the selected first graph.

なお、選択した第1連結グラフにおいて境界位置に対応する第2動線が含まれている場合において、第1連結グラフと接続する対象となる第2連結グラフを選択するときの処理は、第1動線が含まれている場合に第2連結グラフを選択するときの処理と同様の処理であるので詳細な説明を省略する。 When the selected first connected graph includes the second flow line corresponding to the boundary position, the process for selecting the second connected graph to be connected to the first connected graph is the first process. Since the process is the same as the process for selecting the second connected graph when the flow line is included, detailed description thereof will be omitted.

続いて、選択部322は、境界位置に対応する動線が含まれている全ての第1連結グラフを選択したか否かを判定する(S5)。選択部322は、全ての第1連結グラフを選択したと判定すると、S6に処理を移し、全ての第1連結グラフを選択していないと判定すると、S2に処理を移す。 Subsequently, the selection unit 322 determines whether or not all the first connected graphs including the flow lines corresponding to the boundary positions have been selected (S5). When the selection unit 322 determines that all the first connected graphs have been selected, the process is transferred to S6, and when it is determined that all the first connected graphs have not been selected, the selection unit 322 shifts the processing to S2.

選択した第1連結グラフに対して第2連結グラフを選択した結果は、以下の5種類の選択パターンに分けられることとなる。図7は、第1連結グラフに対して第2連結グラフが選択されたときの選択パターンを示す図である。 The result of selecting the second connected graph with respect to the selected first connected graph can be divided into the following five types of selection patterns. FIG. 7 is a diagram showing a selection pattern when the second connected graph is selected with respect to the first connected graph.

第1のパターンは、第1連結グラフに含まれる動線に対して、同じ撮像装置に対応する動線であって、追跡接続情報により他の撮像装置に対応する動線が接続されていない動線により接続される第2連結グラフが選択されたパターンである。第1のパターンの一例として、図7に示すように、第1動線LA1−1のみ含む第1連結グラフG1−1に対して、第2動線LA2−1のみ含む第2連結グラフG2−1が選択された例が挙げられる。ここで、図7に示す双方向の矢印ASは、接続される動線同士を示しているものとする。 The first pattern is a flow line corresponding to the same image pickup device with respect to the flow line included in the first connected graph, and the flow line corresponding to another image pickup device is not connected by the tracking connection information. The second connected graph connected by the line is the selected pattern. As an example of the first pattern, as shown in FIG. 7, the first connected graph G1-1 containing only the first flow line LA1-1 is compared with the second connected graph G2-containing only the second flow line LA2-1. An example in which 1 is selected is given. Here, it is assumed that the bidirectional arrows AS shown in FIG. 7 indicate the flow lines to be connected to each other.

第2のパターンは、第1連結グラフに含まれる動線に対して、同じ撮像装置に対応するとともに、追跡接続情報により他の撮像装置に対応する動線が接続されている動線により接続される第2連結グラフが選択されたパターンである。第2のパターンの一例として、図7に示すように、第1動線LA1−1のみ含む第1連結グラフG1−1に対して、第2動線LA2−1と、第2動線LB2−1とが追跡接続情報により接続された第2連結グラフG2−2が選択された例が挙げられる。 The second pattern corresponds to the same imaging device with respect to the flow line included in the first connected graph, and is connected by the flow line to which the flow line corresponding to the other imaging device is connected by the tracking connection information. The second connected graph is the selected pattern. As an example of the second pattern, as shown in FIG. 7, with respect to the first connected graph G1-1 including only the first flow line LA1-1, the second flow line LA2-1 and the second flow line LB2- An example in which the second connected graph G2-2 to which 1 is connected by the tracking connection information is selected can be mentioned.

第3のパターンは、第1連結グラフに含まれる2つの動線のそれぞれに対して、追跡接続情報により接続された2つの動線により接続される第2連結グラフが選択されたパターンである。第3のパターンの一例として、図7に示すように、第1動線LA1−1のみ含む第1連結グラフG1−1と、第2動線LB1−1のみ含む第1連結グラフG1−2とに対して、追跡接続情報により接続されている第1動線LA2−1と第2動線LB2−1とを含む第2連結グラフG2−2が選択された例が挙げられる。 The third pattern is a pattern in which the second connected graph connected by the two flow lines connected by the tracking connection information is selected for each of the two flow lines included in the first connected graph. As an example of the third pattern, as shown in FIG. 7, a first connected graph G1-1 containing only the first flow line LA1-1 and a first connected graph G1-2 containing only the second flow line LB1-1. On the other hand, there is an example in which the second connected graph G2-2 including the first flow line LA2-1 and the second flow line LB2-1 connected by the tracking connection information is selected.

第4のパターンは、第3パターンにおける一方の第1連結グラフに、追跡接続情報により2つの動線が接続されているパターンである。第4のパターンの一例として、図7に示すように、第1動線LA1−1と、第2動線LB1−2とが追跡接続情報により接続された第1連結グラフG1−3と、第2動線LB1−1のみ含む第1連結グラフG1−2とに対して、追跡接続情報により接続されている第1動線LA2−1と第2動線LB2−1とを含む第2連結グラフG2−2が選択された例が挙げられる。この場合、それぞれ異なるオブジェクトを示す第2動線LB1−1と、第2動線LB1−2とが同じ時刻に対応する位置を含んでいると、これらの連結グラフを接続した連結グラフには矛盾が生じていることとなる。 The fourth pattern is a pattern in which two flow lines are connected to one first connected graph in the third pattern by tracking connection information. As an example of the fourth pattern, as shown in FIG. 7, a first connected graph G1-3 in which the first flow line LA1-1 and the second flow line LB1-2 are connected by tracking connection information, and a first connected graph G1-3. A second connected graph including the first flow line LA2-1 and the second flow line LB2-1 connected by tracking connection information with respect to the first connected graph G1-2 containing only the two flow lines LB1-1. An example in which G2-2 is selected can be mentioned. In this case, if the second flow line LB1-1 and the second flow line LB1-2 indicating different objects include positions corresponding to the same time, the connected graph connecting these connected graphs is inconsistent. Will have occurred.

すなわち、矛盾とは、連結グラフに異なるオブジェクトに対応する複数の動線が含まれていることをいう。連結グラフに、対応する撮像装置及び対応する時刻が重複する複数の動線が含まれている場合、当該連結グラフには矛盾が生じている。 That is, contradiction means that the connected graph contains a plurality of flow lines corresponding to different objects. When the connected graph contains a plurality of flow lines in which the corresponding imaging device and the corresponding time overlap, the connected graph is inconsistent.

第4のパターンに示す例では、第1連結グラフG1−3における第2動線LB1−2と第1動線LA1−1とが追跡接続情報により同一のオブジェクトと判定された動線であり、第1動線LA1−1と第1動線LA2−1とが連結グラフの接続により同一のオブジェクトの動線とされた動線である。 In the example shown in the fourth pattern, the second flow line LB1-2 and the first flow line LA1-1 in the first connected graph G1-3 are flow lines determined to be the same object by the tracking connection information. The first flow line LA1-1 and the first flow line LA2-1 are the flow lines of the same object by connecting the connected graphs.

また、第2連結グラフG2−2における第1動線LA2−1と第2動線LB2−1とが追跡接続情報により同一のオブジェクトと判定された動線であり、第2動線LB2−1と第2動線LB1−1とが連結グラフの接続により同一のオブジェクトとされた動線である。したがって、第2動線LB1−2と第2動線LB1−1とについて、対応する撮像装置及び対応する時刻が重複し、同一のオブジェクトの動線であることが導き出されてしまう。よって、第4パターンに示す連結グラフの接続の結果、同じ撮像装置の同じ時刻の画像に対応して、同一のオブジェクトの動線が2つ存在してしまうという矛盾が発生することとなる。 Further, the first flow line LA2-1 and the second flow line LB2-1 in the second connected graph G2-2 are flow lines determined to be the same object by the tracking connection information, and the second flow line LB2-1. And the second flow line LB1-1 are flow lines that are made into the same object by the connection of the connected graph. Therefore, with respect to the second flow line LB1-2 and the second flow line LB1-1, the corresponding imaging device and the corresponding time overlap, and it is derived that they are the same object flow lines. Therefore, as a result of the connection of the connected graphs shown in the fourth pattern, there is a contradiction that two flow lines of the same object exist corresponding to the images of the same imaging device at the same time.

第5のパターンは、第4パターンにおける他方の第1連結グラフにも、追跡接続情報により2つの動線が接続されているパターンである。第5のパターンの一例として、図7に示すように、第1動線LA1−1と、第2動線LB1−2とが追跡接続情報により接続された第1連結グラフG1−3と、第1動線LA1−2と、第2動線LB1−1とが追跡接続情報により接続された第1連結グラフG1−4とに対して、追跡接続情報により接続されている第1動線LA2−1と第2動線LB2−1とを含む第2連結グラフG2−2が選択された例が挙げられる。この場合、それぞれ異なるオブジェクトを示す第1動線LA1−1と、第1動線LA1−2とが同じ時刻に対応する位置を含んでいるか、それぞれ異なるオブジェクトを示す第2動線LB1−1と、第2動線LB1−2とが同じ時刻に対応する位置を含んでいると、これらの連結グラフを接続した連結グラフには矛盾が含まれることとなる。 The fifth pattern is a pattern in which two flow lines are connected by tracking connection information to the other first connected graph in the fourth pattern. As an example of the fifth pattern, as shown in FIG. 7, a first connected graph G1-3 in which the first flow line LA1-1 and the second flow line LB1-2 are connected by tracking connection information, and a first connected graph G1-3. The first flow line LA2-, in which the first flow line LA1-2 and the second flow line LB1-1 are connected by the tracking connection information to the first connected graph G1-4 connected by the tracking connection information. There is an example in which the second connected graph G2-2 including 1 and the second flow line LB2-1 is selected. In this case, the first flow line LA1-1 and the first flow line LA1-2 indicating different objects include positions corresponding to the same time, or the second flow line LB1-1 indicating different objects. , If the second flow line LB1-2 includes a position corresponding to the same time, the connected graph connecting these connected graphs will contain a contradiction.

なお、図7の各パターンにおいて、第1期間の連結グラフの構成と第2期間の連結グラフの構成を入れ替えたパターンについても同様に考えられる。第1期間の連結グラフの構成と第2期間の連結グラフの構成を入れ替えたパターンについては説明を省略する。 In each pattern of FIG. 7, the same can be considered for a pattern in which the structure of the connected graph in the first period and the structure of the connected graph in the second period are interchanged. The description of the pattern in which the structure of the connected graph of the first period and the structure of the connected graph of the second period are exchanged will be omitted.

判定部323は、選択部322により選択された結果に基づいて、接続される第1連結グラフと第2連結グラフの組み合わせのうち、未選択の組み合わせを選択する(S6)。
続いて、判定部323は、S6において選択した組み合わせに基づいて、第1連結グラフと、当該第1連結グラフに対して選択部322が選択した第2連結グラフとを接続した連結グラフを生成した場合に、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が含まれているか否かを判定することにより、当該連結グラフに矛盾が生じているか否かを判定する(S7)。
The determination unit 323 selects an unselected combination of the connected first connected graph and second connected graph based on the result selected by the selection unit 322 (S6).
Subsequently, the determination unit 323 generated a connected graph in which the first connected graph and the second connected graph selected by the selection unit 322 with respect to the first connected graph were connected based on the combination selected in S6. In this case, whether or not there is a contradiction in the connected graph by determining whether or not a plurality of flow lines include a plurality of flow lines in which the corresponding imaging device and the corresponding time overlap. Is determined (S7).

例えば、第1撮像装置1Aにより撮像された画像に基づいて特定された第1動線が同一の時刻に複数存在する場合、これらの第1動線は、それぞれ異なるオブジェクトを示しており、同一のオブジェクトを示すものではない。同様に、第2撮像装置1Bにより撮像された画像に基づいて特定された第2動線が同一の時刻に複数存在する場合、これらの第2動線は、それぞれ異なるオブジェクトを示しており、同一のオブジェクトを示すものではない。 For example, when a plurality of first flow lines specified based on an image captured by the first imaging device 1A exist at the same time, these first flow lines indicate different objects and are the same. It does not indicate an object. Similarly, when a plurality of second flow lines specified based on the image captured by the second image pickup device 1B exist at the same time, these second flow lines indicate different objects and are the same. Does not indicate an object of.

したがって、判定部323は、S6において選択した組み合わせに基づいて、連結グラフを生成した場合に、当該連結グラフに、同じ時刻に対応する第1動線が複数含まれている場合、又は同じ時刻に対応する第2動線が含まれている場合、当該連結グラフに矛盾が生じていると判定する。 Therefore, when the determination unit 323 generates a connected graph based on the combination selected in S6, the connected graph includes a plurality of first flow lines corresponding to the same time, or at the same time. If the corresponding second flow line is included, it is determined that the connected graph is inconsistent.

判定部323は、連結グラフに矛盾が生じていると判定すると、S9に処理を移し、連結グラフに矛盾が生じていないと判定すると、S8に処理を移す。 When the determination unit 323 determines that there is a contradiction in the connected graph, the process is transferred to S9, and when it is determined that there is no contradiction in the connected graph, the process is transferred to S8.

接続部324は、判定部323により判定対象の連結グラフに矛盾が生じていないと判定されると、S6において選択した組み合わせに対応する第1連結グラフと、当該第1連結グラフに対して選択した第2連結グラフとを接続して連結グラフを生成する(S8)。 When the determination unit 323 determines that there is no contradiction in the connected graph to be determined, the connecting unit 324 selects the first connected graph corresponding to the combination selected in S6 and the first connected graph. A connected graph is generated by connecting to a second connected graph (S8).

また、接続部324は、判定部323により判定対象の連結グラフに矛盾が生じていると判定された場合には、S2において選択した第1連結グラフが示すオブジェクトと、S4において当該第1連結グラフに対して選択した第2連結グラフが示すオブジェクトが異なるオブジェクトであるものと判定し、当該第1連結グラフと当該第2連結グラフとを接続させないように制御する。 Further, when the determination unit 323 determines that the connected graph to be determined is inconsistent, the connection unit 324 connects the object indicated by the first connected graph selected in S2 and the first connected graph in S4. It is determined that the objects indicated by the selected second connected graph are different objects, and the first connected graph and the second connected graph are controlled so as not to be connected.

続いて、判定部323は、接続される第1連結グラフと第2連結グラフの全ての組み合わせを選択したか否かを判定する(S9)。選択部322は、全ての組み合わせを選択したと判定すると、本フローチャートに係る処理を終了し、全ての組み合わせを選択していないと判定すると、S6に処理を移す。 Subsequently, the determination unit 323 determines whether or not all combinations of the connected first connected graph and the second connected graph have been selected (S9). When the selection unit 322 determines that all the combinations have been selected, it ends the process according to this flowchart, and when it determines that all the combinations have not been selected, it shifts the process to S6.

なお、本フローチャートにおける処理では、選択部322は、適合度が相対的に高い動線を含む第2連結グラフとして、1つの第2連結グラフを選択したが、これに限らず、適合度が相対的に高い動線を含む複数の第2連結グラフを選択してもよい。この場合において、判定部323は、選択部322により選択された複数の第2連結グラフのそれぞれについて、選択された第1連結グラフと接続して連結グラフを生成した場合に、当該連結グラフに矛盾が生じているか否かを判定してもよい。 In the processing in this flowchart, the selection unit 322 selects one second connected graph as the second connected graph including the flow lines having a relatively high degree of conformity, but the present invention is not limited to this, and the degree of conformity is relative. You may select a plurality of second connected graphs that include a particularly high flow line. In this case, when the determination unit 323 connects each of the plurality of second connected graphs selected by the selection unit 322 to the selected first connected graph to generate a connected graph, the determination unit 323 is inconsistent with the connected graph. May be determined whether or not is occurring.

そして、接続部324は、判定部323により生成した連結グラフに矛盾が生じてないと判定された複数の第2連結グラフのうち、選択された第1連結グラフに含まれる動線に対して適合度が相対的に高い動線を含む第2連結グラフを、当該第1連結グラフと接続してもよい。このようにすることで、接続装置3は、選択した第1連結グラフと接続する対象の第2連結グラフを精度良く特定し、当該第1連結グラフと、当該第2連結グラフとを接続させることができる。 Then, the connecting unit 324 conforms to the flow line included in the selected first connected graph among the plurality of second connected graphs determined that there is no contradiction in the connected graph generated by the determination unit 323. A second connected graph including a flow line having a relatively high degree may be connected to the first connected graph. By doing so, the connecting device 3 accurately identifies the second connected graph to be connected to the selected first connected graph, and connects the first connected graph and the second connected graph. Can be done.

また、本フローチャートにおける処理では、選択部322は、境界位置に対応する動線を含む連結グラフにおいて、動線の編集を行う処理を行わなかったが、これに限らず、動線の編集を行うようにしてもよい。 Further, in the process in this flowchart, the selection unit 322 does not perform the process of editing the flow line in the connected graph including the flow line corresponding to the boundary position, but the process is not limited to this, and the flow line is edited. You may do so.

選択部322は、追跡結果情報に含まれる第1連結グラフ、又は第2追跡結果情報に含まれる第2連結グラフにおいて、第1期間と第2期間との境界位置に対応する動線である到達動線と、追跡接続情報によって接続されている動線が、境界位置まで到達していない動線である非到達動線である場合に、当該到達動線に対応する位置情報に基づいて、当該非到達動線を前記境界位置まで延長させてもよい。 The selection unit 322 is a flow line corresponding to the boundary position between the first period and the second period in the first connected graph included in the tracking result information or the second connected graph included in the second tracking result information. When the flow line and the flow line connected by the tracking connection information are non-reachable flow lines that have not reached the boundary position, the relevant flow line is based on the position information corresponding to the reached flow line. The non-reachable flow line may be extended to the boundary position.

図8は、非到達動線を境界位置まで延長させた例を示す図である。図8に示すように、第1期間における第1動線LA1−3は非到達動線であり、追跡接続情報Cにより接続された第2動線LB1−3は到達動線である。この場合、選択部322は、図8に示すように、非到達動線に対応する時刻のうち、最も遅い時刻T1を特定する。選択部322は、到達動線において、特定した時刻T1に対応する位置と、当該時刻T1の次の時刻T2に対応する位置とに基づいて、位置の変化量を算出する。そして、選択部322は、非到達動線において、時刻T1に対応する位置に対して、算出した変化量を加算することにより、時刻T2に対応する位置を特定する。選択部322は、非到達動線において、境界位置に対応する時刻に対応する位置が特定されるまで、上述の処理を繰り返す。このようにすることで、非到達動線を到達動線として扱い、連結グラフを接続することができる。 FIG. 8 is a diagram showing an example in which the non-reachable flow line is extended to the boundary position. As shown in FIG. 8, the first flow line LA1-3 in the first period is a non-reachable flow line, and the second flow line LB1-3 connected by the tracking connection information C is a reachable flow line. In this case, as shown in FIG. 8, the selection unit 322 specifies the latest time T1 among the times corresponding to the non-reachable flow lines. The selection unit 322 calculates the amount of change in the position on the arrival flow line based on the position corresponding to the specified time T1 and the position corresponding to the time T2 next to the time T1. Then, the selection unit 322 specifies the position corresponding to the time T2 by adding the calculated change amount to the position corresponding to the time T1 on the non-reachable flow line. The selection unit 322 repeats the above-mentioned process until the position corresponding to the time corresponding to the boundary position is specified in the non-reachable flow line. By doing so, the non-reachable flow line can be treated as a reachable flow line and the connected graph can be connected.

[本実施形態における効果]
以上説明したように、本実施形態に係る接続装置3は、第1追跡結果情報に含まれる第1連結グラフと接続する対象となる第2連結グラフを、第2追跡結果情報に含まれる一以上の第2連結グラフから選択し、当該第1連結グラフと、当該第1連結グラフに対して選択した第2連結グラフとを接続した連結グラフを生成した場合に、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が含まれているか否かを判定することにより、連結グラフに矛盾が生じているか否かを判定する。そして、接続装置3は、連結グラフに前記矛盾が生じていないと判定すると、第1連結グラフと、当該第1連結グラフに対して選択された第2連結グラフとを接続する。このようにすることで、接続装置3は、時区間の分割により、各区間に対して並列で追跡処理を実施することで高速化を実現できるとともに、途切れたオブジェクトの追跡結果に対応する第1連結グラフと、第2連結グラフとを精度良く接続することができる。
[Effect in this embodiment]
As described above, the connecting device 3 according to the present embodiment has one or more connected second connected graphs to be connected to the first connected graph included in the first tracking result information, which is included in the second tracking result information. When a connected graph is generated by selecting from the second connected graph of the above and connecting the first connected graph and the second connected graph selected for the first connected graph, there are a plurality of flow lines. By determining whether or not a plurality of flow lines with overlapping corresponding imaging devices and corresponding times are included, it is determined whether or not there is a contradiction in the connected graph. Then, when the connecting device 3 determines that the inconsistency does not occur in the connected graph, the connecting device 3 connects the first connected graph and the second connected graph selected for the first connected graph. By doing so, the connecting device 3 can realize high speed by performing the tracking process in parallel for each section by dividing the time interval, and the first one corresponding to the tracking result of the interrupted object. The connected graph and the second connected graph can be connected with high accuracy.

以上、本発明を実施形態を用いて説明したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されない。上記実施形態に、多様な変更又は改良を加えることが可能であることが当業者に明らかである。 Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It will be apparent to those skilled in the art that various changes or improvements can be made to the above embodiments.

上記実施形態では、第1期間に対応する第1追跡結果情報に含まれる第1連結グラフと接続する第2連結グラフを第2追跡結果情報から選択したが、これに限らず、3つ以上の期間のそれぞれに対応する追跡結果に含まれる連結グラフを接続するようにしてもよい。 In the above embodiment, the second connected graph connected to the first connected graph included in the first tracking result information corresponding to the first period is selected from the second linked graph, but the present invention is not limited to this, and three or more are not limited to this. You may want to connect the connected graphs included in the tracking results corresponding to each of the periods.

図9は、複数の期間のそれぞれに対して連結グラフの接続を繰り返した例を示す図である。接続装置3の制御部32は、図9に示すように、第1期間に対応する追跡結果情報に含まれる連結グラフと、第2期間に対応する追跡結果情報に含まれる連結グラフとを接続させることにより、矛盾のない連結グラフを生成する。そして、制御部32は、生成した矛盾のない連結グラフと、第3期間に対応する追跡結果情報に含まれる連結グラフとを接続させることにより、矛盾のない連結グラフをさらに生成する。このようにすることで、接続装置3は、複数期間に対応する連結グラフを接続することにより、矛盾のない連結グラフを生成することができる。 FIG. 9 is a diagram showing an example in which the connection of the connected graph is repeated for each of the plurality of periods. As shown in FIG. 9, the control unit 32 of the connecting device 3 connects the connected graph included in the tracking result information corresponding to the first period and the connected graph included in the tracking result information corresponding to the second period. By doing so, a consistently connected graph is generated. Then, the control unit 32 further generates a consistently connected graph by connecting the generated consistently connected graph and the connected graph included in the tracking result information corresponding to the third period. By doing so, the connecting device 3 can generate a consistently connected graph by connecting the connected graphs corresponding to a plurality of periods.

また、特に、装置の分散・統合の具体的な実施形態は以上に図示するものに限られず、その全部又は一部について、種々の付加等に応じて、又は、機能負荷に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。 Further, in particular, the specific embodiments of the distribution / integration of the devices are not limited to those shown above, and all or a part thereof may be arbitrarily added according to various additions or functional loads. It can be functionally or physically distributed / integrated in units.

例えば、上記実施形態では、接続装置3と、オブジェクト追跡装置2とは異なる装置であるものとしたが、これに限らない。接続装置3と、オブジェクト追跡装置2とは、一つの装置により実現されてもよい。 For example, in the above embodiment, the connecting device 3 and the object tracking device 2 are different devices, but the device is not limited to this. The connecting device 3 and the object tracking device 2 may be realized by one device.

1A・・・第1撮像装置、1B・・・第2撮像装置、2・・・オブジェクト追跡装置、3・・・接続装置、31・・・記憶部、32・・・制御部、321・・取得部、322・・・選択部、323・・・判定部、324・・・接続部、S・・・オブジェクト追跡システム 1A ... 1st imaging device, 1B ... 2nd imaging device, 2 ... object tracking device, 3 ... connection device, 31 ... storage unit, 32 ... control unit, 321 ... Acquisition unit, 322 ... Selection unit, 323 ... Judgment unit, 324 ... Connection unit, S ... Object tracking system

Claims (11)

所定エリアを撮像する第1撮像装置により第1期間に撮像された複数の画像に基づく一以上のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す動線としての一以上の第1動線と、前記所定エリアを撮像する第2撮像装置により前記第1期間に撮像された複数の画像に対応する前記動線としての一以上の第2動線とを、前記第1動線が示すオブジェクトと前記第2動線が示すオブジェクトとの同一性判定の結果に基づいて接続した連結グラフである第1連結グラフを一以上含む第1追跡結果情報と、前記第1期間に隣接する第2期間に対応する前記連結グラフである第2連結グラフを一以上含む第2追跡結果情報とを取得する取得部と、
前記取得部が取得した前記第1追跡結果情報に含まれる第1連結グラフと接続する対象となる第2連結グラフを、前記取得部が取得した前記第2追跡結果情報に含まれる一以上の第2連結グラフから選択する選択部と、
前記第1連結グラフと、当該第1連結グラフに対して前記選択部が選択した前記第2連結グラフとを接続した連結グラフを生成した場合に、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が含まれているか否かを判定することにより、前記連結グラフに矛盾が生じているか否かを判定する判定部と、
前記判定部により前記連結グラフに前記矛盾が生じていないと判定されると、前記第1連結グラフと、当該第1連結グラフに対して選択された前記第2連結グラフとを接続する接続部と、
を備える接続装置。
Shows the tracking result of each of one or more objects based on a plurality of images captured in the first period by the first imaging device that images a predetermined area, and one or more as a moving line indicating the position of the same object at each time. The first movement line and one or more second movement lines as the movement lines corresponding to the plurality of images captured in the first period by the second imaging device that images the predetermined area are the first. In the first tracking result information including one or more first connected graphs which are connected graphs connected based on the result of the identity determination between the object indicated by the movement line and the object indicated by the second movement line, and the first period. An acquisition unit that acquires second tracking result information including one or more second connected graphs, which are the connected graphs corresponding to adjacent second periods, and an acquisition unit.
A second connected graph to be connected to a first connected graph included in the first tracking result information acquired by the acquisition unit is one or more of the second linked graphs included in the second tracking result information acquired by the acquisition unit. A selection section to select from a 2 connected graph and
When a connected graph in which the first connected graph and the second connected graph selected by the selection unit are connected to the first connected graph is generated, there are a plurality of flow lines and corresponding imaging devices. And a determination unit that determines whether or not there is a contradiction in the connected graph by determining whether or not a plurality of flow lines with overlapping corresponding times are included.
When the determination unit determines that the connected graph does not have the contradiction, the connection unit that connects the first connected graph and the second connected graph selected for the first connected graph ,
Connecting device.
前記選択部は、前記第1連結グラフにおいて前記第1期間と前記第2期間との境界位置に対応する前記第1動線が含まれている場合には、当該第1動線と前記第2連結グラフにおいて前記境界位置に対応する前記第1動線とに基づいて、前記第1連結グラフと接続する対象となる第2連結グラフを選択するとともに、前記第1連結グラフにおいて前記境界位置に対応する前記第2動線が含まれている場合には、当該第2動線と、前記第2連結グラフにおいて前記境界位置に対応する前記第2動線とに基づいて、前記第1連結グラフと接続する対象となる第2連結グラフを選択する、
請求項1に記載の接続装置。
When the selection unit includes the first movement line corresponding to the boundary position between the first period and the second period in the first connected graph, the first movement line and the second movement line are included. Based on the first flow line corresponding to the boundary position in the connected graph, the second connected graph to be connected to the first connected graph is selected, and the first connected graph corresponds to the boundary position. When the second moving line is included, the first connected graph is based on the second moving line and the second moving line corresponding to the boundary position in the second connected graph. Select the second connected graph to connect to,
The connecting device according to claim 1.
前記選択部は、前記第1連結グラフにおいて前記境界位置に対応する動線と、前記第2連結グラフにおいて前記境界位置に対応する動線との適合度を算出し、適合度が相対的に高い第2連結グラフを、前記第1連結グラフと接続する対象となる第2連結グラフとして選択する、
請求項2に記載の接続装置。
The selection unit calculates the degree of conformity between the flow line corresponding to the boundary position in the first connected graph and the flow line corresponding to the boundary position in the second connected graph, and the degree of conformity is relatively high. The second connected graph is selected as the second connected graph to be connected to the first connected graph.
The connecting device according to claim 2.
前記選択部は、前記第1連結グラフにおいて前記境界位置に対応する動線が示す前記所定エリアにおける位置と、前記第2連結グラフにおいて前記境界位置に対応する動線が示す前記所定エリアにおける位置とに基づいて、前記適合度を算出する、
請求項3に記載の接続装置。
The selection unit includes a position in the predetermined area indicated by a flow line corresponding to the boundary position in the first connected graph and a position in the predetermined area indicated by a flow line corresponding to the boundary position in the second connected graph. The degree of conformity is calculated based on
The connecting device according to claim 3.
前記選択部は、前記第1期間において前記境界位置に対応する前記画像に含まれる、前記第1連結グラフに対応する動線が示すオブジェクトを示す画像と、前記第2期間において前記境界位置に対応する前記画像に含まれる、前記第2連結グラフに対応する動線が示すオブジェクトを示す画像との類似度に基づいて、前記適合度を算出する、
請求項3又は4に記載の接続装置。
The selection unit corresponds to an image showing an object indicated by a flow line corresponding to the first connected graph included in the image corresponding to the boundary position in the first period and the boundary position in the second period. The degree of conformity is calculated based on the degree of similarity with the image showing the object indicated by the flow line corresponding to the second connected graph included in the image.
The connecting device according to claim 3 or 4.
前記選択部は、前記第1連結グラフと、前記第2追跡結果情報に含まれる一以上の第2連結グラフのそれぞれとの適合する度合いを示す適合度を算出し、一以上の当該第2連結グラフのうち、他の第2連結グラフに対応する適合度との比率が所定の閾値を超える第2連結グラフを、前記第1連結グラフと接続する対象となる第2連結グラフとして選択する、
請求項3から5のいずれか1項に記載の接続装置。
The selection unit calculates a degree of conformity indicating the degree of conformity between the first connected graph and one or more of the second connected graphs included in the second tracking result information, and one or more of the second connected graphs. Among the graphs, the second connected graph whose ratio with the degree of conformity corresponding to the other second connected graph exceeds a predetermined threshold is selected as the second connected graph to be connected to the first connected graph.
The connecting device according to any one of claims 3 to 5.
前記選択部は、前記第1追跡結果情報から一の第1連結グラフを選択し、選択した第1連結グラフに含まれる前記境界位置に対応する動線に対して適合度を算出した前記境界位置に対応する動線を含む一以上の第2連結グラフのうち、適合度が相対的に高い動線を含む第2連結グラフを、選択した第1連結グラフに対する接続対象候補として選択し、接続対象候補として選択した第2連結グラフに含まれる前記境界位置に対応する動線と、前記第1追跡結果情報に含まれる一以上の第1連結グラフのそれぞれに含まれる前記境界位置に対応する動線との適合度を算出し、前記一以上の第1連結グラフのうち、適合度が相対的に高い動線を含む第1連結グラフと、選択した第1連結グラフとが一致した場合に、接続対象候補として選択した第2連結グラフを、選択した第1連結グラフと接続させる第2連結グラフとして選択する、
請求項3から6のいずれか1項に記載の接続装置。
The selection unit selects one first connected graph from the first tracking result information, and calculates the degree of conformity with respect to the flow line corresponding to the boundary position included in the selected first connected graph. Among one or more second connected graphs including the flow lines corresponding to, the second connected graph including the flow lines having a relatively high degree of conformity is selected as the connection target candidate for the selected first connected graph, and the connection target is selected. A flow line corresponding to the boundary position included in the second connected graph selected as a candidate and a flow line corresponding to the boundary position included in each of one or more first connected graphs included in the first tracking result information. When the first connected graph including the flow line with a relatively high degree of conformity and the selected first connected graph match among the one or more first connected graphs, the connection is made. The second connected graph selected as the target candidate is selected as the second connected graph to be connected to the selected first connected graph.
The connecting device according to any one of claims 3 to 6.
前記選択部は、前記第1追跡結果情報に含まれる第1連結グラフ又は前記第2追跡結果情報に含まれる第2連結グラフにおいて、前記第1期間と前記第2期間との境界位置に対応する動線である到達動線と接続されている動線が、前記境界位置まで到達していない動線である非到達動線である場合に、当該到達動線に対応する位置情報に基づいて、当該非到達動線を前記境界位置まで延長させる、
請求項1から7のいずれか1項に記載の接続装置。
The selection unit corresponds to the boundary position between the first period and the second period in the first connected graph included in the first tracking result information or the second connected graph included in the second tracking result information. When the flow line connected to the arrival flow line which is the flow line is a non-reachable flow line which is a flow line which has not reached the boundary position, based on the position information corresponding to the arrival flow line, Extending the non-reachable flow line to the boundary position,
The connecting device according to any one of claims 1 to 7.
前記接続部は、前記判定部により前記連結グラフに前記矛盾が生じてないと判定された複数の前記第2連結グラフのうち、前記第1連結グラフに対して適合度が相対的に高い前記第2連結グラフと、前記第1連結グラフとを接続する、
請求項1から8のいずれか1項に記載の接続装置。
The connection unit has a relatively high degree of conformity with respect to the first connection graph among the plurality of second connection graphs for which the determination unit has determined that the connection graph does not have the contradiction. Connecting the two connected graph and the first connected graph,
The connecting device according to any one of claims 1 to 8.
コンピュータが実行する、
所定エリアを撮像する第1撮像装置により第1期間に撮像された複数の画像に基づく一以上のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す動線としての一以上の第1動線と、前記所定エリアを撮像する第2撮像装置により前記第1期間に撮像された複数の画像に対応する前記動線としての一以上の第2動線とを、前記第1動線が示すオブジェクトと前記第2動線が示すオブジェクトとの同一性判定の結果に基づいて接続した連結グラフである第1連結グラフを一以上含む第1追跡結果情報と、前記第1期間に隣接する第2期間に対応する前記連結グラフである第2連結グラフを一以上含む第2追跡結果情報とを取得するステップと、
取得された前記第1追跡結果情報に含まれる第1連結グラフと接続する対象となる第2連結グラフを、取得された前記第2追跡結果情報に含まれる一以上の第2連結グラフから選択するステップと、
前記第1連結グラフと、当該第1連結グラフに対して選択された前記第2連結グラフとを接続した連結グラフを生成した場合に、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が含まれているか否かを判定することにより、前記連結グラフに矛盾が生じているか否かを判定するステップと、
前記連結グラフに前記矛盾が生じていないと判定されると、前記第1連結グラフと、当該第1連結グラフに対して選択された前記第2連結グラフとを接続するステップと、
を備える接続方法。
Computer runs,
Shows the tracking result of each of one or more objects based on a plurality of images captured in the first period by the first imaging device that images a predetermined area, and one or more as a flow line indicating the position of the same object at each time. The first flow line and one or more second flow lines as the flow lines corresponding to the plurality of images captured in the first period by the second imaging device that images the predetermined area. In the first tracking result information including one or more first connection graphs which are connected graphs connected based on the result of the identity determination between the object indicated by the flow line and the object indicated by the second flow line, and the first period. A step of acquiring a second tracking result information including one or more second linked graphs, which is the linked graph corresponding to the adjacent second period, and a step of acquiring the second tracking result information.
A second connected graph to be connected to the first connected graph included in the acquired first tracking result information is selected from one or more second connected graphs included in the acquired second tracking result information. Steps and
When a connected graph in which the first connected graph and the second connected graph selected for the first connected graph are connected is generated, there are a plurality of flow lines, and the corresponding imaging device and the corresponding image pickup device and the corresponding A step of determining whether or not there is a contradiction in the connected graph by determining whether or not a plurality of flow lines with overlapping times are included, and
When it is determined that the inconsistency does not occur in the connected graph, a step of connecting the first connected graph and the second connected graph selected for the first connected graph,
Connection method including.
コンピュータを、
所定エリアを撮像する第1撮像装置により第1期間に撮像された複数の画像に基づく一以上のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す動線としての一以上の第1動線と、前記所定エリアを撮像する第2撮像装置により前記第1期間に撮像された複数の画像に対応する前記動線としての一以上の第2動線とを、前記第1動線が示すオブジェクトと前記第2動線が示すオブジェクトとの同一性判定の結果に基づいて接続した連結グラフである第1連結グラフを一以上含む第1追跡結果情報と、前記第1期間に隣接する第2期間に対応する前記連結グラフである第2連結グラフを一以上含む第2追跡結果情報とを取得する取得部、
前記取得部が取得した前記第1追跡結果情報に含まれる第1連結グラフと接続する対象となる第2連結グラフを、前記取得部が取得した前記第2追跡結果情報に含まれる一以上の第2連結グラフから選択する選択部、
前記第1連結グラフと、当該第1連結グラフに対して前記選択部が選択した前記第2連結グラフとを接続した連結グラフを生成した場合に、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が含まれているか否かを判定することにより、前記連結グラフに矛盾が生じているか否かを判定する判定部、及び、
前記判定部により前記連結グラフに前記矛盾が生じていないと判定されると、前記第1連結グラフと、当該第1連結グラフに対して選択された前記第2連結グラフとを接続する接続部、
として機能させる接続プログラム。
Computer,
Shows the tracking result of each of one or more objects based on a plurality of images captured in the first period by the first imaging device that images a predetermined area, and one or more as a flow line indicating the position of the same object at each time. The first flow line and one or more second flow lines as the flow lines corresponding to the plurality of images captured in the first period by the second imaging device that images the predetermined area. In the first tracking result information including one or more first connection graphs which are connected graphs connected based on the result of the identity determination between the object indicated by the flow line and the object indicated by the second flow line, and the first period. An acquisition unit that acquires second tracking result information including one or more second connected graphs, which are the connected graphs corresponding to adjacent second periods.
A second connected graph to be connected to the first connected graph included in the first tracking result information acquired by the acquisition unit is one or more of the second linked graphs included in the second tracking result information acquired by the acquisition unit. Selection part to select from 2 connected graphs,
When a connected graph in which the first connected graph and the second connected graph selected by the selection unit are connected to the first connected graph is generated, there are a plurality of flow lines and corresponding imaging devices. And a determination unit that determines whether or not there is a contradiction in the connected graph by determining whether or not a plurality of flow lines with overlapping corresponding times are included.
When the determination unit determines that the connected graph does not have the contradiction, the connecting unit connecting the first connected graph and the second connected graph selected for the first connected graph.
A connection program that functions as.
JP2018078647A 2018-04-16 2018-04-16 Connection device, connection method and connection program Active JP6898883B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018078647A JP6898883B2 (en) 2018-04-16 2018-04-16 Connection device, connection method and connection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018078647A JP6898883B2 (en) 2018-04-16 2018-04-16 Connection device, connection method and connection program

Publications (2)

Publication Number Publication Date
JP2019186859A JP2019186859A (en) 2019-10-24
JP6898883B2 true JP6898883B2 (en) 2021-07-07

Family

ID=68337722

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018078647A Active JP6898883B2 (en) 2018-04-16 2018-04-16 Connection device, connection method and connection program

Country Status (1)

Country Link
JP (1) JP6898883B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7491321B2 (en) 2020-02-03 2024-05-28 コニカミノルタ株式会社 Re-identification device, re-identification program, and re-identification method
JP6859472B1 (en) * 2020-06-16 2021-04-14 エヌ・ティ・ティ・コミュニケーションズ株式会社 Object tracking device, object tracking method and program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4970195B2 (en) * 2007-08-23 2012-07-04 株式会社日立国際電気 Person tracking system, person tracking apparatus, and person tracking program
CN103189898B (en) * 2011-03-22 2016-01-20 松下电器产业株式会社 Moving body pick-up unit and moving body detection method
JP6171374B2 (en) * 2013-02-06 2017-08-02 ソニー株式会社 Information processing apparatus, information processing method, program, and information processing system

Also Published As

Publication number Publication date
JP2019186859A (en) 2019-10-24

Similar Documents

Publication Publication Date Title
US10417503B2 (en) Image processing apparatus and image processing method
CN108875766B (en) Image processing method, device, system and computer storage medium
US8781161B2 (en) Image processing method and apparatus for generating a 3D model of a target object
CN101894376B (en) Person tracking method and person tracking apparatus
CN101894375B (en) Person tracking method and person tracking apparatus
JP6809604B2 (en) Distance image processing device, distance image processing system, distance image processing method and distance image processing program
WO2021129305A1 (en) Calibration rod testing method for optical motion capture system, device, apparatus, and storage medium
JP2009510541A (en) Object tracking method and object tracking apparatus
US20070183665A1 (en) Face feature point detecting device and method
JP6187671B2 (en) Self-position calculation device and self-position calculation method
JP6898883B2 (en) Connection device, connection method and connection program
JP2009265732A (en) Image processor and method thereof
JP4761670B2 (en) Moving stereo model generation apparatus and method
CN108648145B (en) Image splicing method and device
JP6439757B2 (en) Image processing apparatus and image processing method
JP2019008507A (en) Transformation matrix calculating apparatus, location estimating apparatus, transformation matrix calculating method, and location estimating method
CN111524086B (en) Moving object detection device, moving object detection method, and storage medium
CN110855891A (en) Method and device for adjusting camera shooting angle based on human body posture and robot
JPWO2017094140A1 (en) Object detection apparatus and object detection method
JP2001101419A (en) Method and device for image feature tracking processing and three-dimensional data preparing method
CN105551042A (en) Determination method and apparatus for mark point positions of scanning bed
JP7013313B2 (en) Flow line management device, flow line management method and flow line management program
JP6299319B2 (en) Self-position calculation device and self-position calculation method
JP2021047538A (en) Image processing device, image processing method, and program
JP2009048305A (en) Shape analysis program and shape analysis apparatus

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

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210611

R150 Certificate of patent or registration of utility model

Ref document number: 6898883

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150