JP2017126210A - Recognition device, recognition system, recognition method, and program - Google Patents
Recognition device, recognition system, recognition method, and program Download PDFInfo
- Publication number
- JP2017126210A JP2017126210A JP2016005369A JP2016005369A JP2017126210A JP 2017126210 A JP2017126210 A JP 2017126210A JP 2016005369 A JP2016005369 A JP 2016005369A JP 2016005369 A JP2016005369 A JP 2016005369A JP 2017126210 A JP2017126210 A JP 2017126210A
- Authority
- JP
- Japan
- Prior art keywords
- recognition
- unit
- buffer
- display
- completion notification
- 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
Links
Images
Landscapes
- Digital Computer Display Output (AREA)
- User Interface Of Digital Computer (AREA)
- Image Analysis (AREA)
Abstract
Description
本発明の実施形態は認識装置、認識システム、認識方法及びプログラムに関する。 Embodiments described herein relate generally to a recognition apparatus, a recognition system, a recognition method, and a program.
動画像に含まれる監視対象の人物及び物体等を、認識対象物として認識する画像認識技術が従来から知られている。また、認識対象物として、動画像内で移動する移動物体を認識し、当該移動物体の領域を明示する矩形等の付加情報を、動画像に合成する画像合成技術が知られている。 2. Description of the Related Art Conventionally, an image recognition technique for recognizing a person or object to be monitored included in a moving image as a recognition target is known. Further, there is known an image composition technique for recognizing a moving object moving in a moving image as a recognition target, and compositing additional information such as a rectangle that clearly indicates the area of the moving object with the moving image.
しかしながら従来の技術では、動画像を描画する描画処理と、動画像から認識対象物を認識する認識処理と、動画像に付加情報を合成する合成処理と、を連携させることが難しかった。例えば描画処理、認識処理及び合成処理を、複数の既存のアプリケーションを連携させることにより実現する場合、既存のアプリケーションを改変しなければならなかった。 However, in the conventional technology, it is difficult to link a drawing process for drawing a moving image, a recognition process for recognizing a recognition target object from the moving image, and a combining process for synthesizing additional information with the moving image. For example, when rendering processing, recognition processing, and composition processing are realized by linking a plurality of existing applications, the existing applications have to be modified.
実施形態の認識装置は、第1のバッファと、描画部と、第1の通知部と、認識部と、第2の通知部と、付加部とを備える。第1のバッファは、動画像を構成するフレームの記憶と、前記フレームに含まれる認識対象物に前記認識対象物を明示する付加情報が付加された表示情報の記憶と、を行う。描画部は、前記フレームを前記第1のバッファに描画する第1の描画処理と、前記第1のバッファに記憶されたフレームに、前記付加情報を付加する描画を行うことにより前記表示情報を生成する第2の描画処理と、を行う。第1の通知部は、前記第1の描画処理が完了したときに、第1の描画完了通知を通知する。認識部は、前記第1の描画完了通知を受け付けたときに、前記フレームから認識対象物を認識する。第2の通知部は、前記認識対象物の認識が完了したときに、認識結果を含む認識完了通知を通知する。付加部は、前記認識完了通知を受信したときに、前記付加情報を生成する。 The recognition apparatus according to the embodiment includes a first buffer, a drawing unit, a first notification unit, a recognition unit, a second notification unit, and an addition unit. The first buffer performs storage of a frame constituting the moving image and display information in which additional information that clearly indicates the recognition target is added to the recognition target included in the frame. The drawing unit generates the display information by performing first drawing processing for drawing the frame in the first buffer and drawing for adding the additional information to the frame stored in the first buffer. And performing a second drawing process. The first notification unit notifies the first drawing completion notification when the first drawing process is completed. The recognition unit recognizes a recognition target object from the frame when receiving the first drawing completion notification. The second notification unit notifies a recognition completion notification including a recognition result when the recognition of the recognition object is completed. The adding unit generates the additional information when the recognition completion notification is received.
以下に添付図面を参照して、認識装置、認識システム、認識方法及びプログラムの実施形態を詳細に説明する。 Hereinafter, embodiments of a recognition device, a recognition system, a recognition method, and a program will be described in detail with reference to the accompanying drawings.
(第1実施形態)
図1は第1実施形態の認識装置100の機能構成の例を示す図である。第1実施形態の認識装置100は、指示部1、描画部2、第1のバッファ3、第1の通知部4、認識部5、第2の通知部6、付加部7、コピー部8、第2のバッファ9、表示制御部10及び表示部11を備える。
(First embodiment)
FIG. 1 is a diagram illustrating an example of a functional configuration of the
指示部1は、動画像を構成するフレームを描画する第1の描画命令を発行し、当該第1の描画命令を描画部2に入力する。
The
描画部2は、指示部1から第1の描画命令を受け付けると、当該第1の描画命令に基づく描画処理を行うことにより、動画像を構成するフレームを生成する。描画処理は、例えば描画対象の動画像データのデコード処理等である。
When the
描画部2は、動画像を構成するフレームを第1のバッファ3に記憶すると、当該フレームを第1のバッファ3に記憶したことを示す第1の描画完了通知を、第1の通知部4に入力する。なお第1の描画完了通知の通知方法は任意でよい。
When the
例えば、描画部2をXサーバにより実現する場合、X拡張機能モジュールを用いることにより、Xサーバを改変せずに、Xサーバへの描画命令をフックすることが可能である。Xサーバへの描画命令をフックすることにより、描画命令が発行されたタイミング、描画命令の種類、描画領域、及び、描画処理の完了のタイミング等を検出すること、並びに、描画の実行を待たせること等が可能である。描画部2は、描画命令をフックすることにより、動画像を構成するフレームを描画する第1の描画命令に基づく描画処理の完了を検出した場合、第1の描画完了通知を、第1の通知部4に入力してもよい。なお描画部2が、描画命令の種類を検出する方法は任意でよい。描画部2は、例えば描画命令が、閾値tよりも大きい描画領域に対するXPutImage描画命令である場合、当該描画命令が、動画像のフレームを描画する第1の描画命令であることを検出する。
For example, when the
第1の通知部4は、描画部2から第1の描画完了通知を受け付けると、当該第1の描画完了通知を、認識部5に通知する。
Upon receiving the first drawing completion notification from the
認識部5は、第1の通知部4から第1の描画完了通知を受け付けると、第1のバッファ3に記憶された動画像を構成するフレームから、所定の対象物を認識する認識処理を行う。なお所定の対象物は任意でよい。所定の対象物は、例えば人物、物体及び文字等である。物体は、例えば監視対象の車両等である。認識部5は、認識処理が終わると、当該認識処理の認識結果を含む認識完了通知を第2の通知部6に入力する。
When the
なお認識完了通知のデータ形式は任意でよい。認識完了通知は、例えば座標情報、及び、認識対象物を示す情報を含む。座標情報は、1024×768ピクセルの画像の場合、例えば画像左上を(0,0)とし、画像右下を(1023,767)とする座標系により表される。認識部5は、認識完了通知を、例えば矩形領域の位置と大きさを示す情報と、当該矩形領域に含まれる認識対象物を示す情報と、により示される認識結果を複数含むリスト形式により、第2の通知部6に入力してもよい。具体的には、リスト形式の認識完了通知は、例えば(30,30)から幅100ピクセル、高さ20ピクセルの矩形領域に監視対象の車両Aが認識されたことを示す第1の認識結果、及び、(100,100)から幅100ピクセル、高さ20ピクセルの矩形領域に監視対象の車両Bが認識されたことを示す第2の認識結果等を含む。
The data format of the recognition completion notification may be arbitrary. The recognition completion notification includes, for example, coordinate information and information indicating the recognition target object. In the case of an image of 1024 × 768 pixels, the coordinate information is represented, for example, by a coordinate system in which the upper left of the image is (0, 0) and the lower right of the image is (1023, 767). The
第2の通知部6は、認識部5から認識完了通知を受け付けると、当該認識完了通知を、付加部7に通知する。
When receiving the recognition completion notification from the
付加部7は、第2の通知部6から認識完了通知を受け付けると、動画像を構成するフレームに付加される付加情報を生成する付加処理を行う。付加情報は、動画像を構成するフレームに含まれる認識対象物を明示する情報である。なお付加情報は任意でよい。付加情報は、例えば認識対象物の近傍に付加されることにより、当該認識対象物を明示する吹き出しキャプションである。また例えば、付加情報は、認識対象物を囲むように付与することにより、当該認識対象物を明示する矩形等である。付加部7は、付加処理が終わると、生成された付加情報を、動画像を構成するフレームに付加する第2の描画命令を発行し、当該第2の描画命令を描画部2に入力する。
Upon receiving the recognition completion notification from the
描画部2は、付加部7から第2の描画命令を受け付けると、当該第2の描画命令に基づく描画処理を行う。具体的には、描画部2は、第1のバッファ3に記憶されている動画像を構成するフレームに付加情報を付加する描画処理(合成処理)を行うことにより、表示情報を生成する。
When the
図2は第1実施形態の表示情報210の例を示す図である。図2の例は、描画部2が、車両Aを含む動画像を構成するフレームに、付加情報201として、吹き出しキャプションを付加することにより、表示情報210を生成した場合を示す。
FIG. 2 is a diagram illustrating an example of the display information 210 according to the first embodiment. The example of FIG. 2 shows a case where the
なお描画部2は、ちらつきを防ぐために、動画像は背景として、付加情報はオーバーレイとして、第1のバッファ3に描画する。例えば付加部7をブラウザアプリケーションにより実現し、描画部2をXサーバにより実現する場合、CSS(Cascading Style Sheets)を使用することができる。CSSは、ウェブコンテンツの見た目を定義するためのスタイルシートである。描画部2は、例えば動画像を構成するフレームをフルスクリーン表示で描画し、positionをfixed、z−indexを−100等とすることにより、付加情報をオーバーレイ表示で描画することができる。付加情報は、例えばCSSのboxクラスと、beforeおよびafter疑似要素と、を用いることにより、動画像を構成するフレームに付加することができる。
In order to prevent flickering, the
図1に戻り、描画部2は、表示情報210を第1のバッファ3に記憶すると、当該表示情報210を第1のバッファ3に記憶したことを示す第2の描画完了通知を、第1の通知部4に入力する。なお表示情報生成完了通知の通知方法は任意でよい。
Returning to FIG. 1, when the
例えば、描画部2をXサーバにより実現する場合、描画部2は、描画命令をフックすることにより検出された描画命令の種類に基づいて、第2の描画完了通知を、第1の通知部4に入力してもよい。
For example, when the
第1の通知部4は、描画部2から第2の描画完了通知を受け付けると、当該第2の描画完了通知を、コピー部8に通知する。
Upon receiving the second drawing completion notification from the
コピー部8は、第1の通知部4から第2の描画完了通知を受け付けると、第1のバッファ3から第2のバッファ9に表示情報210をコピーする。なお描画部2をXサーバにより実現する場合、コピー部8をX拡張機能モジュールに含めることにより、直接、第1のバッファ3から表示情報210を取得してもよい。また、コピー部8をX拡張機能モジュールに含めない場合は、Xサーバにより実現された描画部2を介して、第1のバッファ3に記憶された表示情報210を取得してもよい。
When the
表示制御部10は、コピー部8により第1のバッファ3から第2のバッファ9にコピーされた表示情報210を、表示部11に表示する制御を行う。表示部11は表示情報210を表示する。
The
なお上述の第1のバッファ3、及び、第2のバッファ9は、任意の記憶媒体でよい。第1のバッファ3、及び、第2のバッファ9は、例えばRAM(Random Access Memory)、HDD(Hard Disk Drive)、光ディスク及びメモリカード等である。 Note that the first buffer 3 and the second buffer 9 described above may be arbitrary storage media. The first buffer 3 and the second buffer 9 are, for example, a RAM (Random Access Memory), a HDD (Hard Disk Drive), an optical disk, a memory card, and the like.
次に第1実施形態の認識処理方法の例について説明する。 Next, an example of the recognition processing method of the first embodiment will be described.
図3は第1実施形態の認識処理方法の例を示すフローチャートである。はじめに、指示部1が、動画像を構成するフレームを描画する第1の描画命令を発行する(ステップS1)。次に、描画部2が、第1の描画命令に基づく描画処理を行うことにより、動画像を構成するフレームを生成する(ステップS2)。次に、描画部2は、動画像を構成するフレームを第1のバッファ3に記憶する(ステップS3)。
FIG. 3 is a flowchart illustrating an example of the recognition processing method according to the first embodiment. First, the
次に、第1の通知部4が、第1の描画完了通知を、認識部5に通知する(ステップS4)。次に、認識部5は、第1の通知部4から第1の描画完了通知を受け付けると、第1のバッファ3に記憶された動画像を構成するフレームから、所定の対象物を認識する認識処理を行う(ステップS5)。
Next, the
次に、第2の通知部6が、認識部5の認識処理が完了すると、認識完了通知を、付加部7に通知する(ステップS6)。次に、付加部7が、第2の通知部6から認識完了通知を受け付けると、動画像を構成するフレームに付加される付加情報を生成する付加処理を行う(ステップS7)。次に、付加部7は、ステップS7の処理により生成された付加情報を、動画像を構成するフレームに付加する第2の描画命令を発行する(ステップS8)。描画部2は、第2の描画命令に基づく描画処理(合成処理)を行うことにより、表示情報210を生成する(ステップS9)。
Next, when the recognition process of the
次に、第1の通知部4が、第2の描画完了通知を、コピー部8に通知する(ステップS10)。次に、コピー部8が、第1の通知部4から第2の描画完了通知を受け付けると、第1のバッファ3から第2のバッファ9に表示情報210をコピーする(ステップS11)。
Next, the
次に、表示制御部10が、コピー部8により第1のバッファ3から第2のバッファ9にコピーされた表示情報210を、表示部11に表示する制御を行う(ステップS12)。
Next, the
以上説明したように、第1実施形態の認識装置100では、第1の通知部4が、第1の描画命令に基づく描画処理が完了したときに、第1の描画完了通知を通知する。また、認識部5が、第1の描画完了通知を受け付けたときに、フレームから認識対象物を認識する。また、第2の通知部6が、認識対象物の認識が完了したときに、認識結果を含む認識完了通知を通知する。また、付加部7が、認識完了通知を受信したときに、付加情報を生成する。
As described above, in the
これにより第1実施形態の認識装置100によれば、描画部2、認識部5及び付加部7を改変せずに、連携させることができる。
Thereby, according to the
また、第1実施形態の認識装置100では、第1のバッファ3が、動画像を構成するフレームの記憶と、フレームに含まれる認識対象物に認識対象物を明示する付加情報が付加された表示情報210の記憶と、を行う。また、コピー部8が、第1の通知部4から、第2の描画完了通知を受け付けたときに、第1のバッファ3に記憶された表示情報210を、第2のバッファ9にコピーする。また、表示制御部10が、第2のバッファ9に記憶された表示情報210を、表示部11に表示する制御を行う。
Further, in the
すなわち第1実施形態の認識装置100では、描画処理に使用される第1のバッファ3と、表示処理に使用される第2のバッファ9と、が分けられている。
That is, in the
これにより第1実施形態の認識装置100によれば、付加情報が認識対象物に重なることにより、監視対象の認識対象物が見えなくなったり、画面のちらつきが発生したりする問題を防ぐことができる。
Thereby, according to the
なお上述の認識装置100の機能は、ソフトウェアにより実現してもハードウェアにより実現してもよいし、ソフトウェアとハードウェアとを組み合わせることにより実現してもよい。具体的には、例えば指示部1及び付加部7は、ブラウザアプリケーションにより実現してもよい。また、例えば描画部2は、Xサーバにより実現してもよい。また、例えば認識部5は、画像認識アプリケーションにより実現してもよい。
Note that the functions of the
第1実施形態の認識装置100によれば、例えば、画像認識アプリケーションを用いて高速かつ高精度に動画像を解析しつつ、ブラウザアプリケーションを用いてHTML5によりデザインされた高度な情報を付加することが可能になる。これにより性能とデザイン性の両立を実現することが可能となる。
According to the
(第2実施形態)
次に第2実施形態について説明する。第2実施形態の説明では、認識装置100及び表示装置110を備える認識システム200について説明する。第2実施形態の説明では、第1実施形態の説明と同様の説明については省略する。
(Second Embodiment)
Next, a second embodiment will be described. In the description of the second embodiment, a
図4は第2実施形態の認識システム200の構成の例を示す図である。第2実施形態の認識システム200は、認識装置100及び表示装置110を備える。認識装置100及び表示装置110は、有線又は無線により接続されている。
FIG. 4 is a diagram illustrating an example of the configuration of the
第2実施形態の認識装置100は、指示部1、描画部2、第1のバッファ3、第1の通知部4、認識部5、第2の通知部6、付加部7、コピー部8、第2のバッファ9及び通信制御部12を備える。指示部1、描画部2、第1のバッファ3、第1の通知部4、認識部5、第2の通知部6、付加部7、コピー部8及び第2のバッファ9の説明は、第1実施形態の説明と同じなので省略する。
The
通信制御部12は、コピー部8により第1のバッファ3から第2のバッファ9にコピーされた表示情報210を、表示装置110に送信する制御を行う。表示装置110は、認識装置100から表示情報210を受信すると、当該表示情報210を表示する。
The
次に第2実施形態の認識処理方法の例について説明する。 Next, an example of a recognition processing method according to the second embodiment will be described.
図5は第2実施形態の認識処理方法の例を示すフローチャートである。ステップS21〜ステップS31の説明は、第1実施形態の認識処理方法のステップS1〜ステップS11の説明(図3参照)と同じなので省略する。 FIG. 5 is a flowchart illustrating an example of a recognition processing method according to the second embodiment. The description of step S21 to step S31 is the same as the description of step S1 to step S11 (see FIG. 3) of the recognition processing method according to the first embodiment, and will be omitted.
通信制御部12は、コピー部8により第1のバッファ3から第2のバッファ9にコピーされた表示情報210を、表示装置110に送信する制御を行う(ステップS32)。次に、表示装置110が、認識装置100から表示情報210を受信すると、当該表示情報210を表示する(ステップS33)。
The
第2実施形態の認識システム200は、第1実施形態と同様の効果を奏する。すなわち第2実施形態の認識システム200によれば、描画部2、認識部5及び付加部7を改変せずに、連携させることができる。
The
また、第1実施形態の認識装置100では、描画処理に使用される第1のバッファ3と、通信処理に使用される第2のバッファ9と、が分離されている。これにより第2実施形態の認識システム200によれば、第1実施形態の場合と同様に、付加情報が認識対象物に重なることにより、監視対象の認識対象物が見えなくなったり、画面のちらつきが発生したりする問題を防ぐことができる。
In the
(第3実施形態)
次に第3実施形態について説明する。第3実施形態の説明では、認識装置100がコピー部8及び第2のバッファ9を備えていない場合について説明する。
(Third embodiment)
Next, a third embodiment will be described. In the description of the third embodiment, a case where the
図6は第3実施形態の認識装置100の機能構成の例を示す図である。第3実施形態の認識装置100は、指示部1、描画部2、第1のバッファ3、第1の通知部4、認識部5、第2の通知部6、付加部7、表示制御部10及び表示部11を備える。
FIG. 6 is a diagram illustrating an example of a functional configuration of the
指示部1は、動画像を構成するフレームを描画する第1の描画命令を発行し、当該第1の描画命令を描画部2に入力する。
The
描画部2は、指示部1から第1の描画命令を受け付けると、当該第1の描画命令に基づく描画処理を行うことにより、動画像を構成するフレームを生成する。
When the
描画部2は、動画像を構成するフレームを第1のバッファ3に記憶すると、当該フレームを第1のバッファ3に記憶したことを示す第1の描画完了通知を、第1の通知部4に入力する。
When the
第1の通知部4は、描画部2から第1の描画完了通知を受け付けると、当該第1の描画完了通知を、認識部5に通知する。
Upon receiving the first drawing completion notification from the
認識部5は、第1の通知部4から第1の描画完了通知を受け付けると、第1のバッファ3に記憶された動画像を構成するフレームから、所定の対象物を認識する認識処理を行う。認識部5は、認識処理が終わると、当該認識処理の認識結果を含む認識完了通知を第2の通知部6に入力する。
When the
第2の通知部6は、認識部5から認識完了通知を受け付けると、当該認識完了通知を、付加部7に通知する。
When receiving the recognition completion notification from the
付加部7は、第2の通知部6から認識完了通知を受け付けると、動画像を構成するフレームに付加される付加情報を生成する付加処理を行う。付加部7は、付加処理が終わると、生成された付加情報を、動画像を構成するフレームに付加する第2の描画命令を発行し、当該第2の描画命令を描画部2に入力する。
Upon receiving the recognition completion notification from the
描画部2は、付加部7から第2の描画命令を受け付けると、当該第2の描画命令に基づく描画処理(合成処理)を行うことにより、表示情報210を生成する。
When the
描画部2は、表示情報210を第1のバッファ3に記憶すると、当該表示情報210を第1のバッファ3に記憶したことを示す第2の描画完了通知を、第1の通知部4に入力する。
When the
第1の通知部4は、描画部2から第2の描画完了通知を受け付けると、当該第2の描画完了通知を、表示制御部10に通知する。
Upon receiving the second drawing completion notification from the
表示制御部10は、第1の通知部4から第2の描画完了通知を受け付けると、第1のバッファ3に記憶された表示情報210を、表示部11に表示する表示制御処理を行う。このとき表示制御部10は、描画部2により行われる第1及び第2の描画命令に基づく描画処理の頻度よりも、低い頻度で表示制御処理を行う。
When receiving the second drawing completion notification from the
図7は第3実施形態の描画処理及び表示制御処理の例を説明するための図である。はじめに、動画像を構成するフレーム209aが、描画部2により描画され、当該フレーム209aに含まれる車両Aが、認識部5により認識される。次に、付加情報201が、付加部7によりフレーム209aに付加された表示情報210aが、描画部2により描画されると、当該表示情報210aが、表示制御部10により表示部11に表示される。
FIG. 7 is a diagram for explaining an example of a drawing process and a display control process according to the third embodiment. First, the
次に、動画像を構成するフレーム209bが、描画部2により描画され、当該フレーム209bに含まれる車両Aが、認識部5により認識される。次に、付加情報201が、付加部7によりフレーム209bに付加された表示情報210bが、描画部2により描画されると、当該表示情報210bが、表示制御部10により表示部11に表示される。
Next, the
図7に示されるように、描画部2は、動画像を構成するフレーム209(209a及び209b)の描画処理と、表示情報210(210a及び210b)を生成する描画処理(合成処理)と、を行う。また認識部5による車両Aの認識処理は、フレーム209に対して行われる。また表示制御部10による表示制御処理は、表示情報210に対して行われる。
As illustrated in FIG. 7, the
すなわち表示制御部10は、図7に示されるタイミングで表示制御処理を行うことにより、描画部2により行われる描画処理の頻度よりも、低い頻度で表示制御処理を行う。
That is, the
描画処理及び表示制御処理のタイミングは任意でよい。例えば、表示部11のリフレッシュレートに合わせて、描画処理及び表示制御処理のタイミングを調整してもよい。具体的には、表示部11のリフレッシュレートが60Hzの場合、表示部11の表示は1秒間に60回、更新される。この場合、例えば以下のようにタイミングを調整する。
The timing of the drawing process and the display control process may be arbitrary. For example, the timing of the drawing process and the display control process may be adjusted according to the refresh rate of the
(1)表示制御部10は、表示部11のリフレッシュのタイミングで表示情報を表示する制御を行うことにより、1秒間に60回、表示制御処理を行う。
(2)描画部2は、動画像を構成するフレーム209の描画(第1の描画命令に基づく描画処理)を1秒間に60回、行い、付加情報を付加することにより表示情報210を生成する描画(第2の描画命令に基づく描画処理)を1秒間に60回、行う。すなわち描画部2は描画処理を1秒間に120回、行う。
(1) The
(2) The
これにより、描画部2により行われる描画処理の頻度よりも、低い頻度で表示制御処理を行うことができるので、付加情報が認識対象物に重なることにより、監視対象の認識対象物が見えなくなったり、画面のちらつきが発生したりする問題を防ぐことができる。
Thereby, since the display control process can be performed at a frequency lower than the frequency of the drawing process performed by the
次に第3実施形態の認識処理方法の例について説明する。 Next, an example of a recognition processing method according to the third embodiment will be described.
図8は第3実施形態の認識処理方法の例を示すフローチャートである。図8の例では、表示部11のリフレッシュレートが60Hzの場合を例にして説明する。はじめに、指示部1が、動画像を構成するフレームを描画する第1の描画命令を発行する(ステップS41)。次に、描画部2が、第1の描画命令に基づく描画処理を行うことにより、動画像を構成するフレームを生成する(ステップS42)。描画部2は、ステップS42の処理を、1秒間に60回の頻度で行う。
FIG. 8 is a flowchart illustrating an example of a recognition processing method according to the third embodiment. In the example of FIG. 8, a case where the refresh rate of the
ステップS43〜ステップS48の説明は、第1実施形態の認識処理方法のステップS3〜ステップS8の説明(図3参照)と同じなので省略する。 The description of step S43 to step S48 is the same as the description of step S3 to step S8 (see FIG. 3) of the recognition processing method of the first embodiment, and will be omitted.
次に、描画部2が、第2の描画命令に基づく描画処理(合成処理)を行うことにより、表示情報210を生成する(ステップS49)。描画部2は、ステップS49の処理を、1秒間に60回の頻度で行う。
Next, the
次に、第1の通知部4が、第2の描画完了通知を、表示制御部10に通知する(ステップS50)。次に、表示制御部10が、第1の通知部4から第2の描画完了通知を受け付けると、第1のバッファ3に記憶された表示情報210を、表示部11に表示する制御を行う(ステップS51)。表示制御部10は、ステップS51の処理を、1秒間に60回の頻度で行う。
Next, the
第3実施形態の認識装置100は、第1実施形態と同様の効果を奏する。すなわち第3実施形態の認識装置100によれば、描画部2、認識部5及び付加部7を改変せずに、連携させることができる。
The
また、第3実施形態の認識装置100では、表示制御部10が、描画部2により行われる描画処理(第1及び第2の描画命令に基づく描画処理)の頻度よりも、低い頻度で第1のバッファ3に記憶された表示情報210を、表示部11に表示する制御を行う。これにより、付加情報が認識対象物に重なることにより、監視対象の認識対象物が見えなくなったり、画面のちらつきが発生したりする問題を防ぐことができる。
In the
(第4実施形態)
次に第4実施形態について説明する。第4実施形態の説明では、認識装置100及び表示装置110を備える認識システム200について説明する。第4実施形態の説明では、第3実施形態の説明と同様の説明については省略する。
(Fourth embodiment)
Next, a fourth embodiment will be described. In the description of the fourth embodiment, a
図9は第4実施形態の認識システム200の構成の例を示す図である。第4実施形態の認識システム200は、認識装置100及び表示装置110を備える。認識装置100及び表示装置110は、有線又は無線により接続されている。
FIG. 9 is a diagram illustrating an example of the configuration of the
第4実施形態の認識装置100は、指示部1、描画部2、第1のバッファ3、第1の通知部4、認識部5、第2の通知部6、付加部7、及び通信制御部12を備える。指示部1、描画部2、第1のバッファ3、第1の通知部4、認識部5、第2の通知部6及び付加部7の説明は、第3実施形態の説明と同じなので省略する。
The
通信制御部12は、第1の通知部4から第2の描画完了通知を受け付けると、第1のバッファ3に記憶された表示情報210を、表示装置110に送信する送信制御処理を行う。このとき通信制御部12は、描画部2により行われる第1及び第2の描画命令に基づく描画処理の頻度よりも、低い頻度で表示制御処理を行う。
When the
次に第4実施形態の認識処理方法の例について説明する。 Next, an example of a recognition processing method according to the fourth embodiment will be described.
図10は第4実施形態の認識処理方法の例を示すフローチャートである。ステップS61〜ステップS69の説明は、第3実施形態の認識処理方法のステップS41〜ステップS49の説明(図8参照)と同じなので省略する。 FIG. 10 is a flowchart illustrating an example of a recognition processing method according to the fourth embodiment. The description of step S61 to step S69 is the same as the description of step S41 to step S49 (see FIG. 8) of the recognition processing method of the third embodiment, and will be omitted.
第1の通知部4が、第2の描画完了通知を、通信制御部12に通知する(ステップS70)。次に、通信制御部12が、第1の通知部4から第2の描画完了通知を受け付けると、第1のバッファ3に記憶された表示情報210を、表示装置110に送信する制御を行う(ステップS71)。通信制御部10は、ステップS71の処理を、1秒間に60回の頻度で行う。次に、表示装置110が、認識装置100から表示情報210を受信すると、当該表示情報210を表示する(ステップS72)。
The
第4実施形態の認識システム200は、第3実施形態と同様の効果を奏する。すなわち第4実施形態の認識システム200によれば、描画部2、認識部5及び付加部7を改変せずに、連携させることができる。
The
また、第4実施形態の認識装置100では、通信制御部12が、描画部2により行われる描画処理(第1及び第2の描画命令に基づく描画処理)の頻度よりも、低い頻度で第1のバッファ3に記憶された表示情報210を、表示装置110に送信する制御を行う。これにより第4実施形態の認識システム200によれば、第3実施形態の場合と同様に、付加情報が認識対象物に重なることにより、監視対象の認識対象物が見えなくなったり、画面のちらつきが発生したりする問題を防ぐことができる。
In the
最後に第1乃至第4実施形態の認識装置100のハードウェア構成の例について説明する。
Finally, an example of the hardware configuration of the
図11は第1及び第3実施形態の認識装置100のハードウェア構成の例を示す図である。第1及び第3実施形態の認識装置100は、制御装置301、主記憶装置302、補助記憶装置303、入力装置304及び表示装置305を備える。制御装置301、主記憶装置302、補助記憶装置303、入力装置304及び表示装置305は、バス310を介して接続されている。
FIG. 11 is a diagram illustrating an example of a hardware configuration of the
制御装置301は補助記憶装置303から主記憶装置302に読み出されたプログラムを実行する。主記憶装置302はROM及びRAM等のメモリである。補助記憶装置303はメモリカード及びSSD(Solid State Drive)等である。
The
入力装置304は、情報の入力を受け付ける。入力装置304は、例えばキーボード及びマウス等である。表示装置305は情報を表示する。表示装置305は、例えば液晶ディスプレイである。なお入力装置304及び表示装置305は、入力機能と表示機能とを兼ねる液晶タッチパネル等でもよい。
The
図12は第2及び第4実施形態の認識装置のハードウェア構成の例を示す図である。第2及び第4実施形態の認識装置100は、制御装置301、主記憶装置302、補助記憶装置303、入力装置304及び通信装置306を備える。制御装置301、主記憶装置302、補助記憶装置303、入力装置304及び通信装置306は、バス310を介して接続されている。
FIG. 12 is a diagram illustrating an example of the hardware configuration of the recognition apparatus according to the second and fourth embodiments. The
第2及び第4実施形態の制御装置301、主記憶装置302、補助記憶装置303及び入力装置304の説明は、第1及び第3実施形態の制御装置301、主記憶装置302、補助記憶装置303及び入力装置304の説明(図11参照)と同じなので省略する。通信装置306は、表示装置110等の他の装置と通信する。
The
第1乃至第4実施形態の認識装置100で実行されるプログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、メモリカード、CD−R及びDVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記憶媒体に記憶されてコンピュータ・プログラム・プロダクトとして提供される。
A program executed by the
また第1乃至第4実施形態の認識装置100で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また第1乃至第4実施形態の認識装置100が実行するプログラムを、ダウンロードさせずにインターネット等のネットワーク経由で提供するように構成してもよい。
The program executed by the
また第1乃至第4実施形態の認識装置100で実行されるプログラムを、ROM等に予め組み込んで提供するように構成してもよい。
Moreover, you may comprise so that the program executed with the
第1乃至第4実施形態の認識装置100で実行されるプログラムは、上述の第1乃至第4実施形態の認識装置100の機能構成のうち、プログラムにより実現可能な機能を含むモジュール構成となっている。
The program executed by the
プログラムにより実現される機能は、制御装置301が補助記憶装置303等の記憶媒体からプログラムを読み出して実行することにより、プログラムにより実現される機能が主記憶装置302にロードされる。すなわちプログラムにより実現される機能は、主記憶装置302上に生成される。
Functions realized by the program are loaded into the
なお第1乃至第4実施形態の認識装置100の機能の一部又は全部を、IC(Integrated Circuit)等のハードウェアにより実現してもよい。
Note that some or all of the functions of the
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
1 指示部
2 描画部
3 第1のバッファ
4 第1の通知部
5 認識部
6 第2の通知部
7 付加部
8 コピー部
9 第2のバッファ
10 表示制御部
11 表示部
12 通信制御部
100 認識装置
110 表示装置
200 認識システム
301 制御装置
302 主記憶装置
303 補助記憶装置
304 入力装置
305 表示装置
306 通信装置
DESCRIPTION OF
Claims (9)
前記フレームを前記第1のバッファに描画する第1の描画処理と、前記第1のバッファに記憶されたフレームに、前記付加情報を付加する描画を行うことにより前記表示情報を生成する第2の描画処理と、を行う描画部と、
前記第1の描画処理が完了したときに、第1の描画完了通知を通知する第1の通知部と、
前記第1の描画完了通知を受け付けたときに、前記フレームから認識対象物を認識する認識部と、
前記認識対象物の認識が完了したときに、認識結果を含む認識完了通知を通知する第2の通知部と、
前記認識完了通知を受信したときに、前記付加情報を生成する付加部と、
を備える認識装置。 A first buffer that performs storage of a frame constituting a moving image, and storage of display information in which additional information that clearly indicates the recognition target is added to the recognition target included in the frame;
A first drawing process for drawing the frame in the first buffer; and a second drawing for generating the display information by performing drawing for adding the additional information to the frame stored in the first buffer. A drawing unit for performing drawing processing;
A first notification unit for notifying a first drawing completion notification when the first drawing process is completed;
A recognition unit that recognizes a recognition target object from the frame when the first drawing completion notification is received;
A second notification unit that notifies a recognition completion notification including a recognition result when recognition of the recognition object is completed;
An additional unit that generates the additional information when the recognition completion notification is received;
A recognition device comprising:
前記第1のバッファに記憶された前記表示情報を、前記第2のバッファにコピーするコピー部と、を更に備え、
前記第1の通知部は、
前記第2の描画処理が完了したときに、第2の描画完了通知を通知し、
前記コピー部は、前記第2の描画完了通知を受け付けたときに、前記第1のバッファに記憶された前記表示情報を、前記第2のバッファにコピーする、
請求項1に記載の認識装置。 A second buffer for storing the display information;
A copy unit that copies the display information stored in the first buffer to the second buffer;
The first notification unit includes:
When the second drawing process is completed, a second drawing completion notification is notified,
The copy unit copies the display information stored in the first buffer to the second buffer when receiving the second drawing completion notification;
The recognition device according to claim 1.
請求項2に記載の認識装置。 A display control unit that performs control to display the display information stored in the second buffer on a display unit;
The recognition apparatus according to claim 2.
請求項2に記載の認識装置。 A transmission control unit that performs control to transmit the display information stored in the second buffer to a display device;
The recognition apparatus according to claim 2.
を更に備える請求項1に記載の認識装置。 A display control unit that performs control to display the display information stored in the first buffer at a lower frequency than the frequency of the drawing process performed by the drawing unit;
The recognition device according to claim 1, further comprising:
を更に備える請求項1に記載の認識装置。 A transmission control unit that performs control to transmit the display information stored in the first buffer to the display device at a lower frequency than the frequency of the drawing process performed by the drawing unit;
The recognition device according to claim 1, further comprising:
前記認識装置は、
動画像を構成するフレームの記憶と、前記フレームに含まれる認識対象物に前記認識対象物を明示する付加情報が付加された表示情報の記憶と、を行う第1のバッファと、
前記フレームを前記第1のバッファに描画する第1の描画処理と、前記第1のバッファに記憶されたフレームに、前記付加情報を付加する描画を行うことにより前記表示情報を生成する第2の描画処理と、を行う描画部と、
前記第1の描画処理が完了したときに、第1の描画完了通知を通知する第1の通知部と、
前記第1の描画完了通知を受け付けたときに、前記フレームから認識対象物を認識する認識部と、
前記認識対象物の認識が完了したときに、認識結果を含む認識完了通知を通知する第2の通知部と、
前記認識完了通知を受信したときに、前記付加情報を生成する付加部と、
前記描画部により行われる描画処理の頻度よりも、低い頻度で前記第1のバッファに記憶された前記表示情報を、前記表示装置に送信する制御を行う送信制御部と、を備え、
前記表示装置は、前記認識装置から前記表示情報を受信すると、前記表示情報を表示する、
認識システム。 A recognition system comprising a recognition device and a display device,
The recognition device is
A first buffer that performs storage of a frame constituting a moving image, and storage of display information in which additional information that clearly indicates the recognition target is added to the recognition target included in the frame;
A first drawing process for drawing the frame in the first buffer; and a second drawing for generating the display information by performing drawing for adding the additional information to the frame stored in the first buffer. A drawing unit for performing drawing processing;
A first notification unit for notifying a first drawing completion notification when the first drawing process is completed;
A recognition unit that recognizes a recognition target object from the frame when the first drawing completion notification is received;
A second notification unit that notifies a recognition completion notification including a recognition result when recognition of the recognition object is completed;
An additional unit that generates the additional information when the recognition completion notification is received;
A transmission control unit that performs control to transmit the display information stored in the first buffer to the display device at a frequency lower than the frequency of the drawing process performed by the drawing unit;
When the display device receives the display information from the recognition device, the display device displays the display information.
Recognition system.
認識装置が、前記フレームを前記第1のバッファに描画する第1の描画処理と、前記第1のバッファに記憶されたフレームに、前記付加情報を付加する描画を行うことにより前記表示情報を生成する第2の描画処理と、を行うステップと、
認識装置が、前記第1の描画処理が完了したときに、第1の描画完了通知を通知するステップと、
認識装置が、前記第1の描画完了通知を受け付けたときに、前記フレームから認識対象物を認識するステップと、
認識装置が、前記認識対象物の認識が完了したときに、認識結果を含む認識完了通知を通知するステップと、
認識装置が、前記認識完了通知を受信したときに、前記付加情報を生成するステップと、
を備える認識方法。 Recognition of a recognition apparatus comprising a first buffer that performs storage of a frame constituting a moving image and storage of display information in which additional information specifying the recognition target is added to the recognition target included in the frame A method,
The recognition device generates the display information by performing a first drawing process for drawing the frame in the first buffer and drawing for adding the additional information to the frame stored in the first buffer. Performing a second drawing process,
A recognition device notifying a first drawing completion notification when the first drawing process is completed;
A step of recognizing a recognition object from the frame when the recognition device receives the first drawing completion notification;
A recognition device notifying a recognition completion notification including a recognition result when recognition of the recognition object is completed;
When the recognition device receives the recognition completion notification, generating the additional information;
A recognition method comprising:
前記フレームを前記第1のバッファに描画する第1の描画処理と、前記第1のバッファに記憶されたフレームに、前記付加情報を付加する描画を行うことにより前記表示情報を生成する第2の描画処理と、を行う描画部と、
前記第1の描画処理が完了したときに、第1の描画完了通知を通知する第1の通知部と、
前記第1の描画完了通知を受け付けたときに、前記フレームから認識対象物を認識する認識部と、
前記認識対象物の認識が完了したときに、認識結果を含む認識完了通知を通知する第2の通知部と、
前記認識完了通知を受信したときに、前記付加情報を生成する付加部、
として機能させるためのプログラム。 A computer comprising a first buffer that performs storage of a frame constituting a moving image and storage of display information in which additional information that clearly indicates the recognition target is added to the recognition target included in the frame.
A first drawing process for drawing the frame in the first buffer; and a second drawing for generating the display information by performing drawing for adding the additional information to the frame stored in the first buffer. A drawing unit for performing drawing processing;
A first notification unit for notifying a first drawing completion notification when the first drawing process is completed;
A recognition unit that recognizes a recognition target object from the frame when the first drawing completion notification is received;
A second notification unit that notifies a recognition completion notification including a recognition result when recognition of the recognition object is completed;
An additional unit that generates the additional information when receiving the recognition completion notification;
Program to function as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016005369A JP6538574B2 (en) | 2016-01-14 | 2016-01-14 | Recognition device, recognition system, recognition method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016005369A JP6538574B2 (en) | 2016-01-14 | 2016-01-14 | Recognition device, recognition system, recognition method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017126210A true JP2017126210A (en) | 2017-07-20 |
JP6538574B2 JP6538574B2 (en) | 2019-07-03 |
Family
ID=59364529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016005369A Active JP6538574B2 (en) | 2016-01-14 | 2016-01-14 | Recognition device, recognition system, recognition method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6538574B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107704221A (en) * | 2017-08-24 | 2018-02-16 | 上海与德科技有限公司 | Fillet display methods, mobile terminal and the storage medium of screen |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003216982A (en) * | 2002-01-17 | 2003-07-31 | Sony Corp | Device and method for providing information, storage medium, and computer program |
JP2007225925A (en) * | 2006-02-23 | 2007-09-06 | Sharp Corp | Image display device |
JP2010152817A (en) * | 2008-12-26 | 2010-07-08 | Sony Corp | Electronic apparatus, image display method, computer program and imaging device |
JP2010244437A (en) * | 2009-04-08 | 2010-10-28 | Sony Corp | Image processing device, image processing method, and computer program |
JP2015060384A (en) * | 2013-09-18 | 2015-03-30 | 株式会社ソニー・コンピュータエンタテインメント | Information processor |
-
2016
- 2016-01-14 JP JP2016005369A patent/JP6538574B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003216982A (en) * | 2002-01-17 | 2003-07-31 | Sony Corp | Device and method for providing information, storage medium, and computer program |
JP2007225925A (en) * | 2006-02-23 | 2007-09-06 | Sharp Corp | Image display device |
JP2010152817A (en) * | 2008-12-26 | 2010-07-08 | Sony Corp | Electronic apparatus, image display method, computer program and imaging device |
JP2010244437A (en) * | 2009-04-08 | 2010-10-28 | Sony Corp | Image processing device, image processing method, and computer program |
JP2015060384A (en) * | 2013-09-18 | 2015-03-30 | 株式会社ソニー・コンピュータエンタテインメント | Information processor |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107704221A (en) * | 2017-08-24 | 2018-02-16 | 上海与德科技有限公司 | Fillet display methods, mobile terminal and the storage medium of screen |
Also Published As
Publication number | Publication date |
---|---|
JP6538574B2 (en) | 2019-07-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107077274B (en) | Method and apparatus for moving context tags in a strip | |
EP2924590A1 (en) | Page rendering method and apparatus | |
JP5186047B2 (en) | Object display device, object display method, object display control program, and computer-readable recording medium recording the program | |
US10504258B2 (en) | Information processing device editing map acquired from server | |
US11551392B2 (en) | Graphic drawing method and apparatus, device, and storage medium | |
US20200142571A1 (en) | Optimizing Window Resize Actions for Remoted Applications | |
CN108427589B (en) | Data processing method and electronic equipment | |
JP2015005162A (en) | Information display device, display control program, and display control method | |
CN103034683A (en) | Page switching method and device for browser | |
US9984651B2 (en) | Method and apparatus for displaying composition screen image by composing screen images of operating systems (OSs) | |
JP2015135596A (en) | Information processing apparatus and information processing program | |
JP6538574B2 (en) | Recognition device, recognition system, recognition method and program | |
US10534505B2 (en) | Technique for preventing unnecessary overlap of user interfaces | |
US9953015B2 (en) | Displaying a document file target area based on history of display settings | |
JP2015197796A (en) | Electronic whiteboard device, method of assisting input to electronic whiteboard, and program | |
US20160170945A1 (en) | Information processing device, information processing method, and computer program product | |
US10109091B2 (en) | Image display apparatus, image display method, and storage medium | |
US10891021B2 (en) | Dynamic variation for selection option information presentation | |
JP6264951B2 (en) | Drawing apparatus, program, and drawing method | |
JP2002229767A (en) | Animation reproducing method and device | |
CN113468452B (en) | Remote sensing data visual interface interaction method and device and electronic equipment | |
US10867587B2 (en) | Display control apparatus, electronic equipment, and control method of display control apparatus | |
JP6268245B1 (en) | Program and information distribution apparatus | |
US20130057564A1 (en) | Image processing apparatus, image processing method, and image processing program | |
JP6054508B2 (en) | Display processing apparatus, display 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: 20180223 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20181002 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20181003 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20181130 |
|
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: 20190507 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190606 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6538574 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |