JPH0823882B2 - Passerby counting device and sales processing device - Google Patents

Passerby counting device and sales processing device

Info

Publication number
JPH0823882B2
JPH0823882B2 JP2334885A JP33488590A JPH0823882B2 JP H0823882 B2 JPH0823882 B2 JP H0823882B2 JP 2334885 A JP2334885 A JP 2334885A JP 33488590 A JP33488590 A JP 33488590A JP H0823882 B2 JPH0823882 B2 JP H0823882B2
Authority
JP
Japan
Prior art keywords
moving object
moving
sales
human
camera
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2334885A
Other languages
Japanese (ja)
Other versions
JPH04199487A (en
Inventor
晴由 花田
Original Assignee
株式会社テレコスモ
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 株式会社テレコスモ filed Critical 株式会社テレコスモ
Priority to JP2334885A priority Critical patent/JPH0823882B2/en
Publication of JPH04199487A publication Critical patent/JPH04199487A/en
Publication of JPH0823882B2 publication Critical patent/JPH0823882B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 (a)産業上の利用分野 この発明は、カメラが撮影した画像によって通行者の
数を計数する通行者計数装置およびこのデータに基づい
て売上の処理を行う売上処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention relates to a passerby counting device that counts the number of passersby by an image taken by a camera, and a sales processing device that processes sales based on this data. Regarding

(b)従来の技術 通行者の人数をカウントする通行者計数装置として
は、従来、超音波を利用したものや赤外線センサを用い
たものが実用化されている。
(B) Conventional Technology As a passerby counting device for counting the number of passersby, conventionally, a device using ultrasonic waves and a device using an infrared sensor have been put into practical use.

(c)発明が解決しようとする課題 しかし、超音波を用いたものは人間が重なって通行し
た場合にこれを識別することができないため、通行者を
カウントする場所においては、人間が1列になって通行
するように通路を狭くしておく必要があった。また、赤
外線センサを用いたものは人間が発する赤外線を検出す
るものであるが、その赤外線が微弱であるため、センサ
の感度を高くしなければならず、保守が容易でない欠点
があった。また、同時に通行する複数の通行者を検出す
るためには通路を横切るセンサアレイを設ける必要があ
り、コストが高い欠点があった。
(C) Problems to be Solved by the Invention However, in the case of using ultrasonic waves, it is impossible to identify when humans pass by in an overlapping manner. It was necessary to narrow the passage so that it would pass. Further, the infrared ray sensor is used to detect infrared rays emitted by humans, but since the infrared rays are weak, the sensitivity of the sensor must be increased, and maintenance is not easy. Further, in order to detect a plurality of pedestrians who pass by at the same time, it is necessary to provide a sensor array that crosses the passage, which is a high cost.

この発明は、カメラを用いることで上記欠点を解消し
た通行者計数装置を提供することを目的とし、さらに、
この通行者計数装置を用いて通行者数と売上とを統計的
に処理する売上処理装置を提供することを目的とする。
An object of the present invention is to provide a passer-by counting device that solves the above-mentioned drawbacks by using a camera.
An object of the present invention is to provide a sales processing device that statistically processes the number of passersby and sales by using this passerby counting device.

(d)課題を解決するための手段 この発明の通行者計数装置は、通路の上方から真下に
向けて設置されたカメラと、前記通路を移動する移動物
体を前記カメラが撮影した画像から抽出する移動物体抽
出手段と、前記カメラが撮影した画像に設定された通路
を横切る帯状のエリアを前記移動物体が通過するときに
該移動物体が人間であるかどうかを判定する移動物体判
定手段と、前記移動物体が人間であると判定したときに
該人間の移動方向を抽出する移動方向抽出手段と、前記
画像データ内の通路における前記抽出された人間の画像
を移動方向別に計数する手段と、を備え、 前記移動物体判定手段は、前記移動物体抽出手段で抽出
された移動物体のうちで円形の移動物体のみを抽出し、
人間の頭と略同じ大きさの移動物体に対してのみパター
ンマッチング等の処理を行って前記移動物体が人間であ
るかどうかを判定する手段であることを特徴とする。
(D) Means for Solving the Problem The pedestrian counting device of the present invention extracts a camera installed from above the passage to just below and a moving object moving in the passage from an image captured by the camera. Moving object extracting means, moving object determining means for determining whether or not the moving object is a human when the moving object passes through a strip-shaped area that crosses a passage set in an image captured by the camera, A moving direction extracting unit that extracts a moving direction of the moving object when it is determined that the moving object is a human; and a unit that counts the extracted human image in a passage in the image data for each moving direction. The moving object determination means extracts only a circular moving object from the moving objects extracted by the moving object extraction means,
It is characterized in that it is means for determining whether or not the moving object is a human by performing processing such as pattern matching only on a moving object having substantially the same size as a human head.

また、この発明の売上処理装置は、前記通行者計数装
置と、前記通行者計数装置で計数した通行者の数と過去
または現在の売上データと天気、温度、湿度等の天候デ
ータ等を含む情報を取り込んで通行者と売上、通行者と
天候、売上と天候等の関係を含む統計または予測を行う
統計予測手段と、を備えたことを特徴とする。
Further, the sales processing device of the present invention includes the passer-by-counter device, information including the number of passers-by counted by the pass-by-counter device, past or present sales data, weather data such as weather, temperature, and humidity. And a statistical predicting means for performing statistics or prediction including relations between passers-by and sales, passers-by and weather, sales and weather, and the like.

(e)作用 この発明の通行者計数装置においては、通路の上方か
ら真下に向けて設置されたカメラが撮影した画像から移
動物体が抽出される。移動物体判定手段は、前記カメラ
が撮影した画像に設定された通路を横切る帯状のエリア
を前記移動物体が通過するときに、人間の頭と略同じ大
きさで円形の移動物体に対してのみパターンマッチング
等の処理を行って、この抽出された移動物体が人間であ
るかどうかを判定する。移動物体が人間であると判定さ
れると、移動方向抽出手段で移動方向を抽出し、移動方
向別に計数する。したがって、通路を通過する人間の数
を移動方向別に求めることができ、この結果から例えば
店舗への入退店の状況や通路における人間の動き等を簡
単に把握できる。また、通路の上方から真下に向けて撮
影を行い、人間の頭を抽出してカウントするので通路が
混雑しても頭が重なりあうことがないため正確に人間を
カウントすることができる。さらに、個人個人で髪の長
さ等が異なっても人間の頭を真上から撮影した場合には
円形である。このため、通路を横切る帯状のエリアを前
記移動物体が通過するときに、円形の移動物体を抽出
し、この抽出した円形の移動物体から人間の頭と略同じ
大きさである物に対してのみパターンマッチング等を行
って人間であるかどうかを判定するように構成したの
で、四角等の明らかに人間でない移動物体に対してはこ
の判定を一切行わない。また、円形の移動物体であって
も同じ移動物体に対して複数回の判定を行わないので判
定回数を減少させることができ、処理時間を短縮するこ
とができる。
(E) Operation In the passer-by-counter device of the present invention, the moving object is extracted from the image taken by the camera installed from above the passage to right below. When the moving object passes through a belt-shaped area that crosses the passage set in the image captured by the camera, the moving object determination means patterns only for a circular moving object having substantially the same size as a human head. By performing processing such as matching, it is determined whether or not the extracted moving object is a human. When it is determined that the moving object is a human, the moving direction extracting means extracts the moving direction and counts the moving directions. Therefore, the number of people passing through the passage can be obtained for each moving direction, and from this result, for example, the situation of entering and leaving the store, the movement of the person in the passage, and the like can be easily grasped. In addition, since the human head is extracted and counted from the upper part of the passage to the position just below, even if the passage is congested, the heads do not overlap each other, so that the human can be accurately counted. Further, even if the hair length is different for each individual, it is circular when the human head is photographed from directly above. Therefore, when the moving object passes through a strip-shaped area that crosses the passage, a circular moving object is extracted, and only from the extracted circular moving object to an object that is approximately the same size as the human head. Since it is configured to determine whether or not a person is a person by performing pattern matching or the like, this determination is not performed at all for a moving object that is obviously not a human such as a square. Further, even if the moving object is circular, the same moving object is not judged a plurality of times, so that the number of judgments can be reduced and the processing time can be shortened.

また、この発明の売上処理装置においては、前記通行
者計数装置で計数した通行者の数と過去または現在の売
上データと天気、温度、湿度等の天候データ等を含む情
報を取り込んで通行者と売上、通行者と天候、売上と天
候等の関係を含む統計または予測を行う。
Further, in the sales processing device of the present invention, the number of passers-by counted by the pass-by counting device, past or present sales data, and information including weather data such as weather, temperature, humidity, etc. are fetched and passed by. Performs statistics or forecasts including relationships between sales, passers-by and weather, sales and weather, etc.

(f)実施例 図面を参照してこの発明の実施例を説明する。この実
施例は、入退場者計数装置を備えた売上統計装置であ
る。入退場者計数装置は、各出入口(通路)に設置され
たカメラの映像によって入退場者を検出し、これをカウ
ントするものである。また、売上統計装置は、リアルタ
イムで入力される入退場者数のほかに、天候データ等を
入力し、売上の統計や予測を行う装置である。
(F) Example An example of the present invention will be described with reference to the drawings. This embodiment is a sales statistics device equipped with an entrance / exit counter. The entrance / exit counting device detects an entrance / exit from an image of a camera installed at each entrance (passage), and counts this. Further, the sales statistics device is a device that inputs weather data and the like in addition to the number of people entering and leaving in real time to perform sales statistics and forecasts.

第1図はこの発明上記売上統計装置の構成図、第2図
は同売上統計装置のカメラの設置形態を示す図、第3図
は同売上統計装置の入退場者計数装置の本体の構成を示
す図である。
FIG. 1 is a block diagram of the sales statistics device of the present invention, FIG. 2 is a diagram showing a camera installation form of the sales statistics device, and FIG. 3 is a structure of a main body of an entrance / exit counting device of the sales statistics device. FIG.

入退場者計数装置は、カメラ1,本体2およびモニタ3
からなっている。この本体2はコンピュータ4に接続さ
れている。コンピュータ4にはこのほか、モニタ5,POS
端末装置6,モデム7が接続されている。コンピュータ4
は入退場者計数装置から入力されるリアルタイムの入場
者数,退場者数,POS6から入力されるリアルタイムの売
上データおよびモデム7から入力されるオンラインデー
タに基づいて、顧客の入退店の状況毎に売上の統計を行
ったり、今後の売上げ予測を行う。オンラインデータと
しては電話回線を介して提供される天候データや天候予
測データまたは株式データ等が用いられる。
The entrance / exit counting device consists of a camera 1, a main body 2 and a monitor 3.
It consists of The main body 2 is connected to the computer 4. The computer 4 also has a monitor 5 and a POS
The terminal device 6 and the modem 7 are connected. Computer 4
Is based on real-time number of visitors, number of exits, real-time sales data from POS6 and online data from modem 7 Make sales statistics and forecast future sales. As the online data, weather data, weather forecast data, stock data, etc. provided via a telephone line are used.

カメラ1はカメラ1a〜カメラ1dの4台が設けられてい
る。この4台はそれぞれ異なる場所の出入口に真上から
設置されており(第2図参照)、それぞれの出入口の通
行者を撮影する。このカメラの映像出力は本体2に入力
されている。
The camera 1 is provided with four cameras 1a to 1d. These four units are installed at the entrances and exits of different places from directly above (see FIG. 2), and passersby at each entrance and exit are photographed. The video output of this camera is input to the main body 2.

本体2の詳細なブロック図を第3図に示す。カメラ1
は入力部20に接続されている。入力部20はカメラの台数
分設けられている。入力部20は画像信号をバッファリン
グするバッファである。入力部20にバッファリングされ
た画像信号は画像処理部21に入力される。画像処理部21
もカメラの台数分設けられている。画像処理部21はアナ
ログの画像信号をA/D変換する。A/D変換された画像デー
タは、1画面が512×512の画素に分割され、各画素の濃
淡が8ビット(256段階)で表されている。さらに画像
処理部21は、この画像データに含まれるノイズ成分(量
子化誤差等)をフィルタ処理する。フィルタ処理として
は平均化処理等がある。平均化処理とは,各画素を、そ
れに隣接する画素の平均値として再構成する処理であ
る。すなわち、画素P(x,y)の処理前の濃度をL(x,
y),処理後の濃度をD(x,y)とすると、 D(x,y)=(L(x-1,y-1)+L(x-1,y)+L(x-1,y+1) +L(x,y-1)+L(x,y)+L(x,y+1)+L(x+1,y-1) +L(x+1,y)+L(x+1,y+1)/9 で表される。この画像データはカメラ1a〜1dの順で時分
割で制御部22に入力される。制御部22はマイクロコンピ
ュータで構成されており、各カメラの画像データを順次
取り込んで、この画像データから移動体を検出し、この
移動体が人間であるか否かを判断する。人間であれば、
その移動方向から入店,退出の別を判定して、それぞれ
の記憶エリアの数を加算する。この計数結果はマルチ画
像制御部23によって処理されてモニタ3に表示されると
ともに、インタフェース24を介してコンピュータ4に出
力される。
A detailed block diagram of the main body 2 is shown in FIG. Camera 1
Is connected to the input unit 20. The input units 20 are provided for the number of cameras. The input unit 20 is a buffer that buffers image signals. The image signal buffered in the input unit 20 is input to the image processing unit 21. Image processing unit 21
Are also provided for the number of cameras. The image processing unit 21 A / D converts the analog image signal. One screen of the A / D converted image data is divided into 512 × 512 pixels, and the gradation of each pixel is represented by 8 bits (256 steps). Further, the image processing unit 21 filters the noise component (quantization error or the like) included in this image data. The filtering process includes averaging process and the like. The averaging process is a process of reconstructing each pixel as an average value of pixels adjacent to it. That is, the density of the pixel P (x, y) before processing is L (x,
y), and the density after treatment is D (x, y), D (x, y) = (L (x-1, y-1) + L (x-1, y) + L (x-1 , y + 1) + L (x, y-1) + L (x, y) + L (x, y + 1) + L (x + 1, y-1) + L (x + 1, y) It is represented by + L (x + 1, y + 1) /9.This image data is input to the control unit 22 in a time-divisional order in the order of the cameras 1a to 1d. The control unit 22 is composed of a microcomputer. Then, the image data of each camera is sequentially captured, the moving body is detected from the image data, and it is determined whether or not the moving body is a human.
Whether to enter or leave the store is determined based on the moving direction, and the number of storage areas is added. The counting result is processed by the multi-image control unit 23, displayed on the monitor 3, and output to the computer 4 via the interface 24.

第2図はカメラ1の設置形態を示す図である。カメラ
1は出入口10の真上から下向きに設置されており、出入
口10の幅方向を全部撮影することができる。ここを通過
する者は真上から撮影される。撮影された画像は第5
図,第6図に示すようになる。1台のカメラの画像をモ
ニタに表示する場合には、第5図のような表示になり、
複数台のカメラの画像を1画面で表示する場合には第6
図のようになる。
FIG. 2 is a diagram showing an installation form of the camera 1. The camera 1 is installed directly above the doorway 10 and faces downward so that the entire width direction of the doorway 10 can be photographed. Those who pass here are photographed from directly above. The image taken is the fifth
It becomes as shown in FIG. 6 and FIG. When displaying the image of one camera on the monitor, the display is as shown in Fig. 5,
When displaying images from multiple cameras on a single screen
It becomes like the figure.

第4図は前記制御部22の動作を示すフローチャートで
ある。この動作は一定時間毎に各カメラの画像について
行われる。なお、入店者数,退出者数をカウントするエ
リアは各カメラ毎に備えられている。また、店内に滞留
している客の数を集計するエリアは1エリア備えられて
いる。
FIG. 4 is a flow chart showing the operation of the control unit 22. This operation is performed for each camera image at regular intervals. An area for counting the number of visitors and the number of exits is provided for each camera. Further, there is one area for counting the number of customers staying in the store.

まず、n1で移動物体であるか否かを検出する。移動物
体がない場合にはn2からn11に進む。移動物体がある場
合には、それが人間か否かを判断する(n3)。人間でな
い場合にはn4からn11に進む。人間の場合には、その移
動方向を検出し(n5)、入店の場合にはそのカメラに対
応する入店者レジスタを1加算し(n7)、滞留者レジス
タを1加算する(n8)。退場の場合にはそのカメラに対
応する退出者レジスタを1加算し(n9)、滞留者レジス
タから1を減算する(n10)。こののち表示更新動作(n
11)を実行してリターンする。n11の表示更新動作は、
画像処理部21から入力された画像データをモニタ3に表
示するとともに、そのときの時刻や入退場者数をテロッ
プで表示する動作である。
First, whether or not the object is a moving object is detected at n1. If there is no moving object, proceed from n2 to n11. If there is a moving object, it is judged whether or not it is a human (n3). If not a human, proceed from n4 to n11. In the case of a human, the moving direction is detected (n5), and in the case of entering a store, the store register corresponding to the camera is incremented by 1 (n7), and the stayer register is incremented by 1 (n8). In the case of exit, 1 is added to the exit register corresponding to the camera (n9), and 1 is subtracted from the stayer register (n10). After this, the display update operation (n
Execute 11) and return. The display update operation of n11 is
This is an operation of displaying the image data input from the image processing unit 21 on the monitor 3 and displaying the time and the number of people entering and leaving at that time as a telop.

n1における移動体検出の手法としては,たとえば、以
下の手法がある。
As a method for detecting a moving object in n1, for example, there are the following methods.

(1)カメラから取り込んだ現在の画像データとメモリ
に記憶しておいた直前の画像データとを比較し、そのデ
ータのズレに基づいて移動物体を検出する方法 (2)移動する物体などが何もない状態の画像データを
予め記憶しておき、この画像データとカメラから取り込
んだ画像データとを比較して異なる部分を検出し、移動
物体を検出する方法 n5における移動方向の検出は、検出した移動物体の重
心座標をもとめ、この重心座標の変化に基づいて移動方
向を求めればよい。
(1) A method of comparing the current image data captured from the camera with the immediately preceding image data stored in the memory and detecting a moving object based on the deviation of the data. (2) What is the moving object? The image data in a state in which there is no state is stored in advance, this image data is compared with the image data captured from the camera to detect a different portion, and the moving direction is detected in the method n5 of detecting a moving object. It suffices to find the barycentric coordinates of the moving object and obtain the moving direction based on the change in the barycentric coordinates.

さらに、天井から真下に向けて設置したカメラの画像
から人間を判別する方法としては人間の特徴を抽出すれ
ばよいが、この場合において頭を第1の特徴点として抽
出する。人間の頭は長円であることから、まず、移動物
体から円形を分離抽出する。ここで、円形の物の面積を
求め、明らかに頭の大きさよりも小さいものや大きいも
のは除外する。つぎに、円形部分の中心からある程度の
範囲でパターンマッチングなどの処理を行い、人間とそ
の他のもの(たとえば、ボール,風船等)との区別を行
って人間のみを判別する。判別された人間の人数をカウ
ントする。
Further, as a method of discriminating a human from an image of a camera installed directly below the ceiling, the human characteristic may be extracted. In this case, the head is extracted as the first characteristic point. Since the human head is an ellipse, first, a circle is separated and extracted from a moving object. Here, the area of the circular object is obtained, and those obviously smaller or larger than the size of the head are excluded. Next, processing such as pattern matching is performed within a certain range from the center of the circular portion to distinguish between humans and other objects (for example, balls, balloons, etc.) and determine only humans. Count the number of humans that have been identified.

通路の上方から真下に向けてカメラで撮影を行い、人
間の頭を抽出してカウントするので通路が混雑しても頭
が重なりあうことがないため正確に人間をカウントする
ことができる。
Images are taken with a camera from above the passage to just below, and the human heads are extracted and counted. Therefore, even if the passages are congested, the heads do not overlap with each other, so that the humans can be accurately counted.

また、個人個人で髪の長さ等が異なっても人間の頭を
真上から撮影した場合には円形である。ここで、抽出し
た移動物体から、円形の物を抽出し、この抽出された円
形の移動物体から人間の頭と略同じ大きさである物に対
してのみ、パターンマッチング等を行って人間であるか
どうかを判定するように構成したため、四角等の明らか
に人間でない移動物体に対しては、この判定を行わな
い。したがって、移動物体が人間であるかどうかの判定
回数を減少させることとなり、処理時間を短縮すること
ができる。
Further, even if the hair length is different for each individual, it is circular when the human head is photographed from directly above. Here, a circular object is extracted from the extracted moving object, and only the object having the same size as the human head is subjected to pattern matching etc. from the extracted circular moving object to be a human. Since it is configured to determine whether or not it is, this determination is not performed on a moving object that is clearly not a human such as a square. Therefore, the number of determinations as to whether the moving object is a human is reduced, and the processing time can be shortened.

なお、移動物体の検出および移動方向の判別は画像全
体のデータを用をいて行う必要があるが、その移動物体
が人間かどうかの判別はある特定範囲のみで検出動作を
行えばよい。すなわち、画像データに通路を横切る帯状
のエリアを設定し、移動物体がこの帯状エリアを通過し
たとき、人間か否かを判別するようにすればよい。この
ように諸することにより、人間か否かの判定回数を減ら
すことができ、処理速度を向上することができる。
It should be noted that the detection of the moving object and the determination of the moving direction need to be performed by using the data of the entire image, but the determination as to whether the moving object is a human may be performed only in a specific range. That is, a band-shaped area that crosses the passage may be set in the image data, and when the moving object passes through the band-shaped area, it may be determined whether or not the person is a human. By doing so, it is possible to reduce the number of determinations as to whether or not the person is a human, and it is possible to improve the processing speed.

以上の入退場者計数装置を用いることにより、各出入
口における入退場者数をリアルタイムで計数することが
可能になる。また、出入口に限らず通路に設けて通行者
数を計数することも可能である。
By using the above entrance / exit counting device, it is possible to count the number of entrance / exit at each entrance in real time. Further, the number of passers-by can be counted not only in the entrance and exit but also in a passage.

このようにして計数された滞留者数や各出入口からの
入退場者数を統計的に処理することにより、店内のレイ
アウト等を有効にセットすることができる。
By statistically processing the number of stayers and the number of people entering and leaving the entrances and exits thus counted, it is possible to effectively set the in-store layout and the like.

以上の動作で検出された入退場者数,滞留者数はコン
ピュータ4に入力される。コンピュータ4においては、
リアルタイムの滞留者情報を入力するとともに、POS端
末装置6からの品種別売上情報,モデム7からの時刻毎
の気象情報および今後の天気予報など様々な情報を受け
付ける。また、その他イベント情報などをホストのキー
ボードから入力することも可能である。このような様々
な情報からホストコンピュータ4は、入退場者数と売上
統計処理,時間別入力退場者数および店内滞留者の管理
処理,イベント内容による入退場者数の管理処理,天候
やイベントによる売上予測等のさまざまな処理を行う。
The number of people entering and leaving and the number of stayers detected by the above operation are input to the computer 4. In computer 4,
In addition to inputting real-time stayer information, various kinds of information such as sales information for each product type from the POS terminal device 6, weather information for each time from the modem 7 and future weather forecast are accepted. It is also possible to input other event information from the keyboard of the host. From such various information, the host computer 4 processes the number of people entering and leaving and sales statistics, management processing of the number of people entering and leaving by time and the number of people staying in the store, management processing of the number of people entering and leaving according to event content, weather and events. Performs various processing such as sales forecast.

また、入退場者の管理がリアルタイムで自動的に行え
るため、上記の処理がリアルタイムで行うことが可能に
なる。
Further, since the entrance / exit can be automatically managed in real time, the above processing can be performed in real time.

なお、この発明の通行者計数装置は、単に入退場者の
人数を計数するのみではなく、立入禁止区域へ人間が立
ち入るのを監視するためにも用いることができ、また、
エレベータ等の待ち人数の計数にも用いることができ
る。
The passer-by counting device of the present invention can be used not only to count the number of people who enter and exit, but also to monitor the entry of people into the exclusion zone, and
It can also be used to count the number of people waiting for an elevator or the like.

(g)発明の効果 以上のように、この発明の通行者計数装置によれば通
路の上方から真下に向けてカメラで撮影を行い、人間の
頭を抽出してカウントするので通路が混雑しても頭が重
なりあうことがないため正確に人間をカウントすること
ができる。また、抽出した移動物体から、円形の物を抽
出し、この抽出された円形の移動物体から人間の頭と略
同じ大きさである物に対してのみ、パターンマッチング
等を行って人間であるかどうかを判定するように構成し
たため、四角等の明らかに人間でない移動物体に対して
は判定を行わない。したがって、移動物体が人間である
かどうかの判定回数を減少させることとなり、処理時間
を短縮することができる。また、通路を横切る帯状エリ
アを前記移動物体が通過するときに人間であるかどうか
を判定するため、同じ移動物体に対しても何度も判定を
行わないので、判定回数をさらに減少させることとな
り、処理時間を短縮することができる。また、カメラを
設置するのみで通路の全体をカバーすることができるた
め、設置が容易になり、メンテナンスが楽になる利点が
ある。また、人間の移動方向別に計数が行われるので、
例えば店舗への入退店の状況等を簡単に把握することが
できる。
(G) Effect of the Invention As described above, according to the passer-by counting apparatus of the present invention, the camera is photographed from above the passage to right below, and the human head is extracted and counted, so that the passage is congested. However, since the heads do not overlap, humans can be accurately counted. In addition, if a circular object is extracted from the extracted moving object, and if the extracted circular moving object is a person having a size substantially the same as that of a human head, pattern matching or the like is performed to determine whether the person is a human. Since it is configured to determine whether the moving object is a square or the like, the determination is not performed on an apparently non-human moving object. Therefore, the number of determinations as to whether the moving object is a human is reduced, and the processing time can be shortened. Further, since it is determined whether or not the moving object is a human when the moving object passes through the strip-shaped area that crosses the passage, the determination is not repeated for the same moving object. The processing time can be shortened. Further, since the entire passage can be covered only by installing the camera, there is an advantage that the installation is easy and the maintenance is easy. Also, because the counting is performed according to the moving direction of the human,
For example, it is possible to easily grasp the status of entering and leaving the store.

さらに、この発明の売上処理装置によれば、通行者の
数と過去または現在の売上と天気、温度、湿度等の天候
データ等を含む情報を取り込んで通行者と売上、通行者
と天候、売上と天候等の関係の系統や予測を行うことが
できる。
Further, according to the sales processing device of the present invention, the number of pedestrians and past or present sales and information including weather data such as weather, temperature, humidity, etc. are taken in to obtain pedestrians and sales, pedestrians and weather, sales. It is possible to make a system and forecast of relations such as weather conditions.

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

第1図はこの発明上記売上統計装置の構成図、第2図は
同売上統計装置のカメラの設置形態を示す図、第3図は
同売上統計装置の入退場者計数装置の本体の構成を示す
図、第4図は前記制御部22の動作を示すフローチャー
ト、第5図および第6図は前記入退場者計数装置のモニ
タの画像を示す図である。 1……カメラ、2……本体、3,5……モニタ、 4……コンピュータ、6……POS端末装置。 10……出入口(通路)、11……通行者、 21……画像処理部。
FIG. 1 is a block diagram of the sales statistics device of the present invention, FIG. 2 is a diagram showing a camera installation form of the sales statistics device, and FIG. 3 is a structure of a main body of an entrance / exit counting device of the sales statistics device. FIG. 4, FIG. 4 is a flowchart showing the operation of the control unit 22, and FIGS. 5 and 6 are views showing images on the monitor of the entrance / exit counting apparatus. 1 ... Camera, 2 ... Main body, 3,5 ... Monitor, 4 ... Computer, 6 ... POS terminal device. 10 …… Gateway (passage), 11 …… Passers, 21 …… Image processing section.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】通路の上方から真下に向けて設置されたカ
メラと、前記通路を移動する移動物体を前記カメラが撮
影した画像から抽出する移動物体抽出手段と、前記カメ
ラが撮影した画像に設定された通路を横切る帯状のエリ
アを前記移動物体が通過するときに該移動物体が人間で
あるかどうかを判定する移動物体判定手段と、前記移動
物体が人間であると判定したときに該人間の移動方向を
抽出する移動方向抽出手段と、前記画像データ内の通路
における前記抽出された人間の画像を移動方向別に計数
する手段と、を備え、 前記移動物体判定手段は、前記移動物体抽出手段で抽出
された移動物体のうちで円形の移動物体のみを抽出し、
人間の頭と略同じ大きさの移動物体に対してのみパター
ンマッチング等の処理を行って前記移動物体が人間であ
るかどうかを判定する手段であることを特徴とする通行
者計数装置。
1. A camera installed from above an aisle to directly below, a moving object extracting means for extracting a moving object moving in the aisle from an image captured by the camera, and an image captured by the camera. Moving object determining means for determining whether or not the moving object is a human when the moving object passes through a strip-shaped area that crosses the defined passage; A moving direction extracting unit for extracting a moving direction; and a unit for counting the extracted human images in the passage in the image data for each moving direction, wherein the moving object determining unit is the moving object extracting unit. Of the extracted moving objects, only circular moving objects are extracted,
A passer-by counting device, which is means for determining whether or not the moving object is a human by performing processing such as pattern matching only on a moving object having substantially the same size as a human head.
【請求項2】請求項1記載の通行者計数装置と、前記通
行者計数装置で計数した通行者の数と過去または現在の
売上データと天気、温度、湿度等の天候データ等を含む
情報を取り込んで通行者と売上、通行者と天候、売上と
天候等の関係を含む統計または予測を行う統計予測手段
と、を備えたことを特徴とする売上処理装置。
2. The passer-by-counter according to claim 1, and information including the number of passers-by counted by the pass-by-counter, past or present sales data, weather data such as weather, temperature, humidity and the like. A sales processing device comprising: a statistical prediction unit that captures and makes statistics or predictions including relationships between passers-by and sales, passers-by weather, sales-weather, and the like.
JP2334885A 1990-11-29 1990-11-29 Passerby counting device and sales processing device Expired - Lifetime JPH0823882B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2334885A JPH0823882B2 (en) 1990-11-29 1990-11-29 Passerby counting device and sales processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2334885A JPH0823882B2 (en) 1990-11-29 1990-11-29 Passerby counting device and sales processing device

Publications (2)

Publication Number Publication Date
JPH04199487A JPH04199487A (en) 1992-07-20
JPH0823882B2 true JPH0823882B2 (en) 1996-03-06

Family

ID=18282317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2334885A Expired - Lifetime JPH0823882B2 (en) 1990-11-29 1990-11-29 Passerby counting device and sales processing device

Country Status (1)

Country Link
JP (1) JPH0823882B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011095864A (en) * 2009-10-27 2011-05-12 Fujitsu Ltd Counting program, counting device and counting method

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4832734B2 (en) * 2004-07-23 2011-12-07 株式会社日立製作所 People counting system
JP4799910B2 (en) * 2005-06-02 2011-10-26 ノルベルト・リンク Apparatus and method for detecting a person in a survey area
JP2007082197A (en) * 2006-08-18 2007-03-29 Nec Corp Monitoring system and its method
JP5159390B2 (en) 2008-03-28 2013-03-06 キヤノン株式会社 Object detection method and apparatus
JP2010250571A (en) * 2009-04-16 2010-11-04 Mitsubishi Electric Corp Person counting device
JP5398341B2 (en) 2009-05-11 2014-01-29 キヤノン株式会社 Object recognition apparatus and object recognition method
JP5583451B2 (en) * 2010-03-31 2014-09-03 綜合警備保障株式会社 People counting device, accuracy evaluation method
JP2013164678A (en) * 2012-02-09 2013-08-22 Nec Corp Presence/absence determination device, method for determining presence/absence, and presence/absence determination program
JP2014191711A (en) * 2013-03-28 2014-10-06 Oki Electric Ind Co Ltd Video analysis device, video analysis method, program, and video analysis system
JP6276519B2 (en) * 2013-05-22 2018-02-07 株式会社 日立産業制御ソリューションズ Person counting device and human flow line analyzing device
KR102428319B1 (en) * 2014-12-24 2022-08-02 주식회사 케이티 Customer information provision method, device and computer program
JP7069840B2 (en) * 2018-03-02 2022-05-18 日本電気株式会社 Individual counting device, individual counting method, individual counting program, and individual counting system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63292386A (en) * 1987-05-26 1988-11-29 Matsushita Electric Works Ltd Counting device for moving object
JPH0277892A (en) * 1988-06-24 1990-03-16 Toshiba Corp Counting device for moving body

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011095864A (en) * 2009-10-27 2011-05-12 Fujitsu Ltd Counting program, counting device and counting method

Also Published As

Publication number Publication date
JPH04199487A (en) 1992-07-20

Similar Documents

Publication Publication Date Title
US5973732A (en) Object tracking system for monitoring a controlled space
US10943204B2 (en) Realtime video monitoring applied to reduce customer wait times
US7590261B1 (en) Method and system for event detection by analysis of linear feature occlusion
JP3521637B2 (en) Passenger number measurement device and entrance / exit number management system using the same
JP5834254B2 (en) People counting device, people counting system, and people counting method
US8452050B2 (en) System and method for counting people near external windowed doors
US7796780B2 (en) Target detection and tracking from overhead video streams
Adam et al. Robust real-time unusual event detection using multiple fixed-location monitors
Barandiaran et al. Real-time people counting using multiple lines
US20120207350A1 (en) Apparatus for identification of an object queue, method and computer program
US20070253595A1 (en) Still Image Queue Analysis System and Method
JPH0823882B2 (en) Passerby counting device and sales processing device
JPH09330415A (en) Picture monitoring method and system therefor
JP2009507295A (en) Object tracking and alarm
JP3183320B2 (en) Counting method and apparatus for each moving object direction
US10936859B2 (en) Techniques for automatically identifying secondary objects in a stereo-optical counting system
JP3218521B2 (en) Moving object detection system using image sensor
Zin et al. A Markov random walk model for loitering people detection
KR102260123B1 (en) Apparatus for Sensing Event on Region of Interest and Driving Method Thereof
JP2004328622A (en) Action pattern identification device
JP3414634B2 (en) People counting system
KR20190078688A (en) Artificial intelligence-based parking recognition system
US20210133491A1 (en) System and method for detecting, tracking and counting human objects of interest with an improved height calculation
JP4607394B2 (en) Person detection system and person detection program
JPH0460880A (en) Moving body discrimination and analysis controlling system