JPH08272926A - Detecting device for number of people - Google Patents

Detecting device for number of people

Info

Publication number
JPH08272926A
JPH08272926A JP5098733A JP9873393A JPH08272926A JP H08272926 A JPH08272926 A JP H08272926A JP 5098733 A JP5098733 A JP 5098733A JP 9873393 A JP9873393 A JP 9873393A JP H08272926 A JPH08272926 A JP H08272926A
Authority
JP
Japan
Prior art keywords
image
people
correlation value
person
television camera
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.)
Pending
Application number
JP5098733A
Other languages
Japanese (ja)
Inventor
Hiroshi Ko
博 高
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.)
Y M SYST KK
Original Assignee
Y M SYST KK
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 Y M SYST KK filed Critical Y M SYST KK
Priority to JP5098733A priority Critical patent/JPH08272926A/en
Publication of JPH08272926A publication Critical patent/JPH08272926A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To detect the number of people at a high speed with high precision irrelevantly of the degree of congestion of people or changes of clothing in seasons by reducing the influence of a change in the installation place or installation environment of a television camera in a case wherein the contrast between object people and a floor as a background is low or in a case wherein luminance varies with a lighting state, etc., and when the number of the peoples is detected by processing the video signal of the television camera. CONSTITUTION: The device which picks up the image of a people to be detected by the television camera is provided with a feature extraction part 6 consisting of an arithmetic means which updates a background image in the absence of people, a shape correcting means which corrects the binarized image of a digital image signal, a pixel number compressing means which decreases the number of pixels of the image obtained by the shape correcting means, and a correlative value detecting means which finds a correlative value by superposing a specific pattern on the image obtained by the pixel number compressing means, and a people number judging part 7 which input correlative value parameters obtained by arithmetic processing based on the correlative value, density parameters showing the density level of the image signal from the television camera, and environmental parameters featuring the installation place of the television camera to a neural network.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、百貨店内や展示場、ビ
ル内、地下街等のある特定場所の人数を、テレビカメラ
の映像信号を処理して検出する人数検出装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for detecting the number of people in a specific place such as a department store, an exhibition hall, a building, an underground mall, etc. by processing a video signal of a television camera.

【0002】[0002]

【従来の技術】テレビカメラの映像信号をディジタル信
号に変換し、得られたディジタル画像信号から検出対象
画像を演算処理する手法は広く使用されている。例えば
図5は、従来の人数検出装置のブロック図である。図5
において、1はテレビカメラ等で成り、検出対象人物を
撮像して画像信号を出力する画像入力部、2は画像入力
部1の画像信号を入力してノイズ成分を除去し、二値化
等の処理をして二値化画像信号を出力する前処理部、3
は前処理部2の画像信号を入力して検出対象人物画像を
抽出する対象抽出部、4は対象抽出部3の対象人物画像
と、予め入力して内部に記憶されている基準面積画像と
を比較する面積比較部、5は基準面積画像より大きい画
像を計数する計数部である。
2. Description of the Related Art A method of converting a video signal of a television camera into a digital signal and processing an image to be detected from the obtained digital image signal is widely used. For example, FIG. 5 is a block diagram of a conventional people detection device. Figure 5
In FIG. 1, 1 is an image input unit configured by a television camera or the like for capturing an image of a person to be detected and outputting an image signal, and 2 is an image signal input from the image input unit 1 for removing noise components and performing binarization or the like. A preprocessing unit for processing and outputting a binarized image signal, 3
Is an object extraction unit for inputting the image signal of the preprocessing unit 2 to extract a detection target person image, and 4 is a target person image of the object extraction unit 3 and a reference area image which is input in advance and stored therein. An area comparison unit 5 for comparison is a counting unit for counting images larger than the reference area image.

【0003】次に動作について説明する。画像入力部1
が百貨店内や展示場等のある特定場所を撮像して画像信
号を出力すると、前処理部2がこの画像信号を取り込ん
でマスキング等でノイズ成分を除去し、次いで二値化処
理を行って二値化画像信号を出力する。対象抽出部3は
二値化画像信号から検出対象人物画像を抽出する。面積
比較部4には予め入力された基準面積画像が記憶されて
おり、この基準面積画像と対象抽出部3の検出対象人物
画像とを比較し、基準面積画像より大きい部分の人物画
像を得る。計数部5はこれらの画像を計数して人数信号
を出力する。
Next, the operation will be described. Image input section 1
When an image of a specific place such as a department store or an exhibition place is output and an image signal is output, the preprocessing unit 2 takes in the image signal and removes noise components by masking, and then performs binarization processing. Output the binarized image signal. The target extraction unit 3 extracts a detection target person image from the binarized image signal. A reference area image input in advance is stored in the area comparison unit 4, and the reference area image is compared with the detection target person image of the target extraction unit 3 to obtain a person image of a portion larger than the reference area image. The counting unit 5 counts these images and outputs a person number signal.

【0004】このようにして画像入力部の画像信号をデ
ィジタル処理することによって、検出対象人物の数を検
出することができる。
By thus digitally processing the image signal of the image input section, the number of persons to be detected can be detected.

【0005】[0005]

【発明が解決しようとする問題点】以上述べたような従
来の人数検出装置では、基準面積の背景画像を人がいな
いことを確認し、手動で予め入力せねばならず、カメラ
の視野内に物を置くと言ったように設置環境が変わる
と、その都度新しく基準の背景画像を入力する必要があ
った。更に単純な二値化画像信号を基に面積判定を行っ
ているので、人物が多数混雑したような場合や、また人
物と背景とのコントラストの低い場合、例えば服装や頭
髪の色が背景となる床と同系色に近い場合には、検出対
象人物の画像面積(画素数)が小さくなり、加えて季節
により服装の色や着衣の状態が変わるので面積判定だけ
では大きな誤差が生じた。その上画像入力部の設置場所
の明るさの変化等により二値化処理を行う場合のしきい
値レベルの設定が難しかった。また、天井に設けたテレ
ビカメラで検出対象人物を撮像するとき、テレビカメラ
の取付高さにより検出対象人物の画像面積が変わるので
検出精度が低下した。結局、従来の人数検出装置は、人
の混雑度合いや服装、テレビカメラの設置場所、設置環
境によって検出精度が大きく影響された。
In the conventional number-of-people detecting device as described above, it is necessary to confirm that there is no person in the background image of the reference area and manually input the background image within the field of view of the camera. Every time the installation environment changed, such as when you put something, you had to input a new standard background image each time. Since area determination is performed based on a simpler binarized image signal, when a large number of people are crowded or when the contrast between the people and the background is low, for example, clothes and hair color become the background. When the color is similar to the floor, the image area (number of pixels) of the detection target person becomes small, and the color of clothes and the state of clothes change depending on the season. In addition, it was difficult to set the threshold level when performing the binarization process due to the change in the brightness of the installation location of the image input unit. In addition, when a television camera provided on the ceiling is used to capture an image of a person to be detected, the detection accuracy is lowered because the image area of the person to be detected varies depending on the mounting height of the television camera. After all, the detection accuracy of the conventional people detection device is greatly affected by the degree of congestion of people, clothes, installation location of TV camera, and installation environment.

【0006】本発明は上記の問題点を解決するためにな
されたもので、人のいない状態の背景画像が自動的に更
新でき、人の混雑度合いや服装、床の色、照明状態等に
よる明るさの変化に対しても影響を少なくするようにし
て、テレビカメラの設置場所や設置環境に影響されずに
高精度かつ高速度で人の数を検出することのできる人数
検出装置を得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and a background image in a state without a person can be automatically updated, and the brightness depending on the degree of congestion of people, clothes, floor color, lighting condition, etc. It is possible to obtain a person number detection device that can detect the number of people with high accuracy and high speed without being affected by the installation location or installation environment of the TV camera by reducing the influence of changes in the height. To aim.

【0007】[0007]

【問題点を解決するための手段】上記問題点を解決する
ための人数検出装置は、人がいない状態の背景画像を更
新する演算手段、ディジタル画像信号の二値化画像を補
正する形状補正手段、該形状補正手段により得られた画
像の画素数を減らす画素数圧縮手段、該画素数圧縮手段
により得られた画像に、所定のパターンを重ねて相関値
を求める相関値検出手段、とからなる特徴抽出部と、前
記相関値をもとに演算処理を加えた相関値パラメータ、
テレビカメラからの画像信号の濃度レベルを表わす濃度
パラメータ、前記テレビカメラの設置環境を特徴づける
環境パラメータ、とをニューラルネットワークの入力と
した人数判別部とで構成したものである。
A person number detecting apparatus for solving the above-mentioned problems includes a calculating means for updating a background image in a state where there is no person, and a shape correcting means for correcting a binarized image of a digital image signal. A pixel number compression means for reducing the number of pixels of the image obtained by the shape correction means, and a correlation value detection means for obtaining a correlation value by superimposing a predetermined pattern on the image obtained by the pixel number compression means. A characteristic extraction unit, and a correlation value parameter obtained by applying a calculation process based on the correlation value,
It is configured by a number-of-persons discriminating unit having a neural network as an input, a density parameter representing a density level of an image signal from the television camera, and an environment parameter characterizing an installation environment of the television camera.

【0008】[0008]

【作用】本発明による人数検出装置は、人数検出をする
場合の基準となる背景画像の更新を自動的に行うように
しているので、床に物を置いたりするなど背景が変化し
ても人為的に設定を変える必要はない。また、人が混雑
していたり、服装が変わったり、照明状態などに起因す
る明るさの変化があったり、更にはテレビカメラの取付
高さが変わっても、ニューラルネットワークの学習機能
を利用して人数の判別処理を行っているので、検出対象
人物の数を高精度かつ高速度で検出することができる。
Since the number-of-people detection device according to the present invention automatically updates the background image that serves as a reference when detecting the number of people, it is artificial even if the background changes, such as when an object is placed on the floor. There is no need to change the settings manually. In addition, even if people are crowded, clothes change, there is a change in brightness due to lighting conditions, and even the mounting height of the TV camera changes, the learning function of the neural network is used. Since the number of persons is discriminated, the number of persons to be detected can be detected with high accuracy and high speed.

【0009】[0009]

【実施例】以下、本発明の一実施例を図1〜図4に基づ
いて説明する。図1はこの発明の人数検出装置の構成を
示すブロック図である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram showing the configuration of the number-of-people detecting device of the present invention.

【0010】1は図5と同一のテレビカメラ等でなる画
像入力部、2も図5と同一で画像入力部1の画像信号を
入力してノイズ成分を除去し、二値化等の処理をして二
値化画像信号を出力する前処理部、6は特徴抽出部であ
る。特徴抽出部6では、前処理部2の二値化画像を形状
補正し、さらに演算処理の高速化を図るため、画像の画
素数を減らす画素数圧縮を行った後の画像に、所定の大
きさの人のパターンを重ねて、重なった部分の画像面積
を計算し、この面積を重ねたパターンの中心位置にある
画素の相関値とし、これを画像全体にわたって求める相
関値検出処理を行う。7は人数判別部であり、ニューラ
ルネットワークを人数の判別論理に用いている。8は出
力部であり検出人数の表示や印字出力をする。
Reference numeral 1 is an image input unit composed of the same television camera as in FIG. 5, and 2 is also the same as in FIG. 5, and the image signal of the image input unit 1 is input to remove noise components and perform processing such as binarization. A pre-processing unit 6 for outputting a binarized image signal and a feature extraction unit 6. The feature extraction unit 6 corrects the shape of the binarized image of the pre-processing unit 2 and further speeds up the calculation process. Correlation value detection processing is performed to calculate the image area of the overlapped portion by overlapping the person's pattern, and use this area as the correlation value of the pixel at the center position of the superimposed pattern, and obtain this over the entire image. Reference numeral 7 is a number-of-persons discriminating unit, which uses a neural network for discriminating logic of the number of persons. An output unit 8 displays the number of detected persons and prints out.

【0011】図2は背景画像の更新処理の手順を示すフ
ローチャートであり、人がいない状態のとき、背景画像
を自動的に更新する。
FIG. 2 is a flow chart showing the procedure of the background image updating process. When there is no person, the background image is automatically updated.

【0012】まず、連続で二画像を取り込む(手順
a)。この取り込みの時間間隔は、商用周波数が50H
zと60Hzであることを考慮すると、電源周波数の違
いによる照明の照度変化を無くすには、n/20秒(n
は1以上の整数)間隔で取り込む必要がある(特に蛍光
灯照明の場合)。従って例えば、0.1秒間隔で取り込
むようにする。
First, two images are continuously captured (procedure a). The commercial frequency is 50 H
Considering that z and 60 Hz, n / 20 seconds (n
Must be taken in at intervals of 1 or more) (especially for fluorescent lighting). Therefore, for example, capture is performed at intervals of 0.1 second.

【0013】次に、取り込んだ二つの画像間の差の絶対
値(これを移動差分と呼ぶ)を求め(手順b)、その差
分画像を雑音を除去できるしきい値で二値化して(手順
c)、画像の時間的な変化部分、この場合は人の移動し
た部分だけを切り出す。
Next, the absolute value of the difference between the two captured images (this is called the moving difference) is obtained (procedure b), and the difference image is binarized with a threshold value capable of removing noise (procedure). c), the time-varying part of the image, in this case, only the part where the person has moved is cut out.

【0014】その後、画像の形状補正を行う(手順
d)。即ち、検出画像の周辺部ではその中央部よりも人
の画像が長く写る。このため周辺部の画像を圧縮して一
人分の画像の大きさがほぼ均等になるように画像を形状
補正する。形状補正としては、画像中心からの距離が長
い画素ほど画像中心への移動量が大きくなるように定め
ればよい。形状補正された画像は、処理時間を短縮する
ため、画素数の圧縮により複数個の画素を一つにまとめ
(手順e)、これをもとに相関値計算を行う(手順
f)。これはまず、人の大きさに近い適当なパターン
(例えば3×3画素の正方形パターン)を用意し、この
パターンを画像上で画素単位に走査してパターンと画像
との相関値を求める。即ち、パターン内の各値(0また
は1)と、それと重なった位置にある画像の画素値(0
または1)を掛けて、その値をパターン全体にわたって
加えた値を、そのパターンの中心にある画素の相関値と
する。すると、パターンと人の画像形状がよく一致した
位置で相関値は高くなる。
After that, the shape of the image is corrected (procedure d). That is, in the peripheral portion of the detected image, the human image appears longer than in the central portion. Therefore, the image of the peripheral portion is compressed and the shape of the image is corrected so that the size of the image for one person becomes substantially equal. The shape correction may be determined such that a pixel having a longer distance from the image center has a larger movement amount to the image center. In the shape-corrected image, in order to shorten the processing time, a plurality of pixels are combined into one by compressing the number of pixels (procedure e), and the correlation value is calculated based on this (procedure f). First, an appropriate pattern close to the size of a person (for example, a square pattern of 3 × 3 pixels) is prepared, and the pattern is scanned pixel by pixel to obtain a correlation value between the pattern and the image. That is, each value (0 or 1) in the pattern and the pixel value (0
Alternatively, the value obtained by multiplying by 1) and adding the value over the entire pattern is set as the correlation value of the pixel at the center of the pattern. Then, the correlation value becomes high at the position where the pattern and the image shape of the person match well.

【0015】相関値のピークは人に対応するので、人が
いるかいないかの判定は、手順gでピーク数をカウント
することにより行う。人が0人(ピーク数は0)であれ
ば、これを繰り返し実行し、連続でm回とも0人となっ
た場合(手順h)、人がいない状態と見なして、元の二
画像のうちの一画像を背景画像として保存する(手順
i)。ここで、手順hを行うのは、照明条件が悪い場合
や人の動きが殆どない場合には移動差分で人の画像を検
出しにくいので、検出回数を増やすことにより、人のい
る画像を背景画像として保存することがないようにする
ためである。
Since the peak of the correlation value corresponds to a person, it is determined whether or not there is a person by counting the number of peaks in step g. If the number of people is 0 (the number of peaks is 0), this is repeatedly executed, and when the number of people is 0 in m consecutive times (procedure h), it is considered that there is no person, and Save one image as a background image (procedure i). Here, the procedure h is performed because it is difficult to detect the image of the person by the movement difference when the lighting condition is bad or when there is almost no movement of the person. This is to prevent it from being saved as an image.

【0016】次に、人数検出の処理手順を図3のフロー
チャートをもとに説明する。
Next, the processing procedure for detecting the number of people will be described with reference to the flowchart of FIG.

【0017】図3において、まず人数検出したい画像を
一画面だけ取り込み(手順j)、この画像と、図2の手
順iで保存した、人がいない状態の背景画像との間の差
の絶対値(これをを固定差分と呼ぶ)を求める(手順
k)。この固定差分の特徴は、移動差分の場合と違い、
人の動きがない場合でも、背景とのコントラストがあれ
ば人の画像が得られることである。次に、この固定差分
画像を一定の濃度レベル(これを二値化レベルと呼ぶ)
をしきい値として二値化する(手順l)。手順mでは、
図2の手順dで行ったのと同様な手法で画像の形状補正
を行う。更に、人数検出の演算速度を高速にするため、
画像の画素数を減らし(手順n)、その減らした画像に
所定の大きさの人のパターンを重ねて相関値を求める
(手順p)。この時の人のパターンは、人の画像とほぼ
同じ大きさでなるべく小さなものを使う方が、演算速度
が高速化でき精度も高くなる。
In FIG. 3, first, an image for which the number of people is desired to be detected is captured in one screen (procedure j), and the absolute value of the difference between this image and the background image in the state where there is no person is stored in procedure i of FIG. (This is called a fixed difference) is calculated (procedure k). The characteristic of this fixed difference is that, unlike the case of moving difference,
Even if there is no movement of a person, an image of the person can be obtained if there is contrast with the background. Next, this fixed difference image is given a fixed density level (this is called a binarization level).
Is used as a threshold value (procedure 1). In step m,
The shape of the image is corrected by the same method as the procedure d in FIG. Furthermore, in order to increase the calculation speed of the number of people detection,
The number of pixels of the image is reduced (procedure n), and a pattern of a person having a predetermined size is superimposed on the reduced image to obtain a correlation value (procedure p). At this time, if the person's pattern is about the same size as the person's image and is as small as possible, the calculation speed can be increased and the accuracy can be improved.

【0018】次に、図1で示した人数判別部7への入力
となるパラメータを算出する。これら諸パラメータは、
後述するニューラルネットワークの入力層に与えられる
特徴パラメータであり、次のような三種類のパラメータ
群で構成される。
Next, the parameters to be input to the number-of-persons discriminating section 7 shown in FIG. 1 are calculated. These parameters are
It is a characteristic parameter given to the input layer of the neural network described later, and is composed of the following three types of parameter groups.

【0019】(1)相関値パラメータ 図3の手順qで算出される相関値パラメータは、 (1−1)相関値が所定値以上の画素数。 (1−2)相関値が所定値以上の画素数を所定のパター
ンの画素数で除した値(これを相関値係数と呼ぶ)。 (1−3)相関値の最大ピーク値。 (1−4)相関値のピークの個数。 の四つであるが、これらの内少なくとも一つ以上をそれ
ぞれ正規化し、後述するニューラルネットワークの入力
層に与える。
(1) Correlation value parameter The correlation value parameter calculated in the procedure q of FIG. 3 is (1-1) the number of pixels whose correlation value is a predetermined value or more. (1-2) A value obtained by dividing the number of pixels having a correlation value equal to or larger than a predetermined value by the number of pixels of a predetermined pattern (this is called a correlation value coefficient). (1-3) Maximum peak value of correlation value. (1-4) The number of peaks of the correlation value. There are four, but at least one of these is normalized and given to the input layer of the neural network described later.

【0020】(2)濃度パラメータ 図3の手順rで算出される濃度パラメータは、 (2−1)手順lで求めた差分画像の二値化レベル。 (2−2)図2または図3の手順iで求めた背景画像の
濃度階調。 の二つであるが、これらの内少なくとも一つ以上をそれ
ぞれ正規化し、後述するニューラルネットワークの入力
層に与える。
(2) Density Parameter The density parameter calculated in step r of FIG. 3 is (2-1) the binarization level of the difference image obtained in step l. (2-2) The density gradation of the background image obtained in step i of FIG. 2 or FIG. , And at least one of them is normalized and given to the input layer of the neural network described later.

【0021】(3)環境パラメータ 図3の手順sで算出される環境パラメータは、 (3−1)テレビカメラの取付高さに依存する量。 即ち、テレビカメラの取付高さにより、人の画像の大き
さが変わるので、手順pで相関値を求める際の人のパタ
ーンの大きさも変える必要がある。テレビカメラの取付
高さに依存する量とは、人のパターンの大きさを正規化
したものと定義する。 (3−2)季節に依存する量。 即ち、人の服装は季節により色や状態が変わる。特に夏
と冬ではその差が大きいのが通常である。例えば夏は白
系統、冬は黒や紺系統が主体となるといった具合であ
る。季節に依存する量とは、主にこのような服装情報を
正規化したものと定義する。上記のパラメータの内、少
なくとも一つ以上を後述するニューラルネットワークの
入力層に与える。
(3) Environmental parameter The environmental parameter calculated in step s of FIG. 3 is (3-1) an amount that depends on the mounting height of the television camera. That is, since the size of the image of a person changes depending on the mounting height of the television camera, it is necessary to change the size of the pattern of the person when obtaining the correlation value in step p. The amount depending on the mounting height of the television camera is defined as the normalized size of the human pattern. (3-2) Season-dependent quantity. In other words, people's clothing changes in color and condition depending on the season. Especially in summer and winter, the difference is usually large. For example, the main system is white in summer, and black or navy in winter. The quantity depending on the season is mainly defined as the normalized clothing information. At least one of the above parameters is given to the input layer of the neural network described later.

【0022】手順tはニューラルネットワークで、上述
した相関値パラメータ、濃度パラメータ、環境パラメー
タをニューラルネットワークの入力層に与えることで人
数判別を行う。
Step t is a neural network, and the number of persons is discriminated by giving the above-mentioned correlation value parameter, density parameter, and environment parameter to the input layer of the neural network.

【0023】図4にニューラルネットワークの構成を示
す。ここで用いたニューラルネットワークは、誤差逆伝
播法による階層型ネットワークで、入力層10、中間層
11、出力層12よりなる3層構造とした。入力層10
には図3の手順q、手順r、および手順sで求めた相関
値パラメータ、濃度パラメータ、および環境パラメータ
をそれぞれ入力し、出力層12には判別すべき人数(0
人〜N人)を設定する。中間層11は、誤差収束の早さ
と演算量の観点から実験的に定めればよいが、例えば入
出力層のユニット数の合計の半分のユニット数とする。
また、ユニットのしきい値関数はシグモイド関数(図示
しない)とし、学習則としてはよく知られているデルタ
ルールを用い、ユニット間の結合の重みを修正する再帰
的学習によりネットワークを構築する。
FIG. 4 shows the structure of the neural network. The neural network used here is a hierarchical network based on the error back propagation method, and has a three-layer structure including an input layer 10, an intermediate layer 11, and an output layer 12. Input layer 10
Is input with the correlation value parameter, the concentration parameter, and the environment parameter obtained in the procedure q, the procedure r, and the procedure s of FIG. 3, respectively, and the number of persons (0
Set people to N people. The intermediate layer 11 may be determined experimentally from the viewpoint of the speed of error convergence and the amount of calculation, but for example, the number of units is half the total number of units in the input / output layers.
The threshold function of the unit is a sigmoid function (not shown), a well-known delta rule is used as a learning rule, and a network is constructed by recursive learning that modifies the weight of the connection between units.

【0024】このように本実施例のニューラルネットワ
ークによれば、入力層に与えるパラメータ数が少なくて
すむので、人物画像を直接ニューラルネットワークに入
力するよりネットワークが小規模でよく、またパターン
の回転や大きさにも依存しないという特徴がある。
As described above, according to the neural network of the present embodiment, since the number of parameters given to the input layer can be small, the network can be smaller in scale than the case where the human image is directly input to the neural network, and the rotation of the pattern and It has the feature that it does not depend on the size.

【0025】[0025]

【発明の効果】以上述べたように、本発明によれば人数
検出をする場合の基準となる背景画像の更新を自動的に
行うようにしているので、床に物を置いたりするなど背
景が変化しても人為的に設定を変える必要はない。ま
た、人が混雑していたり、季節により服装が変わった
り、照明状態などに起因する明るさの変化があったり、
更にはテレビカメラの取付高さが変わったりするという
設置場所や設置環境の変化があっても、小規模なニュー
ラルネットワーク構成で、高精度かつ高速度で人数が検
出できるという効果を有する。
As described above, according to the present invention, the background image, which is the reference when detecting the number of people, is automatically updated. Even if it changes, there is no need to artificially change the setting. In addition, people may be crowded, clothes may change depending on the season, brightness may change due to lighting conditions, etc.
Furthermore, even if there is a change in the installation location or installation environment such as a change in the mounting height of the TV camera, the small-scale neural network configuration has the effect of being able to detect the number of people with high accuracy and high speed.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例にかかる人数検出装置の構成を
示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a person number detection apparatus according to an embodiment of the present invention.

【図2】背景画像の更新処理を示すフローチャートであ
る。
FIG. 2 is a flowchart showing a background image update process.

【図3】人数検出の処理動作を説明するフローチャート
である。
FIG. 3 is a flowchart illustrating a processing operation for detecting the number of people.

【図4】ニューラルネットワークの構成図である。FIG. 4 is a configuration diagram of a neural network.

【図5】従来の人数検出装置の構成を示すブロック図で
ある。
FIG. 5 is a block diagram showing a configuration of a conventional people detection device.

【符号の説明】[Explanation of symbols]

1 画像入力部 2 前処理部 3 対象抽出部 4 面積比較部 5 計数部 6 特徴抽出部 7 人数判別部 8 出力部 10 入力層 11 中間層 12 出力層 1 Image Input Section 2 Pre-Processing Section 3 Target Extraction Section 4 Area Comparison Section 5 Counting Section 6 Feature Extraction Section 7 Number of People Discrimination Section 8 Output Section 10 Input Layer 11 Intermediate Layer 12 Output Layer

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 テレビカメラの映像信号をディジタル信
号に変換し、得られたディジタル画像信号の二値化レベ
ルをしきい値として人物画像を演算し、人の数を検出す
る人数検出装置において、人がいない状態の背景画像を
更新する演算手段、前記ディジタル画像信号の二値化画
像を補正する形状補正手段、該形状補正手段により得ら
れた画像の画素数を減らす画素数圧縮手段、該画素数圧
縮手段により得られた画像に、所定のパターンを重ねて
相関値を求める相関値検出手段、とからなる特徴抽出部
と、前記相関値をもとに演算処理を加えた相関値パラメ
ータ、前記テレビカメラからの画像信号の濃度レベルを
表わす濃度パラメータ、前記テレビカメラの設置環境を
特徴づける環境パラメータ、とをニューラルネットワー
クの入力層とした人数判別部とを備えたことを特徴とす
る人数検出装置。
1. A person number detecting device for converting a video signal of a television camera into a digital signal, calculating a person image using a binarization level of the obtained digital image signal as a threshold value, and detecting the number of persons, Arithmetic means for updating the background image in the absence of people, shape correction means for correcting the binarized image of the digital image signal, pixel number compression means for reducing the number of pixels of the image obtained by the shape correction means, and the pixels The image obtained by the number compression means, a correlation value detection means for obtaining a correlation value by superimposing a predetermined pattern on the image, a correlation value parameter obtained by performing a calculation process based on the correlation value, A person who uses the density parameter representing the density level of the image signal from the TV camera and the environment parameter characterizing the installation environment of the TV camera as an input layer of the neural network. An apparatus for detecting the number of people, comprising: a number determination unit.
【請求項2】 相関値パラメータが、相関値が所定値以
上の画素数、もしくは相関値が所定値以上の画素数を所
定のパターンの画素数で除した値、もしくは相関値の最
大ピーク値、もしくは相関値のピークの個数、のうち少
なくとも一つ以上の要素であることを特徴とする請求項
1の人数検出装置。
2. The correlation value parameter is the number of pixels having a correlation value of a predetermined value or more, or a value obtained by dividing the number of pixels having a correlation value of a predetermined value or more by the number of pixels of a predetermined pattern, or the maximum peak value of the correlation value, Alternatively, the number-of-persons detecting device according to claim 1, wherein the number of peaks of the correlation value is at least one element.
【請求項3】 濃度パラメータが、ディジタル画像信号
の二値化レベル、もしくは人がいない状態の背景の濃度
階調、のうち少なくとも一つ以上の要素であることを特
徴とする請求項1の人数検出装置。
3. The number of people according to claim 1, wherein the density parameter is at least one of a binary level of the digital image signal and a density gradation of a background in the absence of a person. Detection device.
【請求項4】 環境パラメータが、テレビカメラの取付
高さに依存する量、もしくは季節に依存する量、のうち
少なくとも一つ以上の要素であることを特徴とする請求
項1の人数検出装置。
4. The number-of-people detection device according to claim 1, wherein the environmental parameter is at least one element of an amount depending on a mounting height of the television camera or an amount depending on a season.
JP5098733A 1993-03-31 1993-03-31 Detecting device for number of people Pending JPH08272926A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5098733A JPH08272926A (en) 1993-03-31 1993-03-31 Detecting device for number of people

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5098733A JPH08272926A (en) 1993-03-31 1993-03-31 Detecting device for number of people

Publications (1)

Publication Number Publication Date
JPH08272926A true JPH08272926A (en) 1996-10-18

Family

ID=14227719

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5098733A Pending JPH08272926A (en) 1993-03-31 1993-03-31 Detecting device for number of people

Country Status (1)

Country Link
JP (1) JPH08272926A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003346123A (en) * 2002-05-23 2003-12-05 Av Planning Center:Kk Method and device for counting articles
US9020261B2 (en) 2001-03-23 2015-04-28 Avigilon Fortress Corporation Video segmentation using statistical pixel modeling
US9378632B2 (en) 2000-10-24 2016-06-28 Avigilon Fortress Corporation Video surveillance system employing video primitives
CN107331114A (en) * 2017-06-09 2017-11-07 安徽富煌科技股份有限公司 A kind of flow of the people early warning system counted based on video passenger flow
US9892606B2 (en) 2001-11-15 2018-02-13 Avigilon Fortress Corporation Video surveillance system employing video primitives
US10645350B2 (en) 2000-10-24 2020-05-05 Avigilon Fortress Corporation Video analytic rule detection system and method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9378632B2 (en) 2000-10-24 2016-06-28 Avigilon Fortress Corporation Video surveillance system employing video primitives
US10026285B2 (en) 2000-10-24 2018-07-17 Avigilon Fortress Corporation Video surveillance system employing video primitives
US10347101B2 (en) 2000-10-24 2019-07-09 Avigilon Fortress Corporation Video surveillance system employing video primitives
US10645350B2 (en) 2000-10-24 2020-05-05 Avigilon Fortress Corporation Video analytic rule detection system and method
US9020261B2 (en) 2001-03-23 2015-04-28 Avigilon Fortress Corporation Video segmentation using statistical pixel modeling
US9892606B2 (en) 2001-11-15 2018-02-13 Avigilon Fortress Corporation Video surveillance system employing video primitives
JP2003346123A (en) * 2002-05-23 2003-12-05 Av Planning Center:Kk Method and device for counting articles
CN107331114A (en) * 2017-06-09 2017-11-07 安徽富煌科技股份有限公司 A kind of flow of the people early warning system counted based on video passenger flow
CN107331114B (en) * 2017-06-09 2019-06-07 安徽富煌科技股份有限公司 A kind of flow of the people early warning system counted based on video passenger flow

Similar Documents

Publication Publication Date Title
JPH07302328A (en) Method for extracting area of moving object based upon background difference
JP7092615B2 (en) Shadow detector, shadow detection method, shadow detection program, learning device, learning method, and learning program
CN112561946B (en) Dynamic target detection method
US20030031376A1 (en) Image enhancement method
JPH08272926A (en) Detecting device for number of people
JPH0973541A (en) Object detection device/method
JP5286113B2 (en) Smoke detector
JP7092616B2 (en) Object detection device, object detection method, and object detection program
KR102474738B1 (en) Digital image analysis system for editing sea level image
WO2020129176A1 (en) Image processing system, image processing method, and image processing program
JPH08106534A (en) Movable object detector
JP2005173879A (en) Fused image display device
JP7194534B2 (en) Object detection device, image processing device, object detection method, image processing method, and program
JPH0688789A (en) Method for extracting density fluctuation constitution picture element in image and method for judging concentration fluctuation mass
CN110852172A (en) Method for expanding crowd counting data set based on Cycle Gan picture collage and enhancement
JPH0546732A (en) Detector for number of persons
JP3682631B2 (en) Fire detection equipment
JP6687659B2 (en) Area classifier
JP2548462B2 (en) Monitoring device
JPH06261210A (en) Threshold determining method
JPH04196993A (en) Image monitor device
JPH10320549A (en) Image filter
JPH07296163A (en) Congestion degree detector
JP3451923B2 (en) Image processing system by contrast enhancement method
JP2000222583A (en) Image processor