JPH0574880B2 - - Google Patents
Info
- Publication number
- JPH0574880B2 JPH0574880B2 JP10059686A JP10059686A JPH0574880B2 JP H0574880 B2 JPH0574880 B2 JP H0574880B2 JP 10059686 A JP10059686 A JP 10059686A JP 10059686 A JP10059686 A JP 10059686A JP H0574880 B2 JPH0574880 B2 JP H0574880B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- light
- line
- monitoring
- block
- 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.)
- Expired - Fee Related
Links
Landscapes
- Geophysics And Detection Of Objects (AREA)
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、CCDセンサ等の蓄積型光検出器に
より移動体が監視面を通過した数、例えば建物等
に入出する人の数を計測して表示する移動体量計
測装置に関する。[Detailed Description of the Invention] (Industrial Application Field) The present invention measures the number of moving objects passing through a monitoring surface, for example, the number of people entering and exiting a building, etc. using a storage type photodetector such as a CCD sensor. The present invention relates to a moving body amount measuring device that displays a moving body amount.
(従来技術)
従来、例えば建物等に出入りする人の数を自動
的に計測する装置としては、例えば光ビームを使
用した光電スイツチ装置、レテビカメラの映像を
利用した装置あるいは床マツトにスイツチを組み
込んだ所謂マツトセンサを利用した装置等が知ら
れている。(Prior art) Conventionally, devices that automatically measure the number of people entering and exiting a building, etc. have been, for example, a photoelectric switch device that uses a light beam, a device that uses video from a TV camera, or a switch built into a floor mat. Devices using so-called pine sensors are known.
(発明が解決しようとする問題点)
しかしながら、光ビーム方式にあつては複数の
人が横に並んで通過したときの判別ができず、ま
た、テレビカメラ方式にあつてはカメラ映像から
通過する人の映像をパターン認識する技術が複雑
で装置が高価となり、更にマツトセンサでは機械
的なスイツチ作動による検出であることから耐久
性に問題があつた。(Problems to be solved by the invention) However, in the case of the light beam method, it is not possible to distinguish when multiple people pass side by side, and in the case of the television camera method, it is impossible to distinguish when multiple people pass by from the camera image. The technology for pattern recognition of human images is complicated and the equipment is expensive, and the matt sensor has problems with durability because detection is based on mechanical switch operation.
(問題点を解決するための手段)
本発明は、このような従来の問題点に鑑みてな
されたもので、通過移動体、例えば人数の判別が
正確にできると共に装置構成も簡単でコスト的に
安価であり、更に移動体の通過に対し充分な輝度
変化を得て高速処理ができるようにした移動体量
計測装置を提供することを目的とする。(Means for Solving the Problems) The present invention has been made in view of the above-mentioned conventional problems, and it is possible to accurately determine the number of passing moving objects, for example, the number of people, and the device configuration is simple and cost-effective. It is an object of the present invention to provide a moving object amount measuring device which is inexpensive, and is capable of obtaining sufficient luminance changes as the moving object passes, and is capable of high-speed processing.
この目的を達成するため本発明にあつては、監
視面上を通過する移動体を、移動体の移動方向に
対して上面または下面から監視する監視面の輝度
変化を監視する複数の受光画素を直線配列してな
る蓄積型光検出器により検出し、この蓄積型光検
出器が検出した受光情報に基づいて移動体の数を
判別するようにし、更に前記監視面に監視ライン
を形成する蛍光灯等の光源を埋設し、この光源か
ら前記蓄積型光検出器に入射する光を移動体の通
過部位で遮つて充分な輝度変化が得られるように
したものである。 In order to achieve this object, the present invention includes a plurality of light-receiving pixels that monitor changes in the brightness of a monitoring surface that monitors a moving object passing over the monitoring surface from the top or bottom in the moving direction of the moving object. A fluorescent lamp is configured to detect by storage type photodetectors arranged in a straight line, determine the number of moving objects based on light reception information detected by the storage type photodetectors, and further form a monitoring line on the monitoring surface. A light source such as the above is buried, and the light from the light source that enters the storage type photodetector is blocked at a portion through which the moving body passes, thereby obtaining a sufficient change in brightness.
(実施例)
第1図は本発明の一実施例を示したブロツク図
である。(Embodiment) FIG. 1 is a block diagram showing an embodiment of the present invention.
まず構成を説明すると、1及び2は蓄積型光検
出器としての電荷結合デバイス(以下「CCDセ
ンサ」という)であり、第2図に示すように複数
の受光画素3a〜3nを直線的に配列した構造を
持ち、各受光画素に光が当たると読出しタイミン
グで定まる一定の蓄積時間(露光時間)にわたる
入射光の積分量に比例した蓄積電荷を得ることが
できる。 First, to explain the configuration, 1 and 2 are charge-coupled devices (hereinafter referred to as "CCD sensors") as storage type photodetectors, and as shown in FIG. 2, a plurality of light receiving pixels 3a to 3n are linearly arranged. With this structure, when light hits each light-receiving pixel, it is possible to obtain an accumulated charge proportional to the integral amount of incident light over a certain accumulation time (exposure time) determined by the readout timing.
このような構造を持つCCDセンサ1,2につ
いて本発明にあつては、受光データに基づく通行
量の演算処理に使用するデータとして全ての受光
データを使用せず、第2図に斜線部で示すように
例えば4つ置きの受光データA1,A5,……
An−1及びB2,B6,……Bnを受光データを
記憶したメモリからジヤンピングアドレスの指定
で読出して演算処理を実行するようにしている。 Regarding the CCD sensors 1 and 2 having such a structure, in the present invention, all received light data is not used as data used for calculation processing of traffic volume based on received light data, and is shown in the shaded area in Fig. 2. For example, every fourth received light data A1, A5,...
An-1, B2, B6, . . . Bn are read out from the memory storing the received light data by specifying the jumping address and arithmetic processing is executed.
更に一例を具体的に説明するならば、例えば
CCDセンサ1,2としては、2048個の受光画素
を直線配列したものを使用し、16個置きの受光デ
ータを読出してデータ処理を行なう。ここで後の
説明で明らかにする光学系の構成によつてCCD
センサに結ばれる受光画素1つ当りの監視面上の
監視長さが0.25cmであつたとすると、16個置きの
受光データを読込むことは、監視面上で4cmごと
受光データをメモリから読込んでデータ処理を行
なうことを意味する。 To explain one example more specifically, for example,
As the CCD sensors 1 and 2, 2048 light-receiving pixels arranged in a straight line are used, and the light-receiving data of every 16 pixels is read out and data processing is performed. Here, CCD
Assuming that the monitoring length on the monitoring surface for each light-receiving pixel connected to the sensor is 0.25 cm, reading the light-receiving data every 16 pixels means reading the light-receiving data every 4 cm from the memory on the monitoring surface. It means to perform data processing.
このように直線配列された受光画素から得られ
た受光データのうち、一定間隔毎に置いて読出し
た受光データをデータ処理することで、1ライン
当りの画素数が多くても高速データ処理が可能と
なる。 By data processing the light reception data read out at regular intervals among the light reception data obtained from the light reception pixels arranged in a straight line in this way, high-speed data processing is possible even when the number of pixels per line is large. becomes.
尚、受光画素に対応したデータ処理に使用する
受光データの密度は、例えば移動体を人とした場
合、人の通過を検出できる範囲内で決定され、且
つ人を検出できる範囲内で可変することができ
る。 Note that the density of the light reception data used for data processing corresponding to the light reception pixels is determined within the range where the passing of a person can be detected, for example, when the moving object is a person, and is variable within the range where the person can be detected. I can do it.
この2台のCCDセンサを使用した本発明の監
視面の構造及び検出光学系は、第3図に示すよう
になる。 The structure of the monitoring surface and the detection optical system of the present invention using these two CCD sensors are shown in FIG.
第3図において、例えば検出対象となる移動体
として人の通過を例にとると、建物の玄関口等の
床面(監視面)4には2本の光源設置溝102
a,102bが形成され、この光源設置溝102
a、102bの中に蛍光灯106を上向きに複数
本長手方向に並べて設置し、蛍光灯106の上部
となる溝開口部にはガラス等でなる保護カバー1
08a,108bを設けている。 In FIG. 3, for example, if a person is passing by as a moving object to be detected, there are two light source installation grooves 102 in the floor surface (monitoring surface) 4 of the entrance of a building, etc.
a, 102b are formed, and this light source installation groove 102
A, 102b are provided with a plurality of fluorescent lamps 106 arranged vertically facing upward, and a protective cover 1 made of glass or the like is placed in the groove opening at the top of the fluorescent lamps 106.
08a and 108b are provided.
光源設置溝102a,102bは第4図bに保
護カバーを取外して示すように、複数本の蛍光灯
106を長手方向に並べて光源として組み込んで
おり、また溝開口部に設けられる保護カバー10
8a,108bは第4図aに示すように、斜線部
で示す遮光部により監視ラインA,Bを形成する
透明又は乳白色の透過窓110a,110bを備
えており、透過窓110a,110bで定まるラ
イン光源を形成している。再び第3図を参照する
に、床面4に設けたライン光源でなる2本の監視
ラインA,Bの影像は、人が通過する移動方向に
対して上面より反射ミラー5で反射して集光レン
ズ6に入射し、監視ラインAの映像については集
光レンズ6からハーフミラー7で反射してCCD
センサ1に像を結ばせ、一方、監視ラインBにつ
いては集光レンズ6からハーフミラー7を透過し
てCCDセンサ2に像を結ばせる。このような光
学系により、監視ラインA,BはCCDセンサ1,
2における受光画素1つ当りにつき例えばライン
上で0.25cmの像が縮小されて結像される。 As shown in FIG. 4b with the protective cover removed, the light source installation grooves 102a and 102b incorporate a plurality of fluorescent lamps 106 arranged in the longitudinal direction as light sources, and the protective cover 10 provided in the groove opening
8a and 108b are equipped with transparent or milky-white transmission windows 110a and 110b that form monitoring lines A and B by means of shaded areas shown in FIG. 4a, and the lines defined by the transmission windows 110a and 110b forming a light source. Referring again to FIG. 3, the images of the two monitoring lines A and B formed by the line light source provided on the floor surface 4 are reflected from the upper surface by the reflecting mirror 5 and collected in the direction of movement in which the person passes. The image of the monitoring line A enters the optical lens 6, and is reflected from the condensing lens 6 by the half mirror 7 and sent to the CCD.
An image is formed on the sensor 1, while an image of the monitoring line B is formed on the CCD sensor 2 through a condenser lens 6 and a half mirror 7. With such an optical system, the monitoring lines A and B are connected to the CCD sensor 1,
For each light-receiving pixel in 2, a 0.25 cm image is reduced and formed on a line, for example.
一方、第4図に平面的に示したライン光源でな
る監視ランイA,Bは、この実施例では一例とし
て建物の外側に監視ラインAを設置し、建物の内
側に監視ラインBを設置している。ここで平行に
形成された監視ラインAとBの間隔Dは、移動体
の大きさによつて定められ、例えば移動体を人と
した場合D=10cm程度に定められる。また、監視
ラインA,Bの横幅Wは出入口の大きさによつて
決まる。 On the other hand, in this embodiment, as an example, monitoring lines A and B consisting of line light sources shown in plan in FIG. 4 are installed with monitoring line A installed outside the building and monitoring line B installed inside the building. There is. Here, the distance D between the parallel monitoring lines A and B is determined depending on the size of the moving object, and for example, when the moving object is a person, D=about 10 cm. Further, the width W of the monitoring lines A and B is determined by the size of the entrance/exit.
移動体を人としたときに監視ラインAとBの間
隔Dを10cm程度とする理由は、次の通りである。 The reason why the distance D between the monitoring lines A and B is set to about 10 cm when the moving object is a person is as follows.
まず計測対象となる人は2点鎖線に示すよう
に、その肩幅H1が統計的にH1=40cm程度であ
り、その分散は20〜60cmとなる。また、胸の厚さ
H2はH2=10〜24cmの範囲に分散している。従つ
て、2本の監視ラインAとBを通あするときの輝
度変化を検出して通行量を判別するためには、胸
の厚さH2に基づいて略100%に近い計測可能な確
率を得られるライン間隔Dを求めるとD=9.64cm
となり、実用上はD=10cm前後に定めれば良い。 First, the shoulder width H1 of the person to be measured is statistically about 40 cm, as shown by the two-dot chain line, and the variance thereof is 20 to 60 cm. Also, the thickness of the chest
H2 is distributed in the range of H2 = 10 to 24 cm. Therefore, in order to determine the amount of traffic by detecting the change in brightness when passing through the two monitoring lines A and B, it is necessary to estimate a measurable probability close to 100% based on the chest thickness H2. Calculating the resulting line spacing D = 9.64cm
Therefore, in practice, it is sufficient to set D = around 10 cm.
次に第2図に示したCCDセンサ1,2の蓄積
時間、即ち露光時間は人が移動するときの速度を
統計的に求め、その最も速い移動速度VがV=
2.19m/sあることからライン間隔D=9.64cmと
したときのライン通過時間は44msとなる。従つ
て、この通過時間中で2回のデータをサンプリン
グするとすれば22msとなり、この程度の蓄積時
間が確保できれば、人が通過したときも監視ライ
ンの輝度変化による光電荷の蓄積を充分に行なう
ことができ、蓄積型光検出器としてのCCDセン
サによる人の通過検出ができる。 Next, the accumulation time of the CCD sensors 1 and 2 shown in FIG.
Since the speed is 2.19 m/s, the line passing time is 44 ms when the line spacing D is 9.64 cm. Therefore, if data is sampled twice during this passing time, it will be 22ms, and if this amount of accumulation time can be secured, sufficient photoelectric charge will be accumulated due to changes in the brightness of the monitoring line even when a person passes by. It is possible to detect people passing by using a CCD sensor as a storage type photodetector.
尚、監視ラインAとBは、蛍光灯等の光源を備
えていることから、人の通過がない通常の監視状
態ではCCDセンサに入射するライン映像は最大
輝度となり、人の通過により監視ラインの輝度が
大きく低下し、この輝度の低下に伴う受光データ
の変化から人の通過を判別する。 Furthermore, since monitoring lines A and B are equipped with light sources such as fluorescent lights, the line images incident on the CCD sensor are at maximum brightness under normal monitoring conditions with no people passing by, and the line images entering the CCD sensor are at maximum brightness when a person passes by. The brightness decreases significantly, and the passage of a person is determined from the change in received light data accompanying this decrease in brightness.
再び第1図を参照するに、CCDセンサ1,2
はCCD駆動回路8からの転送クロツクを受けて
一定の蓄積時間毎に受光信号を出力しており、転
送クロツクは監視ラインの間隔DをD=10cmとし
たとき、この間を人が通過した時間内で最低2回
のデータをサンプリングすること及び光源の発光
波形との同期をとることとの条件から50Hz地域で
は20ms、60Hz地域では16.7msの蓄積露光時間毎
に、CCDセンサの受光画素に蓄積された蓄積電
荷を受光信号として読出すようになる。 Referring to Figure 1 again, CCD sensors 1 and 2
receives a transfer clock from the CCD drive circuit 8 and outputs a light reception signal at fixed accumulation time intervals, and the transfer clock outputs a light reception signal at fixed accumulation time intervals, and when the interval D between the monitoring lines is 10 cm, the transfer clock is output within the time period during which a person passes between the monitoring lines. Due to the conditions of sampling data at least twice and synchronizing with the light emission waveform of the light source, the data is accumulated in the light receiving pixel of the CCD sensor every 20 ms in the 50 Hz region and 16.7 ms in the 60 Hz region. The accumulated charge is then read out as a light reception signal.
CCDセンサ1,2の出力は、A/D変換器9
a,9bのそれぞれで受光レベルに応じたデジタ
ル信号に変換され、マルチプレクサ10に与えら
れる。 The outputs of the CCD sensors 1 and 2 are sent to the A/D converter 9.
The signals a and 9b are converted into digital signals according to the received light level, and are provided to the multiplexer 10.
ここでCCDセンサ1,2は、例えば2048個の
受光画素を備えていることから、1台毎に順次読
出した場合には読出し時間が長くなるため、A/
D変換器9a,9bを2系統を設け、並列的に受
光信号を読出して高速処理を可能にしている。 Here, since the CCD sensors 1 and 2 are equipped with, for example, 2048 light-receiving pixels, the readout time will be longer if the CCD sensors 1 and 2 are read out one after another.
Two systems of D converters 9a and 9b are provided, and the received light signals are read out in parallel to enable high-speed processing.
マルチプレクサ10に続いては、受光データに
背景処理を施すための背景処理回路11及び
RAM12a,12bが設けられる。 Following the multiplexer 10, there is a background processing circuit 11 for performing background processing on the received light data.
RAMs 12a and 12b are provided.
RAM12aには、監視ラインA,B上に人の
通過がない定常状態で得られたAライン及びBラ
インの受光データが書込まれ、この書込まれた受
光データが背景処理回路11に対する背景処理変
換のための背景基準データとして使用される。背
景処理回路11はRAM12aに記憶された背景
基準データからマルチプレクサ10を介してリア
ルタイムで得られる受光データを差し引いて、背
景の影響を受けない受光データを作り出す。この
受光データの背景処理は、受光画素に対応した受
光データ1つ1つについて、リアルタイム処理に
より行なわれる。 The light reception data of the A line and the B line obtained in a steady state with no people passing on the monitoring lines A and B are written in the RAM 12a, and this written light reception data is used for background processing by the background processing circuit 11. Used as background reference data for conversion. The background processing circuit 11 subtracts the received light data obtained in real time via the multiplexer 10 from the background reference data stored in the RAM 12a to create received light data that is not affected by the background. This background processing of the light reception data is performed in real time for each light reception data corresponding to the light reception pixel.
一方、背景基準データの記憶に使用されていな
い他方のRAM12bに対してはマルチプレクサ
10を介して受光データの書込みがリアルタイム
で行なわれており、必要に応じてRAM12bか
ら12aに切換えることで背景基準データのリフ
レツシユができるようにしている。 On the other hand, light reception data is written in real time to the other RAM 12b, which is not used for storing background reference data, via the multiplexer 10, and background reference data can be written by switching from RAM 12b to RAM 12a as necessary. We are making it possible to refresh.
背景処理回路11で背景処理が施された受光デ
ータは、ゲート回路13を介してバツフアメモリ
14aまたは14bに書込まれる。バツフアメモ
リ14a,14bは、ゲート回路15を介して通
行量計測のための演算処理を実行する演算処理部
16に接続される。 The received light data subjected to background processing by the background processing circuit 11 is written to the buffer memory 14a or 14b via the gate circuit 13. The buffer memories 14a and 14b are connected via a gate circuit 15 to an arithmetic processing unit 16 that executes arithmetic processing for measuring the amount of traffic.
ここでバツフアメモリ14a,14bの2台を
設ける理由は、一方のバツフアメモリ例えばバツ
フアメモリ14aにゲート回路13を介して受光
データの書込みを行なつているときは、他方のバ
ツフアメモリ14bをゲート回路15を介して演
算処理部16に接続し、バツフアメモリ14bに
既に記憶されている受光データを演算処理部16
が読込んでデータ処理を行なう。 The reason why two buffer memories 14a and 14b are provided here is that when writing received light data into one buffer memory, for example, the buffer memory 14a, via the gate circuit 13, the other buffer memory 14b is written via the gate circuit 15. It is connected to the arithmetic processing unit 16, and the light reception data already stored in the buffer memory 14b is transferred to the arithmetic processing unit 16.
reads and processes the data.
このように一方のバツフアメモリの書込み中
に、他方のバツフアメモリのデータを演算処理す
ることで、CCDセンサ側と演算処理部16側と
のタイミング合せが不要となり、CCDセンサ1,
2からの受光データの転送と演算処理部16によ
るデータ処理を独立させることができる。 In this way, by processing data in one buffer memory while writing data in the other buffer memory, timing alignment between the CCD sensor side and the arithmetic processing section 16 side becomes unnecessary, and the CCD sensor 1,
The transfer of the light reception data from 2 and the data processing by the arithmetic processing unit 16 can be made independent.
演算処理部16は、例えばCPUによるプログ
ラム制御で実行され、ゲート回路15で選択して
いるいずれか一方のバツフアメモリ14aまたは
14bに記憶している受光データを読込んで、通
行量計測のための演算処理を行なう。この演算処
理部16による演算処理は、第5図にジエネラル
フローに示す処理内容を持つ。 The arithmetic processing unit 16 is executed under program control by a CPU, for example, and reads the received light data stored in either one of the buffer memories 14a or 14b selected by the gate circuit 15, and performs arithmetic processing for measuring the amount of traffic. Do this. The arithmetic processing by the arithmetic processing unit 16 has the processing contents shown in the general flow in FIG.
まずバツフアメモリ14aまたは14bからの
データの読込みは第2図に示したように、予め設
定した一定間隔毎に間を置いた受光データを読込
んでデータ処理を行なう。このようなデータ処理
は、バツフアメモリに対するジヤンピングアドレ
スの指定方式で実現することができる。 First, data is read from the buffer memory 14a or 14b, as shown in FIG. 2, by reading received light data at preset regular intervals and performing data processing. Such data processing can be realized by specifying a jumping address for the buffer memory.
演算処理部16はゲート回路15を介して入力
するバツフアメモリ14aまたは14bからの受
光データに基づき、まずブロツク18に示すよう
にAラインのデータを読込み、そのデータ変化を
検出する。続いてブロツク19でBラインのデー
タの読込みに切換え、そのデータ変化を検出す
る。ブロツク18,19におけるデータ変化の検
出については、同時にデータ変化を生じたライン
位置も検出する。 Based on the received light data from the buffer memory 14a or 14b input via the gate circuit 15, the arithmetic processing section 16 first reads the data on the A line as shown in block 18, and detects changes in the data. Subsequently, in block 19, a switch is made to reading data on the B line, and a change in the data is detected. Regarding the detection of data changes in blocks 18 and 19, the line position where the data change occurred is also detected at the same time.
続いてブロツク20でAライン及びBラインの
データ変化から第6図に示す監視ラインA,Bを
人が通過したときのパターンを判別する。 Subsequently, in block 20, a pattern when a person passes through monitoring lines A and B shown in FIG. 6 is determined from changes in data on lines A and B.
第6図では、監視ラインA,Bに対し、出入口
の外側に位置する監視ラインA側から人が入つて
きたときの時間変化を時刻t1〜t3に分けて示す。
ここで、時刻t1の監視ラインAにさしかかつた状
態をパターン1とし、時刻t2の監視ラインA,B
の両方にさしかかつた状態をパターン2とし、更
に監視ラインAをぬけて監視ラインBにかかつて
いる状態をパターン3とする。勿論、退出時にあ
つては、時刻t3からt1への変化が得られる。 In FIG. 6, time changes are shown for monitoring lines A and B when a person enters from the monitoring line A side located outside the entrance/exit, divided into times t1 to t3.
Here, pattern 1 is the state where the monitor line A at time t1 is reached, and the monitor lines A and B at time t2
Pattern 2 is a state in which the line is approaching both of the above, and pattern 3 is a state in which the line passes through monitoring line A and reaches monitoring line B. Of course, when leaving, a change from time t3 to t1 is obtained.
従つて、第5図のブロツク20におけるパター
ン判別は、第6図のいずれのパターンであるか
A,Bラインデータに基づいて判別することにな
る。 Therefore, the pattern determination in block 20 of FIG. 5 is to determine which pattern in FIG. 6 is based on the A and B line data.
次のブロツク21ではブロツク20で判別され
たパターンと、既に登録されている前回のパター
ンから移動方向を判別する。例えば、パターン1
が判別されたとき、前回のパターンがパターン1
〜3のいずれでもなければ入場であり、またパタ
ーン3が判別された状態で前回のパターンがパタ
ーン1〜3のいずれでもなければ退場となる。勿
論、パターン2が判別されたときは、前回のパタ
ーンがパターン1であれば入場、パターン3であ
れば退場となる。 In the next block 21, the direction of movement is determined from the pattern determined in block 20 and the previous pattern that has already been registered. For example, pattern 1
is determined, the previous pattern is pattern 1
If the pattern is not one of patterns 1 to 3, the player is admitted, and if pattern 3 is determined and the previous pattern is not one of patterns 1 to 3, the player is allowed to leave. Of course, when pattern 2 is determined, if the previous pattern was pattern 1, the player enters the room, and if pattern 3, the player exits.
移動方向の判別が済むと、ブロツク22におい
て入退数を計数する。即ち、入場であればカウン
タをカウントアツプし、また退場であればカウン
タをカウントダウンする。このような計測処理が
終了すると、最後にブロツク23において、これ
までのデータ処理で得られたライン上の人の通過
位置及びその通過位置におけるパターンのうち移
動方向判別に使用されていない通過位置及びパタ
ーンを登録して再びブロツク18の処理に戻る。
そして、この使用されない上記通過位置のパター
ンが前回からどのように変化したかにより移動方
向が判別される。 Once the direction of movement has been determined, the number of entries and exits is counted in block 22. That is, if the user is entering, the counter is counted up, and if the user is leaving, the counter is counted down. When such measurement processing is completed, finally in block 23, among the passing positions of the person on the line and the patterns at the passing positions obtained by the data processing so far, the passing positions and patterns that are not used for determining the moving direction are determined. The pattern is registered and the process returns to block 18 again.
Then, the direction of movement is determined based on how the pattern of the unused passing positions has changed from the previous time.
再び第1図を参照するに、演算処理部16で求
められた、そのときの入退数は表示器17に与え
られ、現在建物に残つている人の人数若しくは入
場者数等を表示する。 Referring again to FIG. 1, the number of people entering and leaving the building at that time, calculated by the arithmetic processing unit 16, is given to the display 17, which displays the number of people currently remaining in the building or the number of people entering the building.
尚、演算処理部16は、マルチプレクサ10、
ゲート回路13,15の制御も行なう。 Note that the arithmetic processing unit 16 includes a multiplexer 10,
It also controls gate circuits 13 and 15.
第7A図,7B,7C図は、第1図の制御処理
を更に詳細に示したフローチヤートである。 7A, 7B, and 7C are flowcharts showing the control process of FIG. 1 in more detail.
まず第7A図はAラインのデータ処理を示す。 First, FIG. 7A shows data processing of the A line.
装置をスタートさせると、ブロツク50で背景
基準データのセツトを行ない、次のブロツク52
でデータ変化数カウンタL、位置カウンタN、更
に1ライン当りに付き処理するデータ数を監視す
るループカウンタIをそれぞれ零にイニシヤライ
ズする。 When the apparatus is started, background reference data is set in block 50, and the next block 52
The data change number counter L, the position counter N, and the loop counter I for monitoring the number of data processed per line are each initialized to zero.
続いてブロツク54でループカウンタIで設定
された最初のAラインデータを入力し、判別ブロ
ツク56で人であることを判断するため閾値以上
か否かをチエツクする。受光データが閾値を下回
つていればブロツク58でループカウンタIをイ
ンクリメントし、判別ブロツク60でループカウ
ンタIが最終値I=128に達しているかどうかを
チエツクし、閾値以上となるデータ変化を検出す
るまでブロツク54〜60の処理を繰返す。 Next, in block 54, the first A line data set by loop counter I is input, and in judgment block 56, it is checked whether or not it is above a threshold value in order to determine that it is a person. If the received light data is less than the threshold value, the loop counter I is incremented in block 58, and the judgment block 60 checks whether the loop counter I has reached the final value I=128, and detects a data change that exceeds the threshold value. The processing of blocks 54 to 60 is repeated until detection is made.
受光データが閾値以上になると、判別ブロツク
56からブロツク62に進み、この時の位置カウ
ンタNで指定される監視ラインの端からN人目の
長さ、即ちデータ変化数Lをインクリメントし、
判別ブロツク64で閾値Loに達したか否かをチ
エツクし、閾値Loに達していなければブロツク
66でループカウンタIをインクリメントし、最
終値I=128に達しているかどうかを判別ブロツ
ク68でチエツクした後、次のAラインデータを
ブロツク70で入力し、閾値以上であれば判別ブ
ロツク72から再びブロツク62に戻つて、デー
タ変化数Lをインクリメントし、データ変化数L
=Loに達するまでこのループを繰返す。 When the received light data exceeds the threshold value, the process proceeds from the judgment block 56 to block 62, where the length of the Nth line from the end of the monitoring line specified by the position counter N at this time, that is, the number of data changes L, is incremented.
A decision block 64 checks whether the threshold value Lo has been reached. If the threshold value Lo has not been reached, a loop counter I is incremented in a block 66, and a decision block 68 checks whether the final value I=128 has been reached. After that, the next A line data is input in block 70, and if it is equal to or greater than the threshold value, the process returns to block 62 again from judgment block 72, and the data change number L is incremented.
Repeat this loop until =Lo is reached.
尚、データ変化数Lが閾値Loに達する前に閾
値以上とならない受光データが得られた時には、
受光データが空いていると判断し、判別ブロツク
72から判別ブロツク74に進んで受光データの
空き数をカウントする空き数カウンタをインクリ
メントし、空き数カウンタの計数値が所定値を越
えた時にはブロツク76に進み、データ変化数L
を零にリセツトして再びブロツク54に戻る。 In addition, if received light data that does not exceed the threshold value is obtained before the data change number L reaches the threshold value Lo,
It is determined that the received light data is free, and the process proceeds from judgment block 72 to judgment block 74, where the free number counter for counting the number of free light received data is incremented, and when the count value of the free number counter exceeds a predetermined value, block 76 is executed. Proceed to the number of data changes L
is reset to zero and the process returns to block 54.
判別ブロツク64でデータ変化数Lが閾値Lo
に達したことが判別されると、ブロツク78に進
み、人の位置Nを登録し、続いてブロツク80で
位置カウンタNをインクリメントし、ループカウ
ンタIが最終値に達していなければ再びブロツク
54に戻る。 In the judgment block 64, the number of data changes L is the threshold value Lo.
If it is determined that the loop counter I has reached the final value, the process proceeds to block 78, where the person's position N is registered, and then the position counter N is incremented at block 80, and if the loop counter I has not reached the final value, the process returns to block 54. return.
このようなAラインデータの処理により、監視
ラインA上に人の通過による輝度変化があれば、
位置カウンタNの値によつてライン上の通過位置
及び通過人数が登録データとして得られる。 By processing the A line data in this way, if there is a change in brightness due to a person passing on the monitoring line A,
Based on the value of the position counter N, the passing position on the line and the number of people passing can be obtained as registered data.
判別ブロツク60または68でループカウンタ
Iの最終値が判別されると、ブロツク82に進み
カウンタI,N及びLを零にリセツトし、第7B
図に示すBラインデータの処理に進む。 When the final value of loop counter I is determined in decision block 60 or 68, the process proceeds to block 82, where counters I, N, and L are reset to zero, and step 7B
The process proceeds to the B line data shown in the figure.
この第7B図に示すBラインデータの処理も、
第7A図のAラインデータの処理と全く同じであ
ることから、付加符号bを付して同一番号で各処
理ブロツクを示す。 The processing of the B line data shown in FIG. 7B also
Since the processing is exactly the same as the processing of the A line data in FIG. 7A, each processing block is indicated by the same number with the addition numeral b.
このようにしてAライン及びBラインのデータ
処理が終了すると、第7C図に示すパターン及び
移動方向の判別処理に進む。 When the data processing for the A line and the B line is completed in this way, the process proceeds to the pattern and movement direction determination process shown in FIG. 7C.
まず判別ブロツク84において、第6図に示し
たパターン1〜3のいずれであるかを判別し、ブ
ロツク86a〜86cのいずれかに進む。尚、こ
のパターン判別については、位置カウンタNとの
対応関係をもつてパターン判別を行なう。 First, in the determination block 84, it is determined which of the patterns 1 to 3 shown in FIG. 6 is, and the process proceeds to any of the blocks 86a to 86c. Note that this pattern discrimination is performed in correspondence with the position counter N.
続いて判別ブロツク88で既に登録されている
前回のパターンと比較し、ブロツク90aの入場
または90bの退出となる方向判別を行なう。ブ
ロツク90aの入場判別にあつては、入退数カウ
ンタMを位置カウンタNで与えられる人数分だけ
加算し、一方、ブロツク90bの退出にあつては
入退数カウンタMを位置カウンタNで与えられる
人数分だけ減算する。勿論、入場者と退出者が混
在する場合もあることから、入退出カウンタMの
加算と減算が同時に行なわれる場合もあり得る。 Next, in a determination block 88, the pattern is compared with the previously registered pattern to determine the direction of entry into block 90a or exit from block 90b. When determining the entrance to block 90a, the number of entrances and exits counter M is incremented by the number of people given by the position counter N. On the other hand, when leaving the block 90b, the number of entrances and exits counter M is given by the position counter N. Subtract by the number of people. Of course, since there may be a case where there is a mixture of persons entering and leaving the room, there may be cases where addition and subtraction of the entry/exit counter M are performed at the same time.
このように入退数カウンタMの計数が終了する
と、ブロツク92においてブロツク86a〜86
cで判別されたパターンを位置と共に登録して前
回のパターンとし、再び第7A図のブロツク54
に戻る。 When the counting of the entry/exit number counter M is completed in this way, the blocks 86a to 86 are processed in block 92.
The pattern determined in step c is registered together with its position as the previous pattern, and the process is again performed at block 54 in FIG. 7A.
Return to
尚、第7A,7B図におけるデータ処理にあつ
ては、データ変化数Lが閾値Loに達した時、人
の通過によるデータ変化と判定しているが、更に
検出精度を高めるためには閾値Loを多段階、例
えば2段階に設定し、A及びBラインのデータ処
理における閾値Loを例えばLo=5(ライン上で20
cm)としてまずパターンを判定し、このパターン
判定後に閾値Lo=15(ライン上で60cm)に達する
データ変化が得られてから入退出の計数動作を行
なわせるようにしても良い。 In the data processing in Figures 7A and 7B, when the number of data changes L reaches the threshold Lo, it is determined that the data change is due to a person passing by. is set in multiple stages, for example, in two stages, and the threshold value Lo for data processing of A and B lines is set to, for example, Lo=5 (20
cm), the pattern may be determined first, and after this pattern determination, the entry/exit counting operation may be performed after a data change reaching the threshold Lo=15 (60 cm on the line) is obtained.
更に、上記の実施例は移動体として人の通過を
例にとるものであつたが、本発明はこれに限定さ
れず、車両や荷物の通過量を検出することもで
き、この場合には移動体の大きさと移動速度に基
づいて2本の監視ラインAとBの間隔を適切な値
に設定すれば良い。 Furthermore, although the above-mentioned embodiment takes as an example the passing of a person as a moving body, the present invention is not limited to this, and can also detect the amount of passing vehicles or luggage. The interval between the two monitoring lines A and B may be set to an appropriate value based on the body size and moving speed.
また、車両等のように移動する方向が一方向し
か移動しない移動体においては、蓄積型光検出器
を1ライン設けるだけで移動体の数を計測するこ
とができる。 Furthermore, in the case of moving objects such as vehicles that move in only one direction, the number of moving objects can be counted by simply providing one line of storage type photodetectors.
更に、本実施例においては移動体を移動方向に
対して上面から監視するよう構成したが、ライン
高原を天井面等に設置して下面から監視するよう
にしても良い。 Further, in this embodiment, the moving body is configured to be monitored from above in the direction of movement, but the line plateau may be installed on a ceiling surface or the like and monitored from below.
(発明の効果)
以上説明してきたように本発明によれば、監視
面上を通過する移動体を、移動体の移動方向に対
して上面または下面から監視する監視面の輝度変
化を監視する複数の受光画素を直線配列してなる
蓄積型光検出器により検出し、この蓄積型光検出
器が検出した受光情報に基づいて移動体の数を判
別するようにし、更に監視面に光源を埋設し、監
視面に位置する光源から蓄積型光検出器に入射す
る光を移動体の通過部位で遮つて輝度変化を得る
ようにしたため、同時に複数の人が横に並んで通
過した場合や、入場者と退出者が交差した場合も
正確に通過人数と移動方向を判別すことができ、
極めて精度の高い通行量の検出ができる。(Effects of the Invention) As described above, according to the present invention, a plurality of monitoring surfaces that monitor a moving object passing over the monitoring surface from above or below in the moving direction of the monitoring surface monitor brightness changes. The number of moving objects is determined based on the light reception information detected by the storage type photodetector, and a light source is embedded in the monitoring surface. , the light entering the storage type photodetector from the light source located on the monitoring surface is blocked by the passing part of the moving object to obtain a change in brightness, so when multiple people pass side by side at the same time, Even if exiting persons intersect, the number of people passing through and the direction of movement can be accurately determined.
Traffic volume can be detected with extremely high accuracy.
また監視面に光源を埋設して移動体の通過で蓄
積型光検出器に対する光の入射を遮るようにして
いるため、移動体の通過による輝度変化を充分に
大きくとることができ、CCDセンサ等における
蓄積時間が短くとも充分な信号変化を得ることが
でき、高速処理が可能となる。更に、監視面の光
源を移動体の通過で遮つて輝度変化を得ているた
め、例えば洋服の色の影響がなく、また移動体を
背光証明することになるので更に分解能を向上す
ることができる。 In addition, a light source is embedded in the monitoring surface so that the passing of a moving object blocks the light from entering the storage type photodetector, so that the change in brightness due to the passing of a moving object can be sufficiently large, and the change in brightness due to the passing of a moving object can be sufficiently large. Even if the accumulation time is short, a sufficient signal change can be obtained, and high-speed processing becomes possible. Furthermore, since the light source on the monitoring surface is blocked by the passing of a moving object to obtain a change in brightness, there is no effect of the color of clothing, for example, and the moving object can be seen as a backlight, further improving resolution. .
加えて、蓄積型光検出器としてCCDセンサを
使用することから、従来のテレビカメラ方式に比
べ検出光学系及び通行量判別のデータ処理が簡単
となり、低コストで高い検出精度を実現すること
ができる。 In addition, since a CCD sensor is used as a storage type photodetector, the detection optical system and data processing for determining traffic volume are simpler than with the conventional TV camera method, making it possible to achieve high detection accuracy at low cost. .
第1図は本発明の一実施例を示したブロツク
図、第2図は本発明で用いるCCDセンサの構造
を示した説明図、第3図は本発明の検出光学系及
びライン光源を示した説明図、第4図は監視面に
設けるライン光源の構造を示した説明図、第5図
は第1図の演算処理部によるデータ処理の概要を
示したジエネラルフローチヤート、第6図は本発
明の移動方向の判別で用いる監視ラインに対する
人の通過状態を示した説明図、第7A,7B,7
C図はプログラム制御による本発明の通行量計測
処理を示したフローチヤートである。
1,2……CCDセンサ、4……床面、5……
反射ミラー、6……集光レンズ、7……ハーフミ
ラー、8……CCD駆動回路、9a,9b……
A/D変換器、10……マルチプレクサ、12
a,12b……RAM、11……背景処理回路、
13,15……ゲート回路、14a,14b……
バツフアメモリ、16……演算処理部、17……
表示器、102a,102b……光源設置溝、1
06……蛍光灯、108a,108b……保護カ
バー、110a,110b……透過窓。
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is an explanatory diagram showing the structure of a CCD sensor used in the present invention, and Fig. 3 shows the detection optical system and line light source of the present invention. 4 is an explanatory diagram showing the structure of a line light source provided on the monitoring surface, FIG. 5 is a general flowchart showing an overview of data processing by the arithmetic processing unit in FIG. 1, and FIG. Explanatory diagram showing the state of a person passing through the monitoring line used in determining the movement direction of the invention, Nos. 7A, 7B, 7
Figure C is a flowchart showing the traffic volume measurement process of the present invention under program control. 1, 2...CCD sensor, 4...floor surface, 5...
Reflection mirror, 6... Condensing lens, 7... Half mirror, 8... CCD drive circuit, 9a, 9b...
A/D converter, 10...Multiplexer, 12
a, 12b...RAM, 11...background processing circuit,
13, 15...gate circuit, 14a, 14b...
Buffer memory, 16... Arithmetic processing unit, 17...
Indicator, 102a, 102b... Light source installation groove, 1
06... Fluorescent lamp, 108a, 108b... Protective cover, 110a, 110b... Transparent window.
Claims (1)
て上面または下面から該監視面の輝度変化を監視
する複数の受光画素を直線配列してなる蓄積型光
検出器と、該蓄積型光検出器で検出した前記監視
面の受光情報に基づいて移動体の数を判別する判
別手段を備えた移動体量計測装置に於いて、 前記監視面に光源を埋設し、該光源から前記蓄
積型光検出器に入射する光を移動体の通過部位で
遮つて輝度変化を得るようにしたことを特徴とす
る移動体量計測装置。[Scope of Claims] 1. A storage type photodetector comprising a plurality of light receiving pixels arranged in a straight line for monitoring changes in brightness of a monitoring surface from the top or bottom in the direction of movement of a moving body passing over the monitoring surface. , in a moving object amount measuring device equipped with a determination means for determining the number of moving objects based on light reception information on the monitoring surface detected by the storage type photodetector, a light source is embedded in the monitoring surface; A moving body amount measuring device characterized in that light entering the storage type photodetector from a light source is blocked at a passage portion of the moving body to obtain a change in brightness.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10059686A JPS6332677A (en) | 1986-04-30 | 1986-04-30 | Measuring instrument for traveling object value |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10059686A JPS6332677A (en) | 1986-04-30 | 1986-04-30 | Measuring instrument for traveling object value |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6332677A JPS6332677A (en) | 1988-02-12 |
| JPH0574880B2 true JPH0574880B2 (en) | 1993-10-19 |
Family
ID=14278248
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10059686A Granted JPS6332677A (en) | 1986-04-30 | 1986-04-30 | Measuring instrument for traveling object value |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6332677A (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FR2665282B1 (en) * | 1990-07-30 | 1995-05-24 | Gemplus Card Int | DEVICE FOR COUNTING CHIP CARDS CONTAINED IN A LOT. |
| DE202006007875U1 (en) * | 2006-05-15 | 2007-09-20 | Big Dutchman International Gmbh | Eierzählsensor |
| ES2966187T3 (en) * | 2017-01-25 | 2024-04-18 | Carrier Corp | Linear distribution chambers for a man overboard detection system |
-
1986
- 1986-04-30 JP JP10059686A patent/JPS6332677A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6332677A (en) | 1988-02-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6963658B2 (en) | Method of detecting and measuring a moving object and apparatus therefor, and a recording medium for recording a program for detecting and measuring a moving object | |
| WO1998007118A1 (en) | Detection system | |
| JPH0574880B2 (en) | ||
| JPH0525156B2 (en) | ||
| KR100900494B1 (en) | Moving object tracking system and control method | |
| JP2563666B2 (en) | Parking lot congestion state determination device | |
| JPH0523472B2 (en) | ||
| US5971605A (en) | Device for measuring mean staying time | |
| JPH0523473B2 (en) | ||
| JPS63123188A (en) | Mobile body counter | |
| JPH0523471B2 (en) | ||
| JPH04311288A (en) | Device for detecting number of passengers | |
| JP2541531B2 (en) | Parking detection method | |
| JPH0523470B2 (en) | ||
| JPH03219394A (en) | Detecting device for number of persons and fire | |
| JP2649272B2 (en) | Vehicle congestion level detection device in parking area | |
| JP2594847B2 (en) | Passenger detection method | |
| JPS625491A (en) | Detecting device for moving body | |
| JPH07244796A (en) | Vehicle detector | |
| TWI580929B (en) | Height detection system and its method | |
| JPH0554142A (en) | Method for separately detecting persons at both edges of detecting area for passer-by number detector | |
| JPH0271397A (en) | Picture monitoring device | |
| SU1107341A1 (en) | Television system for measuring object coordinates | |
| JPS6251583A (en) | Elevator traffic flow detection device | |
| JPS6357840B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |