Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7632692B2 - Apparatus, method and program for detecting video of interest - Google Patents
[go: Go Back, main page]

JP7632692B2 - Apparatus, method and program for detecting video of interest - Google Patents

Apparatus, method and program for detecting video of interest Download PDF

Info

Publication number
JP7632692B2
JP7632692B2 JP2023567396A JP2023567396A JP7632692B2 JP 7632692 B2 JP7632692 B2 JP 7632692B2 JP 2023567396 A JP2023567396 A JP 2023567396A JP 2023567396 A JP2023567396 A JP 2023567396A JP 7632692 B2 JP7632692 B2 JP 7632692B2
Authority
JP
Japan
Prior art keywords
video
information
detection
distance
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2023567396A
Other languages
Japanese (ja)
Other versions
JPWO2023112214A1 (en
Inventor
基宏 高木
重邦 近藤
裕司 青野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Inc
NTT Inc USA
Original Assignee
Nippon Telegraph and Telephone Corp
NTT Inc USA
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 Nippon Telegraph and Telephone Corp, NTT Inc USA filed Critical Nippon Telegraph and Telephone Corp
Publication of JPWO2023112214A1 publication Critical patent/JPWO2023112214A1/ja
Application granted granted Critical
Publication of JP7632692B2 publication Critical patent/JP7632692B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Analysis (AREA)

Description

この発明の一態様は、例えば、映像データから注目対象の物体等を含む注目映像を検出する注目映像検出装置、方法およびプログラムに関する。One aspect of the present invention relates to an attention video detection device, method, and program for detecting attention video including an object of interest, for example, from video data.

近年、高精細カメラの普及に伴い、撮影した映像をもとに人物の行動を解析する技術が種々提案されている。例えば、監視カメラの映像をもとに犯罪行動を検出したり、工事現場における危険な行動を検出する技術がある。In recent years, with the widespread use of high-definition cameras, various technologies have been proposed to analyze human behavior based on captured video. For example, there are technologies that detect criminal behavior based on surveillance camera footage and dangerous behavior at construction sites.

人の行動を精度良く検知するには、一般に大量の映像を観察する必要がある。その場合、人手による観察は時間的および人的コストがかかるため、特定の行動を自動的に検出するアルゴリズムを用いる技術が研究されている。また、複数の人物の動きを個別に検出するために、人物のトラッキング技術や顔認証技術のロバスト性に関連する研究も盛んに行われている(例えば非特許文献1を参照)。 In order to accurately detect human behavior, it is generally necessary to observe a large amount of video. In such cases, manual observation is time-consuming and labor-intensive, so research is being conducted on technologies that use algorithms to automatically detect specific behaviors. In addition, research is being actively conducted on the robustness of person tracking and face recognition technologies to detect the movements of multiple people individually (see, for example, non-patent document 1).

Z. Xiao et al. “Improving Transferability of Adversarial Patches on Face Recognition with Generative Models.” CVPR2021.Z. Xiao et al. “Improving Transferability of Adversarial Patches on Face Recognition with Generative Models.” CVPR2021.

ところで、例えば人物の動きを精度良く検出するには、人物とこの人物が作業対象とする周囲の物体とのインタラクション、つまり動きの関連性を考慮する必要がある。しかし、非特許文献1に記載された技術は、監視対象となる特定の人物または物体の動きをそれ単体で検出するものとなっている。このため、人物の行動を精度良く検出できない場合がある。Incidentally, for example, to accurately detect the movement of a person, it is necessary to consider the interaction between the person and the surrounding objects that the person is working on, that is, the correlation between their movements. However, the technology described in Non-Patent Document 1 detects the movement of a specific person or object that is the target of monitoring on its own. As a result, there are cases where the behavior of a person cannot be detected with high accuracy.

例えば、梯子を登るまたはカナヅチで釘を打つ等の、人物と物体との間でインタラクションのあるシーンでは、梯子からの転落やカナヅチで誤って手を打つといった、周辺の物体と関連する特有の潜在的な危険を有している。しかし、監視対象として人物の動きのみを検知したのでは、人物の動作の潜在的な危険性までは監視することができない。For example, scenes involving interactions between a person and objects, such as climbing a ladder or hammering a nail with a hammer, have unique potential dangers associated with surrounding objects, such as falling off a ladder or accidentally hitting a hand with the hammer. However, detecting only the movements of people as the monitoring target cannot monitor the potential dangers of the people's actions.

この発明は上記事情に着目してなされたもので、注目対象の物体の動きを推定するために必要な注目映像を的確に検出可能とする技術を提供しようとするものである。This invention has been made in light of the above circumstances, and aims to provide technology that makes it possible to accurately detect the image of interest required to estimate the movement of an object of interest.

上記課題を解決するためにこの発明に係る注目映像検出装置または方法の一態様は、カメラにより撮像された映像データを取得する第1の処理部または過程と、前記映像データの映像フレームから、物体と当該物体の前記映像フレーム中の位置を表す情報を含む物体検出情報を検出する第2の処理部または過程と、前記映像データの前記映像フレームから、当該映像フレームに描画されている画像の前記カメラからの距離分布を表すデプス情報を抽出し、抽出した前記デプス情報をもとに前記物体の前記カメラからの距離を算出することにより距離検出情報を検出する第3の処理部または過程と、前記物体検出情報および前記距離検出情報に基づいて、注目対象となる第1の物体と当該第1の物体の作業対象となる第2の物体とを含み、かつ前記第1の物体と前記第2の物体との間の前記カメラからの距離の差が所定値以下の関係を有する前記第1の物体と前記第2の物体との組合せと、その距離の差を表す情報とを含む特定映像領域を検出する第4の処理部または過程と、前記特定映像領域に含まれる前記第1の物体と前記第2の物体との組合せと、その距離の差が、予め設定された検出条件を満たす特定映像領域を、注目映像として検出する第5の処理部または過程とを具備するものである。 In order to solve the above problem, one aspect of an attention video detection device or method according to the present invention includes a first processing unit or process for acquiring video data captured by a camera, a second processing unit or process for detecting object detection information including information representing an object and a position of the object in the video frame from a video frame of the video data, a third processing unit or process for extracting depth information representing a distance distribution from the camera of an image depicted in the video frame from the video frame of the video data, and detecting distance detection information by calculating a distance of the object from the camera based on the extracted depth information , and The system is equipped with a fourth processing unit or process for detecting a specific image area including a first object that is the target of attention and a second object that is the work target of the first object based on the object detection information and the distance detection information, and including a combination of the first object and the second object, in which the difference in distance from the camera between the first object and the second object is less than a predetermined value, and information representing the difference in distance; and a fifth processing unit or process for detecting, as the image of interest, a specific image area in which the combination of the first object and the second object included in the specific image area and the difference in distance satisfy a predetermined detection condition.

この発明の一態様によれば、例えば、注目対象として指定された第1の物体とこの第1の物体が作業対象とする周囲の第2の物体とを含み、かつ上記第1の物体と前記第2の物体との間のカメラからの距離の差が所定値以下の関係を有する前記第1の物体と前記第2の物体との組合せと、その距離の差を表す情報とを含む特定映像領域が注目映像として検出される。この結果、上記注目映像をもとに第1の物体の動きを解析する場合に、当該第1の物体とその作業対象となる周囲の第2の物体との間の奥行き方向のインタラクションを考慮して、第1の物体の動作を高精度に推定することが可能となる。 According to one aspect of the present invention, for example, a specific image area including a first object designated as a target of attention and a surrounding second object to be worked on by the first object, and including a combination of the first object and the second object, the difference in distance between the first object and the second object from a camera being equal to or less than a predetermined value, and information representing the difference in distance, is detected as the image of attention. As a result, when analyzing the movement of the first object based on the image of attention, it is possible to estimate the movement of the first object with high accuracy by taking into account the interaction in the depth direction between the first object and the surrounding second object to be worked on.

すなわちこの発明の一態様によれば、注目対象の物体の動きを推定するために必要な注目映像を的確に検出可能とした技術を提供することができる。In other words, according to one aspect of the present invention, a technology can be provided that enables accurate detection of the image of interest required to estimate the movement of an object of interest.

図1は、この発明の一実施形態に係る注目映像検出装置のハードウェア構成の一例を、周辺部の構成と共に示したブロック図である。FIG. 1 is a block diagram showing an example of the hardware configuration of an interest video detection device according to an embodiment of the present invention, together with the configuration of the peripheral parts. 図2は、この発明の一実施形態に係る注目映像検出装置のソフトウェア構成の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of the software configuration of the interest video detection device according to the embodiment of the present invention. 図3は、図2に示した注目映像検出装置の制御部が実行する注目映像検出処理の処理手順と処理内容の一例を示すフローチャートである。FIG. 3 is a flowchart showing an example of a processing procedure and processing contents of an attention video detection process executed by the control unit of the attention video detection device shown in FIG. 図4は、図3に示した注目映像検出処理のうち物体検出処理の処理手順と処理内容の一例を示すフローチャートである。FIG. 4 is a flowchart showing an example of the processing procedure and processing contents of the object detection processing of the interest video detection processing shown in FIG. 図5は、図3に示した注目映像検出処理のうち距離情報検出処理の処理手順と処理内容の一例を示すフローチャートである。FIG. 5 is a flowchart showing an example of the processing procedure and processing contents of the distance information detection processing in the interest video detection processing shown in FIG. 図6Aは、図3に示した注目映像検出処理のうち特定区間判定処理の処理手順と処理内容の前半部分の処理を示すフローチャートである。FIG. 6A is a flowchart showing the processing procedure and processing contents of the first half of the specific section determination processing of the interest video detection processing shown in FIG. 図6Bは、図3に示した注目映像検出処理のうち特定区間判定処理の処理手順と処理内容の後半部分の処理を示すフローチャートである。FIG. 6B is a flowchart showing the processing procedure and processing contents of the latter half of the specific section determination processing of the interest video detection processing shown in FIG. 図7は、図3に示した注目映像検出処理のうち注目映像検出処理の処理手順と処理内容の一例を示すフローチャートである。FIG. 7 is a flowchart showing an example of a processing procedure and processing contents of the attention video detection processing shown in FIG. 図8は、図3に示した注目映像検出関連情報記憶部に記憶される注目映像検出ルールの一例を示す図である。FIG. 8 is a diagram showing an example of an attention video detection rule stored in the attention video detection related information storage unit shown in FIG. 3. As shown in FIG.

以下、図面を参照してこの発明に係わる実施形態を説明する。 Below, an embodiment of the present invention is described with reference to the drawings.

[一実施形態]
(構成例)
図1はこの発明の一実施形態に係る注目映像検出装置のハードウェア構成の一例をその周辺デバイスと共に示したブロック図、図2は上記注目映像検出装置のソフトウェア構成の一例を示すブロック図である。
[One embodiment]
(Configuration example)
FIG. 1 is a block diagram showing an example of the hardware configuration of an attention video detection apparatus according to an embodiment of the present invention together with its peripheral devices, and FIG. 2 is a block diagram showing an example of the software configuration of the attention video detection apparatus.

注目映像検出装置BDは、例えばサーバコンピュータまたはパーソナルコンピュータ等の情報処理装置からなり、この注目映像検出装置BDには信号ケーブルまたは図示しないネットワークを介して、カメラCMおよび端末MTが接続されている。The image detection device BD of interest consists of an information processing device such as a server computer or a personal computer, and a camera CM and a terminal MT are connected to the image detection device BD via a signal cable or a network not shown.

カメラCMは、例えば監視対象エリアを撮影可能な天井や壁面等に設置され、上記監視対象エリアに存在する監視対象となる人物の全身をその周辺領域と共に撮影し、時系列の映像データを注目映像検出装置BDへ送信する。The camera CM is installed, for example, on a ceiling or wall surface capable of capturing an image of the area to be monitored, captures the entire body of a person to be monitored who is in the area to be monitored together with the surrounding area, and transmits the time-series image data to the image detection device BD.

なお、カメラCMにより撮影された映像データは、カメラCMから注目映像検出装置BDへ直接送信されてもよいが、図示しない映像データベースに一旦蓄積されたのち注目映像検出装置BDへ送られるようにしてもよい。また、カメラCMは1台に限らず複数台であってもよい。The video data captured by the camera CM may be sent directly from the camera CM to the attention video detection device BD, or may be temporarily stored in a video database (not shown) and then sent to the attention video detection device BD. The number of cameras CM is not limited to one, and may be multiple.

端末MTは、例えばシステム管理者、または監視対象の人物の行動を監視する監視者が使用するもので、パーソナルコンピュータ等の情報処理端末により構成される。端末MTは、例えば、注目映像検出装置BDにより検出された注目映像情報を受信し、受信された注目映像情報をもとに監視対象の人物の行動を解析する機能を備える。なお、上記注目映像をもとに監視対象の人物の行動を解析する機能は、注目映像検出装置BDが備えていてもよい。The terminal MT is used, for example, by a system administrator or a monitor who monitors the behavior of the monitored person, and is configured as an information processing terminal such as a personal computer. The terminal MT has a function of receiving, for example, video information of interest detected by the video information of interest detection device BD, and analyzing the behavior of the monitored person based on the received video information of interest. Note that the function of analyzing the behavior of the monitored person based on the video of interest may be provided by the video information of interest detection device BD.

また端末MTは、注目映像検出装置BDが機械学習モデルを備える場合に、機械学習モデルの学習に必要な学習データを注目映像検出装置BDに入力する機能を備えていてもよい。 In addition, when the attention video detection device BD is equipped with a machine learning model, the terminal MT may have a function of inputting learning data necessary for learning the machine learning model into the attention video detection device BD.

注目映像検出装置BDは、中央処理ユニット(Central Processing Unit:CPU)および画像処理ユニット(Graphics Processing Unit:GPU)等のハードウェアプロセッサを使用した制御部1を備え、制御部1に対し、バス5を介して、プログラム記憶部2およびデータ記憶部3を有する記憶ユニットと、入出力インタフェース(以後インタフェースをI/Fと略称する)部4を接続したものとなっている。なお、制御部1は、PLD(Programmable Logic Device)やFPGA(Field Programmable Gate Array)等を用いて構成されてもよい。The image detection device of interest BD is equipped with a control unit 1 using hardware processors such as a central processing unit (CPU) and a graphics processing unit (GPU), and is connected to the control unit 1 via a bus 5 with a storage unit having a program storage unit 2 and a data storage unit 3, and an input/output interface (hereinafter the interface is abbreviated as I/F) unit 4. The control unit 1 may be configured using a programmable logic device (PLD) or a field programmable gate array (FPGA), etc.

入出力I/F部4は、通信インタフェース機能を有し、信号ケーブルまたはネットワークを介して、上記カメラCMおよび端末MTとの間で映像データおよび各入出力データの送受信を行う。The input/output I/F unit 4 has a communication interface function and transmits and receives video data and various input/output data between the camera CM and the terminal MT via a signal cable or a network.

プログラム記憶部2は、例えば、記憶媒体としてSSD(Solid State Drive)等の随時書込みおよび読出しが可能な不揮発性メモリと、ROM(Read Only Memory)等の不揮発性メモリとを組み合わせて構成したもので、OS(Operating System)等のミドルウェアに加えて、一実施形態に係る各種制御処理を実行するために必要なアプリケーション・プログラムを格納する。なお、以後OSと各アプリケーション・プログラムとをまとめてプログラムと称する。The program storage unit 2 is configured by combining a non-volatile memory such as a solid state drive (SSD) as a storage medium that can be written to and read from at any time, and a non-volatile memory such as a read only memory (ROM), and stores application programs necessary for executing various control processes according to one embodiment, in addition to middleware such as an operating system (OS). Hereinafter, the OS and each application program will be collectively referred to as a program.

データ記憶部3は、例えば、記憶媒体として、SSD等の随時書込みおよび読出しが可能な不揮発性メモリと、RAM(Random Access Memory)等の揮発性メモリと組み合わせたもので、一実施形態を実施するために必要な主たる記憶部として、映像データ記憶部31と、特定区間映像判定関連情報記憶部32と、注目映像検出関連情報記憶部33とを備えている。The data storage unit 3 is, for example, a combination of a non-volatile memory such as an SSD, which can be written to and read from at any time, and a volatile memory such as a RAM (Random Access Memory), as a storage medium, and includes a video data storage unit 31, a specific section video determination related information storage unit 32, and a focus video detection related information storage unit 33 as the main storage units required to implement one embodiment.

映像データ記憶部31は、カメラCMから送信される時系列の映像データを、以後の注目映像検出処理のために一旦記憶するために使用される。The video data storage unit 31 is used to temporarily store the time-series video data transmitted from the camera CM for subsequent video of interest detection processing.

特定区間映像判定関連情報記憶部32は、監視対象として事前に指定された指定領域および指定物体の名称を含む特定区間映像判定関連情報を記憶する。The specific section video assessment related information storage unit 32 stores specific section video assessment related information including the names of the designated area and designated object that have been designated in advance as monitoring targets.

指定領域は、例えば監視カメラCMが監視対象エリアに固定的に設置される場合に、端末MTまたは注目映像検出装置BDにより、上記カメラCMの映像をもとにセマンティックセグメンテーション等の手法を用いて自動的に設定される。なお、指定領域は管理者または監視者により端末MTから手動操作により設定されてもよい。 For example, when a surveillance camera CM is fixedly installed in a monitored area, the designated area is automatically set by the terminal MT or the attention video detection device BD using a method such as semantic segmentation based on the video of the camera CM. The designated area may also be set manually by an administrator or a monitor on the terminal MT.

指定領域は、例えば矩形、多角形または円形等の形状により表現される。また、指定領域は1つに限らず複数指定することもできる。例えば、形状が矩形であれば、1つの固定カメラCMにより撮影される映像フレーム内に、複数の矩形が検出対象領域として指定される。なお、指定領域は必ずしも設定しなくてもよい。この場合、映像フレームの全域が指定領域と見なされる。 The designated area is expressed by a shape such as a rectangle, polygon, or circle. Furthermore, the designated area is not limited to one, and multiple designated areas can be specified. For example, if the shape is rectangular, multiple rectangles are specified as detection target areas within a video frame captured by a single fixed camera CM. Note that the designated area does not necessarily have to be set. In this case, the entire video frame is considered to be the designated area.

一方、指定物体としては、人物、梯子、カナヅチ、安全ベルト等の検出対象となる物体名が指定される。なお、指定物体は必ずしも指定しなくてもよい。この場合、すべての物体が検出対象と見なされる。On the other hand, the designated object is the name of the object to be detected, such as a person, ladder, hammer, safety belt, etc. Note that the designated object does not necessarily have to be specified. In this case, all objects are considered to be detection targets.

注目映像検出関連情報記憶部33は、注目映像を検出するために必要な検出ルールを記憶する。検出ルールは、後述する特定区間判定処理部14により検出された特定区間の映像が、人物と物体との間でインタラクションが発生する可能性が高い注目映像であるか否かを判定するためのルールを定義するもので、事前に複数記憶される。The attention video detection related information storage unit 33 stores detection rules necessary for detecting attention video. The detection rules define rules for determining whether or not a video of a specific section detected by the specific section determination processing unit 14 described later is attention video in which an interaction between a person and an object is likely to occur, and multiple detection rules are stored in advance.

制御部1は、一実施形態を実施するために必要な処理機能として、映像データ取得処理部11と、物体検出処理部12と、距離情報検出処理部13と、特定区間判定処理部14と、注目映像検出処理部15とを備える。上記処理部11~15は、何れもプログラム記憶部2に格納されたアプリケーション・プログラムを、制御部1のハードウェアプロセッサに実行させることにより実現される。The control unit 1 includes, as processing functions necessary for implementing one embodiment, a video data acquisition processing unit 11, an object detection processing unit 12, a distance information detection processing unit 13, a specific section determination processing unit 14, and a focus video detection processing unit 15. All of the above processing units 11 to 15 are realized by causing the hardware processor of the control unit 1 to execute application programs stored in the program storage unit 2.

映像データ取得処理部11は、カメラCMから出力される時系列の映像データを入出力I/F部4を介して取得し、取得された上記各映像データを映像データ記憶部31に一旦記憶させる処理を行う。The video data acquisition processing unit 11 acquires time-series video data output from the camera CM via the input/output I/F unit 4, and performs processing to temporarily store each of the acquired video data in the video data storage unit 31.

物体検出処理部12は、ニューラルネットワークを用いて構築される物体検出用の機械学習モデルを備える。そして、物体検出処理部12は、映像データ記憶部31から映像データをフレームごとに読み込み、読み込まれた映像フレームを上記物体検出用の機械学習モデルに入力することで、当該映像フレームに写っている物体のクラスと位置を物体検出情報として検出する。この物体検出処理の一例は動作例において述べる。The object detection processing unit 12 includes a machine learning model for object detection constructed using a neural network. The object detection processing unit 12 reads the video data from the video data storage unit 31 frame by frame, and inputs the read video frames into the machine learning model for object detection to detect the class and position of the object appearing in the video frame as object detection information. An example of this object detection process will be described in the operation example.

距離情報検出処理部13は、ニューラルネットワークを用いて構築される距離情報検出用の機械学習モデルを備える。そして、距離情報検出処理部13は、映像データ記憶部31から映像データをフレームごとに読み込み、読み込まれた映像フレームを上記距離情報検出用の機械学習モデルに入力することで、上記映像フレームに写っている画像のカメラCMからの距離を画素(ピクセル)単位で検出する。この距離情報の検出処理の一例についても動作例で説明する。The distance information detection processing unit 13 includes a machine learning model for detecting distance information that is constructed using a neural network. The distance information detection processing unit 13 reads the video data from the video data storage unit 31 frame by frame, and inputs the read video frames into the machine learning model for detecting distance information to detect the distance from the camera CM of the image shown in the video frame in pixel units. An example of this distance information detection process will also be described in the operation example.

特定区間判定処理部14は、上記物体検出処理部12および上記距離情報検出処理部13から、それぞれ物体検出情報および距離検出情報を受け取る。そして、これらの検出情報を、特定区間映像判定関連情報記憶部32に記憶された特定区間映像判定関連情報と照合することで、指定領域内に指定物体が写っている特定区間の映像を検出する処理を行う。特定区間検出処理の一例は動作例においてより詳しく説明する。The specific section determination processing unit 14 receives object detection information and distance detection information from the object detection processing unit 12 and the distance information detection processing unit 13, respectively. Then, by comparing this detection information with the specific section video determination related information stored in the specific section video determination related information storage unit 32, a process is performed to detect a video of a specific section in which a specified object is captured within a specified area. An example of the specific section detection process will be explained in more detail in the operation example.

注目映像検出処理部15は、上記特定区間判定処理部14により検出された特定区間映像情報を受け取る。そして、受け取った上記特定区間映像情報を、注目映像検出関連情報記憶部33に記憶されている検出ルールと照合することで、上記特定区間映像情報が注目映像であるか否かを判定し、注目映像であれば当該注目映像を入出力I/F部4から端末MTへ出力する処理を行う。注目映像判定処理の一例についても、動作例においてより詳しく説明する。The attention video detection processing unit 15 receives the specific section video information detected by the specific section determination processing unit 14. The received specific section video information is then compared with the detection rules stored in the attention video detection related information storage unit 33 to determine whether the specific section video information is attention video, and if so, performs processing to output the attention video from the input/output I/F unit 4 to the terminal MT. An example of attention video determination processing will also be described in more detail in the operation example.

なお、上記物体検出用の機械学習モデルおよび上記距離情報検出用の機械学習モデルは、例えば畳み込みニューラルネットワークにより構成されるが、ニューラルネットワークの種類については適宜選択して使用可能である。また、特定区間判定処理部14および注目映像検出処理部15においても、特定区間の判定処理および注目映像の検出処理を、それぞれ機械学習モデルを用いて実行するようにしてもよい。The machine learning model for object detection and the machine learning model for distance information detection are, for example, configured by a convolutional neural network, but the type of neural network can be appropriately selected and used. Also, in the specific section determination processing unit 14 and the attention video detection processing unit 15, the specific section determination process and the attention video detection process may each be performed using a machine learning model.

(動作例)
次に、以上のように構成された注目映像検出装置BDの動作例を説明する。
なお、上記物体検出用の機械学習モデルおよび上記距離情報検出用の機械学習モデルは、事前に学習されているものとして以後の説明を行う。
(Example of operation)
Next, an example of the operation of the interest video detecting device BD configured as above will be described.
In the following description, it is assumed that the machine learning model for object detection and the machine learning model for distance information detection have been trained in advance.

図3は、注目映像検出装置BDの制御部1が実行する注目映像検出処理の全体の処理手順および処理内容の一例を示すフローチャートである。 Figure 3 is a flowchart showing an example of the overall processing procedure and processing content of the attention video detection process performed by the control unit 1 of the attention video detection device BD.

(1)映像データの取得
注目映像検出装置BDの制御部1は、映像データ取得処理部11の制御の下、カメラCMにより監視対象エリアを撮影して得られた時系列の映像データを、入出力I/F部4を介して取得する。そして、取得された上記映像データをフレームごとに映像データ記憶部31に順次保存する。
(1) Acquisition of Video Data Under the control of the video data acquisition processing unit 11, the control unit 1 of the target video detection device BD acquires time-series video data obtained by photographing the area to be monitored by the camera CM via the input/output I/F unit 4. Then, the acquired video data is stored in the video data storage unit 31 sequentially for each frame.

(2)物体の検出
上記映像データが一定時間分取得されると、注目映像検出装置BDの制御部1は、物体検出処理部12の制御の下、ステップS1において、映像データからフレームごとに物体のクラスと位置を表す情報を検出する処理を以下のように行う。
(2) Object Detection Once a certain period of video data has been acquired, the control unit 1 of the target video detection device BD, under the control of the object detection processing unit 12, performs the following process in step S1 to detect information representing the object class and position for each frame from the video data.

図4は、物体検出処理部12により実行される物体検出処理の処理手順と処理内容の一例を示すフローチャートである。 Figure 4 is a flowchart showing an example of the processing procedure and processing content of the object detection processing performed by the object detection processing unit 12.

すなわち、物体検出処理部12は、ステップS11により映像データ記憶部31から映像データをフレームごとに読み込む。そして、読み込まれた映像フレームを物体検出用の機械学習モデルに入力し、この学習モデルにより上記映像フレームに写っている物体のクラスと位置を表す情報をそれぞれ検出する。That is, in step S11, the object detection processing unit 12 reads the video data frame by frame from the video data storage unit 31. The read video frames are then input to a machine learning model for object detection, and information representing the class and position of each object shown in the video frame is detected by the learning model.

例えば、検出対象となる物体として、「人物」、「梯子」、「安全ベルト」が事前に指定されていたとすると、物体検出処理部12の物体検出用学習モデルは、ステップS12において、上記映像フレームから上記各物体の検出処理を行い、検出された物体を“1”、検出されなかった物体を“0”とした2値のベクトルで表現されるクラス情報を出力する。例えば、いまある映像フレームにおいて「人物」と「梯子」が検出されたとすると、クラス情報(1,1,0)を出力する。なお、ベクトル長は、物体のクラス数に依存する。 For example, if "person", "ladder", and "safety belt" have been specified in advance as objects to be detected, then in step S12, the object detection learning model of the object detection processing unit 12 performs a detection process for each of the above objects from the video frame, and outputs class information represented as a binary vector in which a detected object is "1" and an undetected object is "0". For example, if a "person" and a "ladder" are detected in a current video frame, the class information (1, 1, 0) is output. Note that the vector length depends on the number of object classes.

一方、物体の位置は、バウンディングボックス情報により表現される。バウンディングボックス情報は(x_min, y_min, x_max, y_max)で表現される。これは、映像フレームの左上端の座標を(0, 0)としたときの、矩形の左上端の端点(x_min, y_min)と右下端の端点(x_max, y_max)の座標を示すものである。物体検出処理部12の物体検出用学習モデルは、ステップS13により上記クラス情報に含まれる物体ごとにバウンディングボックス情報を出力する。 On the other hand, the position of an object is represented by bounding box information. The bounding box information is represented by (x_min, y_min, x_max, y_max). This indicates the coordinates of the upper left corner of the rectangle (x_min, y_min) and the lower right corner (x_max, y_max) when the coordinates of the upper left corner of the video frame are (0, 0). The learning model for object detection of the object detection processing unit 12 outputs bounding box information for each object included in the above class information in step S13.

物体検出処理部12は、上記物体検出用の学習モデルから出力された上記クラス情報とバウンディングボックス情報とからなる物体検出情報を、ステップS14により特定区間判定処理部14へ出力する。The object detection processing unit 12 outputs object detection information consisting of the class information and bounding box information output from the learning model for object detection to the specific section determination processing unit 14 in step S14.

なお、人物の時系列的な整合性を保つために、周知の人物トラッキング技術を用いて人物を識別する人物IDを生成し、この人物IDを上記物体検出情報に含めるようにしてもよい。人物トラッキング技術については、例えばK. Zhou et al. “Omni-Scale Feature Learning for Person Re-Identification.” ICCV2019.に詳しく記載されている。また、映像フレームから物体を検出する手法についても、周知の手法を用いることができる。In order to maintain the chronological consistency of a person, a person ID for identifying the person may be generated using a known person tracking technique, and the person ID may be included in the object detection information. Person tracking techniques are described in detail in, for example, K. Zhou et al. "Omni-Scale Feature Learning for Person Re-Identification." ICCV2019. Also, known techniques can be used to detect objects from video frames.

(3)距離情報の抽出
注目映像検出装置BDの制御部1は、上記物体検出処理と並行して、距離情報検出処理部13の制御の下、ステップS2において、上記映像フレームに写っている画像のカメラCMからの距離を画素(ピクセル)単位で抽出する処理を以下のように実行する。
(3) Extraction of Distance Information In parallel with the above object detection process, the control unit 1 of the target video detection device BD, under the control of the distance information detection processing unit 13, executes a process in step S2 to extract the distance from the camera CM of the image captured in the above video frame in pixel units as follows.

図5は、距離情報検出処理部13により実行される距離情報検出処理の処理手順と処理内容の一例を示すフローチャートである。 Figure 5 is a flowchart showing an example of the processing procedure and processing content of the distance information detection processing performed by the distance information detection processing unit 13.

すなわち、距離情報検出処理部13は、先ずステップS21により映像データ記憶部31から映像データをフレームごとに読み込む。そして、読み込まれた上記映像フレームを距離情報検出用の機械学習モデルに入力し、この学習モデルにより上記映像フレームに写っている画像のカメラCMからの画素毎の距離分布を表す情報を検出し出力する。That is, the distance information detection processing unit 13 first reads the video data frame by frame from the video data storage unit 31 in step S21. The read video frames are then input to a machine learning model for distance information detection, and this learning model detects and outputs information representing the distance distribution of each pixel from the camera CM of the image captured in the video frames.

例えば、距離分布はデプスフレームDにより表される。デプスフレームDには、映像フレームIのピクセルp(u, v)ごとに、対応するデプス情報d(u, v)が収容されている。ここで、p,dは映像フレーム上の各画素位置に対応するピクセル値とデプス値を返す関数であり、またu,vは映像フレーム上の画素位置を表す。For example, the distance distribution is represented by a depth frame D. Depth frame D contains the corresponding depth information d(u, v) for each pixel p(u, v) in video frame I. Here, p and d are functions that return the pixel value and depth value corresponding to each pixel position on the video frame, and u and v represent the pixel position on the video frame.

距離情報検出用の機械学習モデルは、ステップS22において、入力された映像データに対応するデプスフレームDを抽出し、抽出された上記デプスフレームDを距離検出情報としてステップS23により特定区間判定処理部14へ出力する。In step S22, the machine learning model for distance information detection extracts a depth frame D corresponding to the input video data, and outputs the extracted depth frame D to the specific section determination processing unit 14 as distance detection information in step S23.

なお、カメラCMとしてデプスカメラ等が用いられている場合には、デプスフレームを上記デプスカメラから取得するようにしてもよい。但し、この場合、デプスカメラから取得されるデプスフレームは、映像フレームと時間的および空間的にアラインメントされている必要がある。 If a depth camera or the like is used as the camera CM, the depth frame may be acquired from the depth camera. In this case, however, the depth frame acquired from the depth camera needs to be aligned with the video frame in time and space.

(4)特定区間の判定
注目映像検出装置BDの制御部1は、次に特定区間判定処理部14の制御の下、ステップS3において、上記物体検出情報および距離検出情報をもとに、映像フレーム中の指定された領域に指定された物体が写っている特定区間を判定する処理を、以下のように実行する。
(4) Determination of specific section The control unit 1 of the interest video detection device BD then, under the control of the specific section determination processing unit 14, in step S3, performs a process of determining a specific section in which a specified object is captured in a specified area in the video frame based on the above object detection information and distance detection information, as follows.

図6Aおよび図6Bは、特定区間判定処理部14が実行する特定区間判定処理の処理手順と処理内容の一例を示すフローチャートである。 Figures 6A and 6B are flowcharts showing an example of the processing procedure and processing content of the specific section determination processing performed by the specific section determination processing unit 14.

(4-1)指定領域と指定物体の検出
特定区間判定処理部14は、先ず図6AのステップS311において、上記物体検出処理部12および距離情報検出処理部13からそれぞれ上記物体検出情報および上記距離検出情報を受け取る。また、ステップS312において、特定区間映像判定関連情報記憶部32から特定区間映像判定関連情報を読み込む。
6A, the specific section determination processing unit 14 first receives the object detection information and the distance detection information from the object detection processing unit 12 and the distance information detection processing unit 13. In addition, in step S312, the specific section video determination related information is read from the specific section video determination related information storage unit 32.

特定区間判定処理部14は、次にステップS313において、上記物体検出情報を上記特定区間映像判定関連情報と照合し、特定区間映像判定関連情報で定義されている検出対象の指定領域に何らかの物体が写っているか否かを判定する。そして、指定領域に何らかの物体が写っていれば、当該指定領域を物体領域情報としてすべて抽出する。In step S313, the specific section determination processing unit 14 then compares the object detection information with the specific section video determination related information and determines whether any object is captured in the designated area of the detection target defined in the specific section video determination related information. If any object is captured in the designated area, the specified area is extracted as object area information.

続いて特定区間判定処理部14は、ステップS314において、検出された上記複数の物体領域情報の中に人物が写っている物体領域情報があるか否かを判定し、該当する領域情報が存在しなければ処理を終了する。これに対し、人物が写っている物体領域情報が見つかった場合、特定区間判定処理部14は次にステップS315により、上記人物が写っている物体領域情報の中に人物以外の物体がさらに写っている物体領域情報があるかどうかを判定し、該当する物体領域情報が存在しなければ処理を終了する。Next, in step S314, the specific section determination processing unit 14 determines whether or not there is object area information in which a person is included among the plurality of detected object area information, and ends the process if there is no corresponding area information. On the other hand, if object area information in which a person is included is found, the specific section determination processing unit 14 next determines in step S315 whether or not there is object area information in which an object other than a person is included among the object area information in which the person is included, and ends the process if there is no corresponding object area information.

一方、物体が写っている物体領域情報が検出されたとする。この場合、特定区間判定処理部14は、ステップS316において、上記特定区間映像判定関連情報により検出対象として指定された物体とマッチする物体を含む指定物体領域情報を抽出する。On the other hand, suppose that object region information containing an object is detected. In this case, in step S316, the specific section determination processing unit 14 extracts designated object region information including an object that matches the object specified as the detection target by the specific section video determination related information.

以上のステップS311~S316による一連の処理を行うことで、指定領域内に、人物が写っている人物領域が最低1つ存在し、かつ当該人物の作業対象となり得る指定物体が写っている物体領域が1つ以上存在する指定物体領域情報が検出される。By performing the series of processes in steps S311 to S316 described above, designated object area information is detected in which the designated area contains at least one person area containing a person, and one or more object areas containing a designated object that may be the subject of work for the person.

(4-2)距離に着目した特定区間映像の検出
次に特定区間判定処理部14は、図6BのステップS321において、先にステップS311において受け取った距離検出情報から、指定物体領域情報に対応する距離検出情報を抽出する。つまり、指定領域内の、人物が写っている人物領域と、指定物体が写っている物体領域の各々に対応する距離検出情報を抽出する。ここで、上記人物領域および物体領域に対応する距離検出情報は、各領域のバウンディングボックスに対応するデプスフレームにデプス情報として含まれている。すなわち、上記人物領域および物体領域の各々に対応する距離検出情報は、バウンディングボックス(x_min, y_min, x_max, y_max)に対応するデプスフレームに含まれるデプス情報d(u, v)の集合となっている。
(4-2) Detection of specific section video focusing on distance Next, in step S321 of FIG. 6B, the specific section determination processing unit 14 extracts distance detection information corresponding to the specified object region information from the distance detection information previously received in step S311. That is, distance detection information corresponding to each of the person region in which a person is photographed and the object region in which a specified object is photographed within the specified region is extracted. Here, the distance detection information corresponding to the person region and the object region is included as depth information in the depth frame corresponding to the bounding box of each region. That is, the distance detection information corresponding to each of the person region and the object region is a set of depth information d(u, v) included in the depth frame corresponding to the bounding box (x_min, y_min, x_max, y_max).

特定区間判定処理部14は、続いてステップS322により、上記人物領域および物体領域の各々について、距離の平均を算出する。この平均距離は、バウンディングボックス(x_min, y_min, x_max, y_max)に対応するデプスフレームに含まれるデプス情報d(u, v)の集合の平均として算出される。 The specific section determination processing unit 14 then calculates the average distance for each of the person region and object region in step S322. This average distance is calculated as the average of the set of depth information d(u, v) included in the depth frame corresponding to the bounding box (x_min, y_min, x_max, y_max).

特定区間判定処理部14は、続いてステップS323において、指定物体領域情報中のN 個の人物領域のリストH と、M 個の人物領域以外の物体領域のリストO をそれぞれ生成する。そして特定区間判定処理部14は、ステップS324により、上記リストH に含まれる人物領域h_i のi をi=0 に初期化し、かつステップS325により、上記リストO に含まれる物体領域o_j のj をj=0 に初期化した後、ステップS326において、上記リストH に含まれる人物領域h_0 の平均距離と、上記リストO に含まれる物体領域o_0 の平均距離との差分Eを算出する。In step S323, the specific section determination processing unit 14 then generates a list H of N person regions in the specified object region information and a list O of M object regions other than person regions. In step S324, the specific section determination processing unit 14 initializes i of the person region h_i included in the list H to i=0, and in step S325, initializes j of the object region o_j included in the list O to j=0. In step S326, the specific section determination processing unit 14 calculates the difference E between the average distance of the person region h_0 included in the list H and the average distance of the object region o_0 included in the list O.

特定区間判定処理部14は、続いてステップS327において、算出された上記平均距離の差分Eを閾値Tと比較することで、平均距離の差分Eが閾値T以下であるか否かを判定する。この判定の結果、平均距離の差分Eが閾値T以下であれば、ステップS328により、上記人物領域h_0 と物体領域o_0 との組みとその平均距離差分Eを、特定区間映像情報に追加する。なお、平均距離の差分Eが閾値Tを超えている場合には、上記追加を行わずにステップS329へ移行する。 In step S327, the specific section determination processing unit 14 then compares the calculated average distance difference E with a threshold value T to determine whether the average distance difference E is equal to or less than the threshold value T. If the result of this determination is that the average distance difference E is equal to or less than the threshold value T, in step S328, the pair of the person area h_0 and the object area o_0 and the average distance difference E are added to the specific section video information. Note that if the average distance difference E exceeds the threshold value T, the above addition is not performed and the process proceeds to step S329.

特定区間判定処理部14は、続いてステップS329において、上記物体領域情報o_j のj をインクリメント(j+1)して次の物体領域情報o_1 を選択し、ステップS326に戻って上記物体領域o_1 の平均距離と人物領域h_0 の平均距離との差分Eを算出する。そして、ステップS327により、算出された上記差分Eが閾値T以下であるか否かを判定し、差分Eが閾値T以下であれば、上記人物領域情報h_0 と物体領域情報o_1 との組みとその平均距離差分Eを特定区間映像情報に追加し、差分Eが閾値Tを超えていれば追加しない。 In step S329, the specific section determination processing unit 14 then increments j of the object region information o_j (j+1) to select the next object region information o_1, and returns to step S326 to calculate the difference E between the average distance of the object region o_1 and the average distance of the person region h_0. Then, in step S327, it is determined whether the calculated difference E is equal to or less than a threshold value T, and if the difference E is equal to or less than the threshold value T, the pair of the person region information h_0 and object region information o_1 and the average distance difference E are added to the specific section video information, and if the difference E exceeds the threshold value T, they are not added.

特定区間判定処理部14は、以後同様に、ステップS326~S330により、上記物体領域情報リストO に含まれるM個すべての物体領域o_j (j=2,…,M) と、人物領域h_0 との平均距離の差分Eを順次算出して、閾値Tと比較する処理を繰り返し実行する。そして、差分Eが閾値T以下となる物体領域o_j (j=2,…,M) と人物領域h_0 との組が見つかれば、この組をその平均距離差分Eと共に特定区間映像情報に追加する。 In the same manner, in steps S326 to S330, the specific section determination processing unit 14 repeatedly calculates the average distance difference E between all M object regions o_j (j=2, ..., M) included in the object region information list O and the person region h_0, and compares it with the threshold value T. Then, if a pair of an object region o_j (j=2, ..., M) and a person region h_0 for which the difference E is equal to or smaller than the threshold value T is found, this pair is added to the specific section video information together with the average distance difference E.

特定区間判定処理部14は、次にステップS331により人物領域h_iのi の値をインクリメント(i+1)して次の人物領域h_1 を選択する。そして、ステップS325に戻って物体領域o_j のj を初期化した後、ステップS326により上記人物領域h_1 の平均距離と上記物体領域o_0 の平均距離との差分Eを算出し、ステップS327で当該差分Eが閾値T以下であるか否かを判定する。そして、差分Eが閾値T以下であれば、上記人物領域h_1と上記物体領域o_0 との組みと、その平均距離の差分Eを特定区間映像情報に追加する。The specific section determination processing unit 14 then increments the value of i of the person area h_i (i+1) in step S331 to select the next person area h_1. Then, the process returns to step S325 to initialize j of the object area o_j, and calculates the difference E between the average distance of the person area h_1 and the average distance of the object area o_0 in step S326, and determines whether the difference E is equal to or less than the threshold value T in step S327. If the difference E is equal to or less than the threshold value T, the pair of the person area h_1 and the object area o_0 and the difference E in the average distance are added to the specific section video information.

特定区間判定処理部14は、以後同様に、上記人物領域h_1とM個すべての物体領域o_j (j=1,…,M)との各組み合わせについて、それぞれ平均距離の差分Eを算出して閾値Tと比較する処理を繰り返す。そして、平均距離の差分Eが閾値T以下となる人物領域h_1と上記物体領域o_j (j=1,…,M)との組み合わせが見つかれば、この組みとその平均距離の差分Eを特定区間映像情報に追加する。The specific section determination processing unit 14 thereafter repeats the process of calculating the average distance difference E for each combination of the person region h_1 and all M object regions o_j (j=1, ..., M) and comparing it with the threshold value T. Then, when a combination of the person region h_1 and the object region o_j (j=1, ..., M) for which the average distance difference E is equal to or less than the threshold value T is found, this combination and the average distance difference E are added to the specific section video information.

すなわち、特定区間判定処理部14は、ステップS325~S332により、N個すべての人物領域h_i (i=0,…,N) と、M個すべての物体領域o_j (j=0,…,M)とのすべての組み合わせについて、その平均距離の差分Eを算出して閾値Tと比較する処理を繰り返し実行する。そして、平均距離の差分Eが閾値T以下となる人物領域h_i (i=0,…,N) と物体領域o_j (j=0,…,M)との組み合わせが見つかると、この組を平均距離の差分Eと共に特定区間映像情報に追加する。That is, in steps S325 to S332, the specific section determination processing unit 14 repeatedly executes the process of calculating the average distance difference E for all combinations of all N person regions h_i (i=0,...,N) and all M object regions o_j (j=0,...,M) and comparing it with a threshold value T for each combination. Then, when a combination of person region h_i (i=0,...,N) and object region o_j (j=0,...,M) for which the average distance difference E is equal to or less than the threshold value T is found, this pair is added to the specific section video information together with the average distance difference E.

なお、以上の一連の処理において、人物領域h_i (i=0,…,N) と物体領域o_j (j=0,…,M)との間の平均距離の差分Eを用いて特定区間映像情報に加えるか否かを判定している理由は、平均距離の差分が小さい方が人物と物体とのインタラクションが発生している可能性が高いからである。 In the above series of processes, the difference E in the average distance between the person area h_i (i=0,...,N) and the object area o_j (j=0,...,M) is used to determine whether or not to add it to the specific section video information, because a smaller difference in the average distance indicates a higher possibility of interaction occurring between a person and an object.

特定区間判定処理部14は、最後にステップS333により、上記一連の処理により得られた特定区間映像情報を注目映像検出処理部15へ出力する。Finally, in step S333, the specific section determination processing unit 14 outputs the specific section video information obtained by the above series of processes to the attention video detection processing unit 15.

(5)注目映像の検出
注目映像検出装置BDの制御部1は、次にステップS4において、注目映像検出処理部15の制御の下、特定区間映像情報から注目映像を検出する処理を以下のように実行する。
(5) Detection of Attention Video Next, in step S4, the control section 1 of attention video detection device BD, under the control of attention video detection processing section 15, executes a process of detecting an attention video from specific section video information as follows.

図7は、注目映像検出処理部15が実行する注目映像検出処理の処理手順と処理内容の一例を示すフローチャートである。 Figure 7 is a flowchart showing an example of the processing procedure and processing content of the attention video detection processing performed by the attention video detection processing unit 15.

すなわち、注目映像検出処理部15は、先ずステップS41により上記特定区間判定処理部14から特定区間映像情報を受け取る。次にステップS42により注目映像検出関連情報記憶部33から注目映像検出関連情報を読み込む。そして、注目映像検出処理部15は、ステップS43において、上記特定区間映像情報を上記注目映像検出関連情報により定義された検出ルールと照合し、当該検出ルールに該当する特定区間映像情報が存在するか否かを判定する。That is, the attention video detection processing unit 15 first receives specific section video information from the specific section determination processing unit 14 in step S41. Next, in step S42, attention video detection processing unit 15 reads attention video detection related information from the attention video detection related information storage unit 33. Then, in step S43, the attention video detection processing unit 15 compares the specific section video information with the detection rule defined by the attention video detection related information, and determines whether or not there is specific section video information that matches the detection rule.

例えば、いま注目映像検出関連情報において図8に示すような検出ルールが定義されていたとする。注目映像検出処理部15は、特定区間映像情報に含まれる特定区間映像の各々について、その人物領域と物体領域との組合せと、その平均距離の差分が、上記検出ルールのいずれかに該当するか否かを判定する。この判定に際しては、人物領域と物体領域との間の映像フレーム上の距離も考慮される。なお、上記人物領域と物体領域との間の映像フレーム上の距離は、人物領域のバウンディングボックスの中心点と、物体領域のバウンディングボックスの中心点との間のユークリッド距離で表現される。For example, suppose that detection rules such as those shown in FIG. 8 are defined in the attention video detection related information. For each specific section video included in the specific section video information, the attention video detection processing unit 15 determines whether or not the combination of the person area and the object area and the difference in the average distance correspond to any of the above detection rules. This determination also takes into account the distance on the video frame between the person area and the object area. Note that the distance on the video frame between the person area and the object area is expressed as the Euclidean distance between the center point of the bounding box of the person area and the center point of the bounding box of the object area.

注目映像検出処理部15は、上記判定の結果、上記検出ルールのいずれかに該当する特定区間映像が見つかると、ステップS44において当該特定区間映像を注目映像として、入出力I/F部4から端末MTへ出力する。一方、上記検出ルールのいずれにも該当しない特定区間映像は破棄される。If the attention video detection processing unit 15 finds a specific section video that matches any of the above detection rules as a result of the above judgment, it outputs the specific section video as an attention video from the input/output I/F unit 4 to the terminal MT in step S44. On the other hand, the specific section video that does not match any of the above detection rules is discarded.

(作用・効果)
以上述べたように一実施形態では、カメラCMから取得した映像データのフレームごとに、当該映像フレームに写っている物体のクラスと位置を物体検出情報として検出すると共に、上記映像フレームに写っている画像の上記カメラCMからの距離分布を距離検出情報として検出する。そして、上記物体検出情報から、特定区間映像関連情報により検出対象として定義される指定領域に含まれる、人物とその作業対象となる物体とを含む物体領域情報をすべて検出し、さらに上記距離検出情報をもとに、上記各物体領域情報の中から人物と物体との間の平均距離の差分が閾値以下となる人物と物体との組を含む特定区間映像をすべて検出する。そして、検出された各特定区間映像の中から、注目映像検出関連情報により予め定義された検出ルールに該当する特定区間映像を検出し、検出された上記特定区間映像を注目映像として出力するようにしている。
(Action and Effects)
As described above, in one embodiment, for each frame of video data acquired from the camera CM, the class and position of an object captured in the video frame are detected as object detection information, and the distance distribution from the camera CM of the image captured in the video frame is detected as distance detection information. Then, from the object detection information, all object area information including a person and an object to be worked on, which are included in a designated area defined as a detection target by the specific section video related information, is detected, and further, based on the distance detection information, all specific section videos including a pair of a person and an object in which the difference in the average distance between the person and the object is equal to or less than a threshold are detected from each object area information. Then, from each detected specific section video, a specific section video that corresponds to a detection rule predefined by the attention video detection related information is detected, and the detected specific section video is output as an attention video.

従って、一実施形態によれば、検出対象として指定された人物とこの人物が作業対象とする周囲の物体とを含み、かつ上記人物と物体との間の距離が閾値以内に接近している映像が注目映像として検出される。この結果、上記注目映像をもとに人物の行動を解析する場合に、人物とその作業対象となる周囲の物体との間のインタラクションを考慮して、人物の行動を高精度に推定することが可能となる。Therefore, according to one embodiment, a video that includes a person designated as a detection target and a surrounding object that the person is working on, and in which the distance between the person and the object is within a threshold, is detected as a video of interest. As a result, when analyzing the behavior of a person based on the video of interest, it is possible to estimate the behavior of the person with high accuracy by taking into account the interaction between the person and the surrounding object that is the subject of the person's work.

[その他の実施形態]
前記一実施形態では、人物とその作業対象となる周囲の物体との組を含む映像領域で、上記人物と周囲の物体との間の距離の差が閾値以下となる映像領域を注目映像とする場合を例にとって説明した。しかし、検出対象は人物と物体との組合せに限るものではなく、例えば監視対象の人物とこの人物と共同作業をする他の人物との組合せや、動物またはロボットと当該動物またはロボットと係わりがある周囲の物体との組合せを含む映像を注目映像として検出するようにしてもよい。
[Other embodiments]
In the above embodiment, an example was described in which an image area including a pair of a person and a surrounding object that is a work target, in which the difference in distance between the person and the surrounding object is equal to or less than a threshold, is set as the image of interest. However, the detection target is not limited to a combination of a person and an object, and it is also possible to detect, for example, an image including a combination of a person to be monitored and another person who works with the person, or a combination of an animal or a robot and a surrounding object related to the animal or robot, as the image of interest.

また、前記一実施形態では、人物と周囲の物体との間の距離の差が閾値以下となる映像を注目映像とする場合を例にとって説明したが、上記条件を満たす映像が予め設定された所定時間以上連続する場合に、当該映像を注目映像とするようにしてもよい。 In addition, in the above embodiment, an example was given of a case where an image in which the difference in distance between a person and surrounding objects is below a threshold value is set as the image of interest, but an image that satisfies the above condition may be set as the image of interest if the image continues for a predetermined period of time or longer.

また、前記一実施形態では、注目映像検出装置BDの機能を、カメラCMおよび端末MTとは独立して設けられるサーバコンピュータやパーソナルコンピュータ等の情報処理装置に備えた場合を例にとって説明した。しかし、この発明はそれに限らず、注目映像検出装置BDの機能のすべてまたは一部を、カメラCMおよび端末MTに備えるようにしてもよい。
その他、注目映像検出装置BDの種類やその機能および処理手順と処理内容等についても、この発明の要旨を逸脱しない範囲で種々変形して実施できる。
In the above embodiment, the functions of the attention video detection device BD are provided in an information processing device such as a server computer or a personal computer that is provided independently of the camera CM and the terminal MT. However, the present invention is not limited to this, and all or part of the functions of the attention video detection device BD may be provided in the camera CM and the terminal MT.
Furthermore, the type, function, processing procedure, processing contents, etc. of the target image detecting device BD can be modified in various ways without departing from the spirit and scope of the present invention.

以上、この発明の実施形態を詳細に説明してきたが、前述までの説明はあらゆる点においてこの発明の例示に過ぎない。この発明の範囲を逸脱することなく種々の改良や変形を行うことができることは言うまでもない。つまり、この発明の実施にあたって、実施形態に応じた具体的構成が適宜採用されてもよい。 Although the embodiments of the present invention have been described in detail above, the above description is merely an example of the present invention in every respect. It goes without saying that various improvements and modifications can be made without departing from the scope of the present invention. In other words, in implementing the present invention, specific configurations according to the embodiments may be appropriately adopted.

要するにこの発明は、上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態に亘る構成要素を適宜組み合せてもよい。In short, this invention is not limited to the above-described embodiment as it is, and in the implementation stage, the components can be modified and embodied without departing from the gist of the invention. Furthermore, various inventions can be formed by appropriate combinations of multiple components disclosed in the above-described embodiment. For example, some components may be deleted from all of the components shown in the embodiment. Furthermore, components from different embodiments may be appropriately combined.

BD…注目映像検出装置
CM…カメラ
MT…端末
1…制御部
2…プログラム記憶部
3…データ記憶部
4…入出力I/F部
5…バス
11…映像データ取得処理部
12…物体検出処理部
13…距離情報検出処理部
14…特定区間判定処理部
15…注目映像検出処理部
31…映像データ記憶部
32…特定区間映像判定関連情報記憶部
33…注目映像検出関連情報記憶部
BD...interesting video detection device CM...camera MT...terminal 1...control section 2...program storage section 3...data storage section 4...input/output I/F section 5...bus 11...video data acquisition processing section 12...object detection processing section 13...distance information detection processing section 14...specific section determination processing section 15...interesting video detection processing section 31...video data storage section 32...specific section video determination related information storage section 33...interesting video detection related information storage section

Claims (5)

カメラにより撮像された映像データを取得する第1の処理部と、
前記映像データの映像フレームから、物体と当該物体の前記映像フレーム中の位置を表す情報を含む物体検出情報を検出する第2の処理部と、
前記映像データの前記映像フレームから、当該映像フレームに描画されている前記物体の画像の前記カメラからの距離分布を表すデプス情報を抽出し、抽出した前記デプス情報をもとに前記物体の前記カメラからの距離を算出することにより距離検出情報を得る第3の処理部と、
前記物体検出情報および前記距離検出情報に基づいて、注目対象となる第1の物体と当該第1の物体の作業対象となる第2の物体とを含み、かつ前記第1の物体と前記第2の物体との間の前記カメラからの距離の差が所定値以下の関係を有する前記第1の物体と前記第2の物体との組合せと、その距離の差を表す情報とを含む特定映像領域を検出する第4の処理部と、
前記特定映像領域に含まれる前記第1の物体と前記第2の物体との組合せと、その距離の差が、予め設定された検出条件を満たす前記特定映像領域を、注目映像として検出する第5の処理部と
を具備する注目映像検出装置。
A first processing unit that acquires video data captured by a camera;
a second processing unit that detects object detection information from a video frame of the video data, the object detection information including information representing an object and a position of the object in the video frame;
a third processing unit that extracts depth information representing a distance distribution from the camera of an image of the object depicted in the video frame from the video frame of the video data, and obtains distance detection information by calculating a distance of the object from the camera based on the extracted depth information;
a fourth processing unit that detects a specific image area including a first object that is an attention target and a second object that is a work target of the first object based on the object detection information and the distance detection information, the specific image area including a combination of the first object and the second object, the difference in distance between the first object and the second object from the camera being equal to or smaller than a predetermined value, and information indicating the difference in distance;
a fifth processing unit that detects, as an attention video , a combination of the first object and the second object contained in the specific video area and the specific video area in which the difference in distance between the first object and the second object satisfies a preset detection condition.
前記第2の処理部は、前記物体の有無を表すクラス情報と、前記物体が存在する前記映像フレーム中の領域を表すバウンディングボックス情報とを、前記物体検出情報として出力する、請求項1に記載の注目映像検出装置。 The video attention detection device according to claim 1, wherein the second processing unit outputs, as the object detection information, class information representing the presence or absence of the object and bounding box information representing an area in the video frame in which the object exists. 前記第1の物体は人物であり、前記第2の物体は前記人物の作業対象となる物体である、請求項1又は2に記載の注目映像検出装置。 The attention video detection device according to claim 1 or 2, wherein the first object is a person, and the second object is an object that is the subject of the person's work. 情報処理装置が行う注目映像検出方法であって、
カメラにより撮像された映像データを取得する過程と、
前記映像データの映像フレームから、物体と当該物体の前記映像フレーム中の位置を表す情報を含む物体検出情報を検出する過程と、
前記映像データの前記映像フレームから、当該映像フレームに描画されている前記物体の画像の前記カメラからの距離分布を表すデプス情報を抽出し、抽出した前記デプス情報をもとに前記物体の前記カメラからの距離を算出することにより距離検出情報を得る過程と、
前記物体検出情報および前記距離検出情報に基づいて、注目対象となる第1の物体と当該第1の物体の作業対象となる第2の物体とを含み、かつ前記第1の物体と前記第2の物体との間の前記カメラからの距離の差が所定値以下の関係を有する前記第1の物体と前記第2の物体との組合せと、その距離の差を表す情報とを含む特定映像領域を検出する過程と、
前記特定映像領域に含まれる前記第1の物体と前記第2の物体との組合せと、その距離の差が、予め設定された検出条件を満たす前記特定映像領域を、注目映像として検出する過程と
を具備する注目映像検出方法。
An attention video detection method performed by an information processing device,
acquiring image data captured by a camera;
detecting object detection information from a video frame of the video data, the object detection information including information representing an object and a position of the object in the video frame;
extracting depth information representing a distance distribution from the camera of an image of the object depicted in the video frame from the video frame of the video data, and calculating a distance of the object from the camera based on the extracted depth information to obtain distance detection information;
a step of detecting a specific image area including a first object to be focused on and a second object to be worked on by the first object based on the object detection information and the distance detection information , the specific image area including a combination of the first object and the second object, the difference in distance between the first object and the second object from the camera being equal to or smaller than a predetermined value, and information representing the difference in distance;
A method for detecting an image of interest comprising: a step of detecting, as an image of interest , a combination of the first object and the second object contained in the specific image area, and the specific image area in which the difference in distance between the first object and the second object satisfies a predetermined detection condition.
請求項1乃至3のいずれかに記載の注目映像検出装置が具備する前記第1の処理部乃至前記第5の処理部の少なくとも1つが行う処理を、前記注目映像検出装置が備えるプロセッサに実行させるプログラム。 4. A program for causing a processor included in the video detection device of interest according to claim 1 to execute a process performed by at least one of the first processing unit to the fifth processing unit included in the video detection device of interest.
JP2023567396A 2021-12-15 2021-12-15 Apparatus, method and program for detecting video of interest Active JP7632692B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/046299 WO2023112214A1 (en) 2021-12-15 2021-12-15 Video-of-interest detection device, method, and program

Publications (2)

Publication Number Publication Date
JPWO2023112214A1 JPWO2023112214A1 (en) 2023-06-22
JP7632692B2 true JP7632692B2 (en) 2025-02-19

Family

ID=86773846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2023567396A Active JP7632692B2 (en) 2021-12-15 2021-12-15 Apparatus, method and program for detecting video of interest

Country Status (2)

Country Link
JP (1) JP7632692B2 (en)
WO (1) WO2023112214A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013232181A (en) 2012-04-06 2013-11-14 Canon Inc Image processing apparatus, and image processing method
JP2017147689A (en) 2016-02-19 2017-08-24 富士通株式会社 Video editing apparatus, video editing method, and video editing computer program
JP2020010154A (en) 2018-07-06 2020-01-16 エヌ・ティ・ティ・コムウェア株式会社 Dangerous work detection system, analysis device, display device, dangerous work detection method, and dangerous work detection program
JP2020093890A (en) 2018-12-12 2020-06-18 株式会社神鋼エンジニアリング&メンテナンス Crane work monitoring system, crane work monitoring method, dangerous state determination device, and program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102350192B1 (en) * 2019-07-19 2022-01-17 한국과학기술연구원 Method for selecting image of interest to construct retrieval database and image control system performing the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013232181A (en) 2012-04-06 2013-11-14 Canon Inc Image processing apparatus, and image processing method
JP2017147689A (en) 2016-02-19 2017-08-24 富士通株式会社 Video editing apparatus, video editing method, and video editing computer program
JP2020010154A (en) 2018-07-06 2020-01-16 エヌ・ティ・ティ・コムウェア株式会社 Dangerous work detection system, analysis device, display device, dangerous work detection method, and dangerous work detection program
JP2020093890A (en) 2018-12-12 2020-06-18 株式会社神鋼エンジニアリング&メンテナンス Crane work monitoring system, crane work monitoring method, dangerous state determination device, and program

Also Published As

Publication number Publication date
JPWO2023112214A1 (en) 2023-06-22
WO2023112214A1 (en) 2023-06-22

Similar Documents

Publication Publication Date Title
US20220301300A1 (en) Processing method for augmented reality scene, terminal device, system, and computer storage medium
CN113239874B (en) Behavior gesture detection method, device, equipment and medium based on video image
CN111860140B (en) Target event detection method, device, computer equipment and storage medium
Alhimale et al. The implementation of an intelligent and video-based fall detection system using a neural network
US12272093B2 (en) Information processing apparatus, control method, and non-transitory storage medium
CN109165685B (en) Expression and action-based method and system for monitoring potential risks of prisoners
CN110909691B (en) Motion detection method, motion detection device, computer-readable storage medium, and computer device
JP7222231B2 (en) Action recognition device, action recognition method and program
CN114463779A (en) Smoking identification method, device, equipment and storage medium
CN113505744A (en) User behavior detection method and device
CN114187659A (en) Posture recognition method for recognizing posture of pig and related product thereof
TW202411949A (en) Cascaded detection of facial attributes
US10248853B2 (en) Image output device, image output method, and computer program product
JP7632692B2 (en) Apparatus, method and program for detecting video of interest
CN114764895B (en) Abnormal behavior detection device and method
CN112419638B (en) Method and device for acquiring alarm video
CN113657155A (en) Behavior detection method and device, computer equipment and storage medium
JP7652293B2 (en) Specific behavior detection device, method, and program
KR102190748B1 (en) Method, apparatus and program for analyzing behavior of an experimental animal
KR20230091380A (en) Behavioral recognition-based risk situation detection system and method
CN113822222A (en) Human face anti-cheating method and device, computer equipment and storage medium
KR102369151B1 (en) Metadata generation system and method for motion recognition
CN117315785B (en) Fall behavior detection method, device, equipment and computer readable storage medium
KR102592951B1 (en) Image analysis apparatus and method for verifying hand hygiene implementation
US20250148756A1 (en) Classification apparatus, classification method, and non-transitory computer-readable medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240403

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20241022

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241204

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250120

R150 Certificate of patent or registration of utility model

Ref document number: 7632692

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350