JP2001338283A - Detection area setting method for human body detector - Google Patents

Detection area setting method for human body detector

Info

Publication number
JP2001338283A
JP2001338283A JP2000156077A JP2000156077A JP2001338283A JP 2001338283 A JP2001338283 A JP 2001338283A JP 2000156077 A JP2000156077 A JP 2000156077A JP 2000156077 A JP2000156077 A JP 2000156077A JP 2001338283 A JP2001338283 A JP 2001338283A
Authority
JP
Japan
Prior art keywords
human body
area
image
detection area
detection
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
JP2000156077A
Other languages
Japanese (ja)
Inventor
Kenji Kawai
健児 河井
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.)
Noritz Corp
Original Assignee
Noritz 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 Noritz Corp filed Critical Noritz Corp
Priority to JP2000156077A priority Critical patent/JP2001338283A/en
Publication of JP2001338283A publication Critical patent/JP2001338283A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Image Analysis (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a detection area setting method for human body detector, capable of dealing with all conceivable installation site by utilizing a personal computer(PC) and the screen thereof. SOLUTION: The human body detector is provided with a storage part such as flash memory, and the PC is connected. Then, this device is provided with a display means for fetching image from the human body detector and displaying it on the screen of the PC, a setting means for setting a detection area by the PC and a writing means for writing the set detection area in the storage part of the human body detector.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は人体検出装置におけ
る検知領域設定方法に関するものであり、より詳しくは
人体の動きを検出する人体検出装置であって人体検出装
置により撮像した撮像範囲のうち真に人体の検出に必要
な領域を検知領域として設定し、この検知領域内のエリ
アのみを必要域として検知を継続するための検知領域設
定方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for setting a detection area in a human body detecting device, and more particularly, to a human body detecting device for detecting the movement of a human body. The present invention relates to a detection area setting method for setting an area required for detection of a human body as a detection area and continuing detection only as an area within the detection area as a necessary area.

【0002】[0002]

【従来の技術】従来、人体の検出に低解像度の検出セン
サを用いる場合、センサの画像アレイは128×128
=16384と多く、このすべてをワンチップのマイク
ロコンピュータ(以下マイコンという)により処理する
には負担が大きく、RAM容量が不足となる問題があっ
た。このため、画像アレイの撮像画像のすべてを用い
ず、その一部のみを検知領域として設定する必要があ
る。そしてこの検知領域は、撮像したのち撮像画像を計
算処理するため、複数の領域に区分する必要があり、マ
イコン側でその処理のためのソフトウエアーを組み込ん
でいた。
2. Description of the Related Art Conventionally, when a low-resolution detection sensor is used for detecting a human body, an image array of the sensor is 128 × 128.
= 16384, and processing all of this with a one-chip microcomputer (hereinafter referred to as a microcomputer) has a problem that the load is large and the RAM capacity is insufficient. For this reason, it is necessary to set only a part of the captured image of the image array as the detection area without using it. This detection area needs to be divided into a plurality of areas in order to calculate the captured image after capturing the image, and the microcomputer incorporates software for the processing.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、人体検
出装置を例えば浴室に取付けた場合には、浴槽の設置位
置あるいは浴室ドアの取り付け方向によって、平面から
見た浴室の形態が異なるために、浴室ドア、浴槽位置が
それぞれ異なる現場に見合うように複数のソフトウエア
ーを用意し、現場毎にソフトを組込んだマイクロコンピ
ュータを取り換える必要があった。また、各種のソフト
をマイコン内に内蔵させたとしても、その内の最適なソ
フトを現場に対応させて、切り換える必要があった。さ
らに、建築現場によっては予め準備したソフトでは対応
できない現場もあり、このような現場では直ちに設置で
きず、最適なソフトをプログラムして、後刻に人体検出
装置を再度設置し直さなければならない問題を有してい
た。
However, when the human body detecting device is installed in a bathroom, for example, the shape of the bathroom viewed from a plane differs depending on the installation position of the bathtub or the installation direction of the bathroom door. In addition, it was necessary to prepare a plurality of software so as to be suitable for different locations where bathtub positions were different, and to replace a microcomputer incorporating software for each location. Further, even if various kinds of software are built in the microcomputer, it is necessary to switch the most appropriate software in accordance with the site. Furthermore, there are some construction sites that cannot be dealt with with the software prepared in advance, and such a site cannot be installed immediately, and the problem is that the optimal software must be programmed and the human body detection device must be installed again later. Had.

【0004】本発明は上記問題に鑑み、パーソナルコン
ピュータ及びその画面を利用して、あらゆる設置現場に
対応することができる人体検出装置の検知領域設定方法
を提供することを課題とする。
SUMMARY OF THE INVENTION In view of the above problems, it is an object of the present invention to provide a method for setting a detection area of a human body detection device which can be used at any installation site by using a personal computer and its screen.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するため
に、本発明の人体検出装置の検知領域設定方法は、人体
の動きを検知する人体検出装置であって該人体検出装置
による検知領域を複数の領域に分割する領域分割手段を
設けたものにおいて、人体検出装置にフラッシュメモリ
等の記憶部を設けると共にパーソナルコンピュータを接
続し、人体検出装置から画像を取込みパーソナルコンピ
ュータの画面に表示する表示手段と、パーソナルコンピ
ュータにより検知領域を設定する設定手段と、設定した
検知領域を前記人体検出装置の記憶部に書込む書込手段
とを設けたことを第1の特徴としている。この第1の特
徴によれば、検知領域を複数に分割するためのソフトウ
エアの交換、切替えが不要となるのみならずあらゆる設
置現場において検知領域を設定することができたもので
ある。
In order to solve the above-mentioned problems, a method for setting a detection area of a human body detection device according to the present invention is a human body detection device for detecting the motion of a human body, and the detection area of the human body detection device is determined. Display means for providing a storage unit such as a flash memory in a human body detection device, connecting a personal computer, and taking an image from the human body detection device and displaying the image on a screen of the personal computer And a setting means for setting a detection area by a personal computer, and a writing means for writing the set detection area into a storage unit of the human body detection device. According to the first feature, it is not only necessary to replace and switch software for dividing the detection area into a plurality of parts, but also to set the detection area at any installation site.

【0006】さらに、本発明の請求項1に記載の人体検
出装置の検知領域設定方法は、人体検出装置による検知
領域を2から4の領域に分割する領域分割手段を設けた
ことを第2の特徴としている。この第2の特徴によれ
ば、上記の特徴に加え、領域毎に撮像画像の計算を行な
うことができ計算速度が迅速となり、しかも領域の設定
が素早く行なえる利点がある。5つ以上の分割ではかえ
って集計等に時間を要することとなる。
Further, the method for setting the detection area of the human body detecting device according to the first aspect of the present invention is characterized in that a region dividing means for dividing the detection region of the human body detecting device into two to four regions is provided. Features. According to the second feature, in addition to the above-described features, there is an advantage that the calculation of the captured image can be performed for each area, the calculation speed can be increased, and the area can be set quickly. In the case of five or more divisions, time is required for counting and the like.

【0007】さらに、本発明の請求項1から2に記載の
人体検出装置の検知領域設定方法は、上記人体検出装置
は浴室の天井に取り付けられていることを第3の特徴と
している。この第3の特徴によれば、上記の特徴に加
え、人体検出装置の設置ずれが生じてもパーソナルコン
ピュータの画面により修正を簡単に行なうことができ
る。
Further, the third aspect of the present invention is a method for setting a detection area of a human body detecting device, wherein the human body detecting device is mounted on a ceiling of a bathroom. According to the third feature, in addition to the above-described features, even if the displacement of the human body detecting device occurs, the correction can be easily performed on the screen of the personal computer.

【0008】さらに、本発明の請求項1から3に記載の
人体検出装置の検知領域設定方法は、上記人体検出装置
は低解像度の撮像装置から構成されていることを第4の
特徴としている。この第4の特徴によれば、上記の特徴
に加え、解像度合いが低くプライバシーが保護できると
共に検知領域の区画が迅速に行なえ、併せて画像処理の
ための計算も迅速に行なうことができる。
Further, the detection area setting method of the human body detecting device according to the first to third aspects of the present invention is characterized in that the human body detecting device is constituted by a low-resolution imaging device. According to the fourth feature, in addition to the above features, the resolution is low and privacy can be protected, the detection area can be divided quickly, and the calculation for image processing can be performed quickly.

【0009】[0009]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照しながら説明する。図1は本発明の人体検
出装置を浴室に設置した例を示す全体構成図である。図
2は本発明の一実施形態を示す天井側から見た人体検出
装置と検知領域との関係を示す説明図である。図3は本
発明の他実施形態を示すドア位置の異なる浴室における
人体検出装置と検知領域との関係を示す説明図である。
図4は本発明の一実施形態を示す電気回路のブロック図
である。図5は人体検出装置と熱源機とパーソナルコン
ピュータとの関係を示す説明図であり、図6は人体検出
装置の画像検出部の1画素を構成する画像コア回路の構
成を示す回路図である。図7は人体検出装置の撮像範囲
と検知範囲及び検知領域との関係を示す説明図である。
図8は検知領域の設定方法を示す説明図である。図9は
設定方法のフローチャートである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is an overall configuration diagram showing an example in which a human body detection device of the present invention is installed in a bathroom. FIG. 2 is an explanatory diagram showing the relationship between the human body detection device and the detection area viewed from the ceiling side according to one embodiment of the present invention. FIG. 3 is an explanatory diagram showing a relationship between a human body detection device and a detection area in a bathroom having different door positions according to another embodiment of the present invention.
FIG. 4 is a block diagram of an electric circuit showing one embodiment of the present invention. FIG. 5 is an explanatory diagram showing a relationship between the human body detection device, the heat source device, and the personal computer, and FIG. 6 is a circuit diagram showing a configuration of an image core circuit constituting one pixel of the image detection unit of the human body detection device. FIG. 7 is an explanatory diagram showing the relationship between the imaging range, the detection range, and the detection area of the human body detection device.
FIG. 8 is an explanatory diagram showing a method for setting a detection area. FIG. 9 is a flowchart of the setting method.

【0010】図1は本発明の人体検出装置を浴室に取付
けた実施形態を示すもので、浴室1を側方から見た断面
図であり、本発明の一実施形態の概略を示すものであっ
て、浴室1内部には浴槽2及び洗場3を設けてある。4
は浴室1への出入用のドアである。そして、浴室1の天
井には人体検出装置5が設置されている。浴室1がシス
テムバスルームの場合には保守点検上、天井に開口した
点検口に取り付けることが望ましい。天井の人体検知装
置5は、後述するような人工網膜を利用した撮像装置を
有している。
FIG. 1 shows an embodiment in which the human body detecting device of the present invention is attached to a bathroom. FIG. 1 is a cross-sectional view of the bathroom 1 as viewed from the side, and schematically shows one embodiment of the present invention. Further, a bathtub 2 and a washing place 3 are provided inside the bathroom 1. 4
Is a door for entering and exiting the bathroom 1. A human body detection device 5 is installed on the ceiling of the bathroom 1. When the bathroom 1 is a system bathroom, it is desirable to attach the bathroom 1 to an inspection port opened on the ceiling for maintenance and inspection. The human body detection device 5 on the ceiling has an imaging device using an artificial retina as described later.

【0011】人体検出装置5の出力は、図示しない信号
線を通じて浴室用リモコンや台所用リモコンへ接続され
る。そして、熱源機である給湯器を制御するリモコンに
は浴室1に入浴者がいることを知らせるランプ等の表示
部を有しており、人体検出装置5が入浴者を検知して信
号線から検知信号を出力すると表示部が点灯等するよう
になっている。
The output of the human body detection device 5 is connected to a bathroom remote control and a kitchen remote control through a signal line (not shown). The remote controller for controlling the water heater, which is a heat source unit, has a display unit such as a lamp for notifying that there is a bather in the bathroom 1, and the human body detection device 5 detects the bather and detects it from the signal line. When a signal is output, the display unit is turned on.

【0012】図4は人工網膜チップを利用した人体検出
装置5の構成を示したものであり、人体を検出すると共
に検出した画像を処理する撮像装置6と、撮像装置6に
制御信号を与えると共に処理情報を判定する制御装置7
とから構成されている。なお、人体検出装置5の他に図
示しない赤外線センサを設け、浴室1が暗い場合の監視
の補填を行なうようにしてもよい。
FIG. 4 shows a configuration of a human body detecting device 5 using an artificial retinal chip. The image capturing device 6 detects a human body and processes a detected image. Control device 7 for determining processing information
It is composed of In addition, an infrared sensor (not shown) may be provided in addition to the human body detection device 5 to supplement monitoring when the bathroom 1 is dark.

【0013】前記撮像装置6の撮像部8は、縦128×
横128画素のC−MOSアレイ等のうち、制御装置7
のマイクロコンピュータのRAM容量上縦32×横32
画素(=1024画素)からなる画像検出部9を設けて
いる。画素数が少なく、低解像度とすることで、プライ
バシーに配慮でき、演算速度も速くできる。また撮像部
8は、前記画像検出部9の他に結像レンズ10、スキャ
ナ11、マルチプレクサ12及びスキャナ駆動制御部1
3から構成されている。画像検出部9の画素はそれぞれ
モノクロ256階調「レベル0(黒)〜255(白)の
256階調」で表現される。
The image pickup section 8 of the image pickup device 6 has a length of 128 ×
Of the 128-pixel horizontal C-MOS array and the like, the controller 7
32x32 on RAM capacity of microcomputer
An image detection unit 9 including pixels (= 1024 pixels) is provided. With a small number of pixels and a low resolution, privacy can be considered and the calculation speed can be increased. The imaging unit 8 includes an imaging lens 10, a scanner 11, a multiplexer 12, and a scanner drive control unit 1 in addition to the image detection unit 9.
3 is comprised. Each pixel of the image detection unit 9 is represented by monochrome 256 gradations “256 gradations of level 0 (black) to 255 (white)”.

【0014】そして、撮像部8においては、浴室内の画
像は、結像レンズ10によって画像検出部9に結像され
る。スキャナ11は、スキャナ駆動制御部13によって
駆動制御されており、画像検出部9の各画素列を順次一
定周期毎に受光状態(オン状態)となるように制御して
いる。受光状態となった1列の各画素から同時に出力さ
れた光電流は、マルチプレクサ12によってアナログデ
ータからシリアルデータに変換され、増幅器14で増幅
された後、画像処理部15へ入力される。なお、アナロ
グデータからシリアルデータへの変換等は外部に設けた
制御装置7部あるいは別途設けたICにより行なっても
よい。また、画像検出部9の各画素は、図6に示すよう
に画素コア回路17によって構成されている。画素コア
回路17は受光素子18、電荷蓄積回路19、感度可変
回路20から構成されており、感度可変端子21及びリ
セット端子22がスキャナ11に接続され、光電流出力
端子23がマルチプレクサ12に接続されている。図4
においてゲイン調整部16は、画像処理部15における
画像平均値(画像の明るさ)をチェックし、画像平均値
が適切な範囲から外れていれば、増幅器14によって撮
像装置6のゲインを調整すると共にスキャナ駆動制御部
13によって画像検出部9の蓄積時間を調整し、適正な
明るさの画像が得られるように調光する。
In the image pickup section 8, an image in the bathroom is formed on the image detecting section 9 by the image forming lens 10. The drive of the scanner 11 is controlled by a scanner drive control unit 13, and controls each pixel row of the image detection unit 9 so as to sequentially enter a light receiving state (on state) at regular intervals. Photocurrents simultaneously output from the pixels in one column in the light receiving state are converted from analog data into serial data by the multiplexer 12, amplified by the amplifier 14, and then input to the image processing unit 15. The conversion from analog data to serial data and the like may be performed by an externally provided control unit 7 or an IC provided separately. Each pixel of the image detection unit 9 is configured by a pixel core circuit 17 as shown in FIG. The pixel core circuit 17 includes a light receiving element 18, a charge storage circuit 19, and a sensitivity variable circuit 20. The sensitivity variable terminal 21 and the reset terminal 22 are connected to the scanner 11, and the photocurrent output terminal 23 is connected to the multiplexer 12. ing. FIG.
In, the gain adjustment unit 16 checks the image average value (brightness of the image) in the image processing unit 15, and if the image average value is out of an appropriate range, adjusts the gain of the imaging device 6 with the amplifier 14 and The accumulation time of the image detection unit 9 is adjusted by the scanner drive control unit 13, and the light is adjusted so that an image with appropriate brightness is obtained.

【0015】人工網膜を用いた撮像装置6では、画像平
均値は、画像検出部9を構成する32×32個の全画素
における階調(0階調(黒)〜255階調(白)の25
6階調)の平均値であり、0〜255の値で表わさせ
る。この画像平均値は増幅器14のゲインと画像検出部
9の蓄積時間によって決定される。ここで、ゲインはカ
メラの絞りに相当し、蓄積時間はカメラのシャッタース
ピードに相当する。従って、撮像装置6の適正な画像平
均値を得ようとすれば、適当なゲインに固定しておき、
蓄積時間を調整すればよい。あるいは、適当な蓄積時間
を固定しておき、ゲインを調整すればよい。これによ
り、低画素ではあるがあたかも人の目のように機能す
る。
In the imaging device 6 using the artificial retina, the average value of the image is expressed by the gradation (0 gradation (black) to 255 gradation (white)) of all 32 × 32 pixels constituting the image detecting unit 9. 25
(6 gradations) and is represented by a value from 0 to 255. The average value of the image is determined by the gain of the amplifier 14 and the accumulation time of the image detector 9. Here, the gain corresponds to the aperture of the camera, and the accumulation time corresponds to the shutter speed of the camera. Therefore, in order to obtain an appropriate image average value of the imaging device 6, the gain is fixed to an appropriate gain,
The accumulation time may be adjusted. Alternatively, the gain may be adjusted by fixing an appropriate accumulation time. Thereby, although it is a low pixel, it functions like a human eye.

【0016】そして、図4において少なくとも撮像をお
こなう画像検出部9と画像処理を行なう画像処理部15
とは1チップで構成されている。このチップは人工網膜
チップと称される。また、このチップの裏面位置には、
制御装置7を設けてあり、制御装置7はマイクロコンピ
ュータから構成してある。図5は人体検出装置5と熱源
機40と検知領域設定用のパーソナルコンピュータ(以
下パソコンという)41との関係を示す説明図である。
図において人体検出装置5への駆動用の電源は給湯器等
の熱源機40から導入される。これにより別途の電気配
線が不要となる。また、人体検出装置5からの情報は前
述したように浴室1のリモコン42に報知される。さら
に、パソコン41と人体検出装置5とはコネクタ43に
よって接続されており、人体検出装置5による画像情報
を取込むようになっており、取込まれた撮像画像はパソ
コン41の表示画面44に表示するようになっている。
すなわち、図8に示されるように撮像装置により撮像さ
れた画像は、画像処理部15を経て、前述した制御装置
7を介して、パソコン41に取込まれ、表示画面44に
表示される。図において45は人体検出装置5から画像
を取込みパソコン画面に表示する表示手段、46は撮像
した画像に対して後述する画像情報処理のためのポイン
トテーブルを分割して検知領域を設定する設定手段、4
7は設定した検知領域を前記制御装置7の記憶部48に
書き込む書込手段であり、前記各手段はパソコン41に
ソフトウエアとして組み込まれている。記憶部48とし
ては、例えばフラッシュメモリ、EEPロム等を使用す
ればよい。
In FIG. 4, at least an image detecting section 9 for performing image capturing and an image processing section 15 for performing image processing.
Is composed of one chip. This chip is called an artificial retinal chip. Also, on the back side of this chip,
A control device 7 is provided, and the control device 7 is configured by a microcomputer. FIG. 5 is an explanatory diagram showing a relationship among the human body detection device 5, the heat source device 40, and a personal computer (hereinafter referred to as a personal computer) 41 for setting a detection area.
In the figure, a power supply for driving the human body detection device 5 is introduced from a heat source device 40 such as a water heater. This eliminates the need for separate electrical wiring. Further, information from the human body detection device 5 is notified to the remote controller 42 of the bathroom 1 as described above. Further, the personal computer 41 and the human body detection device 5 are connected by a connector 43 so as to capture image information from the human body detection device 5, and the captured image is displayed on a display screen 44 of the personal computer 41. It is supposed to.
That is, as shown in FIG. 8, the image captured by the imaging device is taken into the personal computer 41 via the image processing unit 15 and the control device 7 described above, and is displayed on the display screen 44. In the figure, reference numeral 45 denotes a display unit for capturing an image from the human body detection device 5 and displaying the image on a personal computer screen; 46, a setting unit for setting a detection area by dividing a point table for image information processing to be described later with respect to the captured image; 4
Reference numeral 7 denotes a writing unit that writes the set detection area into the storage unit 48 of the control device 7, and each of the units is incorporated in the personal computer 41 as software. As the storage unit 48, for example, a flash memory, an EEP ROM, or the like may be used.

【0017】次に、撮像装置8による撮像範囲と検知領
域及び検知領域の設定について説明する。ここに検知領
域の設定とは、画像処理部15に入力された画像情報を
処理するため制御装置7であるマイコン内のポイントテ
ーブル25を複数域に分割するものである。すなわち図
7に示すように、人体検出装置5による検出可能な撮像
能力範囲(ポイントテーブル25全体に相当)を、まず
画像処理の必要な検知領域26と、画像処理を行なわな
い非検知領域27とに区画する。すなわち、撮像能力範
囲のすべてを検知領域とはしていない。これにより検出
処理可能な検出処理領域のうちの一部を実際に検知して
処理する検知領域として使用することで画像の処理範囲
を限定して、画像処理の速度を早めている。具体的に
は、前記の検知領域26を、浴室の出入口側から順次連
続して出入口領域(1)28、出入口領域(2)29、
洗場領域30及び浴槽領域31の複数領域に分割したも
のである。分割に際しては、図9のフローチャートに示
されるように、人体検出装置5から浴室の画像を取込む
(ステップS1)。そしてその画像をパソコンの表示画
面に表示する(ステップS2)。次に、パソコン側にお
いて現場の実際の実画面を見ながらキーボードを操作し
て検知の必要なエリア(領域)を指定し、かつ、検知領
域を分割して設定していくのである(ステップS3)。
設定が終了すれば、設定結果をパソコン41から人体検
出装置5の記憶部48に書込むことで(ステップS
4)、検知領域の設定は終了するのである(ステップS
5)。以後、記憶部48に書込まれ保存されたソフトは
人体検出用の領域分割手段として、検知領域を複数の領
域に分割し、分割された領域毎に画像処理がなされるこ
ととなるのである。
Next, the setting of the imaging range, the detection area, and the detection area by the imaging device 8 will be described. Here, the setting of the detection area is to divide the point table 25 in the microcomputer which is the control device 7 into a plurality of areas for processing the image information input to the image processing unit 15. That is, as shown in FIG. 7, the imaging capability range detectable by the human body detection device 5 (corresponding to the entire point table 25) is divided into a detection area 26 requiring image processing and a non-detection area 27 not performing image processing. Partition into That is, the entire imaging capability range is not set as the detection area. As a result, a part of the detection processing area that can be detected is used as a detection area for actually detecting and processing, thereby limiting the processing range of the image and increasing the speed of the image processing. Specifically, the detection area 26 is sequentially formed from the entrance / exit side of the bathroom in an entrance / exit area (1) 28, an entrance / exit area (2) 29,
It is divided into a plurality of areas of a washing area 30 and a bathtub area 31. At the time of division, as shown in the flowchart of FIG. 9, the image of the bathroom is taken in from the human body detection device 5 (step S1). Then, the image is displayed on the display screen of the personal computer (step S2). Next, the user operates the keyboard to specify an area (area) that needs to be detected while viewing the actual actual screen at the site, and divides and sets the detection area (step S3). .
When the setting is completed, the setting result is written from the personal computer 41 to the storage unit 48 of the human body detecting device 5 (Step S).
4), the setting of the detection area ends (step S).
5). Thereafter, the software written and stored in the storage unit 48 divides the detection area into a plurality of areas as an area dividing unit for detecting a human body, and performs image processing for each of the divided areas.

【0018】このように、パソコン41によって人体検
出装置5の外部から画像検出処理に必要なソフトを、現
場毎に現場の状況に対応して、センサ側のマイコンに書
込むことで従来のような複数個のソフトを準備すること
がなくなった。そして、人体検出装置5を構成する結像
レンズ10と撮像装置6と制御装置7とは、1つのケー
スに納められ、人体検出センサセットとして浴室1の天
井に取り付けられる。
As described above, the software necessary for the image detection processing is written from the outside of the human body detecting device 5 by the personal computer 41 to the microcomputer on the sensor side in accordance with the situation of each site for each site. No more preparing multiple software. Then, the imaging lens 10, the imaging device 6, and the control device 7 constituting the human body detection device 5 are housed in one case, and attached to the ceiling of the bathroom 1 as a human body detection sensor set.

【0019】検知領域設定後において、撮像装置6によ
り検出した画像は次のように画像処理される。画像処理
部15は、画像検出部9を構成する全画素から画像情報
を一定時間毎に受信する一方、制御装置7から領域分割
手段24を介して各領域ごとの画像処理指令が出され
る。画像処理部15は、一定時間毎に画像情報を受け取
ると、該画像情報を各領域毎に処理し、判定手段32に
出力して入浴者の動きを監視するのである。
After setting the detection area, the image detected by the image pickup device 6 is subjected to image processing as follows. The image processing unit 15 receives image information from all the pixels constituting the image detecting unit 9 at regular intervals, and issues an image processing command for each area from the control unit 7 via the area dividing unit 24. When receiving the image information at regular intervals, the image processing unit 15 processes the image information for each area and outputs the processed information to the determination means 32 to monitor the movement of the bather.

【0020】具体的には、まず画像検出部9で検出した
一定時間前の画像(前画像)と現時点での画像(現画
像)との受光量の差(差分)を画像処理部15で演算す
る。差分が正の画素は+で表わし、負の画素は−で表わ
し、差が0の画素は0で表わす。対象物の動きは画像の
境界によって判定できるので、画像の境界の移動はそこ
での差分の正または負となって表れる。これにより画像
境界の移動の方向が推定される。そして差分の総和を見
ることで大まかな人の動きが把握される。
More specifically, first, the image processing unit 15 calculates the difference (difference) in the amount of received light between the image (previous image) a predetermined time earlier detected by the image detection unit 9 and the current image (current image). I do. Pixels having a positive difference are represented by +, negative pixels are represented by-, and pixels having a difference of 0 are represented by 0. Since the movement of the object can be determined based on the boundary of the image, the movement of the boundary of the image appears as a positive or negative difference there. Thereby, the moving direction of the image boundary is estimated. By looking at the sum of the differences, a rough movement of the person can be grasped.

【0021】また、上記解析方法を2次元の画像に適用
して、具体的には画素上の方向を縦方向、横方向、右上
がり斜め方向、右下がり斜め方向の4つに分けて、この
4つの方向毎に現画像と前画像との差分(スカラー)を
求めて、この差分の画像から各方向ごとの動きを判定
し、各方向の差分をベクトルとして表わすようにしても
よい。そして該画素とその周辺の3×3画素の差分ベク
トルを平均化することで(オプチカルフロー)、浴室に
おける人の存在や人の動きを検知することができる。
The above-described analysis method is applied to a two-dimensional image. Specifically, the direction on the pixel is divided into four directions of a vertical direction, a horizontal direction, a diagonally rising rightward, and a diagonally falling rightward. The difference (scalar) between the current image and the previous image may be obtained for each of the four directions, the motion in each direction may be determined from the difference image, and the difference in each direction may be represented as a vector. Then, by averaging the difference vector between the pixel and its surrounding 3 × 3 pixels (optical flow), it is possible to detect the presence or movement of a person in the bathroom.

【0022】次に、浴室1内に人がいるのか、照明のオ
ン、オフや太陽光などによる光量変化であるのか否かの
判別について説明する。図7に示すように人体検出装置
5の検知領域26は、出入口領域(1)28、出入口領
域(2)29、洗場領域30、浴槽領域31の4つのエ
リアに分けられ、各エリア毎に差分の総和若しくは動き
量を検知している。出入口領域(1)と(2)とは、合
わせて1つの領域としてもよい。ここで、動き量とは、
各領域28、29、30、31毎に各画素のオプチカル
フローのスカラー量を平均したもの(スカラー平均)、
もしくはスカラー量の和(スカラー和)である。そして、
各領域での動き量の差分量、すなわち ΔH1=|出入口領域(1)における動き量―出入口領
域(2)における動き量| ΔH2=|出入口領域(2)における動き量―洗場領域
における動き量| ΔH3=|洗場領域における動き量―浴槽領域における
動き量| ΔH4=|浴槽領域における動き量―出入口、洗場領域
における動き量| をそれぞれ求め、この差分量ΔH1〜ΔH4がいずれも
同じように所定の値で同時に変化する場合には、人の動
きではなく照明等による光量変化によるものと判断して
いる。一方、前記いずれかの領域に人がいる場合には、
一部の領域の動き量にのみ大きな変化が現れるので、特
定の領域における人の動きであると判別している。つま
り、センサによる画像の検知処理領域である検知領域2
6を複数に分割し、分割した複数の領域のそれぞれを演
算の対象とすることで、異質の変化(光量変化、人体検
出)に対応してそれぞれの変化を判別できるのである。
Next, a description will be given of a determination as to whether or not there is a person in the bathroom 1 or whether or not a change in the amount of light is caused by turning on / off the lighting or sunlight. As shown in FIG. 7, the detection area 26 of the human body detection device 5 is divided into four areas: an entrance / exit area (1) 28, an entrance / exit area (2) 29, a washroom area 30, and a bathtub area 31. The sum of the differences or the amount of motion is detected. The entrance / exit areas (1) and (2) may be combined into one area. Here, the amount of movement is
The average (scalar average) of the scalar amount of the optical flow of each pixel for each region 28, 29, 30, 31;
Or it is the sum of scalar quantities (scalar sum). And
ΔH1 = | the amount of movement in the entrance / exit area (1) −the amount of movement in the entrance / exit area (2) | ΔH2 = | the amount of movement in the entrance / exit area (2) −the amount of movement in the washroom area | ΔH3 = | movement amount in the wash basin area−movement amount in the bathtub area | ΔH4 = | motion amount in the bathtub area−motion amount in the entrance / exit area |, and the difference amounts ΔH1 to ΔH4 are the same. Are simultaneously changed by a predetermined value, it is determined that the change is due to a change in the amount of light due to illumination or the like, not to a motion of a person. On the other hand, if there is a person in any of the above areas,
Since a large change appears only in the motion amount of a part of the area, it is determined that the motion is a person's motion in a specific area. That is, the detection area 2 which is an image detection processing area by the sensor
6 is divided into a plurality of areas, and each of the plurality of divided areas is subjected to the calculation, whereby each change can be determined in response to a change in a different kind (a change in light amount, detection of a human body).

【0023】さらに、本発明では検知領域26のうち、
さらに出入口領域を2つに分けることで、出入口領域
(1)から出入口領域(2)にかけて大きな変化が表れ
ることによって入室と判別でき、また、出入口領域
(2)から出入口領域(1)にかけて大きな変化が表れ
ることによって退出と判別でき、入退出時の動き量の変
化を確実にとらえることができる。
Further, in the present invention, of the detection area 26,
Further, by dividing the entrance / exit area into two, a large change appears from the entrance / exit area (1) to the entrance / exit area (2), so that it is possible to determine that the room is an entrance. Appears, leaving can be determined, and a change in the amount of movement at the time of entering / leaving can be reliably detected.

【0024】特に、マイコンにより構成された制御装置
7には、そのソフトウエアとして、分割された各出入口
領域毎に走査する各域走査手段を組込むことで、一定時
間毎に各領域毎の画像情報を画像処理でき、各領域毎に
前記動き量を検知することが可能となり、画像処理を早
めることができる。
In particular, the control device 7 constituted by a microcomputer incorporates, as software, each area scanning means for scanning each of the divided entrance / exit areas, so that the image information of each area can be obtained at regular intervals. Can be image-processed, and the amount of motion can be detected for each region, so that image processing can be accelerated.

【0025】また、人体検出装置5の取り付けに関して
は、浴室1の天井であって、浴室1の出入口の巾と、出
入口部から見た洗場の奥行きの巾、すなわち洗場3の巾
とを等分した交点に取り付けることを推奨する。この位
置は標準的な浴室において出入口部である浴室ドア4か
ら洗場3、浴槽2にいたる浴室内の人の動きを単一のセ
ンサで監視できる最適位置であり、しかも出入口部をセ
ンサの検知領域に収めることができる位置であり、前記
領域分割手段24による出入口領域(1)28、出入口
領域(2)29、洗場領域30及び浴槽領域31をすべ
てその視野内に包含できる最適の取り付け位置である。
なお、本発明では人体検出装置5が左右にずれたとして
も、前述したように検知領域はパソコンにより簡単に調
整することができる。
As for the attachment of the human body detecting device 5, the width of the entrance of the bathroom 1, which is the ceiling of the bathroom 1, and the width of the depth of the washing room as viewed from the entrance, ie, the width of the washing room 3, are determined. It is recommended to install it at the equally divided intersection. This position is an optimal position where a single sensor can monitor the movement of a person in the bathroom from the bathroom door 4 which is the entrance to the washing room 3 to the bathtub 2 in a standard bathroom, and the entrance and exit are detected by the sensor. It is a position that can be accommodated in the area, and is an optimal mounting position where the entrance / exit area (1) 28, the entrance / exit area (2) 29, the washing area 30 and the bathtub area 31 can all be included in the field of view by the area dividing means 24. It is.
In the present invention, even if the human body detection device 5 is shifted left and right, the detection area can be easily adjusted by the personal computer as described above.

【0026】そして、ユニットバス等からなるシステム
バスルームの場合には、バスルームの天井にその点検用
の点検口が位置しており、この点検蓋である点検口に前
記人体検出装置5を取り付けることを推奨する。点検口
は取り付け、取り外しができるので、人体検出装置5の
設置、点検が容易に行なえるのみならず、最適取付け位
置の条件を満足するものである。
In the case of a system bathroom composed of a unit bath or the like, an inspection port for inspection is located on the ceiling of the bathroom, and the human body detecting device 5 is attached to the inspection port which is an inspection lid. It is recommended that Since the inspection opening can be attached and detached, not only the installation and inspection of the human body detection device 5 can be easily performed, but also the condition of the optimal installation position is satisfied.

【0027】なお、上述した実施形態は本発明の好適な
実施形態を示すものであって、本発明はこれに限定され
ることなく、その範囲内で各種設計変更可能である。例
えば、本実施形態ではシステムバスルームについて説明
したが、この例に限られることなく脱衣場、トイレ、廊
下に人体検出装置を設置して外部のパソコンからその検
知領域を設定しても良く、またシステムバスルーム以外
の既存の浴室にも設置できるものである。また、人体検
出装置による検知領域を4つに分割したが、2つあるい
は3つに分割してもよい。例えば、出入口領域とその他
領域の2つに分割しても良い。
The above-described embodiment shows a preferred embodiment of the present invention, and the present invention is not limited to this, and various design changes can be made within the scope. For example, in the present embodiment, the system bathroom has been described. However, without being limited to this example, a human body detection device may be installed in a dressing room, a toilet, a corridor, and the detection area may be set from an external personal computer. It can be installed in existing bathrooms other than the system bathroom. Further, the detection area by the human body detection device is divided into four, but may be divided into two or three. For example, it may be divided into an entrance area and another area.

【0028】[0028]

【発明の効果】本発明は以上の構成、作用からなり、請
求項1に記載の人体検出装置における検知領域設定方法
によれば、人体の動きを検知する人体検出装置であって
該人体検出装置による検知領域を複数の領域に分割する
領域分割手段を設けたものにおいて、人体検出装置にフ
ラッシュメモリ等の記憶部を設けると共にパーソナルコ
ンピュータを接続し、人体検出装置から画像を取込みパ
ーソナルコンピュータの画面に表示する表示手段と、パ
ーソナルコンピュータにより検知領域を設定する設定手
段と、設定した検知領域を前記人体検出装置の記憶部に
書込む書込手段とを設けたので、検知領域を複数に分割
するためのソフトウエアの交換、切替えが不要となるの
みならずあらゆる設置現場において検知領域を設定する
ことができたものである。また、本発明の人体検出装置
における検知領域設定方法によれば、人体検出装置によ
る検知領域を2から4の領域に分割する領域分割手段を
設けたので、領域毎に撮像画像の計算を行なうことがで
き計算速度が迅速となり、しかも領域の設定が素早く行
なえる利点がある。5つ以上の分割ではかえって集計等
に時間を要することとなる。また、本発明の人体検出装
置における検知領域設定方法によれば、上記人体検出装
置は浴室の天井に取り付けられているので、人体検出装
置の設置ずれが生じてもパーソナルコンピュータの画面
により修正を簡単に行なうことができる。また、本発明
の人体検出装置における検知領域設定方法によれば、上
記人体検出装置は低解像度の撮像装置から構成されてい
るので、解像度合いが低くプライバシーが保護できると
共に検知領域の区画が迅速に行なえ、併せて画像処理の
ための計算も迅速に行なうことができる。
According to the first aspect of the present invention, there is provided a human body detecting apparatus for detecting a movement of a human body, the apparatus comprising: Provided with a region dividing means for dividing the detection region into a plurality of regions, a storage unit such as a flash memory is provided in the human body detection device, a personal computer is connected, and an image is taken from the human body detection device and displayed on the screen of the personal computer. A display means for displaying, a setting means for setting a detection area by a personal computer, and a writing means for writing the set detection area in the storage unit of the human body detecting device are provided, so that the detection area is divided into a plurality of parts. Not only eliminates the need for software replacement and switching, but also allows the detection area to be set at any installation site A. Further, according to the detection area setting method in the human body detection device of the present invention, since the area division means for dividing the detection area by the human body detection apparatus into two to four areas is provided, it is possible to calculate a captured image for each area. Therefore, there is an advantage that the calculation speed can be increased and the area can be set quickly. In the case of five or more divisions, time is required for counting and the like. According to the detection area setting method in the human body detection device of the present invention, since the human body detection device is mounted on the ceiling of the bathroom, even if the human body detection device is misplaced, the correction can be easily performed by the screen of the personal computer. Can be performed. Further, according to the detection area setting method in the human body detection apparatus of the present invention, since the human body detection apparatus is constituted by a low-resolution imaging device, the resolution is low and privacy can be protected, and the division of the detection area can be quickly performed. In addition, calculations for image processing can be performed quickly.

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

【図1】図1は本発明の人体検出装置を浴室に設置した
例を示す全体構成図である。
FIG. 1 is an overall configuration diagram showing an example in which a human body detection device of the present invention is installed in a bathroom.

【図2】図2は本発明の一実施形態を示す天井側から見
た人体検出装置と検知領域との関係を示す説明図であ
る。
FIG. 2 is an explanatory diagram illustrating a relationship between a human body detection device and a detection area viewed from a ceiling side according to an embodiment of the present invention.

【図3】図3は本発明の他実施形態を示すドア位置の異
なる浴室における人体検出装置と検知領域との関係を示
す説明図である。
FIG. 3 is an explanatory diagram showing a relationship between a human body detection device and a detection area in bathrooms having different door positions according to another embodiment of the present invention.

【図4】図4は本発明の一実施形態を示す電気回路のブ
ロック図である。
FIG. 4 is a block diagram of an electric circuit showing one embodiment of the present invention.

【図5】図5は人体検出装置と熱源機とパーソナルコン
ピュータとの関係を示す説明図である。
FIG. 5 is an explanatory diagram illustrating a relationship among a human body detection device, a heat source device, and a personal computer.

【図6】図6は人体検出装置の画像検出部の1画素を構
成する画像コア回路の構成を示す回路図である。
FIG. 6 is a circuit diagram showing a configuration of an image core circuit forming one pixel of an image detection unit of the human body detection device.

【図7】図7は人体検出装置の撮像範囲と検知範囲及び
検知領域との関係を示す説明図である。
FIG. 7 is an explanatory diagram illustrating a relationship between an imaging range, a detection range, and a detection area of the human body detection device.

【図8】図8は検知領域の設定方法を示す説明図であ
る。
FIG. 8 is an explanatory diagram showing a method of setting a detection area.

【図9】図9は設定方法のフローチャートである。FIG. 9 is a flowchart of a setting method.

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

1 浴室 2 浴槽 3 洗場 4 ドア 5 人体検出装置 6 撮像装置 7 制御装置 9 画像検出部 15 画像処理部 17 画像コア回路 24 領域分割手段 26 検知領域 28 出入口領域(1) 29 出入口領域(2) 30 洗場領域 31 浴槽領域 32 判定手段 41 パーソナルコンピュータ 45 表示手段 46 設定手段 47 書込手段 DESCRIPTION OF SYMBOLS 1 Bathroom 2 Bathtub 3 Washing place 4 Door 5 Human body detection device 6 Imaging device 7 Control device 9 Image detection part 15 Image processing part 17 Image core circuit 24 Area division means 26 Detection area 28 Doorway area (1) 29 Doorway area (2) Reference Signs List 30 Washing area 31 Bath area 32 Judging means 41 Personal computer 45 Display means 46 Setting means 47 Writing means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 人体の動きを検知する人体検出装置であ
って該人体検出装置による検知領域を複数の領域に分割
する領域分割手段を設けたものにおいて、人体検出装置
にフラッシュメモリ等の記憶部を設けると共にパーソナ
ルコンピュータを接続し、人体検出装置から画像を取込
みパーソナルコンピュータの画面に表示する表示手段
と、パーソナルコンピュータにより検知領域を設定する
設定手段と、設定した検知領域を前記人体検出装置の記
憶部に書込む書込手段とを設けたことを特徴とする人体
検出装置における検知領域設定方法。
1. A human body detecting device for detecting a motion of a human body, wherein a region dividing means for dividing a detection area by the human body detecting device into a plurality of regions is provided. Display means for connecting a personal computer, capturing an image from the human body detection device and displaying the image on the screen of the personal computer, setting means for setting a detection area by the personal computer, and storing the set detection area in the human body detection device. And a writing means for writing to a part of the human body detecting device.
【請求項2】 人体検出装置による検知領域を2から4
の領域に分割する領域分割手段を設けたことを特徴とす
る請求項1に記載の人体検出装置における検知領域設定
方法。
2. The detection area of the human body detecting device is 2 to 4
2. The detection area setting method in the human body detection device according to claim 1, further comprising an area dividing unit that divides the area into a plurality of areas.
【請求項3】 上記人体検出装置は浴室の天井に取り付
けられていることを特徴とする請求項1から2に記載の
人体検出装置における検知領域設定方法。
3. The method according to claim 1, wherein the human body detecting device is mounted on a ceiling of a bathroom.
【請求項4】 上記人体検出装置は低解像度の撮像装置
から構成されていることを特徴とする請求項1から3に
記載の人体検出装置における検知領域設定方法。
4. The method according to claim 1, wherein the human body detection device comprises a low-resolution imaging device.
JP2000156077A 2000-05-26 2000-05-26 Detection area setting method for human body detector Pending JP2001338283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000156077A JP2001338283A (en) 2000-05-26 2000-05-26 Detection area setting method for human body detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000156077A JP2001338283A (en) 2000-05-26 2000-05-26 Detection area setting method for human body detector

Publications (1)

Publication Number Publication Date
JP2001338283A true JP2001338283A (en) 2001-12-07

Family

ID=18660916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000156077A Pending JP2001338283A (en) 2000-05-26 2000-05-26 Detection area setting method for human body detector

Country Status (1)

Country Link
JP (1) JP2001338283A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114495154A (en) * 2021-12-30 2022-05-13 北京城市网邻信息技术有限公司 Human body detection method, device and apparatus in panorama and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114495154A (en) * 2021-12-30 2022-05-13 北京城市网邻信息技术有限公司 Human body detection method, device and apparatus in panorama and storage medium

Similar Documents

Publication Publication Date Title
JP5895426B2 (en) Display device
JP2001338283A (en) Detection area setting method for human body detector
JP3904106B2 (en) Human body detection device
JP3932782B2 (en) Room monitoring equipment
JP2002081667A (en) Bathroom heater
JP4003398B2 (en) bathroom
JP3747457B2 (en) bathroom
JP2001351097A (en) Human body detecting device
JP2001351106A (en) Human body detection device
JP3902431B2 (en) bathroom
JP2002303681A (en) Human body detector
JP2004108789A (en) Human body detector
JP2001299622A (en) Bathroom equipment
JP2001311549A (en) Water heater
JP2004053456A (en) Human body detector
JP2003037839A (en) Human body detector
JP4096752B2 (en) Human detection device
JP2001299620A (en) Bathroom
JP3965943B2 (en) Human body detection device
JP2001317111A (en) Lavatory
JP3747459B2 (en) Human body detection device
JP2002031689A (en) Human body detection sensor
JP3968630B2 (en) bathroom
JP2002028096A (en) Human body detecting method in bathroom
JP2002074372A (en) Room monitoring device