Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6982263B2 - Image processing system, image processing system control method, and program - Google Patents
[go: Go Back, main page]

JP6982263B2 - Image processing system, image processing system control method, and program - Google Patents

Image processing system, image processing system control method, and program Download PDF

Info

Publication number
JP6982263B2
JP6982263B2 JP2020027862A JP2020027862A JP6982263B2 JP 6982263 B2 JP6982263 B2 JP 6982263B2 JP 2020027862 A JP2020027862 A JP 2020027862A JP 2020027862 A JP2020027862 A JP 2020027862A JP 6982263 B2 JP6982263 B2 JP 6982263B2
Authority
JP
Japan
Prior art keywords
person
image
people
count
processing system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020027862A
Other languages
Japanese (ja)
Other versions
JP2020102852A (en
Inventor
高志 羽部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Marketing Japan Inc
Original Assignee
Canon Marketing Japan 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 Marketing Japan Inc filed Critical Canon Marketing Japan Inc
Publication of JP2020102852A publication Critical patent/JP2020102852A/en
Application granted granted Critical
Publication of JP6982263B2 publication Critical patent/JP6982263B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、画像処理システム、画像処理システムの制御方法、およびプログラムに関する。 The present invention relates to an image processing system, a control method of the image processing system, and a program.

近年ネットワークカメラの映像を用いて人数をカウントするシステムが提案されている。例えば特許文献1には、カメラから出力された撮影画像を取得し、当該撮影画像に対して顔認識を行うことで、当該撮影画像中の顔の数に応じた人数を算出する仕組みが提案されている。 In recent years, a system for counting the number of people using images from a network camera has been proposed. For example, Patent Document 1 proposes a mechanism for calculating the number of people according to the number of faces in the photographed image by acquiring the photographed image output from the camera and performing face recognition on the photographed image. ing.

また特許文献2には、特定箇所を撮影し、撮影された映像を画像処理することによって当該特定箇所を通過した人数をカウントする仕組みが提案されている。 Further, Patent Document 2 proposes a mechanism for counting the number of people who have passed through a specific place by taking a picture of the specific place and performing image processing on the shot image.

特開2011−221906号公報Japanese Unexamined Patent Publication No. 2011-221906 特開2008−217205号公報Japanese Unexamined Patent Publication No. 2008-217205

特許文献1および特許文献2の仕組みを利用してネットワークカメラの画像(映像)を解析することで、画像中に写っている人の人数や、所定の位置を通過した人の人数を算出することができる。 By analyzing the image (video) of the network camera using the mechanism of Patent Document 1 and Patent Document 2, the number of people in the image and the number of people who have passed a predetermined position can be calculated. Can be done.

しかしながら、これら特許文献にて提案された技術を利用した場合、例えばイベント会場などで参加した人の人数を数えたい場合に、係員などイベントの参加者ではない人まで数えてしまうことになってしまう。 However, when the technology proposed in these patent documents is used, for example, when it is desired to count the number of people who participated in an event venue, the number of people who are not participants in the event such as staff members will be counted. ..

また、長時間滞在した人や短時間しか滞在していない人も同様に数えてしまうためユーザごとの滞在時間を算出することができないという問題もあった。 Further, there is also a problem that the staying time for each user cannot be calculated because the people who stayed for a long time or those who stayed only for a short time are counted in the same manner.

また、同じユーザが何度もカウントされてしまうことによって、実人数を数えたい場合などには正しい人数を算出することができないとう問題もあった。 Further, there is a problem that the correct number of people cannot be calculated when the actual number of people is to be counted because the same user is counted many times.

そこで本発明では、これら問題点に鑑み、画像から所定の位置を通過した人数を算出する時に、目的に適した人数を算出することが可能な仕組みを提供することを目的とする。 Therefore, in view of these problems, it is an object of the present invention to provide a mechanism capable of calculating the number of people suitable for a purpose when calculating the number of people who have passed a predetermined position from an image.

本発明に係る画像処理システムは、
人物が写った撮影画像に基づいて、所定の位置を通過した人物の人数をカウントするカウント手段と、
前記撮影画像に写った同一の人物であって、前記所定の位置を通過した後、所定の時間内に当該所定の位置を異なる方向に通過した人物を特定する人物特定手段と、
を備えることを特徴とする
The image processing system according to the present invention is
A counting means that counts the number of people who have passed a predetermined position based on the captured image of the person.
A person identification means for identifying a person who is the same person in the photographed image and has passed the predetermined position in a different direction within a predetermined time after passing the predetermined position.
It is characterized by having .

本発明によると、画像から所定の位置を通過した人数を算出する時に、目的に適した人数を算出することが可能な仕組みを提供することができる。 According to the present invention, it is possible to provide a mechanism capable of calculating the number of people suitable for a purpose when calculating the number of people who have passed a predetermined position from an image.

本発明の実施形態における画像処理システムのシステム構成の一例を示すシステム構成図である。It is a system configuration diagram which shows an example of the system configuration of the image processing system in embodiment of this invention. 本発明の実施形態における画像処理システムのサーバ100、クライアントPC101に適用可能な情報処理装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware composition of the information processing apparatus applicable to the server 100 and the client PC 101 of the image processing system in embodiment of this invention. 本発明の実施形態におけるネットワークカメラ102のハードウェアの構成の一例を示す図である。It is a figure which shows an example of the hardware configuration of the network camera 102 in embodiment of this invention. 本発明の実施形態における画像処理システムの機能構成の一例を示す機能構成図である。It is a functional block diagram which shows an example of the functional block of the image processing system in embodiment of this invention. 本発明の実施形態における人数カウントに利用される画像の一例を示す図である。It is a figure which shows an example of the image used for the number of people counting in embodiment of this invention. 本発明の実施形態における通過人数カウントに利用される画像の一例を示す図である。It is a figure which shows an example of the image used for the passing person count in embodiment of this invention. 本発明の実施形態における画像処理システムの画像保存処理の一例を示すフローチャートである。It is a flowchart which shows an example of the image preservation processing of the image processing system in embodiment of this invention. 本発明の実施形態における画像処理システムの通過人数カウント処理の一例を示すフローチャートである。It is a flowchart which shows an example of the passing person count processing of the image processing system in embodiment of this invention. 本発明の実施形態における画像処理システムの人数カウント処理の一例を示すフローチャートである。It is a flowchart which shows an example of the number of people count processing of the image processing system in embodiment of this invention. 本発明の実施形態における画像処理システムの顔認識処理の一例を示すフローチャートである。It is a flowchart which shows an example of the face recognition processing of the image processing system in embodiment of this invention. 本発明の実施形態における画像処理システムの閲覧処理の一例を示すフローチャートである。It is a flowchart which shows an example of the browsing process of the image processing system in embodiment of this invention. 本発明の実施形態における画像処理システムの人物DBの一例を示す図である。It is a figure which shows an example of the person DB of the image processing system in embodiment of this invention. 本発明の実施形態における人数カウントの閲覧画面の一例を示す図である。It is a figure which shows an example of the browsing screen of the number of people count in embodiment of this invention. 本発明の実施形態における通過人数カウントの閲覧画面の一例を示す図である。It is a figure which shows an example of the browsing screen of the passing person count in embodiment of this invention. 別の実施形態に係る画像処理システムの通過人数カウント処理の一例を示すフローチャートである。It is a flowchart which shows an example of the passing person count processing of the image processing system which concerns on another embodiment. 人物位置情報DBの一例を示す図である。It is a figure which shows an example of the person position information DB. 境界越え情報DBの一例を示す図である。It is a figure which shows an example of the boundary crossing information DB. ラインカウンタDBの一例を示す図である。It is a figure which shows an example of a line counter DB. 別の実施形態に係る画像処理システムにおける画像に写った人数のカウント処理の一例を示すフローチャートである。It is a flowchart which shows an example of the count processing of the number of people which appeared in the image in the image processing system which concerns on another Embodiment. 人数カウントの閲覧画面の一例を示す図である。It is a figure which shows an example of the browsing screen of the number of people count.

以下、図面を参照して、本発明の実施形態を詳細に説明する。なお、以下説明する実施形態は、本発明を具体的に実施した場合の一例を示すもので、特許請求の範囲に記載した構成の具体的な実施形態の1つである。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The embodiment described below is an example of a specific embodiment of the present invention, and is one of the specific embodiments of the configuration described in the claims.

図1は、本発明の実施形態における画像処理システムのシステム構成の一例を示すシステム構成図である。 FIG. 1 is a system configuration diagram showing an example of a system configuration of an image processing system according to an embodiment of the present invention.

本発明の実施形態における画像処理システム(情報処理システム)は、サーバ100、クライアントPC101、撮像装置であるネットワークカメラ102が、無線(または有線)LAN120を介して通信接続可能に接続されている。尚、図1のシステム構成は一例であり、用途や目的に応じて様々な構成例がある。 In the image processing system (information processing system) according to the embodiment of the present invention, the server 100, the client PC 101, and the network camera 102, which is an image pickup device, are connected to each other via a wireless (or wired) LAN 120 so as to be able to communicate with each other. The system configuration shown in FIG. 1 is an example, and there are various configuration examples depending on the application and purpose.

サーバ100は、ネットワークカメラ102において撮影された画像データを記憶管理する。また、サーバ100は、当該サーバ100で記憶管理する画像データを解析し、画像データに含まれるユーザの人数のカウントや、所定の領域を通過した人数のカウントを行う機能を有する。 The server 100 stores and manages image data captured by the network camera 102. Further, the server 100 has a function of analyzing the image data stored and managed by the server 100, counting the number of users included in the image data, and counting the number of people who have passed through a predetermined area.

本発明の実施形態における画像管理システムは、ネットワークカメラ102を複数[ネットワークカメラ102(A)や(B)]含み、また、TCP/IPプロトコルで通信を行っており、各ネットワークカメラ102には、固定のIPアドレスが独自に割り当てられると共に、ネットワーク群毎に割り当てられた外部ポート番号が割り当てられている。 The image management system according to the embodiment of the present invention includes a plurality of network cameras 102 [network cameras 102 (A) and (B)], and communicates using the TCP / IP protocol. A fixed IP address is assigned independently, and an external port number assigned to each network group is assigned.

従って、サーバ100では、受信した画像データが何れのネットワークカメラ102から送信されたものなのかを識別することが可能であり、受信した画像データと何れのネットワークカメラ102から送信されたものなのかを対応づけて記憶管理することが可能である。 Therefore, the server 100 can identify from which network camera 102 the received image data is transmitted, and can determine which network camera 102 the received image data is transmitted from. It is possible to associate and manage the memory.

ネットワークカメラ102は、例えば、企業の建物のフロアの打ち合わせスペースや催し物会場(以下、「所定の領域」ともいう)ごとに設けられ、例えばネットワークカメラ102(A)は所定の領域全体の静止画または動画を撮影し、ネットワークカメラ102(B)はそこで撮影された人物を特定するための静止画または動画の撮影を行ったりする。 The network camera 102 is provided for each meeting space or entertainment venue (hereinafter, also referred to as “predetermined area”) on the floor of a company building, for example, the network camera 102 (A) is a still image or a still image of the entire predetermined area. A moving image is taken, and the network camera 102 (B) shoots a still image or a moving image for identifying the person photographed there.

所定の領域の例としては、領域の全体を示す領域106、領域A103、領域B104などである。領域A103と領域B104の間に設けられた位置105は、当該位置105を通過したユーザ(USER)の人数をカウントする場合の基準位置である。すなわち、本位置は、領域A103と領域B104とを区分けする境界である。本位置は、線状に設定されてもよいし、円状に設定されてもよいし、矩形で設定されてもよい。 Examples of predetermined regions are region 106, region A103, region B104, and the like, which indicate the entire region. The position 105 provided between the areas A103 and the area B104 is a reference position when counting the number of users (USERs) who have passed the position 105. That is, this position is a boundary that separates the area A103 and the area B104. This position may be set in a linear shape, may be set in a circular shape, or may be set in a rectangular shape.

クライアントPC101は、サーバ100で管理する画像データ(ネットワークカメラ102の映像)をユーザが閲覧するために用いられる。ユーザは、クライアントPC101を介して、モニタリングシステムにログインすることにより、画像データの閲覧が可能となる。 The client PC 101 is used for the user to browse the image data (video of the network camera 102) managed by the server 100. The user can view the image data by logging in to the monitoring system via the client PC 101.

次に、図2を用いて、図1に示したサーバ100、クライアントPC101に適用可能な情報処理装置のハードウェア構成の一例について説明する。 Next, an example of the hardware configuration of the information processing apparatus applicable to the server 100 and the client PC 101 shown in FIG. 1 will be described with reference to FIG.

図2は、本発明の実施形態における画像処理システムのサーバ100、クライアントPC101に適用可能な情報処理装置のハードウェア構成の一例を示す図である。 FIG. 2 is a diagram showing an example of a hardware configuration of an information processing device applicable to the server 100 and the client PC 101 of the image processing system according to the embodiment of the present invention.

図2において、201はCPUで、システムバス204に接続される各デバイスやコントローラを統括的に制御する。また、ROM202あるいは外部メモリ211には、CPU201の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(以下、OS)や、PCの実行する機能を実現するために必要な後述する各種プログラム等が記憶されている。 In FIG. 2, 201 is a CPU that comprehensively controls each device and controller connected to the system bus 204. Further, in the ROM 202 or the external memory 211, a BIOS (Basic Input / Output System) which is a control program of the CPU 201, an operating system program (hereinafter, OS), and various functions necessary for realizing a function executed by the PC, which will be described later, are used. The program etc. are stored.

203はRAMで、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM202あるいは外部メモリ211からRAM203にロードして、ロードしたプログラムを実行することで各種動作を実現するものである。 Reference numeral 203 denotes a RAM, which functions as a main memory, a work area, and the like of the CPU 201. The CPU 201 realizes various operations by loading a program or the like necessary for executing a process from the ROM 202 or the external memory 211 into the RAM 203 and executing the loaded program.

また、205は入力コントローラで、キーボード(KB)209等のポインティングデバイス等からの入力を制御する。206はビデオコントローラで、CRTディスプレイ(CRT)210等の表示器への表示を制御する。なお、図2では、CRT210と記載しているが、表示器はCRTだけでなく、液晶ディスプレイ等の他の表示器であってもよい。 Further, 205 is an input controller, which controls input from a pointing device such as a keyboard (KB) 209. Reference numeral 206 denotes a video controller, which controls the display on a display such as a CRT display (CRT) 210. Although it is described as CRT210 in FIG. 2, the display may be not only the CRT but also another display such as a liquid crystal display.

207はメモリコントローラで、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、各種データ等を記憶する外部記憶装置(ハードディスク(HD))や、フレキシブルディスク(FD)、或いはPCMCIAカードスロットにアダプタを介して接続されるCFメモリ等の外部メモリ211へのアクセスを制御する。 The 207 is a memory controller that can be used in an external storage device (hard disk (HD)) that stores boot programs, various applications, font data, user files, edit files, various data, etc., a flexible disk (FD), or a PCMCIA card slot. It controls access to an external memory 211 such as a CF memory connected via an adapter.

208は通信I/Fコントローラで、ネットワークを介して外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。 Reference numeral 208 denotes a communication I / F controller, which connects and communicates with an external device via a network, and executes communication control processing on the network. For example, communication using TCP / IP is possible.

なお、CPU201は、例えばRAM203内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、CRT210上での表示を可能としている。また、CPU201は、CRT210上の不図示のマウスカーソル等でのユーザ指示を可能とする。 The CPU 201 enables display on the CRT 210 by, for example, executing an outline font expansion (rasterization) process in the display information area in the RAM 203. Further, the CPU 201 enables a user instruction with a mouse cursor or the like (not shown) on the CRT 210.

本発明を実現するための後述する各種プログラムは、外部メモリ211に記録されており、必要に応じてRAM203にロードされることによりCPU201によって実行されるものである。さらに、上記プログラムの実行時に用いられる設定ファイル等も外部メモリ211に格納されており、これらについての詳細な説明も後述する。以上で、図2の説明を終了する。 Various programs described later for realizing the present invention are recorded in the external memory 211, and are executed by the CPU 201 by being loaded into the RAM 203 as needed. Further, a setting file or the like used when executing the above program is also stored in the external memory 211, and detailed description of these will be described later. This is the end of the description of FIG.

次に、図3を用いて、図1に示したネットワークカメラ102のハードウェア構成の一例について説明する。 Next, an example of the hardware configuration of the network camera 102 shown in FIG. 1 will be described with reference to FIG.

図3は、本発明の実施形態におけるネットワークカメラ102のハードウェアの構成の一例を示す図である。 FIG. 3 is a diagram showing an example of the hardware configuration of the network camera 102 according to the embodiment of the present invention.

CPU301は、システムバス304に接続される各デバイスやコントローラを統括的に制御する。また、ROM302あるいは外部メモリ305には、CPU301の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(以下、OS)や、画像処理サーバ108の実行する機能を実現するために必要な後述する各種プログラム等が記憶されている。RAM303は、CPU301の主メモリ、ワークエリア等として機能する。 The CPU 301 comprehensively controls each device and controller connected to the system bus 304. Further, the ROM 302 or the external memory 305 is required to realize the functions executed by the BIOS (Basic Input / Output System), the operating system program (hereinafter, OS), which is the control program of the CPU 301, and the image processing server 108. Various programs described later are stored. The RAM 303 functions as the main memory of the CPU 301, a work area, and the like.

CPU301は、処理の実行に際して必要なプログラム等をRAM303にロードして、プログラムを実行することで各種動作を実現するものである。 The CPU 301 realizes various operations by loading a program or the like necessary for executing a process into the RAM 303 and executing the program.

メモリコントローラ(MC)306は、ブートプログラム、各種のアプリケーション、フォントデータ、ユーザファイル、編集ファイル、各種データ、画像データ等を記憶するハードディスク(HD)やPCMCIAカードスロットにアダプタを介して接続されるCFメモリやスマートメディア(登録商標)等の外部メモリ305へのアクセスを制御する。 The memory controller (MC) 306 is a CF connected to a hard disk (HD) or a PCMCIA card slot that stores a boot program, various applications, font data, user files, edit files, various data, image data, etc. via an adapter. Controls access to external memory 305 such as memory and SmartMedia®.

カメラ部307は、画像処理部308と接続されており、監視対象に対して向けられたレンズを透過して得られた光をCCDやCMOS等の受光セルによって光電変換を行った後、RGB信号や補色信号を画像処理部308に対して出力する。 The camera unit 307 is connected to the image processing unit 308, and after performing photoelectric conversion of the light obtained through the lens directed to the monitored object by a light receiving cell such as a CCD or CMOS, an RGB signal is obtained. And the complementary color signal is output to the image processing unit 308.

画像処理部308は、RGB信号や捕色信号に基づいて、ホワイトバランス調整、ガンマ処理、シャープネス処理を行い、更に、YC信号処理を施して輝度信号Yとクロマ信号(以下、YC信号)を生成し、YC信号を所定の圧縮形式(例えばJPEGフォーマット、あるいはMotionJPEGフォーマット等)で圧縮し、この圧縮されたデータは、画像データとして外部メモリ305へ一時保管される。 The image processing unit 308 performs white balance adjustment, gamma processing, and sharpness processing based on the RGB signal and the color capture signal, and further performs YC signal processing to generate a brightness signal Y and a chroma signal (hereinafter, YC signal). Then, the YC signal is compressed in a predetermined compression format (for example, JPEG format, MotionPEG format, etc.), and the compressed data is temporarily stored in the external memory 305 as image data.

通信I/Fコントローラ(通信I/FC)309は、ネットワークを介して、外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行しており、外部メモリ305に記憶された画像データは、通信I/Fコントローラ309によって外部機器へ送信される。以上で、図3の説明を終了する。 The communication I / F controller (communication I / FC) 309 connects and communicates with an external device via a network, executes communication control processing on the network, and is an image stored in the external memory 305. The data is transmitted to the external device by the communication I / F controller 309. This is the end of the description of FIG.

図4は、本発明の実施形態における画像処理システムの機能構成の一例を示す機能構成図である。 FIG. 4 is a functional configuration diagram showing an example of the functional configuration of the image processing system according to the embodiment of the present invention.

本実施形態に係る画像処理システムは、サーバ100が、画像取得部411、人数カウント部412、人物認識部413、人物除外部414、および結果画面表示制御部415の各機能を有する。なお、サーバ100は、図4に図示した機能構成に限られず、例えば、カウント除外対象であると判定された人物を記憶する記憶部、人物が所定の位置を通過した方向を示す通過方向情報を取得する通過方向取得部、人物が所定の領域に滞在している時間を算出する滞在時間算出手段等、その他の種々の機能構成を有していてもよい。 In the image processing system according to the present embodiment, the server 100 has each function of an image acquisition unit 411, a number of people counting unit 412, a person recognition unit 413, a person exclusion unit 414, and a result screen display control unit 415. The server 100 is not limited to the functional configuration shown in FIG. 4, and for example, a storage unit that stores a person determined to be a count exclusion target, and passage direction information indicating a direction in which the person has passed a predetermined position. It may have various other functional configurations such as a passage direction acquisition unit to be acquired, a stay time calculation means for calculating the time that a person is staying in a predetermined area, and the like.

画像取得部411は、図7で説明するようにネットワークカメラ102で撮影した画像を取得する。画像には静止画および動画が含まれる。実施例では、ネットワークカメラ102(A)は、所定の領域を撮影し、ネットワークカメラ102(B)は、識別された人物を認識し(例えば顔認証)、個人の特定を行うために利用する。 The image acquisition unit 411 acquires an image taken by the network camera 102 as described with reference to FIG. 7. Images include still images and moving images. In the embodiment, the network camera 102 (A) captures a predetermined area, and the network camera 102 (B) recognizes the identified person (for example, face recognition) and uses it to identify an individual.

人数カウント部412は、ネットワークカメラ102(A)で撮影された画像を利用して、図9で説明するように所定の領域に写っている人物の人数カウントや、図8で説明するように所定の位置を通過した人物の人数カウントを行う。 The number of people counting unit 412 uses an image taken by the network camera 102 (A) to count the number of people in a predetermined area as described with reference to FIG. 9, and is predetermined as described with reference to FIG. Count the number of people who have passed the position of.

人物認識部413は、ネットワークカメラ102(B)で撮影された画像を利用して、画像に写っている人物の認証を行う。認証処理の一例については、図10にて説明する。 The person recognition unit 413 uses the image taken by the network camera 102 (B) to authenticate the person in the image. An example of the authentication process will be described with reference to FIG.

人物除外部414は、画像取得部411により取得された画像に基づき、画像に写った人物が、人数カウント部412による人数のカウントから除外するカウント除外対象であるか否かを判定する。人物除外部414は、人数カウント部412による人数カウントから除外する人物を特定したり、認証された人物を図12に示す人物テーブルや通過人物テーブルに保存したりする処理を行う。人物除外部414は、例えば、画像に写った人物が所定の位置を通過した通過方向を示す通過方向情報に基づき、所定の位置を通過した人物がカウント除外対象であるか否かを判定する。また、人物除外部414は、画像に写った人物の所定の領域における滞在時間に基づき、画像に写った人物がカウント除外対象であるか否かを判定する。 Based on the image acquired by the image acquisition unit 411, the person exclusion unit 414 determines whether or not the person in the image is a count exclusion target to be excluded from the count of the number of people by the person count unit 412. The person exclusion unit 414 performs a process of specifying a person to be excluded from the number of people count by the number of people counting unit 412, and storing the authenticated person in the person table or the passing person table shown in FIG. The person exclusion unit 414 determines, for example, whether or not the person who has passed the predetermined position is the count exclusion target, based on the passage direction information indicating the passage direction in which the person in the image has passed the predetermined position. Further, the person exclusion unit 414 determines whether or not the person shown in the image is a count exclusion target based on the staying time of the person shown in the image in a predetermined area.

結果画面表示制御部415は、ユーザの要求に従って、画像処理結果をユーザの端末に表示するよう制御する処理を行う。 The result screen display control unit 415 performs a process of controlling the image processing result to be displayed on the user's terminal according to the user's request.

図5は、本発明の実施形態における人数カウントに利用される画像の一例を示す図である。 FIG. 5 is a diagram showing an example of an image used for counting the number of people in the embodiment of the present invention.

画像A501は、ある場所における所定の領域が撮影された画像であり、画像B502は、画像Aと同じ地点・同じ領域を異なる時刻に撮影された画像である。これらの画像は比較対象となる画像として管理される。 Image A501 is an image in which a predetermined area at a certain place is photographed, and image B502 is an image in which the same point and the same area as image A are photographed at different times. These images are managed as images to be compared.

図5では、画像AにAさんからEさんまでの5名が写っていていて、例えば5分後の画像である画像Bには、同じ5名であっても、DさんとEさんがいなくなり、FさんとGさんが写っているという例である。ここで、例えばAさん、Bさん、及びCさんは、5分前の画像Bにも写っていたユーザであるので、人数カウントから除外される。すなわち、人物除外部414は、所定の領域501における滞在時間が5分以上であるAさん、Bさん、及びCさんを、カウント除外対象として判定する。そして、人数カウント部412は、人物除外部414によりカウント除外対象であると判定された人物を除外して人数カウントをおこなう。 In FIG. 5, five people from Mr. A to Mr. E are shown in image A. For example, in image B, which is an image after 5 minutes, even if the same five people are present, Mr. D and Mr. E disappear. , Mr. F and Mr. G are in the picture. Here, for example, Mr. A, Mr. B, and Mr. C are excluded from the number of people count because they are the users who were also shown in the image B 5 minutes ago. That is, the person exclusion unit 414 determines Mr. A, Mr. B, and Mr. C who have a staying time of 5 minutes or more in the predetermined area 501 as count exclusion targets. Then, the person counting unit 412 excludes the person determined to be the count exclusion target by the person exclusion unit 414 and counts the number of people.

また、例えば係員のためAさんは人数カウントから除外するという設定も可能である。すなわち、人物除外部414は、既定の人物であることに基づきAさんをカウント除外対象であると判定してもよい。なお、人数カウント部412は、人物除外部414によりカウント除外対象であると判定された人物に限られず、予め管理者等によって設定された人物を除外して人数カウントをおこなってもよい。 It is also possible to exclude Mr. A from the number of people count because he is a staff member, for example. That is, the person exclusion unit 414 may determine that Mr. A is a count exclusion target based on the fact that he is a default person. The number counting unit 412 is not limited to the person determined to be the count exclusion target by the person exclusion unit 414, and may count the number of people by excluding the person set in advance by the administrator or the like.

本実施形態では、ここで写っている人の変化状況を図13で示す画面にて表示可能に構成されている。 In the present embodiment, the change status of the person photographed here can be displayed on the screen shown in FIG.

図6は、本発明の実施形態における通過人数カウントに利用される画像の一例を示す図である。 FIG. 6 is a diagram showing an example of an image used for counting the number of passing people in the embodiment of the present invention.

ある場所における所定の領域が撮影された画像であり、それぞれ画像A601→画像B602→画像C602の順に時間が経過したものである。 A predetermined area in a certain place is an image taken, and the time has elapsed in the order of image A601 → image B602 → image C602, respectively.

ここでは、所定の位置604を基準に領域Aから領域Bへ移動(またはその逆の領域Bから領域Aへ移動)した人数のカウントを行い、同じ方向に複数回移動する同一人物や既定のユーザをカウントから除外可能にするものである。ここで、同じ方向とは、ある一点からある一点に向かう直線上の全く同じ方向に限られず、例えば第一領域から第二領域に向かう方向として同じ方向であることをいう。便宜的に、領域Aを基準として、領域Bに人物が移動した場合を「OUT」、領域Bから領域Aに人物が移動した場合を「IN」とカウントすることとして説明する。この場合、同じ方向とは、何れも「OUT」(又は何れも「IN」)であることをいう。 Here, the number of people who have moved from the area A to the area B (or vice versa) based on the predetermined position 604 is counted, and the same person or the default user who moves multiple times in the same direction. Can be excluded from the count. Here, the same direction is not limited to exactly the same direction on a straight line from one point to another, and means, for example, the same direction as the direction from the first region to the second region. For convenience, the case where a person moves to the area B with reference to the area A is counted as "OUT", and the case where the person moves from the area B to the area A is counted as "IN". In this case, the same direction means that both are "OUT" (or both are "IN").

画像Aでは、Cさんが、領域Aから領域Bに移動(所定の位置604を領域Aから領域Bに移動)している様子を示している(OUT)。 Image A shows that Mr. C is moving from region A to region B (moving a predetermined position 604 from region A to region B) (OUT).

画像Bでは、Cさんが領域Bから領域Aに移動し、Dさんが領域Bから領域Aに移動した様子を示している(IN)。 In the image B, Mr. C moves from the area B to the area A, and Mr. D moves from the area B to the area A (IN).

画像Cでは、Cさんが再度領域Aから領域Bに移動し、Aさんが領域Aから領域Bに移動した様子を示している(OUT)。ここで、Cさんは同じ方向への2度目の移動となるので、人数カウントから除外される。すなわち、人物除外部414は、同じ通過方向に所定の位置604を複数回通過するCさんを、カウント除外対象であると判定する。そして、人数カウント部412は、人物除外部414によりカウント除外対象であると判定された人物を除外して人数カウントをおこなう。 In the image C, Mr. C moves from the area A to the area B again, and Mr. A moves from the area A to the area B (OUT). Here, Mr. C is excluded from the number of people count because it is the second move in the same direction. That is, the person exclusion unit 414 determines that Mr. C, who passes through the predetermined position 604 a plurality of times in the same passing direction, is the count exclusion target. Then, the person counting unit 412 excludes the person determined to be the count exclusion target by the person exclusion unit 414 and counts the number of people.

また、Aさんは予め除外されることが既定されているので、初めての移動であっても除外される。すなわち、人物除外部414は、既定の人物であることに基づきAさんをカウント除外対象であると判定してもよい。なお、人数カウント部412は、人物除外部414によりカウント除外対象であると判定された人物に限られず、予め管理者等によって設定された人物を除外して人数カウントをおこなってもよい。 Also, since it is default that Mr. A will be excluded in advance, even if it is the first move, it will be excluded. That is, the person exclusion unit 414 may determine that Mr. A is a count exclusion target based on the fact that he is a default person. The number counting unit 412 is not limited to the person determined to be the count exclusion target by the person exclusion unit 414, and may count the number of people by excluding the person set in advance by the administrator or the like.

図7は、本発明の実施形態における画像処理システムの画像保存処理の一例を示すフローチャートである。 FIG. 7 is a flowchart showing an example of image storage processing of the image processing system according to the embodiment of the present invention.

本処理は、ネットワークカメラ102によって撮影された画像をサーバ100に送信して保存する処理である。 This process is a process of transmitting an image taken by the network camera 102 to the server 100 and storing the image.

ステップS701では、ネットワークカメラ102は、監視エリア(領域106)を撮影し、ステップS702で撮影した画像をサーバに送信する。 In step S701, the network camera 102 photographs the monitoring area (area 106) and transmits the image captured in step S702 to the server.

ステップS703でサーバ100は、ネットワークカメラ102から画像を受信し、ステップS704で、録画ファイルとして受信した画像をサーバの外部メモリ211などに保存し処理を終了する。 In step S703, the server 100 receives an image from the network camera 102, and in step S704, the server 100 saves the image received as a recording file in the external memory 211 or the like of the server, and ends the process.

ここで保存した画像を利用して本画像処理システムは、画像に写っているユーザの人数又は通過人数をカウントする。 Using the image saved here, the image processing system counts the number of users or the number of passing users in the image.

図8は、本発明の実施形態における画像処理システムの通過人数カウント処理の一例を示すフローチャートである。 FIG. 8 is a flowchart showing an example of the number of passing people counting process of the image processing system according to the embodiment of the present invention.

本処理は、所定の領域(例えば601)に設定された所定の位置(例えば604)を何人のユーザが通過したのかをカウントする処理であって、サーバに保存された画像から所定時間の画像を対象として処理を行う。 This process is a process of counting how many users have passed a predetermined position (for example, 604) set in a predetermined area (for example, 601), and is a process of counting an image of a predetermined time from an image stored in a server. Process as a target.

ステップS801では、ユーザや管理者に指定された所定時間繰り返し処理を行う。本実施例では、9:00から9:05の5分間が指定されたものとして説明する。また、実際には、5分間分を動画にするには多数の画像から構成されるが、本実施例では、便宜的に3枚の画像を利用して説明する。 In step S801, the process is repeated for a predetermined time specified by the user or the administrator. In this embodiment, it is assumed that 5 minutes from 9:00 to 9:05 are designated. Further, in reality, a large number of images are composed to make a moving image for 5 minutes, but in this embodiment, three images will be used for convenience.

画像601は9:00、画像602は9:03、画像603は9:05に撮影されたものとする。 It is assumed that the image 601 is taken at 9:00, the image 602 is taken at 9:03, and the image 603 is taken at 9:05.

ステップS802では、ライン通過検知エリア情報を読み取る。具体的には、所定の位置604を通過した人物がいたかどうかの判定を行う。 In step S802, the line passage detection area information is read. Specifically, it is determined whether or not there is a person who has passed the predetermined position 604.

ステップS803で、人物が識別(認識)できた場合はステップS804に進み、識別(認識)できなかった場合ステップS811に進み、ループの判定(所定時間経過したどうか)を行う。 In step S803, if the person can be identified (recognized), the process proceeds to step S804, and if the person cannot be identified (recognized), the process proceeds to step S811 to determine the loop (whether a predetermined time has elapsed).

ステップS804では、画像解析処理等により、ステップS802で所定の位置を通過したと判定された人物が、所定の位置を通過した方向を示す通過方向情報を取得する(通過方向取得手段)。通過方向情報とは、領域Aから領域Bへ向かう第一方向と、領域Bから領域Aへ向かう第二方向との何れかを示す情報であって、ここでは、領域Aから領域Bへの移動(第一方向)を「OUT」、領域Bから領域Aへの移動(第二方向)を「IN」とする(逆でも構わない)。 In step S804, a person determined to have passed a predetermined position in step S802 by image analysis processing or the like acquires passage direction information indicating a direction in which the person has passed the predetermined position (passing direction acquisition means). The passing direction information is information indicating either a first direction from the area A to the area B or a second direction from the area B to the area A, and here, the movement from the area A to the area B. Let (first direction) be "OUT" and move from area B to area A (second direction) be "IN" (or vice versa).

ステップS805では、ステップS803において認識した人物を特定する処理を行う。本処理については、図10にて説明するが、認識した人物を特定する処理である(人物特定手段)。この処理により、識別された人物のうち不要な人物を人数カウントから除外することができるようになる。 In step S805, a process of identifying the person recognized in step S803 is performed. Although this process will be described with reference to FIG. 10, it is a process for identifying a recognized person (person identification means). By this process, unnecessary persons among the identified persons can be excluded from the number of people count.

ステップS806は、ステップS803において認識された人物がカウント除外対象であるか否かを判定する。ステップS806で対象の人物がカウント除外対象であると判定された場合は、ステップS808に進み、当該人物の移動をカウント除外対象として記憶し(記憶手段)人数カウントに反映されないようにし、ステップS809に進む。ステップS806で対象の人物がカウント除外対象でないと判定された場合は、ステップS807に進み、IN/OUTの移動カウントをインクリメントし、ステップS809に進む。 Step S806 determines whether or not the person recognized in step S803 is the count exclusion target. If it is determined in step S806 that the target person is a count exclusion target, the process proceeds to step S808, the movement of the target person is stored as a count exclusion target (memory means) so that it is not reflected in the number of people count, and in step S809. move on. If it is determined in step S806 that the target person is not the count exclusion target, the process proceeds to step S807, the IN / OUT movement count is incremented, and the process proceeds to step S809.

ステップS809では、ステップS803で認識した人物の全ての処理が終了したかの確認を行い、終了していない場合はステップS804に戻り次の人物についての処理を行い、全人物に対する処理が完了した場合は、ステップS810に進む。 In step S809, it is confirmed whether all the processes of the person recognized in step S803 have been completed. If not, the process returns to step S804 to perform the process for the next person, and the process for all the persons is completed. Goes to step S810.

ステップS810では、本フローで処理した内容を結果テーブルに保存し、処理を終了する。なお、本処理は、本ステップでまとめて保存してもよいし、フローチャートの各ステップで都度保存するようにしてもよい。 In step S810, the contents processed in this flow are saved in the result table, and the processing is terminated. In addition, this process may be saved collectively in this step, or may be saved each time in each step of the flowchart.

次に図12を利用して本フローチャートで保存される結果テーブル(人物テーブル)について説明する。 Next, the result table (person table) saved in this flowchart will be described with reference to FIG.

図12は、本発明の実施形態における画像処理システムの人物DBの一例を示す図である。人物DB1200は、図9で説明する人数カウント処理の結果が保存された結果テーブルである。人物DB1200には、画像Aおよび画像Bで認識されたユーザのユーザ名およびそのユーザの種別が保存されている。詳細については後述する。 FIG. 12 is a diagram showing an example of a person DB of an image processing system according to an embodiment of the present invention. The person DB 1200 is a result table in which the result of the number of people counting process described with reference to FIG. 9 is stored. In the person DB 1200, the user name of the user recognized by the image A and the image B and the type of the user are stored. Details will be described later.

通過人物DB1210は、図8のライン通過カウント処理にて保存される結果テーブルである、通過人物DBの一例である。 The passing person DB 1210 is an example of the passing person DB, which is a result table stored in the line passing counting process of FIG.

通過人物DB1210には、画像1211、その画像の撮影された時刻1212、通過方向1213、ユーザ1214、およびカウンタ1215が対応付いて記憶されている。 In the passing person DB 1210, an image 1211, a time when the image was taken 1212, a passing direction 1213, a user 1214, and a counter 1215 are stored in association with each other.

画像1211は、画像名であり、例えば画像のファイル名である。画像A〜画像Cは、それぞれ図6の画像A601〜画像C603に対応しており、それぞれ、9時0分、9時3分、9時5分に撮影されたものである。 Image 1211 is an image name, for example, an image file name. Images A to C correspond to images A601 to C603 of FIG. 6, respectively, and were taken at 9:00, 9:03, and 9:05, respectively.

通過方向1213は、ステップS804で検知された方向が記憶されており、ユーザ1214は、ステップS805で特定されたユーザが記憶される。 The passing direction 1213 stores the direction detected in step S804, and the user 1214 stores the user specified in step S805.

カウンタ1215は、ステップS807のIN/OUTカウンタとなっており、INユーザおよびOUTユーザの人数のカウンタである。例えば、OUTは2名、INは1名カウントされたことが分かる。 The counter 1215 is an IN / OUT counter in step S807, and is a counter for the number of IN users and OUT users. For example, it can be seen that OUT was counted by 2 people and IN was counted by 1 person.

また、画像CのCさんが除外となっている。これは、「所定時間内の同じ方向への同一ユーザの移動はカウントから除外」する設定による。すなわち、人物除外部414によって、所定時間内の同じ方向へ移動する同一ユーザがカウント除外対象であると判定され、その判定結果が結果テーブルに保存されている。 In addition, Mr. C in image C is excluded. This is due to the setting that "movement of the same user in the same direction within a predetermined time is excluded from the count". That is, the person exclusion unit 414 determines that the same user who moves in the same direction within a predetermined time is the count exclusion target, and the determination result is stored in the result table.

また、画像CのAさんが除外となっている。これは、図6に示すように、「Aさんは既定で(除外)」する設定による。すなわち、人物除外部414によって、既定のユーザがカウント除外対象者であると判定され、その判定結果が結果テーブルに保存される。設定は本設定以外にも予め管理者によって設定することが可能になっている。 In addition, Mr. A in image C is excluded. This is due to the setting that "Mr. A is (excluded) by default" as shown in FIG. That is, the person exclusion unit 414 determines that the default user is the count exclusion target person, and the determination result is saved in the result table. In addition to this setting, the setting can be set in advance by the administrator.

図9は、本発明の実施形態における画像処理システムの人数カウント処理の一例を示すフローチャートである。 FIG. 9 is a flowchart showing an example of the number of people counting process of the image processing system according to the embodiment of the present invention.

本処理は、所定の領域(例えば501)に何人のユーザが写っているのかをカウントする処理であって、サーバに保存された画像を対象とする。 This process is a process of counting how many users are shown in a predetermined area (for example, 501), and targets an image stored in a server.

例えば、画像A501にも画像B502にも5名写っているが、2枚の画像を比較して、同じユーザを除外したり、所定のユーザを除外したり、新しいユーザの人数だけを表示したりする処理を行うことができる。すなわち、予め設定された除外対象者に限られず、画像に基づき、当該人物がカウント除外対象であるか否かを判定し、カウント除外対象であると判定された人物を人数カウントから除外する処理を行うことができる。 For example, five images are shown in both image A501 and image B502, but the two images can be compared to exclude the same user, exclude a predetermined user, or display only the number of new users. Can be processed. That is, not limited to the preset exclusion target person, the process of determining whether or not the person is the count exclusion target based on the image and excluding the person determined to be the count exclusion target from the number of people count. It can be carried out.

また、本処理は、画像の比較を行うので、セットされた所定の枚数の人数カウントを行うようになっており、本実施例では、画像Aと画像Bとで2枚が所定の枚数となる。 Further, in this process, since the images are compared, the number of set predetermined number of people is counted. In this embodiment, two images are the predetermined number of images A and B. ..

ステップS901で、エリア情報を読み取る。エリア情報とは例えば図1の領域106のことであり、ネットワークカメラ102でプリセットされて撮影された領域の画像に対応する。 In step S901, the area information is read. The area information is, for example, the area 106 in FIG. 1, and corresponds to an image of the area preset and captured by the network camera 102.

ステップS902で、領域内で人物を識別(認識)したかどうかの判定を行い、識別した場合は、ステップS903に進み、人物特定処理を行う。人物特定処理は図10にて説明するが、人物特定処理により、当該認識された人物が除外対象かどうか決定される。 In step S902, it is determined whether or not a person has been identified (recognized) in the area, and if so, the process proceeds to step S903 to perform a person identification process. The person identification process will be described with reference to FIG. 10, but the person identification process determines whether or not the recognized person is an exclusion target.

ステップS904では、ステップS902で認識された人物が除外対象かどうかの判定を行い、当該人物が除外対象であると判定された場合はステップS906に進み、当該人物が除外対象でないと判定された場合はステップS905に進む。 In step S904, it is determined whether or not the person recognized in step S902 is excluded, and if it is determined that the person is excluded, the process proceeds to step S906, and if it is determined that the person is not excluded. Goes to step S905.

ステップS906では、除外対象であると判定された人物を人数カウントに反映されないようにし、ステップS907に進む。ステップS905では、ステップS902で認識された人物の人数をカウントし、ステップS907へ進む。 In step S906, the person determined to be excluded is not reflected in the number of people count, and the process proceeds to step S907. In step S905, the number of persons recognized in step S902 is counted, and the process proceeds to step S907.

ステップS907では、全画像(ここでは2枚)についての処理が完了したかどうかの判定を行い、処理が完了していない場合は、ステップS903に戻り、処理が完了した場合は、ステップS908に進み、結果テーブルに処理の内容を保存して処理を終了する。なお、本処理は、本ステップでまとめて保存してもよいし、フローチャートの各ステップで都度保存するようにしてもよい。 In step S907, it is determined whether or not the processing for all the images (here, two images) is completed. If the processing is not completed, the process returns to step S903, and if the processing is completed, the process proceeds to step S908. , Save the contents of the process in the result table and finish the process. In addition, this process may be saved collectively in this step, or may be saved each time in each step of the flowchart.

本フローチャートで保存される結果テーブルについて、図12の人物DB1200を利用して説明する。画像Aは9時0分に撮影された画像で、画像Bは9時5分に撮影された画像である。 The result table saved in this flowchart will be described using the person DB 1200 of FIG. Image A is an image taken at 9:00, and image B is an image taken at 9:05.

人物DB1200は、それぞれの画像について、認識されたユーザの人数と、そのユーザが除外対象なのかどうかと、を管理している。 The person DB 1200 manages the number of recognized users and whether or not the users are excluded for each image.

画像Aに対応する人物DB1200には、ユーザ種別1201とユーザ名が記憶されている。当該人物DB1200には、ユーザ名1202として、図5の画像501に基づき認識されたユーザA〜Eさんの5人の情報が格納されている。また、既定で除外対象とされるユーザAさんのユーザ種別1201が「既定」とされている。。 The user type 1201 and the user name are stored in the person DB 1200 corresponding to the image A. The person DB 1200 stores information on five users A to E recognized based on the image 501 of FIG. 5 as the user name 1202. In addition, the user type 1201 of user A, who is excluded by default, is set as "default". ..

画像Bに対応する人物DB1200には、ユーザ名1204として、ユーザA〜C、F、Gさの5人の情報が格納されている。画像Aには存在しないユーザ(新規)であるユーザF、Gさんのユーザ種別1203は空白となっている。 In the person DB 1200 corresponding to the image B, information of five users A to C, F, and G is stored as the user name 1204. The user types 1203 of users F and G, who are users (new) that do not exist in the image A, are blank.

またユーザAさんのユーザ種別1204が「既定」とされている他、画像Aでも特定されたユーザA〜Cさんのユーザ種別1204は、「特定済」として(特定済・A)として記憶されている。すなわち、人物除外部414によって、所定時間経過後も同じフロアに位置する同一ユーザがカウント除外対象であると判定され、その判定結果を結果テーブルに保存する。ここでは、特定済のユーザや既定のユーザを除外対象として扱うものとする。 In addition to the user type 1204 of user A being set to "default", the user type 1204 of users A to C specified in image A is stored as "specified" (specified / A). There is. That is, the person exclusion unit 414 determines that the same user who is located on the same floor even after the lapse of a predetermined time is the count exclusion target, and saves the determination result in the result table. Here, it is assumed that the specified user and the default user are treated as exclusion targets.

図10は、本発明の実施形態における画像処理システムの顔認識処理の一例を示すフローチャートである。 FIG. 10 is a flowchart showing an example of face recognition processing of the image processing system according to the embodiment of the present invention.

この顔認識処理は、図8のS805および図9のステップS903の人物特定処理に対応する。本実施例では、顔認識による人物特定処理について説明するが、人物が特定できれば顔認識処理に限られず何の技術を用いてよい。 This face recognition process corresponds to the person identification process of S805 of FIG. 8 and step S903 of FIG. In this embodiment, the person identification process by face recognition will be described, but any technique may be used as long as the person can be identified, not limited to the face recognition process.

ステップS1001では、画像で認識された人物イメージを受信し、ステップS1002では、当該人物の特徴点を切り出して個人特定を行う。この人物の特徴点を切り出して個人特定を行う処理は、既に提案されている技術を利用するものとする。 In step S1001, the person image recognized by the image is received, and in step S1002, the characteristic points of the person are cut out and the individual is identified. The process of cutting out the characteristic points of this person and identifying the individual shall utilize the technology already proposed.

ステップS1003では、特定された人物が結果テーブル(図8の場合は、通過人物DB1210、図9の場合は、人物DB1200)に登録されているかどうかを確認し、登録済の場合は、ステップS1006に進み、登録済でない場合は、ステップS1004に進む。 In step S1003, it is confirmed whether or not the specified person is registered in the result table (passing person DB1210 in the case of FIG. 8, person DB1200 in the case of FIG. 9), and if registered, in step S1006. If the procedure is not registered, the process proceeds to step S1004.

ステップS1006では、結果テーブルに登録済みの人物を、除外人物(除外対象)として返信する。登録済とは、人物DB1200の場合は、ユーザ種別1201,1203が除外対象として登録されているかどうかによって判定する。具体的には、画像Aの場合はAさんが、ユーザ種別が既定なので除外対象となり、画像Bの場合は、既定のAさん、および特定済のA〜Cさんが除外人物(除外対象)として返信され、処理が終了する。 In step S1006, the person registered in the result table is returned as an excluded person (excluded target). In the case of the person DB 1200, the registered state is determined by whether or not the user types 1201 and 1203 are registered as exclusion targets. Specifically, in the case of image A, Mr. A is excluded because the user type is the default, and in the case of image B, the default Mr. A and the specified A to C are excluded persons (exclusion targets). It will be replied and the process will be completed.

また、通過人物DB1210の場合は、既定のAさん、および、同じ方向に2度目の移動(複数回移動)となる画像CのCさん(OUT)が除外人物(除外対象)として返信され、処理が終了する。 Further, in the case of the passing person DB 1210, Mr. A, which is the default, and Mr. C (OUT) of the image C, which is the second movement (moving multiple times) in the same direction, are returned as excluded persons (excluded targets) and processed. Is finished.

ステップS1004では、ステップS1003で登録済でないと判定された人物を結果テーブルに(除外として)登録する。例えば、人物DB1200においては、画像Aに対応する人物DB1200において特定済であることに基づく登録がなされていないA〜Cさんが、画像Bに対応する人物DB1200において、画像Aで特定済であることが登録される。 In step S1004, the person determined not to be registered in step S1003 is registered in the result table (as an exclusion). For example, in the person DB 1200, Mr. A to C, who have not been registered based on the fact that they have been specified in the person DB 1200 corresponding to the image A, have already been specified in the image A in the person DB 1200 corresponding to the image B. Is registered.

また、通過人物DB1210においては、同一ユーザが同一方向への移動である場合で登録されていないケースである画像CのCさん(OUT)および、既定ユーザである場合の画像CのAさん(OUT・既定)が除外対象として登録される。続いて、ステップS1005では、ステップS1004で登録された人物が非除外人物(非除外対象)として返信され、処理を終了する。 Further, in the passing person DB 1210, Mr. C (OUT) of image C, which is a case where the same user is moving in the same direction and is not registered, and Mr. A (OUT) of image C, which is a default user. -Default) is registered as an exclusion target. Subsequently, in step S1005, the person registered in step S1004 is returned as a non-excluded person (non-excluded target), and the process ends.

図11は、本発明の実施形態における画像処理システムの閲覧処理の一例を示すフローチャートである。 FIG. 11 is a flowchart showing an example of browsing processing of the image processing system according to the embodiment of the present invention.

本処理は、画像処理された結果をユーザからの指示によりユーザの端末へ表示制御する処理である。 This process is a process of displaying and controlling the result of image processing on the user's terminal according to an instruction from the user.

ステップS1101では、表示するカメラの選択を行う。例えばネットワークカメラ102(A)のシリアル番号や名称を選択し、ステップS1102で選択したカメラで撮影された画像の要求を行う。この画像は、静止画形式であっても動画形式であってもLIVE動画であっても構わない。 In step S1101, the camera to be displayed is selected. For example, the serial number or name of the network camera 102 (A) is selected, and the image taken by the camera selected in step S1102 is requested. This image may be a still image format, a moving image format, or a LIVE moving image.

ステップS1103で、要求する画像が、人数カウント(図5)なのかライン通過人数カウント(図6)なのかの判定を行い、人数カウントの場合はステップS1104に進み、LINE通過の場合はステップS1105に進む。 In step S1103, it is determined whether the requested image is the number of people count (FIG. 5) or the line passing number of people (FIG. 6). move on.

ステップS1104では、人数情報として図13に示す人数カウントの閲覧画面を表示すべく処理をする。ステップS1105では、図14に示す通過人数カウントの閲覧画面を表示すべく処理をする。閲覧画面の詳細についは、図13および図14を利用して後述する。 In step S1104, processing is performed so as to display the viewing screen of the number of people count shown in FIG. 13 as the number of people information. In step S1105, processing is performed so as to display the viewing screen of the passing number of people count shown in FIG. The details of the browsing screen will be described later with reference to FIGS. 13 and 14.

ステップS1106では、表示すべき項目を閲覧画面に画像合成する処理を行い、ステップS1107でクライアントの画面に表示すべく画面の表示制御を行い、処理を終了する。 In step S1106, a process of synthesizing an image of an item to be displayed on the browsing screen is performed, and in step S1107, screen display control is performed so as to be displayed on the client screen, and the process is terminated.

図13は、本発明の実施形態における人数カウントの閲覧画面の一例を示す図である。 FIG. 13 is a diagram showing an example of a viewing screen for counting the number of people according to the embodiment of the present invention.

人数カウント閲覧画面1301および人数カウント閲覧画面1310の二つの例について説明する。 Two examples of the number of people count viewing screen 1301 and the number of people count viewing screen 1310 will be described.

人数カウント閲覧画面1301では、現在の画像1302、認識した人数(5名)1303、既定の除外対象(1名)1304、個人特定済の除外対象(3名)1305、および当該画面にて新たに認識された人物および人数(2名)1306が表示される。 On the person count viewing screen 1301, the current image 1302, the recognized number of people (5 people) 1303, the default exclusion target (1 person) 1304, the personally identified exclusion target (3 people) 1305, and a new screen. The recognized persons and the number of people (2 persons) 1306 are displayed.

人数カウント閲覧画面1310は、1301の別の閲覧画面例であり、1301の表示内容を含んで表示することも可能である。 The number of people count viewing screen 1310 is another viewing screen example of 1301, and it is also possible to display the display contents including the display contents of 1301.

除外対象者を除いたカウント人数、既定の除外対象人数1311および、取得した画像が表示される。 The count number of people excluding the exclusion target person, the default exclusion target number of people 1311, and the acquired image are displayed.

また、カウントした人物を太枠などの枠線で囲って表示することで視認性を高めてもよく、また、既定の除外対象者であるAさんを異なる色や線で他のユーザと識別可能に表示してもよい。 In addition, the counted person may be displayed by surrounding it with a frame such as a thick frame to improve visibility, and Mr. A, who is the default exclusion target, can be distinguished from other users by a different color or line. It may be displayed in.

また、人物特定処理において個人特定できたユーザにはユーザ名(例えばAさんやBさんなど)を合成して表示し、個人特定できなかったユーザには何も表示しないなど、表示を異ならせることも有効である。 In addition, the user name (for example, Mr. A or Mr. B) is synthesized and displayed for the user who can identify the individual in the person identification process, and nothing is displayed for the user who could not identify the individual. Is also valid.

図14は、本発明の実施形態における通過人数カウントの閲覧画面の一例を示す図である。 FIG. 14 is a diagram showing an example of a viewing screen for counting the number of passing people according to the embodiment of the present invention.

通過人数カウント閲覧画面1401および通過人数カウント閲覧画面1410の二つの例について説明する。 Two examples of the passing number count viewing screen 1401 and the passing number counting viewing screen 1410 will be described.

通過人数カウント閲覧画面1401では、所定のライン(位置)を通過した人数および方向1402、既定の除外対象(1名)1403、および2度通過することによる除外者および人数1404が表示される。 On the passing person count viewing screen 1401, the number and direction 1402 of passing a predetermined line (position), the default exclusion target (1 person) 1403, and the excluded person and the number of people 1404 by passing twice are displayed.

通過人数カウント閲覧画面1410は、1401の別の閲覧画面例であり、1401の表示内容を含んで表示することも可能である。 The passing number count browsing screen 1410 is another browsing screen example of 1401, and it is also possible to display the display contents of 1401.

通過人数/方向/除外数1411および、取得した画像が表示される。実施例では、IN(1名)、OUT(2名)、除外数(2名)となっているが、この除外数は、1403および1404の両方の除外対象を含んだものである。 The number of passing people / direction / number of exclusions 1411 and the acquired image are displayed. In the embodiment, IN (1 person), OUT (2 people), and the number of exclusions (2 people) are used, but the number of exclusions includes both the exclusion targets of 1403 and 1404.

画像には、ライン通過によりカウントされた人物を太枠などの枠線で囲って表示することで視認性を高めてもよく、また、既定の除外対象者であるAさんを異なる色や線で他のユーザと識別可能に表示してもよい。また、ライン通過されなかったユーザ1412には枠線などの協調表示をせず(便宜上点線で示しているが、何も表示しなくてもよい)通過した人物と識別可能に表示することも可能である。 In the image, the person counted by passing the line may be displayed by surrounding it with a frame such as a thick frame to improve visibility, and Mr. A, who is the default exclusion target, may be displayed in a different color or line. It may be displayed so as to be distinguishable from other users. In addition, it is also possible to display the user 1412 who did not pass the line so that it can be distinguished from the person who passed the line without displaying the frame line or the like (indicated by a dotted line for convenience, but nothing needs to be displayed). Is.

また、人物特定処理において個人特定できたユーザにはユーザ名(例えばAさんやBさんなど)を合成して表示し、個人特定できなかったユーザには何も表示しないなど、表示を異ならせることも有効である。 In addition, the user name (for example, Mr. A or Mr. B) is synthesized and displayed for the user who can identify the individual in the person identification process, and nothing is displayed for the user who could not identify the individual. Is also valid.

次に、通過人数カウント処理を行う場合に適用可能な別の実施形態に係る画像処理システムについて説明する。当該別の実施形態では、人物除外部414が、境界ラインを越えた人物が、境界ライン上をうろうろする人物、すなわち所定の位置を所定時間(例えば5分程度)内で繰り返し通過する(跨ぐ)人物であるか否かに基づき、カウント除外対象であるか否かを判定する点が、上記実施形態とは異なる。以下、この判定を、「うろうろ除外判定」ともいう。 Next, an image processing system according to another embodiment applicable to the case of performing the passing number counting process will be described. In the other embodiment, the person exclusion unit 414 repeatedly passes (straddles) a person who crosses the boundary line, that is, a person who wanders on the boundary line, that is, a predetermined position within a predetermined time (for example, about 5 minutes). It differs from the above embodiment in that it is determined whether or not it is a count exclusion target based on whether or not it is a person. Hereinafter, this determination is also referred to as "a wandering exclusion determination".

以下、図15を参照して、当該別の実施形態について詳述する。図15は、別の実施形態に係る画像処理システムの通過人数カウント処理の一例を示すフローチャートである。 Hereinafter, the other embodiment will be described in detail with reference to FIG. FIG. 15 is a flowchart showing an example of the number of passing people counting process of the image processing system according to another embodiment.

本処理は、所定の領域(例えば画像601に写った領域)に設定された所定の境界ライン(例えば位置604)を何人のユーザが通過したのかをカウントする通過人数カウント処理において、所定時間内に境界ライン上をうろうろと繰り返し通過する人物を人数カウントから除外する処理である。本処理は、画像処理システムのサーバ100が行う。 This process is a passing number counting process for counting how many users have passed a predetermined boundary line (for example, position 604) set in a predetermined area (for example, the area reflected in the image 601) within a predetermined time. It is a process to exclude people who repeatedly pass on the boundary line from the number of people count. This processing is performed by the server 100 of the image processing system.

本処理は、例えば、本処理を開始するための開始指示がユーザによって入力された場合に開始する。また、本処理は、例えば、後述するステップS1504で全ての人物について解析したと判定された場合、ユーザによる終了指示が入力された場合、又は、予め設定された処理時間が完了した場合等に、終了する。 This process starts, for example, when a start instruction for starting this process is input by the user. Further, in this process, for example, when it is determined that all the persons have been analyzed in step S1504 described later, when an end instruction is input by the user, or when a preset processing time is completed, etc. finish.

まず、ステップS1501では、境界ライン情報、および、うろうろ見なし間隔時間を取得する。境界ライン情報、および、うろうろ見なし時間間隔は、例えば予めユーザ等によって設定された設定情報から取得される。 First, in step S1501, the boundary line information and the wandering interval time are acquired. The boundary line information and the wandering time interval are acquired from, for example, setting information set in advance by a user or the like.

境界ライン情報は、境界ラインの位置情報であって、例えば画像601の左上端を基準とするピクセル座標で示される。うろうろ見なし間隔時間は、同一人物が境界ラインを複数回通過するタイミングの間隔を、領域Aから領域B(又は領域Bから領域A)に移動するために境界ラインを通過しているのではなく単に境界ライン上をうろうろと徘徊しているものと見なす時間であって、例えば5分と設定される。 The boundary line information is the position information of the boundary line, and is indicated by, for example, pixel coordinates with respect to the upper left end of the image 601. The wandering interval time does not simply pass the boundary line in order to move the same person from the area A to the area B (or from the area B to the area A) at the timing interval when the same person passes the boundary line multiple times. It is a time considered to be wandering around on the boundary line, and is set to, for example, 5 minutes.

続いて、ステップS1502では、画像取得部411が、ネットワークカメラ102により撮影された画像を取得する。画像取得部411は、例えば所定の時間内で撮影された画像を取得する。 Subsequently, in step S1502, the image acquisition unit 411 acquires an image taken by the network camera 102. The image acquisition unit 411 acquires, for example, an image taken within a predetermined time.

続いて、ステップS1503では、人物認識部413が、ステップS1503で取得した画像に写っている全人物とその位置を認識して、全人物とその位置のリストをメモリ上に作成する。 Subsequently, in step S1503, the person recognition unit 413 recognizes all the persons and their positions in the image acquired in step S1503, and creates a list of all persons and their positions on the memory.

続いて、ステップS1504では、ステップS1503で作成したリスト上に、解析をしていない人物がいるか否かを判定する。ここで、解析とは、後述するステップS1505以降のステップの処理を行うことをいう。 Subsequently, in step S1504, it is determined whether or not there is a person who has not been analyzed on the list created in step S1503. Here, the analysis means processing the steps after step S1505, which will be described later.

解析をしていない人物がいないと判定された場合(ステップS1504;NO)、すなわち全ての人物について解析をした場合には、処理を終了する。なお、この場合に、処理を終了せずにステップS1503の処理に戻り、再度画像を取得してステップS1504以降の処理を繰り返してもよい。 When it is determined that there is no person who has not been analyzed (step S1504; NO), that is, when all the persons have been analyzed, the process is terminated. In this case, the process may be returned to the process of step S1503 without ending the process, the image may be acquired again, and the processes after step S1504 may be repeated.

解析していない人物がいると判定された場合には(ステップS1504;YES)、ステップS1505の処理へ進む。すなわち、全ての人物について解析が完了するまで、ステップS1505以降の処理を繰り返す。 If it is determined that there is a person who has not been analyzed (step S1504; YES), the process proceeds to step S1505. That is, the processes after step S1505 are repeated until the analysis is completed for all the persons.

続いて、ステップS1505では、ステップS1503で作成したリスト上の解析をしていない未処理の人物のうち、次に解析をする人物情報を取得する。 Subsequently, in step S1505, among the unprocessed persons on the list created in step S1503 that have not been analyzed, the person information to be analyzed next is acquired.

続いて、ステップS1506では、人物認識部413が、ステップS1505で取得された次に解析をする人物情報が示す人物と同一の人物を認識する。 Subsequently, in step S1506, the person recognition unit 413 recognizes the same person as the person indicated by the person information to be analyzed next acquired in step S1505.

続いて、ステップS1507では、人物認識部413が、ステップS1506で同一人物と認識した人物の位置情報をキャッシュする。具体的には、図16に示されるような人物位置情報DB1600として保存する。図16は、人物位置情報DB1600の一例を示す図である。 Subsequently, in step S1507, the person recognition unit 413 caches the position information of the person recognized as the same person in step S1506. Specifically, it is stored as the person position information DB 1600 as shown in FIG. FIG. 16 is a diagram showing an example of the person position information DB 1600.

図16に示されるように、人物位置情報DB1600には、タイムスタンプ1601、人物ID1602、カメラID1603、および位置情報1604が、互いに対応付けられて格納されている。 As shown in FIG. 16, the person position information DB 1600 stores the time stamp 1601, the person ID 1602, the camera ID 1603, and the position information 1604 in association with each other.

タイムスタンプ1601は、人物が認識された画像をネットワークカメラで撮影した日時を示す文字列である。図16の例では、タイムスタンプ1601の日時が時系列で上から順に並ぶように格納されている。例えば、タイムスタンプ1601として「2018.07.27 12:00:01:00」の次に、タイムスタンプ1601として「2018.07.27 12:00:00:00」が格納されている。すなわち、タイムスタンプ1601が「2018.07.27 12:00:00:00」である日時と、タイムスタンプ1601が「2018.07.27 12:00:01:00」である日時とは、時系列的に互いに前後関係にある。以下、このような前後関係にある日時のうち、タイムスタンプ1601が「2018.07.27 12:00:00:00」である前の時間を単に「前時間」ともいい、タイムスタンプ1601が「2018.07.27 12:00:01:00」である後の時間を単に「後時間」ともいう。 The time stamp 1601 is a character string indicating the date and time when the image recognized by the person was taken by the network camera. In the example of FIG. 16, the date and time of the time stamp 1601 are stored so as to be arranged in chronological order from the top. For example, "2018.07.27 12:00:01:00" is stored as the time stamp 1601, and then "2018.07.27 12:00:00:00" is stored as the time stamp 1601. That is, the date and time when the time stamp 1601 is "2018.07.27 12:00:00:00" and the date and time when the time stamp 1601 is "2018.07.27 12:00:01:00" are chronologically mutually exclusive. There is a context. Hereinafter, among the dates and times in such a context, the time before the time stamp 1601 is "2018.07.27 12:00:00:00" is also simply referred to as "previous time", and the time stamp 1601 is "2018.07. The time after "27 12:00:01:00" is also simply called "after time".

なお、図16の例では、図示を省略しているが、実際には、図示したタイムスタンプ1601の日時よりも前の日時を含む所定時間のタイムスタンプ1601に対応付けられたデータが格納されている。 Although not shown in the example of FIG. 16, in reality, data associated with the time stamp 1601 of a predetermined time including the date and time before the date and time of the time stamp 1601 shown is stored. There is.

人物ID1602は、ステップS1506で認識した人物を示す識別情報である。カメラID1603は、ステップS1506で認識した人物を撮影したネットワークカメラ102を示す識別情報である。位置情報1604は、ステップS1506で認識した人物の位置情報であって、例えば画像601の左上端を基準とするピクセル座標で示される。位置情報1604aは、X座標で示される位置情報であって、位置情報1604bは、Y座標で示される位置情報である。 The person ID 1602 is identification information indicating the person recognized in step S1506. The camera ID 1603 is identification information indicating the network camera 102 that captures the person recognized in step S1506. The position information 1604 is the position information of the person recognized in step S1506, and is shown in pixel coordinates with respect to, for example, the upper left end of the image 601. The position information 1604a is the position information indicated by the X coordinate, and the position information 1604b is the position information indicated by the Y coordinate.

再度図15を参照し、続くステップS1508では、ステップS1506で同一人物と認識した人物について、人物位置情報DB1600に基づき、例えば1時間等の所定時間内での移動位置および移動方向を算出する。 With reference to FIG. 15 again, in the following step S1508, for the person recognized as the same person in step S1506, the movement position and the movement direction within a predetermined time such as one hour are calculated based on the person position information DB 1600.

移動位置は、同一人物が所定時間内に移動した位置である。移動位置は、例えば同一の人物ID1602かつ所定時間内のタイムスタンプ1601に対応付けられた位置情報1604が示す各位置として算出される。 The moving position is a position where the same person has moved within a predetermined time. The moving position is calculated as, for example, each position indicated by the same person ID 1602 and the position information 1604 associated with the time stamp 1601 within a predetermined time.

移動方向は、同一人物が所定時間内に移動した方向である。移動方向は、例えば、算出した各位置に基づき、前時間での位置から後時間での位置に向かう方向を示すベクトルとして算出される。 The moving direction is the direction in which the same person has moved within a predetermined time. The movement direction is calculated, for example, as a vector indicating a direction from the position in the previous time to the position in the later time based on each calculated position.

続いて、ステップS1509では、ステップS1501で取得された境界ライン情報と、ステップS1508で算出された移動位置および移動方向とに基づき、同一人物が境界ラインを通過したか否かを判定する。 Subsequently, in step S1509, it is determined whether or not the same person has passed the boundary line based on the boundary line information acquired in step S1501 and the movement position and movement direction calculated in step S1508.

同一人物が境界ラインを通過していないと判定された場合(ステップS1509;NO)、ステップS1504に戻り、解析をしていない人物がいるか否かの判定が行われる。同一人物が境界ラインを通過したと判定された場合(ステップS1509;YES)、ステップS1510に進む。 When it is determined that the same person does not cross the boundary line (step S1509; NO), the process returns to step S1504, and it is determined whether or not there is a person who has not been analyzed. If it is determined that the same person has passed the boundary line (step S1509; YES), the process proceeds to step S1510.

ステップS1510では、ステップS1509において境界ラインを通過したと判定された人物について、境界ラインの通過情報をキャッシュする。具体的には、境界ラインの通過情報を、図17に示されるような境界越え情報DB1700として保存する。図17は、境界越え情報DB1700の一例を示す図である。 In step S1510, the passage information of the boundary line is cached for the person determined to have passed the boundary line in step S1509. Specifically, the passing information of the boundary line is stored as the boundary crossing information DB 1700 as shown in FIG. FIG. 17 is a diagram showing an example of the boundary crossing information DB 1700.

図17に示されるように、境界越え情報DB1700には、タイムスタンプ1701、人物ID1702、カメラID1703、および境界越え方向1704が、互いに対応付けられて格納されている。 As shown in FIG. 17, in the boundary crossing information DB 1700, the time stamp 1701, the person ID 1702, the camera ID 1703, and the boundary crossing direction 1704 are stored in association with each other.

タイムスタンプ1701は、同一人物が境界ラインを通過したときの時間を示す文字列である。人物ID1702は、ステップS1509で境界ラインを通過したと判定された人物を示す識別情報である。カメラID1703は、ステップS1509で境界ラインを通過したと判定された人物を撮影したネットワークカメラ102を示す識別情報である。 The time stamp 1701 is a character string indicating the time when the same person crosses the boundary line. The person ID 1702 is identification information indicating a person determined to have passed the boundary line in step S1509. The camera ID 1703 is identification information indicating a network camera 102 that captures a person determined to have passed the boundary line in step S1509.

境界越え方向1704は、ステップS1509で境界ラインを通過したと判定された人物の境界ラインを越えた方向を示す情報であって、前述した「IN」又は「OUT」で示される。境界越え方向1704は、例えば、ステップS1508で算出された移動位置および移動方向と、ステップS1501で取得された境界ライン情報とに基づき算出され(通過方向情報取得手段)、記憶される。 The boundary crossing direction 1704 is information indicating a direction beyond the boundary line of the person determined to have passed the boundary line in step S1509, and is indicated by the above-mentioned "IN" or "OUT". The boundary crossing direction 1704 is calculated and stored, for example, based on the movement position and movement direction calculated in step S1508 and the boundary line information acquired in step S1501 (passing direction information acquisition means).

続いて、ステップS1511では、ステップS1510で記憶された境界越え情報DB1700を参照し、同一人物が、所定の時間(例えば、1時間)内に境界ラインを通過した情報を複数検索する。 Subsequently, in step S1511, the boundary crossing information DB 1700 stored in step S1510 is referred to, and the same person searches for a plurality of information that has passed the boundary line within a predetermined time (for example, one hour).

続いて、ステップS1512では、ステップS1511で検索された情報に基づき、境界ラインをうろうろ通過しているか否かを判定する。例えば、ステップS1501で取得したうろうろ見なし間隔時間(例えば、5分)内において、反対方向への移動(「IN」から「OUT」、又は、「OUT」から「IN」への移動)が1回以上あった場合には、境界ラインをうろうろ通過していると判定する。 Subsequently, in step S1512, it is determined whether or not the boundary line has been wandered around based on the information searched in step S1511. For example, within the wandering interval time (for example, 5 minutes) acquired in step S1501, the movement in the opposite direction (movement from "IN" to "OUT" or from "OUT" to "IN") is performed once. If there are any of the above, it is determined that the boundary line has been wandered around.

ステップS1512において境界ラインをうろうろ通過していると判定された場合(ステップS1512;YES)には、ステップS1513に進む。ステップS1513では、人物除外部414が、境界ラインを通過した人物をカウント除外対象であると判定し、人数カウント部412が、カウント除外対象と判定された人物の人数をカウントから除外する。ステップS1513の後は、ステップS1504に戻り、解析をしていない人物がいるか否かの判定が再度行われる。 If it is determined in step S1512 that the boundary line has been wandered around (step S1512; YES), the process proceeds to step S1513. In step S1513, the person exclusion unit 414 determines that the person who has passed the boundary line is the count exclusion target, and the number counting unit 412 excludes the number of persons determined to be the count exclusion target from the count. After step S1513, the process returns to step S1504, and the determination as to whether or not there is a person who has not been analyzed is performed again.

なお、本明細書において、カウントから除外するとは、人数のカウントをインクリメントしない場合だけでなく、一度インクリメントしたカウントをデクリメントする場合も含む。 In the present specification, excluding from the count includes not only the case where the count of the number of people is not incremented but also the case where the count once incremented is decremented.

ステップS1512において境界ラインをうろうろ通過していないと判定された場合(ステップS1512;NO)には、ステップS1514に進み、通常の人数カウント処理と同様の処理を行う。具体的には、まずステップS1514において、テップS1511で検索された情報に基づき、同一人物が同じ方向へ複数回移動したか否かを判定する。 If it is determined in step S1512 that the boundary line has not been wandered around (step S1512; NO), the process proceeds to step S1514, and the same process as the normal number counting process is performed. Specifically, first, in step S1514, it is determined whether or not the same person has moved a plurality of times in the same direction based on the information searched by Tep S1511.

ステップS1514において同じ方向へ複数回移動したと判定された場合(ステップS1514;YES)、ステップS1515へ進み、人物除外部414が、境界ラインを通過した人物をカウント除外対象であると判定し、人数カウント部412が、カウント除外対象と判定された人物の人数をカウントから除外する。ステップS1514の後は、ステップS1504に戻り、解析をしていない人物がいるか否かの判定が再度行われる。 If it is determined in step S1514 that the person has moved in the same direction a plurality of times (step S1514; YES), the process proceeds to step S1515, and the person exclusion unit 414 determines that the person who has passed the boundary line is the count exclusion target, and the number of people. The counting unit 412 excludes the number of persons determined to be excluded from the count from the count. After step S1514, the process returns to step S1504, and the determination as to whether or not there is a person who has not been analyzed is performed again.

ステップS1514において同じ方向へ複数回移動していないと判定された場合(ステップS1514;NO)、ステップS1516へ進み、IN/OUTの通過方向毎に、境界ラインを通過した人数のカウントをインクリメントする。ステップS1516の後は、ステップS1504に戻り、解析をしていない人物がいるか否かの判定が再度行われる。 If it is determined in step S1514 that the vehicle has not moved in the same direction a plurality of times (step S1514; NO), the process proceeds to step S1516, and the count of the number of people who have passed the boundary line is incremented for each IN / OUT passage direction. After step S1516, the process returns to step S1504, and the determination as to whether or not there is a person who has not been analyzed is performed again.

ステップS1516においてインクリメントされた人数カウントの結果は、例えば図18に示されるようなラインカウンタDB1800として保存される。図18は、ラインカウンタDB1800の一例を示す図である。 The result of the number count incremented in step S1516 is stored as, for example, the line counter DB1800 as shown in FIG. FIG. 18 is a diagram showing an example of the line counter DB1800.

図18に示されるように、ラインカウンタDB1800には、タイムスタンプ1801、カメラID1802、およびカウント数1803が、互いに対応付けられて格納されている。 As shown in FIG. 18, in the line counter DB1800, the time stamp 1801, the camera ID 1802, and the count number 1803 are stored in association with each other.

タイムスタンプ1801は、人数カウントがインクリメントされた直近の日時を示す文字列である。カメラID1802は、人数カウントがインクリメントされた人物を撮影したネットワークカメラ102を示す識別情報である。カウント数1803は、カメラIDおよび通過方向毎にインクリメントされた人数であって、ある始点からの総加算人数である。カウント数1803aは、「IN」方向へ通過した人数であり、カウント数1803bは、「OUT」方向へ通過した人数である。 The time stamp 1801 is a character string indicating the latest date and time when the number of people count is incremented. The camera ID 1802 is identification information indicating a network camera 102 that captures a person whose number count is incremented. The count number 1803 is the number of people incremented for each camera ID and passing direction, and is the total number of people added from a certain starting point. The count number 1803a is the number of people who have passed in the "IN" direction, and the count number 1803b is the number of people who have passed in the "OUT" direction.

図18に示されるように、ステップS1506においては、カメラIDおよび通過方向毎にカウントされた人数が記憶される。 As shown in FIG. 18, in step S1506, the camera ID and the number of people counted for each passing direction are stored.

以上、本実施形態によれば、人物が境界ラインを通過した通過方向に基づき、同一人物が第一方向(例えば「IN」)に移動した後、所定のうろうろ見なし間隔時間内に、第二方向(例えば「OUT」)に移動した場合には、当該同一人物が通過カウントから除外される。よって、領域Aから領域B(又は領域Bから領域A)に移動するために境界ラインを通過しているのではなく、単に境界ライン上をうろうろと徘徊しているような人物を、通過人数カウントのノイズとして除去することができる。 As described above, according to the present embodiment, after the same person moves in the first direction (for example, "IN") based on the passing direction in which the person has passed the boundary line, the second direction is within a predetermined wandering interval time. When moving to (for example, "OUT"), the same person is excluded from the passage count. Therefore, the number of people passing by is counted as a person who is not passing through the boundary line to move from the area A to the area B (or from the area B to the area A), but simply wanders around the boundary line. It can be removed as noise.

次に、画像に写った人数のカウント処理を行う場合に適用可能な別の実施形態に係る画像処理システムについて説明する。当該別の実施形態では、人物除外部414が、所定の領域における長時間滞在者および短時間滞在者の少なくとも一方をカウント除外対象と判定する点が、上記実施形態とは異なる。 Next, an image processing system according to another embodiment applicable when counting the number of people in an image will be described. The other embodiment is different from the above embodiment in that the person exclusion unit 414 determines at least one of the long-term stayer and the short-time stayer in the predetermined area as the count exclusion target.

以下、図19を参照して、当該別の実施形態について詳述する。図19は、別の実施形態に係る画像処理システムにおける画像に写った人数のカウント処理の一例を示すフローチャートである。 Hereinafter, the other embodiment will be described in detail with reference to FIG. FIG. 19 is a flowchart showing an example of counting processing of the number of people reflected in an image in the image processing system according to another embodiment.

本処理は、画像に含まれる人物の人数をカウントする人数カウント処理において、所定の領域(例えば領域601内の一部の領域)における長時間滞在者および短時間滞在者の少なくとも何れかを人数カウントから除外する処理である。本処理は、画像処理システムのサーバ100が行う。 In this process, in the number counting process for counting the number of people included in the image, at least one of a long-term stayer and a short-time stayer in a predetermined area (for example, a part of the area 601) is counted. It is a process to exclude from. This processing is performed by the server 100 of the image processing system.

本処理は、例えば、本処理を開始するための開始指示がユーザによって入力された場合に開始する。また、本処理は、例えば、後述するステップS1904で全ての人物について解析したと判定された場合、ユーザによる終了指示が入力された場合、又は、予め設定された処理時間が完了した場合等に、終了する。 This process starts, for example, when a start instruction for starting this process is input by the user. Further, in this process, for example, when it is determined that all the persons have been analyzed in step S1904 described later, when an end instruction is input by the user, or when a preset processing time is completed, etc. finish.

まず、ステップS1901では、滞在領域の位置情報、および、滞在判定時間を取得する。所定の領域の位置情報、および、滞在判定時間は、例えば予めユーザ等によって設定された設定情報から取得される。 First, in step S1901, the position information of the stay area and the stay determination time are acquired. The position information of the predetermined area and the stay determination time are acquired from, for example, the setting information set in advance by the user or the like.

滞在領域、例えば領域601中の一部の所定の領域であって、矩形や円形等の所定の形状を呈するように囲まれた領域である。滞在領域の位置情報は、例えば、領域601を写す画像の左上端を基準とするピクセル座標で示される。滞在判定時間は、滞在領域に同一人物が滞在する時間が長時間であるか短時間であるかを判定するための時間である。滞在判定時間は、例えば、長時間であるか否かを判定するための長時間滞在判定時間(例えば1時間)と、短時間であるか否かを判定するための短時間滞在判定時間(例えば10分)と、を含む。 A stay area, for example, a predetermined area in a part of the area 601 and surrounded so as to exhibit a predetermined shape such as a rectangle or a circle. The position information of the stay area is shown, for example, in pixel coordinates with respect to the upper left edge of the image showing the area 601. The stay determination time is a time for determining whether the same person stays in the stay area for a long time or a short time. The stay determination time is, for example, a long-term stay determination time (for example, 1 hour) for determining whether or not it is a long time, and a short-term stay determination time (for example, 1 hour) for determining whether or not it is a short time. 10 minutes) and.

続くステップS1902〜ステップS1907の処理は、前述した図15におけるステップS1502〜ステップS1507の処理と同様であるため、その説明を省略する。 Since the subsequent processes of steps S1902 to S1907 are the same as the processes of steps S1502 to S1507 in FIG. 15 described above, the description thereof will be omitted.

ステップS1907に続くステップS1908では、ステップS1901で取得された滞在領域の位置情報と、ステップS1907でキャッシュされた人物の位置情報とに基づき、ステップS1906で認識された同一人物が滞在領域に入っているか否かを判定する。 In step S1908 following step S1907, is the same person recognized in step S1906 in the stay area based on the position information of the stay area acquired in step S1901 and the position information of the person cached in step S1907? Judge whether or not.

ステップS1908において同一人物が滞在領域に入っていないと判定された場合(ステップS1908;NO)、ステップS1904に戻り、解析をしていない人物がいるか否かの判定が行われる。ステップS1908において同一人物が滞在領域に入っていると判定された場合(ステップS1908;YES)、ステップS1909に進む。 If it is determined in step S1908 that the same person is not in the stay area (step S1908; NO), the process returns to step S1904, and it is determined whether or not there is a person who has not been analyzed. If it is determined in step S1908 that the same person is in the stay area (step S1908; YES), the process proceeds to step S1909.

ステップS1909では、ステップS1908で滞在領域に入っていると判定された同一人物の滞在時間を算出する。具体的には、ステップS1907で記憶した人物位置情報DB1600に基づき、滞在領域に入っていると判定された同一人物に紐づく最新の時間帯を検索し、当該時間帯の中で最も古い時刻と最も新しい時刻との差分を算出することで、同一人物の滞在時間を算出する。 In step S1909, the staying time of the same person determined to be in the staying area in step S1908 is calculated. Specifically, based on the person position information DB 1600 stored in step S1907, the latest time zone associated with the same person determined to be in the stay area is searched, and the oldest time in the time zone is used. By calculating the difference from the latest time, the staying time of the same person is calculated.

続いて、ステップS1910では、ステップS1909で算出した滞在時間が、ステップS1901で取得した長時間滞在判定時間以上であるか否かを判定する。すなわち、認識された同一人物が滞在領域において所定の時間(例えば、1時間)以上滞在している長時間滞在者であるか否かを判定する。 Subsequently, in step S1910, it is determined whether or not the stay time calculated in step S1909 is equal to or longer than the long-term stay determination time acquired in step S1901. That is, it is determined whether or not the recognized same person is a long-term resident who has stayed in the stay area for a predetermined time (for example, 1 hour) or more.

ステップS1910において滞在時間が長時間滞在判定時間以上であると判定された場合(ステップS1910;YES)、ステップS1911に進む。ステップS1911では、人物除外部414が、長時間滞在者と判定された人物をカウント除外対象であると判定し、人数カウント部412が、カウント除外対象と判定された人物の人数をカウントから除外する。ステップS1911の後は、ステップS1904に戻り、解析をしていない人物がいるか否かの判定が再度行われる。 If it is determined in step S1910 that the stay time is longer than the long stay determination time (step S1910; YES), the process proceeds to step S1911. In step S1911, the person exclusion unit 414 determines that the person determined to be a long-term stayer is the count exclusion target, and the number counting unit 412 excludes the number of persons determined to be the count exclusion target from the count. .. After step S1911, the process returns to step S1904, and it is determined again whether or not there is a person who has not been analyzed.

ステップS1911においてカウント除外された人物は、カウント除外されるタイミングで、長時間滞在によるカウント除外対象として記憶される。また、ステップS1911においてカウント除外された人数は、カウント除外されるタイミングで、長時間滞在によるカウント除外人数としてインクリメントされる。 The person excluded from the count in step S1911 is stored as a count exclusion target due to a long stay at the timing of the count exclusion. Further, the number of people excluded from the count in step S1911 is incremented as the number of people excluded from the count due to the long stay at the timing of the count exclusion.

ステップS1910において滞在時間が長時間滞在判定時間以上でないと判定された場合(ステップS1910;NO)、ステップS1912に進む。ステップS1912では、ステップS1909で算出した滞在時間が、ステップS1901で取得した短時間滞在判定時間以上であるか否かを判定する。すなわち、認識された同一人物が滞在領域において所定の時間(例えば、10分)未満しか滞在していない短時間滞在者であるか否かを判定する。 If it is determined in step S1910 that the stay time is not longer than the long stay determination time (step S1910; NO), the process proceeds to step S1912. In step S1912, it is determined whether or not the stay time calculated in step S1909 is equal to or longer than the short stay determination time acquired in step S1901. That is, it is determined whether or not the recognized same person is a short-term resident who has stayed in the stay area for less than a predetermined time (for example, 10 minutes).

ステップS1912において滞在時間が短時間滞在判定時間未満であると判定された場合(ステップS1912;YES)、ステップS1913に進む。ステップS1913では、人物除外部414が、短時間滞在者と判定された人物をカウント除外対象であると判定し、人数カウント部412が、カウント除外対象と判定された人物の人数をカウントから除外する。ステップS1913の後は、ステップS1904に戻り、解析をしていない人物がいるか否かの判定が再度行われる。 If it is determined in step S1912 that the stay time is less than the short stay determination time (step S1912; YES), the process proceeds to step S1913. In step S1913, the person exclusion unit 414 determines that the person determined to be a short-term stayer is the count exclusion target, and the number counting unit 412 excludes the number of persons determined to be the count exclusion target from the count. .. After step S1913, the process returns to step S1904, and it is determined again whether or not there is a person who has not been analyzed.

ステップS1913においてカウント除外された人物は、カウント除外されるタイミングで、短時間滞在によるカウント除外対象として記憶される。また、ステップS1913においてカウント除外された人数は、カウント除外されるタイミングで、短時間滞在によるカウント除外人数としてインクリメントされる。 The person excluded from the count in step S1913 is stored as a count exclusion target due to a short stay at the timing of the count exclusion. Further, the number of people excluded from the count in step S1913 is incremented as the number of people excluded from the count due to a short stay at the timing of the count exclusion.

ステップS1912において滞在時間が短時間滞在判定時間未満でないと判定された場合(ステップS1912;NO)、ステップS1914に進み、人数カウンタをインクリメントする。すなわち滞在時間が短時間判定時間以上でかつ長時間判定時間未満の人物だけをカウントすることができる。以下、短時間判定時間以上でかつ長時間判定時間未満の時間を「適正時間」ともいい、滞在時間が適正時間である人物を「適正時間滞在者」ともいう。ステップS1914の後は、ステップS1904に戻り、解析をしていない人物がいるか否かの判定が再度行われる。 If it is determined in step S1912 that the stay time is not less than the short stay determination time (step S1912; NO), the process proceeds to step S1914 and the number of people counter is incremented. That is, only persons whose stay time is longer than the short-term determination time and less than the long-term determination time can be counted. Hereinafter, the time that is longer than the short-time judgment time and less than the long-time judgment time is also referred to as "appropriate time", and the person whose stay time is appropriate time is also referred to as "appropriate time stayer". After step S1914, the process returns to step S1904, and the determination as to whether or not there is a person who has not been analyzed is performed again.

本実施形態において、結果画面表示制御部415は、人数カウントの結果を閲覧する閲覧画面として例えば図20で示される画面を表示する。 In the present embodiment, the result screen display control unit 415 displays, for example, the screen shown in FIG. 20 as a viewing screen for viewing the result of the number of people counting.

図20は、人数カウントの閲覧画面の一例を示す図である。図20に示されるように、閲覧画面においては、カウント除外対象を除外してカウントしたカウント人数2001と、カウント除外対象としてカウント除外された人数2002と、が表示される。 FIG. 20 is a diagram showing an example of a viewing screen for counting the number of people. As shown in FIG. 20, on the browsing screen, the counted number of people 2001 counted by excluding the count exclusion target and the count excluded number 2002 as the count exclusion target are displayed.

また、カウント除外対象としてカウント除外された人数2002のうち、長時間滞在者としてカウント除外された人数2003と、短時間滞在者としてカウント除外された人数2004と、が、それぞれ識別可能に表示される。 Further, among the number of people 2002 excluded from the count as the count exclusion target, the number 2003 excluded from the count as a long-term resident and the number 2004 excluded from the count as a short-term resident are displayed in an identifiable manner. ..

また、一点鎖線で示される滞在領域2005に滞在している人物のうち、長時間滞在者、短時間滞在者、および適正滞在者が、それぞれ識別可能に表示される。 Further, among the persons staying in the stay area 2005 indicated by the alternate long and short dash line, the long-term stayer, the short-time stayer, and the appropriate stayer are displayed in an identifiable manner.

例えば、長時間滞在者が実線の矩形枠2006で囲って表示され、短時間滞在者が破線の矩形枠2007で囲って表示され、適正滞在者は、何も囲まれない状態で表示される。また、各人物の滞在領域2005における滞在時間が表示されてもよい。 For example, a long-term stayer is displayed surrounded by a solid rectangular frame 2006, a short-time stayer is displayed surrounded by a broken line rectangular frame 2007, and a proper stayer is displayed without being surrounded by anything. Further, the staying time of each person in the staying area 2005 may be displayed.

以上、本実施形態によれば、滞在領域における長時間滞在者および短時間滞在者がカウントから除外されるので、滞在領域における長時間滞在者でも短時間滞在者でもない適正時間滞在者だけをカウントすることができる。適正時間は、長時間滞在判定時間や短時間判定時間を適宜設定変更することにより、ユーザの所望の時間に設定することができる。よって、ユーザが所望する適正時間だけ滞在している人物をカウントすることができる。 As described above, according to the present embodiment, the long-term stayers and the short-term stayers in the stay area are excluded from the count. Therefore, only the appropriate-time stayers who are neither the long-term stayers nor the short-time stayers in the stay area are counted. can do. The appropriate time can be set to a user's desired time by appropriately setting and changing the long-term stay determination time and the short-term determination time. Therefore, it is possible to count the persons who are staying for the appropriate time desired by the user.

また、本実施形態によれば、長時間滞在者、短時間滞在者、および適正滞在者とその人数とが、それぞれ識別可能に表示される。よって、滞在領域に滞在している人物が、滞在領域にどの程度滞在し続けている状態なのかを容易に把握することができる。 Further, according to the present embodiment, the long-term resident, the short-term resident, the appropriate resident and the number of the appropriate resident are displayed in an identifiable manner. Therefore, it is possible to easily grasp how long the person staying in the staying area has been staying in the staying area.

なお、本実施形態では、滞在領域における長時間滞在者および短時間滞在者をカウントから除外する例について説明したが、これに限られず、滞在領域における長時間滞在者および短時間滞在者の何れか一方をカウントから除外してもよい。例えば、長時間滞在者だけをカウントから除外する場合は、短時間判定時間を0とすればよい。また、短時間滞在者だけをカウントから除外する場合は、長時間判定時間を非常に大きな値とすればよい。 In the present embodiment, an example of excluding long-term stayers and short-term stayers in the stay area from the count has been described, but the present invention is not limited to this, and either the long-term stayers or the short-term stayers in the stay area are excluded. One may be excluded from the count. For example, when excluding only long-term residents from the count, the short-time determination time may be set to 0. Further, when excluding only short-term residents from the count, the long-term determination time may be set to a very large value.

以上、実施形態について説明したが、本発明は、例えば、システム、装置、方法、プログラム若しくは記憶媒体等としての実施形態も可能であり、具体的には、複数の機器から構成されるシステムに適用してもよいし、また、1つの機器からなる装置に適用してもよい。 Although the embodiments have been described above, the present invention can be implemented as, for example, a system, an apparatus, a method, a program, a storage medium, or the like, and specifically, the present invention is applied to a system composed of a plurality of devices. It may be applied to a device consisting of one device.

なお、本発明は、前述した実施形態の機能を実現するソフトウェアのプログラムを、システム或いは装置に直接、或いは遠隔から供給するものを含む。そして、そのシステム或いは装置のコンピュータが前記供給されたプログラムコードを読み出して実行することによっても達成される場合も本発明に含まれる。 The present invention includes a software program that realizes the functions of the above-described embodiment, which is directly or remotely supplied to a system or an apparatus. The present invention also includes cases where the computer of the system or apparatus can also read and execute the supplied program code.

したがって、本発明の機能処理をコンピュータで実現するために、前記コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明の機能処理を実現するためのコンピュータプログラム自体も含まれる。 Therefore, in order to realize the functional processing of the present invention on a computer, the program code itself installed in the computer also realizes the present invention. That is, the present invention also includes the computer program itself for realizing the functional processing of the present invention.

その場合、プログラムの機能を有していれば、オブジェクトコード、インタプリタにより実行されるプログラム、OSに供給するスクリプトデータ等の形態であってもよい。 In that case, as long as it has a program function, it may be in the form of an object code, a program executed by an interpreter, script data supplied to the OS, or the like.

プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RWなどがある。また、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などもある。 Examples of the recording medium for supplying the program include a flexible disk, a hard disk, an optical disk, a magneto-optical disk, MO, a CD-ROM, a CD-R, a CD-RW, and the like. There are also magnetic tapes, non-volatile memory cards, ROMs, DVDs (DVD-ROM, DVD-R) and the like.

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続する。そして、前記ホームページから本発明のコンピュータプログラムそのもの、若しくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。 In addition, as a method of supplying the program, the browser of the client computer is used to connect to the homepage of the Internet. Then, it can also be supplied by downloading the computer program of the present invention itself or a compressed file including an automatic installation function to a recording medium such as a hard disk from the homepage.

また、本発明のプログラムを構成するプログラムコードを複数のファイルに分割し、それぞれのファイルを異なるホームページからダウンロードすることによっても実現可能である。つまり、本発明の機能処理をコンピュータで実現するためのプログラムファイルを複数のユーザに対してダウンロードさせるWWWサーバも、本発明に含まれるものである。 It can also be realized by dividing the program code constituting the program of the present invention into a plurality of files and downloading each file from different homepages. That is, the present invention also includes a WWW server that causes a plurality of users to download a program file for realizing the functional processing of the present invention on a computer.

また、本発明のプログラムを暗号化してCD−ROM等の記憶媒体に格納してユーザに配布し、所定の条件をクリアしたユーザに対し、インターネットを介してホームページから暗号化を解く鍵情報をダウンロードさせる。そして、ダウンロードした鍵情報を使用することにより暗号化されたプログラムを実行してコンピュータにインストールさせて実現することも可能である。 In addition, the program of the present invention is encrypted, stored in a storage medium such as a CD-ROM, and distributed to users, and the key information for decrypting the encryption is downloaded from the homepage to the user who clears the predetermined conditions. Let me. Then, by using the downloaded key information, it is also possible to execute an encrypted program and install it on a computer.

また、コンピュータが、読み出したプログラムを実行することによって、前述した実施形態の機能が実現される。その他、そのプログラムの指示に基づき、コンピュータ上で稼動しているOSなどが、実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現され得る。 Further, the function of the above-described embodiment is realized by the computer executing the read program. In addition, based on the instruction of the program, the OS or the like running on the computer performs a part or all of the actual processing, and the function of the above-described embodiment can be realized by the processing.

さらに、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の機能が実現される。 Further, the program read from the recording medium is written to the memory provided in the function expansion board inserted in the computer or the function expansion unit connected to the computer. After that, based on the instruction of the program, the function expansion board, the CPU provided in the function expansion unit, or the like performs a part or all of the actual processing, and the function of the above-described embodiment is also realized by the processing.

なお、前述した実施形態は、本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。即ち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 It should be noted that the above-described embodiments are merely examples of embodiment of the present invention, and the technical scope of the present invention should not be construed in a limited manner by these. That is, the present invention can be implemented in various forms without departing from the technical idea or its main features.

100 サーバ
101 クライアントPC
102 ネットワークカメラ
100 server 101 client PC
102 network camera

Claims (12)

人物が写った撮影画像に基づいて、所定の位置を通過した人物の人数をカウントするカウント手段と、
前記撮影画像に写った同一の人物であって、前記所定の位置を通過した後、所定の時間内に当該所定の位置を異なる方向に通過した人物を特定する人物特定手段と、
を備えることを特徴とする画像処理システム。
A counting means that counts the number of people who have passed a predetermined position based on the captured image of the person.
A person identification means for identifying a person who is the same person in the photographed image and has passed the predetermined position in a different direction within a predetermined time after passing the predetermined position.
An image processing system characterized by being equipped with.
前記人物特定手段により特定された人物を識別可能に表示する表示制御手段を備えることを特徴とする、請求項1に記載の画像処理システム。 The image processing system according to claim 1, further comprising display control means for displaying a person specified by the person identification means in an identifiable manner. 人物が写った撮影画像に基づいて、所定の位置を通過した人物の人数をカウントするカウント手段と、
前記撮影画像に写った同一の人物であって、前記所定の位置を同じ方向に複数回通過した人物を特定する人物特定手段と、
前記カウント手段により前記人物特定手段によって特定された人物を除いてカウントされた人数と、前記人物特定手段により特定された人物の人数と、を表示制御する表示制御手段と、
を備えることを特徴とする画像処理システム。
A counting means that counts the number of people who have passed a predetermined position based on the captured image of the person.
A person identification means for identifying a person who is the same person in the photographed image and has passed the predetermined position a plurality of times in the same direction.
A display control means for displaying and controlling the number of people counted by the counting means excluding the person specified by the person specifying means and the number of people specified by the person specifying means.
An image processing system characterized by being equipped with.
前記表示制御手段は、前記カウント手段により前記人物特定手段により特定された人物を除いて人数がカウントされた人物と、前記人物特定手段により特定された人物と、を識別可能に表示することを特徴とする請求項2または3に記載の画像処理システム。 The display control means is characterized in that a person whose number of people is counted excluding the person specified by the person identification means by the counting means and a person specified by the person identification means are displayed in an identifiable manner. The image processing system according to claim 2 or 3. 前記カウント手段は、前記同一の人物が重複してカウントされないように、前記人物特定手段により特定された人物を除外してカウントすることを特徴とする、請求項1乃至4のいずれか1項に記載の画像処理システム。 The method according to any one of claims 1 to 4, wherein the counting means excludes the person specified by the person specifying means so that the same person is not counted in duplicate. The image processing system described. 前記人物特定手段により特定された人物を記憶する記憶手段を備えることを特徴とする、請求項1乃至5のいずれか1項に記載の画像処理システム。 The image processing system according to any one of claims 1 to 5, further comprising a storage means for storing a person specified by the person specifying means. 前記人物が前記所定の位置を通過した方向であって、前記所定の位置により区分けされる第一領域から第二領域に向かう第一方向と、前記第二領域から前記第一領域に向かう第二方向との何れかを取得する通過方向取得手段を備えることを特徴とする請求項1乃至6のいずれか1項に記載の画像処理システム。 The direction in which the person has passed the predetermined position, the first direction from the first region to the second region divided by the predetermined position, and the second direction from the second region to the first region. The image processing system according to any one of claims 1 to 6, further comprising a passage direction acquisition means for acquiring any of the directions. 前記カウント手段は、前記通過方向取得手段により取得された通過方向毎に、人数をカウントすることを特徴とする請求項7に記載の画像処理システム。 The image processing system according to claim 7, wherein the counting means counts the number of people for each passing direction acquired by the passing direction acquisition means. 人物が写った撮影画像に基づいて、所定の位置を通過した人物の人数をカウントするカウントステップと、
前記撮影画像に写った同一の人物であって、前記所定の位置を通過した後、所定の時間内に当該所定の位置を異なる方向に通過した人物を特定する人物特定ステップと、
を含むことを特徴とする画像処理システムの制御方法。
Based on the captured image person is captured, a counting step of counting the number of persons passing through the position of Jo Tokoro,
A person identification step for identifying a person who is the same person in the photographed image and has passed the predetermined position in a different direction within a predetermined time after passing the predetermined position.
A method of controlling an image processing system, which comprises:
コンピュータを、
人物が写った撮影画像に基づいて、所定の位置を通過した人物の人数をカウントするカウント手段と、
前記撮影画像に写った同一の人物であって、前記所定の位置を通過した後、所定の時間内に当該所定の位置を異なる方向に通過した人物を特定する人物特定手段として機能させるためのプログラム。
Computer,
Based on the captured image person is captured, a counting means for counting the number of persons passing through the position of Jo Tokoro,
A program for identifying a person who is the same person in the photographed image and has passed the predetermined position in a different direction within a predetermined time after passing the predetermined position. ..
人物が写った撮影画像に基づいて、所定の位置を通過した人物の人数をカウントするカウントステップと、
前記撮影画像に写った同一の人物であって、前記所定の位置を同じ方向に複数回通過した人物を特定する人物特定ステップと、
前記カウントステップにより前記人物特定ステップによって特定された人物を除いてカウントされた人数と、前記人物特定ステップにより特定された人物の人数と、を表示制御する表示制御ステップと、
を含むことを特徴とする画像処理システムの制御方法。
A count step that counts the number of people who have passed a predetermined position based on the captured image of the person.
A person identification step for identifying a person who is the same person in the photographed image and has passed the predetermined position a plurality of times in the same direction.
A display control step for displaying and controlling the number of people counted by the count step excluding the person specified by the person identification step and the number of people specified by the person identification step.
A method of controlling an image processing system, which comprises:
コンピュータを
人物が写った撮影画像に基づいて、所定の位置を通過した人物の人数をカウントするカウント手段と、
前記撮影画像に写った同一の人物であって、前記所定の位置を同じ方向に複数回通過した人物を特定する人物特定手段と、
前記カウント手段により前記人物特定手段によって特定された人物を除いてカウントされた人数と、前記人物特定手段により特定された人物の人数と、を表示制御する表示制御手段として機能させるためのプログラム。
A counting means that counts the number of people who have passed a predetermined position based on a photographed image of a person on a computer.
A person identification means for identifying a person who is the same person in the photographed image and has passed the predetermined position a plurality of times in the same direction.
A program for functioning as a display control means for displaying and controlling the number of people counted by the counting means excluding the person specified by the person specifying means and the number of people specified by the person specifying means.
JP2020027862A 2017-09-27 2020-02-21 Image processing system, image processing system control method, and program Active JP6982263B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2017185539 2017-09-27
JP2017185539 2017-09-27
JP2018169467A JP6669977B2 (en) 2017-09-27 2018-09-11 Image processing system, control method for image processing system, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018169467A Division JP6669977B2 (en) 2017-09-27 2018-09-11 Image processing system, control method for image processing system, and program

Publications (2)

Publication Number Publication Date
JP2020102852A JP2020102852A (en) 2020-07-02
JP6982263B2 true JP6982263B2 (en) 2021-12-17

Family

ID=66177494

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2018169467A Active JP6669977B2 (en) 2017-09-27 2018-09-11 Image processing system, control method for image processing system, and program
JP2020027862A Active JP6982263B2 (en) 2017-09-27 2020-02-21 Image processing system, image processing system control method, and program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2018169467A Active JP6669977B2 (en) 2017-09-27 2018-09-11 Image processing system, control method for image processing system, and program

Country Status (1)

Country Link
JP (2) JP6669977B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7665299B2 (en) * 2020-07-20 2025-04-21 キヤノン株式会社 Information processing device, information processing method, and program
JP2022068663A (en) * 2020-10-22 2022-05-10 キヤノン株式会社 Imaging apparatus, information processing method, and program
JP7512175B2 (en) * 2020-11-16 2024-07-08 株式会社デンソーテン Information processing device and information processing method
CN113096391A (en) * 2021-03-25 2021-07-09 合肥革绿信息科技有限公司 Traffic management system based on face recognition
CN115187636B (en) * 2022-07-26 2023-09-19 金华市水产技术推广站(金华市水生动物疫病防控中心) Multi-window-based fry identification and counting method and system
WO2024236933A1 (en) * 2023-05-16 2024-11-21 コニカミノルタ株式会社 Management apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4607394B2 (en) * 2001-09-27 2011-01-05 株式会社シー・イー・デー・システム Person detection system and person detection program
JP4374609B2 (en) * 2004-02-20 2009-12-02 オムロン株式会社 People counting device
JP5594672B2 (en) * 2011-04-14 2014-09-24 株式会社 日立産業制御ソリューションズ Object recognition apparatus and object recognition method
JP2014191711A (en) * 2013-03-28 2014-10-06 Oki Electric Ind Co Ltd Video analysis device, video analysis method, program, and video analysis system
JP5834254B2 (en) * 2014-04-11 2015-12-16 パナソニックIpマネジメント株式会社 People counting device, people counting system, and people counting method
JP6214494B2 (en) * 2014-08-21 2017-10-18 日本システム開発株式会社 User identification device, user identification method, and computer program

Also Published As

Publication number Publication date
JP2020102852A (en) 2020-07-02
JP2019061665A (en) 2019-04-18
JP6669977B2 (en) 2020-03-18

Similar Documents

Publication Publication Date Title
JP6982263B2 (en) Image processing system, image processing system control method, and program
JP6703284B2 (en) Image processing system, image processing system control method, and program
JP6442751B2 (en) Information processing apparatus, information processing system, control method, and program
US9674181B2 (en) Surveillance camera renting service
US20100058248A1 (en) Graphical user interfaces for building management systems
US20220058241A1 (en) System and method for associating information with a digital image file using a digital ledger
US9319623B2 (en) Imformation processing apparatus and information processing system
EP2728538A1 (en) Method and system for providing content based on location data
JP6617547B2 (en) Image management system, image management method, and program
JP6689516B2 (en) Image acquisition method, controlled device, and server
KR101812667B1 (en) Method and apparatus for backing up data, electronic device, program and recording medium
JP6402443B2 (en) Control program, control device and control system
US20190362148A1 (en) Method and system for enabling information in augmented reality applications
JP2021192238A (en) Information processing apparatus, method for controlling information processing apparatus, and program
CN115130070B (en) Methods, devices, and AR equipment for granting and displaying user permissions in AR scenarios
JP6241505B2 (en) Management server, information processing terminal, control method, and program
JP6047409B2 (en) Data transfer system, communication terminal, data transfer method, program
JP6613553B2 (en) Information processing apparatus, information processing system, control method thereof, and program
JP2004023381A (en) Video information indexing support device, program, and storage medium
US12568089B2 (en) System, method, and storage medium for managing anchor information
CN115942022B (en) Information preview method, related equipment and storage medium
JP6963198B2 (en) Information processing equipment, information processing methods and programs
JP7207028B2 (en) Information processing device, information processing system, electronic blackboard device, control method, and program
JP6802473B2 (en) Information processing system, information processing system control method, and program
JP2026006478A (en) Control device and method, imaging device and control method therefor, system, program and storage medium

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200228

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201211

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210302

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211004

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211101

R151 Written notification of patent or utility model registration

Ref document number: 6982263

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250