JP2012085125A - Network camera system, server, control method of the same, and program - Google Patents

Network camera system, server, control method of the same, and program Download PDF

Info

Publication number
JP2012085125A
JP2012085125A JP2010230103A JP2010230103A JP2012085125A JP 2012085125 A JP2012085125 A JP 2012085125A JP 2010230103 A JP2010230103 A JP 2010230103A JP 2010230103 A JP2010230103 A JP 2010230103A JP 2012085125 A JP2012085125 A JP 2012085125A
Authority
JP
Japan
Prior art keywords
flag
client
server
subject
setting
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.)
Withdrawn
Application number
JP2010230103A
Other languages
Japanese (ja)
Inventor
Yoshiji Iwabuchi
義嗣 岩渕
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 JP2010230103A priority Critical patent/JP2012085125A/en
Publication of JP2012085125A publication Critical patent/JP2012085125A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent erroneous detection by using a simple structure in image processing such as moving body detection associated with an operation of a universal head and a lens.SOLUTION: The state of a subject in image data is detected from image data from an imaging part. A driving instruction from a client to a server is received. While movement of the subject is detected as the state of the subject, the value of a flag is set to be ON when the driving instruction is received, and the value of the flag is set to be OFF when the driving instruction is not received. In accordance with the set value of the flag, it is restricted to provide the client with event information indicating that detection processing is under execution.

Description

本発明は、画像配信システム及びその制御方法に関し、特に、遠隔地で撮影された画像データをネットワークを介して配信するネットワークカメラシステムに関するものである。   The present invention relates to an image distribution system and a control method therefor, and more particularly to a network camera system that distributes image data shot at a remote place via a network.

カメラで撮影した画像をインターネットやLAN等のネットワークを介して配信し、遠隔地のクライアント(コンピュータ端末)によりモニタリングを可能としたネットワークカメラシステムが多く提案されている。更に、カメラの画像をモニタリングするだけでなく、クライアント側からカメラのパン・チルト角度やズーム等の雲台やレンズを遠隔制御することにより撮影アングルの変更を可能にしたシステムも広く知られた技術である。   Many network camera systems have been proposed in which images taken by a camera are distributed via a network such as the Internet or a LAN, and can be monitored by a remote client (computer terminal). In addition to monitoring the camera image, a system that enables the camera angle to be changed by remotely controlling the camera platform and lens, such as camera pan / tilt angle and zoom, is also widely known. It is.

また、夜間にはレンズ内部の赤外線カットフィルターを自動的に外すことで感度を上げて撮影することを可能にしたシステムも広く知られた技術である。   In addition, a system that makes it possible to shoot with increased sensitivity by automatically removing the infrared cut filter inside the lens at night is also a well-known technology.

一方、撮影した画像データは画像処理によって物体の状態変化を解析することが行われるようになっている。フレーム間差分法や背景差分法等により画像の変化を検出して、所望の被写体の動きを検知することにより、侵入者や物体の置き去り等の事象の検出が可能となる。   On the other hand, the photographed image data is analyzed for the state change of the object by image processing. By detecting a change in an image by detecting an image change by an inter-frame difference method, a background difference method, or the like and detecting a desired subject movement, it is possible to detect an event such as an intruder or leaving an object.

パン、チルト、ズーム等のカメラ操作によって生じる被写体の動き検知の誤検知を防止の方法が提案されている。特許文献1では、背景画像の取得中や、パン、チルト、ズームの動作中には、動き検知の機能を停止する方法が提案されている。   There has been proposed a method for preventing erroneous detection of object motion detection caused by camera operations such as panning, tilting, and zooming. Patent Document 1 proposes a method of stopping the function of motion detection during acquisition of a background image or during pan, tilt, and zoom operations.

特許第4396708号公報Japanese Patent No. 4396708

パン・チルト等の雲台の駆動中や、ズーム、赤外線カットフィルター等のレンズの駆動中においては、背景画像が変化してしまうため、動体検知、不動体検知が間違った結果になってしまう。このため、特許文献1では、パン、チルト、ズームの動作中は動体検知を停止するようにしている。   Since the background image changes during driving of the pan / tilt head or the lens such as zoom and infrared cut filter, the moving object detection and the non-moving object detection result are incorrect. For this reason, in Patent Document 1, moving object detection is stopped during pan, tilt, and zoom operations.

しかしながら、動体検知は制御部とは異なる部分(動体検知部)で処理されており、動体検知を停止する場合は、画像フレームとの同期を取って停止信号を作り、動体検知部に供給しなければならず複雑な構成となる。   However, moving object detection is processed in a different part (moving object detection unit) from the control unit, and when moving object detection is stopped, a stop signal must be generated in synchronization with the image frame and supplied to the moving object detection unit. It must be complicated.

本発明は上記の課題を解決するためになされたものであり、その目的は、雲台やレンズの動作にともなう動体検知等の画像処理の誤検知を簡単な構成で防止できるネットワークカメラシステム、サーバ及びその制御方法、プログラムを提供することである。   SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a network camera system and server that can prevent erroneous detection of image processing such as moving object detection associated with the operation of a pan head or a lens with a simple configuration. And its control method and program.

上記の目的を達成するための本発明によるネットワークカメラシステムは以下の構成を備える。即ち、
撮像部を備えるサーバと、ネットワークを介して前記撮像部を遠隔制御するクライアントからなるネットワークカメラシステムであって、
前記サーバは、
前記撮像部によって入力された画像データから、前記画像データ中の被写体の状態を検知する検知手段と、
前記クライアントから前記サーバに対する駆動命令を受信する受信手段と、
前記被写体の状態として前記検知手段が前記被写体の動きを検知している状態で、前記受信手段が前記駆動命令を受信している場合、フラグの値をONに設定し、前記受信手段が前記駆動命令を受信していない場合に、前記フラグの値をOFFに設定する設定手段と、
前記設定手段で設定されたフラグの値に応じて、前記検知手段による検知処理中であることを示すイベント情報の前記クライアントへの通知を制限する制限手段と
を備える。
In order to achieve the above object, a network camera system according to the present invention comprises the following arrangement. That is,
A network camera system comprising a server including an imaging unit and a client for remotely controlling the imaging unit via a network,
The server
Detection means for detecting a state of a subject in the image data from the image data input by the imaging unit;
Receiving means for receiving a drive command for the server from the client;
When the detection unit detects the movement of the subject as the state of the subject and the reception unit receives the drive command, a flag value is set to ON, and the reception unit performs the drive. A setting means for setting the value of the flag to OFF when no command is received;
Limiting means for limiting notification to the client of event information indicating that detection processing is being performed by the detection means, in accordance with the value of the flag set by the setting means.

本発明によれば、雲台やレンズの動作にともなう動き検知等の画像処理の誤検知を簡単な構成で防止できるネットワークカメラシステム、サーバ及びその制御方法、プログラムを提供することができる。   According to the present invention, it is possible to provide a network camera system, a server, a control method therefor, and a program that can prevent erroneous detection of image processing such as motion detection accompanying the operation of a pan head or a lens with a simple configuration.

実施形態1のネットワークカメラシステムの構成図である。1 is a configuration diagram of a network camera system of Embodiment 1. FIG. 実施形態1のネットワークカメラシステムの機能構成図である。1 is a functional configuration diagram of a network camera system according to a first embodiment. 実施形態1のフラグの動作を示すフローチャートである。3 is a flowchart illustrating the operation of a flag according to the first embodiment. 実施形態2のフラグの動作を示すフローチャートである。10 is a flowchart illustrating the operation of a flag according to the second embodiment. 実施形態2のフラグの動作を示すタイミングチャートである。10 is a timing chart illustrating an operation of a flag according to the second embodiment.

以下、本発明の実施の形態について図面を用いて詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

<実施形態1>
図1は実施形態1のネットワークカメラシステムの構成図である。
<Embodiment 1>
FIG. 1 is a configuration diagram of a network camera system according to the first embodiment.

このネットワークカメラシステム(画像配信システム)は、撮像部101を備えるサーバ100と、サーバ100を介して撮像部101を遠隔制御可能なクライアント120からなる。サーバ100において、撮像部101はズーム、フォーカス、露出等に関する制御回路(不図示)を備え、光学系(レンズ等)を自動的に制御して最適な画像を撮影する。雲台部102は撮像部101をパン、チルト方向に駆動して所望のアングルに位置決めする。   The network camera system (image distribution system) includes a server 100 including an imaging unit 101 and a client 120 that can remotely control the imaging unit 101 via the server 100. In the server 100, the imaging unit 101 includes a control circuit (not shown) regarding zoom, focus, exposure, and the like, and automatically controls an optical system (lens and the like) to capture an optimal image. The camera platform 102 drives the imaging unit 101 in the pan and tilt directions to position it at a desired angle.

サーバ100は画像処理部103、符号化部104、CPU105、ROM106、RAM107、レンズ制御部108、雲台制御部109を備え、これらは内部バスを通じて接続される。また、通信部110を通じてネットワーク130に画像データや装置の状態を送信したり、制御信号を受信したりする機能を備える。   The server 100 includes an image processing unit 103, an encoding unit 104, a CPU 105, a ROM 106, a RAM 107, a lens control unit 108, and a pan head control unit 109, which are connected through an internal bus. In addition, it has a function of transmitting image data and the state of the apparatus to the network 130 through the communication unit 110 and receiving a control signal.

符号化部104は画像データの符号化を行う。画像データの符号化の方式としては、JPEGやH.264等の手法があるが、実施形態1では符号化の方式に依存するものではない。クライアント120はサーバ100で撮影した画像を表示可能であり、かつサーバ100の各種状態を遠隔制御することが可能である。   The encoding unit 104 encodes image data. Image data encoding methods include JPEG and H.264. Although there are methods such as H.264, the first embodiment does not depend on the encoding method. The client 120 can display images taken by the server 100 and can remotely control various states of the server 100.

レンズ制御部108は、制御信号に応じて、撮像部101の光学系(レンズ等)を制御する。雲台制御部109は、制御信号に応じて、雲台部102の駆動を制御する。   The lens control unit 108 controls an optical system (such as a lens) of the imaging unit 101 according to the control signal. The pan head control unit 109 controls driving of the pan head unit 102 according to the control signal.

尚、クライアント120は、情報処理装置であるサーバ100と同等のハードウェア構成(CPU、RAM、ROM、記憶装置(ハードディスク)、通信部、表示装置等)を備える情報処理装置である。   The client 120 is an information processing apparatus having a hardware configuration (CPU, RAM, ROM, storage device (hard disk), communication unit, display device, etc.) equivalent to the server 100 that is an information processing apparatus.

次に、撮像制御処理と画像処理の観点から見たハードウェアの機能ブロックを図2に示す。図2は言い換えれば図1における画像データや制御信号の流れを示したものである。このため、図1と同じ表現で機能を説明可能なブロックは同一番号で示す。   Next, FIG. 2 shows functional blocks of hardware viewed from the viewpoint of imaging control processing and image processing. In other words, FIG. 2 shows the flow of image data and control signals in FIG. For this reason, blocks whose functions can be explained by the same expression as in FIG.

サーバ100は撮像部101、雲台部102、画像バッファ201、符号化部104、通信部110、動き検知部202、フラグ制御部203、レンズ制御部108、雲台制御部109を備える。ここで、画像バッファ201は物理的にはRAM107であり、動き検知部202、フラグ制御部203、レンズ制御部108、雲台制御部109は物理的にはCPU105である。   The server 100 includes an imaging unit 101, a pan head unit 102, an image buffer 201, an encoding unit 104, a communication unit 110, a motion detection unit 202, a flag control unit 203, a lens control unit 108, and a pan head control unit 109. Here, the image buffer 201 is physically the RAM 107, and the motion detection unit 202, the flag control unit 203, the lens control unit 108, and the pan head control unit 109 are physically the CPU 105.

画像データの流れを説明する。まず、撮像部101から画像データを取得し画像バッファ201に蓄積する。画像バッファ201に蓄積された画像データは符号化部104で符号化され、通信部110を通じてネットワーク130に送信される。ネットワーク130に接続されたクライアント120は、送信された画像データを受信して表示装置上に表示することや記憶装置に記憶することができる。他方で、画像データは画像バッファ201から動き検知部202にも送信され、ここで画像データの動き検知処理を行う。この動き検知処理により、画像データ中の被写体の状態(動体、不動体の動きの有無等)を検知することが可能である。   The flow of image data will be described. First, image data is acquired from the imaging unit 101 and stored in the image buffer 201. The image data stored in the image buffer 201 is encoded by the encoding unit 104 and transmitted to the network 130 through the communication unit 110. The client 120 connected to the network 130 can receive the transmitted image data and display it on a display device or store it in a storage device. On the other hand, the image data is also transmitted from the image buffer 201 to the motion detection unit 202, where the image data motion detection processing is performed. By this motion detection processing, it is possible to detect the state of a subject (moving object, presence or absence of movement of a non-moving object, etc.) in image data.

画像データの動き検知処理は、例えば、画像データ間の差分により行われる。差分方法としては隣接フレーム間差分法や背景差分法がよく知られている。隣接フレーム間差分法の差分演算として、座標が同じ画素の明度差の絶対値やJPEG符号化ブロック単位でのDCT係数の差の絶対値和等が用いられ、注目領域に関してこれらの差分結果を積算した値が所定の閾値を超えると動きありとする方式がある。しかしながら、本発明は、動き検知の方法に依存するものではない。   The image data motion detection process is performed based on, for example, a difference between image data. As the difference method, the difference method between adjacent frames and the background difference method are well known. As the difference calculation of the difference method between adjacent frames, the absolute value of the brightness difference of the pixels having the same coordinates, the absolute value sum of the differences of DCT coefficients in JPEG encoded block units, etc. are used, and these difference results are integrated for the attention area. There is a method in which there is a movement when the obtained value exceeds a predetermined threshold. However, the present invention does not depend on the motion detection method.

クライアント120は、サーバ100のパン・チルト等の雲台部102に対する駆動命令や、ズーム等の撮像部101に対する駆動命令を送信する。雲台部102に対する駆動命令は通信部110からフラグ制御部203と雲台制御部109を介して送信される。また、撮像部101に対する駆動命令は通信部110からフラグ制御部203とレンズ制御部108を介して送信される。   The client 120 transmits a drive command for the camera platform 102 such as pan / tilt of the server 100 and a drive command for the imaging unit 101 such as zoom. A drive command for the pan head unit 102 is transmitted from the communication unit 110 via the flag control unit 203 and the pan head control unit 109. In addition, a drive command for the imaging unit 101 is transmitted from the communication unit 110 via the flag control unit 203 and the lens control unit 108.

このように、サーバ100は、クライアント120から、駆動部(撮像部101及び雲台部102)に対する駆動命令を受信して、その駆動命令に応じて駆動部(撮像部101及び雲台部102)を駆動する。   As described above, the server 100 receives the drive command for the drive unit (the imaging unit 101 and the camera platform 102) from the client 120, and the drive unit (the imaging unit 101 and the camera platform 102) according to the drive command. Drive.

フラグ制御部203では動き検知部202による被写体の動き検知処理中にクライアント120から雲台部102が制御されているか否かを判定し、この判定結果に応じてフラグの値(ON/OFF)を制御し、符号化部104や通信部110に送信する。   The flag control unit 203 determines whether or not the camera platform 102 is controlled by the client 120 during the subject motion detection process by the motion detection unit 202, and sets a flag value (ON / OFF) according to the determination result. And transmit the data to the encoding unit 104 or the communication unit 110.

実施形態1では、フラグ制御部203で判定されたフラグ情報に応じて、動き検知等のイベント情報を制御することを特徴としており、この処理手順を図3のフローチャートを用いて説明する。   The first embodiment is characterized in that event information such as motion detection is controlled according to the flag information determined by the flag control unit 203, and this processing procedure will be described with reference to the flowchart of FIG.

ステップS301で、サーバ100は、画像バッファ201でフレーム画像データを蓄積する。   In step S <b> 301, the server 100 stores frame image data in the image buffer 201.

ステップS302で、サーバ100は、動き検知部202で、画像データの背景差分等によって、被写体の動き検出処理を実行する。   In step S <b> 302, the server 100 causes the motion detection unit 202 to perform subject motion detection processing based on the background difference of the image data.

ステップS303で、サーバ100は、動き検知部202で、被写体の動きの有無を判定する。動きが無いと判定した場合(ステップS303でNO)、ステップS307で、サーバ100は、フラグ制御部203で、フラグをOFFに設定して、ステップS301で、次のフレーム画像データを取得する。   In step S <b> 303, the server 100 uses the motion detection unit 202 to determine whether or not the subject has moved. If it is determined that there is no movement (NO in step S303), in step S307, the server 100 sets the flag to OFF in the flag control unit 203, and acquires the next frame image data in step S301.

一方、ステップS303で被写体の動きが有ると判定した場合(ステップS303でYES)、サーバ100は、動き検知部202からフラグ制御部203に、被写体の動きを検出したことを示す動き検知情報を送信する。   On the other hand, if it is determined in step S303 that the subject is moving (YES in step S303), the server 100 transmits motion detection information indicating that the motion of the subject is detected from the motion detection unit 202 to the flag control unit 203. To do.

ステップS304で、サーバ100は、フラグ制御部203で、パン・チルト駆動中であるか否かを判定する。つまり、クライアント120からの雲台部102に対する駆動命令を受信して、その駆動命令に従って雲台部102が動作しているか否かを判定する。パン・チルト駆動中でないと判定した場合(ステップS304でNO)、ステップS308で、サーバ100は、通信部110で、被写体の動き検知処理中であることを示すイベント情報をクライアント120へ送信する。ステップS307で、サーバ100は、フラグ制御部203で、フラグをOFFに設定して、ステップS301で、次のフレーム画像データを取得する。   In step S304, the server 100 determines whether the pan / tilt driving is being performed by the flag control unit 203. That is, it receives a drive command for the camera platform 102 from the client 120, and determines whether the camera platform 102 is operating according to the drive command. When it is determined that the pan / tilt drive is not being performed (NO in step S304), in step S308, the server 100 transmits, to the client 120, event information indicating that the subject movement detection process is being performed. In step S307, the server 100 sets the flag to OFF in the flag control unit 203, and acquires the next frame image data in step S301.

一方、ステップS304でパン・チルト駆動中であると判定した場合(ステップS304でYES)、ステップS305で、フラグ制御部203で、フラグをONに設定する。ステップS306で、サーバ100は、フラグの状態がONであるため、被写体の動き検知処理中であることを示すイベント情報のクライアント120への送信を停止する。   On the other hand, if it is determined in step S304 that the pan / tilt drive is being performed (YES in step S304), the flag control unit 203 sets the flag to ON in step S305. In step S306, since the flag state is ON, the server 100 stops transmitting event information indicating that the subject motion detection process is being performed to the client 120.

以上説明したように、実施形態1によれば、被写体の動きが検出された場合に、パン・チルトが駆動しているか否かを判定し、その判定結果に応じてパン・チルトの駆動(駆動命令)の有無を示すフラグを制御する。このフラグの状態に応じて、クライアントへのイベント情報の通知を制限することが可能になる。   As described above, according to the first embodiment, when the movement of the subject is detected, it is determined whether the pan / tilt is driven, and the pan / tilt driving (driving) is performed according to the determination result. The flag indicating the presence or absence of an instruction is controlled. Depending on the state of this flag, notification of event information to the client can be restricted.

尚、本発明は、上記実施形態に限定されるものではない。上述の実施形態においては、被写体の動き検知処理中であることを示すイベント情報の通知を制限する構成であるが、画像処理として物体の置き去り等の不動体検知に適用することも可能である。   The present invention is not limited to the above embodiment. In the above-described embodiment, the notification of the event information indicating that the subject motion detection process is being performed is limited, but the present invention can also be applied to unmoving object detection such as leaving an object as image processing.

また、上述の実施形態においては、フラグの状態に応じてイベント情報の通知を制限する構成であるが、これに限定されない。例えば、フラグの状態に応じて画像データの送信を制御したり、フラグの状態を示すフラグ情報をクライアントに通知して、そのフラグ情報をメッセージ表示したり、記憶することも可能である。   In the above-described embodiment, the notification of event information is limited according to the state of the flag. However, the present invention is not limited to this. For example, it is possible to control the transmission of image data in accordance with the state of the flag, notify the client of flag information indicating the state of the flag, display the message, and store the flag information.

<実施形態2>
実施形態2では、撮像部101の雲台部102や撮像部101の光学系(レンズ)の駆動状態に応じて、フラグを制御するとともに、フラグの制御には所定の遅延時間を適用する場合の処理について説明する。
<Embodiment 2>
In the second embodiment, the flag is controlled according to the driving state of the camera platform 102 of the imaging unit 101 and the optical system (lens) of the imaging unit 101, and a predetermined delay time is applied to the flag control. Processing will be described.

実施形態2のシステム構成については実施形態1で図1および図2を使用して説明した内容と同様である。従って、ここでは、フラグの制御の手順を図4のフローチャートを用いて説明する。   The system configuration of the second embodiment is the same as that described in the first embodiment with reference to FIGS. 1 and 2. Therefore, here, the procedure for controlling the flag will be described with reference to the flowchart of FIG.

ステップS401で、サーバ100は、画像バッファ201でフレーム画像データを蓄積する。   In step S <b> 401, the server 100 accumulates frame image data in the image buffer 201.

ステップS402で、サーバ100は、動き検知部202で、画像データの背景差分等によって、被写体の動き検出処理を実行する。   In step S <b> 402, the server 100 causes the motion detection unit 202 to perform subject motion detection processing based on the background difference of the image data.

ステップS403で、サーバ100は、動き検知部202で、被写体の動きの有無を判定する。動きが無いと判定した場合(ステップS403でNO)、ステップS401で、次のフレーム画像データを取得する。   In step S <b> 403, the server 100 uses the motion detection unit 202 to determine whether or not the subject is moving. If it is determined that there is no motion (NO in step S403), the next frame image data is acquired in step S401.

一方、ステップS403で被写体の動きが有ると判定した場合(ステップS403でYES)、サーバ100は、動き検知部202からフラグ制御部203に、被写体の動きを検出したことを示す動き検知情報を送信する。   On the other hand, when it is determined in step S403 that there is a subject motion (YES in step S403), the server 100 transmits motion detection information indicating that the subject motion is detected from the motion detection unit 202 to the flag control unit 203. To do.

ステップS404で、サーバ100は、フラグ制御部203で、パン・チルト駆動中であるか否かを判定する。つまり、クライアント120からの雲台部102に対する駆動命令を受信して、その駆動命令に従って雲台部102が動作しているか否かを判定する。パン・チルト駆動であると判定した場合(ステップS404でYES)、ステップS410で、サーバ100は、フラグ制御部203で、フラグをONに設定する。そして、ステップS411で、サーバ100は、被写体の動き検知処理中であることを示すイベント情報のクライアント120への送信を停止し、ステップS401で、次のフレーム画像データを取得する。   In step S404, the server 100 uses the flag control unit 203 to determine whether pan / tilt driving is in progress. That is, it receives a drive command for the camera platform 102 from the client 120, and determines whether the camera platform 102 is operating according to the drive command. If it is determined that the pan / tilt drive is selected (YES in step S404), the server 100 sets the flag to ON in the flag control unit 203 in step S410. In step S411, the server 100 stops transmitting event information indicating that the subject motion detection process is being performed to the client 120, and acquires the next frame image data in step S401.

一方、ステップS404でパン・チルトが駆動中でないと判定した場合(ステップS404でNO)、ステップS405で、サーバ100は、フラグ制御部203でレンズ駆動中である否かを判定する。つまり、クライアント120からの撮像部101に対する駆動命令を受信して、その駆動命令に従って撮像部101が動作しているか否かを判定する。ここで、レンズ駆動とは、撮像部101の、ズームや赤外線カットフィルター等のレンズ部、つまり、光学系の駆動を意味する。   On the other hand, when it is determined in step S404 that pan / tilt is not being driven (NO in step S404), the server 100 determines whether the lens is being driven by the flag control unit 203 in step S405. That is, it receives a drive command for the imaging unit 101 from the client 120, and determines whether the imaging unit 101 is operating according to the drive command. Here, the lens driving means driving of a lens unit such as a zoom or an infrared cut filter of the imaging unit 101, that is, an optical system.

レンズ駆動中であると判定した場合(ステップS405でYES)、ステップS410で、サーバ100は、フラグ制御部203で、フラグをONに設定する。そして、ステップS411で、サーバ100は、被写体の動き検知処理中であることを示すイベント情報のクライアントへの送信を停止し、ステップS401で、次のフレーム画像データを取得する。   When it is determined that the lens is being driven (YES in step S405), in step S410, the server 100 sets the flag to ON in the flag control unit 203. In step S411, the server 100 stops transmitting event information indicating that the subject motion detection process is being performed to the client, and in step S401, acquires the next frame image data.

一方、ステップS405でレンズ駆動中でないと判定した場合(ステップS405でNO)、ステップS406で、フラグがONであるか否かを判定する。フラグがOFFであると判定した場合(ステップS406でYES)、ステップS409で、サーバ100は、通信部110で被写体の動き検知処理中であることを示すイベント情報をクライアント120へ送信する。   On the other hand, if it is determined in step S405 that the lens is not being driven (NO in step S405), it is determined in step S406 whether or not the flag is ON. If it is determined that the flag is OFF (YES in step S406), in step S409, the server 100 transmits event information indicating that the subject movement detection process is being performed to the client 120 in the communication unit 110.

一方、ステップS406でフラグがONであると判定した場合(ステップS406でYES)、ステップS408で、サーバ100は、所定時間経過したか否かを判定する。所定時間経過していない場合(ステップS407でNO)、所定時間経過するまで待機する。一方、所定時間経過した場合(ステップS407でYES)、ステップS408で、サーバ100は、フラグ制御部203でフラグをOFFに設定する。ステップS409で、サーバ100は、通信部110で被写体の動き検知処理中であることを示すイベント情報をクライアント120へ送信する。   On the other hand, when it is determined in step S406 that the flag is ON (YES in step S406), in step S408, the server 100 determines whether or not a predetermined time has elapsed. If the predetermined time has not elapsed (NO in step S407), the process waits until the predetermined time elapses. On the other hand, if the predetermined time has elapsed (YES in step S407), the server 100 sets the flag to OFF in the flag control unit 203 in step S408. In step S <b> 409, the server 100 transmits event information indicating that the subject movement detection process is being performed by the communication unit 110 to the client 120.

次に、ステップS407でのフラグの設定の遅延処理について、図5のタイミング図で説明する。   Next, the flag setting delay processing in step S407 will be described with reference to the timing chart of FIG.

図5において、501は雲台制御時間であり、ステップS404で判定されるパン・チルトの駆動の制御時間である。502はレンズ制御時間であり、ステップS405で判定されるレンズの駆動の制御時間である。503はフラグであり、雲台制御とレンズ制御がともに停止している時間にOFFされるが、ONからOFFに切り替わる際に所定の遅延時間504が経過した後にOFFされる。この遅延時間はサーバ100が有するタイマー等の計時部の設定によって変更することが可能であり、例えば、動き検知に必要な背景画像を生成する時間を考慮して設定することが可能である。   In FIG. 5, reference numeral 501 denotes a pan head control time, which is a pan / tilt drive control time determined in step S404. Reference numeral 502 denotes a lens control time, which is a lens drive control time determined in step S405. Reference numeral 503 denotes a flag which is turned OFF when both the pan head control and the lens control are stopped, but is turned OFF after a predetermined delay time 504 has elapsed when switching from ON to OFF. This delay time can be changed by setting a timer such as a timer included in the server 100. For example, the delay time can be set in consideration of a time for generating a background image necessary for motion detection.

以上説明したように、実施形態2によれば、実施形態1で説明した効果に加えて、適切な動き検知処理に必要な時間を確保しつつ、クライアントへのイベント情報の通知を制限することが可能になる。   As described above, according to the second embodiment, in addition to the effects described in the first embodiment, it is possible to restrict notification of event information to the client while securing a time necessary for appropriate motion detection processing. It becomes possible.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。   As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.

尚、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステムまたは装置に供給し、そのシステムまたは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be 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 apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (7)

撮像部を備えるサーバと、ネットワークを介して前記撮像部を遠隔制御するクライアントからなるネットワークカメラシステムであって、
前記サーバは、
前記撮像部からの画像データから、前記画像データ中の被写体の状態を検知する検知手段と、
前記クライアントから前記サーバに対する駆動命令を受信する受信手段と、
前記被写体の状態として前記検知手段が前記被写体の動きを検知している状態で、前記受信手段が前記駆動命令を受信している場合、フラグの値をONに設定し、前記受信手段が前記駆動命令を受信していない場合に、前記フラグの値をOFFに設定する設定手段と、
前記設定手段で設定されたフラグの値に応じて、前記検知手段による検知処理中であることを示すイベント情報の前記クライアントへの通知を制限する制限手段と
を備えることを特徴とするネットワークカメラシステム。
A network camera system comprising a server including an imaging unit and a client for remotely controlling the imaging unit via a network,
The server
Detection means for detecting a state of a subject in the image data from the image data from the imaging unit;
Receiving means for receiving a drive command for the server from the client;
When the detection unit detects the movement of the subject as the state of the subject and the reception unit receives the drive command, a flag value is set to ON, and the reception unit performs the drive. A setting means for setting the value of the flag to OFF when no command is received;
A network camera system comprising: restriction means for restricting notification to the client of event information indicating that detection processing by the detection means is being performed according to a flag value set by the setting means .
前記サーバは、
前記設定手段で設定されたフラグの値に応じて、その値を示すフラグ情報を前記クライアントへ送信する送信手段を更に備え、
前記クライアントは、
前記フラグ情報を受信する受信手段と、
前記受信手段で受信したフラグ情報をメッセージ表示する表示手段を更に備える
ことを特徴とする請求項1に記載のネットワークカメラシステム。
The server
According to the flag value set by the setting means, further comprising: transmission means for transmitting flag information indicating the value to the client;
The client
Receiving means for receiving the flag information;
The network camera system according to claim 1, further comprising display means for displaying a message of flag information received by the receiving means.
前記サーバは、
前記設定手段で設定されたフラグの値に応じて、その値を示すフラグ情報を前記クライアントへ送信する送信手段を更に備え、
前記クライアントは、
前記フラグ情報を受信する受信手段と、
前記受信手段で受信したフラグ情報を記憶する記憶手段を更に備える
ことを特徴とする請求項1に記載のネットワークカメラシステム。
The server
According to the flag value set by the setting means, further comprising: transmission means for transmitting flag information indicating the value to the client;
The client
Receiving means for receiving the flag information;
The network camera system according to claim 1, further comprising storage means for storing flag information received by the receiving means.
遅延時間を設定するための計時手段を更に備え、
前記設定手段は、前記計時手段で設定した遅延時間に応じて、前記フラグをOFFに設定する
ことを特徴とする請求項1に記載のネットワークカメラシステム。
It further comprises a time measuring means for setting the delay time,
The network camera system according to claim 1, wherein the setting unit sets the flag to OFF in accordance with the delay time set by the time measuring unit.
撮像部を備えるサーバと、ネットワークを介して前記撮像部を遠隔制御するクライアントからなるネットワークカメラシステムにおけるサーバであって、
前記撮像部からの画像データから、前記画像データ中の被写体の状態を検知する検知手段と、
前記クライアントから前記サーバに対する駆動命令を受信する受信手段と、
前記被写体の状態として前記検知手段が前記被写体の動きを検知している状態で、前記受信手段が前記駆動命令を受信している場合、フラグの値をONに設定し、前記受信手段が前記駆動命令を受信していない場合に、前記フラグの値をOFFに設定する設定手段と、
前記設定手段で設定されたフラグの値に応じて、前記検知手段による検知処理中であることを示すイベント情報の前記クライアントへの通知を制限する制限手段と
を備えることを特徴とするサーバ。
A server in a network camera system comprising a server including an imaging unit and a client for remotely controlling the imaging unit via a network;
Detection means for detecting a state of a subject in the image data from the image data from the imaging unit;
Receiving means for receiving a drive command for the server from the client;
When the detection unit detects the movement of the subject as the state of the subject and the reception unit receives the drive command, a flag value is set to ON, and the reception unit performs the drive. A setting means for setting the value of the flag to OFF when no command is received;
And a restricting means for restricting notification to the client of event information indicating that detection processing by the detecting means is being performed in accordance with a flag value set by the setting means.
撮像部を備えるサーバと、ネットワークを介して前記撮像部を遠隔制御するクライアントからなるネットワークカメラシステムにおけるサーバの制御方法であって、
検知手段が、前記撮像部からの画像データから、前記画像データ中の被写体の状態を検知する検知工程と、
受信手段が、前記クライアントから前記サーバに対する駆動命令を受信する受信工程と、
設定手段が、前記被写体の状態として前記検知工程が前記被写体の動きを検知している状態で、前記受信工程が前記駆動命令を受信している場合、フラグの値をONに設定し、前記受信工程が前記駆動命令を受信していない場合に、前記フラグの値をOFFに設定する設定工程と、
制限手段が、前記設定工程で設定されたフラグの値に応じて、前記検知工程による検知処理中であることを示すイベント情報の前記クライアントへの通知を制限する制限工程と
を備えることを特徴とするサーバの制御方法。
A server control method in a network camera system comprising a server including an imaging unit and a client for remotely controlling the imaging unit via a network,
A detecting step for detecting a state of a subject in the image data from the image data from the imaging unit;
A receiving step for receiving a drive command for the server from the client;
If the setting means detects the movement of the subject as the state of the subject and the reception step receives the drive command, the setting means sets a flag value to ON and the reception A setting step of setting the value of the flag to OFF when the step does not receive the drive command;
A restricting unit comprising: a restricting step of restricting notification to the client of event information indicating that detection processing by the detecting step is being performed according to a value of the flag set in the setting step. Server control method.
撮像部を備えるサーバと、ネットワークを介して前記撮像部を遠隔制御するクライアントからなるネットワークカメラシステムにおけるサーバのコンピュータを、
前記撮像部からの画像データから、前記画像データ中の被写体の状態を検知する検知手段と、
前記クライアントから前記サーバに対する駆動命令を受信する受信手段と、
前記被写体の状態として前記検知手段が前記被写体の動きを検知している状態で、前記受信手段が前記駆動命令を受信している場合、フラグの値をONに設定し、前記受信手段が前記駆動命令を受信していない場合に、前記フラグの値をOFFに設定する設定手段と、
前記設定手段で設定されたフラグの値に応じて、前記検知手段による検知処理中であることを示すイベント情報の前記クライアントへの通知を制限する制限手段と
して機能させることを特徴とするプログラム。
A server computer in a network camera system comprising a server including an imaging unit and a client for remotely controlling the imaging unit via a network;
Detection means for detecting a state of a subject in the image data from the image data from the imaging unit;
Receiving means for receiving a drive command for the server from the client;
When the detection unit detects the movement of the subject as the state of the subject and the reception unit receives the drive command, a flag value is set to ON, and the reception unit performs the drive. A setting means for setting the value of the flag to OFF when no command is received;
According to a flag value set by the setting unit, the program functions as a limiting unit that limits notification to the client of event information indicating that detection processing by the detection unit is being performed. .
JP2010230103A 2010-10-12 2010-10-12 Network camera system, server, control method of the same, and program Withdrawn JP2012085125A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010230103A JP2012085125A (en) 2010-10-12 2010-10-12 Network camera system, server, control method of the same, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010230103A JP2012085125A (en) 2010-10-12 2010-10-12 Network camera system, server, control method of the same, and program

Publications (1)

Publication Number Publication Date
JP2012085125A true JP2012085125A (en) 2012-04-26

Family

ID=46243512

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010230103A Withdrawn JP2012085125A (en) 2010-10-12 2010-10-12 Network camera system, server, control method of the same, and program

Country Status (1)

Country Link
JP (1) JP2012085125A (en)

Similar Documents

Publication Publication Date Title
US10306211B2 (en) Remote control of pivotable stereoscopic camera
US10462346B2 (en) Control apparatus, control method, and recording medium
KR20110124139A (en) Control device, camera, method and computer program storage device
JP2008042695A (en) Monitor camera apparatus, monitor camera system, and method of recording monitor camera image
US20170171492A1 (en) Display control apparatus, imaging apparatus, and display control method
US9154693B2 (en) Photographing control apparatus and photographing control method
JP4293236B2 (en) Imaging apparatus and imaging method
JP2011239150A (en) Control apparatus, camera system, and program
JPWO2004075553A1 (en) Imaging system
JP2008301191A (en) Video monitoring system, video monitoring control device, video monitoring control method, and video monitor controlling program
JP5188244B2 (en) Monitoring device and monitoring method
JP4442571B2 (en) Imaging apparatus and control method thereof
JP6157220B2 (en) Output device and method
CA2889614A1 (en) System and method of precision remote ptz control of ip cameras
JP2012085125A (en) Network camera system, server, control method of the same, and program
JP2014236313A (en) Display controller, display control system, program
KR100761817B1 (en) A ccd camera system for effectively tracking a motion of objects and a method thereof
JP2018198399A (en) Information processing apparatus, information processing system, information processing method, and program
JP2012065027A (en) Imaging apparatus and imaging apparatus control method
US20170019635A1 (en) Video image processing apparatus and recording medium
JP2014131211A (en) Imaging apparatus and image monitoring system
JP2004289658A (en) Image pickup system and method for operating image pickup device
US8965171B2 (en) Recording control apparatus, recording control method, storage medium storing recording control program
JP2012019466A (en) Imaging device, control device, control method and image transmission control program
US9762891B2 (en) Terminal device, image shooting system and image shooting method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140107