JPH11259625A - Number of persons detecting device and number of users detecting device for elevator - Google Patents

Number of persons detecting device and number of users detecting device for elevator

Info

Publication number
JPH11259625A
JPH11259625A JP5670798A JP5670798A JPH11259625A JP H11259625 A JPH11259625 A JP H11259625A JP 5670798 A JP5670798 A JP 5670798A JP 5670798 A JP5670798 A JP 5670798A JP H11259625 A JPH11259625 A JP H11259625A
Authority
JP
Japan
Prior art keywords
area
persons
person
image
people
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
JP5670798A
Other languages
Japanese (ja)
Inventor
Kenichi Ito
賢一 伊藤
Satoshi Nomura
智 野村
Seiji Okuda
清治 奥田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5670798A priority Critical patent/JPH11259625A/en
Publication of JPH11259625A publication Critical patent/JPH11259625A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To constitute the number of persons detecting device which can detect the correct number of persons even if the state of its monitoring area changes. SOLUTION: An input image from an image input device 1 is stored in a current image memory 2. Further, an input image in a no-person state is stored in a background image memory 6. A person part extracting means 7 compares the current image and the background image with each other to detect person's parts from their differences, a person's part area extracting means 8 finds the area of the person's part, and a person's part group number extracting means 9 finds the number of person's part groups. A person number counting means 10 determines the mean weight between the number of persons found from the person's part area and the number of persons found from the number of person's part groups and the number 11 of person's is calculated and outputted.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、CCDカメラ等
の画像入力装置を用いて取得した入力画像データから監
視領域内の人数を検出する装置及びエレベーターの利用
客数を検出する装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for detecting the number of people in a monitoring area from input image data obtained by using an image input device such as a CCD camera and a device for detecting the number of passengers of an elevator.

【0002】[0002]

【従来の技術】図12は例えば特願平9−123983
号に示された従来の人数検出装置を示す全体構成図であ
る。図において、1はCCDカメラ、人工網膜チップ、
赤外線カメラ等の画像入力装置で、エレベーターホール
等の監視領域を撮像し、入力された画像を現画像として
現画像メモリ2に記憶する。また、入力画像は、元背景
画像更新手段3を介して元背景画像として元背景画像メ
モリ4に記憶される。また、入力画像は、背景画像更新
手段5を介して背景画像として背景画像メモリ6に記憶
され、現画像及び元背景画像により更新される。
2. Description of the Related Art FIG. 12 shows, for example, Japanese Patent Application No. 9-123983.
FIG. 1 is an overall configuration diagram showing a conventional number detection device shown in FIG. In the figure, 1 is a CCD camera, an artificial retinal chip,
An image input device such as an infrared camera captures an image of a monitoring area such as an elevator hall, and stores the input image in the current image memory 2 as a current image. The input image is stored in the original background image memory 4 as the original background image via the original background image updating means 3. The input image is stored in the background image memory 6 as a background image via the background image updating means 5, and is updated with the current image and the original background image.

【0003】現画像と背景画像は人部抽出手段7で比較
され、人数計数手段10で人数11が計数されて出力さ
れる。そして、人部抽出手段7で2値化されるとき、し
きい値調整手段12によってしきい値が調整され、背景
は自動的に更新しながら、現画像と背景画像との差分を
取り出して2値化し、差分2値化画像の面積の大きさ、
又は塊数から、又は両者の平均とから人数11を検出す
る。
[0006] The current image and the background image are compared by a person extracting means 7, and the number of people 11 is counted by a number counting means 10 and output. Then, when binarized by the human part extracting means 7, the threshold value is adjusted by the threshold value adjusting means 12 and the difference between the current image and the background image is extracted while automatically updating the background. Binarized, the size of the area of the differential binarized image,
Alternatively, the number of persons 11 is detected from the number of blocks or the average of both.

【0004】[0004]

【発明が解決しようとする課題】上記のような従来の人
数検出装置では、現在画像と背景画像の差分2値化画像
の面積の大きさから人数11を検出するようにしている
ため、例えば、エレベーターホールのような室内照明が
中心の室内環境においては、現画像から背景画像を減算
する際、人部以外に人の影も検出してしまう場合があ
る。通常は室内環境においては、人のコントラストに比
し、影のコントラストは薄いため、2値化のしきい値を
高めに設定しておくことで分離できる。
In the above-described conventional number-of-people detecting device, the number of people 11 is detected from the size of the area of the difference binary image between the current image and the background image. In an indoor environment such as an elevator hall where indoor lighting is the center, when subtracting a background image from a current image, a shadow of a person may be detected in addition to a human part. Normally, in an indoor environment, the contrast of a shadow is lower than that of a person, so that the shadow can be separated by setting a higher threshold value for binarization.

【0005】しかし、照明灯が多数設置され、そのため
影が多方向に生じるような環境では、人数が多くなり他
人の影が重なってくる状態になると、その部分の影が濃
くなり、人部として誤検出される。そのため、人数が増
えると、影の重なりにより差分面積が増加してしまい、
人数検出の精度が低下する。また、人数が増えると、人
と人が影によって接続されて、差分画像の塊数が少なく
なる。また、両者から平均を取り場合も、それぞれの不
確定要素が増えるため、信頼性が劣る。などの問題点が
ある。
However, in an environment where a large number of illuminating lamps are installed and thus shadows are generated in multiple directions, when the number of people increases and the shadows of other people overlap, the shadows of those portions become dark and the human part becomes dark. Falsely detected. Therefore, when the number of people increases, the difference area increases due to the overlapping of shadows,
The accuracy of detecting the number of people decreases. Also, when the number of people increases, the people are connected by a shadow, and the number of blocks in the difference image decreases. Also, when an average is taken from both, the reliability is inferior because each uncertainty element increases. There are problems such as.

【0006】この発明は上記問題点を解消するためにな
されたもので、人数が増えて影が重なることにより、差
分面積や塊数に影響が生じても、正しい人数を検出でき
るようにした人数検出装置及びエレベーターの利用客数
検出装置を提供することを目的とする。
The present invention has been made in order to solve the above-mentioned problem, and is intended to detect the correct number of persons even if the number of persons increases and the shadows overlap, thereby affecting the difference area and the number of blocks. It is an object of the present invention to provide a detection device and a device for detecting the number of passengers of an elevator.

【0007】[0007]

【課題を解決するための手段】この発明の第1発明に係
る人数検出装置は、現画像と背景画像の差分から抽出さ
れた人部画像の面積及び塊数から求められたそれぞれの
人数により、これらの人数の平均の際の重みを変更して
人数を出力するようにしたものである。
According to a first aspect of the present invention, there is provided an apparatus for detecting the number of persons, wherein the number of persons obtained from the area and the number of clumps of a human part image extracted from a difference between a current image and a background image is determined by: The weight is changed at the time of averaging the number of persons, and the number of persons is output.

【0008】また、第2発明に係る人数検出装置は、第
1発明のものにおいて、抽出された面積及び塊数に対応
して、平均の際の重みを設定し、かつこれを変更して人
数を出力するようにしたものである。
Further, according to a second aspect of the present invention, in the first aspect of the present invention, in the first aspect, a weight for averaging is set according to the extracted area and the number of blocks, and the number is changed by changing the weight. Is output.

【0009】また、第3発明に係る人数検出装置は、第
1発明のものにおいて、抽出された面積及び塊数に対応
する人数を示すテーブルから人数を抽出して出力するよ
うにしたものである。
[0009] Further, the number detection device according to a third aspect of the present invention is the device according to the first aspect, wherein the number of people is extracted from a table indicating the number of people corresponding to the extracted area and the number of blocks, and is output. .

【0010】また、第4発明に係る人数検出装置は、第
1発明のものにおいて、それぞれの人数により出力され
る人数の出方から求めたルール及びメンバーシップ関数
を用いてファジー推論により人数を求めるようにしたも
のである。
[0010] In the fourth aspect of the present invention, in the first aspect, the number of persons is obtained by fuzzy inference using a rule and a membership function obtained from the number of persons output from each person. It is like that.

【0011】また、第5発明に係る人数検出装置は、第
1発明のものにおいて、それぞれの人数により出力され
る人数の出方から学習により求めたニューラルネットワ
ークを用いて人数を求めるようにしたものである。
Further, the number detection device according to a fifth aspect of the present invention is the device according to the first aspect, wherein the number of persons is obtained by using a neural network obtained by learning from the number of persons output by each person. It is.

【0012】また、第6発明に係る人数検出装置は、画
像面内での人と人との影の重なりから生じる人部以外の
差分検出面積量を推定し、影の部分を補正して人数を求
めるようにしたものである。
A person detection apparatus according to a sixth aspect of the present invention estimates a difference detection area other than a human part resulting from overlapping of shadows of a person on an image plane, and corrects the shadow to correct the number of persons. Is to ask for.

【0013】また、第7発明に係る人数検出装置は、第
6発明のものにおいて、次の補正式を用いて補正するよ
うにしたものである。 X/a=(A/a+k・B)/(1+k) ここに、A:背景画像との差分面積 a:1人当たりの単位面積 L:リンク数 k:1リンク当たりのaに対する面積増加率 X:真の面積
[0013] Further, the number detection apparatus according to a seventh aspect of the present invention is the apparatus for detecting the number of persons according to the sixth aspect of the present invention, wherein the correction is performed using the following correction formula. X / a = (A / a + kB) / (1 + k) where A: difference area from background image a: unit area per person L: number of links k: area increase rate with respect to a per link X: True area

【0014】また、第8発明に係るエレベーターの利用
客数検出装置は、請求項1〜請求項7の人数検出装置
を、エレベーターホール又はかご内を監視領域として利
用客数を検出する装置に適用したものである。
An elevator passenger number detecting apparatus according to an eighth aspect of the present invention is obtained by applying the number of passenger detecting apparatus according to any one of claims 1 to 7 to an apparatus for detecting the number of passengers using an elevator hall or a car as a monitoring area. It is.

【0015】[0015]

【発明の実施の形態】実施の形態1.図1〜図5はこの
発明の第1及び第2発明の一実施の形態を示す図で、図
1は全体構成図、図2は照明の影響説明図、図3は差分
画像説明図で、(A)は実測差分画像、(B)は本来の
差分画像、図4は人数検出動作フローチャート、図5は
人数平均時の重み設定図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 1 to 5 are diagrams showing one embodiment of the first and second inventions of the present invention. FIG. 1 is an overall configuration diagram, FIG. 2 is an explanatory diagram of the influence of illumination, FIG. (A) is an actually measured difference image, (B) is an original difference image, FIG. 4 is a flowchart of the number of people detecting operation, and FIG. 5 is a weight setting diagram when the number of people is averaged.

【0016】図1において、1はCCDカメラ、人工網
膜チップ、赤外線カメラ等の画像入力装置、2は画像入
力装置1からの信号を現画像として記憶する現画像メモ
リ、3は現画像を用いて元背景画像を更新する元背景画
像更新手段、4は背景画像の更新時に利用される元背景
を記憶する元背景画像メモリ、5は背景画像を更新する
背景画像更新手段、6は背景画像を記憶する背景画像メ
モリである。
In FIG. 1, reference numeral 1 denotes an image input device such as a CCD camera, an artificial retinal chip, an infrared camera, etc., 2 denotes a current image memory for storing signals from the image input device 1 as a current image, and 3 denotes a current image. Original background image updating means for updating an original background image, 4 is an original background image memory for storing an original background used when updating a background image, 5 is a background image updating means for updating a background image, and 6 is a background image. This is a background image memory to be executed.

【0017】7は現画像と背景画像を用いて人部を抽出
する人部抽出手段、8は人部抽出手段7によって抽出さ
れた人部画像の面積を求める人部面積抽出手段、9は人
部抽出手段7によって抽出された人部画像の塊数を求め
る人部塊数抽出手段、10は人部面積抽出手段8によっ
て抽出された面積と人部塊数抽出手段9によって抽出さ
れた塊数とから人数を計数する人数計数手段、11は検
出された人数である。
Reference numeral 7 denotes a human part extracting means for extracting a human part using the current image and the background image; 8, a human part area extracting means for obtaining the area of the human part image extracted by the human part extracting means 7; The human part mass number extracting means 10 for obtaining the number of masses of the human part image extracted by the part extracting means 7, the area extracted by the human part area extracting means 8 and the number of masses extracted by the human body mass number extracting means 9 The number counting means 11 counts the number of persons from, and 11 is the detected number of persons.

【0018】図2において、21は照明灯、22は人、
23は人22の影、24は影23の重なり部分で、濃影
となっている。図3において、31は人部の影23の2
値化時面積、32は影23の重なりにより2値化時に吸
い上げられた接続部の面積であり、図3(A)の実測差
分は図3(B)の本来の差分に比べ、影23の重なりに
より面積が増加している。
In FIG. 2, 21 is an illumination lamp, 22 is a person,
23 is a shadow of the person 22, and 24 is an overlapping portion of the shadow 23, which is a dark shadow. In FIG. 3, reference numeral 31 denotes 2 of the shadow 23 of the human part.
The area at the time of binarization, 32, is the area of the connection portion sucked up at the time of binarization due to the overlap of the shadow 23. The measured difference in FIG. 3A is smaller than the original difference in FIG. The area has increased due to the overlap.

【0019】次に、この実施の形態の動作を図4及び図
5を参照して説明する。まず、スイッチ(図示しない)
を投入して、図1の装置を起動させる(図4の「STA
RT」に相当)。ステップS1で画像入力装置1は監視
領域内の画像を取り込む。取り込まれた画像は、現画像
メモリ2に記憶される。ステップS2で元背景画像更新
手段3は、装置の起動直後の信号取込み時は何もせず、
そのまま現画像メモリ2の画像を元背景画像メモリ4に
渡す。それ以降は元背景画像メモリ4の画像データを、
現画像メモリ2の画像データを用いて、所定の時間遅れ
によって現画像に近づくように更新する。
Next, the operation of this embodiment will be described with reference to FIGS. First, a switch (not shown)
To start the apparatus of FIG. 1 (“STA” in FIG. 4).
RT "). In step S1, the image input device 1 captures an image in the monitoring area. The captured image is stored in the current image memory 2. In step S2, the original background image updating means 3 does nothing when fetching a signal immediately after the apparatus is started,
The image in the current image memory 2 is passed to the original background image memory 4 as it is. After that, the image data of the original background image memory 4 is
The image data in the current image memory 2 is updated so as to approach the current image with a predetermined time delay.

【0020】ステップS3で背景画像更新手段5は、装
置の起動直後の信号取込み時は何もせず、そのまま現画
像メモリ2の画像を背景画像メモリ6に渡す。それ以降
は背景画像メモリ6の画像データを、現画像メモリ2及
び元背景画像メモリ4の画像データを用いて更新する。
通常背景画像メモリ6は、所定の時間遅れによって現画
像に近づくように更新される。
In step S3, the background image updating means 5 does nothing at the time of signal capture immediately after the apparatus is started, and passes the image of the current image memory 2 to the background image memory 6 as it is. Thereafter, the image data in the background image memory 6 is updated using the image data in the current image memory 2 and the original background image memory 4.
Normally, the background image memory 6 is updated so as to approach the current image with a predetermined time delay.

【0021】次に、ステップS4で人部抽出手段7は、
現画像メモリ2の画像データから背景画像メモリ6の画
像データを減算し、人部と背景を分離し、人部だけを抽
出する。その後、所定のしきい値により2値化する。な
お、2値化では、人部全体を抽出するための絶対値での
2値化と、人の頭部を抽出するための黒の2値化の一方
又は両方を実行する。
Next, in step S4, the human part extracting means 7
The image data in the background image memory 6 is subtracted from the image data in the current image memory 2 to separate the human part from the background, and only the human part is extracted. Thereafter, binarization is performed using a predetermined threshold value. In the binarization, one or both of binarization using an absolute value for extracting the entire human part and black binarization for extracting a human head are executed.

【0022】ステップS5で人部面積抽出手段8は、人
部抽出手段7で抽出された絶対値の2値化の面積の値を
求める。これは、2値化により黒になった画素数を数え
ることで実現できる。なお、黒の2値化の面積を求めて
もよい。また、ステップS6で人部塊数抽出手段9は、
人部抽出手段7で抽出された黒の2値化の塊数を求め
る。これは塊を周りから順番に絞り込んで行って1点化
し、その数を数えることで実現できる。なお、絶対値の
2値化の塊数を求めてもよい。
In step S5, the human part area extracting means 8 obtains the value of the binarized area of the absolute value extracted by the human part extracting means 7. This can be realized by counting the number of pixels that have become black due to binarization. The area of binarization of black may be obtained. In step S6, the human body mass number extracting means 9
The number of binarized blocks of black extracted by the human part extracting means 7 is obtained. This can be realized by squeezing the blocks in order from the surroundings to obtain one point, and counting the number. Note that the number of bins for binarizing the absolute value may be obtained.

【0023】ステップS7で人数計数手段10は、上記
二つの手法のどちらかの人数をステップS8でそのまま
検出された人数11とすることも考えられるが、通常は
測定精度を上げる目的で、両者の平均を求めている。し
かし、人数が少ない場合はこれでもよいが、人数が多く
なった場合、次のような不具合が生じる。
In step S7, the number counting means 10 may consider one of the two methods as the number 11 detected as it is in step S8. Seeking average. However, if the number of people is small, this is acceptable, but if the number of people is large, the following problems occur.

【0024】すなわち、通常エレベーターホールのよう
な室内環境においては、天井に照明灯21が多数設置さ
れており、エレベーターの待客もこれに照らされて、影
23が多方向に生じている。ただし、その影23は極め
て薄いもので、人部抽出手段7で2値化する際には、人
部のコントラストに対し十分小さいため、通常は2値化
で除外されて、人部の面積及び塊数には影響を及ぼさな
い。ところが、人数が増えてくると、個々の多方向の影
23同士が互いに重なり合い、濃さが増し、2値化の
際、人部として吸い上げられてしまい、精度の低下を引
き起こす場合がある。
That is, in an indoor environment such as a normal elevator hall, a large number of illuminating lights 21 are installed on the ceiling, and the elevator waiters are also illuminated by this, and shadows 23 are generated in multiple directions. However, since the shadow 23 is extremely thin and is sufficiently smaller than the contrast of the human part when binarized by the human part extracting means 7, it is usually excluded by the binarization, and the area and the area of the human part are reduced. It does not affect the number of chunks. However, as the number of people increases, the individual shadows 23 in multiple directions overlap with each other, the density increases, and when binarized, the shadows are sucked up as a human part, which may cause a decrease in accuracy.

【0025】影23を生じさせる照明灯21は、明るさ
も影響するが、通常天井の照明灯21は同一種類のもの
が多数設置されている場合がほとんどであり、同じ明る
さであれば、人22に近いほどその影響は大きく、遠い
ほど小さい。すなわち、光の特性から距離の2重に反比
例する。そのため、頭上にある照明灯21の影響を最も
受け、それによる影23の大きさは、上方から照らされ
るため小さい。また、斜めからの光で生じる影23は薄
い。
Although the brightness of the illuminating lamps 21 that cause the shadows 23 also affects the brightness, the illuminating lamps 21 on the ceiling are usually installed in large numbers of the same type in most cases. The effect is greater as the distance is closer to 22, and smaller as the distance is greater. That is, it is inversely proportional to the double of the distance from the characteristics of light. Therefore, the size of the shadow 23 is most affected by the illumination lamp 21 above the head and is small because the shadow 23 is illuminated from above. The shadow 23 generated by oblique light is thin.

【0026】これにより、上方から照らされて生じる影
23の影響が大きいことが分かる。つまり、人22が隣
接して立ち、上方から照らされる影23が重なる場合に
影23が濃くなり、2値化の際人部として吸い上げられ
ることになる。また、人数が多いときは、いくつもの影
23が重なって、一つ一つの影23は薄くても、合計と
して濃くなってしまい、2値化の際人部として吸い上げ
られてしまう場合もある。
Thus, it can be seen that the influence of the shadow 23 illuminated from above is large. That is, when the person 22 stands adjacent and the shadow 23 illuminated from above overlaps, the shadow 23 becomes darker and is taken up as a human part in binarization. Further, when the number of people is large, many shadows 23 overlap, and even though each shadow 23 is thin, the shadows 23 may be darkened as a total and may be sucked up as a human part in binarization.

【0027】こうして抽出される影23は、人22の足
部に接しているため、影23の部分も2値化で抽出さ
れ、図3に示すように、隣接する人22同士を接続して
しまう。つまり、人22が隣接すると、人部として吸い
上げられるため、2値化の際に人部面積31が大きくな
る場合が多い。また、そのとき隣接する人22が接続さ
れる場合が多くなるため、塊数は少なくなる。
Since the shadow 23 extracted in this manner is in contact with the foot of the person 22, the portion of the shadow 23 is also extracted by binarization, and as shown in FIG. I will. That is, when the person 22 is adjacent, the person part is sucked up as a person part, so that the human part area 31 often becomes large in binarization. Also, at that time, the number of lumps is reduced because the number of connected persons 22 is increased.

【0028】なお、塊数については、人22の服の色に
より、一人が分断される場合がある。床面と同色の服を
切た人の場合には、背景画像との差分により、頭部と足
部が分断されて観測され、小さい塊は数えないというノ
イズ処理を施しても、その分断のなされ方によっては、
一人でも塊数は2となる場合がある。
The number of lumps may be divided by one person depending on the color of the clothes of the person 22. In the case of a person who cuts clothes of the same color as the floor, the head and feet are observed to be separated due to the difference from the background image. Depending on how it is done,
The number of chunks may be 2 for one person.

【0029】以上の傾向から次のことが分かる。 人数が増えた場合、又は人22が隣接した立った場
合、影23の重なり部分24が生じ、面積は大きめに表
示される。 人数が増えた場合、又は人22が隣接した立った場
合、影23の重なり部分24が生じ、塊数は少なく表示
される。 塊数は、服色によっては分断されて増加している場
合がある。 服色によって人部が分断されている場合、2値化の
際に出るべき服部が出ていないため、面積は小さめに表
示される。
The following can be understood from the above tendency. When the number of people increases or when the person 22 stands adjacent to each other, an overlapping portion 24 of the shadow 23 occurs, and the area is displayed relatively large. When the number of people increases or the person 22 stands adjacent to each other, an overlapping portion 24 of the shadow 23 occurs, and the number of blocks is displayed as a small number. The number of chunks may be divided and increased depending on the clothing color. When the person's part is divided by the clothing color, the area to be displayed is smaller because there is no clothing part to be displayed at the time of binarization.

【0030】以上の傾向から、面積からの人数と塊数か
らの人数を単に平均しただけでは、特に人数が多くなり
影23の重なり部分24が生じるような場合において、
精度の高い人数検出が望みにくいことが分かる。そこ
で、これらの特徴を加味し、面積の大きさと塊数の大き
さの状態に応じ両者の平均の重みを変更し、人数検出精
度を上げるようにしている。面積の大きさと、塊数の大
きさと、そのときの平均の重み付けの設定を図5に示
す。
From the above tendency, simply averaging the number of people from the area and the number of people from the number of lump, especially when the number of people increases and the overlapping portion 24 of the shadow 23 occurs,
It can be seen that highly accurate detection of the number of people is difficult to expect. Therefore, taking these features into account, the average weight of both is changed according to the size of the area and the size of the number of lumps to improve the accuracy of detecting the number of people. FIG. 5 shows the setting of the size of the area, the size of the number of blocks, and the average weight at that time.

【0031】ここで、面積及び塊数は、視野角45度程
度のカメラを、高さ5mの天井に設置して測定した場合
において、1〜3人を小、4〜6人を中、7人以上を大
としている。この人数は、カメラレンズの画角と設置高
さに応じて適切に変更する。 (1) 面積が小で塊数も小の場合は、両者の数が近いた
め、両者正常にカウントされている。よって、重みは均
等として平均する。 (2) 面積が小で塊数が中の場合は、人22がやや分離し
ている状態であり、実際よりも塊数が多めに出ている。
よって、面積側にやや重みを置いて平均する。 (3) 面積が小で塊数が大の場合は、人22が分離してい
る状態であり、実際よりも塊数が多く出てしかも不正確
である。よって、面積側に重みを置いて平均する。 (4) 面積が中で塊数が小の場合は、人22が密集してい
る状態であり、実際よりも塊数が少ない。また、影23
の影響で実際の人部の面積よりも面積はやや大きくな
る。よって、面積側にやや重みを置いて平均する。 (5) 面積が中で塊数が中の場合は、若干面積が多めでは
あるが、両者の数が近いため、重みは均等として平均す
る。 (6) 面積が中で塊数が大の場合は、人22がやや分離し
ている状態であり、実際よりも塊数が多めに出る。よっ
て、面積側にやや重みを置いて平均する。 (7) 面積が大で塊数が小の場合は、人22が密集してい
る状態であり、実際よりも塊数がかなり少ない。また、
影23の影響で面積は実際の面積よりも面積はやや大き
くなる。よって、面積側に重みを置いて平均する。
Here, the area and the number of lumps are measured by setting a camera having a viewing angle of about 45 degrees on a ceiling having a height of 5 m. Larger than people. This number is appropriately changed according to the angle of view and the installation height of the camera lens. (1) When the area is small and the number of lumps is small, the numbers of both are close to each other, and both are counted normally. Therefore, the weights are averaged as equal. (2) When the area is small and the number of lumps is medium, the person 22 is in a state of being slightly separated, and the number of lumps is larger than in reality.
Therefore, the average is set with a little weight on the area side. (3) When the area is small and the number of lumps is large, the person 22 is in a separated state, and the number of lumps is larger than the actual one and is inaccurate. Therefore, weighting is performed on the area side and averaging is performed. (4) If the area is small and the number of lumps is small, the people 22 are in a dense state, and the number of lumps is smaller than the actual number. Also, shadow 23
, The area is slightly larger than the actual area of the human part. Therefore, the average is set with a little weight on the area side. (5) When the area is medium and the number of blocks is medium, although the area is slightly larger, the weights are equal and averaged because the numbers are close to each other. (6) If the area is large and the number of lumps is large, the person 22 is in a state of being slightly separated, and the number of lumps is larger than in reality. Therefore, the average is set with a little weight on the area side. (7) If the area is large and the number of lumps is small, the people 22 are in a dense state, and the number of lumps is considerably smaller than the actual number. Also,
The area is slightly larger than the actual area due to the influence of the shadow 23. Therefore, weighting is performed on the area side and averaging is performed.

【0034】(8) 面積が大で塊数が中の場合は、人22
がやや密集しているため塊数がやや少ない。また、影2
3の影響で面積が実際の人部の面積よりもやや大きく出
る。よって、重みは均等として平均する。 (9) 面積が大で塊数が大の場合は、影23の影響で塊数
はやや少なめに、面積はやや多めに出るが、ほぼ正常に
検出されていると考える。よって、重みは均等として平
均する。
(8) If the area is large and the number of blocks is medium,
The number of clumps is slightly smaller due to the density. Also, shadow 2
Due to the influence of 3, the area is slightly larger than the actual area of the human part. Therefore, the weights are averaged as equal. (9) When the area is large and the number of lumps is large, the number of lumps is slightly smaller and the area is slightly larger due to the influence of the shadow 23, but it is considered that the detection is almost normal. Therefore, the weights are averaged as equal.

【0035】ここで、重みのかけ方は、例えば「均等」
と表現されているものは、5:5、「やや重みを置く」
と表現されているものは6:4、「重みを置く」と表現
されているものは8:2とすればよい。このようにし
て、面積及び塊数の適正な平均の重み付けをすることが
でき、それぞれの状態に応じた人数検出が可能になる。
これは、マイクロコンピュータ「以下マイコンという」
による簡単なプログラム処理により実行できる。なお、
上記重みの割合は一例に過ぎす、その使用環境や使用条
件に適したものに変更してもよい。また、現地測定等で
重みの割合を確認し、いっそう適切な重みの割合に変更
すれば、より精度の高い測定ができるので、より望まし
い。
Here, the method of weighting is, for example, "equal".
What is expressed is 5: 5, "We put a little weight"
What is expressed is 6: 4, and what is expressed as "weighting" is 8: 2. In this way, it is possible to appropriately weight the average of the area and the number of blocks, and it is possible to detect the number of persons according to each state.
This is a microcomputer "microcomputer"
Can be executed by simple program processing. In addition,
The weight ratio is merely an example, and may be changed to one suitable for the use environment or use conditions. It is more desirable to check the weight ratio by on-site measurement or the like, and to change the weight ratio to a more appropriate one, because more accurate measurement can be performed.

【0036】実施の形態2.図6はこの発明の第1及び
第3発明の一実施の形態を示す図で、面積と塊数の関係
に対する出力人数を示す図である。なお、図1〜図4は
実施の形態2にも共用する。実施の形態1では、面積と
塊数の関係から適切な平均の重み付けを行うようにした
が、実施の形態2では、出力人数を、面積からの人数と
塊数からの人数の1対1に対応したテーブルを用意し、
テーブルルックアップ方式で人数を求めるようにしたも
のである。
Embodiment 2 FIG. 6 is a diagram showing one embodiment of the first and third inventions of the present invention, and is a diagram showing the number of output persons with respect to the relationship between the area and the number of blocks. 1 to 4 are also used in the second embodiment. In the first embodiment, appropriate average weighting is performed based on the relationship between the area and the number of chunks. However, in the second embodiment, the number of output persons is one-to-one corresponding to the number of persons from the area and the number of persons from the number of chunks. Prepare the corresponding table,
The number of people is obtained by a table lookup method.

【0037】例えば、カメラの設置場所や環境により、
多少重み付けの割合を変えたいときや、現場で実測実験
を行い、そこで得られた値で人数を検出したい場合は、
テーブルルックアップ方式も便利である。それは、その
値を直接対応するテーブルの欄に書き換えればよいから
である。テーブルの変更は、例えばEPROMマイコン
を用いることで、簡単に実施できる。図6の行方向は面
積からの人数を、列方向は塊数からの人数を示し、それ
ぞれ該当する人数のクロスしたところが求める人数であ
る。
For example, depending on the installation location and environment of the camera,
If you want to slightly change the weighting ratio or perform an actual measurement experiment on site and want to detect the number of people using the value obtained there,
The table lookup method is also convenient. This is because the value may be directly rewritten in the corresponding column of the table. The table can be easily changed by using, for example, an EPROM microcomputer. The row direction in FIG. 6 shows the number of people from the area, and the column direction shows the number of people from the number of blocks.

【0038】実施の形態3.図7はこの発明の第1及び
第4発明の一実施の形態を示す図で、(A)はファジー
推論のルールを示す図、(B)〜(D)はメンバーシッ
プ関数図で、(B)は面積のメンバーシップ関数、
(C)は塊数のメンバーシップ関数、(D)は重みのメ
ンバーシップ関数である。なお、図1〜図4は実施の形
態2にも共用する。
Embodiment 3 FIGS. 7A and 7B are diagrams showing one embodiment of the first and fourth inventions of the present invention. FIG. 7A is a diagram showing rules of fuzzy inference, FIGS. 7B to 7D are membership function diagrams, and FIG. ) Is the area membership function,
(C) is a membership function of the number of chunks, and (D) is a membership function of the weight. 1 to 4 are also used in the second embodiment.

【0039】実施の形態1では、面積と塊数の関係から
平均の重みを求めた。このように、入力と出力の傾向が
うまく得られる事象には、ルールとメンバーシップ関数
を求めてファジー推論を用いることができ、いっそう精
密な値を得ることができる。図7を用いて、2入力1出
力のファジー推論を行い、面積と塊数に対応した重みを
求める。もちろん、出力を人数としてもよい。
In the first embodiment, the average weight is determined from the relationship between the area and the number of blocks. As described above, for an event in which the tendency of the input and the output can be obtained well, fuzzy inference can be used by obtaining a rule and a membership function, and a more precise value can be obtained. Using FIG. 7, fuzzy inference of two inputs and one output is performed, and a weight corresponding to the area and the number of blocks is obtained. Of course, the output may be the number of people.

【0040】なお、このファジー推論は、マイコン上に
プログラムを組んで実行することができる。また、ファ
ジー推論の結果をあらかじめ図6に示すテーブルに記入
して、テーブルルックアップ方式で抽出するようにして
もよい。
The fuzzy inference can be executed by setting a program on a microcomputer. Alternatively, the result of the fuzzy inference may be written in a table shown in FIG. 6 in advance and extracted by a table lookup method.

【0041】実施の形態4.図8はこの発明の第1及び
第5発明の一実施の形態を示すニューラルネットワーク
説明図である。なお、図1〜図4は実施の形態2にも共
用する。実施の形態1では、面積と塊数の関係から平均
の際の重みを求めた。このように、入力値と出力値が求
められるような関係では、ニューラルネットワークを用
いて、出力値を教師信号として学習させ、ニューラルネ
ットワークのシナプス結合係数を求め、ニューラルネッ
トワークを形成し、以降このニューラルネットワークを
用いて人数を出力させる手法も有効である。もちろん、
出力を人数でなく重みとしてもよい。
Embodiment 4 FIG. FIG. 8 is an explanatory diagram of a neural network showing one embodiment of the first and fifth aspects of the present invention. 1 to 4 are also used in the second embodiment. In the first embodiment, the weight at the time of averaging was determined from the relationship between the area and the number of blocks. As described above, in a relationship in which an input value and an output value are obtained, the output value is learned as a teacher signal using a neural network, a synapse coupling coefficient of the neural network is obtained, and a neural network is formed. A method of outputting the number of people using a network is also effective. of course,
The output may be a weight instead of the number of people.

【0042】図8にニューラルネットワークの一例を示
す。この例では、入力層を面積からの人数と塊数からの
人数の2個、中間層は5個、出力層は人数の1個のニュ
ーロンから構成され、それぞれの層のニューロンの結合
を、学習により求めたシナプス結合係数で結合してい
る。このニューロンの構成を、マイコン上に記憶させ、
面積からの人数と塊数からの人数を入力して、出力とし
て人数を求めればよい。
FIG. 8 shows an example of a neural network. In this example, the input layer is composed of two neurons, one from the area and the number from the mass, the middle layer is composed of five neurons, and the output layer is composed of one neuron. Are connected by the synaptic connection coefficient obtained by The configuration of this neuron is stored in the microcomputer,
The number of people can be obtained by inputting the number of people based on the area and the number of people based on the number of blocks, and as an output.

【0043】なお、マイコン上に記憶させた場合は、面
積の設置環境に応じた面積からの人数と塊数からの人数
が求まる人数の関係をオンライン学習させ、マイコン上
のRAMに記憶させてあるシナプス結合係数を変更し、
いっそう精度の高い測定ができるようにすることも可能
である。また、マイコンのRAM容量が少ないような場
合には、あらかじめオフラインで学習したシナプス結合
係数をROMに記憶させたり、実施の形態2に示したよ
うなテーブルルックアップ方式にしたりすることも可能
である。
In the case where the number is stored on the microcomputer, the relationship between the number of people from the area and the number of people from the number of blocks according to the installation environment of the area is learned online and stored in the RAM of the microcomputer. Change the synaptic coupling coefficient,
It is also possible to perform more accurate measurement. Further, when the RAM capacity of the microcomputer is small, it is possible to store the synapse coupling coefficient learned offline in advance in the ROM, or to use the table lookup method as described in the second embodiment. .

【0044】実施の形態5.この発明の第6及び第7発
明の一実施の形態であり、図1〜図4を共用する。画像
入力装置1から入力された現在画像と、自動更新される
背景画像の差分から人数を求める人数検出装置の場合、
検出する人数が多くなった場合、実施の形態1で説明し
たような不具合が生じる場合がある。
Embodiment 5 FIG. This is an embodiment of the sixth and seventh inventions of the present invention, and shares FIGS. In the case of a number detection device that calculates the number of people from the difference between the current image input from the image input device 1 and the automatically updated background image,
When the number of persons to be detected increases, the problem described in the first embodiment may occur.

【0045】すなわち、人22が隣接すると影23部が
重なり、人部として吸い上げられるため、2値化の際に
人部面積が大きくなる。また、隣接する人22同士が接
続されるため、塊数は少なくなる。そのため、人数に対
し、塊数が小さい場合は、実際の面積よりも大きな値が
求まっていることになる。実施の形態5は、上記の増加
分を推論し、面積補正手段によって面積を補正して人数
検出の精度を上げるようにしたものである。
That is, when the person 22 is adjacent, the shadow 23 overlaps and is sucked up as a person, so that the area of the person becomes large in binarization. Further, since the adjacent persons 22 are connected to each other, the number of blocks is reduced. Therefore, when the number of blocks is smaller than the number of people, a value larger than the actual area is determined. In the fifth embodiment, the above-described increase is inferred, and the area is corrected by the area correcting means to increase the accuracy of detecting the number of people.

【0046】図3(A)は3人の人22が一体化してい
る状態を示している。影23の重なりにより増加した面
積32を除去する推論補正式を求め、増加分の影響を除
外する。今、背景画像との差分面積をA、1人当たりの
単位面積をa、リンク数(面積32の数)をL、1リン
ク当たりの単位面積aに対する面積増加率をkとする
と、真の面積Xは、 X=A−k・a・L ・・・(1) となる。
FIG. 3A shows a state where three persons 22 are integrated. An inference correction formula for removing the area 32 increased by the overlap of the shadows 23 is obtained, and the influence of the increase is excluded. Assuming that the difference area from the background image is A, the unit area per person is a, the number of links (the number of areas 32) is L, and the area increase rate per unit area a per link is k, the true area X X = A−k · a · L (1)

【0047】(1)式の両辺をaで除すると、 X/a=A/a−k・L ・・・(2) となる。ここで、 X/a:真の(面積からの)人数 A/a:補正前の面積からの人数 であるから、 [真の人数]=[補正前の面積からの人数]−[リンク当たり増加率]・ [リンク数] ・・・(3) となる。X / a = A / a−k · L (2) when both sides of the equation (1) are divided by a. Here, X / a: true number of people (from area) A / a: number of people from area before correction, [true number of people] = [number of people from area before correction]-[increase per link] Rate] / [Number of links] (3)

【0048】2人が隣接して1体化すると、その接続部
の数、すなわちリンク数Lは1である。3人が隣接して
1体化すると、リンク数Lは2になる。ただし、団子状
にかたまった場合は、リンク数Lは3になる。ここでは
簡単にモデル化するため、団子状にかたまった場合は考
えないことにする。実際、エレベーターホールのような
場所では、人22は無意識に他人との距離を取るため、
人22が団子状にかたまることはまれであり、あまり考
慮しなくてもよい。
When two persons are adjacent and integrated into one body, the number of connecting parts, that is, the number L of links is one. When three persons are adjacent and united, the number L of links becomes two. However, in the case of clustering, the number L of links is three. Here, for the purpose of simple modeling, we do not consider the case of a dumpling. In fact, in places such as elevator halls, people 22 unconsciously take distance from others,
It is rare for the person 22 to clump in a dumpling, and it is not necessary to consider much.

【0049】4人が隣接して1体化すると、リンク数L
は3になる。このように考えると、n人が隣接した場合
のリンク数はn−1とすることができる。4人が2人+
2人で2塊となった場合のリンク数Lは2、5人が2人
+3人として2塊となった場合のリンク数Lは3とな
る。このように考えていくと、リンク数Lは人数と塊数
の差であることが分かる。人数はX/aであり、塊数を
Bとすると、リンク数Lは、 L=X/a−B ・・・(4)
When four people are adjacent and united, the number of links L
Becomes 3. Considering this, the number of links when n people are adjacent can be n-1. 4 + 2 +
The number of links L when two people form two blocks is 2, 3 when the number of links is 2 and 5 people are 2 + 3, and the number of links L is 3. Considering this way, it can be seen that the number of links L is the difference between the number of people and the number of blocks. If the number of people is X / a and the number of blocks is B, the number of links L is: L = X / a-B (4)

【0050】(2)式及び(4)式から、 X/a=A/a−k・(X/a−B) ・・・(5) 両辺を整理すると、 X/a=(A/a+k・B)/(1+k) ・・・(6) となり、面積増加率kが分かれば、真の人数(X/a)
が求まる。
From the equations (2) and (4), X / a = A / a−k · (X / a−B) (5) When both sides are arranged, X / a = (A / a + k) B) / (1 + k) (6), and if the area increase rate k is known, the true number of people (X / a)
Is found.

【0051】次に、リンク当たりの画素数増加率kがど
の程度の値になるか、実験で確認した。身長170c
m、中肉中制の大人複数人を、何回も5m上方から画角
45度レンズを有する人工網膜チップカメラで、撮影
し、画素数増加率kの値を求めた。その結果からk=
0.7を得た。この値はカメラの画角、設置高さ、画素
数によって異なる場合もあるが、実験や計算で求めれば
よい。マイコンのプログラム上では、係数を書き換える
だけであり、簡単に実現できる。
Next, it was confirmed through experiments that the value k of the number of pixels per link increases. Height 170c
m, a plurality of adults with medium flesh were photographed many times from 5 m above with an artificial retinal chip camera having a 45 ° angle of view lens, and the value of the pixel number increase rate k was determined. From the result, k =
0.7 was obtained. This value may vary depending on the angle of view of the camera, the installation height, and the number of pixels, but may be obtained through experiments or calculations. In a microcomputer program, it is only necessary to rewrite the coefficients, and it can be easily realized.

【0052】なお、リンクについては、人22が団子状
になる場合はまれであるとして考えてきたが、更に精度
を上げるため、塊の形状から団子状か否かを推論し、団
子状の場合は、リンク数Lをその分加算するようにして
も有効である。
The link has been considered to be rare when the person 22 is in the form of a dumpling. However, in order to further improve the accuracy, it is inferred from the shape of the lump whether or not the link is a dumpling. Is effective even if the number of links L is added accordingly.

【0053】実施の形態6.図9及び図10はこの発明
の第8発明の一実施の形態を示す図で、図9はエレベー
ターホールの待客数検出説明図、図10はエレベーター
のかご内の乗客数検出説明図である。なお、図1〜図4
は実施の形態6にも共用する。
Embodiment 6 FIG. 9 and 10 are diagrams showing an embodiment of the eighth invention of the present invention. FIG. 9 is an explanatory diagram for detecting the number of passengers in an elevator hall, and FIG. 10 is an explanatory diagram for detecting the number of passengers in an elevator car. . 1 to 4
Are also used in the sixth embodiment.

【0054】図9において、41はエレベーターホール
の天井に設置された人数検出装置で、実施の形態1〜実
施の形態5で説明したものである。42は待客、43は
各階の複数の人数検出装置41からの信号を取りまとめ
る各階統合部、44は全階の信号を取りまとめる全階統
合部、45はエレベーターの群管理装置である。
In FIG. 9, reference numeral 41 denotes a person detection device installed on the ceiling of an elevator hall, which has been described in the first to fifth embodiments. 42 is a waiting customer, 43 is an integrated unit for each floor that collects signals from the plurality of people detecting devices 41 on each floor, 44 is an integrated unit for all floors that collects signals for all floors, and 45 is a group management device for elevators.

【0055】図10において、51はエレベーターのか
ご52内の天井に設置された人数検出装置で、実施の形
態1〜実施の形態5で説明したものである。53はかご
52内の乗客、54は全かご52からの信号を取りまと
める全かご統合部、55はエレベーターの群管理装置で
ある。
In FIG. 10, reference numeral 51 denotes a person detection device installed on the ceiling of a car 52 of an elevator, which has been described in the first to fifth embodiments. 53 is a passenger in the car 52, 54 is an all-car integration unit for collecting signals from all the cars 52, and 55 is an elevator group management device.

【0056】エレベーターホールの待客42やかご52
内の乗客53の人数、又はその両方の人数を、既述の手
法のいずれかで測定し、エレベーターの群管理を実施す
る。例えば、ある階の待客42が多い場合には、そこに
かご52を2台配車するとか、かご52内が満員の場合
は、別のかごを配車するなどの制御を行い、エレベータ
ー利用者の待時間を短縮し、また、積み残されることに
よる不快感を軽減する。
The waiting hall 42 and the car 52 of the elevator hall
The number of passengers 53 or both of them is measured by any of the methods described above, and the group management of the elevators is performed. For example, when there are many waiters 42 on a certain floor, two cars 52 are dispatched there, or when the inside of the car 52 is full, control is performed such as distributing another car, and the elevator user is controlled. The waiting time is shortened, and the unpleasant feeling due to unloading is reduced.

【0057】[0057]

【発明の効果】以上説明したとおり、この発明の第1発
明では、現画像と背景画像の差分から抽出された人部画
像面積及び塊数から求められたそれぞれの人数により、
これらの人数の平均の際の重みを変更し、第2発明で
は、抽出された面積及び塊数に対応して、平均の際の重
みを設定し、かつこれを変更して人数を出力するように
したので、状況に応じた平均の重み付けができ、状況に
応じた精度の高い測定結果を得ることができる。
As described above, according to the first aspect of the present invention, the number of persons determined from the area of the human part image extracted from the difference between the current image and the background image and the number of blocks are used.
According to the second invention, the weight at the time of averaging is changed according to the extracted area and the number of lumps, and the weight is changed and the number is output. Therefore, it is possible to weight the average according to the situation, and to obtain a highly accurate measurement result according to the situation.

【0058】また、第3発明では、抽出された面積及び
塊数に対応する人数を示すテーブルから人数を抽出して
出力するようにしたので、状況に応じた精度の高い測定
結果を得ることができ、またテーブルを書き換えること
で、設置環境に適した測定をすることができる。
Further, in the third invention, the number of persons is extracted from the table indicating the number of persons corresponding to the extracted area and the number of blocks, and is output, so that a highly accurate measurement result according to the situation can be obtained. Yes, and by rewriting the table, measurement suitable for the installation environment can be performed.

【0059】また、第4発明では、抽出からの人数と塊
数からの人数から、ルール及びメンバーシップ関数を作
成してファジー推論を行い、第5発明では、ニューラル
ネットワークを学習させて形成して人数を求めるように
したので、精密な重み付けを行うことができ、精度の高
い測定をすることができる。
Further, in the fourth invention, rules and membership functions are created from the number of people extracted and the number of lump numbers to perform fuzzy inference. In the fifth invention, neural networks are learned and formed. Since the number of persons is obtained, accurate weighting can be performed, and highly accurate measurement can be performed.

【0060】また、第6発明では、画像面内での人と人
との影の重なりから生じる人部以外の差分検出面積量を
推定し、影の部分を補正し、第7発明では、影の部分を
補正する補正式を用いるようにしたので、更に正確な人
数検出を実行することができる。
Further, in the sixth invention, a difference detection area amount other than the human part resulting from the overlapping of the shadow of the person on the image plane is estimated, and the shadow part is corrected. Since the correction formula for correcting the portion is used, more accurate detection of the number of people can be performed.

【0061】また、第8発明では、人数検出装置を、エ
レベーターホール又はかご内を監視領域として利用客数
を検出する装置に適用したので、エレベーターの制御に
必要な高精度の利用客数情報を出力する検出装置を構成
することができる。
In the eighth invention, the number-of-people detecting device is applied to the device for detecting the number of passengers by using the elevator hall or the inside of the car as a monitoring area, so that high-precision information on the number of passengers required for controlling the elevator is output. A detection device can be configured.

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

【図1】 この発明の実施の形態1を示す全体構成図。FIG. 1 is an overall configuration diagram showing a first embodiment of the present invention.

【図2】 この発明の実施の形態1を示す照明の影響説
明図。
FIG. 2 is an explanatory diagram of an influence of illumination according to the first embodiment of the present invention.

【図3】 この発明の実施の形態1を示す差分画像説明
図で、(A)は実測差分画像、(B)は本来の差分画
像。
3A and 3B are explanatory diagrams illustrating a difference image according to the first embodiment of the present invention, wherein FIG. 3A is an actual difference image, and FIG. 3B is an original difference image.

【図4】 この発明の実施の形態1を示す人数検出動作
フローチャート。
FIG. 4 is a flowchart of a number detection operation according to the first embodiment of the present invention.

【図5】 この発明の実施の形態1を示す人数平均時の
重み設定図。
FIG. 5 is a diagram showing a weight setting when the number of people is averaged according to the first embodiment of the present invention;

【図6】 この発明の実施の形態2を示す面積と塊数の
関係に対する出力人数を示す図。
FIG. 6 is a diagram showing the number of output persons with respect to the relationship between the area and the number of blocks according to the second embodiment of the present invention.

【図7】 この発明の実施の形態3を示す図で、(A)
はファジー推論のルールを示す図、(B)〜(D)はフ
ァジー推論のメンバーシップ関数図で、(B)は面積の
メンバーシップ関数、(C)は塊数のメンバーシップ関
数、(D)は重みのメンバーシップ関数。
FIG. 7 is a diagram showing a third embodiment of the present invention, wherein (A)
Is a diagram showing rules of fuzzy inference, (B) to (D) are membership function diagrams of fuzzy inference, (B) is a membership function of area, (C) is a membership function of lump count, and (D) Is the weight membership function.

【図8】 この発明の実施の形態4を示すニューラルネ
ットワーク説明図。
FIG. 8 is a diagram illustrating a neural network according to a fourth embodiment of the present invention.

【図9】 この発明の実施の形態6を示すエレベーター
ホールの待客数検出説明図。
FIG. 9 is a diagram for explaining the detection of the number of waiting customers in an elevator hall according to the sixth embodiment of the present invention.

【図10】 この発明の実施の形態6を示すエレベータ
ーのかご内の乗客数検出説明図。
FIG. 10 is an explanatory view of detecting the number of passengers in a car of an elevator according to a sixth embodiment of the present invention.

【図11】 従来の人数検出装置を示す全体構成図。FIG. 11 is an overall configuration diagram showing a conventional person detection device.

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

1 画像入力装置、2 現画像メモリ、3 背景画像メ
モリ、7 人部抽出手段、8 人部面積抽出手段、9
人部塊数抽出手段、10 人数計数手段、11人数、2
1 照明灯、22 人、23 影、24 影の重なり部
分、31 影の面積、32 影の接続部面積、41 人
数検出装置、42 待客、51 人数検出装置、52
かご、53 乗客
Reference Signs List 1 image input device, 2 current image memory, 3 background image memory, 7 person section extracting means, 8 person section area extracting means, 9
Means for extracting the number of human masses, means for counting 10 people, 11 people, 2
1 Illumination lamp, 22 persons, 23 shadows, 24 shadow overlapping part, 31 shadow area, 32 shadow connection area, 41 person detection device, 42 waiting customers, 51 person detection device, 52
Basket, 53 passengers

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 画像入力装置から入力された監視領域の
現画像と、あらかじめ作成された上記監視領域の背景画
像を比較し、その差分から人部画像の面積及びこの人部
画像の塊数を抽出し、これらの抽出された面積及び塊数
からそれぞれ人数を求めて、それを平均して人数を出力
する装置において、上記平均の際の重みを設定し、かつ
上記それぞれの人数により上記重みを変更して上記人数
を出力する人数計数手段を備えたことを特徴とする人数
検出装置。
The present invention compares a current image of a monitoring area input from an image input device with a background image of the monitoring area created in advance, and determines a size of a human part image and the number of clumps of the human part image from the difference. In a device for extracting and calculating the number of persons from the extracted area and the number of blocks, averaging the numbers, and outputting the number of persons, the weight at the time of the averaging is set, and the weight is calculated by the number of persons. A number detection device comprising a number counting means for changing and outputting the number of people.
【請求項2】 人数計数手段を、抽出された面積及び塊
数に対応して、平均の際の重みを設定し、かつこれを変
更して人数を出力するように構成したことを特徴とする
請求項1記載の人数検出装置。
2. The number-of-people counting means is configured to set a weight at the time of averaging in accordance with the extracted area and the number of chunks, and to change the weight to output the number of people. The number detection device according to claim 1.
【請求項3】 人数計数手段を、抽出された面積及び塊
数に対応する人数を示すテーブルから人数を抽出して出
力するように構成したことを特徴とする請求項1記載の
人数検出装置。
3. The number detecting apparatus according to claim 1, wherein said number counting means is configured to extract and output the number of persons from a table indicating the number of persons corresponding to the extracted area and number of blocks.
【請求項4】 人数計数手段を、それぞれの人数により
出力される人数の出方から求めたルール及びメンバーシ
ップ関数を用いたファジー推論により人数を求めるよう
に構成したことを特徴とする請求項1記載の人数検出装
置。
4. The number-of-people counting means is configured to determine the number of persons by fuzzy inference using a rule and a membership function obtained from the number of persons output according to each number of persons. The number detection device described.
【請求項5】 人数計数手段を、それぞれの人数により
出力される人数の出方から求めたニューラルネットワー
クを用いて人数を求めるように構成したことを特徴とす
る請求項1記載の人数検出装置。
5. The number detecting apparatus according to claim 1, wherein said number counting means is configured to calculate the number of persons by using a neural network obtained from the number of persons output according to each number of persons.
【請求項6】 画像入力装置から入力された監視領域の
現画像と、あらかじめ作成された上記監視領域の背景画
像を比較し、その差分から人部画像の面積及びこの人部
画像の塊数を抽出し、これらの抽出された面積及び塊数
からそれぞれ人数を求めて、それを平均して人数を出力
する装置において、上記画像面内での人と人との影の重
なりから生じる人部以外の差分検出面積量を推定し、上
記影の部分を補正して人数を求める面積補正手段を備え
たことを特徴とする人数計数手段。
6. A current image of the monitoring area input from the image input device is compared with a background image of the monitoring area created in advance, and the area of the human part image and the number of clumps of the human part image are determined from the difference. In a device that extracts and obtains the number of persons from each of the extracted area and the number of clumps and outputs the number of persons by averaging the numbers, a part other than the part of the person resulting from the overlapping of the shadow of the person on the image plane is used. Characterized in that it comprises an area correcting means for estimating the difference detection area amount and correcting the shadow portion to obtain the number of people.
【請求項7】 面積補正手段を、X/a=(A/a+k
・B)/(1+k)で示された補正式を用いて補正する
ように構成し、上記補正式中、Aは背景画像との差分面
積、aは1人当たりの単位面積、Lはリンク数、kは1
リンク当たりのaに対する面積増加率、Xは真の面積と
したことを特徴とする請求項6記載の人数検出装置。
7. The area correction means is defined as X / a = (A / a + k
B) It is configured to perform correction using a correction formula represented by (1 + k), where A is the difference area from the background image, a is the unit area per person, L is the number of links, k is 1
7. The apparatus according to claim 6, wherein the area increase rate relative to a per link and X is a true area.
【請求項8】 請求項1〜請求項7のいずれかに記載の
人数検出装置を、エレベーターホールまたはかご内を監
視領域として利用客数を検出する装置に適用したことを
特徴とするエレベーターの利用客数検出装置。
8. The number of passengers of an elevator, wherein the number of passengers detecting device according to any one of claims 1 to 7 is applied to a device for detecting the number of passengers using an elevator hall or a car as a monitoring area. Detection device.
JP5670798A 1998-03-09 1998-03-09 Number of persons detecting device and number of users detecting device for elevator Pending JPH11259625A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5670798A JPH11259625A (en) 1998-03-09 1998-03-09 Number of persons detecting device and number of users detecting device for elevator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5670798A JPH11259625A (en) 1998-03-09 1998-03-09 Number of persons detecting device and number of users detecting device for elevator

Publications (1)

Publication Number Publication Date
JPH11259625A true JPH11259625A (en) 1999-09-24

Family

ID=13034961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5670798A Pending JPH11259625A (en) 1998-03-09 1998-03-09 Number of persons detecting device and number of users detecting device for elevator

Country Status (1)

Country Link
JP (1) JPH11259625A (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
JP2005292066A (en) * 2004-04-05 2005-10-20 Daikin Ind Ltd Condition diagnostic device, condition diagnostic program, and condition diagnostic system
JP2008299503A (en) * 2007-05-30 2008-12-11 Mitsubishi Electric Building Techno Service Co Ltd Computer system for implementing lease elevator business method
CN103440738A (en) * 2013-08-16 2013-12-11 吉林大学 Early warning method of overloading of tourist footbridge in scenic area
JP5976198B2 (en) * 2013-03-26 2016-08-23 株式会社日立国際電気 Number counting device and number counting method
JP2020086753A (en) * 2018-11-21 2020-06-04 マイクロコントロールシステムズ株式会社 Object counting program, apparatus and method, and object management program

Cited By (7)

* 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
JP2005292066A (en) * 2004-04-05 2005-10-20 Daikin Ind Ltd Condition diagnostic device, condition diagnostic program, and condition diagnostic system
JP2008299503A (en) * 2007-05-30 2008-12-11 Mitsubishi Electric Building Techno Service Co Ltd Computer system for implementing lease elevator business method
JP5976198B2 (en) * 2013-03-26 2016-08-23 株式会社日立国際電気 Number counting device and number counting method
JPWO2014156733A1 (en) * 2013-03-26 2017-02-16 株式会社日立国際電気 Number counting device and number counting method
CN103440738A (en) * 2013-08-16 2013-12-11 吉林大学 Early warning method of overloading of tourist footbridge in scenic area
JP2020086753A (en) * 2018-11-21 2020-06-04 マイクロコントロールシステムズ株式会社 Object counting program, apparatus and method, and object management program

Similar Documents

Publication Publication Date Title
KR100204101B1 (en) Image processing apparatus
US5555512A (en) Picture processing apparatus for processing infrared pictures obtained with an infrared ray sensor and applied apparatus utilizing the picture processing apparatus
US7190811B2 (en) Adaptive tracking for gesture interfaces
CN105654349A (en) Elevator advertisement self-adaptive playing method and system
JP2001236593A (en) Traffic signal controller
JPH056500A (en) Moving body and equipment control system
JP6725411B2 (en) Behavior evaluation device, behavior evaluation method
JPH06266840A (en) Status detector for moving object
Lin et al. Fall Prevention Shoes Using Camera‐Based Line‐Laser Obstacle Detection System
JPH11259625A (en) Number of persons detecting device and number of users detecting device for elevator
JP2599701B2 (en) Elevator Standby Passenger Number Detection Method
JP3603715B2 (en) Distance measuring device and camera equipped with the distance measuring device
JPH03254291A (en) Monitor for automobile driver
KR20190078579A (en) Information processing apparatus, information processing method, and recording medium
JPH11219437A (en) Number of people counting system
US20230154307A1 (en) Accident sign detection system and accident sign detection method
JP2009294887A (en) Construction facility control system and program
JP2009294888A (en) Building facility information report system, and program
JPH08106534A (en) Movable object detector
JPH07134767A (en) Monitoring device for intrusion of suspicious person
CN113660455B (en) Method, system and terminal for fall detection based on DVS data
CN115273401A (en) Method and system for automatically sensing falling of person
JPH04111079A (en) Traveling object identifying device
JPH08272926A (en) Detecting device for number of people
JP7500929B2 (en) IMAGE PROCESSING SYSTEM, IMAGE PROCESSING PROGRAM, AND IMAGE PROCESSING METHOD