JP2013012848A - Camera device and control method therefor - Google Patents
Camera device and control method therefor Download PDFInfo
- Publication number
- JP2013012848A JP2013012848A JP2011143299A JP2011143299A JP2013012848A JP 2013012848 A JP2013012848 A JP 2013012848A JP 2011143299 A JP2011143299 A JP 2011143299A JP 2011143299 A JP2011143299 A JP 2011143299A JP 2013012848 A JP2013012848 A JP 2013012848A
- Authority
- JP
- Japan
- Prior art keywords
- image
- initialization
- image analysis
- detected
- changing
- 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
Links
Images
Landscapes
- Closed-Circuit Television Systems (AREA)
- Studio Devices (AREA)
Abstract
Description
本発明はカメラ装置、カメラ装置の制御方法及びプログラムに関し、特に、撮影画像から特定の画像パターンを検出する際に用いて好適な技術に関する。 The present invention relates to a camera device, a camera device control method, and a program, and more particularly to a technique suitable for use in detecting a specific image pattern from a captured image.
ネットワークカメラには、カメラの撮影方向をユーザーの指示に基づいて自由に設定可能なパン、チルト、ローテーション駆動機構を備えているタイプがある。このユーザーの指示は、パーソナルコンピュータ(PC)などクライアントからの操作によりネットワークを経由して行われ、リモートによりカメラの撮影方向や画角の設定が可能となっている。 Some network cameras include a pan, tilt, and rotation drive mechanism that can freely set the shooting direction of the camera based on user instructions. This user instruction is performed via a network by an operation from a client such as a personal computer (PC), and the camera shooting direction and angle of view can be set remotely.
撮影方向や画角の変更を遠隔地からのリモート操作で行う場合、ユーザーは、専用ビューワーを用いてモニターに表示される撮影画像を見ながらパン、チルト、ローテーションの移動操作を行う。このため、直感的に移動方向を把握できない場合がある。例えば、カメラが壁に設置されている場合などでは、チルト角度によってはパン操作で画像が回転してしまったり、また、パン角度によってはチルト操作で画像が垂直方向や水平方向に移動してしまったりする。 When changing the shooting direction and angle of view by remote operation from a remote location, the user performs pan, tilt, and rotation movement operations while viewing the shot image displayed on the monitor using a dedicated viewer. For this reason, the movement direction may not be intuitively understood. For example, when the camera is installed on a wall, the image may be rotated by pan operation depending on the tilt angle, or the image may be moved vertically or horizontally by tilt operation depending on the pan angle. I'll be relaxed.
このような不都合を解消するために、例えば特許文献1には、撮影方向を設定するための構図パターンを複数記憶しておき、カメラで撮影された画像を解析して、ユーザーが指示した構図パターンの位置に自動的に方向制御を行うような技術が開示されている。さらに、特許文献2には、画像解析の応用例としてカメラの姿勢のずれを認識して自動的に位置を補正する技術も開示されている。 In order to eliminate such inconvenience, for example, Patent Document 1 stores a plurality of composition patterns for setting the shooting direction, analyzes an image shot by the camera, and indicates a composition pattern instructed by the user. A technique is disclosed in which direction control is automatically performed at the position. Furthermore, Patent Document 2 discloses a technique for recognizing a camera posture shift and automatically correcting the position as an application example of image analysis.
特許文献1及び2に開示された従来技術では、目的とする被写体が撮影画角内に予め入っている場合は、所望の構図にするために微調整を行う。ところが、被写体が画角に入っていない場合は、パン、チルト動作により被写体を探す必要があるため、撮影可能領域の全空間をスキャンする必要があり、被写体を探すまで多くの時間がかかってしまう。 In the prior arts disclosed in Patent Documents 1 and 2, fine adjustment is performed to obtain a desired composition when the target subject is within the shooting angle of view in advance. However, when the subject is not within the angle of view, it is necessary to search for the subject by panning and tilting operations, so it is necessary to scan the entire space of the shootable area, and it takes a lot of time to search for the subject. .
そして、カメラの電源を投入した直後においては、まずパン、チルト、ローテーションの初期化動作で原点位置の検出動作を行う必要があるため、さらにその時間も必要になってしまう。 Immediately after turning on the power of the camera, it is necessary to perform the operation of detecting the origin position by the initializing operation of pan, tilt, and rotation.
本発明は前述の問題点に鑑み、特定の被写体を検出してその方向に撮影方向を変更するまでの設定を短時間に行うことができるようにすることを目的としている。 In view of the above-described problems, an object of the present invention is to enable setting in a short time until a specific subject is detected and the shooting direction is changed to that direction.
本発明のカメラ装置は、撮像手段と、前記撮像手段により画像を撮影しながら前記撮像手段の駆動機構の設定を初期化する初期化手段と、前記撮像手段の駆動機構により撮影方向を変更する変更手段と、前記撮影した画像を解析して所定の画像パターンを検出する画像解析手段と、前記画像解析手段により検出された所定の画像パターンに係る情報を記憶する記憶手段とを備え、前記画像解析手段は、前記初期化手段による初期化が行われている間に、前記撮影した画像を解析し、前記初期化手段による初期化が行われている間に、前記画像解析手段により前記所定の画像パターンが検出された場合に、前記変更手段は、前記初期化手段による初期化が終了した後に、前記記憶手段に記憶された情報に基づいて前記所定の画像パターンを画像に含む方向へ撮影方向を変更することを特徴とする。 The camera device of the present invention includes an imaging unit, an initialization unit that initializes a setting of a driving mechanism of the imaging unit while capturing an image by the imaging unit, and a change that changes a shooting direction by the driving mechanism of the imaging unit. Means for analyzing the photographed image to detect a predetermined image pattern, and storage means for storing information relating to the predetermined image pattern detected by the image analysis means. The means analyzes the captured image while the initialization by the initialization means is being performed, and the predetermined image is analyzed by the image analysis means while the initialization is being performed by the initialization means. When the pattern is detected, the changing unit displays the predetermined image pattern based on the information stored in the storage unit after the initialization by the initialization unit is completed. And changes a shooting direction to direction including.
本発明によれば、撮影方向の設定を短時間に行うことができ、カメラの設置及び設定作業の時間を短縮することができる。 According to the present invention, the setting of the shooting direction can be performed in a short time, and the time for camera installation and setting work can be shortened.
以下、本発明の好ましい実施形態について、添付の図面に基づいて詳細に説明する。
(第1の実施形態)
図2は、本実施形態におけるネットワークカメラシステムの接続形態の一例を示す図である。
図2において、ネットワークカメラ201〜204はそれぞれ、LAN回線205を通じてインターネット網206に接続されている。ネットワークカメラ201〜204で撮影された映像データは、LAN回線205を経由してインターネット網206から後述のクライアントへ配信される。
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
(First embodiment)
FIG. 2 is a diagram illustrating an example of a connection form of the network camera system in the present embodiment.
In FIG. 2, each of the network cameras 201 to 204 is connected to the
クライアントである映像ビューワー装置207、208は、別のLAN回線210を通じてインターネット網206に接続されている。映像ビューワー装置207、208は、例えばパーソナルコンピュータ(PC)で動作するアプリケーションや家庭用デジタルTV、移動体端末などである。また、映像ビューワー装置207、208は、ネットワークカメラ201〜204から配信された映像データをリアルタイムに再生して表示する機能を有している。さらに、撮影条件の設定やパン・チルト・ズーム操作などのカメラ制御を行うためのUI(ユーザーインターフェース)を有している。
さらに、LAN回線210には、録画サーバー装置209が接続されており、ネットワークカメラ201〜204から配信された映像データを内蔵のハードディスクに常時記録している。録画サーバー装置209は、サーバーPCで動作する専用録画アプリケーションで構成されていてもよく、専用ハードウェアであってもよい。また、録画サーバー装置209で記録されている映像データをネットワークに配信して、前述の映像ビューワー装置207、208で再生、表示することが可能なネットワークカメラシステムであってもよい。
Further, a
このネットワークカメラシステムにおいて、カメラの撮影方向を制御する場合、クライアントである映像ビューワー装置207、208での操作によって、操作コマンドがLAN回線210を通じてインターネット網206に送信される。そして、LAN回線205を介してネットワークカメラ201〜204へ操作コマンドが送られ、この操作コマンドに従ってパン、チルト、ローテーションの動作を実行する。
In this network camera system, when the shooting direction of the camera is controlled, an operation command is transmitted to the
図1は、本実施形態におけるネットワークカメラ100の全体構成例を示すブロック図である。図2に示すネットワークカメラ201〜204はいずれも、図1に示す構成であるものとする。以下、図1に示す各構成について、ネットワークカメラ201で撮影された映像データをインターネット網206に配信するまでの処理とともに説明する。
FIG. 1 is a block diagram illustrating an example of the overall configuration of a
レンズ部101から取り込まれた光学映像は、CCD部102でRGBデジタルデータに変換され、信号処理部103へ送られる。信号処理部103は、RGBデジタルデータをYCbCr4:2:0フォーマット、またはYCbCr4:2:2フォーマットのデジタルデータ(映像データ)に変換する。さらに、信号処理部103は要求された送信映像の画像サイズへの変換処理、各種フィルター処理などを行う。そして、処理された映像データを、画像解析部104と符号化部105とへ送る。
The optical image captured from the
符号化部105は、入力された映像データが動画データである場合はMPEG4フォーマットへ符号化圧縮し、静止画データである場合はJPEGフォーマットへ符号化圧縮する。通信処理部106は、符号化部105で符号化されたMPEG4方式の動画データ、またはJPEG方式の静止画データをTCP/IP、HTTPまたはRTPなどのネットワークプロトコルに従って、LAN回線205を介してインターネット網206に配信する。
The
一方、画像解析部104は、入力された映像データを解析し、画像中に目的とする被写体や指定条件の画像パターンが含まれているかどうかを検出する。なお、信号処理部103、画像解析部104、符号化部105、及び通信処理部106は、後述のCPU111と接続されており、CPU111の制御により前述した処理が実行される。
On the other hand, the
カメラ制御部107は、モーター駆動部108、及びレンズ駆動部110と接続されている。カメラ制御部107は、後述のCPU111からの指示に従ってパン、チルト、ローテーション動作のための制御信号や、ズームやAF(オートフォーカス)動作のための制御信号を出力する。
The
モーター駆動部108は、モーター駆動回路などを備えており、カメラ制御部107からの制御信号に従って駆動機構であるパン・チルト・ローテーションモーター109を駆動し、モーターの回転によって撮影方向を変えることができる。また、レンズ駆動部110は、ズーム、AFなどの各制御を行うためのモーターとモーター駆動回路とを備えており、カメラ制御部107からの制御信号に従って制御される。
The
CPU(中央演算処理装置)111は、後述のROM112に格納されている制御プログラムコードを実行することにより、ネットワークカメラ100全体の動作を制御する。また、CPU111は、信号処理部103、画像解析部104、符号化部105、及び通信処理部106と接続されており、各構成に対して動作の開始・停止、動作条件の設定、動作結果の取得などを実行し、各構成を制御する。さらに、CPU111には、ROM(リードオンリーメモリ)112、及びRAM(ランダムアクセスメモリ)113が接続されている。なお、CPU111の動作については、フローチャートを参照しながら後述する。
A CPU (central processing unit) 111 controls the overall operation of the
ROM112には、CPU111がアプリケーション処理などの制御を行うためのプログラムコードやデータが格納されている。RAM113は、CPU111がROM112に格納されたプログラムを実行する際に、データの書き込み、読み出しを行うためのメモリである。RAM113には、CPU111が装置制御におけるプログラムの実行に用いるワークエリア、一時退避エリアなどが備えられている。
The
図3は、ネットワークカメラ201〜204の外観構成例を示す斜視図である。
図3において、カメラベース部303上の撮像手段であるレンズ部301はパン、チルト、ローテーション機構を備えている。
FIG. 3 is a perspective view showing an external configuration example of the network cameras 201 to 204.
In FIG. 3, a
矢印304〜306は、それぞれの動作方向を示している。矢印304はパンの動作方向を示しており、カメラベース部303の上部が回転することにより、レンズ部301そのものが回転する機構となっている。矢印305はチルトの動作方向を示しており、レンズ部301の両端で支持する部分に備えられた回転機構307により、水平方向から垂直方向へレンズ部301を移動させることができる。また、矢印306はローテーションの動作方向を示しており、レンズ内部の回転機構により画像の回転が可能となる。また、ドーム部302は、レンズ部301を保護するための透明のドームカバーである。
図4は、ネットワークカメラ100において、撮影方向を制御する処理手順の一例を示すフローチャートである。なお、図4に示す各処理は、CPU111の制御により行われる。以下の説明では、ネットワークカメラ201から映像ビューワー装置207に映像データを配信する例について説明する。
図4において、ネットワークカメラ201の電源が投入されると、処理を開始する。そして、S401において、画像配信処理を開始する。画像配信処理は、図1で説明したように、レンズ部101及びCCD部102を経由して取り込まれた映像データを信号処理部103及び符号化部105を経由して通信処理部106から配信する処理である。
FIG. 4 is a flowchart illustrating an example of a processing procedure for controlling the shooting direction in the
In FIG. 4, when the network camera 201 is powered on, the processing is started. In step S401, image distribution processing is started. As described with reference to FIG. 1, the image distribution process distributes video data captured via the
次に、S402において、通信処理部106から初期化指示を受け取るまで待機する。ここで、初期化指示とは、映像ビューワー装置207においてネットワークカメラ201が撮影する方向を自動設定するための初期化ボタンが操作されることにより、映像ビューワー装置207から送信される指示である。
In step S <b> 402, the process waits until an initialization instruction is received from the
初期化指示を受け取ると、S403において、画像解析機能を有効にする処理を実行する。具体的には、画像解析部104に対して画像解析によって検出する対象物を設定し、解析処理を開始する処理を実行する。ここで、所定の画像パターンとして検出対象物となりうる対象物の画像データや、キーワード、特定の明るさ、色などの特徴情報が予め記憶されており、これらの特徴情報における条件を設定したり、画像パターンを予め登録したりする。これにより、撮影画像に対して画像分析、画像認識、画像比較などの処理を行い、条件にあてはまる、または一致するかどうかを検出する。このとき、初期設定としてズームを広角ポジションに設定する。
When the initialization instruction is received, processing for enabling the image analysis function is executed in S403. Specifically, an object to be detected by image analysis is set for the
次に、S404において、CPU111は初期化手段として機能し、パン位置の初期化動作として原点位置の検出処理を実行する。この処理では、モーター駆動部108におけるパン駆動部をスキャンして原点用センサーを検出し、その検出位置を原点位置として登録する。このとき、モーター駆動部108によりパン・チルト・ローテーションモーター109を駆動して、パン方向を動かす。なお、モーター駆動部108によりクライアントからの移動指示によるパン方向の移動量は、この原点位置を基準として計算される。
In step S <b> 404, the
次に、S405において、原点用センサー位置(原点)を検出したか否かを判定する。この判定の結果、パン方向の原点を検出した場合はS408へ進み、パン方向の原点を検出していない場合はS406に進む。 Next, in S405, it is determined whether or not the origin sensor position (origin) has been detected. If the origin of the pan direction is detected as a result of this determination, the process proceeds to S408, and if the origin of the pan direction is not detected, the process proceeds to S406.
S406においては、S403で開始した画像解析により対象物を検出したかどうかを判定する。この判定の結果、対象物を検出した場合は、S407において、検出位置の情報をRAM113に記憶し、S404の原点検出動作へ戻る。また、S407の判定の結果、対象物を検出しなかった場合もS404へ戻る。以上のようにパン方向の原点位置が検出されるまでS404からS407の処理を繰り返す。
In S406, it is determined whether or not the object has been detected by the image analysis started in S403. If the object is detected as a result of this determination, in S407, information on the detected position is stored in the
S405の判定の結果、パン方向の原点を検出した場合は、パン方向の原点位置の検出処理を終了し、次に、S408において、チルト位置の初期化動作として原点位置の検出処理を実行する。この処理では、パンの場合と同様に、モーター駆動部108におけるチルト駆動部をスキャンして原点用センサーを検出し、その検出位置を原点位置として登録する。このとき、モーター駆動部108によりパン・チルト・ローテーションモーター109を駆動して、チルト方向を動かす。
If the origin of the pan direction is detected as a result of the determination in S405, the origin position detection process in the pan direction is terminated. Next, in S408, the origin position detection process is executed as the tilt position initialization operation. In this process, as in the case of panning, the tilt driving unit in the
次に、S409において、原点用センサー位置(原点)を検出したか否かを判定する。この判定の結果、チルト方向の原点を検出した場合はS412へ進み、チルト方向の原点を検出していない場合はS410に進む。 Next, in S409, it is determined whether or not the origin sensor position (origin) has been detected. If the origin in the tilt direction is detected as a result of this determination, the process proceeds to S412. If the origin in the tilt direction is not detected, the process proceeds to S410.
S410においては、S403で開始した画像解析により対象物を検出したかどうかを判定する。この判定の結果、対象物を検出した場合は、S411において、検出位置の情報をRAM113に記憶し、S408の原点検出動作へ戻る。また、S410の判定の結果、対象物を検出しなかった場合もS408へ戻る。以上のようにパンと同様にチルト方向の原点位置が検出されるまでS408からS411の処理を繰り返す。
In S410, it is determined whether or not the object is detected by the image analysis started in S403. If the object is detected as a result of this determination, in S411, information on the detected position is stored in the
S409の判定の結果、チルト方向の原点を検出した場合は、次に、S412において、ローテーション位置の初期化動作として原点位置の検出処理を実行する。この処理では、パン、チルトの場合と同様に、モーター駆動部108におけるローテーション駆動部をスキャンして原点用センサーを検出し、その検出位置を原点位置として登録する。
If the origin in the tilt direction is detected as a result of the determination in S409, next, the origin position detection process is executed as the rotation position initialization operation in S412. In this process, as in the case of pan and tilt, the rotation drive unit in the
次に、S413において、原点用センサー位置(原点)を検出したか否かを判定する。この判定の結果、ローテーション方向の原点を検出した場合はS414へ進み、ローテーション方向の原点を検出していない場合はS412へ戻り、原点検出動作を繰り返す。 Next, in S413, it is determined whether or not the origin sensor position (origin) has been detected. If the origin in the rotation direction is detected as a result of this determination, the process proceeds to S414. If the origin in the rotation direction is not detected, the process returns to S412 and the origin detection operation is repeated.
次に、S414においては、原点検出動作中に対象物が見つかり、対象物の検出位置の情報をRAM113に記憶して検出動作が完了しているか否かを判定する。この判定の結果、検出動作が完了している場合は、S419へ進む。そして、S419において、カメラ制御部107は変更手段として機能し、モーター駆動部108によりパン・チルト・ローテーションモーター109を駆動してパン、チルト、ローテーション方向を制御する。そして、登録されている対象物の位置にカメラの向きを移動させる処理を実行する。その後、S401へ戻る。
Next, in S414, an object is found during the origin detection operation, and information on the detection position of the object is stored in the
一方、S414の判定の結果、対象物の検出が完了していない場合は、S415において、撮影可能な全領域でのスキャンが終了しているか否かを判定する。S404におけるパン方向の原点検出動作、及びS408におけるチルト方向の原点検出動作においては、それぞれパン方向に移動する軌跡、及びチルト方向に移動する軌跡を順次スキャンしていく。ところが、検出操作前のレンズ部301の状態によっては、全軌跡を移動する前に原点が検出される場合もあるため、スキャン残しが発生する可能性がある。このような場合に、スキャンが行われていない領域についても、対象物が存在するかどうかを確認する必要がある。
On the other hand, if the detection of the object is not completed as a result of the determination in S414, it is determined in S415 whether or not the scan in the entire imageable region has been completed. In the origin detection operation in the pan direction in S404 and the origin detection operation in the tilt direction in S408, the trajectory moving in the pan direction and the trajectory moving in the tilt direction are sequentially scanned. However, depending on the state of the
S415の判定の結果、全領域のスキャンが完了している場合は、S418においてエラー処理を実行する。エラーが発生する場合とは、全領域をスキャンしても対象物が検出できなかった場合であり、撮影可能領域に所望の対象物が存在していない、もしくは何らかのトラブルにより検出がうまくいかなかったなどのケースが考えられる。そこでS418では、通信処理部106からエラーを示す情報を映像ビューワー装置207に送信する。そして、映像ビューワー装置207側では、ユーザーに対してエラーメッセージを表示したり、映像配信処理を停止したりするなどのエラー処理を実行する。
If the result of determination in S415 is that the entire area has been scanned, error processing is executed in S418. An error occurs when the object cannot be detected even after scanning the entire area. The desired object does not exist in the imageable area, or the detection failed due to some trouble. Such a case can be considered. In step S418, the
S415の判定の結果、全領域のスキャンが完了していない場合は、S416へ進む。そして、S416において、モーター駆動部108によりパン・チルト・ローテーションモーター109を駆動してパン方向及びチルト方向を制御し、残った領域をスキャンしながら対象物の検出処理を行う。そして、S417において、対象物を検出したかどうかを判定する。この判定の結果、対象物を検出した場合は、S419へ進み、対象物を検出しなかった場合は、再びS415へ戻りスキャンを繰り返す。
As a result of the determination in S415, if the entire area has not been scanned, the process proceeds to S416. In step S416, the pan / tilt /
ここでパン、チルト方向の制御において、対象物を検出する場合、原点を検出する場合、及びカメラの向きを対象物の方向へ移動させる場合の内部処理について詳細に説明する。 Here, in the control of the pan and tilt directions, an internal process when detecting an object, when detecting an origin, and when moving the camera in the direction of the object will be described in detail.
映像ビューワー装置207から初期化指示を受け取ると、まずレンズ部101の現在のパン位置を仮の原点として記憶しておく。ここで、S404で原点を検出するためにパン方向の駆動が開始されると、パン方向の移動に従って移動量に応じた値が仮原点を基準とした現在値として更新されていく。このときに対象物が検出されると、S407でその検出位置を仮の対象物の検出位置として記憶する。その後、原点が検出されると、その位置を原点として記憶し、初期位置で記憶していた仮原点との差分を対象物の検出位置でも補正して、対象物の検出位置とする。S419では補正された対象物の位置へ移動制御を行う。
When an initialization instruction is received from the
チルト動作についても、前述のパン動作と同様の処理により対象物の位置への移動が可能となる。 With respect to the tilting operation, it is possible to move the object to the position by the same processing as the panning operation described above.
また、S403の画像解析においては、検出する対象として特定のマークを認識するようにしてもよい。図6は、検出する対象となるマーク601の一例を示す図である。図6に示すマーク601は、上下の判断ができるように矢印が上方向に向いており、このマーク601の矢印の向きに合わせてローテーションを制御することができる。このマーク601を検出対象物として設定すると、上下方向において正しい撮影方向を自動的に調整することが可能となる。このように、ネットワークカメラ201の撮影範囲内であって、このマーク601が描かれた物体(例えばスタンド)を意図的に撮影したい位置に設置することにより、正確な撮影方向を制御することが可能となる。
In the image analysis of S403, a specific mark may be recognized as a detection target. FIG. 6 is a diagram illustrating an example of a
また、S404でパン位置の初期化動作として原点位置の検出処理を実行する場合、チルト角を水平方向にした状態で行うようにすることが好ましい。図7は、図3のネットワークカメラの横から見た外観構成例を示す概念図である。 Further, when the origin position detection process is executed as the pan position initialization operation in S404, it is preferable that the tilt angle be set in the horizontal direction. FIG. 7 is a conceptual diagram showing an external configuration example viewed from the side of the network camera of FIG.
図7においては、レンズ部301が水平方向に向いた水平状態のレンズ部701と、レンズ部301が垂直方向に向いた垂直状態のレンズ部702とを示している。撮影画角703は、水平状態のレンズ部701の画角であり、撮影画角704は、垂直状態のレンズ部702の画角を表している。図7で示すように、水平状態でパン動作を行うと水平位置で全周を撮影することが可能となり、撮影領域が広くなる。一方、垂直状態でパン動作を行うと、レンズがその位置のまま回転するため撮影画像が回転するのみとなってしまい、撮影領域はほぼ同一の位置となってしまう。このように水平状態でパン動作を行うことにより全撮影領域のカバー率が高くなり、対象物が検出される可能性が高くなる。
FIG. 7 shows a
また、前述したように、S402で初期化処理の指示を受信すると、画像解析を行いながらパン、チルト、ローテーション方向の原点検出処理を実行する。このとき、レンズ部301が移動しながら撮影するため、シャッター速度が遅くなり撮影画像にぶれが発生してしまうことがある。ぶれが発生した画像を用いて対象物の検出処理を行った場合、画像解析の精度が低くなってしまい、対象物を検出できない場合が増加する可能性がある。
As described above, when an instruction for initialization processing is received in step S402, origin detection processing in the pan, tilt, and rotation directions is performed while performing image analysis. At this time, since the
そこで、CPU111が撮影制御手段として機能し、原点の検出と対象物の検出とを同時に実行している間は、通常の撮影よりもシャッター速度を高速にして画像のブレを少なくするような制御を行うことが好ましい。シャッター速度を高速にすると暗い場所での撮影の場合にゲインを上げるが必要があり、その結果、ノイズ成分が増加する。このため、観賞用の画像としては適していないが、高周波成分を使用しないような画像解析を行うことにより、精度を大きく損なうことなく対象物を検出することができる。
Therefore, while the
以上のように本実施形態によれば、初期化処理としてパン方向及びチルト方向の原点位置を検出している間に対象物を検出した場合、その検出位置の情報をRAM113に記憶し、初期化が終了した後に、その対象物が映る方向へ撮影方向を変更するようにした。これにより、撮影方向の設定を短時間に行うことができ、カメラの設置及び設定作業の時間を短縮することができる。
As described above, according to the present embodiment, when the object is detected while the origin position in the pan direction and the tilt direction is detected as the initialization process, the information on the detected position is stored in the
(第2の実施形態)
第1の実施形態では、撮影画像から対象物を検出し、原点検出動作が終了した後に、カメラの向きを対象物の位置まで移動する例について説明した。一方、対象物の検出において画像解析による物体認識や画像比較の技術を用いているため、検出の精度によってはユーザーが求めている対象物が正確に検出されていない場合がある。この場合、図4のS419で撮影方向を自動的に検出位置に移動してしまうと、誤検出であった場合に撮影方向を再設定しなければならなくなり、再設定に余分な時間がかかってしまう。そこで本実施形態では、対象物を検出した場合に、映像ビューワー装置側で検出位置における撮影画像を表示し、ユーザー側でカメラの方向を選択して、ネットワークカメラが所望でない撮影方向に向いてしまうことを防止する例について説明する。なお、本実施形態の基本的な構成及び処理手順は第1の実施形態と同様であり、第1の実施形態と異なる点についてのみ説明する。
(Second Embodiment)
In the first embodiment, an example has been described in which an object is detected from a captured image and the camera is moved to the position of the object after the origin detection operation is completed. On the other hand, since object recognition or image comparison technology based on image analysis is used for detecting an object, the object desired by the user may not be accurately detected depending on the detection accuracy. In this case, if the shooting direction is automatically moved to the detection position in S419 in FIG. 4, it is necessary to reset the shooting direction in the case of erroneous detection, and it takes extra time for resetting. End up. Therefore, in this embodiment, when an object is detected, a captured image at the detection position is displayed on the video viewer device side, and the camera direction is selected on the user side, so that the network camera is directed to an undesired shooting direction. An example of preventing this will be described. Note that the basic configuration and processing procedure of the present embodiment are the same as those of the first embodiment, and only differences from the first embodiment will be described.
図5は、パン方向及びチルト方向の原点の検出が終了した時点で、映像ビューワー装置207側で表示される画面501の一例を示す図である。
図5に示す画面501において、検出された対象物の候補となる位置で撮影された画像502〜504が表示されており、画像502が選択状態となっている。また、画面501の下側には、左カーソルボタン505及び右カーソルボタン507が表示されており、左カーソルボタン505または右カーソルボタン507を選択することにより画像の選択状態が左右に移動する。そして目的の被写体(対象物)を含む画像が選択された状態で決定ボタン506が選択されると撮影方向が確定される。
FIG. 5 is a diagram illustrating an example of a
On the
なお、対象物の候補となる位置で撮影された画像については、ネットワークカメラ201から配信される映像データの中から映像ビューワー装置207側で選択するようにしてもよく、S407やS411で記憶した検出位置における画像を表示してもよい。
Note that an image captured at a position that is a candidate for an object may be selected on the
ネットワークカメラ201では、S409の判定の結果、チルト方向の原点を検出した場合に、その旨の情報を映像ビューワー装置207に送信する。そして、映像ビューワー装置207は、その旨の情報を受信したことに応じて図5に示す画面を表示する。映像ビューワー装置207で画像が選択されると、その情報をネットワークカメラ201に送信し、ネットワークカメラ201は、その画像に対応するパン、チルト、ローテーションの位置情報をRAM113に記憶する。そして、S419では、RAM113に記憶した選択画像の位置情報に基づいてレンズ部301の位置を移動させる。
If the network camera 201 detects the origin in the tilt direction as a result of the determination in S409, the network camera 201 transmits information to that effect to the
以上のように本実施形態によれば、ユーザーが撮影方向を選択することができるため、ユーザーが求めている対象物が正確に検出されていない場合であっても、簡単にその方向へ撮影方向を移動させることができる。 As described above, according to the present embodiment, since the user can select the shooting direction, the shooting direction can be easily set in that direction even when the target object desired by the user is not accurately detected. Can be moved.
(その他の実施形態)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other embodiments)
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.
101 レンズ
104 画像解析部
107 カメラ制御部
108 モーター駆動部
109 パン・チルト・ローテーションモーター
111 CPU
113 RAM
113 RAM
Claims (9)
前記撮像手段により画像を撮影しながら前記撮像手段の駆動機構の設定を初期化する初期化手段と、
前記撮像手段の駆動機構により撮影方向を変更する変更手段と、
前記撮影した画像を解析して所定の画像パターンを検出する画像解析手段と、
前記画像解析手段により検出された所定の画像パターンに係る情報を記憶する記憶手段とを備え、
前記画像解析手段は、前記初期化手段による初期化が行われている間に、前記撮影した画像を解析し、
前記初期化手段による初期化が行われている間に、前記画像解析手段により前記所定の画像パターンが検出された場合に、前記変更手段は、前記初期化手段による初期化が終了した後に、前記記憶手段に記憶された情報に基づいて前記所定の画像パターンを画像に含む方向へ撮影方向を変更することを特徴とするカメラ装置。 Imaging means;
Initialization means for initializing settings of a drive mechanism of the imaging means while taking an image by the imaging means;
Changing means for changing the shooting direction by the drive mechanism of the imaging means;
Image analysis means for analyzing the captured image and detecting a predetermined image pattern;
Storage means for storing information relating to the predetermined image pattern detected by the image analysis means,
The image analysis means analyzes the captured image while the initialization by the initialization means is being performed,
When the predetermined image pattern is detected by the image analysis means while the initialization by the initialization means is being performed, the changing means, after the initialization by the initialization means is completed, A camera apparatus, wherein a photographing direction is changed to a direction including the predetermined image pattern in an image based on information stored in a storage unit.
前記撮像手段の駆動機構により撮影方向を変更する変更工程と、
前記撮影した画像を解析して所定の画像パターンを検出する画像解析工程とを備え、
前記画像解析工程においては、前記初期化工程における初期化が行われている間に、前記撮影した画像を解析し、
前記初期化工程における初期化が行われている間に、前記画像解析工程において前記所定の画像パターンが検出された場合に、前記変更工程においては、前記初期化工程における初期化が終了した後に、前記画像解析工程において検出された所定の画像パターンに係る情報に基づいて前記所定の画像パターンを画像に含む方向へ撮影方向を変更することを特徴とするカメラ装置の制御方法。 An initialization step of initializing the setting of the drive mechanism of the imaging means while taking an image by the imaging means;
A changing step of changing the shooting direction by the drive mechanism of the imaging means;
An image analysis step of analyzing the captured image and detecting a predetermined image pattern,
In the image analysis step, while the initialization in the initialization step is being performed, the captured image is analyzed,
When the predetermined image pattern is detected in the image analysis step while the initialization in the initialization step is performed, in the change step, after the initialization in the initialization step is completed, A method for controlling a camera device, comprising: changing a shooting direction to a direction including an image of the predetermined image pattern based on information on the predetermined image pattern detected in the image analysis step.
前記撮像手段の駆動機構により撮影方向を変更する変更工程と、
前記撮影した画像を解析して所定の画像パターンを検出する画像解析工程とをコンピュータに実行させ、
前記画像解析工程においては、前記初期化工程における初期化が行われている間に、前記撮影した画像を解析し、
前記初期化工程における初期化が行われている間に、前記画像解析工程において前記所定の画像パターンが検出された場合に、前記変更工程においては、前記初期化工程における初期化が終了した後に、前記画像解析工程において検出された所定の画像パターンに係る情報に基づいて前記所定の画像パターンを画像に含む方向へ撮影方向を変更することを特徴とするプログラム。 An initialization step of initializing the setting of the drive mechanism of the imaging means while taking an image by the imaging means;
A changing step of changing the shooting direction by the drive mechanism of the imaging means;
Causing the computer to execute an image analysis step of analyzing the captured image and detecting a predetermined image pattern;
In the image analysis step, while the initialization in the initialization step is being performed, the captured image is analyzed,
When the predetermined image pattern is detected in the image analysis step while the initialization in the initialization step is performed, in the change step, after the initialization in the initialization step is completed, A program for changing a photographing direction to a direction including the predetermined image pattern in an image based on information on the predetermined image pattern detected in the image analysis step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011143299A JP2013012848A (en) | 2011-06-28 | 2011-06-28 | Camera device and control method therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011143299A JP2013012848A (en) | 2011-06-28 | 2011-06-28 | Camera device and control method therefor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013012848A true JP2013012848A (en) | 2013-01-17 |
Family
ID=47686373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011143299A Withdrawn JP2013012848A (en) | 2011-06-28 | 2011-06-28 | Camera device and control method therefor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013012848A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190057876A (en) * | 2017-11-21 | 2019-05-29 | (주)도요테크놀러지 | A flame detector with multi-axis rotation structure |
JP2020203337A (en) * | 2019-06-17 | 2020-12-24 | 株式会社ディスコ | Processing device |
-
2011
- 2011-06-28 JP JP2011143299A patent/JP2013012848A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190057876A (en) * | 2017-11-21 | 2019-05-29 | (주)도요테크놀러지 | A flame detector with multi-axis rotation structure |
KR101993658B1 (en) * | 2017-11-21 | 2019-06-27 | (주)도요테크놀러지 | A flame detector with multi-axis rotation structure |
JP2020203337A (en) * | 2019-06-17 | 2020-12-24 | 株式会社ディスコ | Processing device |
JP7323341B2 (en) | 2019-06-17 | 2023-08-08 | 株式会社ディスコ | processing equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8638372B2 (en) | Image capture unit with changeable image capture direction | |
JP5514506B2 (en) | Intruder monitoring system and intruder monitoring method | |
US20110228044A1 (en) | Imaging apparatus, imaging method and recording medium with program recorded therein | |
JP5251779B2 (en) | Portable electronic device, control method, program, imaging system | |
JP2004318823A (en) | Information display system, information processing apparatus, pointing device and pointer mark displaying method in information display system | |
JP6380787B2 (en) | IMAGING DEVICE, CAMERA, DISPLAY DEVICE, IMAGING METHOD, DISPLAY METHOD, AND PROGRAM | |
JP2012034150A (en) | Camera device, camera system, control device and program | |
US20150381887A1 (en) | Image pickup system and image pickup method | |
KR20180129667A (en) | Display control apparatus, display control method, and storage medium | |
EP2006857A1 (en) | Image processing apparatus, image processing method and program | |
JP4865587B2 (en) | Stationary imaging device | |
US8692879B2 (en) | Image capturing system, image capturing device, information processing device, and image capturing method | |
CN110351475B (en) | Image pickup system, information processing apparatus, control method therefor, and storage medium | |
JP5820210B2 (en) | IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD | |
WO2014034023A1 (en) | Image processing apparatus, image processing method, and computer program | |
JP6374535B2 (en) | Operating device, tracking system, operating method, and program | |
JP2013012848A (en) | Camera device and control method therefor | |
JP4172352B2 (en) | Imaging apparatus and method, imaging system, and program | |
JP2004088558A (en) | Monitoring system, method, program, and recording medium | |
JP2015012550A (en) | Imaging apparatus and imaging system | |
JP5410870B2 (en) | camera | |
JP6824061B2 (en) | Imaging apparatus, control methods, programs, and storage media executed by the imaging apparatus. | |
JP2013090196A (en) | Imaging apparatus, imaging apparatus control method, and program | |
JP2004088559A (en) | Monitoring system, method, program, and recording medium | |
JP2019140566A (en) | Information processing apparatus, information processing method, and program |
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: 20140902 |