[go: up one dir, main page]

JP2019185615A - Device, method and program for managing flow line - Google Patents

Device, method and program for managing flow line

Info

Publication number
JP2019185615A
JP2019185615A JP2018078645A JP2018078645A JP2019185615A JP 2019185615 A JP2019185615 A JP 2019185615A JP 2018078645 A JP2018078645 A JP 2018078645A JP 2018078645 A JP2018078645 A JP 2018078645A JP 2019185615 A JP2019185615 A JP 2019185615A
Authority
JP
Japan
Prior art keywords
flow line
contradiction
tracking
connection information
graph
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018078645A
Other languages
Japanese (ja)
Other versions
JP7013313B2 (en
Inventor
有哉 巻渕
Yuya Makibuchi
有哉 巻渕
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 JP2018078645A priority Critical patent/JP7013313B2/en
Publication of JP2019185615A publication Critical patent/JP2019185615A/en
Application granted granted Critical
Publication of JP7013313B2 publication Critical patent/JP7013313B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

【課題】異なるオブジェクトに対応する追跡結果を含まないように追跡結果を統合できる動線管理装置、方法及びプログラムを提供する。【解決手段】動線管理装置3は、第1撮像装置により撮像された複数の第1画像に基づく同一のオブジェクトの各時刻における位置を示す一以上の第1動線と、第2撮像装置により撮像された複数の第2画像に基づく複数の第2動線と、第1動線と第2動線との同一性を示す一以上の追跡接続情報とを含み、同一のオブジェクトに対応するものとして生成された1つの連結グラフに、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が存在するか否かを判定することにより、当該連結グラフに矛盾が生じているか否かを判定する矛盾判定部323と、矛盾が生じていると判定されると、連結グラフから、矛盾が生じない、第1動線と第2動線と追跡接続情報とを含む連結グラフを生成する矛盾解消部324と、を備える。【選択図】図5Kind Code: A1 A traffic line management apparatus, method, and program that can integrate tracking results so as not to include tracking results corresponding to different objects. Kind Code: A1 A flow line management device includes one or more first flow lines indicating the position at each time of the same object based on a plurality of first images captured by a first imaging device, and a second imaging device. A plurality of second flow lines based on a plurality of captured second images, and one or more pieces of tracking connection information indicating the identity of the first and second flow lines, corresponding to the same object By determining whether or not there is a plurality of flow lines, which are a plurality of flow lines, the corresponding imaging devices and the corresponding times overlap in one connection graph generated as And a contradiction determining unit 323 that determines whether or not the first flow line, the second flow line, and the tracking connection information that do not cause a contradiction are determined from the connection graph. A conflict resolution unit 324 that generates a connected graph including Provided. [Selection diagram] FIG.

Description

本発明は、動線管理装置、動線管理方法及び動線管理プログラムに関する。   The present invention relates to a flow line management apparatus, a flow line management method, and a flow line management program.

従来、所定エリアにおけるオブジェクトの移動軌跡を示す動線を生成するにあたり、複数の撮像装置から取得した複数の画像に基づいて、オブジェクトを追跡することが行われている(例えば、特許文献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 Patent Laid-Open No. 2006-139949

複数の撮像装置に基づいてオブジェクトの動線を生成する場合には、複数の撮像装置間における同一のオブジェクトの判定結果に基づいて、撮像装置ごとに特定したオブジェクトの追跡結果のうち、同一のオブジェクトに対応する追跡結果を統合することが行われる。   When generating a flow line of an object based on a plurality of imaging devices, the same object among the tracking results of the objects specified for each imaging device based on the determination result of the same object between the plurality of imaging devices The tracking results corresponding to are integrated.

複数の撮像装置間における同一のオブジェクトの判定結果に誤判定が含まれていると、異なるオブジェクトの追跡結果が同一のオブジェクトに対応する追跡結果として統合されてしまい、統合結果に矛盾が生じてしまう。   If the determination result of the same object among a plurality of imaging devices includes an erroneous determination, tracking results of different objects are integrated as tracking results corresponding to the same object, resulting in a contradiction in the integration results. .

そこで、本発明はこれらの点に鑑みてなされたものであり、異なるオブジェクトに対応する追跡結果を含まないように追跡結果を統合することができる動線管理装置、動線管理方法及び動線管理プログラムを提供することを目的とする。   Therefore, the present invention has been made in view of these points, and a flow line management device, a flow line management method, and a flow line management capable of integrating tracking results so as not to include tracking results corresponding to different objects. The purpose is to provide a program.

本発明の第1の態様に係る動線管理装置は、所定エリアを撮像する第1撮像装置により撮像された複数の第1画像に基づく複数のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す一以上の第1動線と、前記所定エリアを撮像する第2撮像装置により撮像された複数の第2画像に基づく複数のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す複数の第2動線と、前記第1動線と前記第2動線との同一性を示す一以上の追跡接続情報とを含み、同一のオブジェクトに対応するものとして生成された1つの連結グラフに、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が存在するか否かを判定することにより、前記第1動線と前記第2動線と前記追跡接続情報とに矛盾が生じているか否かを判定する矛盾判定部と、前記矛盾判定部により前記矛盾が生じていると判定されると、前記連結グラフから、前記矛盾が生じない、前記第1動線と前記第2動線と前記追跡接続情報とを含む連結グラフを生成する矛盾解消部と、を備える。   The flow line management device according to the first aspect of the present invention shows a tracking result of each of a plurality of objects based on a plurality of first images imaged by a first imaging device that images a predetermined area. One or more first flow lines indicating positions at each time and tracking results of a plurality of objects based on a plurality of second images picked up by a second image pickup device that picks up the predetermined area are shown. Including a plurality of second flow lines indicating positions at each time and one or more tracking connection information indicating the identity of the first flow line and the second flow line, and corresponding to the same object By determining whether or not there are a plurality of flow lines that are a plurality of flow lines that overlap with the corresponding imaging device and corresponding time in the generated one connected graph, the first flow line and When the contradiction determination unit for determining whether or not there is a contradiction between the second flow line and the tracking connection information, and when the contradiction determination unit determines that the contradiction has occurred, A contradiction resolution unit that generates a connected graph including the first flow line, the second flow line, and the tracking connection information, in which no contradiction occurs.

前記矛盾解消部は、一以上の前記追跡接続情報を消去し、前記1つの連結グラフを複数の連結グラフに分割することにより、前記矛盾が生じていない一以上の前記連結グラフを生成してもよい。   The contradiction elimination unit may generate one or more connected graphs in which the contradiction does not occur by erasing one or more tracking connection information and dividing the one connected graph into a plurality of connected graphs. Good.

前記追跡接続情報は、前記第1動線と前記第2動線との同一性の強度を示す追跡接続強度情報を含み、前記矛盾解消部は、前記同一性の強度が低い順に前記追跡接続情報を消去してもよい。   The tracking connection information includes tracking connection strength information indicating the strength of identity between the first flow line and the second flow line, and the contradiction resolution unit includes the tracking connection information in ascending order of the strength of identity. May be deleted.

前記追跡接続情報は、各時刻における前記第1動線が示すオブジェクトと前記第2動線が示すオブジェクトとの同一性判定の結果に基づいて算出される前記同一性の強度を示す前記追跡接続強度情報を含んでもよい。   The tracking connection information indicates the strength of the tracking connection that is calculated based on the result of identity determination between the object indicated by the first flow line and the object indicated by the second flow line at each time. Information may be included.

前記矛盾解消部は、前記矛盾が生じている前記連結グラフから1つの前記追跡接続情報を消去することにより、前記矛盾が生じている前記連結グラフを、第1の連結グラフと第2の連結グラフとに分割し、前記矛盾判定部は、前記第1の連結グラフと前記第2の連結グラフとのそれぞれについて、当該連結グラフに前記矛盾が生じているか否かを判定してもよい。   The contradiction resolution unit deletes the one trace connection information from the connected graph in which the contradiction has occurred, whereby the connected graph in which the inconsistency has occurred is converted into a first connected graph and a second connected graph. The contradiction determination unit may determine whether or not the contradiction occurs in the connected graph for each of the first connected graph and the second connected graph.

前記矛盾解消部は、分割後の連結グラフに前記矛盾が生じていると前記矛盾判定部が判定した場合に、当該分割後の連結グラフに含まれている前記追跡接続情報の数が所定数よりも多いとき、当該分割後の連結グラフを、当該第1の連結グラフと第2の連結グラフに分割してもよい。   When the contradiction determination unit determines that the contradiction occurs in the connected graph after the division, the number of the tracking connection information included in the connected graph after the division is greater than a predetermined number. If there are too many, the connected graph after the division may be divided into the first connected graph and the second connected graph.

前記矛盾解消部は、前記追跡接続情報を消去する複数のパターンのうち、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じないパターンに基づいて、前記追跡接続情報を消去してもよい。   The contradiction resolution unit erases the tracking connection information based on a pattern in which at least a part of the connected graph after the division does not cause the contradiction among the plurality of patterns for erasing the tracking connection information. Also good.

前記矛盾判定部は、前記追跡接続情報を消去する複数のパターンのうち、消去する前記追跡接続情報の数が少ないパターンから順に、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じないパターンが含まれるか否かを判定してもよい。   The contradiction determination unit generates the contradiction in at least some of the connected graphs after the division in order from a pattern with a small number of the tracking connection information to be deleted among a plurality of patterns for deleting the tracking connection information. It may be determined whether or not a pattern is included.

前記矛盾判定部は、消去する前記追跡接続情報の数が所定数を超えるまでに、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じないパターンが見つからなかった場合、前記矛盾が生じないパターンが含まれるか否かの判定を行わないように制御してもよい。   The contradiction determination unit determines that the contradiction is not found when a pattern that does not cause the contradiction is found in at least a part of the connected graph after the division until the number of the tracking connection information to be deleted exceeds a predetermined number. It may be controlled not to determine whether or not a pattern that does not occur is included.

前記矛盾解消部は、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じない前記パターンのうち、前記追跡接続情報の消去数が相対的に少ないパターンに基づいて、前記追跡接続情報を消去してもよい。   The contradiction resolution unit, based on a pattern having a relatively small number of erasures of the tracking connection information among the patterns in which the contradiction does not occur in at least some of the connected graphs after the division, the tracking connection information May be deleted.

前記追跡接続情報は、前記第1動線と前記第2動線との同一性の強度を示す追跡接続強度情報を含み、前記矛盾解消部は、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じず、前記追跡接続情報の消去数が同じパターンが複数存在する場合には、当該複数のパターンのうち、前記同一性の強度が相対的に低い前記追跡接続情報を消去するパターンに基づいて、前記追跡接続情報を消去してもよい。   The tracking connection information includes tracking connection strength information indicating strength of identity between the first flow line and the second flow line, and the contradiction resolution unit includes at least a part of the connection graph after division. If there is a plurality of patterns with the same number of erasures of the tracking connection information, the pattern of erasing the tracking connection information having a relatively low strength of identity among the plurality of patterns. The tracking connection information may be erased based on

前記矛盾解消部は、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じず、前記追跡接続情報の消去数が同じパターンが複数存在する場合には、当該複数のパターンのうち、分割後に矛盾が解消できる連結グラフの数が相対的に多いパターンに基づいて、前記追跡接続情報を消去してもよい。   When the contradiction resolution unit does not cause the contradiction in at least some of the connected graphs after the division, and there are multiple patterns with the same number of erasures of the tracking connection information, among the plurality of patterns, The tracking connection information may be deleted based on a pattern having a relatively large number of connected graphs that can be resolved after the division.

前記矛盾解消部は、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じず、前記追跡接続情報の消去数が同じパターンが複数存在する場合には、当該複数のパターンのうち、分割後に矛盾が解消できる連結グラフに含まれる前記追跡接続情報の数が相対的に多いパターンに基づいて、前記追跡接続情報を消去してもよい。   When the contradiction resolution unit does not cause the contradiction in at least some of the connected graphs after the division, and there are multiple patterns with the same number of erasures of the tracking connection information, among the plurality of patterns, The tracking connection information may be erased based on a pattern in which the number of the tracking connection information included in the connected graph that can resolve the contradiction after the division is relatively large.

前記矛盾解消部は、分割後の連結グラフのうち、前記矛盾が生じている連結グラフに対応する全ての前記追跡接続情報を消去して、一以上の前記第1動線及び一以上の前記第2動線に分割し、一以上の前記追跡接続情報を復活させた場合において、当該追跡接続情報に対応する連結グラフに前記矛盾が生じないとき、当該一以上の追跡接続情報を復活させてもよい。   The contradiction resolution unit erases all the tracking connection information corresponding to the connected graph in which the contradiction occurs in the divided connected graph, and the one or more first flow lines and the one or more first graphs are deleted. In the case where one or more tracking connection information is revived by dividing into two flow lines, if the contradiction does not occur in the connected graph corresponding to the tracking connection information, the one or more tracking connection information may be revived. Good.

前記追跡接続情報は、前記第1動線と前記第2動線との同一性の強度を示す追跡接続強度情報を含み、前記矛盾解消部は、前記同一性の強度が高い順に前記追跡接続情報を復活させてもよい。   The tracking connection information includes tracking connection strength information indicating the strength of identity between the first flow line and the second flow line, and the contradiction resolution unit includes the tracking connection information in descending order of the strength of identity. May be revived.

前記連結グラフは、一以上の前記第1動線のそれぞれに対応するオブジェクトの各時刻における前記所定エリアの位置を示す位置情報と、一以上の前記第2動線のそれぞれに対応するオブジェクトの各時刻における前記所定エリアの位置を示す位置情報とを含み、前記動線管理装置は、前記矛盾が生じていない連結グラフに含まれる前記第1動線に対応する位置情報と、当該連結グラフに含まれる前記第2動線に対応する位置情報とに基づいて、各時刻に1つの位置が関連付けられた1つの動線を示す動線情報を生成する動線生成部をさらに備えてもよい。   The connection graph includes position information indicating a position of the predetermined area at each time of an object corresponding to each of the one or more first flow lines, and each of the objects corresponding to each of the one or more second flow lines. Position information indicating a position of the predetermined area at a time, and the flow line management device includes position information corresponding to the first flow line included in the connected graph in which the contradiction does not occur, and the connected graph. And a flow line generating unit that generates flow line information indicating one flow line associated with one position at each time based on the position information corresponding to the second flow line.

前記動線生成部は、前記第1動線に対応する各時刻における前記オブジェクトの位置に関する第1の信頼値と、前記第2動線に対応する各時刻における前記オブジェクトの位置に関する第2の信頼値とに基づいて、前記第1動線と前記第2動線とから、各時刻に1つの位置が関連付けられた1つの動線情報を生成してもよい。   The flow line generation unit includes a first confidence value related to the position of the object at each time corresponding to the first flow line, and a second reliability related to the position of the object at each time corresponding to the second flow line. Based on the value, one flow line information in which one position is associated with each time may be generated from the first flow line and the second flow line.

前記撮像装置は、全方位画像を撮像する撮像装置であり、前記動線生成部は、動線に対応するオブジェクトの各時刻における撮像画像上での位置と、撮像画像の中心位置との距離を、当該時刻における前記信頼値として算出してもよい。   The imaging device is an imaging device that captures an omnidirectional image, and the flow line generation unit calculates a distance between a position on the captured image at each time of an object corresponding to the flow line and a center position of the captured image. The reliability value at the time may be calculated.

前記動線生成部は、同一の時刻に対応する、前記第1動線の前記位置情報に関する前記第1の信頼値と、前記第2動線の前記位置情報に関する前記第2の信頼値とを比較し、相対的に高い信頼値に対応する前記位置情報を、当該時刻における位置情報として含む前記動線情報を生成してもよい。   The flow line generation unit includes the first reliability value related to the position information of the first flow line and the second reliability value related to the position information of the second flow line corresponding to the same time. The flow line information including the position information corresponding to a relatively high confidence value as the position information at the time may be generated by comparison.

前記動線生成部は、前記矛盾が生じていない連結グラフにおいて第1の時刻における位置と、前記第1の時刻に連続する第2の時刻における位置との距離が所定距離以上である場合、前記第1の時刻を基準として、前記矛盾が生じていない連結グラフを分割してもよい。   When the distance between the position at the first time and the position at the second time continuous to the first time in the connected graph in which the contradiction does not occur is greater than or equal to a predetermined distance, The connected graph in which the contradiction does not occur may be divided on the basis of the first time.

本発明の第2の態様に係る動線管理方法は、コンピュータが実行する、所定エリアを撮像する第1撮像装置により撮像された複数の第1画像に基づく複数のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す一以上の第1動線と、前記所定エリアを撮像する第2撮像装置により撮像された複数の第2画像に基づく複数のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す複数の第2動線と、前記第1動線と前記第2動線との同一性を示す一以上の追跡接続情報とを含み、同一のオブジェクトに対応するものとして生成された1つの連結グラフに、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が存在するか否かを判定することにより、前記第1動線と前記第2動線と前記追跡接続情報とに矛盾が生じているか否かを判定するステップと、前記矛盾が生じていると判定されると、前記連結グラフから、前記矛盾が生じない、前記第1動線と前記第2動線と前記追跡接続情報とを含む連結グラフを生成するステップと、を備える。   The flow line management method according to the second aspect of the present invention shows a tracking result of each of a plurality of objects based on a plurality of first images captured by a first imaging device that captures a predetermined area, which is executed by a computer. The tracking results of each of a plurality of objects based on one or more first flow lines indicating the positions of the same object at each time and a plurality of second images captured by a second imaging device that captures the predetermined area. A plurality of second flow lines indicating the position of the same object at each time, and one or more tracking connection information indicating the identity of the first flow line and the second flow line, and the same object It is determined whether or not there is a plurality of flow lines that are a plurality of flow lines that overlap with corresponding imaging devices and corresponding times in one connected graph generated as corresponding to By determining whether or not there is a contradiction between the first flow line, the second flow line and the tracking connection information, and when determining that the contradiction occurs, from the connection graph, Generating a connected graph including the first flow line, the second flow line, and the tracking connection information that does not cause the contradiction.

本発明の第3の態様に係る動線管理プログラムは、コンピュータを、所定エリアを撮像する第1撮像装置により撮像された複数の第1画像に基づく複数のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す一以上の第1動線と、前記所定エリアを撮像する第2撮像装置により撮像された複数の第2画像に基づく複数のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す複数の第2動線と、前記第1動線と前記第2動線との同一性を示す一以上の追跡接続情報とを含み、同一のオブジェクトに対応するものとして生成された1つの連結グラフに、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が存在するか否かを判定することにより、前記第1動線と前記第2動線と前記追跡接続情報とに矛盾が生じているか否かを判定する矛盾判定部、及び、前記矛盾判定部により前記矛盾が生じていると判定されると、前記連結グラフから、前記矛盾が生じない、前記第1動線と前記第2動線と前記追跡接続情報とを含む連結グラフを生成する矛盾解消部、として機能させる。   The flow line management program according to the third aspect of the present invention shows a tracking result of each of a plurality of objects based on a plurality of first images captured by a first imaging device that images a predetermined area on a computer, and is identical. A tracking result of each of a plurality of objects based on one or more first flow lines indicating the position of each object at each time and a plurality of second images captured by a second imaging device that images the predetermined area; Corresponding to the same object, including a plurality of second flow lines indicating the position of the same object at each time, and one or more tracking connection information indicating the identity of the first flow line and the second flow line Determining whether or not there is a plurality of flow lines that are a plurality of flow lines that overlap with corresponding imaging devices and corresponding times in one connected graph generated as Thus, it is determined that the contradiction occurs by the contradiction determination unit that determines whether or not there is a contradiction between the first flow line, the second flow line, and the tracking connection information, and the contradiction determination unit. Then, it is made to function as a contradiction elimination part which produces | generates the connection graph containing the said 1st flow line, the said 2nd flow line, and the said tracking connection information from which the said contradiction does not arise from the said connection graph.

本発明によれば、異なるオブジェクトに対応する追跡結果を含まないように追跡結果を統合することができるという効果を奏する。   According to the present invention, it is possible to integrate tracking results so as not to include tracking results corresponding to different objects.

本実施形態に係るオブジェクト追跡システムの構成を示す図である。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 and imaging range of the 1st imaging device and 2nd imaging device which concern on this embodiment. 本実施形態に係る連結グラフの一例を示す図である。It is a figure which shows an example of the connection graph which concerns on this embodiment. 図3に示す連結グラフを簡略化した例を示す図である。It is a figure which shows the example which simplified the connection graph shown in FIG. 本実施形態に係る動線管理装置の構成を示す図である。It is a figure which shows the structure of the flow line management apparatus which concerns on this embodiment. 本実施形態に係る動線管理装置における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in the flow line management apparatus which concerns on this embodiment. 本実施形態に係る第1分割処理により連結グラフが分割される例を示す図である。It is a figure which shows the example by which a connection graph is divided | segmented by the 1st division | segmentation process which concerns on this embodiment. 第1分割処理に対応する処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process corresponding to a 1st division | segmentation process. 第2分割処理に対応する処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process corresponding to a 2nd division | segmentation process. 第3分割処理に対応する処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process corresponding to a 3rd division | segmentation process. 動線生成処理に対応する処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process corresponding to a flow line production | generation process. 動線生成処理により連結グラフが分割される例を説明する図である。It is a figure explaining the example by which a connection graph is divided | segmented by a flow line production | generation process.

[オブジェクト追跡システム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 first imaging device 1A, a second imaging device 1B, an object tracking device 2, and a flow line management device 3.

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

ここで、第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 that can be imaged by the first imaging device 1A and the range that can be imaged by the second imaging device 1B overlap at least partially. FIG. 2 is a diagram illustrating an installation position and an imaging range of the first imaging device 1A and the second imaging device 1B according to the present embodiment. As shown in FIG. 2, in the predetermined area A, a first imaging device 1A and a second imaging device 1B are installed. In addition, 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 captures an omnidirectional image. However, the present invention is not limited to this, and an image that is not an omnidirectional image may be captured. .

オブジェクト追跡装置2は、第1撮像装置1Aから複数の第1画像を含む動画を取得するとともに、第2撮像装置1Bから複数の第2画像を含む動画を取得する。オブジェクト追跡装置2は、複数の第1画像に基づいて複数のオブジェクトのそれぞれの追跡結果を示す一以上の第1動線を生成する。オブジェクト追跡装置2は、複数の第2画像に基づいて複数のオブジェクトのそれぞれの追跡結果を示す一以上の第2動線を生成する。オブジェクト追跡装置2は、第1動線が示すオブジェクトと第2動線が示すオブジェクトとの同一性を示す一以上の追跡接続情報を生成する。   The object tracking device 2 acquires a moving image including a plurality of first images from the first imaging device 1A, and acquires a moving image including a plurality of second images from the second imaging device 1B. The object tracking device 2 generates one or more first flow lines indicating the tracking results of the plurality of objects based on the plurality of first images. The object tracking device 2 generates one or more second flow lines indicating the tracking results of the plurality of objects based on the plurality of second images. The object tracking device 2 generates one or more tracking connection information indicating the identity between the object indicated by the first flow line and the object indicated by the second flow line.

ここで、1つの第1動線は、複数の時刻のそれぞれに、同一のオブジェクトの位置を示す位置情報が関連付けられた第1動線情報によって示される。また、1つの第2動線は、複数の時刻のそれぞれに、同一のオブジェクトの位置を示す位置情報が関連付けられた第2動線情報によって示される。第1動線情報及び第2動線情報のそれぞれには、動線を識別する動線識別情報が含まれている。   Here, one first flow line is indicated by first flow line information in which position information indicating the position of the same object is associated with each of a plurality of times. One second flow line is indicated by second flow line information in which position information indicating the position of the same object is associated with each of a plurality of times. Each of the first flow line information and the second flow line information includes flow line identification information for identifying a flow line.

動線管理装置3は、オブジェクト追跡装置2から、一以上の第1動線情報と、一以上の第2動線情報と、一以上の追跡接続情報とを取得する。動線管理装置3は、一以上の第1動線情報と、一以上の第2動線情報と、一以上の追跡接続情報とを含み、同一のオブジェクトに対応する連結グラフを生成する。ここで、連結グラフは、1つの第1動線情報又は1つの第2動線情報のみから構成されていてもよい。図3は、本実施形態に係る連結グラフの一例を示す図である。図3に示す連結グラフには、3つの第1動線LA1〜LA3と、2つの第2動線LB1、LB2とが含まれている。   The flow line management device 3 acquires one or more first flow line information, one or more second flow line information, and one or more tracking connection information from the object tracking device 2. The flow line management device 3 includes one or more first flow line information, one or more second flow line information, and one or more tracking connection information, and generates a connection graph corresponding to the same object. Here, the connection graph may be composed of only one first flow line information or one second flow line information. FIG. 3 is a diagram illustrating an example of a connection graph according to the present embodiment. The connection graph shown in FIG. 3 includes three first flow lines LA1 to LA3 and two second flow lines LB1 and LB2.

図3に示すように、動線は、各時刻におけるオブジェクトの位置を示す位置情報Pを複数含んでいる。また、第1動線と、第2動線とは、各時刻においてオブジェクトの同一性が判定されている。図3に示す接続線Lは、第1動線と、第2動線とが、ある時刻において同一であることを示している。例えば、図3において、第1動線LA1と第2動線LB1とは、3つの接続線Lによって接続されており、3つの時刻において同一であると判定されていることが確認できる。   As shown in FIG. 3, the flow line includes a plurality of pieces of position information P indicating the position of the object at each time. In addition, the identity of the object is determined at each time for the first flow line and the second flow line. The connection line L shown in FIG. 3 indicates that the first flow line and the second flow line are the same at a certain time. For example, in FIG. 3, it can be confirmed that the first flow line LA1 and the second flow line LB1 are connected by three connection lines L and are determined to be the same at three times.

図4は、図3に示す連結グラフを簡略化した例を示す図である。図4に示す連結グラフでは、第1動線と第2動線とは、追跡接続情報C(C1〜C4)により接続されていることが確認できる。   FIG. 4 is a diagram showing an example in which the connection graph shown in FIG. 3 is simplified. In the connection graph shown in FIG. 4, it can be confirmed that the first flow line and the second flow line are connected by the tracking connection information C (C1 to C4).

ところで、連結グラフに含まれる第1動線が示すオブジェクトと、第2動線が示すオブジェクトとの同一性の判定に誤りが含まれていると、連結グラフに異なるオブジェクトの動線が含まれてしまい、連結グラフに矛盾が生じてしまう。図3に示す例では、第1動線LA1と、第1動線LA2とは、第2動線LB1を通して接続関係にあり、これは同一のオブジェクトを示すことを意味する。しかしながら、第1動線LA1と、第1動線LA2とは、同一の撮像装置が撮像した画像によって生成され、かつ、一部の時刻が重複している。そのため、同一の撮像装置が撮像した画像中に、同時刻に同一のオブジェクトが2個存在するという矛盾が生じる。したがって、図3に示す第1動線LA1と、第1動線LA2とは、異なるオブジェクトに対応しており、図3に示す連結グラフには、誤った追跡接続情報による矛盾が生じている。   By the way, if there is an error in determining the identity between the object indicated by the first flow line and the object indicated by the second flow line included in the connection graph, the connection graph includes a flow line of a different object. As a result, a contradiction occurs in the connected graph. In the example shown in FIG. 3, the first flow line LA1 and the first flow line LA2 are connected through the second flow line LB1, which means that they indicate the same object. However, the first flow line LA1 and the first flow line LA2 are generated by images captured by the same imaging device, and some times overlap. Therefore, a contradiction arises in that two identical objects exist at the same time in images taken by the same imaging device. Therefore, the first flow line LA1 and the first flow line LA2 shown in FIG. 3 correspond to different objects, and the connected graph shown in FIG. 3 has a contradiction caused by incorrect tracking connection information.

これに対し、本実施形態における動線管理装置3は、生成した連結グラフに矛盾が生じているか否かを判定する。動線管理装置3は、連結グラフに矛盾が生じていると判定すると、連結グラフから、矛盾が生じない第1動線と第2動線と追跡接続情報とを含む連結グラフを生成する。このようにすることで、動線管理装置3は、異なるオブジェクトに対応する追跡結果を含まないように追跡結果を統合することができる。   On the other hand, the flow line management device 3 in this embodiment determines whether or not there is a contradiction in the generated connected graph. When determining that there is a contradiction in the connection graph, the flow line management device 3 generates a connection graph including the first flow line, the second flow line, and the tracking connection information from which no contradiction occurs from the connection graph. By doing in this way, the flow line management apparatus 3 can integrate tracking results so as not to include tracking results corresponding to different objects.

[動線管理装置3の構成]
続いて、動線管理装置3の構成を説明する。図5は、本実施形態に係る動線管理装置3の構成を示す図である。図5に示すように、動線管理装置3は、記憶部31と、制御部32とを備える。
[Configuration of the flow line management device 3]
Next, the configuration of the flow line management device 3 will be described. FIG. 5 is a diagram illustrating a configuration of the flow line management device 3 according to the present embodiment. As shown in FIG. 5, the flow line management 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、及び動線生成部325として機能させる動線管理プログラムを記憶している。   The storage unit 31 is a storage medium including a ROM (Read Only Memory) and a RAM (Random Access Memory). The storage unit 31 stores a program executed by the control unit 32. For example, the storage unit 31 stores a flow line management program that causes the flow line management device 3 to function as the acquisition unit 321, the generation unit 322, the contradiction determination unit 323, the contradiction resolution unit 324, and the flow line generation unit 325. .

制御部32は、例えばCPU(Central Processing Unit)又はGPU(Graphics Processing Unit)である。制御部32は、記憶部31に記憶された動線管理プログラムを実行することにより、取得部321、生成部322、矛盾判定部323、矛盾解消部324、及び動線生成部325として機能する。   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 generation unit 322, a contradiction determination unit 323, a contradiction resolution unit 324, and a flow line generation unit 325 by executing the flow line management program stored in the storage unit 31.

取得部321は、オブジェクト追跡装置2から、一以上の第1動線、一以上の第2動線、及び一以上の追跡接続情報を取得する。
生成部322は、取得部321が取得した一以上の第1動線、一以上の第2動線、及び一以上の追跡接続情報に基づいて一以上の連結グラフを生成する。
The acquisition unit 321 acquires one or more first flow lines, one or more second flow lines, and one or more tracking connection information from the object tracking device 2.
The generation unit 322 generates one or more connected graphs based on the one or more first flow lines, the one or more second flow lines, and the one or more tracking connection information acquired by the acquisition unit 321.

矛盾判定部323は、同一のオブジェクトに対応するものとして生成された1つの連結グラフに、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が存在するか否かを判定することにより、当該連結グラフに含まれる第1動線、第2動線及び追跡接続情報に矛盾が生じているか否かを判定する。   The contradiction determination unit 323 determines whether there are a plurality of flow lines that are a plurality of flow lines that overlap with corresponding imaging devices and corresponding times in one connected graph generated as corresponding to the same object. By determining whether or not there is a contradiction in the first flow line, the second flow line, and the tracking connection information included in the connection graph, it is determined.

矛盾解消部324は、矛盾判定部323により連結グラフに矛盾が生じていると判定されると、当該連結グラフから、矛盾が生じない第1動線と第2動線と追跡接続情報とを含む連結グラフを生成することにより、矛盾を解消させる。矛盾解消部324は、1つの連結グラフに含まれている複数の追跡接続情報のうち、一以上の追跡接続情報を消去し、当該1つの連結グラフを複数の連結グラフに分割することにより、矛盾が生じていない一以上の連結グラフを生成する。   When the contradiction determination unit 323 determines that there is a contradiction in the connected graph, the contradiction resolution unit 324 includes the first flow line, the second flow line, and the tracking connection information from which no contradiction occurs. Inconsistency is resolved by generating a connected graph. The contradiction resolution unit 324 deletes one or more pieces of tracking connection information from a plurality of pieces of tracking connection information included in one connected graph, and divides the one connected graph into a plurality of connected graphs, thereby providing a contradiction. Generate one or more connected graphs where no.

動線生成部325は、矛盾が生じていない連結グラフに含まれる第1動線に対応する位置情報と、当該連結グラフに含まれる第2動線に対応する位置情報とに基づいて、各時刻に1つの位置が関連付けられた1つの動線を示す動線情報を生成する。   Based on the position information corresponding to the first flow line included in the connected graph and the position information corresponding to the second flow line included in the connected graph, the flow line generating unit 325 generates each time The flow line information indicating one flow line associated with one position is generated.

[動線管理装置3における処理の流れ]
以下、動線管理装置3における処理の流れを示す図6を参照しながら、取得部321、生成部322、矛盾判定部323、矛盾解消部324、及び動線生成部325の詳細について説明する。図6は、本実施形態に係る動線管理装置3における処理の流れを示すフローチャートである。
[Flow of processing in flow line management device 3]
Hereinafter, the details of the acquisition unit 321, the generation unit 322, the contradiction determination unit 323, the contradiction resolution unit 324, and the flow line generation unit 325 will be described with reference to FIG. 6 showing the flow of processing in the flow line management device 3. FIG. 6 is a flowchart showing the flow of processing in the flow line management device 3 according to this embodiment.

まず、取得部321は、オブジェクト追跡装置2から、一以上の第1動線、一以上の第2動線、及び一以上の追跡接続情報を取得する(S1)。ここで、追跡接続情報には、接続される第1動線と第2動線とのそれぞれを識別する動線識別情報と、同一であると判定された一以上の時刻とが含まれている。また、追跡接続情報には、接続される第1動線に対応するオブジェクトと、第2動線に対応するオブジェクトとの同一性の強度を示す追跡接続強度情報が含まれている。   First, the acquisition unit 321 acquires one or more first flow lines, one or more second flow lines, and one or more tracking connection information from the object tracking device 2 (S1). Here, the tracking connection information includes the flow line identification information for identifying each of the first flow line and the second flow line to be connected, and one or more times determined to be the same. . The tracking connection information includes tracking connection strength information indicating the strength of identity between the object corresponding to the first flow line to be connected and the object corresponding to the second flow line.

同一性の強度は、各時刻における第1動線が示すオブジェクトと、第2動線が示すオブジェクトとの同一性判定の結果に基づいて算出されてもよい。同一性の強度は、同一であると判定された回数が多いほど、高くなるように算出される。例えば、図3に示す第1動線LA1と第2動線LB1とは、3つの時刻においてオブジェクトが同一であると判定され、第1動線LA2と第2動線LB1とは、2つの時刻においてオブジェクトが同一であると判定されている。この場合、第1動線LA1と第2動線LB1とに対応する同一性の強度は、第1動線LA2と第2動線LB1とに対応する同一性の強度よりも高い。   The strength of identity may be calculated based on the result of identity determination between the object indicated by the first flow line and the object indicated by the second flow line at each time. The strength of identity is calculated so as to increase as the number of times determined to be the same. For example, the first flow line LA1 and the second flow line LB1 shown in FIG. 3 are determined to have the same object at three times, and the first flow line LA2 and the second flow line LB1 are two times. It is determined that the objects are the same. In this case, the strength of identity corresponding to the first flow line LA1 and the second flow line LB1 is higher than the strength of identity corresponding to the first flow line LA2 and the second flow line LB1.

なお、同一性の強度は、各時刻における第1動線が示すオブジェクトの位置と、第2動線が示すオブジェクトの位置との距離に基づいて算出されてもよい。また、同一性の強度は、各時刻における第1動線が示すオブジェクトの画像の特徴量と、第2動線が示すオブジェクトの画像の特徴量とに基づいて算出されてもよい。   The strength of identity may be calculated based on the distance between the position of the object indicated by the first flow line and the position of the object indicated by the second flow line at each time. The strength of identity may be calculated based on the feature amount of the object image indicated by the first flow line and the feature amount of the object image indicated by the second flow line at each time.

続いて、生成部322は、取得部321が取得した一以上の第1動線、一以上の第2動線、及び一以上の追跡接続情報に基づいて一以上の連結グラフを生成する(S2)。例えば、生成部322は、1つの動線を選択し、当該動線に対応する追跡接続情報を特定する。そして、生成部322は、特定した追跡接続情報に基づいて、当該動線に接続される他の動線を特定する。生成部322は、特定した他の動線についても、追跡接続情報及び接続される他の動線を特定する。生成部322は、新たに特定した他の動線について、追跡接続情報及び接続される他の動線の特定を繰り返すことにより、同一のオブジェクトを示す連結グラフを生成する。なお、本実施形態では、生成部322が連結グラフを生成することとしたが、これに限らず、オブジェクト追跡装置2が連結グラフを生成してもよい。そして、動線管理装置3が、オブジェクト追跡装置2から、当該連結グラフを示す第1動線、第2動線、及び追跡接続情報の組み合わせを取得してもよい。   Subsequently, the generation unit 322 generates one or more connected graphs based on the one or more first flow lines, the one or more second flow lines, and the one or more tracking connection information acquired by the acquisition unit 321 (S2). ). For example, the generation unit 322 selects one flow line and specifies tracking connection information corresponding to the flow line. And the production | generation part 322 specifies the other flow line connected to the said flow line based on the identified tracking connection information. The generation unit 322 also specifies the tracking connection information and other connected flow lines for the specified other flow lines. The generation unit 322 generates a connected graph indicating the same object by repeating the tracking connection information and the specification of other connected flow lines for the newly specified other flow lines. In the present embodiment, the generation unit 322 generates a connected graph. However, the present invention is not limited to this, and the object tracking device 2 may generate a connected graph. Then, the flow line management device 3 may acquire a combination of the first flow line, the second flow line, and the tracking connection information indicating the connection graph from the object tracking device 2.

[第1分割処理]
続いて、矛盾判定部323及び矛盾解消部324は、S2において生成された連結グラフを必要に応じて分割する第1分割処理を実行する(S3)。
[First division processing]
Subsequently, the contradiction determination unit 323 and the contradiction resolution unit 324 execute a first division process of dividing the connected graph generated in S2 as necessary (S3).

図7は、本実施形態に係る第1分割処理により連結グラフが分割される例を示す図である。第1分割処理において、矛盾判定部323及び矛盾解消部324は、連結グラフに矛盾が生じている場合に、当該連結グラフから1つの追跡接続情報を消去することにより連結グラフを分割する。そして、矛盾判定部323及び矛盾解消部324は、分割後の連結グラフについても、矛盾が生じているか否かを判定し、矛盾が生じている場合には、分割後の連結グラフから1つの追跡接続情報を消去することにより分割後の連結グラフをさらに分割する。   FIG. 7 is a diagram illustrating an example in which a connected graph is divided by the first division processing according to the present embodiment. In the first division process, the contradiction determination unit 323 and the contradiction resolution unit 324 divide the connected graph by deleting one trace connection information from the connected graph when the connected graph has a contradiction. Then, the contradiction determination unit 323 and the contradiction resolution unit 324 determine whether or not there is a contradiction also in the connected graph after the division. If there is a contradiction, one tracking is performed from the connected graph after the division. The connected graph after the division is further divided by deleting the connection information.

図7に示す例において、追跡接続情報の数が120個の連結グラフG1に矛盾が生じている場合、矛盾判定部323及び矛盾解消部324は、連結グラフG1から1つの追跡接続情報を消去し、追跡接続情報を50個含む連結グラフG2と、追跡接続情報を69個含む連結グラフG3とに分割する。そして、矛盾判定部323及び矛盾解消部324は、連結グラフG2が矛盾している場合、連結グラフG2から1つの追跡接続情報を消去し、追跡接続情報を30個含む連結グラフG4と、追跡接続情報を19個含む連結グラフG5とに分割する。同様に、矛盾判定部323及び矛盾解消部324は、連結グラフG4を連結グラフG6と連結グラフG7とに分割し、連結グラフG7を連結グラフG8と連結グラフG9とに分割する。なお、分割後の連結グラフに矛盾が生じており、さらに、連結グラフに含まれる追跡接続情報の数が所定数(例えば、10個)以下の場合には、当該連結グラフに対して、後述する第2分割処理が行われる。図7に示す例では、連結グラフG6と連結グラフG8とについて、第2分割処理が行われる。   In the example shown in FIG. 7, when there is a contradiction in the connected graph G1 having 120 pieces of tracking connection information, the contradiction determination unit 323 and the contradiction resolution unit 324 delete one piece of tracking connection information from the connected graph G1. The connection graph G2 including 50 pieces of tracking connection information and the connection graph G3 including 69 pieces of tracking connection information are divided. Then, the contradiction determination unit 323 and the contradiction resolution unit 324 delete one tracking connection information from the connection graph G2 when the connection graph G2 is inconsistent, and a connection graph G4 including 30 pieces of tracking connection information, and the tracking connection It is divided into a connected graph G5 containing 19 pieces of information. Similarly, the contradiction determination unit 323 and the contradiction resolution unit 324 divide the connected graph G4 into a connected graph G6 and a connected graph G7, and divide the connected graph G7 into a connected graph G8 and a connected graph G9. If there is a contradiction in the connected graph after the division, and the number of pieces of tracking connection information included in the connected graph is a predetermined number (for example, 10) or less, the connected graph will be described later. A second division process is performed. In the example illustrated in FIG. 7, the second division process is performed on the connected graph G6 and the connected graph G8.

以下に、第1分割処理における処理の流れを参照しながら、第1分割処理における矛盾判定部323及び矛盾解消部324の機能について説明する。図8は、第1分割処理に対応する処理の流れを示すフローチャートである。   The functions of the contradiction determination unit 323 and the contradiction resolution unit 324 in the first division process will be described below with reference to the processing flow in the first division process. FIG. 8 is a flowchart showing a flow of processing corresponding to the first division processing.

まず、矛盾判定部323は、生成部322が生成した複数の連結グラフのうち、1つの連結グラフを選択する(S31)。
続いて、矛盾判定部323は、選択した1つの連結グラフに矛盾が生じているか否かを判定する(S32)。具体的には、矛盾判定部323は、選択した1つの連結グラフに、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が存在するか否かを判定することにより、当該連結グラフに含まれる第1動線と第2動線と追跡接続情報とに矛盾が生じているか否かを判定する。矛盾判定部323は、矛盾が生じていると判定すると、S33に処理を移し、矛盾が生じていないと判定すると、S35に処理を移す。
First, the contradiction determining unit 323 selects one connected graph among the plurality of connected graphs generated by the generating unit 322 (S31).
Subsequently, the contradiction determination unit 323 determines whether there is a contradiction in one selected connected graph (S32). Specifically, the contradiction determination unit 323 determines whether or not there is a plurality of flow lines in the selected connected graph that are a plurality of flow lines that overlap with the corresponding imaging device and corresponding time. By doing so, it is determined whether or not there is a contradiction between the first flow line, the second flow line, and the tracking connection information included in the connection graph. If the contradiction determining unit 323 determines that a contradiction has occurred, the process proceeds to S33, and if it determines that no contradiction has occurred, the process proceeds to S35.

S33において、矛盾解消部324は、選択した1つの連結グラフに含まれている追跡接続情報の数が所定数よりも多いか否かを判定する。矛盾解消部324は、追跡接続情報の数が所定数よりも多いと判定すると、S34に処理を移す。矛盾解消部324は、追跡接続情報の数が所定数以下であると判定すると、矛盾が生じている連結グラフを分割することなくS35に処理を移す。   In S33, the contradiction resolution unit 324 determines whether or not the number of pieces of tracking connection information included in one selected connected graph is greater than a predetermined number. If the contradiction resolution unit 324 determines that the number of pieces of tracking connection information is greater than the predetermined number, the process proceeds to S34. If the contradiction resolution unit 324 determines that the number of pieces of tracking connection information is equal to or less than the predetermined number, the process proceeds to S35 without dividing the connected graph in which the contradiction occurs.

S34において、矛盾解消部324は、矛盾が生じている連結グラフから1つの追跡接続情報を消去することにより、連結グラフを、第1の連結グラフと第2の連結グラフとに分割する。ここで、追跡接続情報は、第1動線と第2動線との同一性の強度を示す追跡接続強度情報が含まれている。矛盾解消部324は、連結グラフに含まれている一以上の追跡接続情報のそれぞれに含まれている追跡接続強度情報を参照し、連結グラフに含まれている複数の追跡接続情報のうち、同一性の強度が低い順に追跡接続情報を消去する。このようにすることで、動線管理装置3は、追跡接続情報を消去されることによって生成される連結グラフに矛盾が生じていない確率を高めることができる。   In S <b> 34, the contradiction resolution unit 324 divides the connected graph into the first connected graph and the second connected graph by deleting one trace connection information from the connected graph in which the contradiction occurs. Here, the tracking connection information includes tracking connection strength information indicating the strength of identity between the first flow line and the second flow line. The contradiction resolution unit 324 refers to the tracking connection strength information included in each of the one or more tracking connection information included in the connection graph, and is the same among the plurality of tracking connection information included in the connection graph. The tracking connection information is deleted in descending order of strength. By doing in this way, the flow line management apparatus 3 can raise the probability that there is no contradiction in the connected graph generated by deleting the tracking connection information.

S35において、矛盾判定部323は、未選択の連結グラフがあるか否かを判定する。ここで、未選択の連結グラフには、S34により1つの連結グラフから分割された第1の連結グラフと、第2の連結グラフとが含まれるものとする。矛盾判定部323は、未選択の連結グラフがあると判定すると、S31に処理を移し、未選択の連結グラフがないと判定すると、本フローチャートに示される第1分割処理を終了する。   In S35, the contradiction determination unit 323 determines whether there is an unselected connected graph. Here, it is assumed that the unselected connected graph includes the first connected graph and the second connected graph divided from one connected graph in S34. If the contradiction determining unit 323 determines that there is an unselected connected graph, the process proceeds to S31. If the contradiction determining unit 323 determines that there is no unselected connected graph, the first division processing illustrated in the flowchart ends.

上述したように、未選択の連結グラフには、1つの連結グラフから分割された第1の連結グラフと、第2の連結グラフとが含まれることから、当該第1の連結グラフと、第2の連結グラフとは、複数回実行されるS31の処理において、1回ずつ選択される。これにより、矛盾判定部323は、第1連結グラフと第2連結グラフとのそれぞれについて、当該連結グラフに矛盾が生じているか否かを判定する。   As described above, since the unselected connected graph includes the first connected graph and the second connected graph divided from one connected graph, the first connected graph, the second connected graph, The connected graph is selected once in the process of S31 executed a plurality of times. Thereby, the contradiction determination part 323 determines whether there is a contradiction in the connected graph for each of the first connected graph and the second connected graph.

そして、分割後の連結グラフについて、S32において矛盾が生じていると矛盾判定部323が判定した場合、矛盾解消部324は、S33において当該分割後の連結グラフに含まれている追跡接続情報の数が所定数よりも多いと判定したことを条件として、当該分割後の連結グラフを、当該第1の連結グラフと第2の連結グラフに分割する。   When the contradiction determination unit 323 determines that there is a contradiction in S32 for the connected graph after division, the conflict resolution unit 324 determines the number of pieces of tracking connection information included in the connected graph after division in S33. Is divided into the first connected graph and the second connected graph on the condition that it is determined that there is more than the predetermined number.

これにより、分割された連結グラフに含まれる追跡接続情報の数が所定数以上である場合には、矛盾解消部324による連結グラフの分割と、矛盾判定部323による分割後の矛盾判定とが繰り返される。このようにすることで、動線管理装置3は、矛盾が生じている連結グラフから、矛盾が生じていない連結グラフが生成される確率を高めることができる。   Thereby, when the number of pieces of tracking connection information included in the divided connected graph is a predetermined number or more, the division of the connected graph by the contradiction resolution unit 324 and the conflict determination after the division by the conflict determination unit 323 are repeated. It is. By doing in this way, the flow line management apparatus 3 can raise the probability that the connection graph without the contradiction will be produced | generated from the connection graph with which the contradiction has arisen.

[第2分割処理]
図6に説明を戻す。続いて、矛盾判定部323及び矛盾解消部324は、S3の終了時点で依然として矛盾が生じている連結グラフを、矛盾が生じない連結グラフに分割する第2分割処理を実行する(S4)。
[Second division processing]
Returning to FIG. Subsequently, the contradiction determination unit 323 and the contradiction resolution unit 324 execute a second division process of dividing the connected graph that still has a contradiction at the end of S3 into a connected graph that does not cause a contradiction (S4).

具体的には、矛盾判定部323は、矛盾が生じている連結グラフから追跡接続情報を消去する複数のパターンのうち、消去する追跡接続情報の数が少ないパターンから順に、分割後の連結グラフの少なくとも一部の連結グラフに矛盾が生じないパターンが含まれるか否かを判定する。   Specifically, the contradiction determination unit 323 sequentially selects the connected graphs after the division from the plurality of patterns for erasing the tracking connection information from the connected graph in which the contradiction occurs, in order from the pattern with the smallest number of tracking connection information to be deleted. It is determined whether or not at least a part of the connected graph includes a pattern that does not cause a contradiction.

そして、矛盾解消部324は、追跡接続情報を消去する複数のパターンのうち、分割後の連結グラフの少なくとも一部の連結グラフに矛盾が生じないパターンに基づいて、追跡接続情報を消去する。矛盾解消部324は、分割後の連結グラフの少なくとも一部の連結グラフに矛盾が生じないパターンのうち、追跡接続情報の消去数が相対的に少ないパターン(例えば、消去数が最も少ないパターン)に基づいて、追跡接続情報を消去する。このようにすることで、動線管理装置3は、第1分割処理よりも確実に矛盾が生じない連結グラフを生成することができる。   Then, the contradiction elimination unit 324 erases the tracking connection information based on a pattern in which at least some of the connected graphs in the divided connected graph do not cause a contradiction among the plurality of patterns for deleting the tracking connection information. The contradiction resolution unit 324 generates a pattern having a relatively small number of erased tracking connection information (for example, a pattern having the smallest number of erased) among the patterns in which at least some of the connected graphs after the division do not cause a contradiction. Based on this, the tracking connection information is deleted. By doing in this way, the flow line management apparatus 3 can produce | generate the connection graph which does not produce contradiction more reliably than the 1st division | segmentation process.

以下、第2分割処理に対応する処理の流れの詳細について説明する。図9は、第2分割処理に対応する処理の流れを示すフローチャートである。   Hereinafter, details of the flow of processing corresponding to the second division processing will be described. FIG. 9 is a flowchart showing a flow of processing corresponding to the second division processing.

まず、矛盾判定部323は、矛盾が生じている1つの連結グラフを選択する(S41)。
続いて、矛盾判定部323は、選択した連結グラフにおいて消去する追跡接続情報の数であるNの値を1に設定する(S42)。
First, the contradiction determination unit 323 selects one connected graph in which a contradiction has occurred (S41).
Subsequently, the contradiction determination unit 323 sets the value of N, which is the number of tracking connection information to be deleted in the selected connected graph, to 1 (S42).

続いて、矛盾判定部323は、選択した連結グラフにおいて、追跡接続情報をN個消去する消去パターンを特定する(S43)。例えば、図4に示す例においてNが1である場合の消去パターンは、追跡接続情報C1を消去するパターン、追跡接続情報C2を消去するパターン、追跡接続情報C3を消去するパターン、及び追跡接続情報C4を消去するパターンの4つのパターンである。   Subsequently, the contradiction determination unit 323 specifies an erasure pattern for erasing N pieces of tracking connection information in the selected connected graph (S43). For example, in the example shown in FIG. 4, when N is 1, the erasing pattern is a pattern for erasing the tracking connection information C1, a pattern for erasing the tracking connection information C2, a pattern for erasing the tracking connection information C3, and the tracking connection information. These are four patterns for erasing C4.

続いて、矛盾判定部323は、特定した消去パターンに基づいて追跡接続情報を消去した結果、連結グラフに矛盾が生じない消去パターンがあるか否かを判定する(S44)。矛盾判定部323は、矛盾が生じない消去パターンがあると判定すると、S45に処理を移す。   Subsequently, the contradiction determination unit 323 determines whether or not there is an erasure pattern that does not cause a contradiction in the connected graph as a result of erasing the tracking connection information based on the identified erasure pattern (S44). If the contradiction determination unit 323 determines that there is an erase pattern that does not cause a contradiction, the process proceeds to S45.

S45において、矛盾解消部324は、矛盾が生じない消去パターンに基づいて、選択されている1つの連結グラフから追跡接続情報を消去する。ここで、矛盾解消部324は、選択されている1つの連結グラフから分割した後の連結グラフの少なくとも一部の連結グラフに矛盾が生じず、追跡接続情報の消去数が同じパターンが複数存在する場合には、当該複数のパターンのうち、同一性の強度が相対的に低い追跡接続情報を消去するパターンに基づいて、追跡接続情報を消去する。このようにすることで、動線管理装置3は、連結グラフから、当該連結グラフに対応するオブジェクトと同一ではない可能性が高いオブジェクトに対応する動線を切り離すことができる。   In S45, the contradiction resolution unit 324 erases the tracking connection information from one selected connected graph based on an erase pattern that does not cause a contradiction. Here, the contradiction elimination unit 324 does not cause any contradiction in at least some of the connected graphs after being divided from one selected connected graph, and there are a plurality of patterns with the same number of tracking connection information deletions. In this case, the tracking connection information is deleted based on the pattern for deleting the tracking connection information having a relatively low identity strength among the plurality of patterns. By doing in this way, the flow line management apparatus 3 can isolate | separate the flow line corresponding to the object with high possibility that it is not the same as the object corresponding to the said connection graph from a connection graph.

また、矛盾判定部323は、分割後の連結グラフの少なくとも一部の連結グラフに矛盾が生じず、追跡接続情報の消去数が同じパターンが複数存在する場合には、追跡接続情報の消去によって分割された後の複数の連結グラフのそれぞれについて、矛盾が生じているか否かを判定してもよい。そして、矛盾解消部324は、当該複数のパターンのうち、分割後に矛盾が解消できる連結グラフの数が相対的に多いパターンに基づいて、追跡接続情報を消去してもよい。このようにすることで、動線管理装置3は、矛盾が解消した連結グラフを効率的に生成することができる。   Also, the contradiction determination unit 323 divides by deleting the tracking connection information when there is no contradiction in at least some of the connected graphs after the division and there are multiple patterns with the same number of deletions of the tracking connection information. It may be determined whether or not there is a contradiction for each of the plurality of connected graphs after being processed. Then, the contradiction resolution unit 324 may delete the tracking connection information based on a pattern having a relatively large number of connected graphs that can be resolved after the division among the plurality of patterns. By doing in this way, the flow line management apparatus 3 can generate | occur | produce efficiently the connection graph from which the contradiction was eliminated.

なお、矛盾解消部324は、分割後の連結グラフの少なくとも一部の連結グラフに矛盾が生じず、追跡接続情報の消去数が同じパターンが複数存在する場合、分割後に矛盾が解消できる連結グラフの数が相対的に多いパターンに基づいて、追跡接続情報を消去したが、これに限らない。矛盾解消部324は、追跡接続情報の消去数が同じ複数のパターンのうち、分割後に矛盾が解消できる連結グラフに含まれる追跡接続情報の数が相対的に多いパターンに基づいて、追跡接続情報を消去してもよい。このようにすることで、動線管理装置3は、規模の大きい連結グラフを優先的に生成することができる。
矛盾解消部324は、S45の処理が終了すると、S48に処理を移す。
Note that the contradiction resolution unit 324 does not cause any contradiction in at least some of the connected graphs after the division, and if there are a plurality of patterns with the same number of erased tracking connection information, The tracking connection information is deleted based on a pattern having a relatively large number, but the present invention is not limited to this. The contradiction resolution unit 324 determines the tracking connection information based on a pattern having a relatively large number of tracking connection information included in the connected graph that can eliminate the contradiction after the division among a plurality of patterns having the same number of erased tracking connection information. It may be deleted. By doing so, the flow line management device 3 can preferentially generate a large-scale connected graph.
When the process of S45 ends, the contradiction resolution unit 324 moves the process to S48.

矛盾判定部323は、S44において、矛盾が生じない消去パターンがないと判定するとS46に処理を移し、Nに1を加算する。これにより、追跡接続情報を消去する数が増加する。   If the contradiction determining unit 323 determines in S44 that there is no erase pattern that does not cause a contradiction, the process proceeds to S46, and 1 is added to N. This increases the number of tracking connection information to be deleted.

ここで、連結グラフに含まれている追跡接続情報の数が多い場合、Nの増加に伴って消去パターンが著しく増加し、処理負荷が大きくなるという問題がある。そこで、矛盾判定部323は、消去する追跡接続情報の数が所定数を超えるまでに、分割後の連結グラフの少なくとも一部の連結グラフに矛盾が生じないパターンが見つからなかった場合は、矛盾が生じないパターンが含まれるか否かの判定を行わないように制御する。   Here, when the number of pieces of tracking connection information included in the connected graph is large, there is a problem that the erase pattern increases remarkably as N increases and the processing load increases. Therefore, the contradiction determining unit 323 determines that there is no contradiction when a pattern that does not cause a contradiction is found in at least some of the connected graphs after the division until the number of trace connection information to be deleted exceeds a predetermined number. Control is performed so as not to determine whether or not a pattern that does not occur is included.

具体的には、矛盾判定部323は、S47において、Nが所定数を超えたか否かを判定する。矛盾判定部323は、Nが所定数を超えたと判定すると、選択している連結グラフについて、矛盾が生じないパターンが含まれるか否かの判定を新たに行わず、S48に処理を移す。また、矛盾判定部323は、Nが所定数を超えていないと判定すると、S43に処理を移し、矛盾が生じないパターンが含まれるか否かの判定を継続する。このようにすることで、動線管理装置3は、処理負荷を軽減することができる。   Specifically, the contradiction determination unit 323 determines whether or not N exceeds a predetermined number in S47. If the contradiction determining unit 323 determines that N exceeds a predetermined number, the contradiction determining unit 323 does not newly determine whether or not a pattern that does not cause contradiction is included in the selected connected graph, and the process proceeds to S48. If the contradiction determining unit 323 determines that N does not exceed the predetermined number, the process proceeds to S43 and continues to determine whether or not a pattern that does not cause a contradiction is included. In this way, the flow line management device 3 can reduce the processing load.

続いて、矛盾判定部323は、未選択の矛盾が生じている連結グラフがあるか否かを判定する(S48)。矛盾判定部323は、未選択の矛盾が生じている連結グラフがあると判定すると、S41に処理を移し、未選択の矛盾が生じている連結グラフがないと判定すると、本フローチャートに示される第2分割処理を終了する。   Subsequently, the contradiction determination unit 323 determines whether there is a connected graph in which an unselected contradiction occurs (S48). If the contradiction determining unit 323 determines that there is a connected graph in which an unselected contradiction has occurred, the process moves to S41, and if it is determined that there is no connected graph in which an unselected contradiction occurs, the first flowchart shown in this flowchart is displayed. The two-division process is terminated.

[第3分割処理]
図6に説明を戻す。続いて、矛盾判定部323及び矛盾解消部324は、S4の終了時点で依然として矛盾が生じている連結グラフを、矛盾が生じない連結グラフに分割する第3分割処理を実行する(S4)。
[Third division processing]
Returning to FIG. Subsequently, the contradiction determination unit 323 and the contradiction resolution unit 324 execute a third division process of dividing the connected graph that still has a conflict at the end of S4 into a connected graph that does not cause a conflict (S4).

具体的には、矛盾解消部324は、分割後の連結グラフのうち、矛盾が生じている連結グラフに対応する全ての追跡接続情報を消去して、一以上の第1動線及び一以上の第2動線に分割する。そして、矛盾解消部324は、消去した一以上の追跡接続情報を復活させた場合において、当該追跡接続情報に対応する連結グラフに矛盾が生じないとき、当該一以上の追跡接続情報を復活させる。このようにすることで、動線管理装置3は、第2分割処理よりも確実に矛盾が生じない連結グラフを生成することができる。   Specifically, the contradiction resolution unit 324 deletes all the tracking connection information corresponding to the connected graph in which the contradiction occurs in the connected graph after the division, and the one or more first flow lines and the one or more ones. Divide into second flow lines. The contradiction resolution unit 324 restores the one or more pieces of tracking connection information when there is no contradiction in the connected graph corresponding to the trace connection information when the deleted one or more pieces of trace connection information are restored. By doing in this way, the flow line management apparatus 3 can produce | generate the connection graph which does not produce a contradiction more reliably than a 2nd division | segmentation process.

以下、第3分割処理に対応する処理の流れの詳細について説明する。図10は、第3分割処理に対応する処理の流れを示すフローチャートである。   Hereinafter, details of a flow of processing corresponding to the third division processing will be described. FIG. 10 is a flowchart illustrating a process flow corresponding to the third division process.

まず、矛盾判定部323は、矛盾が生じている1つの連結グラフを選択する(S51)。
続いて、矛盾解消部324は、選択した連結グラフに含まれている全ての追跡接続情報を消去する(S52)。これにより、連結グラフは、一以上の第1動線及び一以上の第2動線に分割される。
First, the contradiction determination unit 323 selects one connected graph in which a contradiction has occurred (S51).
Subsequently, the contradiction resolution unit 324 deletes all the trace connection information included in the selected connected graph (S52). Thereby, the connection graph is divided into one or more first flow lines and one or more second flow lines.

続いて、矛盾解消部324は、消去した追跡接続情報のうち、1つの追跡接続情報を選択する(S53)。ここで、矛盾解消部324は、消去した追跡接続情報を同一性の強度が高い順に並び変える。そして、矛盾解消部324は、消去した追跡接続情報のうち、同一性の強度が高い追跡接続情報を選択する。   Subsequently, the contradiction resolution unit 324 selects one trace connection information from the erased trace connection information (S53). Here, the contradiction resolution unit 324 rearranges the deleted tracking connection information in descending order of the strength of identity. Then, the contradiction resolution unit 324 selects the tracking connection information with high strength of identity among the deleted tracking connection information.

続いて、矛盾判定部323は、S53において選択された追跡接続情報を復活させて連結グラフを生成した場合に、当該追跡接続情報に対応する連結グラフに矛盾が生じないか否かを判定する(S54)。ここで、矛盾判定部323は、既に他の追跡接続情報を復活させて連結グラフが生成されている場合には、S53において選択された追跡接続情報を復活させることにより、当該連結グラフに含まれる追跡接続情報及び動線を増加させる。矛盾判定部323は、矛盾が生じないと判定すると、S55に処理を移し、矛盾が生じていると判定すると、S56に処理を移す。   Subsequently, the contradiction determination unit 323 determines whether or not there is a contradiction in the connected graph corresponding to the tracking connection information when the connected connection graph is generated by restoring the tracking connection information selected in S53 ( S54). Here, if the connected graph is already generated by reviving other tracking connection information, the contradiction determining unit 323 is included in the connected graph by reviving the tracking connection information selected in S53. Increase tracking connection information and flow lines. If the contradiction determining unit 323 determines that no contradiction occurs, the process proceeds to S55. If the contradiction determining unit 323 determines that a contradiction occurs, the process proceeds to S56.

S55において、矛盾解消部324は、選択した追跡接続情報を復活させ、連結グラフを生成する。矛盾解消部324は、S53において、同一性の強度が高い順に追跡接続情報を選択することから、S55において、同一性の強度が高い順に追跡接続情報を復活させる。このようにすることで、動線管理装置3は、同一のオブジェクトである可能性が高い動線から順に接続させて連結グラフを生成することができる。矛盾解消部324は、S55の処理が終了すると、S53に処理を移す。   In S55, the contradiction resolution unit 324 restores the selected tracking connection information and generates a connected graph. Since the contradiction resolution unit 324 selects the tracking connection information in descending order of the identity strength in S53, the tracking connection information is restored in S55 in descending order of the identity strength. By doing in this way, the flow line management apparatus 3 can produce | generate a connection graph by connecting in order from the flow line with high possibility of being the same object. When the process of S55 is completed, the contradiction resolution unit 324 moves the process to S53.

S56において、矛盾判定部323は、未選択の矛盾が生じている連結グラフがあるか否かを判定する(S56)。矛盾判定部323は、未選択の矛盾が生じている連結グラフがあると判定すると、S51に処理を移し、未選択の矛盾が生じている連結グラフがないと判定すると、本フローチャートに示される第3分割処理を終了する。   In S56, the contradiction determination unit 323 determines whether there is a connected graph in which an unselected contradiction occurs (S56). If the contradiction determining unit 323 determines that there is a connected graph in which an unselected contradiction has occurred, the process proceeds to S51, and if it is determined that there is no connected graph in which an unselected contradiction has occurred, The three-division process is terminated.

[動線生成処理]
図6に説明を戻す。続いて、動線生成部325は、S3〜S5において生成された矛盾が生じていない連結グラフについて、第1動線に対応する位置情報と、当該連結グラフに対応する第2動線に対応する位置情報とに基づいて、複数の時刻のそれぞれに1つの位置情報を関連付けた1つの動線を示す動線情報を生成する動線生成処理を実行する(S6)。
[Flow line generation processing]
Returning to FIG. Subsequently, the flow line generation unit 325 corresponds to the position information corresponding to the first flow line and the second flow line corresponding to the connected graph for the connected graph generated in S3 to S5 without any contradiction. Based on the position information, a flow line generation process for generating flow line information indicating one flow line in which one position information is associated with each of a plurality of times is executed (S6).

具体的には、動線生成部325は、1つの連結グラフに含まれる第1動線の各時刻における位置情報に関する第1の信頼値と、第2動線の各時刻における位置情報に関する第2の信頼値とに基づいて、第1動線と第2動線とから各時刻に1つの位置が関連付けられた1つの動線情報を生成する。ここで、信頼値は、動線に含まれる位置情報が示すオブジェクトの位置の確からしさを示す値である。信頼値は、例えば、動線の各時刻におけるオブジェクトの位置と、撮像装置との位置に基づいて定められる値である。なお、信頼値は、数値に限定されるものではなく、記号であってもよい。   Specifically, the flow line generation unit 325 includes a first confidence value related to position information of each first flow line included in one connected graph at each time and a second reliability value related to position information of each second flow line at each time. On the basis of the confidence value, one flow line information in which one position is associated with each time is generated from the first flow line and the second flow line. Here, the confidence value is a value indicating the probability of the position of the object indicated by the position information included in the flow line. The confidence value is a value determined based on, for example, the position of the object at each time of the flow line and the position of the imaging device. Note that the confidence value is not limited to a numerical value, and may be a symbol.

動線生成部325は、同一の時刻に対応する、第1動線の位置情報に関する第1の信頼値と、第2動線の位置情報に関する第2の信頼値とを比較し、相対的に高い信頼値に対応する位置情報を、当該時刻における位置情報として含む動線情報を生成する。このようにすることで、動線管理装置3は、連結グラフに含まれる複数の動線を1つの動線に統合することができる。また、動線管理装置3は、信頼値に基づいて動線情報を生成することにより、高精度の位置を示す位置情報を含む動線情報を生成することができる。   The flow line generation unit 325 compares the first reliability value related to the position information of the first flow line and the second reliability value related to the position information of the second flow line corresponding to the same time, and relatively Flow line information including position information corresponding to a high confidence value as position information at the time is generated. By doing in this way, the flow line management apparatus 3 can integrate a plurality of flow lines included in the connection graph into one flow line. Further, the flow line management device 3 can generate flow line information including position information indicating a highly accurate position by generating flow line information based on the reliability value.

以下、動線生成処理に対応する処理の流れの詳細について説明する。図11は、動線生成処理に対応する処理の流れを示すフローチャートである。   The details of the flow of processing corresponding to the flow line generation processing will be described below. FIG. 11 is a flowchart showing a flow of processing corresponding to the flow line generation processing.

まず、動線生成部325は、1つの連結グラフを選択する(S601)。連結グラフには、一以上の第1動線を示す一以上の第1動線情報と、一以上の第2動線を示す一以上の第2動線情報と、追跡接続情報とが含まれている。   First, the flow line generation unit 325 selects one connected graph (S601). The connection graph includes one or more first flow line information indicating one or more first flow lines, one or more second flow line information indicating one or more second flow lines, and tracking connection information. ing.

続いて、動線生成部325は、選択した連結グラフに含まれている第1動線情報と、第2動線情報とを参照し、これらの動線情報に含まれている時刻のうち、最も古い時刻を選択する(S602)。   Subsequently, the flow line generation unit 325 refers to the first flow line information and the second flow line information included in the selected connected graph, and among the times included in these flow line information, The oldest time is selected (S602).

続いて、動線生成部325は、選択した時刻を含む動線情報において、当該時刻に関連付けられている位置情報を特定する(S603)。ここで、動線生成部325は、第1動線情報と、第2動線情報とのいずれか一方に選択した時刻が含まれている場合、1つの位置情報を特定する。また、動線生成部325は、第1動線情報と、第2動線情報との双方に選択した時刻が含まれている場合、動線生成部325は、2つの位置情報を特定する。   Subsequently, the flow line generation unit 325 specifies position information associated with the time in the flow line information including the selected time (S603). Here, the flow line generation unit 325 specifies one piece of position information when the selected time is included in one of the first flow line information and the second flow line information. In addition, when the selected time is included in both the first flow line information and the second flow line information, the flow line generation unit 325 specifies two pieces of position information.

続いて、動線生成部325は、2つの位置情報を特定したか否かを判定する(S604)。動線生成部325は、2つの位置情報を特定したと判定すると、S605に処理を移し、2つの位置情報を特定していないと判定すると、S606に処理を移す。   Subsequently, the flow line generation unit 325 determines whether two pieces of position information have been specified (S604). If the flow line generation unit 325 determines that the two pieces of position information have been specified, the process moves to S605. If the flow line generation unit 325 determines that the two pieces of position information have not been specified, the flow line generation unit 325 moves the process to S606.

S605において、動線生成部325は、2つの位置情報である、第1動線情報に対応する位置情報と、第2動線情報に対応する位置情報とのうち、信頼値が高い位置情報を特定する。具体的には、動線生成部325は、まず、第1動線情報に対応する位置情報に関する第1の信頼値と、第1動線情報に対応する位置情報に関する第2の信頼値とを算出する。例えば、動線生成部325は、撮像装置が全方位カメラの場合、選択されている時刻に対応する、撮像装置が撮像した撮像画像上における動線に対応するオブジェクトの位置と、撮像画像の中心位置との距離の逆数を、当該時刻における信頼値として算出する。もしくは、動線生成部325は、撮像画像上のオブジェクトに対応する領域の面積を信頼値として算出してもよい。また、機械学習や深層学習装置を別途備え、動線生成部325は、機械学習や深層学習装置を用いて、オブジェクトの検出スコアや識別スコアを信頼値として算出してもよい。そして、動線生成部325は、算出した第1の信頼値と、算出した第2の信頼値とを比較し、相対的に高い信頼値に対応する位置情報を特定する。このようにすることで、動線管理装置3は、オブジェクトの特定精度が高い位置情報に基づく動線を生成することができる。   In step S <b> 605, the flow line generation unit 325 obtains position information having a high reliability value among position information corresponding to the first flow line information and position information corresponding to the second flow line information, which are two pieces of position information. Identify. Specifically, the flow line generation unit 325 first obtains a first reliability value related to position information corresponding to the first flow line information and a second reliability value related to position information corresponding to the first flow line information. calculate. For example, when the imaging device is an omnidirectional camera, the flow line generation unit 325 corresponds to the selected time, the position of the object corresponding to the flow line on the captured image captured by the imaging device, and the center of the captured image The reciprocal of the distance to the position is calculated as a confidence value at the time. Alternatively, the flow line generation unit 325 may calculate the area of the region corresponding to the object on the captured image as the reliability value. In addition, a machine learning or deep learning device may be provided separately, and the flow line generation unit 325 may calculate the detection score or identification score of the object as a confidence value using the machine learning or deep learning device. Then, the flow line generation unit 325 compares the calculated first reliability value with the calculated second reliability value, and specifies position information corresponding to a relatively high reliability value. By doing in this way, the flow line management apparatus 3 can produce | generate the flow line based on the positional information with a high specific precision of an object.

ここで、選択した時刻において特定された位置情報が示す位置と、選択した時刻の直前に特定された位置情報が示す位置とが所定距離以上離れている場合、オブジェクトが、一瞬にして所定距離以上移動したこととなる。この場合、動線においてオブジェクトの追跡に失敗し、動線に異なるオブジェクトの位置情報が含まれている可能性が高い。   Here, when the position indicated by the position information specified at the selected time and the position indicated by the position information specified immediately before the selected time are separated by a predetermined distance or more, the object is instantaneously more than the predetermined distance. It has moved. In this case, there is a high possibility that tracking of the object in the flow line fails and position information of a different object is included in the flow line.

そこで、動線生成部325は、選択した時刻(第1の時刻)における位置と、選択した時刻の直前の時刻(第1の時刻に連続する第2の時刻)における位置との距離が所定距離以上である場合、選択した時刻を基準として、S601において選択された、矛盾が生じていない連結グラフを分割する(S606、S607)。   Therefore, the flow line generation unit 325 determines that the distance between the position at the selected time (first time) and the position at the time immediately before the selected time (second time continuous with the first time) is a predetermined distance. When it is above, the connected graph selected in S601 and having no contradiction is divided on the basis of the selected time (S606, S607).

具体的には、動線生成部325は、S603又はS605において特定した位置情報が示す位置と、S602において選択された時刻の直前の時刻に対して特定した位置情報が示す位置とが所定距離以上離れているか否かを判定する(S606)。動線生成部325は、所定距離以上離れていると判定すると、S609に処理を移し、所定距離以上離れていないと判定すると、S607に処理を移す。   Specifically, the flow line generation unit 325 determines that the position indicated by the position information specified in S603 or S605 and the position indicated by the position information specified with respect to the time immediately before the time selected in S602 are a predetermined distance or more. It is determined whether or not they are separated (S606). If the flow line generation unit 325 determines that the distance is greater than or equal to the predetermined distance, the flow line generation unit 325 moves the process to S609.

S607において、動線生成部325は、選択した時刻と、特定した位置情報とを含む動線情報を生成する。動線生成部325は、選択された連結グラフに対して既に動線情報が生成されている場合、当該動線情報に、選択した時刻と、特定した位置情報とを格納する。   In S607, the flow line generation unit 325 generates flow line information including the selected time and the specified position information. When the flow line information has already been generated for the selected connected graph, the flow line generation unit 325 stores the selected time and the specified position information in the flow line information.

S608において、動線生成部325は、全ての時刻を選択したか否かを判定する。動線生成部325は、全ての時刻を選択したと判定すると、S610に処理を移し、全ての時刻を選択していないと判定すると、S602に処理を移す。   In step S608, the flow line generation unit 325 determines whether all the times have been selected. If the flow line generation unit 325 determines that all the times have been selected, the process moves to S610. If the flow line generation unit 325 determines that all the times have not been selected, the flow line generation unit 325 moves the process to S602.

動線生成部325は、S606における判定がYESの場合、S609において、選択されている時刻を基準として連結グラフを分割する。このように、動線管理装置3は、選択した時刻における位置と、選択した時刻の直前の時刻における位置との距離が所定距離以上である場合、選択した時刻を基準として、S601において選択された連結グラフを分割する。   When the determination in S606 is YES, the flow line generation unit 325 divides the connected graph based on the selected time in S609. As described above, the flow line management device 3 is selected in S601 based on the selected time when the distance between the position at the selected time and the position at the time immediately before the selected time is a predetermined distance or more. Split a connected graph.

図12は、動線生成処理により連結グラフが分割される例を説明する図である。図12に示す例では、連結グラフに、第1動線LA10と、第2動線LA20が含まれている。第1動線及び第2動線のそれぞれについて、各時刻の位置を示す位置情報Pに、信頼値を示す記号N又はFが示されている。記号Nは、オブジェクトの位置と、撮像画像の中心位置との距離が相対的に短く、信頼値が高いことを示している。また、記号Fは、オブジェクトの位置と、撮像画像の中心位置との距離が相対的に長く、信頼値が低いことを示している。   FIG. 12 is a diagram illustrating an example in which a connected graph is divided by a flow line generation process. In the example shown in FIG. 12, the connection graph includes a first flow line LA10 and a second flow line LA20. For each of the first flow line and the second flow line, the position information P indicating the position at each time indicates a symbol N or F indicating a reliability value. The symbol N indicates that the distance between the object position and the center position of the captured image is relatively short and the reliability value is high. The symbol F indicates that the distance between the position of the object and the center position of the captured image is relatively long and the reliability value is low.

図12に示す例では、時刻t1〜t8までは、第1動線に対応する位置情報が特定され、時刻t9において、第2動線に対応する位置情報が特定される。ここで、第2動線では、時刻t5において、追跡対象のオブジェクトの誤判定が起こり、追跡対象が、時刻t4とは異なるオブジェクトに切り替わっているものとする。この場合に、時刻t9において特定された位置と、時刻t8において特定された位置とが所定距離以上であるとすると、動線生成部325は、図12に示す連結グラフを、時刻t9において分割する。具体的には、動線生成部325は、時刻t1〜t8に対応する連結グラフと、時刻t9〜t15に対応するとともに、第1動線に対応する連結グラフと、時刻t9〜t15に対応するとともに、第2動線に対応する連結グラフとの3つの連結グラフに分割する。このようにすることで、動線管理装置3は、生成される動線に、複数のオブジェクトに対応する位置情報が含まれることを抑制することができる。   In the example shown in FIG. 12, the position information corresponding to the first flow line is specified from time t1 to t8, and the position information corresponding to the second flow line is specified at time t9. Here, in the second flow line, it is assumed that an erroneous determination of an object to be tracked occurs at time t5, and the tracked target is switched to an object different from that at time t4. In this case, if the position specified at time t9 and the position specified at time t8 are greater than or equal to a predetermined distance, the flow line generation unit 325 divides the connection graph shown in FIG. 12 at time t9. . Specifically, the flow line generation unit 325 corresponds to the connected graph corresponding to the times t1 to t8, the time corresponding to the times t9 to t15, the connected graph corresponding to the first flow line, and the times t9 to t15. At the same time, it is divided into three connected graphs with a connected graph corresponding to the second flow line. By doing in this way, the flow line management apparatus 3 can suppress that the positional information corresponding to a several object is contained in the generated flow line.

図11に説明を戻す。S610において、動線生成部325は、未選択の連結グラフがあるか否かを判定する。ここで、未選択の連結グラフには、S609において分割された、選択した時刻以降の時刻に対応する連結グラフが含まれるものとする。例えば、図12に示す例における、時刻t9〜t15に対応するとともに第1動線に対応する連結グラフと、時刻t9〜t15に対応するとともに第2動線に対応する連結グラフとが含まれるものとする。動線生成部325は、未選択の連結グラフがあると判定すると、S601に処理を移し、未選択の連結グラフがないと判定すると、本フローチャートに示される動線生成処理を終了する。   Returning to FIG. In S610, the flow line generation unit 325 determines whether there is an unselected connected graph. Here, it is assumed that the unselected connected graph includes a connected graph corresponding to the time after the selected time divided in S609. For example, in the example shown in FIG. 12, a connection graph corresponding to the time t9 to t15 and corresponding to the first flow line and a connection graph corresponding to the time t9 to t15 and corresponding to the second flow line are included. And If the flow line generation unit 325 determines that there is an unselected connected graph, the flow line generation unit 325 moves the process to S601. If the flow line generation unit 325 determines that there is no unselected connected graph, the flow line generation unit 325 ends the flow line generation process illustrated in this flowchart.

[本実施形態における効果]
以上説明したように、本実施形態に係る動線管理装置3は、一以上の第1動線と、複数の第2動線と、第1動線と第2動線との同一性を示す一以上の追跡接続情報とを含み、同一のオブジェクトを示す1つの連結グラフに、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が存在するか否かを判定することにより、第1動線と第2動線と追跡接続情報とに矛盾が生じているか否かを判定する。そして、動線管理装置3は、矛盾が生じていると判定すると、連結グラフから、矛盾が生じない第1動線と第2動線と追跡接続情報とを含む連結グラフを生成する。このようにすることで、動線管理装置3は、異なるオブジェクトに対応する追跡結果を含まないように追跡結果としての第1動線と第2動線と追跡接続情報とを統合し、連結グラフを生成することができる。
[Effect in this embodiment]
As described above, the flow line management device 3 according to the present embodiment shows the identity of one or more first flow lines, a plurality of second flow lines, and the first flow lines and the second flow lines. Whether or not there is a plurality of flow lines that include a plurality of flow lines that overlap the corresponding imaging devices and corresponding times in one connected graph that includes the one or more tracking connection information and indicate the same object. It is determined whether or not there is a contradiction between the first flow line, the second flow line, and the tracking connection information. When the flow line management device 3 determines that a contradiction has occurred, the flow line management device 3 generates a connected graph including the first flow line, the second flow line, and the tracking connection information that do not cause a contradiction from the connected graph. By doing so, the flow line management device 3 integrates the first flow line, the second flow line, and the tracking connection information as the tracking result so as not to include the tracking results corresponding to different objects, and the connected graph Can be generated.

以上、本発明を実施形態を用いて説明したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されない。上記実施形態に、多様な変更又は改良を加えることが可能であることが当業者に明らかである。   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.

上記実施形態では、動線管理装置3は、第1分割処理の実行後に第2分割処理を実行し、第2分割処理の実行後に第3分割処理を実行したが、これに限らない。例えば、動線管理装置3は、第2分割処理のみを実行したり、第3分割処理のみを実行したり、第1分割処理、第2分割処理及び第3分割処理のうちの任意の2つの処理をこの順序で組み合わせて実行したりしてもよい。   In the above embodiment, the flow line management device 3 executes the second division process after the execution of the first division process, and executes the third division process after the execution of the second division process. However, the present invention is not limited to this. For example, the flow line management device 3 executes only the second division processing, executes only the third division processing, or any two of the first division processing, the second division processing, and the third division processing. The processes may be executed in combination in this order.

また、上記実施形態では、動線管理装置3は、第1撮像装置1Aにより撮像された複数の第1画像に基づく一以上の第1動線と、第2撮像装置1Bにより撮像された複数の第2画像に基づく一以上の第2動線とに基づいて矛盾が生じない連結グラフを生成し、当該連結グラフに基づいて、各時刻に1つの位置情報が関連付けられた動線を生成したが、これに限らない。動線管理装置3は、3台以上の撮像装置がそれぞれ撮像した複数の画像に基づく複数の動線に基づいて連結グラフを生成し、当該連結グラフに基づいて、各時刻に1つの位置情報が関連付けられた動線を生成してもよい。   Moreover, in the said embodiment, the flow line management apparatus 3 is one or more 1st flow lines based on the some 1st image imaged by 1st imaging device 1A, and the some imaged by 2nd imaging device 1B. Based on one or more second flow lines based on the second image, a connection graph that does not contradict is generated, and on the basis of the connection graph, a flow line that associates one position information at each time is generated. Not limited to this. The flow line management device 3 generates a connection graph based on a plurality of flow lines based on a plurality of images respectively captured by three or more imaging devices, and one position information is obtained at each time based on the connection graph. An associated flow line may be generated.

この場合、例えば、動線管理装置3は、2つの撮像装置のそれぞれにより撮像された複数の画像に基づく一以上の動線に基づいて矛盾が生じない連結グラフを生成し、当該連結グラフに基づいて、各時間に1つの位置情報が関連付けられた動線を生成する。そして、動線管理装置3は、生成された動線と、3台目の撮像装置が撮像した複数の画像に基づく複数の動線とに基づいて矛盾が生じない連結グラフを生成し、当該連結グラフに基づいて、各時間に1つの位置情報が関連付けられた動線を生成する。このようにすることで、動線管理装置3は、3台以上の撮像装置がそれぞれ撮像した複数の画像に基づく複数の動線に基づいて、1つのオブジェクトに対応する、各時間に1つの位置情報が関連付けられた動線を生成することができる。   In this case, for example, the flow line management device 3 generates a connection graph in which no contradiction occurs based on one or more flow lines based on a plurality of images captured by each of the two imaging devices, and based on the connection graph Thus, a flow line in which one piece of position information is associated with each time is generated. Then, the flow line management device 3 generates a connected graph in which no contradiction occurs based on the generated flow line and a plurality of flow lines based on a plurality of images captured by the third imaging device, and the connection graph Based on the graph, a flow line in which one piece of position information is associated with each time is generated. By doing in this way, the flow line management device 3 corresponds to one object based on a plurality of flow lines based on a plurality of images respectively captured by three or more imaging devices, and one position at each time. A flow line associated with the information can be generated.

また、特に、装置の分散・統合の具体的な実施形態は以上に図示するものに限られず、その全部又は一部について、種々の付加等に応じて、又は、機能負荷に応じて、任意の単位で機能的又は物理的に分散・統合して構成することができる。   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.

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

1A・・・第1撮像装置、1B・・・第2撮像装置、2・・・オブジェクト追跡装置、3・・・動線管理装置、31・・・記憶部、32・・・制御部、321・・取得部、322・・・生成部、323・・・矛盾判定部、324・・・矛盾解消部、325・・・動線生成部、S・・・オブジェクト追跡システム DESCRIPTION OF SYMBOLS 1A ... 1st imaging device, 1B ... 2nd imaging device, 2 ... Object tracking device, 3 ... Flow line management apparatus, 31 ... Memory | storage part, 32 ... Control part, 321 ..Acquisition unit, 322... Generation unit, 323... Contradiction determination unit, 324... Contradiction resolution unit, 325.

Claims (22)

所定エリアを撮像する第1撮像装置により撮像された複数の第1画像に基づく複数のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す一以上の第1動線と、前記所定エリアを撮像する第2撮像装置により撮像された複数の第2画像に基づく複数のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す複数の第2動線と、前記第1動線と前記第2動線との同一性を示す一以上の追跡接続情報とを含み、同一のオブジェクトに対応するものとして生成された1つの連結グラフに、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が存在するか否かを判定することにより、前記第1動線と前記第2動線と前記追跡接続情報とに矛盾が生じているか否かを判定する矛盾判定部と、
前記矛盾判定部により前記矛盾が生じていると判定されると、前記連結グラフから、前記矛盾が生じない、前記第1動線と前記第2動線と前記追跡接続情報とを含む連結グラフを生成する矛盾解消部と、
を備える動線管理装置。
One or more first flow lines indicating respective tracking results of a plurality of objects based on a plurality of first images imaged by a first imaging device that images a predetermined area, and indicating positions of the same object at each time; A plurality of second flow lines indicating the tracking results of a plurality of objects based on a plurality of second images imaged by the second imaging device that images the predetermined area, and indicating positions of the same object at each time; One connected graph including one or more tracking connection information indicating the identity of the first flow line and the second flow line and corresponding to the same object includes a plurality of flow lines. Thus, by determining whether or not there are a plurality of flow lines with overlapping corresponding imaging devices and corresponding times, there is a contradiction in the first flow line, the second flow line, and the tracking connection information. And determining contradiction judging unit whether Flip to have,
When the contradiction determination unit determines that the contradiction has occurred, a connection graph including the first flow line, the second flow line, and the tracking connection information is generated from the connection graph without the contradiction. A conflict resolution section to be generated,
A flow line management device comprising:
前記矛盾解消部は、一以上の前記追跡接続情報を消去し、前記1つの連結グラフを複数の連結グラフに分割することにより、前記矛盾が生じていない一以上の前記連結グラフを生成する、
請求項1に記載の動線管理装置。
The contradiction resolution unit deletes one or more of the tracking connection information and divides the one connected graph into a plurality of connected graphs, thereby generating one or more connected graphs in which the inconsistency does not occur.
The flow line management apparatus according to claim 1.
前記追跡接続情報は、前記第1動線と前記第2動線との同一性の強度を示す追跡接続強度情報を含み、
前記矛盾解消部は、前記同一性の強度が低い順に前記追跡接続情報を消去する、
請求項2に記載の動線管理装置。
The tracking connection information includes tracking connection strength information indicating the strength of identity between the first flow line and the second flow line,
The contradiction resolution unit deletes the tracking connection information in ascending order of the identity.
The flow line management apparatus according to claim 2.
前記追跡接続情報は、各時刻における前記第1動線が示すオブジェクトと前記第2動線が示すオブジェクトとの同一性判定の結果に基づいて算出される前記同一性の強度を示す前記追跡接続強度情報を含む、
請求項3に記載の動線管理装置。
The tracking connection information indicates the strength of the tracking connection that is calculated based on the result of identity determination between the object indicated by the first flow line and the object indicated by the second flow line at each time. Including information,
The flow line management apparatus according to claim 3.
前記矛盾解消部は、前記矛盾が生じている前記連結グラフから1つの前記追跡接続情報を消去することにより、前記矛盾が生じている前記連結グラフを、第1の連結グラフと第2の連結グラフとに分割し、
前記矛盾判定部は、前記第1の連結グラフと前記第2の連結グラフとのそれぞれについて、当該連結グラフに前記矛盾が生じているか否かを判定する、
請求項1から4のいずれか1項に記載の動線管理装置。
The contradiction resolution unit deletes the one trace connection information from the connected graph in which the contradiction has occurred, whereby the connected graph in which the inconsistency has occurred is converted into a first connected graph and a second connected graph. Divided into
The contradiction determining unit determines whether or not the contradiction occurs in the connected graph for each of the first connected graph and the second connected graph.
The flow line management apparatus according to any one of claims 1 to 4.
前記矛盾解消部は、分割後の連結グラフに前記矛盾が生じていると前記矛盾判定部が判定した場合に、当該分割後の連結グラフに含まれている前記追跡接続情報の数が所定数よりも多いとき、当該分割後の連結グラフを、当該第1の連結グラフと第2の連結グラフに分割する、
請求項5に記載の動線管理装置。
When the contradiction determination unit determines that the contradiction occurs in the connected graph after the division, the number of the tracking connection information included in the connected graph after the division is greater than a predetermined number. If there are too many, the connection graph after the division is divided into the first connection graph and the second connection graph.
The flow line management apparatus according to claim 5.
前記矛盾解消部は、前記追跡接続情報を消去する複数のパターンのうち、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じないパターンに基づいて、前記追跡接続情報を消去する、
請求項2から6のいずれか1項に記載の動線管理装置。
The contradiction resolution unit erases the tracking connection information based on a pattern in which the contradiction does not occur in at least some of the connected graphs after the division among the plurality of patterns for erasing the tracking connection information.
The flow line management apparatus according to any one of claims 2 to 6.
前記矛盾判定部は、前記追跡接続情報を消去する複数のパターンのうち、消去する前記追跡接続情報の数が少ないパターンから順に、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じないパターンが含まれるか否かを判定する、
請求項7に記載の動線管理装置。
The contradiction determination unit generates the contradiction in at least some of the connected graphs after the division in order from a pattern with a small number of the tracking connection information to be deleted among a plurality of patterns for deleting the tracking connection information. Determine if there is no pattern,
The flow line management apparatus according to claim 7.
前記矛盾判定部は、消去する前記追跡接続情報の数が所定数を超えるまでに、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じないパターンが見つからなかった場合、前記矛盾が生じないパターンが含まれるか否かの判定を行わないように制御する、
請求項8に記載の動線管理装置。
The contradiction determination unit determines that the contradiction is not found when a pattern that does not cause the contradiction is found in at least a part of the connected graph after the division until the number of the tracking connection information to be deleted exceeds a predetermined number. Control not to determine whether a pattern that does not occur is included,
The flow line management apparatus according to claim 8.
前記矛盾解消部は、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じない前記パターンのうち、前記追跡接続情報の消去数が相対的に少ないパターンに基づいて、前記追跡接続情報を消去する、
請求項7から9のいずれか1項に記載の動線管理装置。
The contradiction resolution unit, based on a pattern having a relatively small number of erasures of the tracking connection information among the patterns in which the contradiction does not occur in at least some of the connected graphs after the division, the tracking connection information Erase
The flow line management apparatus according to any one of claims 7 to 9.
前記追跡接続情報は、前記第1動線と前記第2動線との同一性の強度を示す追跡接続強度情報を含み、
前記矛盾解消部は、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じず、前記追跡接続情報の消去数が同じパターンが複数存在する場合には、当該複数のパターンのうち、前記同一性の強度が相対的に低い前記追跡接続情報を消去するパターンに基づいて、前記追跡接続情報を消去する、
請求項7から10のいずれか1項に記載の動線管理装置。
The tracking connection information includes tracking connection strength information indicating the strength of identity between the first flow line and the second flow line,
When the contradiction resolution unit does not cause the contradiction in at least some of the connected graphs after the division, and there are multiple patterns with the same number of erasures of the tracking connection information, among the plurality of patterns, Erasing the tracking connection information based on a pattern of erasing the tracking connection information having a relatively low strength of identity;
The flow line management apparatus according to any one of claims 7 to 10.
前記矛盾解消部は、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じず、前記追跡接続情報の消去数が同じパターンが複数存在する場合には、当該複数のパターンのうち、分割後に矛盾が解消できる連結グラフの数が相対的に多いパターンに基づいて、前記追跡接続情報を消去する、
請求項7から11のいずれか1項に記載の動線管理装置。
When the contradiction resolution unit does not cause the contradiction in at least some of the connected graphs after the division, and there are multiple patterns with the same number of erasures of the tracking connection information, among the plurality of patterns, Deleting the tracking connection information based on a pattern having a relatively large number of connected graphs in which inconsistencies can be resolved after division;
The flow line management apparatus according to any one of claims 7 to 11.
前記矛盾解消部は、分割後の連結グラフの少なくとも一部の連結グラフに前記矛盾が生じず、前記追跡接続情報の消去数が同じパターンが複数存在する場合には、当該複数のパターンのうち、分割後に矛盾が解消できる連結グラフに含まれる前記追跡接続情報の数が相対的に多いパターンに基づいて、前記追跡接続情報を消去する、
請求項7から11のいずれか1項に記載の動線管理装置。
When the contradiction resolution unit does not cause the contradiction in at least some of the connected graphs after the division, and there are multiple patterns with the same number of erasures of the tracking connection information, among the plurality of patterns, Deleting the tracking connection information based on a pattern in which the number of the tracking connection information included in the connected graph that can resolve the contradiction after the division is relatively large;
The flow line management apparatus according to any one of claims 7 to 11.
前記矛盾解消部は、分割後の連結グラフのうち、前記矛盾が生じている連結グラフに対応する全ての前記追跡接続情報を消去して、一以上の前記第1動線及び一以上の前記第2動線に分割し、一以上の前記追跡接続情報を復活させた場合において、当該追跡接続情報に対応する連結グラフに前記矛盾が生じないとき、当該一以上の追跡接続情報を復活させる、
請求項2から13のいずれか1項に記載の動線管理装置。
The contradiction resolution unit erases all the tracking connection information corresponding to the connected graph in which the contradiction occurs in the divided connected graph, and the one or more first flow lines and the one or more first graphs are deleted. When dividing into two flow lines and restoring one or more tracking connection information, when the contradiction does not occur in the connected graph corresponding to the tracking connection information, the one or more tracking connection information is restored.
The flow line management apparatus according to any one of claims 2 to 13.
前記追跡接続情報は、前記第1動線と前記第2動線との同一性の強度を示す追跡接続強度情報を含み、
前記矛盾解消部は、前記同一性の強度が高い順に前記追跡接続情報を復活させる、
請求項14に記載の動線管理装置。
The tracking connection information includes tracking connection strength information indicating the strength of identity between the first flow line and the second flow line,
The contradiction resolution unit restores the tracking connection information in descending order of the identity strength.
The flow line management apparatus according to claim 14.
前記連結グラフは、一以上の前記第1動線のそれぞれに対応するオブジェクトの各時刻における前記所定エリアの位置を示す位置情報と、一以上の前記第2動線のそれぞれに対応するオブジェクトの各時刻における前記所定エリアの位置を示す位置情報とを含み、
前記矛盾が生じていない連結グラフに含まれる前記第1動線に対応する位置情報と、当該連結グラフに含まれる前記第2動線に対応する位置情報とに基づいて、各時刻に1つの位置が関連付けられた1つの動線を示す動線情報を生成する動線生成部をさらに備える、
請求項1から15のいずれか1項に記載の動線管理装置。
The connection graph includes position information indicating a position of the predetermined area at each time of an object corresponding to each of the one or more first flow lines, and each of the objects corresponding to each of the one or more second flow lines. Position information indicating the position of the predetermined area at time,
One position at each time based on position information corresponding to the first flow line included in the connected graph in which the contradiction does not occur and position information corresponding to the second flow line included in the connection graph. A flow line generation unit that generates flow line information indicating one flow line associated with
The flow line management apparatus according to any one of claims 1 to 15.
前記動線生成部は、前記第1動線に対応する各時刻における前記オブジェクトの位置に関する第1の信頼値と、前記第2動線に対応する各時刻における前記オブジェクトの位置に関する第2の信頼値とに基づいて、前記第1動線と前記第2動線とから、各時刻に1つの位置が関連付けられた1つの動線情報を生成する、
請求項16に記載の動線管理装置。
The flow line generation unit includes a first confidence value related to the position of the object at each time corresponding to the first flow line, and a second reliability related to the position of the object at each time corresponding to the second flow line. Based on the value, from the first flow line and the second flow line, to generate one flow line information associated with one position at each time,
The flow line management apparatus according to claim 16.
前記撮像装置は、全方位画像を撮像する撮像装置であり、
前記動線生成部は、動線に対応するオブジェクトの各時刻における撮像画像上での位置と、撮像画像の中心位置との距離を、当該時刻における前記信頼値として算出する、
請求項17に記載の動線管理装置。
The imaging device is an imaging device that captures an omnidirectional image;
The flow line generation unit calculates a distance between the position on the captured image at each time of the object corresponding to the flow line and the center position of the captured image as the reliability value at the time.
The flow line management apparatus according to claim 17.
前記動線生成部は、同一の時刻に対応する、前記第1動線の前記位置情報に関する前記第1の信頼値と、前記第2動線の前記位置情報に関する前記第2の信頼値とを比較し、相対的に高い信頼値に対応する前記位置情報を、当該時刻における位置情報として含む前記動線情報を生成する、
請求項17又は18に記載の動線管理装置。
The flow line generation unit includes the first reliability value related to the position information of the first flow line and the second reliability value related to the position information of the second flow line corresponding to the same time. Comparing and generating the flow line information including the position information corresponding to a relatively high confidence value as the position information at the time,
The flow line management apparatus according to claim 17 or 18.
前記動線生成部は、前記矛盾が生じていない連結グラフにおいて第1の時刻における位置と、前記第1の時刻に連続する第2の時刻における位置との距離が所定距離以上である場合、前記第1の時刻を基準として、前記矛盾が生じていない連結グラフを分割する、
請求項16から19のいずれか1項に記載の動線管理装置。
When the distance between the position at the first time and the position at the second time continuous to the first time in the connected graph in which the contradiction does not occur is greater than or equal to a predetermined distance, Dividing the connected graph in which the contradiction does not occur with respect to the first time,
The flow line management apparatus according to any one of claims 16 to 19.
コンピュータが実行する、
所定エリアを撮像する第1撮像装置により撮像された複数の第1画像に基づく複数のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す一以上の第1動線と、前記所定エリアを撮像する第2撮像装置により撮像された複数の第2画像に基づく複数のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す複数の第2動線と、前記第1動線と前記第2動線との同一性を示す一以上の追跡接続情報とを含み、同一のオブジェクトに対応するものとして生成された1つの連結グラフに、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が存在するか否かを判定することにより、前記第1動線と前記第2動線と前記追跡接続情報とに矛盾が生じているか否かを判定するステップと、
前記矛盾が生じていると判定されると、前記連結グラフから、前記矛盾が生じない、前記第1動線と前記第2動線と前記追跡接続情報とを含む連結グラフを生成するステップと、
を備える動線管理方法。
The computer runs,
One or more first flow lines indicating respective tracking results of a plurality of objects based on a plurality of first images imaged by a first imaging device that images a predetermined area, and indicating positions of the same object at each time; A plurality of second flow lines indicating the tracking results of a plurality of objects based on a plurality of second images imaged by the second imaging device that images the predetermined area, and indicating positions of the same object at each time; One connected graph including one or more tracking connection information indicating the identity of the first flow line and the second flow line and corresponding to the same object includes a plurality of flow lines. Thus, by determining whether or not there are a plurality of flow lines with overlapping corresponding imaging devices and corresponding times, there is a contradiction in the first flow line, the second flow line, and the tracking connection information. Determining whether Flip to have,
If it is determined that the contradiction has occurred, generating a connected graph including the first flow line, the second flow line, and the tracking connection information from which the contradiction does not occur, from the connected graph;
A flow line management method comprising:
コンピュータを、
所定エリアを撮像する第1撮像装置により撮像された複数の第1画像に基づく複数のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す一以上の第1動線と、前記所定エリアを撮像する第2撮像装置により撮像された複数の第2画像に基づく複数のオブジェクトのそれぞれの追跡結果を示し、同一のオブジェクトの各時刻における位置を示す複数の第2動線と、前記第1動線と前記第2動線との同一性を示す一以上の追跡接続情報とを含み、同一のオブジェクトに対応するものとして生成された1つの連結グラフに、複数の動線であって、対応する撮像装置及び対応する時刻が重複する複数の動線が存在するか否かを判定することにより、前記第1動線と前記第2動線と前記追跡接続情報とに矛盾が生じているか否かを判定する矛盾判定部、及び、
前記矛盾判定部により前記矛盾が生じていると判定されると、前記連結グラフから、前記矛盾が生じない、前記第1動線と前記第2動線と前記追跡接続情報とを含む連結グラフを生成する矛盾解消部、
として機能させる動線管理プログラム。
Computer
One or more first flow lines indicating respective tracking results of a plurality of objects based on a plurality of first images imaged by a first imaging device that images a predetermined area, and indicating positions of the same object at each time; A plurality of second flow lines indicating the tracking results of a plurality of objects based on a plurality of second images imaged by the second imaging device that images the predetermined area, and indicating positions of the same object at each time; One connected graph including one or more tracking connection information indicating the identity of the first flow line and the second flow line and corresponding to the same object includes a plurality of flow lines. Thus, by determining whether or not there are a plurality of flow lines with overlapping corresponding imaging devices and corresponding times, there is a contradiction in the first flow line, the second flow line, and the tracking connection information. Contradiction judging unit judges whether Flip with that, and,
When the contradiction determination unit determines that the contradiction has occurred, a connection graph including the first flow line, the second flow line, and the tracking connection information is generated from the connection graph without the contradiction. The conflict resolution section to generate,
Flow line management program to function as.
JP2018078645A 2018-04-16 2018-04-16 Flow line management device, flow line management method and flow line management program Active JP7013313B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018078645A JP7013313B2 (en) 2018-04-16 2018-04-16 Flow line management device, flow line management method and flow line management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018078645A JP7013313B2 (en) 2018-04-16 2018-04-16 Flow line management device, flow line management method and flow line management program

Publications (2)

Publication Number Publication Date
JP2019185615A true JP2019185615A (en) 2019-10-24
JP7013313B2 JP7013313B2 (en) 2022-01-31

Family

ID=68341444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018078645A Active JP7013313B2 (en) 2018-04-16 2018-04-16 Flow line management device, flow line management method and flow line management program

Country Status (1)

Country Link
JP (1) JP7013313B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021111404A (en) * 2020-01-07 2021-08-02 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Cross-camera obstacle tracking methods, devices, equipment, systems and media
DE102022000806A1 (en) 2021-03-31 2022-10-06 Ngk Insulators, Ltd. SENSOR
JP2023154970A (en) * 2022-04-08 2023-10-20 キヤノン株式会社 Object tracking device, method and program
EP4672144A1 (en) 2024-06-28 2025-12-31 Fujitsu Limited AIRTRACK GENERATION PROGRAM, AIRTRACK GENERATION PROCESS AND INFORMATION PROCESSING DEVICE

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5969755A (en) * 1996-02-05 1999-10-19 Texas Instruments Incorporated Motion based event detection system and method
US6295367B1 (en) * 1997-06-19 2001-09-25 Emtera Corporation System and method for tracking movement of objects in a scene using correspondence graphs
JP2007087150A (en) * 2005-09-22 2007-04-05 Matsushita Electric Ind Co Ltd Image playback method, image playback device, and image playback program
WO2010098024A1 (en) * 2009-02-24 2010-09-02 三菱電機株式会社 Human tracking device and human tracking program
JP2011170564A (en) * 2010-02-17 2011-09-01 Toshiba Tec Corp Traffic line connection method, device, and traffic line connection program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5969755A (en) * 1996-02-05 1999-10-19 Texas Instruments Incorporated Motion based event detection system and method
US6295367B1 (en) * 1997-06-19 2001-09-25 Emtera Corporation System and method for tracking movement of objects in a scene using correspondence graphs
JP2007087150A (en) * 2005-09-22 2007-04-05 Matsushita Electric Ind Co Ltd Image playback method, image playback device, and image playback program
WO2010098024A1 (en) * 2009-02-24 2010-09-02 三菱電機株式会社 Human tracking device and human tracking program
JP2011170564A (en) * 2010-02-17 2011-09-01 Toshiba Tec Corp Traffic line connection method, device, and traffic line connection program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021111404A (en) * 2020-01-07 2021-08-02 ベイジン バイドゥ ネットコム サイエンス アンド テクノロジー カンパニー リミテッド Cross-camera obstacle tracking methods, devices, equipment, systems and media
JP7241783B2 (en) 2020-01-07 2023-03-17 アポロ インテリジェント ドライビング テクノロジー(ペキン)カンパニー リミテッド Cross-camera obstacle tracking method, device, equipment, system and medium
US11769260B2 (en) 2020-01-07 2023-09-26 Apollo Intelligent Driving Technology (Beijing) Co., Ltd. Cross-camera obstacle tracking method, system and medium
DE102022000806A1 (en) 2021-03-31 2022-10-06 Ngk Insulators, Ltd. SENSOR
JP2023154970A (en) * 2022-04-08 2023-10-20 キヤノン株式会社 Object tracking device, method and program
US12462400B2 (en) 2022-04-08 2025-11-04 Canon Kabushiki Kaisha Object tracing apparatus, method for same, and non-transitory computer-readable storage medium
EP4672144A1 (en) 2024-06-28 2025-12-31 Fujitsu Limited AIRTRACK GENERATION PROGRAM, AIRTRACK GENERATION PROCESS AND INFORMATION PROCESSING DEVICE

Also Published As

Publication number Publication date
JP7013313B2 (en) 2022-01-31

Similar Documents

Publication Publication Date Title
US10769473B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
CN111815707B (en) Point cloud determining method, point cloud screening method, point cloud determining device, point cloud screening device and computer equipment
US11087493B2 (en) Depth-image processing device, depth-image processing system, depth-image processing method, and recording medium
US8995714B2 (en) Information creation device for estimating object position and information creation method and program for estimating object position
US9785864B2 (en) Image processing method, image processing apparatus, program, and recording medium
CN109598744B (en) Video tracking method, device, equipment and storage medium
JP2019185615A (en) Device, method and program for managing flow line
CN108985162A (en) Object real-time tracking method, apparatus, computer equipment and storage medium
US20200074188A1 (en) Lane line tracking method and device
JPWO2012017650A1 (en) Object detection apparatus, object detection method, and program
JP2018180945A (en) Object detection apparatus and program
JP6898883B2 (en) Connection device, connection method and connection program
JPH1185993A (en) Area detecting device
US20240070979A1 (en) Method and apparatus for generating 3d spatial information
CN110263754B (en) Method and device for removing shading of off-screen fingerprint, computer equipment and storage medium
JP4943228B2 (en) Image matching processing method
KR20200096426A (en) Moving body detecting device, moving body detecting method, and moving body detecting program
US11881016B2 (en) Method and system for processing an image and performing instance segmentation using affinity graphs
KR101506812B1 (en) Head pose estimation method using random forests and binary pattern run length matrix
US11373295B2 (en) Displacement measurement device and displacement measurement method
WO2022254854A1 (en) Three-dimensional measurement device
JP2020173584A (en) Object detection device
JP5371015B2 (en) Cross mark detection apparatus and method, and program
CN113263728A (en) Alarm method and device of 3D printer, 3D printer and storage medium
JP5789304B2 (en) Method and apparatus for erasing gaps in a page

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210720

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210831

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220119

R150 Certificate of patent or registration of utility model

Ref document number: 7013313

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150