JP2020149544A - Information processing device, information processing method, and program - Google Patents

Information processing device, information processing method, and program Download PDF

Info

Publication number
JP2020149544A
JP2020149544A JP2019048233A JP2019048233A JP2020149544A JP 2020149544 A JP2020149544 A JP 2020149544A JP 2019048233 A JP2019048233 A JP 2019048233A JP 2019048233 A JP2019048233 A JP 2019048233A JP 2020149544 A JP2020149544 A JP 2020149544A
Authority
JP
Japan
Prior art keywords
period
people
information processing
count result
image
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
JP2019048233A
Other languages
Japanese (ja)
Other versions
JP7313850B2 (en
Inventor
匠 木村
Takumi Kimura
匠 木村
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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2019048233A priority Critical patent/JP7313850B2/en
Publication of JP2020149544A publication Critical patent/JP2020149544A/en
Application granted granted Critical
Publication of JP7313850B2 publication Critical patent/JP7313850B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Image Analysis (AREA)

Abstract

To adaptively display a graph intended by a user in accordance with a type of counting the number of persons.SOLUTION: An information processing device has display control means for causing display means to display a graph obtained by arranging a count result of the number of persons accumulated for a first period and a count result of the number of persons accumulated for a second period being a past period from the first period, the display control means displays a graph showing the count result accumulated for the period by a first accumulation method and the count result accumulated for the second period by the first accumulation method in the case of displaying a graph showing the count result obtained by counting the number of persons existing in an area designated on an image, and display means is caused to display a graph showing a count result accumulated for the first period by a second accumulation method and a count result accumulated for the second period by the second accumulation method in the case of displaying a graph showing a count result obtained by counting the number of persons passing through a line designated on the image.SELECTED DRAWING: Figure 6

Description

本発明は、情報処理技術に関する。 The present invention relates to information processing technology.

従来、撮像装置により撮影された画像に含まれる人数をカウントするシステムが知られている。このようなシステムでは、人数のカウントの結果を示す情報をグラフに表示させることで、人数の時間的な推移を把握することができる。 Conventionally, a system for counting the number of people included in an image taken by an imaging device is known. In such a system, it is possible to grasp the temporal transition of the number of people by displaying the information showing the result of counting the number of people on a graph.

特許文献1では、時系列として与えられる数値データに基づいてグラフを作成して表示する技術について開示されている。 Patent Document 1 discloses a technique for creating and displaying a graph based on numerical data given as a time series.

特開2009−245128JP-A-2009-245128

特許文献1では、時系列として与えられる数値データを設定された集計期間に従い集計するが、画像における領域の人数をグラフにする場合、次のような課題がある。領域内の人数をカウントする場合において、同一の人物を前後のフレームでそれぞれカウントすることがあるため、ある期間における合計値を算出して表示されたグラフは、ユーザの意図とは異なるグラフとなる。一方で、画像における所定の位置を通過する人数をカウントする場合において、ある期間における平均値を算出して表示されたグラフは、ユーザの意図とは異なるグラフとなる。 In Patent Document 1, numerical data given as a time series is aggregated according to a set aggregation period, but when the number of people in an area in an image is graphed, there are the following problems. When counting the number of people in the area, the same person may be counted in the previous and next frames, so the graph displayed by calculating the total value in a certain period will be a graph different from the user's intention. .. On the other hand, when counting the number of people passing through a predetermined position in an image, the graph displayed by calculating the average value in a certain period is a graph different from the intention of the user.

そこで、本発明は、人数カウントのタイプに応じて、適応的にユーザの意図するグラフを表示させることを目的としている。 Therefore, an object of the present invention is to adaptively display a graph intended by a user according to the type of number counting.

上記課題を解決するために、例えば、本発明に係る情報処理装置は以下の構成を有する。すなわち、撮像手段により撮像された画像に基づいてカウントされた人数の結果を表示する情報処理装置であって、第1の期間において集計された人数のカウント結果と、前記第1の期間より過去の期間である第2の期間において集計された人数のカウント結果とを並べたグラフを表示手段に表示させる表示制御手段を有し、前記表示制御手段は、前記画像上で指定された領域に存在する人数をカウントしたカウント結果を示すグラフを表示する場合、第1の集計方法で前記第1の期間において集計されたカウント結果と、前記第1の集計方法で前記第2の期間において集計されたカウント結果とを示すグラフを表示し、
前記画像上で指定されたラインを通過する人数をカウントしたカウント結果を示すグラフを表示する場合、前記第1の集計方法とは異なる第2の集計方法で前記第1の期間において集計されたカウント結果と、前記第2の集計方法で前記第2の期間において集計されたカウント結果とを示すグラフを前記表示手段に表示させることを特徴とする。
In order to solve the above problems, for example, the information processing device according to the present invention has the following configuration. That is, it is an information processing device that displays the result of the number of people counted based on the image captured by the imaging means, and the count result of the number of people aggregated in the first period and the past of the first period. It has a display control means for causing a display means to display a graph in which the count results of the number of people aggregated in the second period, which is a period, are arranged, and the display control means exists in a region designated on the image. When displaying a graph showing the count result of counting the number of people, the count result aggregated in the first period by the first aggregation method and the count aggregated in the second period by the first aggregation method. Display a graph showing the results and
When displaying a graph showing the count result of counting the number of people passing through the line specified on the image, the count counted in the first period by a second counting method different from the first counting method. It is characterized in that the display means displays a graph showing the result and the count result aggregated in the second period by the second aggregation method.

本発明によれば、人数カウントのタイプに応じて、適応的にユーザの意図するグラフを表示させることができる。 According to the present invention, it is possible to adaptively display a graph intended by the user according to the type of number counting.

システム構成を示す図である。It is a figure which shows the system configuration. 撮像装置の機能ブロックを示す図である。It is a figure which shows the functional block of an image pickup apparatus. 情報処理装置の機能ブロックを示す図である。It is a figure which shows the functional block of an information processing apparatus. 領域カウント処理および通過カウント処理を説明するための図である。It is a figure for demonstrating the area count processing and passage count processing. ディスプレイに表示されるグラフの一例を示す図である。It is a figure which shows an example of the graph which is displayed on the display. カウント結果を示すグラフを表示する処理のフローチャートである。It is a flowchart of the process which displays the graph which shows the count result. 領域カウント処理の場合におけるカウント結果を示すグラフである。It is a graph which shows the count result in the case of area count processing. 通過カウント処理の場合におけるカウント結果を示すグラフである。It is a graph which shows the count result in the case of a pass count process. 各装置のハードウェア構成を示す図である。It is a figure which shows the hardware configuration of each apparatus.

以下、添付図面を参照しながら、本発明に係る実施形態について説明する。なお、以下の実施形態において示す構成は一例に過ぎず、図示された構成に限定されるものではない。 Hereinafter, embodiments according to the present invention will be described with reference to the accompanying drawings. The configuration shown in the following embodiments is only an example, and is not limited to the illustrated configuration.

(実施形態1)
図1は、本実施形態におけるシステム構成を示す図である。本実施形態におけるシステムは、情報処理装置100、撮像装置110、記録装置120、およびディスプレイ130を有している。
(Embodiment 1)
FIG. 1 is a diagram showing a system configuration according to the present embodiment. The system in this embodiment includes an information processing device 100, an image pickup device 110, a recording device 120, and a display 130.

情報処理装置100、撮像装置110、および記録装置120は、ネットワーク140を介して相互に接続されている。ネットワーク140は、例えばETHERNET(登録商標)等の通信規格に準拠する複数のルータ、スイッチ、ケーブル等から実現される。 The information processing device 100, the image pickup device 110, and the recording device 120 are connected to each other via the network 140. The network 140 is realized from a plurality of routers, switches, cables, etc. that conform to communication standards such as Ethernet (registered trademark).

なお、ネットワーク140は、インターネットや有線LAN(Local Area Network)、無線LAN(Wireless Lan)、WAN(Wide Area Network)等により実現されてもよい。 The network 140 may be realized by the Internet, a wired LAN (Local Area Network), a wireless LAN (Wireless Lan), a WAN (Wide Area Network), or the like.

情報処理装置100は、例えば、後述する情報処理の機能を実現するためのプログラムがインストールされたパーソナルコンピュータ等によって実現される。 The information processing device 100 is realized by, for example, a personal computer or the like in which a program for realizing an information processing function described later is installed.

撮像装置110は、画像を撮像する装置である。撮像装置110は、撮像した画像に基づく画像データと、画像を撮像した撮像時刻の情報と、撮像装置110を識別する情報である識別情報とを関連付けて、ネットワーク140を介し、情報処理装置100や記録装置120等の外部装置へ送信する。なお、本実施形態に係るシステムにおいて、撮像装置110は1つとするが、複数であってもよい。 The image pickup device 110 is a device for capturing an image. The image pickup device 110 associates the image data based on the captured image, the information of the image pickup time at which the image was captured, and the identification information which is the information for identifying the image pickup device 110 with the information processing device 100 and the information processing device 100 via the network 140. It is transmitted to an external device such as the recording device 120. In the system according to this embodiment, the number of image pickup devices 110 is one, but there may be a plurality of image pickup devices 110.

記録装置120は、撮像装置110が撮像した画像の画像データと、画像を撮像した撮像時刻の情報と、撮像装置110を識別する識別情報とを関連付けて記録する。そして、情報処理装置100からの要求に従って、記録装置120は、記録したデータ(画像、識別情報など)を情報処理装置100へ送信する。 The recording device 120 records the image data of the image captured by the imaging device 110, the information of the imaging time at which the image was captured, and the identification information for identifying the imaging device 110 in association with each other. Then, in accordance with the request from the information processing device 100, the recording device 120 transmits the recorded data (image, identification information, etc.) to the information processing device 100.

ディスプレイ130は、LCD(Liquid Crystal Display)等により構成されており、情報処理装置100の情報処理の結果や、撮像装置110が撮像した画像などを表示する。ディスプレイ130は、HDMI(登録商標)(High Definition Multimedia Interface)等の通信規格に準拠したディスプレイケーブルを介して情報処理装置100と接続されている。 The display 130 is composed of an LCD (Liquid Crystal Display) or the like, and displays the information processing result of the information processing device 100, the image captured by the image pickup device 110, and the like. The display 130 is connected to the information processing device 100 via a display cable compliant with a communication standard such as HDMI (registered trademark) (High Definition Multimedia Interface).

また、ディスプレイ130は、表示手段として機能し、撮像装置110が撮像した画像や、後述する情報処理に係る設定画面等を表示する。なお、ディスプレイ130、情報処理装置100、および記録装置120の少なくともいずれか2つ又は全ては、単一の筐体に設けられてもよい。 In addition, the display 130 functions as a display means, and displays an image captured by the image pickup apparatus 110, a setting screen related to information processing described later, and the like. At least any two or all of the display 130, the information processing device 100, and the recording device 120 may be provided in a single housing.

なお、情報処理装置100の情報処理の結果や、撮像装置110により撮像された画像は、情報処理装置100にディスプレイケーブルを介して接続されたディスプレイ130に限らず、例えば、次のような外部装置が有するディスプレイに表示されてもよい。すなわち、ネットワーク140を介して接続されたスマートフォン、タブレット端末などのモバイルデバイスが有するディスプレイに表示されていてもよい。 The information processing result of the information processing device 100 and the image captured by the image pickup device 110 are not limited to the display 130 connected to the information processing device 100 via the display cable, for example, the following external device. It may be displayed on the display of. That is, it may be displayed on the display of a mobile device such as a smartphone or tablet terminal connected via the network 140.

次に、図2に示す本実施形態に係る撮像装置110の機能ブロックを参照して、本実施形態に係る撮像装置110の処理について説明する。なお、図2に示す撮像部201以外の各機能は、図9を参照して後述するROM(Read Only Memory)920とCPU(Central Processing Unit)900とを用いて、次のようにして実現されるものとする。図2に示す撮像部201以外の各機能は、撮像装置110のROM020に格納されたコンピュータプログラムを撮像装置110のCPU900が実行することにより実現される。 Next, the processing of the image pickup apparatus 110 according to the present embodiment will be described with reference to the functional block of the image pickup apparatus 110 according to the present embodiment shown in FIG. Each function other than the imaging unit 201 shown in FIG. 2 is realized as follows by using a ROM (Read Only Memory) 920 and a CPU (Central Processing Unit) 900, which will be described later with reference to FIG. It shall be. Each function other than the imaging unit 201 shown in FIG. 2 is realized by the CPU 900 of the imaging device 110 executing a computer program stored in the ROM 020 of the imaging device 110.

記憶部200は、RAM(Random Access Memory)910やHDD(Hard Disk Drive)930等によって実現でき、撮像装置110を識別する識別情報や、撮像装置110の機種を示す情報である機種情報などを記憶する。また、記憶部200は、後述する画像処理部202により生成された画像データを記憶する。撮像部201は、CCD(charge coupled device)センサやCMOS(complementary metal oxide semiconductor)センサ等の撮像素子(不図示)により構成される。そして、撮像部201は、撮像装置110のレンズを通って結像された被写体像を光電変換して電気信号を生成する。画像処理部202は、撮像部201において光電変換された電気信号を所定のデジタル信号へ変換する処理や、圧縮符号化処理などを行い、画像データを生成する。 The storage unit 200 can be realized by a RAM (Random Access Memory) 910, an HDD (Hard Disk Drive) 930, or the like, and stores identification information for identifying the image pickup device 110, model information which is information indicating the model of the image pickup device 110, and the like. To do. Further, the storage unit 200 stores the image data generated by the image processing unit 202 described later. The image pickup unit 201 is composed of an image pickup element (not shown) such as a CCD (charge coupled device) sensor or a CMOS (complementary metal diode sensor) sensor. Then, the imaging unit 201 photoelectrically converts the subject image formed through the lens of the imaging device 110 to generate an electric signal. The image processing unit 202 generates image data by performing a process of converting an electrical signal photoelectrically converted by the imaging unit 201 into a predetermined digital signal, a compression coding process, and the like.

通信部203は、図9を参照して後述するI/F(Interface)940によって実現でき、ネットワーク140を介して、情報処理装置100や記録装置120と通信を行う。通信部203は、例えば、画像処理部202によって生成された画像データを外部装置(情報処理装置100、記憶装置120など)へ送信したり、撮像装置110を制御するための制御コマンドを受信したりする。 The communication unit 203 can be realized by an I / F (Interface) 940, which will be described later with reference to FIG. 9, and communicates with the information processing device 100 and the recording device 120 via the network 140. For example, the communication unit 203 transmits the image data generated by the image processing unit 202 to an external device (information processing device 100, storage device 120, etc.), or receives a control command for controlling the image pickup device 110. To do.

制御部204は、図9を参照して後述するCPU900によって実現でき、情報処理装置100から通信部203を介して取得したコマンドであって、撮像装置110を制御するコマンドである制御コマンドに基づき、撮像装置110を制御する。制御コマンドは、例えば、撮像装置110のパン・チルト・ズームを制御するコマンドである。この場合、制御部204は、通信部203を介して取得した制御コマンドに基づき、撮像装置110のパン・チルト・ズームを制御することで、撮像装置110の撮像方向やズーム倍率を変更する。なお、撮像装置110の撮像方向は、撮像装置110のレンズの光軸の方向を示す。また、制御コマンドは、例えば、撮像装置110に対して画像を撮像するよう指示を行うコマンドなどを含む。 The control unit 204 can be realized by the CPU 900 described later with reference to FIG. 9, and is based on a control command which is a command obtained from the information processing device 100 via the communication unit 203 and is a command for controlling the image pickup device 110. The image pickup device 110 is controlled. The control command is, for example, a command for controlling pan / tilt / zoom of the image pickup apparatus 110. In this case, the control unit 204 changes the imaging direction and the zoom magnification of the imaging device 110 by controlling the pan / tilt / zoom of the imaging device 110 based on the control command acquired via the communication unit 203. The imaging direction of the imaging device 110 indicates the direction of the optical axis of the lens of the imaging device 110. Further, the control command includes, for example, a command for instructing the image pickup apparatus 110 to capture an image.

次に、図3に示す本実施形態に係る情報処理装置100の機能ブロックを参照して、本実施形態に係る情報処理装置100の情報処理について説明する。なお、図2に示す各機能は、本実施形態の場合、図9を参照して後述するROM920とCPU900とを用いて、次のようにして実現されるものとする。図2に示す各機能は、情報処理装置100のROM920に格納されたコンピュータプログラムを情報処理装置100のCPU900が実行することにより実現される。 Next, the information processing of the information processing apparatus 100 according to the present embodiment will be described with reference to the functional block of the information processing apparatus 100 according to the present embodiment shown in FIG. In the case of the present embodiment, each function shown in FIG. 2 is realized as follows by using the ROM 920 and the CPU 900, which will be described later with reference to FIG. 9. Each function shown in FIG. 2 is realized by the CPU 900 of the information processing device 100 executing a computer program stored in the ROM 920 of the information processing device 100.

通信部300は、図9を参照して後述するI/F940によって実現でき、ネットワーク140を介して、撮像装置110や記録装置120と通信を行う。通信部300は、例えば、撮像装置110が撮像した画像の画像データを受信したり、撮像装置110を制御するための制御コマンドを撮像装置110へ送信したりする。 The communication unit 300 can be realized by the I / F 940 described later with reference to FIG. 9, and communicates with the image pickup device 110 and the recording device 120 via the network 140. The communication unit 300 receives, for example, image data of an image captured by the image pickup device 110, or transmits a control command for controlling the image pickup device 110 to the image pickup device 110.

記憶部301は、図9を参照して後述するRAM910やHDD930等によって実現でき、情報処理装置100による情報処理に関わる情報やデータを記憶する。例えば、記憶部301は、画像から検出された人物の位置に関する情報を記憶する。 The storage unit 301 can be realized by a RAM 910, an HDD 930, or the like described later with reference to FIG. 9, and stores information and data related to information processing by the information processing device 100. For example, the storage unit 301 stores information regarding the position of a person detected from the image.

操作受付部302は、キーボードやマウス等の入力装置(不図示)を介して、ユーザが行った操作を受け付ける。例えば、操作受付部302は、画像上における人物が通過したかを判定するために用いるラインの画像における位置を示す情報や、画像上における領域であって人物が含まれる数を算出するために用いる領域の位置を示す情報などを受け付ける。 The operation receiving unit 302 receives an operation performed by the user via an input device (not shown) such as a keyboard or a mouse. For example, the operation reception unit 302 is used to calculate information indicating the position of a line in an image used for determining whether or not a person has passed on the image, and the number of areas on the image that include a person. Accepts information indicating the position of the area.

検出部303は、画像から特定の物体を検出する。例えば、検出部303は、照合パターン(辞書)を用いて、画像から特定の物体を検出する。なお、特定の物体を人物として画像から人物を検出する場合において、人物が正面向きである場合の照合パターンと横向きである場合の照合パターンとを両方使うことで検出精度の向上が期待できる。例えば、正面(背面)向きの人体の画像と照合させるための照合パターンと、横向きの人物の画像と照合させるための照合パターンとを保持し、撮像装置110の設置状態やユーザの指定に基づいて両方使うことができる。 The detection unit 303 detects a specific object from the image. For example, the detection unit 303 detects a specific object from an image by using a collation pattern (dictionary). When a person is detected from an image with a specific object as a person, the detection accuracy can be expected to be improved by using both the matching pattern when the person is facing forward and the matching pattern when the person is facing sideways. For example, a collation pattern for collating with an image of a human body facing in front (back) and a collating pattern for collating with an image of a person in landscape orientation are held, and based on the installation state of the image pickup apparatus 110 and the user's specification. You can use both.

また、照合パターンは、斜め方向からや上方向からなど他の角度からのものを用意しておいてもよい。また、人物を検出する場合、必ずしも全身の特徴を示す照合パターン(辞書)を用意しておく必要はなく、上半身、下半身、頭部、顔、足などの人物の一部について照合パターンを用意してもよい。なお、検出部303は、画像から特定の物体として人物を検出する機能を有していればよく、パターンマッチング処理にのみ限定されるものではない。 Further, the collation pattern may be prepared from another angle such as from an oblique direction or from an upward direction. In addition, when detecting a person, it is not always necessary to prepare a collation pattern (dictionary) showing the characteristics of the whole body, and a collation pattern is prepared for a part of the person such as the upper body, lower body, head, face, and legs. You may. The detection unit 303 may have a function of detecting a person as a specific object from an image, and is not limited to the pattern matching process.

なお、以降の説明において、本実施形態における検出部303は、人物の上半身の照合パターンを用いて画像から人物の上半身を検出するものとする。そして、検出部303は、検出した人物の上半身を示す画像の領域(画像領域)から当該人物の全身の画像領域を特定する。例えば、検出部303は、人物の上半身を示す画像領域の垂直方向のサイズを所定の倍率(例えば2倍)だけ画像の垂直方向における下方向に拡大した画像領域を当該人物の全身の画像領域として特定する。なお、検出部303により検出された人物の位置は、画像の左上の端点を原点として、当該人物の全身の画像領域における重心点の座標であるものとする。 In the following description, the detection unit 303 in the present embodiment shall detect the upper body of the person from the image by using the matching pattern of the upper body of the person. Then, the detection unit 303 identifies the image area of the whole body of the person from the area (image area) of the image showing the upper body of the detected person. For example, the detection unit 303 uses an image area in which the vertical size of the image area showing the upper body of the person is enlarged downward by a predetermined magnification (for example, 2 times) in the vertical direction of the image as the image area of the whole body of the person. Identify. The position of the person detected by the detection unit 303 is assumed to be the coordinates of the center of gravity in the image region of the whole body of the person, with the upper left end point of the image as the origin.

追尾部304は、検出部303により検出された人物を追尾する。本実施形態における追尾部304は、例えば、撮像装置110が撮像した画像のフレームを対象にして次のような処理を行う。すなわち、追尾部304は、現在のフレームよりも1つ以上前のフレームの画像から検出部303により検出された人物と同じ人物が現在のフレームの画像に存在する場合、それぞれのフレームにおける人物同士を対応づける。すなわち、時間的に近い複数のフレームについて画像間で人物を追尾する。なお、追尾部304が複数のフレームの画像にわたって同じ人物であると判断する方法として次のような方法を用いることができる。例えば、検出された人物の移動ベクトルを用いて人物の移動予測位置と検出した人物の位置とが一定距離内であれば同一の人物であると判定する方法である。また、追尾部304は、人物の色、形状、大きさ(画素数)等を用いて、複数のフレームの画像間で相関の高い人物を対応付けてもよい。このように、追尾部304は、複数のフレームの画像にわたって同じ人物であると判断し追尾する処理を実行できればよく、特定の方法に限定されるものではない。 The tracking unit 304 tracks a person detected by the detection unit 303. The tracking unit 304 in the present embodiment performs the following processing on the frame of the image captured by the image pickup apparatus 110, for example. That is, when the same person as the person detected by the detection unit 303 from the image of the frame one or more before the current frame exists in the image of the current frame, the tracking unit 304 sets the people in each frame. Correspond. That is, a person is tracked between images for a plurality of frames that are close in time. The following method can be used as a method for determining that the tracking unit 304 is the same person over images of a plurality of frames. For example, it is a method of determining that the person is the same person if the predicted movement position of the person and the position of the detected person are within a certain distance by using the movement vector of the detected person. In addition, the tracking unit 304 may associate a person with a high correlation between images of a plurality of frames by using the color, shape, size (number of pixels), and the like of the person. As described above, the tracking unit 304 is not limited to a specific method as long as it can perform a process of determining that the person is the same person over a plurality of frames of images and performing tracking.

設定部305は、情報処理装置100による情報処理に関する設定を行う。例えば、設定部305は、操作受付部302が受け付けたユーザによる操作に基づき、画像に含まれる特定の物体が通過した数をカウントするために用いられるラインを設定する。なお、以降の説明において、ラインを通過する特定の物体をカウントする処理を通過カウント処理とする。 The setting unit 305 makes settings related to information processing by the information processing device 100. For example, the setting unit 305 sets a line used for counting the number of passages of a specific object included in the image based on the operation by the user received by the operation reception unit 302. In the following description, the process of counting a specific object passing through the line is referred to as a pass count process.

設定部305は、また、操作受付部302が受け付けたユーザによる操作に基づき、画像に含まれる領域であって特定の物体の数をカウントする対象となる領域であるカウント領域の設定を行う。なお、以降の説明において、カウント領域における特定の物体の数をカウントする処理を領域カウント処理とする。 The setting unit 305 also sets a counting area, which is an area included in the image and is a target area for counting the number of specific objects, based on the operation by the user received by the operation receiving unit 302. In the following description, the process of counting the number of specific objects in the count area is referred to as the area count process.

算出部306は、通過カウント処理を実行する。本実施形態における算出部306は、追尾部304により追尾される特定の物体の所定位置が設定部305により設定されたラインを通過したかを判定し、当該ラインを通過した特定の物体の数をカウントする。例えば、算出部306は、追尾部304により追尾される人物の全身の画像領域における重心点がラインを通過したかを判定し、通過したと判定された人物の数をカウントする。撮像された画像に対する算出部306の通過カウント処理によりカウントされたラインを通過した人物の数を示す情報は、該画像が撮像された時刻を示す情報と対応付けて記憶部301により記憶される。 The calculation unit 306 executes the pass count process. The calculation unit 306 in the present embodiment determines whether the predetermined position of the specific object tracked by the tracking unit 304 has passed the line set by the setting unit 305, and determines the number of specific objects that have passed through the line. Count. For example, the calculation unit 306 determines whether the center of gravity point in the image region of the whole body of the person tracked by the tracking unit 304 has passed the line, and counts the number of people determined to have passed. Information indicating the number of persons who have passed the line counted by the passage counting process of the calculation unit 306 for the captured image is stored in the storage unit 301 in association with the information indicating the time when the image was captured.

また、算出部306は、領域カウント処理を実行する。本実施形態における算出部306は、設定部305により設定されたカウント領域に含まれる特定の物体の数をカウントする。例えば、算出部306は、検出部303により検出された人物の所定位置(重心点など)がカウント領域に含まれるかを判定し、カウント領域に含まれると判定された人物の数をカウントする。撮像された画像に対する算出部306の領域カウント処理によりカウントされたカウント領域に含まれる人物の数を示す情報は、該画像が撮像された時刻を示す情報と対応付けて記憶部301により記憶される。 In addition, the calculation unit 306 executes the area counting process. The calculation unit 306 in the present embodiment counts the number of specific objects included in the count area set by the setting unit 305. For example, the calculation unit 306 determines whether a predetermined position (center of gravity point or the like) of the person detected by the detection unit 303 is included in the count area, and counts the number of persons determined to be included in the count area. The information indicating the number of persons included in the count area counted by the area counting process of the calculation unit 306 for the captured image is stored in the storage unit 301 in association with the information indicating the time when the image was captured. ..

表示制御部307は、撮像装置110が撮像した画像や、本実施形態に係る情報処理に関する設定を行う設定画面、情報処理の結果を示す情報などをディスプレイ130に表示させる。また、表示制御部307は、記憶部301に記憶された時系列上のカウントされた人数のデータを取り込んで集計した結果であるグラフや表をディスプレイ130に表示する。 The display control unit 307 displays an image captured by the image pickup apparatus 110, a setting screen for setting information processing according to the present embodiment, information indicating the result of information processing, and the like on the display 130. Further, the display control unit 307 displays on the display 130 a graph or a table which is the result of taking in the data of the counted number of people in the time series stored in the storage unit 301 and totaling the data.

なお、本実施形態における通過カウント処理または領域カウント処理等のカウント処理は、情報処理装置100と接続可能な外部装置によって実行されてもよい。例えば、情報処理装置100とネットワークを介して接続されるコンピュータ(不図示)や撮像装置110が、検出部303と、追尾部304と、設定部305と、算出部306とを有し、通過カウント処理または領域カウント処理を実行してもよい。この場合、当該コンピュータや撮像装置110により実行された通過カウント処理または領域カウント処理のカウントの結果を示す情報が、情報処理装置100へ送信されるようにしてもよい。 The count processing such as the pass count process or the area count process in the present embodiment may be executed by an external device that can be connected to the information processing device 100. For example, a computer (not shown) or an imaging device 110 connected to the information processing device 100 via a network has a detection unit 303, a tracking unit 304, a setting unit 305, and a calculation unit 306, and has a pass count. Processing or area counting processing may be executed. In this case, information indicating the result of the count of the pass count process or the area count process executed by the computer or the image pickup apparatus 110 may be transmitted to the information processing apparatus 100.

なお、本実施形態に係るカウント処理として、通過カウント処理や領域カウント処理について説明するが、例えば、特定の物体の属性別に数をカウントする処理である属性別カウント処理を含んでもよい。属性別カウント処理とは、例えば、画像に含まれる人物の性別や年齢などの属性を判別し、性別毎や年齢毎に人物の数をカウントする処理である。なお、画像に含まれる人物の性別や年齢を判別する方法としては、公知の技術を用いてよく、例えば、次のような処理を実行してもよい。例えば、画像に含まれる人物が男性であるかを判別する方法として、画像に含まれる人物から特徴量を抽出し、予め登録してある男性の特徴量と抽出した特徴量との類似度を算出し、算出した類似度が閾値以上であれば当該人物は男性であると判別する。 Although the passage count process and the area count process will be described as the count process according to the present embodiment, for example, the attribute-specific count process, which is the process of counting the number according to the attribute of a specific object, may be included. The attribute-based counting process is, for example, a process of determining attributes such as the gender and age of a person included in an image and counting the number of people for each gender and age. As a method for determining the gender and age of the person included in the image, a known technique may be used, and for example, the following processing may be executed. For example, as a method of determining whether a person included in an image is a man, a feature amount is extracted from the person included in the image, and the degree of similarity between the pre-registered male feature amount and the extracted feature amount is calculated. Then, if the calculated similarity is equal to or higher than the threshold value, it is determined that the person is a man.

ここで、図4を参照して、領域カウント処理および通過カウント処理についてより詳細に説明する。まず図4(a)を参照して、領域カウント処理についてより詳細に説明する。図4(a)は、領域カウント処理が実行されている様子を示す図である。図4(a)に示す画像400には、設定部305により設定されたカウント領域401に人物402〜405の4人が存在している。また、画像400には領域カウント処理によるカウント結果を示す表示406が重畳されており、表示406にはカウント領域401における人数である“4”が表示されている。また、仮に、画像400の次のフレームの画像におけるカウント領域401にて人物402〜405が検出された場合は、表示406に示されるカウントされた人数は“4”となる。すなわち、過去のフレームの画像から検出された人物と、現在のフレームの画像で検出された人物とが同一人物であっても、繰り返しカウントされる。したがって、領域カウント処理による時系列上のカウント結果の人数として、異なるフレーム間のカウントされた人数の合計値ではなく、ある所定の期間の平均値を集計する必要がある。 Here, the area counting process and the passing counting process will be described in more detail with reference to FIG. First, the area counting process will be described in more detail with reference to FIG. 4A. FIG. 4A is a diagram showing how the area counting process is being executed. In the image 400 shown in FIG. 4A, four persons 402 to 405 are present in the count area 401 set by the setting unit 305. Further, a display 406 indicating a count result by the area count process is superimposed on the image 400, and "4", which is the number of people in the count area 401, is displayed on the display 406. Further, if the persons 402 to 405 are detected in the count area 401 in the image of the next frame of the image 400, the counted number of people shown in the display 406 is "4". That is, even if the person detected from the image of the past frame and the person detected from the image of the current frame are the same person, they are repeatedly counted. Therefore, as the number of count results on the time series by the area count process, it is necessary to aggregate the average value of a predetermined period, not the total value of the counted number of people between different frames.

次に、図4(b)を参照して、通過カウント処理についてより詳細に説明する。図4(b)は通過人数カウントが実行されている様子を示す図である。図4(b)に示す画像440には、設定部305により設定されたライン441が表示され、人物443〜446が含まれている。なお、人物443〜446の4名は、画像の右上から左下に向かう方向442へ移動しているものとする。画像400には通過カウント処理によるカウント結果を示す表示447が重畳されており、人物443および人物444がライン441を通過すると、表示447にはカウントされた人数である“2”となる。このように、現在のフレームに何人の人物が画像から検出されているかに関わらず、過去これまでにライン441を通過した人数の合計値がカウントされた人数となる。この後のフレームの画像で人物445がライン441を通過したら、当該フレームの画像から他の人物が検出されているかどうかに関わらず、カウントされた人数は3となる。通過カウント処理では、ラインを通過した人数の合計値を算出するので、カウント結果をグラフに表示するために通過カウント処理による人数を集計する場合も、ある期間の合計値を使用する。 Next, the pass count process will be described in more detail with reference to FIG. 4 (b). FIG. 4B is a diagram showing how the number of passing people is counted. In the image 440 shown in FIG. 4B, the line 441 set by the setting unit 305 is displayed, and the persons 443 to 446 are included. It is assumed that the four persons 443 to 446 are moving in the direction 442 from the upper right to the lower left of the image. A display 447 showing the count result by the pass count process is superimposed on the image 400, and when the person 443 and the person 444 pass through the line 441, the number of people counted is “2” on the display 447. In this way, regardless of how many people are detected in the image in the current frame, the total number of people who have passed the line 441 in the past is the number counted. When the person 445 passes the line 441 in the image of the frame after this, the number of people counted becomes 3 regardless of whether another person is detected from the image of the frame. In the pass count process, the total value of the number of people who have passed the line is calculated, so the total value of a certain period is also used when totaling the number of people in the pass count process in order to display the count result on a graph.

表示制御部307は、これらの異なるカウント方法によりカウントされた時系列の人数のデータをグラフや表として表示する。図5に示すグラフは、表示制御部307により表示される画面の一例である。折れ線グラフにより人数の長期的な推移を表示したり、円グラフにより人物の年齢や性別といった属性の構成比を表示したり、過去のデータと比較するグラフを表示したりすることができる。本実施形態における情報処理装置100は、特に、今年と昨年のデータの比較など、過去のデータと比較するグラフを表示するために、次のような処理を行う。すなわち、情報処理装置100は、通過カウント処理によるカウント結果を示すグラフ、または、領域カウント処理によるカウント結果を示すグラフのいずれかに応じて、時系列上のカウントされた人数の集計方法を異ならせる。なお、カウント処理のタイプに応じて、時系列上のカウントされた人数の集計方法を異ならせる処理の詳細な説明については後述する。 The display control unit 307 displays the data of the number of people in the time series counted by these different counting methods as a graph or a table. The graph shown in FIG. 5 is an example of a screen displayed by the display control unit 307. A line graph can be used to display the long-term transition of the number of people, a pie chart can be used to display the composition ratio of attributes such as the age and gender of a person, and a graph to be compared with past data can be displayed. The information processing apparatus 100 in the present embodiment performs the following processing in order to display a graph to be compared with past data, such as comparison of data of this year and last year. That is, the information processing apparatus 100 changes the counting method of the counted number of people in the time series according to either the graph showing the count result by the pass count process or the graph showing the count result by the area count process. .. A detailed description of the process of differentiating the counting method of the counted number of people in the time series according to the type of the counting process will be described later.

図6〜図8を参照して、本実施形態に係る情報処理装置100の情報処理について、より詳細に説明する。図6は、画像からカウントされた人数の結果を示すグラフを表示する処理の流れを示すフローチャートである。なお、本実施形態において、図6に示す処理は、ユーザによる指示に従って開始されるものとする。なお、図6に示すフローチャートの処理は、情報処理装置100のROM920に格納されたコンピュータプログラムを情報処理装置100のCPU900が実行することにより実現される図2に示す各機能ブロックにより実行されるものとして説明する。 The information processing of the information processing apparatus 100 according to the present embodiment will be described in more detail with reference to FIGS. 6 to 8. FIG. 6 is a flowchart showing a process flow for displaying a graph showing the result of the number of people counted from the image. In the present embodiment, the process shown in FIG. 6 shall be started according to an instruction by the user. The processing of the flowchart shown in FIG. 6 is executed by each functional block shown in FIG. 2 realized by executing the computer program stored in the ROM 920 of the information processing device 100 by the CPU 900 of the information processing device 100. It is explained as.

まず、S601にて、算出部306は、通過カウント処理によりカウントされた時系列上の人数のデータと、領域カウント処理によりカウントされた時系列上の人数のデータとを取得する。このとき、算出部306は、記憶部301に記憶された時系列上の人数のデータを取得してもよいし、通過カウント処理または領域カウント処理を実行可能な他の外部装置から時系列上の人数のデータを取得してもよい。 First, in S601, the calculation unit 306 acquires the data of the number of people in the time series counted by the pass count process and the data of the number of people in the time series counted by the area count process. At this time, the calculation unit 306 may acquire the data of the number of people in the time series stored in the storage unit 301, or may perform the pass count process or the area count process on the time series from another external device capable of executing the pass count process or the area count process. Data on the number of people may be acquired.

次に、S602にて、算出部306は、取得したデータを、第1の期間と、第1の期間より過去の期間である第2の期間とで取得したデータを分割する。第1の期間および第2の期間としては、例えば、今年と去年、今月と先月、今週と先週、今日と昨日などであり、ユーザによる操作に応じて、比較対象となる第1の期間および第2の期間は決定される。 Next, in S602, the calculation unit 306 divides the acquired data into a first period and a second period which is a period past the first period. The first period and the second period are, for example, this year and last year, this month and last month, this week and last week, today and yesterday, and the first period and the second period to be compared depending on the operation by the user. The period of 2 is determined.

次に、S603にて、算出部306は、領域カウント処理によるカウント結果のグラフの表示をユーザにより選択されているのか、もしくは、通過カウント処理によるカウント結果のグラフの表示をユーザにより選択されているのかを判別する。具体的には、操作受付部302は、領域カウント処理によるカウント結果のグラフを表示させるための操作、または、通過カウント処理によるカウント結果のグラフを表示させるための操作を受け付ける。算出部306は、操作受付部302が受け付けた操作に基づき、領域カウント処理によるカウント結果のグラフの表示を選択されているのか、もしくは、通過カウント処理によるカウント結果のグラフの表示を選択されているのかを判別する。 Next, in S603, the calculation unit 306 has selected the display of the graph of the count result by the area count process by the user, or the user has selected the display of the graph of the count result by the pass count process. To determine if. Specifically, the operation receiving unit 302 receives an operation for displaying a graph of the count result by the area count process or an operation for displaying the graph of the count result by the pass count process. The calculation unit 306 is selected to display a graph of the count result by the area count process or to display the graph of the count result by the pass count process based on the operation received by the operation reception unit 302. To determine if.

S603にて領域カウント処理によるカウント結果のグラフの表示をユーザにより選択されていると判別された場合(S603にてYes)、S604へ遷移する。S604にて、算出部306は、S602にて第1の期間と第2の期間とで分割したデータを、さらに時間帯ごとに分割する。この時間帯は、1分や1時間など、1日を等間隔に分割できる時間間隔であればよく、ユーザによる選択に応じて決定される。例えば、第1の期間を今週、第2の期間を先週とし、時間帯を1時間とした場合、算出部306は、第1の期間である今週における時系列上の領域カウント処理による人数のデータを1時間ごとに分割する。また、この場合、算出部306は、第2の期間である先週における時系列上の領域カウント処理による人数のデータを1時間ごとに分割する。 When it is determined in S603 that the display of the graph of the count result by the area count process is selected by the user (Yes in S603), the transition to S604 is performed. In S604, the calculation unit 306 further divides the data divided in the first period and the second period in S602 for each time zone. This time zone may be any time interval such as 1 minute or 1 hour that can divide the day into equal intervals, and is determined according to the user's selection. For example, when the first period is this week, the second period is last week, and the time zone is one hour, the calculation unit 306 data on the number of people by the time-series area counting process in this week, which is the first period. Is divided every hour. Further, in this case, the calculation unit 306 divides the data of the number of people by the area counting process on the time series in the last week, which is the second period, every hour.

次に、S605にて、算出部306は、第1の期間における領域カウント処理による人数のデータを第1の集計方法で集計し、第2の期間における領域カウント処理による人数のデータを第1の集計方法で集計する。なお、本実施形態において、第1の集計方法で第1の期間において集計されたカウント結果は、時間帯ごとの第1の期間における人数の平均値である。例えば、第1の期間が今週であり、時間帯が1時間である場合、算出部306は、今週の全ての日における0時から1時までのカウントされた人数の平均値を算出する。同様に、算出部306は、1時から2時まで、2時から3時まで、と1時間刻みで23時から24時までの各々の時間帯における今週全ての日の人数の平均値を算出する。 Next, in S605, the calculation unit 306 aggregates the data of the number of people by the area counting process in the first period by the first aggregation method, and the data of the number of people by the area counting process in the second period is the first. Aggregate by the aggregation method. In the present embodiment, the count result aggregated in the first period by the first aggregation method is the average value of the number of people in the first period for each time zone. For example, when the first period is this week and the time zone is one hour, the calculation unit 306 calculates the average value of the number of people counted from 0:00 to 1:00 on all days of this week. Similarly, the calculation unit 306 calculates the average number of people on all days of this week in each time zone from 1:00 to 2:00, from 2:00 to 3:00, and from 23:00 to 24:00 in 1-hour increments. To do.

また、本実施形態において、第1の集計方法で第2の期間において集計されたカウント結果は、時間帯ごとの第2の区間における人数の平均値である。例えば、第1の期間が今週であり、比較対象となる第2の期間が先週である場合、上記説明と同様に、算出部306は、先週の全ての日における0時から1時までのカウントされた人数の平均値を算出する。同様に、算出部306は、1時から2時まで、2時から3時まで、と1時間刻みで23時から24時までの各々の時間帯における先週全ての日の人数の平均値を算出する。 Further, in the present embodiment, the count result aggregated in the second period by the first aggregation method is the average value of the number of people in the second section for each time zone. For example, if the first period is this week and the second period to be compared is last week, the calculation unit 306 counts from 0:00 to 1:00 on all days of last week, as in the above explanation. Calculate the average value of the number of people. Similarly, the calculation unit 306 calculates the average value of the number of people on all days of the last week in each time zone from 1:00 to 2:00, from 2:00 to 3:00, and from 23:00 to 24:00 in 1-hour increments. To do.

第1の集計方法で第1の期間において集計されたカウント結果と、第1の集計方法で第2の期間において集計されたカウント結果とを並べたグラフは、S608において、表示制御部307によりディスプレイ130に表示される。このようにして表示されるグラフの一例は、図7(a)および図7(b)に示すグラフである。図7(a)に示す例では、今週(第1の期間)と先週(第2の期間)とで、今週すべての日の各時間帯の平均人数と、先週すべての日の各時間帯における平均人数とが並べて表示されている。一方、図7(b)に示す例では、今年(第1の期間)と昨年(第2の期間)とで、今年1年間のすべての日の各時間帯の平均人数と、昨年1年間のすべての日の各時間帯の平均人数とが並べて表示されている。 A graph in which the count results aggregated in the first period by the first aggregation method and the count results aggregated in the second period by the first aggregation method are arranged is displayed by the display control unit 307 in S608. Displayed at 130. An example of the graph displayed in this way is the graph shown in FIGS. 7 (a) and 7 (b). In the example shown in FIG. 7 (a), this week (first period) and last week (second period), the average number of people in each time zone of all days of this week and each time zone of all days of last week The average number of people is displayed side by side. On the other hand, in the example shown in Fig. 7 (b), this year (first period) and last year (second period), the average number of people in each time zone on all days of this year and the last year The average number of people in each time zone of all days is displayed side by side.

ここでS603の処理の説明に戻る。S603にて、領域カウント処理によるカウント結果のグラフの表示を選択されていない場合、すなわち通過カウント処理によるカウント結果のグラフの表示を選択されている場合(S603にてNo)、S606へ遷移する。 Here, the description of the process of S603 is returned. When the display of the graph of the count result by the area count process is not selected in S603, that is, when the display of the graph of the count result by the pass count process is selected (No in S603), the transition to S606 occurs.

S606にて、算出部306は、比較対象となる期間に合わせて集計期間を決定する。具体的には、比較対象となる期間(第1の期間および第2の期間)と集計期間とを関連付けた関連テーブルを予め保持しておく。そして算出部306は、比較対象となる期間と、関連テーブルとに基づき、集計期間を決定する。例えば、算出部306は、比較対象となる第1の期間が今年であり第2の期間が昨年であれば、集計期間を1か月、第1の期間が今週であり第2の期間が先週であれば集計期間を1日とする。 In S606, the calculation unit 306 determines the aggregation period according to the period to be compared. Specifically, a related table in which the period to be compared (the first period and the second period) and the aggregation period are associated is stored in advance. Then, the calculation unit 306 determines the aggregation period based on the period to be compared and the related table. For example, in the calculation unit 306, if the first period to be compared is this year and the second period is last year, the aggregation period is one month, the first period is this week, and the second period is last week. If so, the aggregation period is one day.

次に、S607にて、第1の期間における人数のデータを第2の集計方法で集計し、第2の期間における人数のデータを第2の集計方法で集計する。なお、ここでの第2集計方法は第1の集計方法とは異なる。本実施形態において、第2の集計方法で第1の期間において集計されたカウント結果は、第1の期間における所定の期間(集計期間)ごとのラインを通過した人数の合計値である。一方、第2の集計方法で前記第2の期間において集計されたカウント結果は、第2の期間における所定の期間(集計期間)ごとのラインを通過した人数の合計値である。 Next, in S607, the data of the number of people in the first period is aggregated by the second aggregation method, and the data of the number of people in the second period is aggregated by the second aggregation method. The second tabulation method here is different from the first tabulation method. In the present embodiment, the count result aggregated in the first period by the second aggregation method is the total value of the number of people who have passed the line for each predetermined period (aggregation period) in the first period. On the other hand, the count result aggregated in the second period by the second aggregation method is the total value of the number of people who have passed the line for each predetermined period (aggregation period) in the second period.

なお、ここでの所定の期間とは、関連テーブルに基づき、比較対象となる期間である第1の期間および第2の期間に応じて決定される。例えば、第1の期間が今年であり第2の期間が昨年であれば所定の期間(集計期間)を1か月とし、第1の期間が今週であり第2の期間が先週であれば所定の期間(集計期間)を1日とする。 The predetermined period here is determined based on the related table according to the first period and the second period, which are the periods to be compared. For example, if the first period is this year and the second period is last year, the predetermined period (aggregation period) is one month, and if the first period is this week and the second period is last week, it is predetermined. The period (aggregation period) of is one day.

なお、例えば、第1の期間が今週であり第2の期間が先週であれば、本実施形態の場合所定の期間(集計期間)は1日ごととなり、算出部306は、今週における曜日ごとの通過人数の合計値を算出する。この場合、さらに算出部306は、第2の期間である先週における曜日ごとの通過人数の合計値を算出する。 For example, if the first period is this week and the second period is last week, in the case of this embodiment, the predetermined period (aggregation period) is every day, and the calculation unit 306 is for each day of the week in this week. Calculate the total number of people passing by. In this case, the calculation unit 306 further calculates the total number of people passing by each day of the week in the second period, last week.

第2の集計方法で第1の期間において集計されたカウント結果と、第2の集計方法で第2の期間において集計されたカウント結果とを並べたグラフは、S608において、表示制御部307によりディスプレイ130に表示される。このようにして表示されるグラフの一例は、図8(a)および図8(b)に示すグラフである。図8(a)に示す例では、今週(第1の期間)と先週(第2の期間)とで、今週の曜日ごとのラインを通過した人数の合計値と、先週の曜日ごとのラインを通過した人数の合計値とが並べて表示されている。一方、図8(b)に示す例では、今年(第1の期間)と昨年(第2の期間)とで、今年の月毎のラインを通過した人数の合計値と、昨年の月ごとのラインを通過した人数の合計値とが並べて表示される。 A graph in which the count results aggregated in the first period by the second aggregation method and the count results aggregated in the second period by the second aggregation method are arranged is displayed by the display control unit 307 in S608. Displayed at 130. An example of the graph displayed in this way is the graph shown in FIGS. 8 (a) and 8 (b). In the example shown in FIG. 8 (a), the total number of people who passed the line for each day of the week this week (first period) and last week (second period) and the line for each day of the week last week are shown. The total number of people who passed is displayed side by side. On the other hand, in the example shown in FIG. 8 (b), the total number of people who passed the monthly line of this year and the monthly value of last year for this year (first period) and last year (second period). The total value of the number of people who passed the line is displayed side by side.

なお図6に示すS604にて用いられる時間帯は、ユーザによる選択に応じて決定されるとしたが、例えば、次のような処理によって決定されてもよい。すなわち、算出部306は、領域カウント処理によりカウントされた時系列上の人数データを、最小二乗法などの近似手法によってSin関数に近似する。そして、算出部306は、近似したSin関数から、データの周期が算出し、当該周期の1/10など、あらかじめ決められた定数を算出した周期に掛けた時間を時間帯としてもよい。また、算出部306は、算出した周期の長さに応じて、当該周期に掛ける定数を異ならせてもよい。例えば、算出部306は、周期が短いデータでは時間帯も短くなるような定数を算出した周期に掛け、周期が長いデータでは時間帯も長くなるような定数を算出した周期に掛けてもよい。このように、算出した周期が短ければ時間帯も短くし、算出した周期が長ければ時間帯も長くなることで、データの傾向をよりユーザは認識しやすくなる。 The time zone used in S604 shown in FIG. 6 is determined according to the user's selection, but may be determined by, for example, the following processing. That is, the calculation unit 306 approximates the number of people data on the time series counted by the area counting process to the Sin function by an approximation method such as the least squares method. Then, the calculation unit 306 may calculate the data cycle from the approximated Sin function, and set the time zone by multiplying the calculated cycle by a predetermined constant such as 1/10 of the cycle. Further, the calculation unit 306 may change the constant to be multiplied by the cycle according to the length of the calculated cycle. For example, the calculation unit 306 may multiply the calculated cycle by a constant that shortens the time zone for data having a short cycle, and may multiply the calculated cycle by calculating a constant that lengthens the time zone for data having a long cycle. As described above, if the calculated cycle is short, the time zone is short, and if the calculated cycle is long, the time zone is long, so that the user can more easily recognize the tendency of the data.

以上説明したように、本実施形態に係る情報処理装置100は、領域カウント処理によるカウント結果を表示する場合、時間帯ごとの平均値を算出したグラフを表示する。一方、情報処理装置100は、通過カウント処理によるカウント結果を表示する場合は、比較の対象となる期間に応じた集計期間毎のラインを通過した人数の合計値を算出したグラフを表示する。このようにすることで、人数カウントのタイプに応じて、適応的にユーザの意図するグラフを表示させることができる。 As described above, when the information processing apparatus 100 according to the present embodiment displays the count result by the area count process, it displays a graph in which the average value for each time zone is calculated. On the other hand, when displaying the count result by the pass count process, the information processing apparatus 100 displays a graph calculated by calculating the total value of the number of people who have passed the line for each aggregation period according to the period to be compared. By doing so, it is possible to adaptively display the graph intended by the user according to the type of number counting.

(その他の実施形態)
次に図9を参照して、各実施形態の各機能を実現するための情報処理装置100のハードウェア構成を説明する。なお、以降の説明において情報処理装置100のハードウェア構成について説明するが、記録装置120および撮像装置110も同様のハードウェア構成によって実現されるものとする。
(Other embodiments)
Next, with reference to FIG. 9, the hardware configuration of the information processing apparatus 100 for realizing each function of each embodiment will be described. Although the hardware configuration of the information processing device 100 will be described in the following description, it is assumed that the recording device 120 and the imaging device 110 are also realized by the same hardware configuration.

本実施形態における情報処理装置100は、CPU900と、RAM910と、ROM920、HDD930と、I/F940と、を有している。 The information processing apparatus 100 in the present embodiment includes a CPU 900, a RAM 910, a ROM 920, an HDD 930, and an I / F 940.

CPU900は情報処理装置100を統括制御する中央処理装置である。RAM910は、CPU900が実行するコンピュータプログラムを一時的に記憶する。また、RAM910は、CPU900が処理を実行する際に用いるワークエリアを提供する。また、RAM910は、例えば、フレームメモリとして機能したり、バッファメモリとして機能したりする。 The CPU 900 is a central processing unit that controls the information processing device 100 in an integrated manner. The RAM 910 temporarily stores a computer program executed by the CPU 900. The RAM 910 also provides a work area used by the CPU 900 to execute processing. Further, the RAM 910 functions as, for example, a frame memory or a buffer memory.

ROM920は、CPU900が情報処理装置100を制御するためのプログラムなどを記憶する。HDD930は、画像データ等を記録する記憶装置である。 The ROM 920 stores a program or the like for the CPU 900 to control the information processing device 100. The HDD 930 is a storage device for recording image data and the like.

I/F940は、ネットワーク140を介して、TCP/IPやHTTPなどに従って、外部装置との通信を行う。 The I / F 940 communicates with an external device via the network 140 according to TCP / IP, HTTP, or the like.

なお、上述した各実施形態の説明では、CPU900が処理を実行する例について説明するが、CPU900の処理のうち少なくとも一部を専用のハードウェアによって行うようにしてもよい。例えば、ディスプレイ130にGUI(GRAPHICAL USER INTERFACE)や画像データを表示する処理は、GPU(GRAPHICS PROCESSING UNIT)で実行してもよい。また、ROM920からプログラムコードを読み出してRAM910に展開する処理は、転送装置として機能するDMA(DIRECT MEMORY ACCESS)によって実行してもよい。 In the description of each of the above-described embodiments, an example in which the CPU 900 executes the processing will be described, but at least a part of the processing of the CPU 900 may be performed by dedicated hardware. For example, the process of displaying a GUI (GRAPHICAL USER INTERDEFACE) or image data on the display 130 may be executed by a GPU (GRAPHICS PROCESSING UNIT). Further, the process of reading the program code from the ROM 920 and expanding it into the RAM 910 may be executed by a DMA (Direct Memory Access) that functions as a transfer device.

なお、本発明は、上述の実施形態の1以上の機能を実現するプログラムを1つ以上のプロセッサが読出して実行する処理でも実現可能である。プログラムは、ネットワーク又は記憶媒体を介して、プロセッサを有するシステム又は装置に供給するようにしてもよい。また、本発明は、上述の実施形態の1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。また、情報処理装置100の各部は、図9に示すハードウェアにより実現してもよいし、ソフトウェアにより実現することもできる。 The present invention can also be realized by a process in which one or more processors read and execute a program that realizes one or more functions of the above-described embodiment. The program may be supplied to a system or device having a processor via a network or storage medium. The present invention can also be realized by a circuit (for example, an ASIC) that realizes one or more functions of the above-described embodiment. Further, each part of the information processing apparatus 100 may be realized by the hardware shown in FIG. 9 or by software.

以上、本発明を実施形態と共に説明したが、上記実施形態は本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲は限定的に解釈されるものではない。すなわち、本発明はその技術思想、又はその主要な特徴から逸脱しない範囲において、様々な形で実施することができる。例えば、各実施形態を組み合わせたものも本明細書の開示内容に含まれる。 Although the present invention has been described above together with the embodiments, the above embodiments are merely examples of implementation of the present invention, and the technical scope of the present invention is construed in a limited manner by these. It's not a thing. That is, the present invention can be implemented in various forms without departing from the technical idea or its main features. For example, a combination of the respective embodiments is also included in the disclosure contents of the present specification.

100 情報処理装置
110 撮像装置
300 通信部
301 記憶部
302 操作受付部
303 検出部
304 追尾部
305 設定部
306 算出部
307 表示制御部
100 Information processing device 110 Imaging device 300 Communication unit 301 Storage unit 302 Operation reception unit 303 Detection unit 304 Tracking unit 305 Setting unit 306 Calculation unit 307 Display control unit

Claims (13)

撮像手段により撮像された画像に基づいてカウントされた人数の結果を表示する情報処理装置であって、
第1の期間において集計された人数のカウント結果と、前記第1の期間より過去の期間である第2の期間において集計された人数のカウント結果とを並べたグラフを表示手段に表示させる表示制御手段を有し、
前記表示制御手段は、前記画像上で指定された領域に存在する人数をカウントしたカウント結果を示すグラフを表示する場合、第1の集計方法で前記第1の期間において集計されたカウント結果と、前記第1の集計方法で前記第2の期間において集計されたカウント結果とを示すグラフを表示し、
前記画像上で指定されたラインを通過する人数をカウントしたカウント結果を示すグラフを表示する場合、前記第1の集計方法とは異なる第2の集計方法で前記第1の期間において集計されたカウント結果と、前記第2の集計方法で前記第2の期間において集計されたカウント結果とを示すグラフを前記表示手段に表示させることを特徴とする情報処理装置。
An information processing device that displays the results of the number of people counted based on the images captured by the imaging means.
Display control for displaying a graph in which the count result of the number of people aggregated in the first period and the count result of the number of people aggregated in the second period, which is a period earlier than the first period, are displayed on the display means. Have a means,
When the display control means displays a graph showing the count result of counting the number of people existing in the area designated on the image, the count result aggregated in the first period by the first aggregation method and the count result are aggregated. A graph showing the count results aggregated in the second period by the first aggregation method is displayed.
When displaying a graph showing the count result of counting the number of people passing through the line specified on the image, the count totaled in the first period by a second totaling method different from the first totaling method. An information processing apparatus characterized in that the display means displays a graph showing a result and a count result aggregated in the second period by the second aggregation method.
前記第1の集計方法で前記第1の期間において集計されたカウント結果は、前記第1の期間における所定の時間帯でカウントされた領域に存在する人数の平均値であり、
前記第1の集計方法で前記第2の期間において集計されたカウント結果は、前記第2の期間における前記所定の時間帯でカウントされた領域に存在する人数の平均値であることを特徴とする請求項1に記載の情報処理装置。
The count result aggregated in the first period by the first aggregation method is an average value of the number of people existing in the area counted in the predetermined time zone in the first period.
The count result aggregated in the second period by the first aggregation method is an average value of the number of people existing in the area counted in the predetermined time zone in the second period. The information processing device according to claim 1.
前記第2の集計方法で前記第1の期間において集計されたカウント結果は、前記第1の期間における所定の期間においてカウントされた前記ラインを通過した人数の合計値であり、
前記第2の集計方法で前記第2の期間において集計されたカウント結果は、前記第2の期間における前記所定の期間においてカウントされた人数の合計値であることを特徴とする請求項1または2に記載の情報処理装置。
The count result aggregated in the first period by the second aggregation method is the total value of the number of people who have passed the line counted in the predetermined period in the first period.
Claim 1 or 2 characterized in that the count result aggregated in the second period by the second aggregation method is the total value of the number of people counted in the predetermined period in the second period. The information processing device described in.
前記撮像手段により撮像された画像に含まれる人物を検出する検出手段と、
前記検出手段により検出された人数をカウントする算出手段とを更に有し、
前記算出手段は、前記画像上で指定された領域に存在する人数をカウントすることを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。
A detection means for detecting a person included in an image captured by the image pickup means, and
It further has a calculation means for counting the number of people detected by the detection means.
The information processing device according to any one of claims 1 to 3, wherein the calculation means counts the number of people existing in a region designated on the image.
前記検出手段により検出された人物を追尾する追尾手段を更に有し、
前記算出手段は、前記画像上で指定されたラインを通過する人数をカウントすることを特徴とする請求項4に記載の情報処理装置。
Further having a tracking means for tracking a person detected by the detection means,
The information processing apparatus according to claim 4, wherein the calculation means counts the number of people passing through a line designated on the image.
前記第1の期間および前記第2の期間は、今年および昨年、今月および先月、今週および先週、または、今日および昨日のいずれかであることを特徴とする請求項1乃至5のいずれか1項に記載の情報処理装置。 One of claims 1 to 5, wherein the first period and the second period are either this year and last year, this month and last month, this week and last week, or today and yesterday. The information processing device described in. 撮像手段により撮像された画像に基づいてカウントされた人数の結果を表示する情報処理装置の情報処理方法であって、
第1の期間において集計された人数のカウント結果と、前記第1の期間より過去の期間である第2の期間において集計された人数のカウント結果とを並べたグラフを表示手段に表示させる表示制御工程を有し、
前記表示制御工程において、前記画像上で指定された領域に存在する人数をカウントしたカウント結果を示すグラフを表示する場合、第1の集計方法で前記第1の期間において集計されたカウント結果と、前記第1の集計方法で前記第2の期間において集計されたカウント結果とを示すグラフを表示し、
前記画像上で指定されたラインを通過する人数をカウントしたカウント結果を示すグラフを表示する場合、前記第1の集計方法とは異なる第2の集計方法で前記第1の期間において集計されたカウント結果と、前記第2の集計方法で前記第2の期間において集計されたカウント結果とを示すグラフを前記表示手段に表示させることを特徴とする情報処理方法。
It is an information processing method of an information processing device that displays the result of the number of people counted based on the image captured by the imaging means.
Display control for displaying a graph in which the count result of the number of people aggregated in the first period and the count result of the number of people aggregated in the second period, which is a period earlier than the first period, are displayed on the display means. Have a process,
In the display control step, when displaying a graph showing the count result of counting the number of people existing in the area designated on the image, the count result aggregated in the first period by the first aggregation method and the count result aggregated in the first period A graph showing the count results aggregated in the second period by the first aggregation method is displayed.
When displaying a graph showing the count result of counting the number of people passing through the line specified on the image, the count totaled in the first period by a second totaling method different from the first totaling method. An information processing method comprising displaying a graph showing a result and a count result aggregated in the second period by the second aggregation method on the display means.
前記第1の集計方法で前記第1の期間において集計されたカウント結果は、前記第1の期間における所定の時間帯でカウントされた領域に存在する人数の平均値であり、
前記第1の集計方法で前記第2の期間において集計されたカウント結果は、前記第2の期間における前記所定の時間帯でカウントされた領域に存在する人数の平均値であることを特徴とする請求項7に記載の情報処理方法。
The count result aggregated in the first period by the first aggregation method is an average value of the number of people existing in the area counted in the predetermined time zone in the first period.
The count result aggregated in the second period by the first aggregation method is an average value of the number of people existing in the area counted in the predetermined time zone in the second period. The information processing method according to claim 7.
前記第2の集計方法で前記第1の期間において集計されたカウント結果は、前記第1の期間における所定の期間においてカウントされた前記ラインを通過した人数の合計値であり、
前記第2の集計方法で前記第2の期間において集計されたカウント結果は、前記第2の期間における前記所定の期間においてカウントされた人数の合計値であることを特徴とする請求項7または8に記載の情報処理方法。
The count result aggregated in the first period by the second aggregation method is the total value of the number of people who have passed the line counted in the predetermined period in the first period.
Claim 7 or 8 characterized in that the count result aggregated in the second period by the second aggregation method is the total value of the number of people counted in the predetermined period in the second period. Information processing method described in.
前記撮像手段により撮像された画像に含まれる人物を検出する検出工程と、
前記検出工程により検出された人数をカウントする算出工程とを更に有し、
前記算出工程において、前記画像上で指定された領域に存在する人数をカウントすることを特徴とする請求項7乃至9のいずれか1項に記載の情報処理方法。
A detection step for detecting a person included in an image captured by the imaging means, and
It further has a calculation step of counting the number of people detected by the detection step.
The information processing method according to any one of claims 7 to 9, wherein in the calculation step, the number of people existing in the area designated on the image is counted.
前記検出方法により検出された人物を追尾する追尾方法を更に有し、
前記算出方法において、前記画像上で指定されたラインを通過する人数をカウントすることを特徴とする請求項10に記載の情報処理方法。
Further having a tracking method for tracking a person detected by the detection method,
The information processing method according to claim 10, wherein in the calculation method, the number of people passing through a line designated on the image is counted.
前記第1の期間および前記第2の期間は、今年および昨年、今月および先月、今週および先週、または、今日および昨日のいずれかであることを特徴とする請求項7乃至11のいずれか1項に記載の情報処理方法。 One of claims 7 to 11, wherein the first period and the second period are either this year and last year, this month and last month, this week and last week, or today and yesterday. Information processing method described in. コンピュータを、請求項1乃至6のいずれか1項に記載された情報処理装置の各手段として機能させるためのプログラム。 A program for causing a computer to function as each means of the information processing apparatus according to any one of claims 1 to 6.
JP2019048233A 2019-03-15 2019-03-15 Information processing device, information processing method, and program Active JP7313850B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019048233A JP7313850B2 (en) 2019-03-15 2019-03-15 Information processing device, information processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019048233A JP7313850B2 (en) 2019-03-15 2019-03-15 Information processing device, information processing method, and program

Publications (2)

Publication Number Publication Date
JP2020149544A true JP2020149544A (en) 2020-09-17
JP7313850B2 JP7313850B2 (en) 2023-07-25

Family

ID=72430623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019048233A Active JP7313850B2 (en) 2019-03-15 2019-03-15 Information processing device, information processing method, and program

Country Status (1)

Country Link
JP (1) JP7313850B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0850501A (en) * 1994-08-05 1996-02-20 Takenaka Komuten Co Ltd Method and system for dynamic energy management
US20140125805A1 (en) * 2008-07-16 2014-05-08 Verint Systems Inc. System and Method for Capturing, Storing, Analyzing and Displaying Data Related to the Movements of Objects
JP2018042049A (en) * 2016-09-06 2018-03-15 パナソニックIpマネジメント株式会社 Apparatus, system and method for congestion detection
US20180181815A1 (en) * 2016-12-28 2018-06-28 Panasonic Intellectual Property Management Co., Ltd. Person counting area setting method, person counting area setting program, moving line analysis system, camera device, and person counting program
JP2018207175A (en) * 2017-05-30 2018-12-27 キヤノン株式会社 Number of people management device, number of people management method and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0850501A (en) * 1994-08-05 1996-02-20 Takenaka Komuten Co Ltd Method and system for dynamic energy management
US20140125805A1 (en) * 2008-07-16 2014-05-08 Verint Systems Inc. System and Method for Capturing, Storing, Analyzing and Displaying Data Related to the Movements of Objects
JP2018042049A (en) * 2016-09-06 2018-03-15 パナソニックIpマネジメント株式会社 Apparatus, system and method for congestion detection
US20180181815A1 (en) * 2016-12-28 2018-06-28 Panasonic Intellectual Property Management Co., Ltd. Person counting area setting method, person counting area setting program, moving line analysis system, camera device, and person counting program
JP2018110303A (en) * 2016-12-28 2018-07-12 パナソニックIpマネジメント株式会社 Number-of-persons measurement region setting method, number-of-persons measurement region setting program, traffic line analysis system, camera device, and number-of-persons measurement program
JP2018207175A (en) * 2017-05-30 2018-12-27 キヤノン株式会社 Number of people management device, number of people management method and program

Also Published As

Publication number Publication date
JP7313850B2 (en) 2023-07-25

Similar Documents

Publication Publication Date Title
US10810438B2 (en) Setting apparatus, output method, and non-transitory computer-readable storage medium
JP4876687B2 (en) Attention level measuring device and attention level measuring system
US8472669B2 (en) Object localization using tracked object trajectories
WO2019023921A1 (en) Gesture recognition method, apparatus, and device
JP6624629B2 (en) Fish counting device, fish counting method, fish number prediction device, fish number prediction method, fish counting system and fish number prediction system
EP3288258A1 (en) Information processing apparatus and method thereof
JP2014128002A (en) Subject area tracking device and method therefor and program
EP2966591A1 (en) Method and apparatus for identifying salient events by analyzing salient video segments identified by sensor information
JP2016187162A (en) Information processing device, information processing method, and program
JP2010176225A (en) Information notification system and method, and control program
CN111601013B (en) Method and apparatus for processing video frames
US20190236377A1 (en) Information processing apparatus, system, control method for information processing apparatus, and non-transitory computer readable storage medium
WO2018179119A1 (en) Image analysis apparatus, image analysis method, and recording medium
US10783365B2 (en) Image processing device and image processing system
JP7198043B2 (en) Image processing device, image processing method
JP7313850B2 (en) Information processing device, information processing method, and program
US11909776B2 (en) Online video distribution support method, online video distribution support apparatus and online video distribution support system
US20190130677A1 (en) Information processing apparatus, information processing method, imaging apparatus, network camera system, and storage medium
JP7329967B2 (en) IMAGE PROCESSING APPARATUS, SYSTEM, IMAGE PROCESSING APPARATUS CONTROL METHOD, AND PROGRAM
JP7182893B2 (en) Image processing device, imaging device, image processing method, and program
JP2019192154A (en) Image processing apparatus, imaging device, image processing method, and program
JP2020086961A (en) Image analysis device, imaging device, image analysis method, and program
WO2023112930A1 (en) Image processing device, terminal, and monitoring method
US20220036093A1 (en) Information processing apparatus, information processing method, and storage medium
JP2018049479A (en) Information processing device, evaluation system and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220308

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230317

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230712

R151 Written notification of patent or utility model registration

Ref document number: 7313850

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151