JP7303852B2 - Determination device, program, and determination method - Google Patents
Determination device, program, and determination method Download PDFInfo
- Publication number
- JP7303852B2 JP7303852B2 JP2021146385A JP2021146385A JP7303852B2 JP 7303852 B2 JP7303852 B2 JP 7303852B2 JP 2021146385 A JP2021146385 A JP 2021146385A JP 2021146385 A JP2021146385 A JP 2021146385A JP 7303852 B2 JP7303852 B2 JP 7303852B2
- Authority
- JP
- Japan
- Prior art keywords
- area
- detection target
- unit
- captured image
- specified
- 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
Links
Images
Landscapes
- Closed-Circuit Television Systems (AREA)
- Studio Devices (AREA)
- Image Analysis (AREA)
Description
本発明は、判定装置、プログラム、及び判定方法に関する。 The present invention relates to a determination device, program, and determination method.
特許文献1には、カメラで撮像された画像を基に、レジ待ち人数をカウントする技術が記載されている。
[先行技術文献]
[特許文献]
[特許文献1]特開2019-145022号公報
Patent Literature 1 describes a technique for counting the number of people waiting to register based on an image captured by a camera.
[Prior art documents]
[Patent Literature]
[Patent Document 1] JP 2019-145022 A
本発明の一実施態様によれば、判定装置が提供される。判定装置は、撮像画像を格納する撮像画像格納部を備えてよい。判定装置は、撮像画像から予め定められた検出対象を検出する検出対象検出部を備えてよい。判定装置は、撮像画像に対して判定装置のユーザによって指定された指定領域を取得する指定領域取得部を備えてよい。判定装置は、検出対象が含まれる領域である検出対象領域に対する、検出対象領域と指定領域とが重複する領域である重複領域の割合が、予め定められた重複割合閾値より高いか否かを判定する領域判定部を備えてよい。判定装置は、検出対象領域に対する重複領域の割合が重複割合閾値より高いと領域判定部が判定した場合に検出対象をカウントし、検出対象領域に対する重複領域の割合が重複割合閾値より低いと領域判定部が判定した場合に検出対象をカウントしない検出対象カウント部を備えてよい。 According to one embodiment of the present invention, a determination device is provided. The determination device may include a captured image storage unit that stores captured images. The determination device may include a detection target detection unit that detects a predetermined detection target from the captured image. The determination device may include a specified region acquisition unit that acquires a specified region specified by a user of the determination device with respect to the captured image. The determination device determines whether or not the ratio of the overlap region, which is the region where the detection target region and the specified region overlap, to the detection target region, which is the region including the detection target, is higher than a predetermined overlap ratio threshold. It may be provided with an area determination unit for determining. The determining device counts the detection target when the area determination unit determines that the ratio of the overlap area to the detection target area is higher than the overlap ratio threshold, and determines the area when the ratio of the overlap area to the detection target area is lower than the overlap ratio threshold. A detection object count unit may be provided that does not count the detection objects when the unit determines.
上記判定装置は、上記検出対象カウント部がカウントした上記検出対象の数に基づいて、上記指定領域の状況を判定する状況判定部をさらに備えてよい。上記状況判定部は、上記検出対象カウント部が上記検出対象をカウントした場合に、上記指定領域が利用状態であると判定してよい。上記状況判定部は、上記検出対象カウント部がカウントした上記検出対象の数が予め定められた混雑閾値より多い場合に、上記指定領域が混雑状態であると判定してよい。上記撮像画像格納部は、上記撮像画像と、上記撮像画像を撮像した画角とを対応付けて格納してよい。上記判定装置は、上記画角に基づいて、上記混雑閾値を設定する混雑閾値設定部をさらに備えてよい。上記判定装置は、上記指定領域の大きさに基づいて、上記混雑閾値を設定する混雑閾値設定部をさらに備えてよい。 The determination device may further include a situation determination section that determines a situation of the specified area based on the number of detection targets counted by the detection target counting section. The situation determination unit may determine that the designated area is in a used state when the detection target counting unit counts the detection targets. The situation determination unit may determine that the specified area is in a congested state when the number of detection targets counted by the detection target counting unit is greater than a predetermined congestion threshold. The captured image storage unit may store the captured image and the angle of view at which the captured image is captured in association with each other. The determination device may further include a congestion threshold setting unit that sets the congestion threshold based on the angle of view. The determination device may further include a congestion threshold setting unit that sets the congestion threshold based on the size of the designated area.
上記指定領域取得部は、上記検出対象が存在することが禁止されている禁止領域に上記ユーザによって指定された上記指定領域を取得してよい。上記状況判定部は、上記検出対象カウント部が上記検出対象をカウントした場合に、上記検出対象が上記禁止領域に存在している状態であると判定してよい。上記撮像画像格納部は、複数の上記撮像画像を格納してよい。上記判定装置は、上記撮像画像を解析する撮像画像解析部をさらに備えてよい。上記判定装置は、上記撮像画像解析部が上記撮像画像格納部に格納されている上記複数の撮像画像を解析した解析結果に基づいて、上記指定領域の候補の領域である候補領域を決定する候補領域決定部をさらに備えてよい。上記判定装置は、上記候補領域を上記ユーザに提示する候補領域提示部をさらに備えてよい。 The specified area acquiring unit may acquire the specified area specified by the user as a prohibited area in which the presence of the detection target is prohibited. The situation determination section may determine that the detection target exists in the prohibited area when the detection target counting section counts the detection target. The captured image storage unit may store a plurality of captured images. The determination device may further include a captured image analysis unit that analyzes the captured image. The determination device is a candidate for determining a candidate area that is a candidate area for the specified area based on an analysis result obtained by analyzing the plurality of captured images stored in the captured image storage unit by the captured image analysis unit. A region determination unit may be further provided. The determination device may further include a candidate area presenting unit that presents the candidate areas to the user.
上記指定領域取得部は、上記撮像画像に対して上記ユーザによって指定された複数の上記指定領域を取得してよい。上記領域判定部は、上記複数の指定領域の各指定領域について、上記検出対象領域に対する上記重複領域の割合が、上記重複割合閾値より高いか否かを判定してよい。上記検出対象カウント部は、上記各指定領域について、上記検出対象領域に対する上記重複領域の割合が上記重複割合閾値より高いと上記領域判定部が判定した場合に上記検出対象をカウントし、上記検出対象領域に対する上記重複領域の割合が上記重複割合閾値より低いと上記領域判定部が判定した場合に上記検出対象をカウントしなくてよい。上記検出対象検出部は、予め定められた期間の間、停止状態を継続している上記検出対象を検出してよい。上記検出対象検出部は、上記検出対象として、人を検出してよい。上記検出対象検出部は、上記検出対象として、車を検出してよい。 The specified area acquisition unit may acquire a plurality of specified areas specified by the user with respect to the captured image. The area determination unit may determine, for each designated area of the plurality of designated areas, whether or not a ratio of the overlap area to the detection target area is higher than the overlap ratio threshold. The detection target counting unit counts the detection targets when the region determination unit determines that the ratio of the overlap region to the detection target region is higher than the overlap ratio threshold for each of the specified regions, and counts the detection targets. The detection target may not be counted when the area determination unit determines that the ratio of the overlap area to the area is lower than the overlap ratio threshold. The detection target detection unit may detect the detection target that continues to be in a stopped state for a predetermined period. The detection target detection unit may detect a person as the detection target. The detection target detection unit may detect a vehicle as the detection target.
本発明の一実施態様によれば、コンピュータを、上記判定装置として機能させるためのプログラムが提供される。 According to one embodiment of the present invention, there is provided a program for causing a computer to function as the determination device.
本発明の一実施態様によれば、コンピュータによって実行される判定方法が提供される。判定方法は、撮像画像から予め定められた検出対象を検出する検出段階を備えてよい。判定方法は、撮像画像に対してコンピュータのユーザによって指定された指定領域を取得する指定領域取得段階を備えてよい。判定方法は、検出対象が含まれる領域である検出対象領域に対する、検出対象領域と指定領域とが重複する領域である重複領域の割合が、予め定められた重複割合閾値より高いか否かを判定する領域判定段階を備えてよい。判定方法は、検出対象領域に対する重複領域の割合が重複割合閾値より高いと領域判定段階で判定した場合に検出対象をカウントし、検出対象領域に対する重複領域の割合が重複割合閾値より低いと領域判定段階で判定した場合に検出対象をカウントしない検出対象カウント段階を備えてよい。 According to one embodiment of the present invention, a computer-implemented method of determination is provided. The determination method may include a detection step of detecting a predetermined detection target from the captured image. The determination method may comprise a designated area obtaining step of obtaining a designated area designated by a user of the computer for the captured image. The determination method is to determine whether or not the ratio of the overlap region, which is the region where the detection target region and the specified region overlap, to the detection target region, which is the region including the detection target, is higher than a predetermined overlap ratio threshold. A region determination step may be provided to determine the The determination method counts the detection target when it is determined in the region determination step that the ratio of the overlapping region to the detection target region is higher than the overlap ratio threshold, and the region determination is performed when the ratio of the overlapping region to the detection target region is lower than the overlap ratio threshold. A detectable object counting step may be provided in which the detectable objects are not counted if determined in the step.
なお、上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。 It should be noted that the above summary of the invention does not list all the necessary features of the invention. Subcombinations of these feature groups can also be inventions.
撮像画像のうちの、ユーザによって指定された指定領域内の検出対象の数をカウントすることを想定した場合に、検出対象が指定領域の境界にまたがっている場合にも適切に対応可能な技術を提供することが望ましい。本実施形態に係る判定装置は、例えば、撮像画像のうち検出対象が存在する検出対象領域に対する、当該検出対象領域と指定領域とが重複する領域である重複領域の割合が、予め定められた重複割合閾値より高い検出対象のみをカウントする。 Assuming that the number of detection targets within a specified region specified by a user in a captured image is counted, a technique that can appropriately handle cases where the detection target straddles the boundary of the specified region is proposed. It is desirable to provide For example, the determination device according to the present embodiment can set the ratio of the overlap region, which is the region where the detection target region and the specified region overlap with respect to the detection target region in which the detection target exists in the captured image, to a predetermined overlap region. Count only detections above the percentage threshold.
以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲に係る発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。 Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. Also, not all combinations of features described in the embodiments are essential for the solution of the invention.
図1は、システム10の一例を概略的に示す。システム10は、判定装置100を備える。システム10は、カメラ200を備えてよい。システム10は、複数のカメラ200を備えてもよい。図1では、システム10が1つのカメラ200を備える一例を示す。
FIG. 1 schematically illustrates an
判定装置100は、撮像画像を取得する。判定装置100は、例えば、カメラ200によって撮像された撮像画像を取得する。判定装置100は、例えば、ネットワーク20を介してカメラ200と通信することによって、カメラ200から撮像画像を取得する。ネットワーク20は、例えば、インターネットを含む。ネットワーク20は、例えば、LAN(Local Area Network)を含む。ネットワーク20は、移動体通信ネットワークを含んでもよい。移動体通信ネットワークは、例えば、3G(3rd Generation)通信方式、LTE(Long Term Evolution)通信方式、5G(5th Generation)通信方式、及び6G(6th Generation)通信方式以降の通信方式のいずれに準拠してもよい。
The
判定装置100は、カメラ200と直接通信することによって、カメラ200から撮像画像を取得してもよい。判定装置100は、例えば、カメラ200と無線通信することによって、カメラ200から撮像画像を取得する。無線通信方式の例として、Wi-Fi(登録商標)、Bluetooth(登録商標)及びZigBee(登録商標)等が挙げられる。判定装置100は、カメラ200と有線通信することによって、カメラ200から撮像画像を取得してもよい。尚、判定装置100は、判定装置100に内蔵されたカメラによって撮像された撮像画像を取得してもよい。
The
撮像画像は、例えば、静止画像である。撮像画像は、動画像であってもよい。 A captured image is, for example, a still image. The captured image may be a moving image.
判定装置100は、撮像画像に対して判定装置100のユーザによって指定された指定領域を取得する。判定装置100のユーザは、例えば、指定領域として、検出対象300の数を把握したい領域を指定する。判定装置100のユーザとは、判定装置100を直接利用する者のことであってよく、判定装置100が提供するサービスを利用する者のことであってもよい。
The
判定装置100は、撮像画像から、予め定められた検出対象300を検出する。判定装置100は、例えばまず、検出対象300が含まれる領域である検出対象領域の全体が指定領域に含まれる検出対象300をカウントする。判定装置100は、指定領域と一部が重複する検出対象領域が存在する場合、例えば、検出対象領域に対する、検出対象領域と指定領域とが重複する領域である重複領域の割合が、予め定められた重複割合閾値より高いか否かを判定することによって、検出対象300をカウントするか否かを判定する。
The
カメラ200は、任意の撮像装置であってよい。カメラ200は、例えば、ネットワークカメラである。カメラ200は、Webカメラであってもよい。
従来、撮像画像の全体を対象として検出対象の数をカウントすることが行われていたが、カウントされるべきでない検出対象が誤ってカウントされる場合があった。カメラの画角や位置等を調整することによって、このような誤検出の可能性を低減することもできるが、カメラの調整がユーザの負担になってしまう。これに対して、本実施形態に係る判定装置100は、撮像画像のうちのユーザによって指定された指定領域に限定して、検出対象をカウントするので、カウントされるべきでない検出対象が誤ってカウントされる可能性を低減することができ、カメラの調整の必要性を下げることができる。
Conventionally, the number of detection targets has been counted for the entire captured image, but there have been cases where detection targets that should not be counted are erroneously counted. The possibility of such erroneous detection can be reduced by adjusting the angle of view, position, etc. of the camera, but the adjustment of the camera becomes a burden on the user. On the other hand, the
図2は、撮像画像400の一例を概略的に示す。図2に示す例では、撮像画像400に検出対象領域310及び検出対象領域320が含まれる。
FIG. 2 schematically shows an example of a captured
判定装置100は、検出対象領域310及び検出対象領域320を検出する。判定装置100は、判定装置100のユーザから、指定領域450を取得する。ここでは、検出対象領域310及び検出対象領域320、並びに、指定領域450が、矩形領域であるものとして説明を続ける。
The
ここでは、撮像画像400の左上隅の点Oを原点とする画像座標系における矩形領域の特徴量を、[領域の始点のx座標,領域の始点のy座標,領域のx方向の長さ,領域のy方向の長さ]として表す。領域の始点は、例えば、領域の左上隅の点である。領域の大きさは、(領域のx方向の長さ)×(領域のy方向の長さ)である。
Here, the feature amount of a rectangular area in the image coordinate system with the point O at the upper left corner of the captured
図2において、検出対象領域310の特徴量は、[500,200,200,500]である。検出対象領域310の始点は点A(500,200)であり、検出対象領域310の大きさは200×500である。
In FIG. 2, the feature amount of the
図2において、検出対象領域320の特徴量は、[1000,400,600,300]である。検出対象領域320の始点は点B(1000,400)であり、検出対象領域320の大きさは600×300である。
In FIG. 2, the feature amount of the
図2において、指定領域450の特徴量は、[100,300,1100,600]である。指定領域450の始点は点S(100,300)であり、指定領域450の大きさは1100×600である。
In FIG. 2, the feature amount of the designated
判定装置100は、検出対象領域310及び指定領域450から、検出対象領域310と指定領域450とが重複する領域である重複領域315を導出する。図2において、重複領域315の特徴量は[500,300,200,400]である。重複領域315の始点は点A'(500,300)であり、重複領域315の大きさは200×400である。
The
判定装置100は、重複領域325及び指定領域450から、検出対象領域320と指定領域450とが重複する領域である重複領域325を導出する。図2において、重複領域325の特徴量は[1000,400,200,300]である。重複領域325の始点はB(1000,400)であり、重複領域325の大きさは200×300である。
The
判定装置100は、検出対象領域310の大きさ及び重複領域315の大きさから、検出対象領域310に対する重複領域315の割合を導出する。図2において、検出対象領域310の大きさが200×500であり、重複領域315の大きさが200×400であるので、検出対象領域310に対する重複領域315の割合は、(200×400)÷(200×500)×100=80%である。
The
判定装置100は、検出対象領域320の大きさ及び重複領域325の大きさから、検出対象領域320に対する重複領域325の割合を導出する。図2において、検出対象領域320の大きさが600×300であり、重複領域325の大きさが200×300であるので、検出対象領域320に対する重複領域325の割合は、(200×300)÷(600×300)×100≒33%である。
The
判定装置100は、検出対象領域310に対する重複領域315の割合及び検出対象領域320に対する重複領域325の割合のそれぞれが、重複割合閾値より高いか否かを判定することによって、検出対象領域310及び検出対象領域320のそれぞれが指定領域内に位置するものとして取り扱うか否かを判定する。ここでは、重複割合閾値が70%であるものとして、説明を続ける。
The
判定装置100は、検出対象領域310に対する重複領域315の割合(=80%)が重複割合閾値(=70%)より高いので、検出対象領域310が指定領域内に位置するものとして取り扱うと判定する。この場合、判定装置100は、検出対象領域310に含まれる検出対象をカウントする。一方で、判定装置100は、検出対象領域320に対する重複領域325の割合(≒33%)が重複割合閾値(=70%)より低いので、検出対象領域320が指定領域内に位置しないものとして取り扱うと判定する。この場合、判定装置100は、検出対象領域320に含まれる検出対象をカウントしない。
The
図3は、撮像画像400の他の一例を概略的に示す。図3の撮像画像400は、会議室を撮像した撮像画像である。
FIG. 3 schematically shows another example of the captured
判定装置100のユーザは、撮像画像400から会議室の中にいる人の数をカウントすべく、指定領域450を指定する。判定装置100は、ユーザによって指定された指定領域450を取得する。
The user of the
判定装置100は、撮像画像400から、検出対象301、検出対象302、及び、検出対象303を検出する。ここでは、検出対象301及び検出対象302は、会議室の中にいる人である。一方で、検出対象303は、窓30の外にいる人である。すなわち、検出対象303は、会議室の外にいる人である。
The
判定装置100は、検出対象領域の全体が指定領域450と重複している検出対象301をカウントする。次に、判定装置100は、検出対象領域の一部が指定領域450と重複している検出対象302及び検出対象303のそれぞれをカウントするか否かを判定する。判定装置100は、検出対象領域の大部分が指定領域450と重複している検出対象302をカウントすると判定する。判定装置100は、検出対象領域の大部分が指定領域450と重複していない検出対象303をカウントしないと判定する。
The
上述の判定結果から、判定装置100は、会議室の中にいる人数が検出対象301及び検出対象302の2人であると決定する。判定装置100は、検出対象領域の大部分が指定領域450と重複していない検出対象303をカウントしないと判定することによって、カウントされるべきでない会議室の外にいる人が誤ってカウントされることを防ぐことができる。
Based on the determination result described above, the
図4は、撮像画像400の他の一例を概略的に示す。図4の撮像画像400は、スーパーのレジ40の周辺を撮像した撮像画像である。
FIG. 4 schematically shows another example of the captured
判定装置100のユーザは、レジ40に並んでいる人の数をカウントすべく、指定領域450を指定する。判定装置100は、ユーザによって指定された指定領域450を取得する。
The user of the
判定装置100は、撮像画像400から、検出対象301、検出対象302、検出対象303、及び、検出対象304を検出する。ここでは、検出対象301、検出対象302、及び、検出対象303は、レジ40に並んでいる人である。一方で、検出対象304は、買い物中の人である。
The
判定装置100は、検出対象領域の全体が指定領域450と重複している検出対象302をカウントする。次に、判定装置100は、検出対象領域の一部が指定領域450と重複している検出対象301、検出対象303、及び検出対象304をカウントするか否かを判定する。判定装置100は、検出対象領域の大部分が指定領域450と重複している検出対象301及び検出対象303をカウントすると判定する。判定装置100は、検出対象領域の大部分が指定領域450と重複していない検出対象304をカウントしないと判定する。
The
上述の判定結果から、判定装置100は、レジ40に並んでいる人の人数が検出対象301、検出対象302、及び検出対象303の3人であると決定する。判定装置100は、検出対象領域の大部分が指定領域450と重複していない検出対象304をカウントしないと判定することによって、カウントされるべきでない買い物中の人が誤ってカウントされることを防ぐことができる。
Based on the determination results described above, the
図5は、撮像画像400の他の一例を概略的に示す。図5の撮像画像400は、駐車場を撮像した撮像画像である。
FIG. 5 schematically shows another example of the captured
判定装置100のユーザは、撮像画像400から駐車場に駐車中の車の数をカウントすべく、指定領域450を指定する。判定装置100は、ユーザによって指定された指定領域450を取得する。
The user of the
判定装置100は、撮像画像400から、検出対象351、検出対象353、検出対象354、及び、検出対象355を検出する。ここでは、検出対象351、検出対象353、及び、検出対象355は、駐車場に駐車中の車である。一方で、検出対象354は、駐車スペースから出ようとしている車である。
The
判定装置100は、検出対象領域の全体が指定領域450と重複している検出対象351、検出対象353、及び検出対象355をカウントする。次に、判定装置100は、検出対象領域の一部が指定領域450と重複している検出対象354をカウントするか否かを判定する。判定装置100は、検出対象領域の大部分が指定領域450と重複していない検出対象354をカウントしないと判定する。
The
上述の判定結果から、判定装置100は、駐車場に駐車中の車の台数が検出対象351、検出対象353、及び検出対象355の3台であると決定する。判定装置100は、検出対象領域の大部分が指定領域450と重複していない検出対象354をカウントしないと判定することによって、カウントされるべきでない駐車スペースから出ようとしている車が誤ってカウントされることを防ぐことができる。
Based on the determination results described above, the
図6は、撮像画像400の他の一例を概略的に示す。図6の撮像画像400は、駐車場を撮像した撮像画像である。
FIG. 6 schematically shows another example of the captured
判定装置100のユーザは、撮像画像400から駐車場に駐車中の車の数をカウントすべく、指定領域451、指定領域452、指定領域453、指定領域454、指定領域455、及び指定領域456を指定する。判定装置100は、ユーザによって指定された指定領域451、指定領域452、指定領域453、指定領域454、指定領域455、及び指定領域456を取得する。
The user of the
判定装置100は、撮像画像400から、検出対象351、検出対象353、検出対象354、及び、検出対象355を検出する。ここでは、検出対象351、検出対象353、及び、検出対象355は、駐車場に駐車中の車である。一方で、検出対象354は、駐車スペースから出ようとしている車である。
The
判定装置100は、検出対象領域の全体が指定領域451と重複している検出対象351、検出対象領域の全体が指定領域453と重複している検出対象353、及び、検出対象領域の全体が指定領域455と重複している検出対象355をカウントする。次に、判定装置100は、検出対象領域の一部が指定領域450と重複している検出対象354をカウントするか否かを判定する。判定装置100は、検出対象領域の大部分が指定領域450と重複していない検出対象354をカウントしないと判定する。
The
上述の判定結果から、判定装置100は、駐車場に駐車中の車の台数が検出対象351、検出対象353、及び検出対象355の3台であると決定する。判定装置100は、検出対象領域の大部分が指定領域454と重複していない検出対象354をカウントしないと判定することによって、カウントされるべきでない駐車スペースから出ようとしている車が誤ってカウントされることを防ぐことができる。
Based on the determination results described above, the
図7は、撮像画像400の他の一例を概略的に示す。図7の撮像画像400は、道路を撮像した撮像画像である。
FIG. 7 schematically shows another example of the captured
判定装置100のユーザは、撮像画像400から駐車違反の車の数をカウントすべく、駐車禁止区域に指定領域450を指定する。判定装置100は、ユーザによって指定された指定領域450を取得する。
A user of the
判定装置100は、撮像画像400から、検出対象351、検出対象353、及び検出対象355を検出する。ここでは、検出対象351は、駐車禁止区域に駐車中の車である。一方では、検出対象353及び検出対象355は、走行中の車である。
The
判定装置100は、検出対象領域の全体が指定領域450と重複している検出対象351をカウントする。次に、判定装置100は、検出対象領域の一部が指定領域450と重複している検出対象353をカウントするか否かを判定する。判定装置100は、検出対象領域の大部分が指定領域450と重複していない検出対象353をカウントしないと判定する。判定装置100は、検出対象領域の全体が指定領域450と重複していない検出対象355をカウントしない。
The
上述の判定結果から、判定装置100は、駐車禁止区域に駐車中の車の台数が検出対象351の1台であると決定する。判定装置100は、検出対象領域の大部分が指定領域450と重複していない検出対象353をカウントしないと判定することによって、カウントされるべきでない走行中の車が誤ってカウントされることを防ぐことができる。
Based on the determination results described above, the
図8は、判定装置100の機能構成の一例を概略的に示す。判定装置100は、撮像画像格納部102、撮像画像取得部104、表示制御部106、検出対象設定部107、検出対象検出部108、指定領域取得部110、閾値格納部112、重複割合閾値設定部114、領域判定部116、検出対象カウント部118、状況判定部120、状況通知部122、混雑閾値設定部124、撮像画像解析部126、候補領域決定部128、及び候補領域提示部130を備える。尚、判定装置100がこれらの全ての構成を備えることは必須とは限らない。
FIG. 8 schematically shows an example of the functional configuration of the
撮像画像格納部102は、撮像画像400を格納する。撮像画像格納部102は、例えば、複数の撮像画像400を格納する。撮像画像格納部102は、撮像画像400と、撮像画像400を撮像した画角とを対応付けて、格納してもよい。
The captured
撮像画像400は、例えば、会議室を撮像した画像である。撮像画像400は、例えば、スーパーのレジの周辺を撮像した画像である。撮像画像400は、例えば、イベント会場の売店やトイレの周辺を撮像した画像である。撮像画像400は、例えば、工場の危険区域や立ち入り禁止区域を撮像した画像である。撮像画像400は、例えば、駐車場を撮像した画像である。撮像画像400は、例えば、道路を撮像した画像であってもよい。
The captured
撮像画像取得部104は、撮像画像400を取得する。撮像画像取得部104は、例えば、カメラ200から撮像画像400を取得する。撮像画像取得部104は、判定装置100が備える撮像部によって撮像された撮像画像400を取得してもよい。撮像画像取得部104は、取得した撮像画像400を撮像画像格納部102に格納する。
The captured
表示制御部106は、表示部の表示を制御する。表示制御部106は、例えば、撮像画像400を表示するよう表示部の表示を制御する。
The
表示制御部106は、例えば、判定装置100が備える表示部の表示を制御する。表示制御部106は、判定装置100のユーザが所有する通信端末が備える表示部の表示を制御してもよい。この場合、表示制御部106は、判定装置100のユーザが所有する通信端末に撮像画像400を送信してよい。表示部は、表示制御部106による制御に従って、撮像画像400を表示する。
The
判定装置100のユーザは、例えば、会議室の管理人である。判定装置100のユーザは、例えば、スーパーの管理人である。判定装置100のユーザは、例えば、イベント会場の管理人である。判定装置100のユーザは、例えば、工場の管理人である。判定装置100のユーザは、例えば、駐車場の管理人である。判定装置100のユーザは、道路の管理人であってもよい。
A user of the
検出対象設定部107は、撮像画像400から検出する検出対象を設定する。検出対象設定部107は、例えば、判定装置100が備える入力デバイス用いて判定装置100のユーザの入力を受け付けることによって、検出対象を設定する。検出対象設定部107は、例えば、判定装置100の表示部に表示された検出対象の選択肢の中から、ユーザによって選択された検出対象を設定する。検出対象設定部107は、判定装置100のユーザが所有する通信端末から、検出対象を設定する情報を受信することによって、検出対象を設定してもよい。当該通信端末は、例えば、検出対象の選択肢を表示して、ユーザによって選択された検出対象を設定する情報を判定装置100に送信する。検出対象の選択肢として、人及び車がその例として挙げられるが、これらに限られない。
A detection
検出対象検出部108は、撮像画像400から検出対象設定部107によって設定された検出対象を検出する。検出対象検出部108は、撮像画像400のうちの検出対象が存在する検出対象領域を特定してよい。
The detection
検出対象領域は、任意の形状の領域であってよい。例えば、多角形領域である。検出対象領域は、例えば、矩形領域である。検出対象領域は、円形領域であってもよい。検出対象領域は、楕円領域であってもよい。 The detection target area may be an area of any shape. For example, a polygonal area. The detection target area is, for example, a rectangular area. The detection target area may be a circular area. The detection target area may be an elliptical area.
検出対象検出部108は、例えば、検出対象として、人を検出する。検出対象検出部108は、例えば、検出対象として、車を検出する。
The detection
検出対象検出部108は、例えば、予め定められた期間の間、停止状態を継続している検出対象を検出する。予め定められた期間の間、停止状態を継続している検出対象は、例えば、行列に並んでいる人である。予め定められた期間の間、停止状態を継続している検出対象は、駐車中の車であってもよい。
The detection
指定領域取得部110は、撮像画像400に対して、判定装置100のユーザによって指定された指定領域450を取得する。指定領域取得部110は、例えば、判定装置100が備える入力デバイスを用いて判定装置100のユーザの入力を受け付けることによって、指定領域450を取得する。指定領域取得部110は、判定装置100のユーザが所有する通信端末から、指定領域450を受信することによって、指定領域450を取得してもよい。
The specified
指定領域取得部110は、例えば、撮像画像400に対して、判定装置100のユーザによって指定された1つの指定領域450を取得する。指定領域取得部110は、撮像画像400に対して、判定装置100のユーザによって指定された複数の指定領域450を取得してもよい。
The specified
指定領域取得部110は、検出対象が存在することが禁止されている禁止領域に判定装置100のユーザによって指定された指定領域450を取得してもよい。禁止領域は、例えば、工場の危険区域や立ち入り禁止区域である。禁止領域は、駐車禁止区域であってもよい。
The specified
指定領域450は、任意の形状の領域であってよい。指定領域450は、例えば、多角形領域である。指定領域450は、例えば、矩形領域である。指定領域450は、円形領域であってもよい。指定領域450は、楕円領域であってもよい。
Designated
閾値格納部112は、閾値を格納する。閾値格納部112は、例えば、検出対象をカウントするか否かを判定するため閾値である重複割合閾値を格納する。閾値格納部112は、指定領域450の混雑状態を判定するための閾値である混雑閾値を格納してもよい。
The
重複割合閾値設定部114は、重複割合閾値を設定する。重複割合閾値設定部114は、例えば、判定装置100が備える入力デバイス用いて判定装置100のユーザの入力を受け付けることによって、重複割合閾値を設定する。重複割合閾値設定部114は、判定装置100のユーザが所有する通信端末から、重複割合閾値を設定する情報を受信することによって、重複割合閾値を設定してもよい。重複割合閾値設定部114は、設定した重複割合閾値を閾値格納部112に格納する。
The overlap ratio
領域判定部116は、検出対象の検出対象領域に対する指定領域450の割合が、閾値格納部112に格納されている重複割合閾値より高いか否かを判定する。領域判定部116は、例えば、判定装置100のユーザが撮像画像400に対して複数の指定領域450を指定した場合、複数の指定領域の各指定領域について、検出対象領域に対する重複領域の割合が、重複割合閾値より高いか否かを判定する。
The
検出対象カウント部118は、検出対象をカウントする。検出対象カウント部118は、例えば、検出対象領域の全体が指定領域450を含まれる検出対象をカウントする。
The detection
検出対象カウント部118は、領域判定部116が指定領域450を判定した判定結果に基づいて、検出対象領域の一部が指定領域450と重複する検出対象をカウントするか否かを判定する。検出対象カウント部118は、例えば、検出対象領域に対する重複領域の割合が重複割合閾値より高いと領域判定部116が判定した場合に検出対象をカウントし、検出対象領域に対する重複領域の割合が重複割合閾値より低いと領域判定部116が判定した場合に検出対象をカウントしない。
The detection
検出対象カウント部118は、例えば、検出対象領域に対する重複領域の割合が重複割合閾値と同一であると領域判定部116が判定した場合に検出対象をカウントする。検出対象カウント部118は、検出対象領域に対する重複領域の割合が重複割合閾値と同一であると領域判定部116が判定した場合に検出対象をカウントしなくてもよい。
For example, the detection
検出対象カウント部118は、判定装置100のユーザが複数の指定領域450を指定した場合、領域判定部116が複数の指定領域450の各指定領域450を判定した判定結果に基づいて、検出対象領域の一部が複数の指定領域450のいずれかと重複する検出対象をカウントするか否かを判定する。検出対象カウント部118は、例えば、各指定領域について、検出対象領域に対する重複領域の割合が重複割合閾値より高いと領域判定部116が判定した場合に検出対象をカウントし、検出対象領域に対する重複領域の割合が重複割合閾値より低いと領域判定部116が判定した場合に検出対象をカウントしない。
When the user of the
状況判定部120は、指定領域450の状況を判定する。状況判定部120は、例えば、検出対象カウント部118がカウントした検出対象の数に基づいて、指定領域450の状況を判定する。
The
状況判定部120は、例えば、指定領域450の利用状況を判定する。状況判定部120は、例えば、検出対象カウント部118が検出対象をカウントした場合に、指定領域450が利用状態であると判定する。
The
利用状態は、例えば、検出対象が人である場合、人が指定領域450に存在している状態である。利用状態は、例えば、検出対象が車である場合、車が指定領域450に駐車されている状態である。
The usage state is, for example, a state in which a person exists in the designated
状況判定部120は、例えば、指定領域450の混雑状況を判定する。状況判定部120は、例えば、検出対象カウント部118がカウントした検出対象の数が閾値格納部112に格納されている混雑閾値より多い場合に、指定領域450が混雑状態であると判定する。
The
混雑状態は、例えば、検出対象が人である場合、指定領域450に行列が発生している状態である。混雑状態は、例えば、検出対象が車である場合、指定領域450に車を駐車することができない状態である。
The congestion state is, for example, a state in which a queue is generated in the designated
状況判定部120は、判定装置100のユーザが禁止領域に指定領域を指定した場合、禁止領域の状況を判定してもよい。状況判定部120は、例えば、検出対象カウント部118が検出対象をカウントした場合に、検出対象が禁止領域に存在している状態であると判定してもよい。
The
検出対象が禁止領域に存在している状態は、例えば、検出対象が人である場合人が禁止領域に侵入している状態である。検出対象が禁止領域に存在している状態は、例えば、検出対象が車である場合、車が禁止領域に駐車されている状態である。 A state in which the detection target exists in the prohibited area is, for example, a state in which the person is entering the prohibited area when the detection target is a person. A state in which the detection target exists in the prohibited area is, for example, a state in which the vehicle is parked in the prohibited area when the detection target is a car.
状況通知部122は、指定領域450の状況を通知する。状況通知部122は、例えば、判定装置100が備える表示部に指定領域450の状況を表示することによって、指定領域450の状況を通知する。状況通知部122は、例えば、判定装置100のユーザが所有する通信端末に指定領域450の状況を送信することによって、指定領域450の状況を通知する。状況通知部122は、例えば、指定領域450の状況を社内サイトにアップロードすることによって、指定領域450の状況を通知する。状況通知部122は、例えば、建物や駐車場の出入り口等に設置されたディスプレイに指定領域450の状況を表示することによって、指定領域450の状況を通知する。状況通知部122は、館内放送で指定領域450の状況を放送することによって、指定領域450の状況を通知してもよい。
The
状況通知部122は、例えば、状況判定部120が判定した指定領域450の状況を通知する。状況通知部122は、例えば、指定領域450の利用状況を通知する。閾値格納部112は、例えば、指定領域450の混雑状況を通知する。状況通知部122は、例えば、検出対象が禁止領域に存在している状態であることを通知する。状況通知部122は、検出対象カウント部118がカウントした検出対象の数を通知してもよい。
The
混雑閾値設定部124は、混雑閾値を設定する。混雑閾値設定部124は、例えば、判定装置100が備える入力デバイス用いて判定装置100のユーザの入力を受け付けることによって、混雑閾値を設定する。混雑閾値設定部124は、判定装置100のユーザが所有する通信端末から、混雑閾値を設定する情報を受信することによって、混雑閾値を設定してもよい。混雑閾値設定部124は、設定した混雑閾値を閾値格納部112に格納する。
The congestion
混雑閾値設定部124は、例えば、撮像画像格納部102に撮像画像400と対応付けて格納されている画角に基づいて、混雑閾値を設定する。混雑閾値設定部124は、例えば、画角が狭いほど、混雑閾値を高く設定する。
The congestion
混雑閾値設定部124は、例えば、指定領域450の大きさに基づいて、混雑閾値を設定してもよい。混雑閾値設定部124は、例えば、撮像画像400の領域に対する指定領域450の割合が大きいほど、混雑閾値を高く設定する。
The congestion
撮像画像解析部126は、撮像画像格納部102に格納されている撮像画像400を解析する。撮像画像解析部126は、例えば、撮像画像格納部102に格納されている複数の撮像画像400を解析する。撮像画像解析部126は、例えば、検出対象が人である場合、過去に発生した複数の行列領域の位置及び大きさを特定すべく、複数の撮像画像400を解析する。
The captured
候補領域決定部128は、指定領域450の候補の領域である候補領域を決定する。候補領域決定部128は、例えば、撮像画像解析部126が撮像画像格納部102に格納されている複数の撮像画像400を解析した解析結果に基づいて、候補領域を決定する。候補領域決定部128は、例えば、撮像画像解析部126が複数の撮像画像400を解析して特定した、複数の行列領域の平均の位置及び大きさを、候補領域とする。
Candidate
候補領域提示部130は、候補領域決定部128が決定した候補領域を判定装置100のユーザに提示する。候補領域提示部130は、例えば、表示部が表示している撮像画像400に候補領域を重畳して表示することによって、候補領域を判定装置100のユーザに提示する。
Candidate
図9は、判定装置100による処理の流れの一例を概略的に示す。図9では、指定領域450が指定されていない状態を開始状態として説明する。
FIG. 9 schematically shows an example of the flow of processing by the
ステップ(ステップをSと省略して記載する場合がある。)102において、指定領域取得部110は、判定装置100のユーザによって指定された指定領域450を取得する。判定装置100のユーザは、例えば、過去に撮像された撮像画像400を確認しながら、指定領域450を指定する。
In step (the step may be abbreviated as S) 102 , the specified
S104において、撮像画像取得部104は、撮像画像を取得する。S106において、検出対象検出部108は、撮像画像400から、複数の検出対象を検出する。
In S104, the captured
S108において、領域判定部116は、検出対象が含まれる検出対象領域の全体が指定領域450に含まれるか否かを判定する。検出対象領域の全体が指定領域450に含まれる場合、S114に進む。検出対象領域の全体が指定領域450に含まれない場合、S110に進む。
In S<b>108 , the
S110において、指定領域取得部110は、検出対象領域の一部が指定領域450に含まれるか否かを判定する。検出対象領域の一部が指定領域450に含まれる場合、S112に進む。検出対象領域の全体が指定領域450に含まれない場合、S116に進む。
In S<b>110 , the specified
S112において、領域判定部116は、検出対象領域に対する指定領域450の割合が、重複割合閾値より高いか否かを判定する。検出対象領域に対する指定領域450の割合が重複割合閾値より高い場合、S114に進む。検出対象領域に対する指定領域450の割合が重複割合閾値より低い場合、S116に進む。
In S112, the
S114において、検出対象カウント部118は、検出対象をカウントする。S116において、検出対象カウント部118は、検出対象をカウントしない。
In S114, the detection
S118において、領域判定部116は、全ての検出対象領域について、検出対象領域に対する指定領域450の割合が、重複割合閾値より高いか否かを判定したかを判定する。全ての検出対象領域を判定している場合、S120に進む。全ての検出対象領域を判定していない場合、S108に戻る。
In S<b>118 , the
S120において、検出対象カウント部118は、S114でカウントした検出対象の数を決定する。その後、処理が終了する。
In S120, the detection
図10は、判定装置100として機能するコンピュータ1200のハードウェア構成の一例を概略的に示す。コンピュータ1200にインストールされたプログラムは、コンピュータ1200を、上記実施形態に係る装置の1又は複数の「部」として機能させ、又はコンピュータ1200に、上記実施形態に係る装置に関連付けられるオペレーション又は当該1又は複数の「部」を実行させることができ、及び/又はコンピュータ1200に、上記実施形態に係るプロセス又は当該プロセスの段階を実行させることができる。そのようなプログラムは、コンピュータ1200に、本明細書に記載のフローチャート及びブロック図のブロックのうちのいくつか又はすべてに関連付けられた特定のオペレーションを実行させるべく、CPU1212によって実行されてよい。
FIG. 10 schematically shows an example of a hardware configuration of a
本実施形態によるコンピュータ1200は、CPU1212、RAM1214、及びグラフィックコントローラ1216を含み、それらはホストコントローラ1210によって相互に接続されている。コンピュータ1200はまた、通信インタフェース1222、記憶装置1224、DVDドライブ1226、及びICカードドライブのような入出力ユニットを含み、それらは入出力コントローラ1220を介してホストコントローラ1210に接続されている。DVDドライブ1226は、DVD-ROMドライブ及びDVD-RAMドライブ等であってよい。記憶装置1224は、ハードディスクドライブ及びソリッドステートドライブ等であってよい。コンピュータ1200はまた、ROM1230及びキーボード1242のようなレガシの入出力ユニットを含み、それらは入出力チップ1240を介して入出力コントローラ1220に接続されている。
CPU1212は、ROM1230及びRAM1214内に格納されたプログラムに従い動作し、それにより各ユニットを制御する。グラフィックコントローラ1216は、RAM1214内に提供されるフレームバッファ等又はそれ自体の中に、CPU1212によって生成されるイメージデータを取得し、イメージデータがディスプレイデバイス1218上に表示されるようにする。
The
通信インタフェース1222は、ネットワークを介して他の電子デバイスと通信する。記憶装置1224は、コンピュータ1200内のCPU1212によって使用されるプログラム及びデータを格納する。DVDドライブ1226は、プログラム又はデータをDVD-ROM1227等から読み取り、記憶装置1224に提供する。ICカードドライブは、プログラム及びデータをICカードから読み取り、及び/又はプログラム及びデータをICカードに書き込む。
ROM1230はその中に、アクティブ化時にコンピュータ1200によって実行されるブートプログラム等、及び/又はコンピュータ1200のハードウェアに依存するプログラムを格納する。入出力チップ1240はまた、様々な入出力ユニットをUSBポート、パラレルポート、シリアルポート、キーボードポート、マウスポート等を介して、入出力コントローラ1220に接続してよい。
プログラムは、DVD-ROM1227又はICカードのようなコンピュータ可読記憶媒体によって提供される。プログラムは、コンピュータ可読記憶媒体から読み取られ、コンピュータ可読記憶媒体の例でもある記憶装置1224、RAM1214、又はROM1230にインストールされ、CPU1212によって実行される。これらのプログラム内に記述される情報処理は、コンピュータ1200に読み取られ、プログラムと、上記様々なタイプのハードウェアリソースとの間の連携をもたらす。装置又は方法が、コンピュータ1200の使用に従い情報のオペレーション又は処理を実現することによって構成されてよい。
The program is provided by a computer-readable storage medium such as DVD-
例えば、通信がコンピュータ1200及び外部デバイス間で実行される場合、CPU1212は、RAM1214にロードされた通信プログラムを実行し、通信プログラムに記述された処理に基づいて、通信インタフェース1222に対し、通信処理を命令してよい。通信インタフェース1222は、CPU1212の制御の下、RAM1214、記憶装置1224、DVD-ROM1227、又はICカードのような記録媒体内に提供される送信バッファ領域に格納された送信データを読み取り、読み取られた送信データをネットワークに送信し、又はネットワークから受信した受信データを記録媒体上に提供される受信バッファ領域等に書き込む。
For example, when communication is performed between the
また、CPU1212は、記憶装置1224、DVDドライブ1226(DVD-ROM1227)、ICカード等のような外部記録媒体に格納されたファイル又はデータベースの全部又は必要な部分がRAM1214に読み取られるようにし、RAM1214上のデータに対し様々なタイプの処理を実行してよい。CPU1212は次に、処理されたデータを外部記録媒体にライトバックしてよい。
In addition, the
様々なタイプのプログラム、データ、テーブル、及びデータベースのような様々なタイプの情報が記録媒体に格納され、情報処理を受けてよい。CPU1212は、RAM1214から読み取られたデータに対し、本開示の随所に記載され、プログラムの命令シーケンスによって指定される様々なタイプのオペレーション、情報処理、条件判断、条件分岐、無条件分岐、情報の検索/置換等を含む、様々なタイプの処理を実行してよく、結果をRAM1214に対しライトバックする。また、CPU1212は、記録媒体内のファイル、データベース等における情報を検索してよい。例えば、各々が第2の属性の属性値に関連付けられた第1の属性の属性値を有する複数のエントリが記録媒体内に格納される場合、CPU1212は、当該複数のエントリの中から、第1の属性の属性値が指定されている条件に一致するエントリを検索し、当該エントリ内に格納された第2の属性の属性値を読み取り、それにより予め定められた条件を満たす第1の属性に関連付けられた第2の属性の属性値を取得してよい。
Various types of information, such as various types of programs, data, tables, and databases, may be stored on recording media and subjected to information processing.
上で説明したプログラム又はソフトウェアモジュールは、コンピュータ1200上又はコンピュータ1200近傍のコンピュータ可読記憶媒体に格納されてよい。また、専用通信ネットワーク又はインターネットに接続されたサーバシステム内に提供されるハードディスク又はRAMのような記録媒体が、コンピュータ可読記憶媒体として使用可能であり、それによりプログラムを、ネットワークを介してコンピュータ1200に提供する。
The programs or software modules described above may be stored in a computer-readable storage medium on or near
本実施形態におけるフローチャート及びブロック図におけるブロックは、オペレーションが実行されるプロセスの段階又はオペレーションを実行する役割を持つ装置の「部」を表わしてよい。特定の段階及び「部」が、専用回路、コンピュータ可読記憶媒体上に格納されるコンピュータ可読命令と共に供給されるプログラマブル回路、及び/又はコンピュータ可読記憶媒体上に格納されるコンピュータ可読命令と共に供給されるプロセッサによって実装されてよい。専用回路は、デジタル及び/又はアナログハードウェア回路を含んでよく、集積回路(IC)及び/又はディスクリート回路を含んでよい。プログラマブル回路は、例えば、フィールドプログラマブルゲートアレイ(FPGA)、及びプログラマブルロジックアレイ(PLA)等のような、論理積、論理和、排他的論理和、否定論理積、否定論理和、及び他の論理演算、フリップフロップ、レジスタ、並びにメモリエレメントを含む、再構成可能なハードウェア回路を含んでよい。 The blocks in the flowcharts and block diagrams in this embodiment may represent steps in the process in which the operations are performed or "parts" of the apparatus responsible for performing the operations. Certain steps and "sections" may be provided with dedicated circuitry, programmable circuitry provided with computer readable instructions stored on a computer readable storage medium, and/or computer readable instructions provided with computer readable instructions stored on a computer readable storage medium. It may be implemented by a processor. Dedicated circuitry may include digital and/or analog hardware circuitry, and may include integrated circuits (ICs) and/or discrete circuitry. Programmable circuits, such as Field Programmable Gate Arrays (FPGAs), Programmable Logic Arrays (PLAs), etc., perform AND, OR, EXCLUSIVE OR, NOT AND, NOT OR, and other logical operations. , flip-flops, registers, and memory elements.
コンピュータ可読記憶媒体は、適切なデバイスによって実行される命令を格納可能な任意の有形なデバイスを含んでよく、その結果、そこに格納される命令を有するコンピュータ可読記憶媒体は、フローチャート又はブロック図で指定されたオペレーションを実行するための手段を作成すべく実行され得る命令を含む、製品を備えることになる。コンピュータ可読記憶媒体の例としては、電子記憶媒体、磁気記憶媒体、光記憶媒体、電磁記憶媒体、半導体記憶媒体等が含まれてよい。コンピュータ可読記憶媒体のより具体的な例としては、フロッピー(登録商標)ディスク、ディスケット、ハードディスク、ランダムアクセスメモリ(RAM)、リードオンリメモリ(ROM)、消去可能プログラマブルリードオンリメモリ(EPROM又はフラッシュメモリ)、電気的消去可能プログラマブルリードオンリメモリ(EEPROM)、静的ランダムアクセスメモリ(SRAM)、コンパクトディスクリードオンリメモリ(CD-ROM)、デジタル多用途ディスク(DVD)、ブルーレイ(登録商標)ディスク、メモリスティック、集積回路カード等が含まれてよい。 A computer-readable storage medium may comprise any tangible device capable of storing instructions to be executed by a suitable device, such that a computer-readable storage medium having instructions stored thereon may be illustrated in flowchart or block diagram form. It will comprise an article of manufacture containing instructions that can be executed to create means for performing specified operations. Examples of computer-readable storage media may include electronic storage media, magnetic storage media, optical storage media, electromagnetic storage media, semiconductor storage media, and the like. More specific examples of computer readable storage media include floppy disks, diskettes, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory) , electrically erasable programmable read only memory (EEPROM), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), Blu-ray disc, memory stick , integrated circuit cards, and the like.
コンピュータ可読命令は、アセンブラ命令、命令セットアーキテクチャ(ISA)命令、マシン命令、マシン依存命令、マイクロコード、ファームウェア命令、状態設定データ、又はSmalltalk(登録商標)、JAVA(登録商標)、C++等のようなオブジェクト指向プログラミング言語、及び「C」プログラミング言語又は同様のプログラミング言語のような従来の手続型プログラミング言語を含む、1又は複数のプログラミング言語の任意の組み合わせで記述されたソースコード又はオブジェクトコードのいずれかを含んでよい。 The computer readable instructions may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state configuration data, or instructions such as Smalltalk, JAVA, C++, etc. any source or object code written in any combination of one or more programming languages, including object-oriented programming languages, and conventional procedural programming languages such as the "C" programming language or similar programming languages; may include
コンピュータ可読命令は、汎用コンピュータ、特殊目的のコンピュータ、若しくは他のプログラム可能なデータ処理装置のプロセッサ、又はプログラマブル回路が、フローチャート又はブロック図で指定されたオペレーションを実行するための手段を生成するために当該コンピュータ可読命令を実行すべく、ローカルに又はローカルエリアネットワーク(LAN)、インターネット等のようなワイドエリアネットワーク(WAN)を介して、汎用コンピュータ、特殊目的のコンピュータ、若しくは他のプログラム可能なデータ処理装置のプロセッサ、又はプログラマブル回路に提供されてよい。プロセッサの例としては、コンピュータプロセッサ、処理ユニット、マイクロプロセッサ、デジタル信号プロセッサ、コントローラ、マイクロコントローラ等を含む。 Computer readable instructions are used to produce means for a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, or programmable circuits to perform the operations specified in the flowchart or block diagrams. A general purpose computer, special purpose computer, or other programmable data processor, locally or over a wide area network (WAN) such as the Internet, etc., to execute such computer readable instructions. It may be provided in the processor of the device or in a programmable circuit. Examples of processors include computer processors, processing units, microprocessors, digital signal processors, controllers, microcontrollers, and the like.
以上、本開示に係る発明を実施の形態を用いて説明したが、本開示に係る発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更又は改良を加えることが可能であることが当業者に明らかである。その様な変更又は改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。 Although the invention according to the present disclosure has been described above using the embodiments, the technical scope of the invention according to the present disclosure is not limited to the scope described in the above embodiments. It is obvious to those skilled in the art that various modifications or improvements can be made to the above embodiments. It is clear from the description of the scope of claims that forms with such modifications or improvements can also be included in the technical scope of the present invention.
特許請求の範囲、明細書、及び図面中において示した装置、システム、プログラム、及び方法における動作、手順、ステップ、及び段階などの各処理の実行順序は、特段「より前に」、「先立って」などと明示しておらず、また、前の処理の出力を後の処理で用いるのでない限り、任意の順序で実現しうることに留意すべきである。特許請求の範囲、明細書、及び図面中の動作フローに関して、便宜上「まず、」、「次に、」などを用いて説明したとしても、この順で実施することが必須であることを意味するものではない。 The execution order of each process such as actions, procedures, steps, and stages in the devices, systems, programs, and methods shown in the claims, the specification, and the drawings is etc., and it should be noted that they can be implemented in any order unless the output of the previous process is used in the subsequent process. Regarding the operation flow in the claims, the specification, and the drawings, even if the description is made using "first," "next," etc. for convenience, it means that it is essential to carry out in this order. not a thing
10 システム、20 ネットワーク、30 窓、40 レジ、100 判定装置、102 撮像画像格納部、104 撮像画像取得部、106 表示制御部、107 検出対象設定部、108 検出対象検出部、110 指定領域取得部、112 閾値格納部、114 重複割合閾値設定部、116 領域判定部、118 検出対象カウント部、120 状況判定部、122 状況通知部、124 混雑閾値設定部、126 撮像画像解析部、128 候補領域決定部、130 候補領域提示部、200 カメラ、300 検出対象、301 検出対象、302 検出対象、303 検出対象、304 検出対象、310 検出対象領域、315 重複領域、320 検出対象領域、325 重複領域、351 検出対象、353 検出対象、354 検出対象、355 検出対象、400 撮像画像、450 指定領域、451 指定領域、452 指定領域、453 指定領域、454 指定領域、455 指定領域、456 指定領域、1200 コンピュータ、1210 ホストコントローラ、1212 CPU、1214 RAM、1216 グラフィックコントローラ、1218 ディスプレイデバイス、1220 入出力コントローラ、1222 通信インタフェース、1224 記憶装置、1226 DVDドライブ、1227 DVD-ROM、1230 ROM、1240 入出力チップ
10 system, 20 network, 30 window, 40 register, 100 determination device, 102 captured image storage unit, 104 captured image acquisition unit, 106 display control unit, 107 detection target setting unit, 108 detection target detection unit, 110 specified area acquisition unit , 112 threshold storage unit, 114 overlap ratio threshold setting unit, 116 area determination unit, 118 detection target counting unit, 120 situation determination unit, 122 situation notification unit, 124 congestion threshold setting unit, 126 captured image analysis unit, 128 candidate
Claims (16)
複数の撮像画像を格納する撮像画像格納部と、
撮像画像を解析する撮像画像解析部と、
前記撮像画像解析部が前記撮像画像格納部に格納されている前記複数の撮像画像を解析した解析結果に基づいて、前記判定装置のユーザによって指定される指定領域の候補の領域である候補領域を決定する候補領域決定部と、
前記候補領域を前記ユーザに提示する候補領域提示部と、
撮像画像から予め定められた検出対象を検出する検出対象検出部と、
前記撮像画像に対して前記ユーザによって指定された指定領域を取得する指定領域取得部と、
前記検出対象が含まれる領域である検出対象領域に対する、前記検出対象領域と前記指定領域とが重複する領域である重複領域の割合が、予め定められた重複割合閾値より高いか否かを判定する領域判定部と、
前記検出対象領域に対する前記重複領域の割合が前記重複割合閾値より高いと前記領域判定部が判定した場合に前記検出対象をカウントし、前記検出対象領域に対する前記重複領域の割合が前記重複割合閾値より低いと前記領域判定部が判定した場合に前記検出対象をカウントしない検出対象カウント部と
を備え、
前記候補領域決定部は、前記撮像画像解析部が前記複数の撮像画像を解析して特定した、複数の行列領域の平均の位置及び大きさを、前記候補領域とする、
判定装置。 A determination device ,
a captured image storage unit that stores a plurality of captured images ;
a captured image analysis unit that analyzes a captured image;
Based on the analysis result obtained by the captured image analysis unit analyzing the plurality of captured images stored in the captured image storage unit, a candidate area, which is a candidate area for the specified area specified by the user of the determination device, is determined. a candidate area determination unit to determine;
a candidate area presentation unit that presents the candidate area to the user;
a detection target detection unit that detects a predetermined detection target from a captured image;
a specified area acquiring unit that acquires a specified area specified by the user with respect to the captured image;
Determining whether or not a ratio of an overlap area, which is an area where the detection target area and the specified area overlap, to a detection target area, which is an area including the detection target, is higher than a predetermined overlap ratio threshold. an area determination unit;
counting the detection target when the area determining unit determines that the ratio of the overlap area to the detection target area is higher than the overlap ratio threshold, and the ratio of the overlap area to the detection target area is higher than the overlap ratio threshold a detection target count unit that does not count the detection target when the area determination unit determines that the area is low ,
The candidate region determination unit determines the average position and size of the plurality of matrix regions identified by analyzing the plurality of captured images by the captured image analysis unit as the candidate region.
judgment device.
前記判定装置は、前記画角に基づいて、前記混雑閾値を設定する混雑閾値設定部をさらに備える、
請求項4に記載の判定装置。 The captured image storage unit stores the captured image and an angle of view of the captured image in association with each other,
The determination device further includes a congestion threshold setting unit that sets the congestion threshold based on the angle of view.
The determination device according to claim 4.
前記状況判定部は、前記検出対象カウント部が前記検出対象をカウントした場合に、前記検出対象が前記禁止領域に存在している状態であると判定する、
請求項2に記載の判定装置。 The specified area acquiring unit acquires the specified area specified by the user as a prohibited area in which the presence of the detection target is prohibited;
The situation determination unit determines that the detection target exists in the prohibited area when the detection target counting unit counts the detection target.
The determination device according to claim 2.
前記領域判定部は、前記複数の指定領域の各指定領域について、前記検出対象領域に対する前記重複領域の割合が、前記重複割合閾値より高いか否かを判定し、
前記検出対象カウント部は、前記各指定領域について、前記検出対象領域に対する前記重複領域の割合が前記重複割合閾値より高いと前記領域判定部が判定した場合に前記検出対象をカウントし、前記検出対象領域に対する前記重複領域の割合が前記重複割合閾値より低いと前記領域判定部が判定した場合に前記検出対象をカウントしない
請求項1から9のいずれか一項に記載の判定装置。 The specified area acquisition unit acquires a plurality of specified areas specified by the user with respect to the captured image,
The area determination unit determines whether a ratio of the overlap area to the detection target area is higher than the overlap ratio threshold for each of the plurality of designated areas, and
The detection target counting unit counts the detection targets when the region determination unit determines that the ratio of the overlap region to the detection target region is higher than the overlap ratio threshold value for each of the specified regions, and counts the detection targets. The determination device according to any one of claims 1 to 9 , wherein the detection target is not counted when the area determining unit determines that the ratio of the overlapping area to the area is lower than the overlapping ratio threshold.
前記コンピュータに格納されている複数の撮像画像を解析する解析段階と、
前記解析段階で前記複数の撮像画像を解析した解析結果に基づいて、前記コンピュータのユーザによって指定される指定領域の候補の領域である候補領域を決定する決定段階と、
前記候補領域を前記ユーザに提示する提示段階と、
撮像画像から予め定められた検出対象を検出する検出段階と、
前記撮像画像に対して前記ユーザによって指定された指定領域を取得する指定領域取得段階と、
前記検出対象が含まれる領域である検出対象領域に対する、前記検出対象領域と前記指定領域とが重複する領域である重複領域の割合が、予め定められた重複割合閾値より高いか否かを判定する領域判定段階と、
前記検出対象領域に対する前記重複領域の割合が前記重複割合閾値より高いと前記領域判定段階で判定した場合に前記検出対象をカウントし、前記検出対象領域に対する前記重複領域の割合が前記重複割合閾値より低いと前記領域判定段階で判定した場合に前記検出対象をカウントしない検出対象カウント段階と
を備え、
前記決定段階は、前記解析段階で前記複数の撮像画像を解析して特定した、複数の行列領域の平均の位置及び大きさを、前記候補領域とする段階を有する、
判定方法。 A computer-implemented determination method comprising :
an analysis step of analyzing a plurality of captured images stored in the computer;
a determination step of determining a candidate area, which is a candidate area for a specified area specified by a user of the computer, based on the analysis result obtained by analyzing the plurality of captured images in the analysis step;
a presenting step of presenting the candidate area to the user;
a detection step of detecting a predetermined detection target from the captured image;
a specified area acquiring step of acquiring a specified area specified by the user with respect to the captured image;
Determining whether or not a ratio of an overlap area, which is an area where the detection target area and the specified area overlap, to a detection target area, which is an area including the detection target, is higher than a predetermined overlap ratio threshold. a region determination step;
counting the detection target when it is determined in the region determination step that the ratio of the overlap region to the detection target region is higher than the overlap ratio threshold, and the ratio of the overlap region to the detection target region is higher than the overlap ratio threshold and a detection target counting step in which the detection target is not counted when it is determined in the region determination step that it is low ,
The determining step includes determining the average position and size of the plurality of matrix regions identified by analyzing the plurality of captured images in the analyzing step as the candidate region,
judgment method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021146385A JP7303852B2 (en) | 2021-09-08 | 2021-09-08 | Determination device, program, and determination method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021146385A JP7303852B2 (en) | 2021-09-08 | 2021-09-08 | Determination device, program, and determination method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023039286A JP2023039286A (en) | 2023-03-20 |
| JP7303852B2 true JP7303852B2 (en) | 2023-07-05 |
Family
ID=85600638
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021146385A Active JP7303852B2 (en) | 2021-09-08 | 2021-09-08 | Determination device, program, and determination method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7303852B2 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007208757A (en) | 2006-02-03 | 2007-08-16 | Casio Comput Co Ltd | Camera apparatus and camera control program |
| JP2010277547A (en) | 2009-06-01 | 2010-12-09 | Chuo Electronics Co Ltd | Congestion state detection apparatus, method, and program |
| JP2012023589A (en) | 2010-07-15 | 2012-02-02 | Fujifilm Corp | Stereoscopic image processing device, stereoscopic image photographing device, stereoscopic image display device, and stereoscopic image processing method |
| JP2017138660A (en) | 2016-02-01 | 2017-08-10 | トヨタ自動車株式会社 | Object detection method, object detection device and program |
| JP2017156956A (en) | 2016-03-01 | 2017-09-07 | 株式会社東芝 | Device selection apparatus, method and program thereof |
-
2021
- 2021-09-08 JP JP2021146385A patent/JP7303852B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007208757A (en) | 2006-02-03 | 2007-08-16 | Casio Comput Co Ltd | Camera apparatus and camera control program |
| JP2010277547A (en) | 2009-06-01 | 2010-12-09 | Chuo Electronics Co Ltd | Congestion state detection apparatus, method, and program |
| JP2012023589A (en) | 2010-07-15 | 2012-02-02 | Fujifilm Corp | Stereoscopic image processing device, stereoscopic image photographing device, stereoscopic image display device, and stereoscopic image processing method |
| JP2017138660A (en) | 2016-02-01 | 2017-08-10 | トヨタ自動車株式会社 | Object detection method, object detection device and program |
| JP2017156956A (en) | 2016-03-01 | 2017-09-07 | 株式会社東芝 | Device selection apparatus, method and program thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023039286A (en) | 2023-03-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102323437B1 (en) | Method, System for Traffic Monitoring Using Deep Learning | |
| US9483944B2 (en) | Prediction of free parking spaces in a parking area | |
| CN102036899B (en) | Video-based system and method of elevator door detection | |
| JP6488083B2 (en) | Hybrid method and system of video and vision based access control for parking space occupancy determination | |
| US9390332B2 (en) | Information processing system, information processing method and program | |
| US11281894B2 (en) | Non-boarded passenger search device, non-boarded passenger search method, and recording medium | |
| US10963680B2 (en) | Overhead people detection and tracking system and method | |
| US20140211002A1 (en) | Video Object Detection System Based on Region Transition, and Related Method | |
| CN113704643B (en) | Method and device for determining state of target object, electronic equipment and storage medium | |
| US20150146006A1 (en) | Display control apparatus and display control method | |
| JP6331785B2 (en) | Object tracking device, object tracking method, and object tracking program | |
| US20160042243A1 (en) | Object monitoring system, object monitoring method, and monitoring target extraction program | |
| CN107077686A (en) | Image processing device, display control device, image processing method, and recording medium | |
| US20230252654A1 (en) | Video analysis device, wide-area monitoring system, and method for selecting camera | |
| US20200097736A1 (en) | Person count apparatus, person count method, and non-transitory computer-readable storage medium | |
| US20230101001A1 (en) | Computer-readable recording medium for information processing program, information processing method, and information processing device | |
| JP6255944B2 (en) | Image analysis apparatus, image analysis method, and image analysis program | |
| US10909402B2 (en) | Information processing apparatus, information processing method, and storage medium | |
| JP7303852B2 (en) | Determination device, program, and determination method | |
| US10489921B2 (en) | Behavior analysis apparatus and behavior analysis method | |
| US9529487B1 (en) | Method of providing fast switching to web apps | |
| US20240046285A1 (en) | Information analysis device and information analysis method | |
| WO2021015672A1 (en) | Surveillance system, object tracking system and method of operating the same | |
| JP7295181B2 (en) | Determination device, program, and determination method | |
| JP6935527B2 (en) | Image processing equipment, programs, systems and image processing methods |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220314 |
|
| A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20221213 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230214 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230407 |
|
| 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: 20230606 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230623 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7303852 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |