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
JP6626538B2 - Information processing apparatus and control method therefor - Google Patents
[go: Go Back, main page]

JP6626538B2 - Information processing apparatus and control method therefor - Google Patents

Information processing apparatus and control method therefor Download PDF

Info

Publication number
JP6626538B2
JP6626538B2 JP2018137080A JP2018137080A JP6626538B2 JP 6626538 B2 JP6626538 B2 JP 6626538B2 JP 2018137080 A JP2018137080 A JP 2018137080A JP 2018137080 A JP2018137080 A JP 2018137080A JP 6626538 B2 JP6626538 B2 JP 6626538B2
Authority
JP
Japan
Prior art keywords
line
area
mark
information processing
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018137080A
Other languages
Japanese (ja)
Other versions
JP2018182756A (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 Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2018137080A priority Critical patent/JP6626538B2/en
Publication of JP2018182756A publication Critical patent/JP2018182756A/en
Application granted granted Critical
Publication of JP6626538B2 publication Critical patent/JP6626538B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、画像中の物体(オブジェクト)の通過判定処理のための情報処理装置およびその制御方法に関する。   The present invention relates to an information processing apparatus for a passage determination process of an object in an image and a control method thereof.

一般に、画像解析により画像内の物体を検出することが行われていた。この技術を用い、動画像の各フレーム画像から物体を検出することで動画像上の物体追尾が行われるようになった。さらに近年ではこの物体追尾技術を応用することで、画像平面上のある領域を通過したか否かを判定する通過検知が監視カメラシステム等で行われるようになった。   Generally, an object in an image is detected by image analysis. By using this technique, an object is tracked on a moving image by detecting an object from each frame image of the moving image. Further, in recent years, by applying this object tracking technology, a surveillance camera system or the like has performed passage detection for determining whether or not the vehicle has passed a certain area on an image plane.

例えば特許文献1では、撮影画像に映った人をセグメント化し、このセグメント化した画像領域が予め設定した境界線にオーバーラップした後に指定した方向への横断であったかを解析することで通過検知を行う技術が開示されている。   For example, in Patent Literature 1, passage detection is performed by segmenting a person reflected in a captured image and analyzing whether the segmented image region crosses a predetermined boundary line and then crosses in a specified direction. The technology is disclosed.

特表2005−506740号公報JP 2005-506740 A

上述のように、セグメント化した物体が指定した方向に横断した際は通過として検知することが可能である。しかしながら、この方法だけでは指定した境界線を物体がはみ出した場合を検知することが出来ない。また、更に、この方法では、物体が通過したとみなす条件を設定することができないため、装置が通過と判定するタイミングと、ユーザが実際に通知されたいタイミングとにずれが生じてしまう。   As described above, when the segmented object crosses in the designated direction, it can be detected as passing. However, this method alone cannot detect a case where an object protrudes from a designated boundary line. Furthermore, in this method, it is not possible to set a condition for determining that the object has passed, so that a difference occurs between the timing at which the apparatus determines that the object has passed and the timing at which the user actually wants to be notified.

本発明は上記課題に鑑みてなされたものであり、通過検知のための条件を柔軟に設定することができる情報処理装置および制御方法を提供することを目的とする。   The present invention has been made in view of the above problems, and has as its object to provide an information processing apparatus and a control method that can flexibly set conditions for passage detection.

上記目的を達成するための本発明の一態様による情報処理装置は以下の構成を備える。すなわち、
撮像装置によって撮像された画像において設定された線を物体が通過したか判定する通過判定処理のための情報処理装置であって、
前記画像中の物体の前記線に対する複数の通過方向のうち前記通過判定処理に用いる通過方向を選択するための第1エリアであって、前記複数の通過方向の各々に対応する複数の図形を含む第1エリアを表示画面上に表示する表示制御手段と、
前記第1エリアにおいて、前記複数の図形のうち前記通過判定処理に用いる前記通過方向に対応する図形を選択する操作を受け付ける受付手段と、を備え、
前記複数の図形の各々は、ラインと、当該ラインの一端に対応する第1表示態様のマークと、当該ラインの他端に対応するマークであって当該第1表示態様と異なる第2表示態様のマークと、当該ラインと交差するマークであって前記通過方向を示すマークとを有する
An information processing apparatus according to one embodiment of the present invention for achieving the above object has the following configuration. That is,
An information processing device for a passage determination process to determine whether an object has passed a line set in an image captured by the imaging device,
A first area for selecting the passing direction to be used for the passage determination processing among a plurality of passage direction with respect to the lines of the object in the image, including a plurality of figures corresponding to each of the plurality of passage direction display control means for displaying a first area a on the display screen,
Receiving means for receiving, in the first area, an operation of selecting a graphic corresponding to the passing direction to be used for the pass determination processing among the plurality of graphics ,
Each of the plurality of figures is a line, a mark of a first display mode corresponding to one end of the line, and a mark corresponding to the other end of the line, and a mark of a second display mode different from the first display mode. And a mark that intersects the line and that indicates the passing direction .

本発明によれば、通過検知のための条件を柔軟に設定することが可能となる。   According to the present invention, it is possible to flexibly set conditions for passage detection.

第一実施形態に係る通過判定設定システムのシステム構成例を示す図。FIG. 1 is a diagram illustrating a system configuration example of a passage determination setting system according to a first embodiment. 第一実施形態に係る撮像装置1のハードウェア構成を示す図。FIG. 2 is a diagram illustrating a hardware configuration of the imaging device 1 according to the first embodiment. 第一実施形態に係る情報処理装置2のハードウェア構成例を示す図。FIG. 2 is a diagram illustrating a hardware configuration example of the information processing apparatus 2 according to the first embodiment. 第一実施形態に係る撮像装置1の機能構成例を示す図。FIG. 2 is a diagram showing an example of a functional configuration of the imaging device 1 according to the first embodiment. 第一実施形態に係る情報処理装置2の機能構成例を示す図。FIG. 2 is a diagram illustrating a functional configuration example of an information processing apparatus 2 according to the first embodiment. 第一実施形態に係る通過検知設定画面の一例を示す図。The figure which shows an example of the passage detection setting screen which concerns on 1st embodiment. 第一実施形態に係る撮像装置の処理例を示すフローチャート。5 is a flowchart illustrating a processing example of the imaging device according to the first embodiment. 第一実施形態に係る情報処理装置の処理例を示すフローチャート。5 is a flowchart illustrating a processing example of the information processing apparatus according to the first embodiment. 第一実施形態に係る通過検知の設定を初期設定または変更するための処理を示すフローチャート。9 is a flowchart illustrating processing for initial setting or changing the setting of passage detection according to the first embodiment. 第二実施形態に係る情報処理装置2のハードウェア構成例を示す図。FIG. 6 is a diagram illustrating an example of a hardware configuration of an information processing apparatus 2 according to a second embodiment. 第二実施形態に係る通過検知設定画面の一例を示す図。The figure which shows an example of the passage detection setting screen which concerns on 2nd embodiment. 代表的な判定位置の設定の一例を示す図。The figure which shows an example of the setting of a typical determination position. 第三実施形態に係る通過判定設定システムのシステム構成例を示す図。The figure which shows the system configuration example of the passage determination setting system which concerns on 3rd embodiment. 第四実施形態に係る通過検知設定画面の一例を示す図。The figure which shows an example of the passage detection setting screen concerning 4th Embodiment.

以下、添付の図面を参照して、本発明の好適な実施形態について説明する。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.

[第一実施形態]
第一実施形態における通過判定設定システムに関して図面に基づいて説明する。図1は、第一実施形態による通過判定設定システムのシステム構成の一例を示す図である。図1において、撮像装置1は、例えばネットワークへの接続が可能なネットワークカメラである。情報処理装置2は、たとえばパーソナルコンピュータにより実現され、本実施形態の通過判定のための各種設定を行い、通過判定設定情報を生成する。表示装置3は、通過判定設定を行うために情報処理装置2が生成するグラフィカルユーザインターフェイスを表示する。4は入力装置であり、情報処理装置2で動作する通過判定設定用のアプリケーションソフトウェアをユーザが操作するために用いられる。
[First embodiment]
A passage determination setting system according to the first embodiment will be described with reference to the drawings. FIG. 1 is a diagram illustrating an example of a system configuration of a passage determination setting system according to the first embodiment. In FIG. 1, an imaging device 1 is, for example, a network camera that can be connected to a network. The information processing device 2 is realized by, for example, a personal computer, performs various settings for the passage determination of the present embodiment, and generates passage determination setting information. The display device 3 displays a graphical user interface generated by the information processing device 2 for performing the pass determination setting. Reference numeral 4 denotes an input device, which is used by a user to operate passage determination setting application software that operates on the information processing device 2.

図2は、撮像装置1のハードウェア構成の一例を示す図である。図2に示されるように、撮像装置1は、CPU11(Central Processing Unit)、ROM12(Read Only Memory)、RAM13(Random Access Memory)、撮像部14、Net−IF15、CPUバス19を有する。撮像部14は、レンズやセンサを備え、デジタル画像信号を出力する。ROM12は、撮像制御ソフトウェアプログラムや情報を保持する。CPU11は、ROM12に格納された制御ソフトウェアプログラムを実行し、各デバイスを制御する。RAM13は、CPU11のワーク領域、エラー処理時の情報の退避領域、制御ソフトウェアプログラムのロード領域、後述の通過判定設定情報を格納する領域等を有する。また、撮像装置1は、ネットワークインタフェイス(Net−IF15)を介して情報処理装置2と有線または無線を介して通信を行うことができる。CPUバス19は、アドレスバス、情報バス及びコントロールバスを含む。CPU11がROM12に格納された制御ソフトウェアプログラムに基き処理を実行することにより、図4により後述する撮像装置1の機能の一部に係る処理が実現される。   FIG. 2 is a diagram illustrating an example of a hardware configuration of the imaging device 1. As shown in FIG. 2, the imaging device 1 includes a CPU 11 (Central Processing Unit), a ROM 12 (Read Only Memory), a RAM 13 (Random Access Memory), an imaging unit 14, a Net-IF 15, and a CPU bus 19. The imaging unit 14 includes a lens and a sensor, and outputs a digital image signal. The ROM 12 holds an imaging control software program and information. The CPU 11 executes a control software program stored in the ROM 12 and controls each device. The RAM 13 has a work area for the CPU 11, a save area for information during error processing, a load area for a control software program, an area for storing passage determination setting information described later, and the like. Further, the imaging apparatus 1 can communicate with the information processing apparatus 2 via a network interface (Net-IF 15) via a wired or wireless connection. CPU bus 19 includes an address bus, an information bus, and a control bus. When the CPU 11 executes a process based on a control software program stored in the ROM 12, a process related to a part of the functions of the imaging apparatus 1 described later with reference to FIG. 4 is realized.

図3は、情報処理装置2のハードウェア構成の一例を示す図である。図3に示されるように、情報処理装置2は、CPU21、HDD22、RAM23、表示制御部24、操作入力部26、ネットワークインターフェイス25(Net−IF)、CPUバス29を有する。HDD22は、情報処理制御ソフトウェアプログラムや情報を保持する。CPU21は、HDD22に格納された制御ソフトウェアプログラムを実行し、各デバイスを制御する。   FIG. 3 is a diagram illustrating an example of a hardware configuration of the information processing device 2. As shown in FIG. 3, the information processing device 2 includes a CPU 21, an HDD 22, a RAM 23, a display control unit 24, an operation input unit 26, a network interface 25 (Net-IF), and a CPU bus 29. The HDD 22 holds an information processing control software program and information. The CPU 21 executes a control software program stored in the HDD 22, and controls each device.

表示制御部24は表示装置3に表示されるグラフィカルユーザインターフェイスの表示制御を行う。操作入力部26は入力装置4から入力信号を受信する。RAM23は、CPU21のワーク領域、エラー処理時の情報の退避領域、制御ソフトウェアプログラムのロード領域等を有する。ネットワークインターフェイス(Net−IF)25は、撮像装置1と有線または無線を介して通信を行う。CPUバス29は、アドレスバス、情報バス及びコントロールバスを含む。CPU21が制御ソフトウェアプログラムに基き処理を実行することにより、図5により後述する情報処理装置2の機能の一部に係る処理が実現される。   The display control unit 24 controls display of a graphical user interface displayed on the display device 3. The operation input unit 26 receives an input signal from the input device 4. The RAM 23 has a work area for the CPU 21, an area for saving information during error processing, an area for loading a control software program, and the like. The network interface (Net-IF) 25 communicates with the imaging device 1 via a wire or wirelessly. CPU bus 29 includes an address bus, an information bus, and a control bus. When the CPU 21 executes a process based on the control software program, a process related to a part of the function of the information processing device 2 described later with reference to FIG. 5 is realized.

図4は、撮像装置1の機能構成の一例を示す図である。図4に示される各機能は、図2に示した撮像装置1のハードウェア構成により実現される。例えば、図4のレンズ101、センサ102、A/Dコンバータ103は、図2の撮像部14の構成として実現される。また、画像符号化部110などの各処理部は、CPU11がROM12に格納されたプログラムを実行することにより実現される。   FIG. 4 is a diagram illustrating an example of a functional configuration of the imaging device 1. Each function illustrated in FIG. 4 is realized by the hardware configuration of the imaging device 1 illustrated in FIG. For example, the lens 101, the sensor 102, and the A / D converter 103 in FIG. 4 are realized as the configuration of the imaging unit 14 in FIG. Each processing unit such as the image encoding unit 110 is realized by the CPU 11 executing a program stored in the ROM 12.

図4において、センサ102は撮像素子を備え、レンズ101により結像された光学像を電気信号に変換し、センサ信号として出力する。A/Dコンバータ103は、センサ102から出力されたセンサ信号をデジタル化する。画像生成部104は、A/Dコンバータ103から出力されるデジタル信号を用いて画像を生成する。画像符号化部110は、画像生成部104で生成した画像を符号化する。物体検出部120は、画像生成部104で生成した画像(符号化前の画像)を画像解析して物体検出を行い、その画像中から検出した物体の画像特徴や、検出した物体の範囲を所定の形状で示す物体エリアを含む物体情報を出力する。なお、物体検出部120は、背景差分法により画像と背景を比較し、物体を検出するようにしてもよい。物体判定部121は、物体検出部120が出力した物体情報(画像特徴)や複数の画像間での物体の距離を元に、複数の画像中で検出された物体が同一であるか否かを判定する。   In FIG. 4, a sensor 102 includes an image sensor, converts an optical image formed by the lens 101 into an electric signal, and outputs the electric signal as a sensor signal. The A / D converter 103 digitizes the sensor signal output from the sensor 102. The image generation unit 104 generates an image using a digital signal output from the A / D converter 103. The image encoding unit 110 encodes the image generated by the image generation unit 104. The object detection unit 120 performs image detection on the image (image before encoding) generated by the image generation unit 104 to perform object detection, and determines an image feature of the object detected from the image and a range of the detected object. The object information including the object area indicated by the shape is output. Note that the object detection unit 120 may detect an object by comparing an image with a background by a background difference method. The object determining unit 121 determines whether or not the objects detected in a plurality of images are the same based on the object information (image characteristics) output by the object detecting unit 120 and the distance of the objects between the plurality of images. judge.

設定情報記憶部122は、例えばRAM13により構成され、判定位置決定部123や通過判定部130で使用される通過判定設定情報を保持する。通過判定設定情報には、物体エリアのうちの通過判定に用いる位置を示す判定位置情報や、通過判定に用いられる境界線を特定する情報が含まれている。判定位置決定部123は、設定情報記憶部122から読み出した通過判定設定情報(判定位置情報)、物体検出部120で検出した物体情報(物体エリア)を用いて物体が通過したと判定する物体エリア上の判定位置を画像上に存在する物体毎に決定する。また、判定位置決定部123は、物体判定部121による判定結果を用いて、同一物体の物体エリアにおける判定位置を関連付ける。通過判定部130は、判定位置決定部123で関連付けられた同一物体毎の判定位置と、設定情報記憶部122に記憶された通過判定設定情報が示す境界線との位置関係から、物体が通過したか否かを判定する。   The setting information storage unit 122 is configured by, for example, the RAM 13 and stores passage determination setting information used by the determination position determination unit 123 and the passage determination unit 130. The passage determination setting information includes determination position information indicating a position of the object area used for the passage determination, and information for identifying a boundary line used for the passage determination. The determination position determination unit 123 uses the passage determination setting information (determination position information) read from the setting information storage unit 122 and the object information (object area) detected by the object detection unit 120 to determine that the object has passed. The above determination position is determined for each object existing on the image. In addition, the determination position determination unit 123 associates the determination position of the same object in the object area using the determination result of the object determination unit 121. The passage determination unit 130 determines that the object has passed based on the positional relationship between the determination position of each identical object associated with the determination position determination unit 123 and the boundary indicated by the passage determination setting information stored in the setting information storage unit 122. It is determined whether or not.

画像情報送信部140は、画像符号化部110で符号化された画像、物体検出部120で検出された物体情報、通過判定部130による通過判定結果をNet−IF15を用いて情報処理装置2に送信する。設定情報送受信部150は、Net−IF15を用いて情報処理装置2との間で通過判定設定情報の送信、受信を行う。例えば、設定情報送受信部150は、情報処理装置2で設定、更新された通過判定設定情報を受信して設定情報記憶部122にその更新された設定を書き込んだり、設定情報記憶部122から現在の通過判定設定情報を読み出して情報処理装置2に送信したりする。   The image information transmission unit 140 transmits the image encoded by the image encoding unit 110, the object information detected by the object detection unit 120, and the pass determination result by the pass determination unit 130 to the information processing device 2 using the Net-IF 15. Send. The setting information transmitting / receiving unit 150 transmits and receives the passage determination setting information to and from the information processing device 2 using the Net-IF 15. For example, the setting information transmitting / receiving unit 150 receives the passage determination setting information set and updated by the information processing device 2 and writes the updated setting in the setting information storage unit 122, or reads the current setting from the setting information storage unit 122 The pass-through determination setting information is read and transmitted to the information processing device 2.

図5は、情報処理装置2の機能構成の一例を示す図である。図5に示される各部は、情報処理装置2のCPU21が、たとえばHDD22からRAM23にロードされたプログラムを実行することにより実現される。図5において、画像情報受信部201は、撮像装置1の画像情報送信部140から送信された情報をNet−IF25を介して受信する。画像復号化部202は、画像情報受信部201で受信した情報に含まれている符号化された画像(符号化画像)を復号し、表示画像生成部230へ提供する。判定結果確認部203は、画像情報受信部201で受信した情報に含まれている通過判定結果を確認し、表示画像生成部230へ提供する。物体情報確認部204は、画像情報受信部201で受信した情報に含まれている物体情報(物体エリア)を確認し、表示画像生成部230へ提供する。   FIG. 5 is a diagram illustrating an example of a functional configuration of the information processing device 2. Each unit illustrated in FIG. 5 is realized by CPU 21 of information processing device 2 executing a program loaded from HDD 22 to RAM 23, for example. 5, the image information receiving unit 201 receives information transmitted from the image information transmitting unit 140 of the imaging device 1 via the Net-IF 25. The image decoding unit 202 decodes an encoded image (encoded image) included in the information received by the image information receiving unit 201, and provides the decoded image to the display image generating unit 230. The determination result confirming unit 203 confirms the passage determination result included in the information received by the image information receiving unit 201, and provides the result to the display image generating unit 230. The object information confirmation unit 204 confirms the object information (object area) included in the information received by the image information reception unit 201 and provides the information to the display image generation unit 230.

操作受信部210は、操作入力部26により実現される。操作受信部210では、入力装置4からの操作入力を、操作入力部26を介して受け付ける。設定情報生成部211は、操作受信部210で受信した操作を元に通過判定のための通過判定設定情報(物体エリア中の判定位置や境界線)を生成/更新する。設定情報送受信部220は、設定情報生成部211で生成/更新された通過判定設定情報をNet−IF25を介して撮像装置1に送信したり、撮像装置1から現在の通過判定設定情報をNet−IF25を介して受信したりする。表示画像生成部230は、復号化された画像、物体情報(物体エリア)、通過判定設定情報、および通過判定結果を用いて表示装置3に表示する表示画像を生成する。表示出力部231は、表示制御部24により実現され、表示画像生成部230で生成した表示画像を表示装置3に出力する。   The operation receiving unit 210 is realized by the operation input unit 26. The operation receiving unit 210 receives an operation input from the input device 4 via the operation input unit 26. The setting information generation unit 211 generates / updates pass determination setting information (a determination position or a boundary line in the object area) for the pass determination based on the operation received by the operation reception unit 210. The setting information transmitting / receiving unit 220 transmits the passage determination setting information generated / updated by the setting information generating unit 211 to the imaging device 1 via the Net-IF 25, and transmits the current passage determination setting information from the imaging device 1 to the Net-IF 25. The data is received via the IF 25. The display image generation unit 230 generates a display image to be displayed on the display device 3 using the decoded image, the object information (object area), the pass determination setting information, and the pass determination result. The display output unit 231 is realized by the display control unit 24, and outputs the display image generated by the display image generation unit 230 to the display device 3.

図6は、表示装置3に表示される通過判定設定画面の一例である。図6において、表示装置3の表示画面300には、撮像装置1で撮影された画像を表示する画像表示エリア310が表示されている。境界線320は、通過検知を行うための線であり、一般的にはトリップワイヤとも言われる。物体321は、撮影された人物、物体エリア322は検出された物体321のエリアである。物体エリアは、例えば、物体321に外接する矩形である。なお、本実施形態では物体エリアを矩形により形成したがこれに限られるものではなく、楕円など、所定の図形を適用することができる。また、そのような物体エリアの決定は周知である。メニュー330は、検出した物体エリアのうちどの位置が境界線320を通過したら通過と見なすかを設定するためのメニューである。   FIG. 6 is an example of a pass determination setting screen displayed on the display device 3. In FIG. 6, an image display area 310 for displaying an image captured by the imaging device 1 is displayed on the display screen 300 of the display device 3. The boundary line 320 is a line for performing passage detection, and is generally called a trip wire. The object 321 is a photographed person, and the object area 322 is an area of the detected object 321. The object area is, for example, a rectangle circumscribing the object 321. In the present embodiment, the object area is formed by a rectangle, but is not limited to this, and a predetermined figure such as an ellipse can be applied. Also, the determination of such an object area is well known. The menu 330 is a menu for setting which position in the detected object area passes through the boundary line 320 and is regarded as passing.

なお、図6では、便宜上、通過の判定を行う判定位置を点とし、設定が可能な複数の判定位置をリストにしたうえでラジオボタンにより選択するような画面で示している。メニュー330の形態が図示のものに限られないことは言うまでもなく、判定位置の設定の他の例に関しては後ほど第二実施形態で触れることにする。また、メニュー330では、選択のための指定が可能な複数の判定位置のうちの現在選択中の判定位置が、ラジオボタンの塗りつぶしによりユーザが識別可能に明示されている(図では「中央」の判定位置が選択中の判定位置である)。なお、判定結果確認部203より提供された通過判定情報により、表示画像生成部230は、境界線320を通過したと判定された物体をユーザが識別できるように、その物体エリアの表示形態(例えば、物体エリアの枠の表示色)を変更する。   In FIG. 6, for convenience, a determination position for performing the passage determination is indicated by a point, and a plurality of determination positions that can be set are listed, and the screen is selected by a radio button. It goes without saying that the form of the menu 330 is not limited to the illustrated one, and other examples of the setting of the determination position will be described later in the second embodiment. In the menu 330, the currently selected determination position among the plurality of determination positions that can be designated for selection is clearly indicated by a radio button so that the user can be identified (in the figure, “center” in the figure). The determination position is the selected determination position). Note that, based on the passage determination information provided by the determination result confirmation unit 203, the display image generation unit 230 displays the object area in a display form (for example, an object area) so that the user can identify the object determined to have passed through the boundary 320. , The display color of the frame of the object area).

図7A,図7Bは、通過検知の設定が存在する状態での撮像から物体検出結果の表示までのシステム全体の処理フローの一例を示した図である。まず、撮像装置1の処理について図7Aを用いて説明する。   7A and 7B are diagrams illustrating an example of a processing flow of the entire system from imaging to display of an object detection result in a state in which passage detection setting exists. First, the processing of the imaging device 1 will be described with reference to FIG. 7A.

まず、設定情報送受信部150は、通過判定設定情報を設定情報記憶部122から読み出す(S1)。ここで、通過判定設定情報とは画像平面上の座標情報等により境界線320を一意に決定できる境界線情報と、境界線320を通過したか否かを判定する際に使用する物体エリア上の判定位置を示す位置設定情報を含む。なお、判定位置は、たとえば図6のメニュー330に示した判定位置から選択され、境界線320は図6に示した画像表示エリア310中で指定され得る。次に、設定情報送受信部150は、読み出した通過判定設定情報を情報処理装置2に送信する(S2)。以降、通過検知設定の変更を情報処理装置2から受信するまで、もしくは、終了指示があるまでは、以下のS3からS9までの処理が繰り返される。   First, the setting information transmitting / receiving unit 150 reads the passage determination setting information from the setting information storage unit 122 (S1). Here, the passage determination setting information includes boundary line information that can uniquely determine the boundary line 320 based on coordinate information on the image plane and the like, and information on an object area used when determining whether the boundary line 320 has been passed. Includes position setting information indicating the determination position. The determination position is selected, for example, from the determination positions shown in menu 330 of FIG. 6, and boundary 320 can be designated in image display area 310 shown in FIG. Next, the setting information transmission / reception unit 150 transmits the read passage determination setting information to the information processing device 2 (S2). Thereafter, the following processes from S3 to S9 are repeated until a change in the passage detection setting is received from the information processing device 2 or until an end instruction is issued.

レンズ101を通してセンサ102で受光した電気信号はA/Dコンバータ103でデジタル信号に変換され、その後段の画像生成部104は、デジタル信号に基づいてデジタル画像(撮影画像)を生成する(S3)。生成されたデジタル画像はコピーされ、画像符号化部110と物体検出部120に送られる。また、物体検出部120は画像解析により物体情報を検出し、画像情報送信部140は検出された物体情報を情報処理装置2に送出力する(S4)。また、画像符号化部110は、デジタル画像を例えばJPEGに代表される画像フォーマットに符号化し、画像情報送信部140はその符号化画像を情報処理装置2に送信する(S5)。なお、物体情報を情報処理装置2に送信する際に、その物体情報自体を送信しても構わないが、これに限られるものではない。たとえば、物体検出部120が画像符号化部110に物体情報を送り、符号化された画像のヘッダに物体情報を入れて送信するようにしても構わない。また、S4とS5は便宜上、連続した処理としてフローチャートに記載したが、並列処理を行うことも可能であることは明らかである。   The electric signal received by the sensor 102 through the lens 101 is converted into a digital signal by the A / D converter 103, and the subsequent image generation unit 104 generates a digital image (captured image) based on the digital signal (S3). The generated digital image is copied and sent to the image encoding unit 110 and the object detection unit 120. Further, the object detection unit 120 detects object information by image analysis, and the image information transmission unit 140 sends and outputs the detected object information to the information processing device 2 (S4). The image encoding unit 110 encodes the digital image into an image format represented by, for example, JPEG, and the image information transmitting unit 140 transmits the encoded image to the information processing device 2 (S5). When transmitting the object information to the information processing apparatus 2, the object information itself may be transmitted, but the present invention is not limited to this. For example, the object detection unit 120 may send the object information to the image encoding unit 110, put the object information in the header of the encoded image, and transmit it. Although S4 and S5 are described in the flowchart as continuous processing for convenience, it is apparent that parallel processing can be performed.

ところで、物体情報に含まれる物体エリアとは、検出した物体を任意の形状になるように囲んだ平面上のエリアを一意に決定できる情報であれば良い。例えば検出した物体のエリアを長方形に正規化するのであれば、物体情報は、右上端の座標と左下端の座標を用いて物体エリアを表すことなどが考え得る。   Incidentally, the object area included in the object information may be any information that can uniquely determine an area on a plane surrounding the detected object so as to have an arbitrary shape. For example, if the detected object area is normalized to a rectangle, the object information may represent the object area using the coordinates of the upper right end and the coordinates of the lower left end.

図7Aに戻り、通過検知を行うには物体の時間的な連続性を考慮する必要があるため、直前に撮影した画像から検出された物体と比較する必要がある。そのため、物体判定部121は、既に物体検出を行った画像があるか否かの確認を行う(S6)。物体検出を行なった画像が存在しない場合、すなわち初期化または起動した直後である場合は、比較する物体がないため処理はS10に飛ぶ。他方、比較可能な画像がある場合、物体判定部121は、検出された物体が比較対象の画像で検出された物体と同一であるか否かを確認する(S7)。同一の物体ではなかった場合は、境界線を通過した物体とは認められないため処理はS10に飛ぶ。   Returning to FIG. 7A, it is necessary to consider the temporal continuity of the object to perform the passage detection, and therefore, it is necessary to compare with the object detected from the image captured immediately before. Therefore, the object determination unit 121 checks whether there is an image for which object detection has already been performed (S6). If there is no object-detected image, that is, immediately after initialization or activation, there is no object to be compared, and the process jumps to S10. On the other hand, if there is an image that can be compared, the object determination unit 121 checks whether the detected object is the same as the object detected in the image to be compared (S7). If the objects are not the same, the process jumps to S10 because the object is not recognized as having passed the boundary line.

同一の物体であった場合、判定位置決定部123は、前述の検知位置情報から物体毎(物体エリア毎)に通過検知のための判定位置を決定する(S8)。通過判定部130は、物体毎の判定位置と境界線情報から物体が境界線を通過したか否かの判定を行い、その判定結果を情報処理装置2に送信する(S9)。   If the objects are the same, the determination position determination unit 123 determines a determination position for passage detection for each object (each object area) from the above-described detection position information (S8). The passage determination unit 130 determines whether or not the object has passed the boundary line from the determination position and the boundary line information for each object, and transmits the determination result to the information processing device 2 (S9).

通過判定設定の更新があるまでの間(S10でNO、S11でNOの間)、上述のS3〜S9の処理が繰り返される。例えば、情報処理装置2から更新された通過判定設定情報を受信した場合のように通過判定設定に更新が発生した場合(S10でYES)は、処理はS1まで戻り、新たな通過判定設定情報を用いた処理を行うべくS1から処理を再度開始する。また、終了が指示された場合(S11でYES)、本処理を終了する。終了の指示は、例えば、情報処理装置2から受信される。   Until the passage determination setting is updated (NO in S10 and NO in S11), the processes of S3 to S9 are repeated. For example, when an update has occurred in the passage determination setting such as when the updated passage determination setting information is received from the information processing device 2 (YES in S10), the process returns to S1, and the new passage determination setting information is updated. The processing is restarted from S1 to perform the used processing. When the end is instructed (YES in S11), the present process ends. The end instruction is received, for example, from the information processing device 2.

次に情報処理装置2の処理について図7Bを参照して説明する。情報処理装置2において、画像情報受信部201は、撮像装置1からS2で送信された通過判定設定情報、S5で送信された符号化画像、S4で送信された物体情報、およびS9で送信された通過検知の判定結果を受信する(S21)。なお、S21における各情報の受信は、まとめて行われる必要はなく、情報毎に適宜受信されればよい。物体情報確認部204は、受信した物体情報から、検出された物体エリアの位置(座標)と大きさを特定する(S22)。また、画像復号化部202は、受信した符号化画像を復号する(S23)。   Next, the processing of the information processing apparatus 2 will be described with reference to FIG. 7B. In the information processing device 2, the image information receiving unit 201 transmits the pass determination setting information transmitted from the imaging device 1 in S2, the encoded image transmitted in S5, the object information transmitted in S4, and the information transmitted in S9. The judgment result of the passage detection is received (S21). The reception of each information in S21 does not need to be performed collectively, and may be appropriately received for each information. The object information confirmation unit 204 specifies the position (coordinates) and size of the detected object area from the received object information (S22). Further, the image decoding unit 202 decodes the received encoded image (S23).

表示画像生成部230は、S22で特定した物体エリアとS21で受信した通過判定結果を、S23で復号化した画像に重畳した表示画像を生成し、表示出力部231を介して表示装置3に出力する(S24)。また、S21で受信した通過判定設定情報に基づいて、メニュー330の表示を生成し、表示画像の一部とする(S25)。このときの表示内容は、図6により上述したとおりである。なお、撮像装置1から受信した通過判定設定情報から取得された判定位置(現在適用されている判定位置)は、メニュー330においてラジオボタンの塗りつぶしにより表示されている。なお、メニュー330は、復号化画像に重畳して表示されてもよいし、図6に示すように復号化画像とは別のエリアに表示されてもよい。   The display image generation unit 230 generates a display image in which the object area specified in S22 and the passage determination result received in S21 are superimposed on the image decoded in S23, and is output to the display device 3 via the display output unit 231. (S24). Further, the display of the menu 330 is generated based on the passage determination setting information received in S21, and is set as a part of the display image (S25). The display contents at this time are as described above with reference to FIG. Note that the determination position (the currently applied determination position) acquired from the passage determination setting information received from the imaging device 1 is indicated by a radio button in the menu 330. The menu 330 may be displayed so as to be superimposed on the decoded image, or may be displayed in an area different from the decoded image as shown in FIG.

通過検知設定の更新(例えば、図8のフローチャートにより後述する処理で設定、更新される)があるまでの間(S26でNO、S27でNOの間)、以上のS21〜S25の処理が繰り返される。メニュー330において別の判定位置が選択されたり、境界線320が移動・回転されたりして通過検知設定の更新が発生した場合(S26でYES)は、処理はS28に進む。ここで、設定情報送受信部220は、更新された通過判定設定情報を撮像装置1に送信し(S28)、処理をS21に戻す。また、ユーザインターフェイスから終了が指示された場合(S27でYES)、設定情報送受信部220が撮像装置1へ終了指示を送信し(S29)、本処理を終了する。   Until there is an update of the passage detection setting (for example, setting and updating in the processing described later with reference to the flowchart of FIG. 8) (NO in S26 and NO in S27), the processing of S21 to S25 is repeated. . If another determination position is selected in the menu 330 or the boundary line 320 is moved or rotated to update the passage detection setting (YES in S26), the process proceeds to S28. Here, the setting information transmitting / receiving unit 220 transmits the updated passage determination setting information to the imaging device 1 (S28), and returns the processing to S21. Further, when the end is instructed from the user interface (YES in S27), the setting information transmitting / receiving unit 220 transmits an end instruction to the imaging device 1 (S29), and ends the processing.

図8は、通過検知を初期設定する際または通過検知の設定を変更する際の処理フローの一例を示した図である。まず、設定情報送受信部220が、設定情報記憶部122に既に境界線情報(境界線320を特定する情報)が記憶されているか確認する(S31)。これは、たとえば、撮像装置1から通過判定設定情報を受信することで行える。境界線情報が未設定の場合、設定情報送受信部220は境界線情報が入力されるまで待つ(S32)。境界線情報が記憶されている場合(S31でYES)または境界線情報入力されると(S32でYES)、設定情報送受信部220は、境界線情報が新規であるか、変更されたかを確認する(S33)。そして、境界線情報が新規であるまたは変更されたと判定されると、設定情報送受信部220はその境界線情報を撮像装置1に更新指示として送信する(S34)。こうして更新された境界情報が撮像装置1の設定情報記憶部122に保存される。   FIG. 8 is a diagram illustrating an example of a processing flow when initializing the passage detection or changing the setting of the passage detection. First, the setting information transmitting / receiving unit 220 checks whether boundary information (information specifying the boundary 320) is already stored in the setting information storage unit 122 (S31). This can be performed, for example, by receiving passage determination setting information from the imaging device 1. If the boundary information has not been set, the setting information transmitting / receiving unit 220 waits until the boundary information is input (S32). When the boundary line information is stored (YES in S31) or when the boundary line information is input (YES in S32), the setting information transmitting / receiving unit 220 checks whether the boundary line information is new or changed. (S33). Then, when it is determined that the boundary line information is new or changed, the setting information transmitting / receiving unit 220 transmits the boundary line information to the imaging device 1 as an update instruction (S34). The updated boundary information is stored in the setting information storage unit 122 of the imaging device 1.

次に、設定情報送受信部220は、既に通過検知の判定を行う物体エリアの判定位置を示す判定位置情報が記憶されているか確認する(S35)。判定位置情報がない場合は判定位置が入力/設定されるまでこれまでの処理を繰り返す(S35でNO、S36でNO)。他方、判定位置情報が記憶されている場合(S35でYES)や、判定位置情報が入力された場合(S36でYES)は、設定情報送受信部220は、判定位置線情報が変更されたかを確認する(S37)。判定位置線情報が変更された場合または新規の入力である場合は、設定情報送受信部220は判定位置情報を撮像装置1に更新指示として送信する(S38)。こうして、更新された判定位置が撮像装置1の設定情報記憶部122に保存される。以上の処理を終了指示(S39)があるまで繰り返す。   Next, the setting information transmitting / receiving unit 220 checks whether or not the determination position information indicating the determination position of the object area for which the determination of the passage detection is performed is already stored (S35). If there is no determination position information, the processing up to this point is repeated until the determination position is input / set (NO in S35, NO in S36). On the other hand, when the determination position information is stored (YES in S35) or when the determination position information is input (YES in S36), the setting information transmitting / receiving unit 220 checks whether the determination position line information has been changed. (S37). If the determination position line information has been changed or is a new input, the setting information transmission / reception unit 220 transmits the determination position information to the imaging device 1 as an update instruction (S38). Thus, the updated determination position is stored in the setting information storage unit 122 of the imaging device 1. The above processing is repeated until there is a termination instruction (S39).

なお、撮像装置1では、設定情報送受信部150を介してS34、S38で送信された更新指示を受信することにより、更新の通知を検出する。更新の通知が検出されると、図7AのS10においてYESに分岐し、新たな通過判定設定情報による通過判定処理が開始されることになる。   Note that the imaging device 1 detects the update notification by receiving the update instruction transmitted in S34 or S38 via the setting information transmitting / receiving unit 150. When the update notification is detected, the process branches to YES in S10 of FIG. 7A, and the passage determination process based on the new passage determination setting information is started.

以上のように構成することで、通過検知において境界線を通過したと判定する物体の位置をユーザが指示できるようにすることにより、所望の通過の判定条件を設定することができる。   With the above-described configuration, the user can specify the position of the object that is determined to have passed the boundary line in the passage detection, so that a desired passage determination condition can be set.

[第二実施形態]
以下、第二実施形態における通過判定設定システムの実施形態に関して図面に基づいて説明する。なお、上記の第一実施形態に準ずる個所については、説明を割愛する。第一実施形態との主要な差異は、情報処理装置2において、境界線を通過したと判定するための、ユーザが設定した判定位置を物体エリア322に重畳して表示できるようにしたことにある。
[Second embodiment]
Hereinafter, an embodiment of the passage determination setting system in the second embodiment will be described with reference to the drawings. In addition, the description of the parts according to the first embodiment is omitted. The main difference from the first embodiment is that, in the information processing device 2, a determination position set by the user for determining that the user has passed the boundary line can be displayed so as to be superimposed on the object area 322. .

第二実施形態による撮像装置1の機能ブロックは図4と同様である。ただし、画像情報送信部140は、判定位置決定部123が決定した物体エリア毎の判定位置情報を送信する。図9は、第二実施形態による情報処理装置2の機能構成の一例を示す図である。図9において、第一実施形態(図5)と同様の構成には同一の参照番号を付してある。   The functional blocks of the imaging device 1 according to the second embodiment are the same as those in FIG. However, the image information transmission unit 140 transmits the determination position information for each object area determined by the determination position determination unit 123. FIG. 9 is a diagram illustrating an example of a functional configuration of the information processing device 2 according to the second embodiment. 9, the same components as those in the first embodiment (FIG. 5) are denoted by the same reference numerals.

判定位置確認部940は、画像情報受信部201が撮像装置1から受信した物体エリアごとの判定位置情報を確認し、表示画像生成部230へ提供する。この判定位置確認部940を新たに加えることにより、物体情報確認部204で抽出された物体エリア毎に通過検知の判定に用いられた検知位置を表示画像生成部230で重畳表示して表示画像を生成することが可能になる。   The determination position confirmation unit 940 confirms the determination position information for each object area received by the image information receiving unit 201 from the imaging device 1, and provides the information to the display image generation unit 230. By newly adding the determination position confirmation unit 940, the display image generation unit 230 superimposes the detection position used for the passage detection determination for each object area extracted by the object information confirmation unit 204, and displays the display image. Can be generated.

図10は、表示装置3に表示される通過判定設定画面の一例を示す図である。第一実施形態で説明した通過判定画面(図6)と同様の表示については、図6と同一の参照番号を付している。340は、重畳表示された通過検知の判定に用いられた判定位置である。このように構成することで、ユーザは設定通りに境界線を物体が通過したことをより容易に確認することができる。また、通過検知の判定に用いられた判定位置の重畳表示においては、判定位置の表示を物体エリアの表示と異なる表示形態(例えば、異なる形状や色)とすることが好ましい。このようにすれば、ユーザは通過検知の判定に用いられた位置の表示と物体エリアとの見分けが容易につくようになり、よりユーザが認知しやすくなる。また、メニュー330では、図6で示した「中央」「左上」などの文字表現に変えて、矩形中の判定位置を図形による表現としている。このようなメニュー表示によれば、ユーザがより直感的に判定位置の選択を行えるようになる。   FIG. 10 is a diagram illustrating an example of a pass determination setting screen displayed on the display device 3. Display similar to that of the passage determination screen (FIG. 6) described in the first embodiment is denoted by the same reference numeral as in FIG. 340 is a determination position used for the determination of the passage detection superimposed and displayed. With this configuration, the user can more easily confirm that the object has passed the boundary line as set. Further, in the superimposed display of the determination position used for the determination of the passage detection, it is preferable that the display of the determination position be a display mode (for example, a different shape or color) different from the display of the object area. In this way, the user can easily distinguish the display of the position used for the passage detection determination from the object area, and the user can more easily recognize the display. In the menu 330, the determination position in the rectangle is represented by a graphic instead of the character expression such as "center" or "upper left" shown in FIG. According to such a menu display, the user can more intuitively select the determination position.

なお、上述した第一、第二実施形態では、物体が境界線を通過しか否かを判定するための判定位置として物体エリア内の点を用いたがこれに限られるものではない。以下、判定位置のいくつかの種類に関して触れる。   In the first and second embodiments described above, a point in the object area is used as the determination position for determining whether the object only passes through the boundary line. However, the present invention is not limited to this. Hereinafter, some types of the determination positions will be described.

図11は、代表的な判定位置の設定である。これまで判定位置を点で説明してきたが、図のように線や面(エリア)で判定を行うことも可能であることは言うまでもない。また、これら判定位置の種類(点、線、面のいずれか)をユーザが設定できるようにしてもよいことはいまでもない。さらに、これら点、線、面による判定位置をすべてメニュー330に表示して、ユーザに所望の判定位置を選択させるようにしてもよい。   FIG. 11 shows a typical determination position setting. Although the determination position has been described in terms of points, it is needless to say that the determination can be made with a line or a plane (area) as shown in the figure. Further, it is still not possible to allow the user to set the type of these determination positions (one of a point, a line, and a surface). Further, the determination positions based on these points, lines, and planes may all be displayed on the menu 330 so that the user can select a desired determination position.

また、例えば、物体エリアとして矩形を、判定位置として点を用いる場合は、物体エリアの「重心または中心」、「左上端」、「左下端」、「右上端」、「右下端」といった設定ができる。また、例えば、物体エリアとして矩形、判定位置として線を用いる場合は、「上端」、「左端」、「右端」、「下端」、「中央縦」、「中央横」といった設定できる。また、例えば、物体エリアとして矩形、判定位置として面を用いる場合には、「左上」、「右上」、「左下」、「右下」の部分領域や全領域を示す「全体」といった設定ができる。   Also, for example, when a rectangle is used as the object area and a point is used as the determination position, settings such as “center of gravity or center”, “upper left”, “lower left”, “upper right”, and “lower right” of the object area are set. it can. In addition, for example, when a rectangle is used as the object area and a line is used as the determination position, “top”, “left”, “right”, “bottom”, “center vertical”, “center horizontal” can be set. In addition, for example, when a rectangle is used as the object area and a plane is used as the determination position, settings such as “upper left”, “upper right”, “lower left”, and “lower right” partial areas and “entire” indicating the entire area can be made. .

また、線や面で判定する場合は例えば設定された全ての位置が通過した際に通過したと判定する場合や一部でも境界線を通過した時に通過したと判定しても良い。このため、予め判定方法を決定しておくか、ユーザが設定できるようなユーザインターフェイスを別途提供してもよい。なお、判定位置を面(エリア)とした場合の物体エリア322における表示では、たとえば、物体エリア322において設定されている判定位置(エリア)を所定色かつ半透明で塗りつぶすことで、ユーザに設定されている判定位置を示すことができる。   In the case of determining with a line or a plane, for example, it may be determined that the vehicle has passed when all the set positions have passed, or it may be determined that some of the positions have passed when the vehicle has passed the boundary line. For this reason, the determination method may be determined in advance, or a user interface that allows the user to set may be separately provided. In the display in the object area 322 when the determination position is a plane (area), for example, the determination position (area) set in the object area 322 is set to the user by painting it in a predetermined color and translucent. Can be indicated.

[第三実施形態]
以下、第三実施形態における通過判定設定システムに関して図面に基いて説明する。第一実施形態および第二実施形態との主要な差異は、情報処理装置2において記録媒体等に保存された符号化画像から通過検知を実施できるようにした点である。
[Third embodiment]
Hereinafter, the passage determination setting system according to the third embodiment will be described with reference to the drawings. The main difference between the first embodiment and the second embodiment is that the information processing apparatus 2 can perform passage detection from an encoded image stored in a recording medium or the like.

図12は、本システムの機能構成の一例を示す図である。図12において、第一、第二実施形態(図4、図5、図9)と同様の構成には、図4、図5、図9でしめしたのと同一の参照番号を付している。1200は通過判定設定システム本体、1201は符号化された画像を蓄積している符号化画像記憶部である。画像復号化部202は、符号化画像記憶部1201に記憶されている符号化画像を復号化し、得られた画像を物体検出部120や表示画像生成部230に提供する。物体判定部121、判定位置決定部123、通過判定部130の動作は第一実施形態で説明したとおりであるが、それぞれの処理結果は表示画像生成部230に提供される。表示画像生成部230は、図6または図10に示したようなユーザインターフェイスを表示装置3に表示する。   FIG. 12 is a diagram illustrating an example of a functional configuration of the present system. 12, the same configurations as those of the first and second embodiments (FIGS. 4, 5, and 9) are denoted by the same reference numerals as those shown in FIGS. 4, 5, and 9. . 1200 is a passage determination setting system main body, and 1201 is an encoded image storage unit that stores encoded images. The image decoding unit 202 decodes the encoded image stored in the encoded image storage unit 1201, and provides the obtained image to the object detection unit 120 and the display image generation unit 230. The operations of the object determination unit 121, the determination position determination unit 123, and the passage determination unit 130 are as described in the first embodiment, but the respective processing results are provided to the display image generation unit 230. The display image generation unit 230 displays a user interface as shown in FIG.

設定情報アクセス部1211は、設定情報記憶部122から通過判定設定情報を読み出し、判定位置情報を判定位置決定部123へ、境界線を特定する情報を通過判定部130や表示画像生成部230に供給する。   The setting information access unit 1211 reads the passage determination setting information from the setting information storage unit 122, and supplies the determination position information to the determination position determination unit 123, and the information for specifying the boundary line to the passage determination unit 130 and the display image generation unit 230. I do.

このような構成によれば、通過判定システム1200は、符号化画像記憶部1201に記憶されている符号化画像を用いて、図6や図10で説明したような表示を行うことができる。したがって、通過判定システム1200によれば、過去に蓄積した画像についても、通過判定条件の確認や変更をユーザが容易に行うことができる。なお、図12の構成において、符号化画像記憶部1201から符号化画像を読み出す代わりに、撮像装置1から出力された符号化画像を受信するようにしてもよい。この場合、撮像装置1は単に撮像画像を符号化して送信すればよく、通過判定処理を実行する機能を持たなくてもよい。   According to such a configuration, the passage determination system 1200 can perform the display as described in FIGS. 6 and 10 using the encoded image stored in the encoded image storage unit 1201. Therefore, according to the passage determination system 1200, the user can easily confirm or change the passage determination conditions even for the images accumulated in the past. In the configuration of FIG. 12, instead of reading out the encoded image from the encoded image storage unit 1201, the encoded image output from the imaging device 1 may be received. In this case, the imaging device 1 may simply encode and transmit the captured image, and may not have the function of executing the passage determination process.

[第四実施形態]   [Fourth embodiment]

以下、第四実施形態における通過判定システムに関して図面に基づいて説明する。なお、上記の第一実施形態または第二実施形態または第三実施形態に準ずる個所については、説明を割愛する。第一実施形態および第二実施形態および第三実施形態との主要な差異は、撮像装置1における物体が境界線を通過したか否かの判定処理、および情報処理装置2における通過判定設定において、通過方向を追加した点である。   Hereinafter, a passage determination system according to the fourth embodiment will be described with reference to the drawings. In addition, the description of the parts according to the first embodiment, the second embodiment, or the third embodiment is omitted. The main difference between the first embodiment, the second embodiment, and the third embodiment is that in the process of determining whether or not the object in the imaging device 1 has passed the boundary line, and in the pass determination setting in the information processing device 2, This is the point where the passing direction is added.

第四実施形態による情報処理装置2の設定情報生成部211は、受信した操作を元に通過判定設定情報に通過方向を加えて生成/更新する。設定情報送受信部220は、通過方向を含む通過判定設定情報を、撮像装置1に送信して設定情報記憶部122に保存したり、撮像装置1から現在の通過判定設定情報を受信したりする。   The setting information generation unit 211 of the information processing device 2 according to the fourth embodiment generates / updates by adding the passing direction to the passing determination setting information based on the received operation. The setting information transmission / reception unit 220 transmits the passage determination setting information including the passing direction to the imaging device 1 and stores it in the setting information storage unit 122, or receives the current passage determination setting information from the imaging device 1.

第四実施形態による通過の検出処理フローについて図7Aを用いて差異を説明する。S1において設定情報送受信部150が読みだす通過判定設定情報は通過方向の設定を含んでいる。通過判定部130は、物体が境界線を通過したか否かの判定(S9)を次のように行う。すなわち、物体毎の、判定位置と境界線情報と通過方向の設定から、判定位置が境界線を通過しかつ判定位置の境界線に対する移動方向が通過方向の設定と合致する場合に、物体が境界線を通過したと判定する。また、それ以外の状態では物体は境界線を通過していないと判定する。その判定結果は、情報処理装置2に送信される。   The difference of the passage detection processing flow according to the fourth embodiment will be described with reference to FIG. 7A. The passage determination setting information read by the setting information transmitting / receiving unit 150 in S1 includes the setting of the passing direction. The passage determination unit 130 determines whether or not the object has passed the boundary line (S9) as follows. That is, if the determination position passes through the boundary line and the moving direction of the determination position with respect to the boundary line matches the setting of the passing direction from the setting of the determination position, the boundary line information, and the passing direction for each object, It is determined that the vehicle has passed the line. In other states, it is determined that the object has not passed through the boundary line. The determination result is transmitted to the information processing device 2.

第四実施形態における通過判定設定画面の一例を図13に示す。図13における図6との差異は、通過方向350を境界線320上に表示することと、通過方向の設定が境界線の始点から終点に対して両方向・右方向・左方向のいずれであるかを選択する通過方向メニュー351を含む点である。通過方向350の矢印などによる通過方向の表示は、通過方向メニュー351の選択により変化する。図13においては、境界線320は1つであるが、複数の境界線320を設定することもでき、各境界線において異なる通過方向を設定することが可能である。複数の境界線がある場合には、選択した境界線によりその境界線に設定されている通過方向が通過方向メニュー351に反映される。上述した、メニュー330を用いた判定位置の設定や変更と同様に、通過方向メニュー351を用いて、ユーザは、通過判定条件としての通過方向の選択状態の確認、通過方向の選択、設定をすることができる。   FIG. 13 shows an example of a passage determination setting screen according to the fourth embodiment. 13 is different from FIG. 6 in that the passing direction 350 is displayed on the boundary 320 and whether the setting of the passing direction is bidirectional, rightward, or leftward from the start point to the end point of the boundary line. This is a point including a passing direction menu 351 for selecting. The display of the passing direction, such as the arrow of the passing direction 350, is changed by selecting the passing direction menu 351. In FIG. 13, there is one boundary line 320, but a plurality of boundary lines 320 can be set, and different passing directions can be set for each boundary line. When there are a plurality of boundary lines, the passing direction set for the selected boundary line is reflected in the passing direction menu 351. Similarly to the above-described setting and changing of the determination position using the menu 330, the user uses the passing direction menu 351 to confirm the selection state of the passing direction as the passing determination condition, and to select and set the passing direction. be able to.

なお、上記各実施形態において、通過判定条件は、全ての物体に共通に設定されてもよいし、物体毎に個別に設定されてもよい。物体毎に通過判定条件を設定可能にする場合には、顔認識などにより個々の物体を特定して識別子を割り当て、識別子に関連付けて通過判定条件を保持しておくようにすればよい。   In each of the above embodiments, the passage determination condition may be set commonly for all objects, or may be set individually for each object. When the pass judgment condition can be set for each object, an individual object is specified by face recognition or the like, an identifier is assigned, and the pass judgment condition may be held in association with the identifier.

他の実施形態
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
Other Embodiments The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or an apparatus via a network or various storage media, and a computer (or a CPU or an MPU or the like) of the system or the apparatus reads out the program. This is the process to be performed.

1:像装置、2:情報処理装置、3:表示装置3、201:画像情報受信部、202画像復号化部、203:判定結果確認部、204:物体情報確認部、210:操作受信部、211:設定情報生成部、220:設定情報送受信部、230:表示画像生成部、231:表示出力部 1: image apparatus 2: information processing apparatus 3: display apparatus 3, 201: image information receiving unit, 202 image decoding unit, 203: determination result confirmation unit, 204: object information confirmation unit, 210: operation reception unit, 211: setting information generating unit, 220: setting information transmitting / receiving unit, 230: display image generating unit, 231: display output unit

Claims (13)

撮像装置によって撮像された画像において設定された線を物体が通過したか判定する通過判定処理のための情報処理装置であって、
前記画像中の物体の前記線に対する複数の通過方向のうち前記通過判定処理に用いる通過方向を選択するための第1エリアであって、前記複数の通過方向の各々に対応する複数の図形を含む第1エリアを表示画面上に表示する表示制御手段と、
前記第1エリアにおいて、前記複数の図形のうち前記通過判定処理に用いる前記通過方向に対応する図形を選択する操作を受け付ける受付手段と、を備え、
前記複数の図形の各々は、ラインと、当該ラインの一端に対応する第1表示態様のマークと、当該ラインの他端に対応するマークであって当該第1表示態様と異なる第2表示態様のマークと、当該ラインと交差するマークであって前記通過方向を示すマークとを有することを特徴とする情報処理装置。
An information processing device for a passage determination process to determine whether an object has passed a line set in an image captured by the imaging device,
A first area for selecting the passing direction to be used for the passage determination processing among a plurality of passage direction with respect to the lines of the object in the image, including a plurality of figures corresponding to each of the plurality of passage direction display control means for displaying a first area a on the display screen,
Receiving means for receiving, in the first area, an operation of selecting a graphic corresponding to the passing direction to be used for the pass determination processing among the plurality of graphics ,
Each of the plurality of figures is a line, a mark of a first display mode corresponding to one end of the line, and a mark corresponding to the other end of the line, and a mark of a second display mode different from the first display mode. An information processing apparatus comprising: a mark; and a mark that intersects the line and indicates the passing direction .
前記表示制御手段は、前記第1エリアと、前記撮像装置によって撮像された前記画像が表示される第2エリアとを前記表示画面上に表示し、更に、前記第1エリアにおいて選択された前記図形に対応する前記通過方向と、前記線とを前記第2エリアに重畳して表示することを特徴とする請求項1に記載の情報処理装置。  The display control means displays, on the display screen, the first area and a second area in which the image captured by the imaging device is displayed, and further displays the graphic selected in the first area. The information processing apparatus according to claim 1, wherein the passing direction corresponding to (i) and the line are displayed so as to be superimposed on the second area. 前記表示制御手段は、前記線と、当該線の一端に対応する前記第1表示態様のマークと、前記線の他端に対応する前記第2表示態様のマークとを前記第2エリアに重畳して表示することを特徴とする請求項2に記載の情報処理装置。  The display control means superimposes the line, a mark of the first display mode corresponding to one end of the line, and a mark of the second display mode corresponding to the other end of the line on the second area. The information processing apparatus according to claim 2, wherein the information is displayed. 前記通過方向は、前記線の一端から他端に対して両方向、右方向または左方向のいずれかであることを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。 The passage direction is the line information processing apparatus according both directions to any one of claims 1 to 3, characterized in that either the right or left direction from one end relative to the other end of the. 前記通過方向を示すマークは、前記ラインの一端から他端に対して両方向、右方向または左方向のいずれかを示すマークであることを特徴とする請求項1乃至4のいずれか1項に記載の情報処理装置。  5. The mark according to claim 1, wherein the mark indicating the passing direction is a mark indicating one of two directions, a right direction, and a left direction with respect to one end to the other end of the line. 6. Information processing device. 前記画像から前記物体を検出する検出手段と、
前記検出手段が検出した前記物体が、前記画像中に設定された前記線を通過したか否かを判定する判定手段と、をさらに備えることを特徴とする請求項1乃至5のいずれか1項に記載の情報処理装置。
Detecting means for detecting the object from the image;
Wherein the object detected by the detecting means is any one of claims 1 to 5, characterized by further comprising a determining means for determining whether or not passing through the lines set in the image An information processing apparatus according to claim 1.
撮像装置によって撮像された画像において設定された線を物体が通過したか判定する通過判定処理のための情報処理装置の制御方法であって、
前記画像中の物体の前記線に対する複数の通過方向のうち前記通過判定処理に用いる通過方向を選択するための第1エリアであって、前記複数の通過方向の各々に対応する複数の図形を含む第1エリアを表示画面上に表示する表示制御工程と、
前記第1エリアにおいて、前記複数の図形のうち前記通過判定処理に用いる前記通過方向に対応する図形を選択する操作を受け付ける受付工程と、を備え、
前記複数の図形の各々は、ラインと、当該ラインの一端に対応する第1表示態様のマークと、当該ラインの他端に対応するマークであって当該第1表示態様と異なる第2表示態様のマークと、当該ラインと交差するマークであって前記通過方向を示すマークとを有することを特徴とする情報処理装置の制御方法。
A control method of an information processing device for a passage determination process for determining whether an object has passed a line set in an image captured by an imaging device,
A first area for selecting the passing direction to be used for the passage determination processing among a plurality of passage direction with respect to the lines of the object in the image, including a plurality of figures corresponding to each of the plurality of passage direction a display control step of displaying a first area a on the display screen,
A receiving step of receiving, in the first area, an operation of selecting a graphic corresponding to the pass direction used for the pass determination process among the plurality of graphics ,
Each of the plurality of figures is a line, a mark of a first display mode corresponding to one end of the line, and a mark corresponding to the other end of the line, and a mark of a second display mode different from the first display mode. A control method for an information processing apparatus, comprising: a mark; and a mark that intersects the line and indicates the passing direction .
前記表示制御工程において、前記第1エリアと、前記撮像装置によって撮像された前記画像が表示される第2エリアとを前記表示画面上に表示し、更に、前記第1エリアにおいて選択された前記図形に対応する前記通過方向と、前記線とを前記第2エリアに重畳して表示することを特徴とする請求項7に記載の情報処理装置の制御方法。  In the display control step, the first area and a second area in which the image captured by the imaging device is displayed are displayed on the display screen, and the graphic selected in the first area is further displayed. The control method of the information processing apparatus according to claim 7, wherein the passing direction corresponding to (i) and the line are superimposed and displayed on the second area. 前記表示制御工程において、前記線と、当該線の一端に対応する前記第1表示態様のマークと、前記線の他端に対応する前記第2表示態様のマークとを前記第2エリアに重畳して表示することを特徴とする請求項8に記載の情報処理装置の制御方法。  In the display control step, the line, a mark of the first display mode corresponding to one end of the line, and a mark of the second display mode corresponding to the other end of the line are superimposed on the second area. The control method for an information processing apparatus according to claim 8, wherein the information is displayed. 前記通過方向は、前記線の一端から他端に対して両方向、右方向または左方向のいずれかであることを特徴とする請求項7乃至9のいずれか1項に記載の情報処理装置の制御方法。 10. The information processing apparatus according to claim 7 , wherein the passing direction is one of two directions, a right direction, and a left direction from one end to the other end of the line. Method. 前記通過方向を示すマークは、前記ラインの一端から他端に対して両方向、右方向または左方向のいずれかを示すマークであることを特徴とする請求項7乃至10のいずれか1項に記載の情報処理装置の制御方法。  11. The mark according to claim 7, wherein the mark indicating the passing direction is a mark indicating one of two directions, a right direction, and a left direction with respect to one end to the other end of the line. A method for controlling an information processing apparatus. 前記画像から前記物体を検出する検出工程と、
前記検出工程で検出された前記物体が、前記画像中に設定された前記線を通過したか否かを判定する判定工程と、をさらに備えることを特徴とする請求項7乃至11のいずれか1項に記載の情報処理装置の制御方法。
A detection step of detecting the object from the image,
Said detecting the object detected by the process, any one of claims 7 to 11, further comprising a, a determination step of determining whether or not passing through the lines set in the image 1 The control method for an information processing apparatus according to claim 1 .
コンピュータを、請求項1乃至のいずれか1項に記載の情報処理装置の各手段として機能させるためのプログラム。 Program for causing a computer to function as each unit of the information processing apparatus according to any one of claims 1 to 6.
JP2018137080A 2018-07-20 2018-07-20 Information processing apparatus and control method therefor Active JP6626538B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018137080A JP6626538B2 (en) 2018-07-20 2018-07-20 Information processing apparatus and control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018137080A JP6626538B2 (en) 2018-07-20 2018-07-20 Information processing apparatus and control method therefor

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016234397A Division JP6378740B2 (en) 2016-12-01 2016-12-01 Information processing apparatus and control method thereof

Publications (2)

Publication Number Publication Date
JP2018182756A JP2018182756A (en) 2018-11-15
JP6626538B2 true JP6626538B2 (en) 2019-12-25

Family

ID=64276094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018137080A Active JP6626538B2 (en) 2018-07-20 2018-07-20 Information processing apparatus and control method therefor

Country Status (1)

Country Link
JP (1) JP6626538B2 (en)

Also Published As

Publication number Publication date
JP2018182756A (en) 2018-11-15

Similar Documents

Publication Publication Date Title
JP6057562B2 (en) Information processing apparatus and control method thereof
JP4498104B2 (en) Monitoring device, control method thereof, and program
TWI397835B (en) Input device, control method of input device, and program
EP2583449B1 (en) Mobile and server-side computational photography
JP6421670B2 (en) Display control method, display control program, and information processing apparatus
US20190318594A1 (en) Display control apparatus, display control method, camera system, control method for camera system, and storage medium
JP2013069224A (en) Motion recognition apparatus, motion recognition method, operation apparatus, electronic apparatus, and program
US8189865B2 (en) Signal processing apparatus
JP2009063822A (en) Image display control device, image display control method, program, and recording medium
CN114747208A (en) Work support server, work support method, and work support system
WO2019059091A1 (en) Utility pole management system
WO2017081920A1 (en) Information processing device, control method, and program
KR102751460B1 (en) Method and appratus for providong video infromation
JP2019096304A (en) Image processing device, control method thereof, and program
JP6626538B2 (en) Information processing apparatus and control method therefor
JP6378740B2 (en) Information processing apparatus and control method thereof
JP6736348B2 (en) Image processing apparatus, image processing method and program
EP3518198A1 (en) Video image transmission apparatus, information processing apparatus, system, information processing method, and program
JP2021027395A (en) Output control unit, display terminal, movable body, remote control system, output control method, and program
JP2009200846A (en) Indication system, indication program and indication device
JP7355840B2 (en) AR system and terminal
JP2016018513A (en) Information input device
US12182943B2 (en) Guidance system for the creation of spatial anchors for all users, including those who are blind or low vision
JP3798238B2 (en) Control display device and recording medium on which program is recorded
JP7237534B2 (en) Information processing device, display control method for information processing device, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180720

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190520

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190531

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190726

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191129

R151 Written notification of patent or utility model registration

Ref document number: 6626538

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151