JP2019033469A - Imaging apparatus, control method, and program - Google Patents

Imaging apparatus, control method, and program Download PDF

Info

Publication number
JP2019033469A
JP2019033469A JP2018090439A JP2018090439A JP2019033469A JP 2019033469 A JP2019033469 A JP 2019033469A JP 2018090439 A JP2018090439 A JP 2018090439A JP 2018090439 A JP2018090439 A JP 2018090439A JP 2019033469 A JP2019033469 A JP 2019033469A
Authority
JP
Japan
Prior art keywords
metadata
imaging apparatus
generation
setting
generation frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018090439A
Other languages
Japanese (ja)
Other versions
JP7250433B2 (en
Inventor
尚佳 丸橋
Hisaka Maruhashi
尚佳 丸橋
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 US16/056,213 priority Critical patent/US10848666B2/en
Publication of JP2019033469A publication Critical patent/JP2019033469A/en
Application granted granted Critical
Publication of JP7250433B2 publication Critical patent/JP7250433B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Image Analysis (AREA)

Abstract

To generate metadata of a captured image at an appropriate frequency.SOLUTION: An imaging apparatus includes setting means for setting the generation frequency of metadata based on the type of metadata to be given to a captured image and control means for performing control to generate metadata at the generation frequency set by the setting means.SELECTED DRAWING: Figure 5

Description

本発明は、撮像装置、制御方法及びプログラムに関する。   The present invention relates to an imaging apparatus, a control method, and a program.

近年、監視カメラのような設置型の撮像装置を用いて映像を取得し、取得した映像からユーザが要求している情報を容易に確認できるようになっている。ユーザが必要としている映像や情報を提供するためには、映像や撮像装置から取得できるメタデータを付加しておく必要があり、複数の種類のメタデータが必要となる。メタデータを生成するためには、メタデータの種類に応じて、物体検知、色抽出、文字認識、顔認識等様々な画像解析処理が必要となる。   In recent years, it has become possible to easily acquire information requested by a user from an acquired image by using a stationary imaging device such as a surveillance camera. In order to provide video and information required by the user, it is necessary to add video and metadata that can be acquired from the imaging device, and a plurality of types of metadata are required. In order to generate metadata, various image analysis processes such as object detection, color extraction, character recognition, and face recognition are required depending on the type of metadata.

特許文献1には、撮像装置と外部の解析サーバとの間でやり取りを行い、解析サーバにメタデータ解析可能な分野(人用、車用等)がある場合には、解析サーバが処理を行い、不可能な場合には撮像装置が処理を行う技術が開示されている。   In Patent Document 1, when an imaging device and an external analysis server perform exchange, and there is a field (for humans, vehicles, etc.) in which the analysis server can analyze metadata, the analysis server performs processing. In the case where it is impossible, a technique is disclosed in which the imaging apparatus performs processing.

特開2010−273125号公報JP 2010-273125 A

しかしながら、撮像装置のリソースは限られているため、メタデータの生成を頻繁に行うと、撮像装置に対して必要以上に負荷をかけることになる。また、撮像装置によって得られた画像の質は、常に良好であるとは限らず、撮影時の設定条件や設置場所の環境によって低下することがあり、この場合には、メタデータの信頼度は低い可能性がある。   However, since the resources of the imaging device are limited, if the metadata is generated frequently, the imaging device is overloaded. In addition, the quality of the image obtained by the imaging device is not always good, and may deteriorate depending on the setting conditions at the time of shooting and the environment of the installation location.In this case, the reliability of the metadata is There is a low possibility.

本発明はこのような問題点に鑑みなされたもので、撮像画像のメタデータを適切な頻度で生成するよう制御することを目的とする。   The present invention has been made in view of such a problem, and an object thereof is to perform control so that metadata of a captured image is generated at an appropriate frequency.

そこで、本発明は、撮像装置であって、撮像画像に対して付与するメタデータの種類に基づいて、前記メタデータの生成頻度を設定する設定手段と、前記設定手段により設定された生成頻度で、前記メタデータを生成するよう制御する制御手段とを有することを特徴とする。   Therefore, the present invention provides an imaging apparatus, wherein a setting unit that sets a generation frequency of the metadata based on a type of metadata to be added to a captured image, and a generation frequency set by the setting unit. And control means for controlling to generate the metadata.

本発明によれば、撮像画像のメタデータを適切な頻度で生成するよう制御することができる。   ADVANTAGE OF THE INVENTION According to this invention, it can control to produce | generate the metadata of a captured image with appropriate frequency.

第1の実施形態に係る撮像装置のハードウェア構成図である。It is a hardware block diagram of the imaging device which concerns on 1st Embodiment. 撮像装置の機能構成図である。It is a functional lineblock diagram of an imaging device. メタデータの種類の一例を示す図である。It is a figure which shows an example of the kind of metadata. 設定処理を示すフローチャートである。It is a flowchart which shows a setting process. 第1の調整処理を示すフローチャートである。It is a flowchart which shows a 1st adjustment process. 第2の調整処理を示すフローチャートである。It is a flowchart which shows a 2nd adjustment process. メタデータの生成頻度の増減の一例を示す図である。It is a figure which shows an example of increase / decrease in the production | generation frequency of metadata. 装置設定処理を示すフローチャートである。It is a flowchart which shows an apparatus setting process. 第3の調整処理を示すフローチャートである。It is a flowchart which shows a 3rd adjustment process. メタデータ用領域毎の生成頻度設定処理を示すフローチャートである。It is a flowchart which shows the generation frequency setting process for every area | region for metadata. 送信頻度設定処理を示すフローチャートである。It is a flowchart which shows a transmission frequency setting process. メタデータの表示例を示す図である。It is a figure which shows the example of a display of metadata.

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

(第1の実施形態)
図1は、第1の実施形態に係る撮像装置100のハードウェア構成図である。図1において、レンズ群101は、被写体からの入射した光を撮像素子103上に集光する光学系である。レンズ群101には、被写体に対するピント合わせを行うフォーカスレンズや、画角を調整するズームレンズ等が含まれる。レンズ群101を通過した光は光学フィルタ102を通過し、撮像素子103に入射する。光学フィルタ102として、例えば赤外線カットフィルタ(IRCF)等が設置されている。そして撮像映像の情報は、撮像素子103の受光面の画素毎に所定の順序で配列されたカラーフィルタを通り、撮像素子103で受光される。撮像素子103は、撮影対象の映像をアナログ信号として出力する。
(First embodiment)
FIG. 1 is a hardware configuration diagram of the imaging apparatus 100 according to the first embodiment. In FIG. 1, a lens group 101 is an optical system that condenses incident light from a subject on an image sensor 103. The lens group 101 includes a focus lens that focuses on the subject, a zoom lens that adjusts the angle of view, and the like. The light that has passed through the lens group 101 passes through the optical filter 102 and enters the image sensor 103. As the optical filter 102, for example, an infrared cut filter (IRCF) or the like is installed. The information of the captured image is received by the image sensor 103 through a color filter arranged in a predetermined order for each pixel on the light receiving surface of the image sensor 103. The image sensor 103 outputs an image to be captured as an analog signal.

撮像素子103で結像された映像は、AGC104でゲインコントロールされ映像信号の輝度の調整が行われ、A/D変換部105でアナログ信号からデジタル信号に変換される。映像信号処理部106は、A/D変換部105からのデジタル信号に所定の処理を施し、画素毎の輝度信号と色信号を出力し、出力用の映像を作るとともに、撮像装置100の制御を行うための各パラメータを作成する。撮像装置100の制御を行うためのパラメータとしては、例えば絞りの制御や、ピント合わせの制御、色味を調整するホワイトバランス制御において使用されるパラメータが挙げられる。   The video image formed by the image sensor 103 is gain-controlled by the AGC 104 and the luminance of the video signal is adjusted, and is converted from an analog signal to a digital signal by the A / D converter 105. The video signal processing unit 106 performs predetermined processing on the digital signal from the A / D conversion unit 105, outputs a luminance signal and a color signal for each pixel, creates an output video, and controls the imaging device 100. Create each parameter to do. Examples of parameters for controlling the imaging apparatus 100 include parameters used in aperture control, focus adjustment control, and white balance control for adjusting color.

露出制御部107は、映像信号処理部106から出力される輝度情報から撮影画面内の輝度情報を算出し、撮像画像を所望の明るさに調整すべく絞り及びAGCを制御する。操作部108は、ユーザ操作を受け付ける。振れ検出部109は、撮像装置100の振れの有無及び振れの量を検出する。振れ検出部109は、例えば加速度センサである。制御部110は、撮像装置100の全体を制御する。通信部120は、外部装置の通信部121との通信を行う。通信部120は、例えば、映像信号処理部106で作成された映像信号を外部装置に送信する。また、通信部120から、撮像装置100で生成したメタデータを外部装置に送信してもよい。外部装置は、制御部122で通信部121から受信した映像信号やメタデータを処理し、表示部123で映像やメタデータを表示する。   The exposure control unit 107 calculates luminance information in the shooting screen from the luminance information output from the video signal processing unit 106, and controls the aperture and AGC to adjust the captured image to a desired brightness. The operation unit 108 receives user operations. The shake detection unit 109 detects the presence / absence of shake of the imaging apparatus 100 and the amount of shake. The shake detection unit 109 is, for example, an acceleration sensor. The control unit 110 controls the entire imaging apparatus 100. The communication unit 120 communicates with the communication unit 121 of the external device. For example, the communication unit 120 transmits the video signal created by the video signal processing unit 106 to an external device. Further, the metadata generated by the imaging device 100 may be transmitted from the communication unit 120 to an external device. The external device processes the video signal and metadata received from the communication unit 121 by the control unit 122, and displays the video and metadata by the display unit 123.

制御部110のCPU111は、ROM112に記憶された制御プログラムを読み出して各種処理を実行する。RAM113は、CPU111の主メモリ、ワークエリア等の一時記憶領域として用いられる。なお、後述する撮像装置100の機能や処理は、CPU111がROM112に格納されているプログラムを読み出し、このプログラムを実行することにより実現されるものである。また、他の例としては、CPU111は、ROM112等に替えて、SDカード等の記録媒体に格納されているプログラムを読み出してもよい。   The CPU 111 of the control unit 110 reads the control program stored in the ROM 112 and executes various processes. The RAM 113 is used as a temporary storage area such as a main memory or work area for the CPU 111. Note that the functions and processing of the imaging apparatus 100 described later are realized by the CPU 111 reading a program stored in the ROM 112 and executing this program. As another example, the CPU 111 may read a program stored in a recording medium such as an SD card instead of the ROM 112 or the like.

また、他の例としては、撮像装置100の機能や処理の少なくとも一部は、例えば複数のCPU、RAM、ROM、及びストレージを協働させることにより実現してもよい。また、他の例としては、撮像装置100の機能や処理の少なくとも一部は、ハードウェア回路を用いて実現してもよい。   As another example, at least a part of the functions and processing of the imaging apparatus 100 may be realized by, for example, cooperating a plurality of CPUs, RAMs, ROMs, and storages. As another example, at least a part of the functions and processing of the imaging apparatus 100 may be realized using a hardware circuit.

図2は、撮像装置100の機能構成図である。画像解析部201は、映像信号処理部106により得られた映像に対し画像解析処理を施す。画像解析処理としては、物体認識、動体検知、色抽出、顔認識、文字認識等が挙げられる。メタデータ生成部202は、画像解析部201の解析結果からメタデータを生成し、これを映像に付加する。なお、メタデータを映像に対応付けるための具体的な方法は実施形態に限定されるものではない。他の例としては、メタデータ生成部202は、映像とメタデータに、両者を紐付けるような識別子を割り当ててもよい。ここで、メタデータ生成部202によるメタデータを生成する処理は、メタデータを生成するよう制御する制御処理及びメタデータを生成する生成処理の一例である。   FIG. 2 is a functional configuration diagram of the imaging apparatus 100. The image analysis unit 201 performs image analysis processing on the video obtained by the video signal processing unit 106. Examples of the image analysis processing include object recognition, moving object detection, color extraction, face recognition, character recognition, and the like. The metadata generation unit 202 generates metadata from the analysis result of the image analysis unit 201 and adds it to the video. Note that the specific method for associating the metadata with the video is not limited to the embodiment. As another example, the metadata generation unit 202 may assign an identifier that links the video and metadata to each other. Here, the process of generating metadata by the metadata generation unit 202 is an example of a control process for controlling to generate metadata and a generation process for generating metadata.

生成管理部203は、メタデータ生成部202によるメタデータの生成を管理する。具体的には、生成管理部203は、メタデータの種類毎に、メタデータの生成頻度を設定する。図3は、メタデータの種類の一例を示す図である。本実施形態においては、メタデータは、人体に関するものと車に関するもの、その他に大別されるものとする。人体に関するメタデータとしては、服の色、身長、性別、年齢、移動方向等が挙げられる。また、車に関するメタデータとしては、色、ナンバープレートの表示、車種、移動方向等が挙げられる。その他のメタデータとしては、映像を撮影した撮像装置100のID、設置位置、向き、撮影パラメータ(ズーム、シャッタースピード等)、天候、温度等が挙げられる。また、生成管理部203は、撮像装置100が外部装置にメタデータを送信している場合には、メタデータの送信頻度の設定処理も行う。   The generation management unit 203 manages the generation of metadata by the metadata generation unit 202. Specifically, the generation management unit 203 sets the generation frequency of metadata for each type of metadata. FIG. 3 is a diagram illustrating an example of types of metadata. In the present embodiment, the metadata is roughly classified into those relating to the human body, those relating to the car, and others. Examples of metadata relating to the human body include clothes color, height, sex, age, and direction of movement. Further, examples of the metadata relating to the vehicle include color, license plate display, vehicle type, moving direction, and the like. Other metadata includes the ID of the image capturing apparatus 100 that captured the video, the installation position, the orientation, the imaging parameters (zoom, shutter speed, etc.), weather, temperature, and the like. In addition, when the imaging apparatus 100 is transmitting metadata to an external apparatus, the generation management unit 203 also performs metadata transmission frequency setting processing.

ここで、例えば、その他のメタデータである撮像装置100のIDや設置位置は、撮影毎に替わることのない不変的なメタデータである。一方で、人が着用する服の色や車のナンバープレートの表示等は撮影毎に替わる可能性のあるメタデータである。不変的なメタデータは、変化する可能性はないため、一度取得してしまえば、何度も生成する必要がない。また、人の服の色、車の色等は、比較的高精度に判別することができるため、繰り返し、メタデータの生成を行う必要がない。一方で、ナンバープレートに表示された文字等の認識や、人物の年齢の推定等の画像解析の精度は、得られた映像に依存するところが大きい。   Here, for example, the ID and the installation position of the image capturing apparatus 100, which are other metadata, are invariant metadata that does not change for each shooting. On the other hand, the color of clothes worn by a person, the display of a license plate of a car, and the like are metadata that may be changed for each shooting. Since immutable metadata is unlikely to change, once it is acquired, it is not necessary to generate it again and again. In addition, since the color of a person's clothes, the color of a car, and the like can be determined with relatively high accuracy, there is no need to repeatedly generate metadata. On the other hand, the accuracy of image analysis, such as recognition of characters and the like displayed on the license plate and estimation of the age of a person, largely depends on the obtained video.

本実施形態の撮像装置100は、図3に示す複数のメタデータを所定の間隔おきに生成し、これを映像に付加する。さらに、撮像装置100は、このメタデータの生成頻度をメタデータ毎に設定する。図4は、撮像装置100による、設定処理を示すフローチャートである。設定処理は、メタデータの生成頻度を設定する処理である。なお、生成頻度設定処理の開始時において、図3に示す各メタデータの生成頻度として、予め設定された初期値が割り当てられており、設定処理では、初期値を適宜増加させることで生成頻度が設定される。   The imaging apparatus 100 according to the present embodiment generates a plurality of metadata shown in FIG. 3 at predetermined intervals and adds them to the video. Furthermore, the imaging apparatus 100 sets the generation frequency of this metadata for each metadata. FIG. 4 is a flowchart showing setting processing by the imaging apparatus 100. The setting process is a process for setting the generation frequency of metadata. Note that at the start of the generation frequency setting process, a preset initial value is assigned as the generation frequency of each metadata shown in FIG. 3. In the setting process, the generation frequency is increased by appropriately increasing the initial value. Is set.

S401において、画像解析部201は、映像を取得する。次に、S402において、画像解析部201は、映像において動体の検出を行う。画像解析部201は、動体が検出された場合には(S402でYes)、処理をS403へ進める。画像解析部201は、動体が検出されなかった場合には(S402でNo)、処理をS401へ進める。S403において、画像解析部201はさらに、動体が人体であるか車であるかの認識処理を行う。画像解析部201は、動体が人体の場合には(S403で人体)、処理をS404へ進める。画像解析部201は、動体が車の場合には(S403で車)、処理をS405へ進める。   In step S401, the image analysis unit 201 acquires a video. In step S402, the image analysis unit 201 detects a moving object in the video. If a moving object is detected (Yes in S402), the image analysis unit 201 advances the process to S403. If no moving object is detected (No in S402), the image analysis unit 201 advances the process to S401. In step S403, the image analysis unit 201 further performs recognition processing to determine whether the moving object is a human body or a car. If the moving body is a human body (human body in S403), the image analysis unit 201 advances the process to S404. If the moving body is a car (car in S403), the image analysis unit 201 advances the process to S405.

S404において、生成管理部203は、人体に関するメタデータの生成頻度をn増加させる。一方、S405においては、生成管理部203は、車に関するメタデータの生成頻度をm増加させる。以上で、処理が終了する。ここで、mは、nよりも大きい値とする。人体と車では、車の方が移動速度が速い。したがって、車に関するメタデータの生成頻度を人体に関するメタデータの生成頻度よりも大きい値に設定する。これにより、速度の速い車に対しても、メタデータを取りこぼすのを防ぐことができる。S403、S404、S405の処理は、物体が動体の場合に、動体でない場合に比べて生成頻度を増加させる処理である。すなわち、S403、S404、S405の処理は、物体の大きさに基づいて生成頻度を設定する処理の一例である。   In step S404, the generation management unit 203 increases the generation frequency of metadata related to the human body by n. On the other hand, in S405, the generation management unit 203 increases the generation frequency of the metadata related to the vehicle by m. This is the end of the process. Here, m is a value larger than n. With humans and cars, cars move faster. Therefore, the generation frequency of the metadata about the car is set to a value larger than the generation frequency of the metadata about the human body. Thereby, it is possible to prevent the metadata from being missed even for a high-speed vehicle. The processes of S403, S404, and S405 are processes that increase the generation frequency when the object is a moving object compared to when the object is not a moving object. That is, the processes of S403, S404, and S405 are an example of a process for setting the generation frequency based on the size of the object.

図5は、撮像装置100による、第1の調整処理を示すフローチャートである。第1の調整処理は、設定処理において設定されたメタデータの生成頻度を調整する処理である。S501において、画像解析部201は、認識された動体の大きさを特定する。次に、S502において、生成管理部203は、S501において特定された動体の大きさと、予め設定された閾値とを比較する。生成管理部203は、動体の大きさが閾値以上の場合には(S502でYes)、処理をS503へ進める。生成管理部203は、動体の大きさが閾値未満の場合には(S502でNo)、処理を終了する。   FIG. 5 is a flowchart showing a first adjustment process by the imaging apparatus 100. The first adjustment process is a process for adjusting the generation frequency of the metadata set in the setting process. In step S501, the image analysis unit 201 identifies the size of the recognized moving object. In step S502, the generation management unit 203 compares the size of the moving object specified in step S501 with a preset threshold value. If the size of the moving object is greater than or equal to the threshold (Yes in S502), the generation management unit 203 advances the process to S503. If the size of the moving object is less than the threshold (No in S502), the generation management unit 203 ends the process.

S503において、生成管理部203は、図3に示すメタデータのうち処理対象のメタデータが第1のグループに属するメタデータであるか否かを確認する。生成管理部203は、第1のグループに属するメタデータである場合には(S503でYes)、処理をS504へ進める。生成管理部203は、第1のグループに属するメタデータでない場合には(S503でNo)、処理を終了する。S504において、生成管理部203は、処理対象のメタデータの生成頻度を所定量だけ増加させる。以上で、処理が終了する。なお、S504の処理は、物体の大きさが閾値以上の場合に、第1のグループのメタデータに、第1のグループのメタデータ以外の他のメタデータに比べて大きい生成頻度を設定する設定処理の一例である。   In step S503, the generation management unit 203 confirms whether the metadata to be processed among the metadata illustrated in FIG. 3 is metadata belonging to the first group. If the metadata belongs to the first group (Yes in S503), the generation management unit 203 advances the process to S504. If the metadata does not belong to the first group (No in S503), the generation management unit 203 ends the process. In step S504, the generation management unit 203 increases the generation frequency of the metadata to be processed by a predetermined amount. This is the end of the process. Note that the processing of S504 is a setting for setting a larger generation frequency in the first group metadata than in other metadata other than the first group metadata when the size of the object is equal to or larger than the threshold. It is an example of a process.

ここで、第1のグループに属するメタデータは、動体の大きさが一定以上の場合にメタデータの精度、信頼度が増すようなメタデータであり、これらのメタデータが第1のグループに属するものとして、撮像装置100において予め設定されているものとする。第1のグループに属するメタデータとしては、例えば、車のナンバープレートの表示や人体の年齢等がある。例えば、ナンバープレートでは、車が大きい方が、文字つぶれ等がなく文字認識し易く、精度が上がり、メタデータの信頼性が向上する。したがって、メタデータの生成頻度を増加することで正確な情報を増やすことができる。一方で、例えば、車の色は、車が小さくても色抽出ができ、また車が大きいからといって精度が向上するとは限らない。このため、大きさが一定以上の場合にも生成頻度を増加させる必要はない。したがって、車の色は、第1のグループには属さないメタデータとして設定される。   Here, the metadata belonging to the first group is metadata that increases the accuracy and reliability of the metadata when the size of the moving object is greater than or equal to a certain level, and these metadata belong to the first group. It is assumed that the image capturing apparatus 100 is set in advance. The metadata belonging to the first group includes, for example, the display of a car license plate and the age of the human body. For example, with a license plate, the larger the car, the easier it is to recognize characters without crushing characters, the accuracy is improved, and the reliability of metadata is improved. Therefore, accurate information can be increased by increasing the generation frequency of metadata. On the other hand, for example, the color of a car can be extracted even if the car is small, and just because the car is large does not necessarily improve the accuracy. For this reason, it is not necessary to increase the generation frequency even when the size is a certain level or more. Therefore, the color of the car is set as metadata that does not belong to the first group.

なお、S504において生成頻度を増加させる程度は特に限定されるものではない。他の例としては、生成管理部203は、S504の処理前に設定されている生成頻度を基準とした所定の割合分増加させてもよい。また、他の例としては、生成管理部203は、大きさに応じて、増加の程度を変化させてもよい。   Note that the degree to which the generation frequency is increased in S504 is not particularly limited. As another example, the generation management unit 203 may increase by a predetermined ratio based on the generation frequency set before the processing of S504. As another example, the generation management unit 203 may change the degree of increase according to the size.

図6は、撮像装置100による、第2の調整処理を示すフローチャートである。第2の調整処理は、第1の調整処理と同様、設定処理において設定されメタデータの生成頻度を調整する処理である。第2の調整処理は、第1の調整処理の後に行われるものとする。他の例としては、第2の調整処理を先に行うこととしてもよい。   FIG. 6 is a flowchart showing the second adjustment process by the imaging apparatus 100. Similar to the first adjustment process, the second adjustment process is a process for adjusting the generation frequency of metadata set in the setting process. It is assumed that the second adjustment process is performed after the first adjustment process. As another example, the second adjustment process may be performed first.

S601において、生成管理部203は、振れ検出部109によって検出された振れ量を取得する。なお、振れ量は、振れ検出部109が検出するのに替えて、画像解析部201が画像から動きベクトルを算出することで得ることとしてもよい。次に、S602において、振れ量と、予め設定された閾値とを比較する。生成管理部203は、振れ量が閾値以上の場合には(S602でYes)、処理をS603へ進める。生成管理部203は、振れ量が閾値未満の場合には(S602でNo)、処理を終了する。   In step S <b> 601, the generation management unit 203 acquires the shake amount detected by the shake detection unit 109. Note that the shake amount may be obtained by the image analysis unit 201 calculating a motion vector from the image instead of being detected by the shake detection unit 109. Next, in step S602, the shake amount is compared with a preset threshold value. If the amount of shake is equal to or greater than the threshold (Yes in S602), the generation management unit 203 advances the process to S603. If the shake amount is less than the threshold (No in S602), the generation management unit 203 ends the process.

S603において、生成管理部203は、図3に示すメタデータのうち、処理対象のメタデータが第2のグループに属するメタデータであるか否かを確認する。生成管理部203は、第2のグループに属するメタデータである場合には(S603でYes)、処理をS604へ進める。生成管理部203は、第2のグループに属するメタデータでない場合には(S603でNo)、処理を終了する。S604において、生成管理部203は、処理対象のメタデータの生成頻度を所定量だけ減少させる。以上で、処理が終了する。なお、S604の処理は、振れ量が閾値以上の場合に、第2のグループのメタデータに、第2のグループのメタデータ以外の他のメタデータに比べて小さい生成頻度を設定する設定処理の一例である。   In step S603, the generation management unit 203 checks whether the metadata to be processed is metadata belonging to the second group among the metadata illustrated in FIG. If the metadata belongs to the second group (Yes in S603), the generation management unit 203 advances the process to S604. If the metadata does not belong to the second group (No in S603), the generation management unit 203 ends the process. In step S604, the generation management unit 203 decreases the generation frequency of the metadata to be processed by a predetermined amount. This is the end of the process. Note that the process of S604 is a setting process for setting a smaller generation frequency in the second group metadata than in other metadata than the second group metadata when the shake amount is equal to or greater than the threshold. It is an example.

ここで、第2のグループに属するメタデータは、振れが生じている場合にメタデータの信頼度が低下するようなメタデータであり、これらのメタデータが第2のグループに属するものとして、撮像装置100において予め設定されているものとする。第2のグループに属するメタデータとしては、例えば、車のナンバープレートの表示がある。ナンバープレートでは、文字がぶれることによって文字認識の精度は低下する。そこで、一定値以上の振れ量を検出した場合、精度の低いメタデータの生成のための処理負荷を軽減すべく、生成頻度を減少させる。一方で、車の色は、画像にぶれが生じていても精度よく抽出することができる。したがって、車の色は、第2のグループには属さないメタデータとして設定される。   Here, the metadata belonging to the second group is metadata that reduces the reliability of the metadata when shake occurs, and it is assumed that these metadata belong to the second group. It is assumed that the device 100 is set in advance. As metadata belonging to the second group, for example, there is a display of a license plate of a car. In the license plate, the accuracy of character recognition decreases when characters are blurred. Therefore, when a shake amount of a certain value or more is detected, the generation frequency is reduced in order to reduce the processing load for generating low-precision metadata. On the other hand, the color of the car can be accurately extracted even if the image is blurred. Therefore, the color of the car is set as metadata that does not belong to the second group.

なお、S604において生成頻度を減少させる程度は特に限定されるものではない。他の例としては、生成管理部203は、S604の処理前に設定されている生成頻度を基準とした所定の割合分を減じることとしてもよい。また、他の例としては、生成管理部203は、振れ量に応じて、減少の程度を変化させてもよい。   Note that the degree of reducing the generation frequency in S604 is not particularly limited. As another example, the generation management unit 203 may reduce a predetermined ratio based on the generation frequency set before the processing of S604. As another example, the generation management unit 203 may change the degree of reduction according to the shake amount.

図7は、設定処理(図3)、第1の調整処理(図5)及び第2の調整処理(図6)によるメタデータの生成頻度の増減の一例を示す図である。第1の調整処理における動体の大きさを検出する処理や第2の調整処理における振れ量を検出する処理は、画像解析処理の一例である。そして、設定処理、第1の調整処理及び第2の調整処理は、画像解析の結果に基づいて、生成頻度を設定する設定処理の一例である。   FIG. 7 is a diagram illustrating an example of increase / decrease in the generation frequency of metadata by the setting process (FIG. 3), the first adjustment process (FIG. 5), and the second adjustment process (FIG. 6). The process of detecting the size of the moving body in the first adjustment process and the process of detecting the shake amount in the second adjustment process are examples of the image analysis process. The setting process, the first adjustment process, and the second adjustment process are examples of the setting process for setting the generation frequency based on the result of the image analysis.

以上のように、第1の実施形態に係る撮像装置100は、メタデータの種類や、画像の解析結果、振れ量等に応じてメタデータの生成頻度を設定する。これにより、撮像装置100は、メタデータの過剰な生成や、メタデータの不足を防ぐような、適切な頻度でメタデータを生成するよう制御することができる。ズーム量や設置環境は頻繁に変更されることはないと想定すると、動体の大きさや振れ量は頻繁には変化しないと考えられる。このため、撮像装置100は、一度設定した生成頻度を使い続けることもできる。   As described above, the imaging apparatus 100 according to the first embodiment sets the generation frequency of metadata according to the type of metadata, the analysis result of the image, the shake amount, and the like. Thereby, the imaging device 100 can control to generate metadata at an appropriate frequency so as to prevent excessive generation of metadata and lack of metadata. Assuming that the zoom amount and the installation environment are not frequently changed, it is considered that the size and the shake amount of the moving object do not change frequently. For this reason, the imaging apparatus 100 can continue to use the generation frequency once set.

第1の実施形態の第1の変形例としては、第1の調整処理(図5)のS504においては、生成頻度を増加することとしている。これは、生成頻度を上げることで、正確な情報を多く蓄積するためである。ただし、大きさが閾値以上で、第1のグループのメタデータである場合には、メタデータの信頼性は高い。このため、メタデータの生成を繰り返す必要がない場合もある。このような場合には、S504において、生成頻度を減少させることとしてもよい。これにより、メタデータの生成に係る処理負荷を軽減することができる。   As a first modification of the first embodiment, the generation frequency is increased in S504 of the first adjustment process (FIG. 5). This is because more accurate information is accumulated by increasing the generation frequency. However, when the size is equal to or larger than the threshold and the metadata is the first group, the reliability of the metadata is high. For this reason, it may not be necessary to repeat the generation of metadata. In such a case, the generation frequency may be decreased in S504. Thereby, it is possible to reduce a processing load related to generation of metadata.

また、第2の変形例としては、生成頻度を設定する際に参照する画像解析結果は、動体の大きさや振れ量に限定されるものではない。他の例としては、低照度時のノイズ等であってもよい。すなわち、撮像装置100は、ノイズに応じて生成頻度を設定してもよい。   As a second modification, the image analysis result referred to when setting the generation frequency is not limited to the size of the moving object or the shake amount. As another example, noise or the like at low illuminance may be used. That is, the imaging apparatus 100 may set the generation frequency according to noise.

第3の変形例としては、撮像装置100は、ユーザ操作に応じて、メタデータの生成頻度を設定してもよい。この場合には、撮像装置100は、ユーザによる設定を優先し、上記のような生成頻度の設定に係る処理は、ユーザにより生成頻度の設定が行われなかった種類のメタデータに対して行うものとする。   As a third modification, the imaging apparatus 100 may set the generation frequency of metadata according to a user operation. In this case, the imaging apparatus 100 gives priority to the setting by the user, and the processing related to the setting of the generation frequency as described above is performed on the type of metadata for which the generation frequency is not set by the user. And

第4の変形例としては、撮像装置100は、図4に示すS402における動体検知の頻度は特に限定されるものではない。例えば、撮像装置100は、動画検知は映像の毎フレームで行い、これ以外の画像解析はメタデータの生成頻度で行うこととしてもよく、また他の例としては、動画検知もメタデータの生成頻度で行うこととしてもよい。   As a fourth modification, the imaging apparatus 100 is not particularly limited in the frequency of moving object detection in S402 illustrated in FIG. For example, the imaging apparatus 100 may perform moving image detection for each frame of the video, and perform other image analysis at the metadata generation frequency. As another example, the moving image detection may be performed at the metadata generation frequency. It is good also to do in.

第5の変形例としては、実施形態においては、メタデータを付加する撮像画像が映像である場合を例に説明いたが、不可する対象は静止画でもよい。   As a fifth modification, in the embodiment, the case where the captured image to which the metadata is added is a video has been described as an example, but the object to be disabled may be a still image.

第6の変形例としては、撮像装置100は、映像中の動体に限らず、静止した物体(人及び車)に対するメタデータに関しても、実施形態において説明した処理により生成頻度を設定してもよい。撮像装置100は、例えば、図5のS501において動体に替えて物体の大きさを取得するようにすればよい。   As a sixth modified example, the imaging apparatus 100 may set the generation frequency not only for moving objects in a video but also for metadata about stationary objects (people and cars) by the process described in the embodiment. . For example, the imaging apparatus 100 may acquire the size of an object instead of a moving object in S501 of FIG.

(第2の実施形態)
次に、第2の実施形態に係る撮像装置100について、第1の実施形態に係る撮像装置100と異なる点について説明する。第2の実施形態に係る撮像装置100は、メタデータの生成処理を適宜外部装置に実行させる。図8は、メタデータの生成処理を実行する装置を設定する装置設定処理を示すフローチャートである。S801において、生成管理部203は、メタデータ生成部202によるメタデータ生成に係る処理負荷が予め設定された閾値以上か否かを確認する。生成管理部203は、処理負荷が閾値以上の場合には(S801でYes)、処理をS802へ進める。生成管理部203は、処理負荷が閾値未満の場合には(S801でNo)、処理をS804進める。生成管理部203は、例えば、メタデータ生成に係る画像解析部201やメタデータ生成部202の処理実行時のリソース使用割合や処理時間を処理負荷の評価値として用いる。
(Second Embodiment)
Next, the difference between the imaging apparatus 100 according to the second embodiment and the imaging apparatus 100 according to the first embodiment will be described. The imaging device 100 according to the second embodiment causes an external device to appropriately execute metadata generation processing. FIG. 8 is a flowchart illustrating a device setting process for setting a device that executes a metadata generation process. In step S <b> 801, the generation management unit 203 confirms whether the processing load related to metadata generation by the metadata generation unit 202 is equal to or greater than a preset threshold value. If the processing load is equal to or greater than the threshold (Yes in S801), the generation management unit 203 advances the process to S802. If the processing load is less than the threshold (No in S801), the generation management unit 203 advances the process to S804. The generation management unit 203 uses, for example, the resource usage ratio and the processing time when executing processing of the image analysis unit 201 and the metadata generation unit 202 related to metadata generation as the evaluation value of the processing load.

S802において、生成管理部203は、処理対象のメタデータに対して設定されている生成頻度を確認する。生成管理部203は、生成頻度が予め設定された閾値以上の場合には(S802でYes)、処理をS803へ進める。生成管理部203は、生成頻度が閾値未満の場合には(S802でNo)、処理をS804へ進める。S803において、生成管理部203は、外部装置をメタデータの生成処理を実行する装置として決定する。以上で処理は終了する。この場合、生成管理部203は、通信部120を介して外部装置に映像と共にメタデータの生成指示を送信する。本処理は、メタデータを生成するよう制御する制御処理の一例である。   In step S <b> 802, the generation management unit 203 checks the generation frequency set for the metadata to be processed. If the generation frequency is greater than or equal to a preset threshold value (Yes in S802), the generation management unit 203 advances the process to S803. If the generation frequency is less than the threshold (No in S802), the generation management unit 203 advances the process to S804. In step S803, the generation management unit 203 determines that the external device is a device that executes metadata generation processing. The process ends here. In this case, the generation management unit 203 transmits a metadata generation instruction together with the video to the external apparatus via the communication unit 120. This process is an example of a control process for controlling to generate metadata.

また、S804において、生成管理部203は、撮像装置100がメタデータ生成に使用可能なリソースが予め設定された閾値以上か否かを確認する。生成管理部203は、リソースが閾値以上の場合には(S804でYes)、処理をS805へ進める。生成管理部203は、リソースが閾値未満の場合には(S804でNo)、処理をS803へ進める。S805において、生成管理部203は、撮像装置100をメタデータの生成処理を実行する装置として決定する。以上で処理は終了する。なお、第2の実施形態に係る撮像装置100のこれ以外の構成及び処理は、第1の実施形態に係る撮像装置100の構成及び処理と同様である。   In step S <b> 804, the generation management unit 203 confirms whether or not the resources that the imaging apparatus 100 can use for metadata generation are equal to or greater than a preset threshold value. If the resource is equal to or greater than the threshold (Yes in S804), the generation management unit 203 advances the process to S805. If the resource is less than the threshold (No in S804), the generation management unit 203 advances the process to S803. In step S805, the generation management unit 203 determines the imaging device 100 as a device that executes metadata generation processing. The process ends here. Note that other configurations and processes of the imaging apparatus 100 according to the second embodiment are the same as the configurations and processes of the imaging apparatus 100 according to the first embodiment.

以上のように、第2の実施形態に係る撮像装置100は、撮像装置100と外部装置とにメタデータの生成処理を分散させることができる。これにより、メタデータの生成処理における負荷が撮影時の機能に影響を及ぼすのを防ぐことができる。   As described above, the imaging device 100 according to the second embodiment can distribute the metadata generation processing to the imaging device 100 and the external device. Thereby, it is possible to prevent the load in the metadata generation process from affecting the function at the time of shooting.

(第3の実施形態)
次に、第3の実施形態について説明する。第3の実施形態においては、画像解析部201は、取得した映像から動体検出を行い、検出した動体毎に、動体を識別するためのIDを取得して付与する。動体の識別情報である物体IDをメタデータとしてもよいが、ここでは動体ID以外のメタデータの生成頻度を設定するために用いている。
(Third embodiment)
Next, a third embodiment will be described. In the third embodiment, the image analysis unit 201 performs moving object detection from the acquired video, and acquires and assigns an ID for identifying the moving object for each detected moving object. Object ID, which is identification information of a moving object, may be used as metadata, but here it is used to set the generation frequency of metadata other than the moving object ID.

図9は、第3の実施形態に係る撮像装置100による、第3の調整処理を示すフローチャートである。S901において、画像解析部201は、動体IDの取得の状態を判定する。画像解析部201は、動体IDを取得していない場合には(S901でNo)、処理をS904へ進める。画像解析部201は、動体IDを取得している場合には(S901でYes)、処理をS902へ進める。S902において、画像解析部201はさらに、取得している動体IDの信頼度を確認する。動体IDの信頼度が予め設定された閾値以上である場合には(S902でYes)、処理をS903へ進める。動体IDの信頼度が予め設定された閾値以上ではない場合には(S902でNo)、処理をS904へ進める。なお、動体IDの信頼度は、各フレーム内において検出された動体の空間的な位置の近さ、あるいは動体の輝度、色の類似度合いなどの公知の手法から算出することができる。   FIG. 9 is a flowchart illustrating a third adjustment process by the imaging apparatus 100 according to the third embodiment. In step S901, the image analysis unit 201 determines the acquisition state of the moving object ID. If the moving object ID has not been acquired (No in S901), the image analysis unit 201 advances the process to S904. If the moving object ID has been acquired (Yes in S901), the image analysis unit 201 advances the process to S902. In step S902, the image analysis unit 201 further confirms the reliability of the acquired moving object ID. If the reliability of the moving object ID is equal to or greater than a preset threshold value (Yes in S902), the process proceeds to S903. If the reliability of the moving object ID is not greater than or equal to the preset threshold value (No in S902), the process proceeds to S904. The reliability of the moving object ID can be calculated from known methods such as the proximity of the spatial position of the moving object detected in each frame, the luminance of the moving object, and the degree of color similarity.

S903において、生成管理部203は、信頼度が予め設定された閾値以上の動体IDを取得している動体のメタデータの生成頻度を所定量だけ減少させる。一方、S904においては、生成管理部203は、メタデータの生成頻度を所定量だけ増加させる。なお、第3の実施形態に係る撮像装置100のこれ以外の構成及び処理は、他の実施形態に係る撮像装置100の構成及び処理と同様である。   In step S <b> 903, the generation management unit 203 decreases the generation frequency of metadata of moving objects that have acquired moving object IDs whose reliability is equal to or higher than a preset threshold by a predetermined amount. On the other hand, in S904, the generation management unit 203 increases the generation frequency of metadata by a predetermined amount. Note that other configurations and processes of the imaging apparatus 100 according to the third embodiment are the same as the configurations and processes of the imaging apparatus 100 according to other embodiments.

異なるフレーム間でも同じ動体IDが付与された動体は、同じ動体とみなすようにすることができる。第3の実施形態においては、同じ動体IDが付与されて同じ動体とみなされた場合、画像解析部201において動体が人であると認識された場合、認識された着用している服の色や年齢といった種類のメタデータを繰り返し生成しないようにする。また、画像解析部201において動体が車であると認識された場合、ナンバープレートや車の色といった種類のメタデータを繰り返し生成しないようにする。   Moving objects to which the same moving object ID is assigned between different frames can be regarded as the same moving object. In the third embodiment, when the same moving object ID is assigned and the moving object is regarded as the same moving object, when the image analyzing unit 201 recognizes that the moving object is a person, Avoid repeatedly generating metadata such as age. Further, when the image analysis unit 201 recognizes that the moving object is a car, it does not repeatedly generate metadata of a type such as a license plate or a car color.

ただし、同じ動体IDが付与されているからといって、一様にメタデータを繰り返し生成しないようにしてしまうと、付与された動体IDが誤っている場合にメタデータを取りこぼしてしまうことになる。そこで、上記のように同じ動体IDが付与されていても、動体IDの信頼度が予め設定された閾値未満と判断された場合には、メタデータの生成頻度を増加することとする。これにより、誤った動体IDが付与されていてもメタデータの取りこぼしを防ぐことができる。   However, even if the same moving object ID is assigned, if metadata is not repeatedly generated uniformly, the metadata will be lost if the assigned moving object ID is incorrect. . Therefore, even if the same moving object ID is given as described above, if it is determined that the reliability of the moving object ID is less than a preset threshold, the frequency of generating metadata is increased. Thereby, even if an incorrect moving object ID is given, it is possible to prevent the metadata from being missed.

また、撮影映像から動体が検出されていても、動体IDの付与を行っていない場合、動体IDによる同一動体かの判断ができないため、IDを付与されている動体よりもメタデータの生成頻度を増加させておく。   Further, even if a moving object is detected from the captured video, if the moving object ID is not assigned, it is impossible to determine whether the moving object ID is the same moving object. Increase it.

一方で、撮影映像から検出された動体に付与された動体IDの精度や信頼度が予め設定された閾値より高いと判断された場合には、異なるフレームにおいて、同一の動体が存在する。そこで、例えば、動体が人であれば年齢や身長といったメタデータは変化する可能性がないと判断することができる。この場合には、メタデータの生成頻度を減少させることで処理負荷を減少させることができ、撮影時の機能に影響を及ぼすのを防ぐことができる。同一動体であると判断しても、変化する可能性がある人の動作方向といったメタデータの生成頻度は減少させないでおく。   On the other hand, if it is determined that the accuracy and reliability of the moving object ID assigned to the moving object detected from the captured video is higher than a preset threshold, the same moving object exists in different frames. Therefore, for example, if the moving object is a person, it can be determined that there is no possibility that metadata such as age and height will change. In this case, it is possible to reduce the processing load by reducing the generation frequency of the metadata, and to prevent the function at the time of shooting from being affected. Even if it is determined that they are the same moving object, the generation frequency of metadata such as the direction of movement of a person who may change may not be decreased.

(第4の実施形態)
次に、第4の実施形態について説明する。第1の実施形態においては、撮像装置100は、取得した映像の全領域を対象として、検出された人や車に対してメタデータの生成頻度の調整を行っていた。これは、メタデータ用領域が映像全体ということを示している。これに対し、第4の実施形態の撮像装置100はメタデータ用領域を映像全体とはせず、部分的なメタデータ用領域を映像の任意の位置に1個又は複数個設定する。任意の位置に設定できるメタデータ用の領域の個数の上限は、予め撮像装置100で設定しておいてもよいし、メタデータの個数やデータ量、メタデータを生成する対象物体の個数から決定してもよい。
(Fourth embodiment)
Next, a fourth embodiment will be described. In the first embodiment, the imaging apparatus 100 adjusts the generation frequency of metadata for the detected person or vehicle for the entire area of the acquired video. This indicates that the metadata area is the entire video. On the other hand, the imaging apparatus 100 according to the fourth embodiment does not set the metadata area as the entire video, but sets one or more partial metadata areas at arbitrary positions in the video. The upper limit of the number of areas for metadata that can be set at an arbitrary position may be set in advance by the imaging apparatus 100, and is determined from the number of metadata, the amount of data, and the number of target objects for generating metadata. May be.

図10は、メタデータ用領域毎の生成頻度設定処理を示すフローチャートである。S1001において、生成管理部203は、メタデータ用領域を設定しない場合には(S1001でNo)、処理を終了する。生成管理部203は、メタデータ用領域を設定する場合には(S1001でYes)、処理をS1002へ進める。生成管理部203は、メタデータ用領域毎でメタデータの生成頻度を異なる頻度に設定しない場合には(S1002でNo)、処理を終了する。生成管理部203は、メタデータ用領域毎でメタデータの生成頻度を異なる頻度に設定する場合には(S1002でYes)、処理をS1003へ進める。生成管理部203は、メタデータ用領域内でイベントが発生していない場合には(S1003でNo)、処理を終了する。生成管理部203は、メタデータ用領域内でイベントが発生した場合には(S1003でYes)、処理をS1004へ進める。S1004において、生成管理部203は、イベントが発生したメタデータ用領域内に存在する動体に関するメタデータの生成頻度を所定量だけ増加させる。   FIG. 10 is a flowchart showing a generation frequency setting process for each metadata area. In S1001, the generation management unit 203 ends the process when the metadata area is not set (No in S1001). When setting the metadata area (Yes in S1001), the generation management unit 203 advances the process to S1002. The generation management unit 203 ends the process when the metadata generation frequency is not set to be different for each metadata area (No in S1002). When the generation management unit 203 sets the metadata generation frequency to be different for each metadata area (Yes in S1002), the process proceeds to S1003. If no event has occurred in the metadata area (No in S1003), the generation management unit 203 ends the process. If an event occurs in the metadata area (Yes in S1003), the generation management unit 203 advances the process to S1004. In step S1004, the generation management unit 203 increases the generation frequency of metadata related to a moving object existing in the metadata area where the event has occurred by a predetermined amount.

メタデータ用領域の任意の位置への設定は、ユーザ操作に応じて複数設定することも可能であり、画像解析部201による画像解析の結果から、自動でメタデータ用領域を設定することも可能である。自動でメタデータ用領域を設定する場合、例えば、画像解析部201は、動体が頻繁に通過する道路や出入り口を画像解析で認識することによって、メタデータ用領域の設定を行う。また、他の例としては、画像解析部201は、動体の数が多くなる領域をメタデータ用領域として設定してもよい。発生するイベントとしては、例えば、物体がある領域に侵入する異常侵入や所定の場所に置かれていた物体が持ち去られることや、物体が置いたままにされる置き去りといったイベントが挙げられる。なお、第4の実施形態に係る撮像装置100のこれ以外の構成及び処理は、他の実施形態に係る撮像装置100の構成及び処理と同様である。   A plurality of metadata areas can be set at any position according to a user operation, and the metadata area can be automatically set based on the result of image analysis by the image analysis unit 201. It is. When the metadata area is automatically set, for example, the image analysis unit 201 sets the metadata area by recognizing a road and a doorway through which moving objects frequently pass through image analysis. As another example, the image analysis unit 201 may set an area where the number of moving objects increases as a metadata area. Examples of the event that may occur include an event such as an abnormal intrusion in which an object enters a certain area, an object that has been placed at a predetermined location is taken away, or an object that is left behind. Note that other configurations and processes of the imaging apparatus 100 according to the fourth embodiment are the same as the configurations and processes of the imaging apparatus 100 according to other embodiments.

上記のように、映像全体ではなく領域を絞り、さらにイベントが発生している部分を対象としてメタデータを生成することで、より効率よくメタデータを取得することが可能となる。   As described above, it is possible to acquire metadata more efficiently by narrowing down an area rather than the entire video and generating metadata for a portion where an event has occurred.

第4の実施形態の第1の変形例としては、生成管理部203は、任意の位置に設定されたメタデータ用領域内に、対象物体の数が、予め設定された閾値以上存在する場合、メタデータの生成頻度を所定量だけ減少させてもよい。これにより、群集監視のようにメタデータ用領域内に対象物体が相当数存在することが予想される場合に、処理負荷を軽減することができる。   As a first modification of the fourth embodiment, the generation management unit 203 has a case where the number of target objects is greater than or equal to a preset threshold in the metadata area set at an arbitrary position. The generation frequency of metadata may be decreased by a predetermined amount. As a result, the processing load can be reduced when a considerable number of target objects are expected to exist in the metadata area as in crowd monitoring.

第4の実施形態の第2の変形例としては、群集監視を想定して、生成管理部203は、対象物体の数が予め設定された閾値以上存在する場合、生成するメタデータの種類を減少させて、さらに生成頻度を所定量だけ減少させてもよい。   As a second modification of the fourth embodiment, assuming that crowd monitoring is performed, the generation management unit 203 reduces the types of metadata to be generated when the number of target objects is greater than or equal to a preset threshold value. Then, the generation frequency may be further decreased by a predetermined amount.

(第5の実施形態)
次に、第5の実施形態について図11を用いて説明する。生成管理部203は、撮像装置100が外部装置と通信を行わない撮像装置単体の構成である場合には(S1101でNo)、処理を終了する。生成管理部203は、撮像装置100と外部装置とが通信を行う構成である場合には(S1101でYes)、処理をS1102へ進める。生成管理部203は、撮像装置100が撮像装置内で生成したメタデータを外部装置へ送信しない場合には(S1102でNo)、処理を終了する。生成管理部203は、撮像装置100が撮像装置内で生成したメタデータを外部装置へ送信する場合には(S1102でYes)、処理をS1103へ進める。
(Fifth embodiment)
Next, a fifth embodiment will be described with reference to FIG. The generation management unit 203 ends the process when the imaging apparatus 100 has a configuration of a single imaging apparatus that does not communicate with an external apparatus (No in S1101). If the image capturing apparatus 100 and the external apparatus communicate with each other (Yes in S1101), the generation management unit 203 advances the process to S1102. If the metadata generated by the imaging apparatus 100 in the imaging apparatus is not transmitted to the external apparatus (No in S1102), the generation management unit 203 ends the process. When the metadata generated by the imaging apparatus 100 in the imaging apparatus is transmitted to the external apparatus (Yes in S1102), the generation management unit 203 advances the process to S1103.

生成管理部203は、撮像装置100から外部装置へ送信するメタデータの量が予め設定された閾値以上ではない場合には(S1103でNo)、処理を終了する。生成管理部203は、撮像装置100から外部装置へ送信するメタデータの量が予め設定された閾値以上である場合には(S1103でYes)、処理をS1104へ進める。S1104において、生成管理部203は、外部装置へ送信するメタデータの送信頻度を所定量だけ減少させる。   If the amount of metadata transmitted from the imaging device 100 to the external device is not equal to or greater than a preset threshold (No in S1103), the generation management unit 203 ends the process. If the amount of metadata transmitted from the image capturing apparatus 100 to the external apparatus is equal to or greater than a preset threshold (Yes in S1103), the generation management unit 203 advances the process to S1104. In step S1104, the generation management unit 203 decreases the transmission frequency of metadata to be transmitted to the external device by a predetermined amount.

撮像装置100から外部装置へメタデータが送信されることによって外部装置側のメタデータが更新される。撮像装置から外部装置間の通信では、メタデータ以外にも映像やデータの送受信を行っているので、メタデータが大量になってしまうと通信を圧迫してしまう。そこで、上記のように外部装置へ送信するメタデータの量が予め設定された閾値以上の場合に送信頻度を減少させることとする。これにより、通信への影響を及ぼすのを防ぐことができる。   The metadata on the external device side is updated by transmitting the metadata from the imaging device 100 to the external device. In communication between an imaging device and an external device, video and data are transmitted and received in addition to metadata. Therefore, if the amount of metadata becomes large, communication is compressed. Therefore, as described above, when the amount of metadata to be transmitted to the external device is equal to or greater than a preset threshold, the transmission frequency is decreased. Thereby, it is possible to prevent the communication from being affected.

第5の実施形態の変形例としては、撮像装置100は、撮像装置から外部装置へメタデータを送信する手段として撮像画像に付加して送信するか、メタデータのみをテキストデータとして別で送信するかを選択してもよい。選択の方法としては、メタデータの生成対象の数が予め設定された閾値より大きい場合は、メタデータのみでテキストデータとして送信する方法を選択してもよい。   As a modified example of the fifth embodiment, the imaging apparatus 100 adds and transmits the captured image as a means for transmitting metadata from the imaging apparatus to the external apparatus, or transmits only the metadata as text data separately. You may choose. As a selection method, when the number of metadata generation targets is larger than a preset threshold value, a method of transmitting text data only with metadata may be selected.

ここまでメタデータの生成頻度の設定に関して述べたが、図12では生成されたメタデータの表示例を示す。図12の上図のように、表示映像とは別にナンバープレートや車種のメタデータを表示する方法や、図12下図のように、表示映像上に重畳してメタデータを表示することも可能であり、ユーザ操作に応じて変更してもよい。   The setting of the metadata generation frequency has been described so far, but FIG. 12 shows a display example of the generated metadata. As shown in the upper diagram of FIG. 12, it is possible to display the license plate and vehicle type metadata separately from the display video, or to display the metadata superimposed on the display video as shown in the lower diagram of FIG. Yes, you may change according to user operation.

以上、本発明の好ましい実施形態について詳述したが、本発明は係る特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   The preferred embodiments of the present invention have been described in detail above, but the present invention is not limited to such specific embodiments, and various modifications can be made within the scope of the gist of the present invention described in the claims.・ Change is possible.

(その他の実施例)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other examples)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

100 撮像装置
201 画像解析部
202 メタデータ生成部
203 生成管理部
DESCRIPTION OF SYMBOLS 100 Imaging device 201 Image analysis part 202 Metadata production | generation part 203 Generation | occurrence | production management part

Claims (25)

撮像画像に対して付加するメタデータの種類に基づいて、前記メタデータの生成頻度を設定する設定手段と、
前記設定手段により設定された生成頻度で、前記メタデータを生成するよう制御する制御手段と
を有することを特徴とする撮像装置。
Setting means for setting the generation frequency of the metadata based on the type of metadata to be added to the captured image;
An imaging apparatus comprising: control means for controlling to generate the metadata at a generation frequency set by the setting means.
前記メタデータを生成する生成手段をさらに有し、
前記制御手段は、前記生成手段による前記メタデータの生成を制御することを特徴とする請求項1に記載の撮像装置。
Further comprising generating means for generating the metadata;
The imaging apparatus according to claim 1, wherein the control unit controls generation of the metadata by the generation unit.
前記撮像画像の画像解析を行う解析手段をさらに有し、
前記設定手段は、さらに前記画像解析の結果に基づいて、前記生成頻度を設定することを特徴とする請求項1又は2に記載の撮像装置。
An analysis unit for performing image analysis of the captured image;
The imaging apparatus according to claim 1, wherein the setting unit further sets the generation frequency based on a result of the image analysis.
前記解析手段は、前記撮像画像に含まれる物体の大きさを特定し、
前記設定手段は、前記物体の大きさに基づいて、前記生成頻度を設定することを特徴とする請求項3に記載の撮像装置。
The analyzing means specifies a size of an object included in the captured image;
The imaging apparatus according to claim 3, wherein the setting unit sets the generation frequency based on a size of the object.
前記設定手段は、前記物体の大きさが閾値以上で、対象のメタデータが予め定められた種類のメタデータである場合に、前記予め設定された種類のメタデータ以外の他のメタデータの生成頻度に比べて大きい値を、前記対象のメタデータの生成頻度として設定することを特徴とする請求項4に記載の撮像装置。   The setting means generates metadata other than the preset type of metadata when the size of the object is equal to or greater than a threshold and the target metadata is a predetermined type of metadata. The imaging apparatus according to claim 4, wherein a value larger than the frequency is set as the generation frequency of the target metadata. 前記解析手段は、前記撮像画像における物体が動体か否かを特定し、
前記設定手段は、前記物体が動体か否かに基づいて、前記生成頻度を設定することを特徴とする請求項3に記載の撮像装置。
The analysis means specifies whether the object in the captured image is a moving object,
The imaging apparatus according to claim 3, wherein the setting unit sets the generation frequency based on whether the object is a moving object.
前記設定手段は、前記物体が動体である場合に、動体でない場合の前記物体に関するメタデータの生成頻度に比べて大きい値を、前記物体に関するメタデータの生成頻度として設定することを特徴とする請求項6に記載の撮像装置。   The setting means sets, when the object is a moving object, a value larger than the generation frequency of the metadata about the object when the object is not a moving object, as the generation frequency of the metadata about the object. Item 7. The imaging device according to Item 6. 前記設定手段は、さらに前記撮像装置の振れ量に基づいて、前記生成頻度を設定することを特徴とする請求項1乃至5の何れか1項に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the setting unit further sets the generation frequency based on a shake amount of the imaging apparatus. 前記設定手段は、前記振れ量が閾値以上で、対象のメタデータが予め設定された種類のメタデータである場合に、前記予め設定された種類のメタデータ以外の他のメタデータの生成頻度に比べて小さい値を、前記対象のメタデータの生成頻度として設定することを特徴とする請求項8に記載の撮像装置。   When the shake amount is equal to or greater than a threshold and the target metadata is a preset type of metadata, the setting unit determines whether to generate metadata other than the preset type metadata. The imaging apparatus according to claim 8, wherein a smaller value is set as a generation frequency of the target metadata. 前記撮像装置の前記振れ量を検知する検知手段をさらに有することを特徴とする請求項8又は9に記載の撮像装置。   The imaging apparatus according to claim 8, further comprising a detection unit configured to detect the shake amount of the imaging apparatus. 前記撮像画像に基づいて、前記振れ量を取得する取得手段をさらに有することを特徴とする請求項8又は9に記載の撮像装置。   The imaging apparatus according to claim 8, further comprising an acquisition unit that acquires the shake amount based on the captured image. 前記メタデータの生成に係る処理負荷に基づいて、前記メタデータの生成処理を行う装置を前記撮像装置とするか外部装置とするかを決定する決定手段をさらに有し、
前記制御手段は、前記決定手段が決定した装置が前記メタデータの生成を行うよう制御
することを特徴とする請求項1乃至10の何れか1項に記載の撮像装置。
Based on a processing load related to the generation of the metadata, further comprising a determination unit that determines whether the device that performs the generation processing of the metadata is the imaging device or an external device;
The imaging apparatus according to claim 1, wherein the control unit controls the apparatus determined by the determination unit to generate the metadata.
前記決定手段は、前記処理負荷が予め設定された閾値以上の場合に、前記生成処理を行う装置を外部装置に決定することを特徴とする請求項12に記載の撮像装置。   13. The imaging apparatus according to claim 12, wherein the determination unit determines an apparatus that performs the generation process as an external apparatus when the processing load is equal to or greater than a preset threshold value. 前記決定手段は、さらにメタデータの生成頻度に基づいて、前記生成処理を行う装置を決定することを特徴とする請求項12に記載の撮像装置。   13. The imaging apparatus according to claim 12, wherein the determination unit further determines an apparatus that performs the generation process based on a generation frequency of metadata. 前記決定手段は、前記処理負荷が予め設定された閾値以上で、かつ前記生成頻度が予め設定された閾値以上の場合に、前記生成処理を行う装置を外部装置に決定することを特徴とする請求項13に記載の撮像装置。   The determination unit determines an apparatus to perform the generation process as an external apparatus when the processing load is equal to or greater than a preset threshold value and the generation frequency is equal to or greater than a preset threshold value. Item 14. The imaging device according to Item 13. 前記解析手段は、前記撮像画像に含まれる物体の識別情報を特定し、
前記設定手段は、前記物体の識別情報の取得の状態に基づいて、前記生成頻度を設定することを特徴とする請求項3に記載の撮像装置。
The analysis means specifies identification information of an object included in the captured image;
The imaging apparatus according to claim 3, wherein the setting unit sets the generation frequency based on a state of acquisition of identification information of the object.
前記設定手段は、前記物体の識別情報を取得している場合に、前記物体の識別情報を取得していない場合に比べて小さい生成頻度を設定することを特徴とする請求項16に記載の撮像装置。   The imaging unit according to claim 16, wherein the setting unit sets a generation frequency smaller when the identification information of the object is acquired than when the identification information of the object is not acquired. apparatus. 前記設定手段は、前記物体の識別情報を取得し、かつ前記物体の識別情報の信頼度が閾値以上の場合に、前記物体の識別情報の信頼度が閾値未満の場合に比べて小さい生成頻度を設定することを特徴とする請求項17に記載の撮像装置。   The setting means obtains the identification information of the object, and when the reliability of the identification information of the object is greater than or equal to a threshold, the generation frequency is smaller than when the reliability of the identification information of the object is less than the threshold. The imaging apparatus according to claim 17, wherein the imaging apparatus is set. 前記設定手段は、前記撮像画像において複数設定されたメタデータ用領域毎に、メタデータの生成頻度を設定することを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the setting unit sets a metadata generation frequency for each of a plurality of metadata areas set in the captured image. 前記設定手段は、前記メタデータ用領域でイベントが発生した場合に、イベントが発生しない場合の生成頻度に比べて大きい生成頻度を、イベントが発生したメタデータ用領域のメタデータの生成頻度として設定することを特徴とする請求項19に記載の撮像装置。   When the event occurs in the metadata area, the setting means sets a generation frequency larger than the generation frequency when no event occurs as the metadata generation frequency of the metadata area where the event occurred. The imaging apparatus according to claim 19, wherein: 外部装置と通信する通信手段と、
前記外部装置に送信するメタデータの量に基づいて、前記メタデータの送信頻度を設定する設定手段と、
前記設定手段により設定された送信頻度で、前記メタデータを送信するよう制御する制御手段と
を有することを特徴とする撮像装置。
A communication means for communicating with an external device;
Setting means for setting the transmission frequency of the metadata based on the amount of metadata to be transmitted to the external device;
An imaging apparatus comprising: control means for controlling to transmit the metadata at a transmission frequency set by the setting means.
前記設定手段は、メタデータの生成対象の物体の数が閾値以上の場合、閾値未満の場合に比べて小さい送信頻度を設定することを特徴とする請求項21に記載の撮像装置。   The image pickup apparatus according to claim 21, wherein the setting unit sets a transmission frequency smaller when the number of metadata generation target objects is equal to or greater than a threshold value, compared to when the number is less than the threshold value. 撮像装置の制御方法であって、
撮像画像に対して付加するメタデータの種類に基づいて、前記メタデータの生成頻度を設定する設定ステップと、
前記設定ステップにおいて設定された生成頻度で、前記メタデータを生成するよう制御する制御ステップと
を含むことを特徴とする制御方法。
A method for controlling an imaging apparatus,
A setting step for setting the generation frequency of the metadata based on the type of metadata to be added to the captured image;
And a control step for controlling to generate the metadata at the generation frequency set in the setting step.
撮像装置の制御方法であって、
外部装置と通信する通信ステップと、
前記外部装置に送信するメタデータの量に基づいて、前記メタデータの送信頻度を設定する設定ステップと、
前記設定ステップにおいて設定された送信頻度で、前記メタデータを送信するよう制御する制御ステップと
を含むことを特徴とする制御方法。
A method for controlling an imaging apparatus,
A communication step for communicating with an external device;
A setting step of setting the transmission frequency of the metadata based on the amount of metadata to be transmitted to the external device;
And a control step of controlling to transmit the metadata at the transmission frequency set in the setting step.
コンピュータを、請求項1乃至22の何れか1項に記載の撮像装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the imaging device of any one of Claims 1 thru | or 22.
JP2018090439A 2017-08-08 2018-05-09 IMAGING DEVICE, CONTROL METHOD AND PROGRAM Active JP7250433B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/056,213 US10848666B2 (en) 2017-08-08 2018-08-06 Image capturing device and control method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017153205 2017-08-08
JP2017153205 2017-08-08

Publications (2)

Publication Number Publication Date
JP2019033469A true JP2019033469A (en) 2019-02-28
JP7250433B2 JP7250433B2 (en) 2023-04-03

Family

ID=65523770

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018090439A Active JP7250433B2 (en) 2017-08-08 2018-05-09 IMAGING DEVICE, CONTROL METHOD AND PROGRAM

Country Status (1)

Country Link
JP (1) JP7250433B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083363A (en) * 2019-12-16 2020-04-28 河南铭视科技股份有限公司 Video recorder management system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012063835A (en) * 2010-09-14 2012-03-29 Yupiteru Corp Data processing system for display
JP2012212426A (en) * 2011-03-18 2012-11-01 Canon Inc Image processing device and image processing method
JP2015115760A (en) * 2013-12-11 2015-06-22 三菱電機株式会社 Video processing device, video processing system, and video processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012063835A (en) * 2010-09-14 2012-03-29 Yupiteru Corp Data processing system for display
JP2012212426A (en) * 2011-03-18 2012-11-01 Canon Inc Image processing device and image processing method
JP2015115760A (en) * 2013-12-11 2015-06-22 三菱電機株式会社 Video processing device, video processing system, and video processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083363A (en) * 2019-12-16 2020-04-28 河南铭视科技股份有限公司 Video recorder management system

Also Published As

Publication number Publication date
JP7250433B2 (en) 2023-04-03

Similar Documents

Publication Publication Date Title
KR101926490B1 (en) Apparatus and method for processing image
KR101826897B1 (en) Method and camera for determining an image adjustment parameter
JP6024952B2 (en) Image transmission apparatus, image transmission method, image transmission program, and image recognition authentication system
US9823331B2 (en) Object detecting apparatus, image capturing apparatus, method for controlling object detecting apparatus, and storage medium
JP6800628B2 (en) Tracking device, tracking method, and program
KR102474837B1 (en) Foreground area extracting method and apparatus
JP2012089929A (en) Object detection apparatus, object detection method, monitoring camera system and program
JP2007148988A (en) Face authentication unit, face authentication method, and entrance/exit management device
JP5271227B2 (en) Crowd monitoring device, method and program
JP5693147B2 (en) Photographic interference detection method, interference detection device, and surveillance camera system
JP7250433B2 (en) IMAGING DEVICE, CONTROL METHOD AND PROGRAM
CN112884805A (en) Cross-scale self-adaptive mapping light field imaging method
JP4668863B2 (en) Imaging device
JP5118590B2 (en) Subject tracking method and imaging apparatus
US10848666B2 (en) Image capturing device and control method
JP2007336431A (en) Video monitoring apparatus and method
JP4547213B2 (en) Object detection apparatus and method
CN117280708A (en) Shutter value adjustment of monitoring camera using AI-based object recognition
JP2021022783A (en) Control device, tracking system, control method, and program
JP6767788B2 (en) Information processing equipment, control methods and programs for information processing equipment
JP2014216694A (en) Tracking pan head device with resolution increase processing
KR102527133B1 (en) Server for distinguishing video analysis target and control method thereof
US20220360701A1 (en) Imaging control apparatus for controlling exposure of imaging apparatus based on subject authentication result, imaging control method, and storage medium
US20230276134A1 (en) Information processing apparatus, imaging apparatus, method, and storage medium
JP7130375B2 (en) Image processing device, imaging device, image processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210430

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220315

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221028

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230322

R151 Written notification of patent or utility model registration

Ref document number: 7250433

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151