JPS6325783A - Moving object counting device - Google Patents

Moving object counting device

Info

Publication number
JPS6325783A
JPS6325783A JP61169209A JP16920986A JPS6325783A JP S6325783 A JPS6325783 A JP S6325783A JP 61169209 A JP61169209 A JP 61169209A JP 16920986 A JP16920986 A JP 16920986A JP S6325783 A JPS6325783 A JP S6325783A
Authority
JP
Japan
Prior art keywords
moving path
video camera
moving
data
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
JP61169209A
Other languages
Japanese (ja)
Inventor
Mitsumasa Saito
光正 斉藤
Kazuhiro Yanai
柳井 和博
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP61169209A priority Critical patent/JPS6325783A/en
Publication of JPS6325783A publication Critical patent/JPS6325783A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

PURPOSE:To simplify the constitution equipment, and also, to easily cope with a change of a moving path, etc., as well, by executing a detection by photographing the moving path by a video camera. CONSTITUTION:A video camera 1 is placed so as to be opposed to a moving path of an object, and a range containing this moving path is photographed. A photographic video signal from the video camera 1 is stored in a RAM 9 by a frame or field unit at every prescribed interval. Also, plural arbitrary points running along the moving path on a screen of the video signal is set by a keyboard 11. A CPU 4 decides a transition of a data of an address of the RAM 9 corresponding to this set point, detects a moving direction of the object, and also, counts number of pieces.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、例えば任意の会場への人の出入を計測するた
めの移動物体カウント装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a moving object counting device for measuring the entrance and exit of people to, for example, a given venue.

〔発明の概要〕[Summary of the invention]

本発明は移動物体カウント装置に関し、ビデオカメラで
撮影された両面上でポイントを設定し、このポイントの
画像の変化を判断してカウントを行うことにより、極め
て容易に所望の計測を行わせることができるようにした
ものである。
The present invention relates to a moving object counting device, and by setting points on both sides photographed by a video camera and counting by determining changes in images of these points, it is possible to carry out desired measurements extremely easily. It has been made possible.

〔従来の技術〕[Conventional technology]

例えば任意の会場の入場者数と退場者数とを計測する場
合に、従来は光電管装置等の通過検出装置を移動通路と
なる会場の入退場口に設置して、その検出信号をカウン
トすることが行われている。
For example, when measuring the number of people entering and exiting a given venue, conventionally, a passage detection device such as a phototube device is installed at the entry/exit entrance of the venue, which serves as a passageway, and the detection signals are counted. is being carried out.

しかしながらこの場合に、入退場口が一ケ所である場合
は問題が少ないが、複数ケ所である場合にはそれぞれに
装置を設置しなければならず、電源線、信号線等の配線
もあって構成が極めて複雑になる。また入場者と退場者
とを区別してカウントを行う場合には、それぞれ検出装
置を2ゲ並列に設けて、これらの検出信号の発生順序に
よって判別を行うため、装置は2倍必要となり一層構成
が複雑になってしまっていた。
However, in this case, if there is only one entrance/exit, there is not much of a problem, but if there are multiple entrances, equipment must be installed at each, and there is also wiring for power lines, signal lines, etc. becomes extremely complex. In addition, when counting people entering and leaving the venue, two detection devices are installed in parallel for each, and discrimination is made based on the order in which these detection signals are generated, which requires twice as many devices and requires more configuration. It was getting complicated.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

以上述べたように従来の技術では、移動通路ごとに検出
装置を設けるために、配線等を含めた全体の構成が極め
て複雑になってしまうなどの問題点があった。
As described above, in the conventional technology, since a detection device is provided for each movement path, there is a problem that the overall configuration including wiring etc. becomes extremely complicated.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は、物体の移動通路に対向して配されこの移動通
路を含む範囲を撮影するビデオカメラ(11と、このビ
デオカメラからの撮影ビデオ信号を所定間隔ごとにフレ
ームまたはフィールド単位で記憶する1111@!メモ
リ (RAMt9))と、上記撮影ビデオ信号の画面上
の上記移りJiII回路に沿った仕愁の複数のポイント
を設定する手段(キーボード(11) )とを有し、こ
の設定されたポイントに対応する上記画像メモリのアド
レスのデータの変化の推移を判断し°ζ上記物体の移動
方向を検出すると共にその個数をカウント(CPU(4
1)するようにした移動物体カウント装置である。
The present invention includes a video camera (11) that is disposed opposite to a moving path of an object and photographs a range including this moving path, and a video camera (1111) that stores captured video signals from the video camera in units of frames or fields at predetermined intervals. @! memory (RAMt9)) and a means (keyboard (11)) for setting a plurality of points along the transition JiII circuit of the photographed video signal on the screen, and the set points Determines the change in data at the address of the image memory corresponding to °ζ, detects the moving direction of the object, and counts the number (CPU (4)
1) This is a moving object counting device designed to do the following.

〔作用〕[Effect]

これによれば、移動通路をビデオカメラで撮影して検出
を行うので構成設備が簡単であると共に検出ポイントを
任意に設定できるので移動通路の変更等にも容V、に対
応することができる。
According to this, since the moving path is photographed and detected by a video camera, the equipment is simple, and the detection points can be set arbitrarily, so that it is possible to respond to changes in the moving path, etc.

〔実施例〕〔Example〕

第1図において、(1)は物体の移動通路に対向して配
されこの移動通路を含む範囲を撮影するビデオカメラで
あって、このカメラ(1)からの撮影ビデオ信号が2値
化回路(2)に供給され、あらかじめ設定されたレベル
を基準として2値化される。この2値化された信号が直
並列変換回路(3)に供給され、所定の内素クロックで
サンプリングされた信号が所定ビットずつ並列化されて
画像データが形成される。この画像データが中央処理装
置(CP U)(4)のデータバス(5)に供給される
In FIG. 1, (1) is a video camera that is placed opposite to the moving path of an object and photographs an area including this moving path. 2) and is binarized based on a preset level. This binarized signal is supplied to a serial/parallel conversion circuit (3), and the signals sampled at a predetermined internal clock are parallelized by predetermined bits to form image data. This image data is supplied to a data bus (5) of a central processing unit (CPU) (4).

また、カメラ(1)からの撮影ビデオ信号が同期分離回
路(6)に供給され、分離された水平・垂直の同期値号
が座標形成回路(7)に供給されて画面上の位置に対応
した座標データが形成される。この座標データがデータ
バス(5)に供給される。
In addition, the captured video signal from the camera (1) is supplied to the synchronization separation circuit (6), and the separated horizontal and vertical synchronization value codes are supplied to the coordinate formation circuit (7) to correspond to the position on the screen. Coordinate data is formed. This coordinate data is supplied to the data bus (5).

さらにこのデータバス(5)に供給された座標データが
CP U (4)に人力され、所定のメモリアドレスが
形成されてアドレスバス(8)を通じてランダムアクセ
スメモリ (RAM)+91に供給される。そしてこの
指定されたアドレスに変換回路(2)からデータバス(
5)に供給された画像データが書込まれる。これによっ
てRA M (91には、カメラ(1)で撮影された画
像データが、所定の複数フレーム期間おきに、1フイー
ルドまたは1フレ一ム単位で順次書込まれる。
Further, the coordinate data supplied to the data bus (5) is input to the CPU (4), a predetermined memory address is formed, and the data is supplied to a random access memory (RAM) +91 via the address bus (8). Then, this specified address is transferred from the conversion circuit (2) to the data bus (
The image data supplied to 5) is written. As a result, image data photographed by the camera (1) is sequentially written into the RAM (91) in units of one field or one frame at intervals of a plurality of predetermined frame periods.

また、(10)はCP U (41の動作プログラム等
の書込まれたリードオンリーメモリ (ROM)である
Further, (10) is a read-only memory (ROM) in which operating programs of the CPU (41) and the like are written.

さらに(11)はキーボードであって、上下左右の4方
向の移動キー(lla ) 、設定キー(llb )及
び取消キー(llc)が設けられて、このキーボード(
11)からの操作データが10回(洛り12)を通じて
データバス(5)に供給される。そしてCPU(4)に
て移動キー(lla )の操作データに応じて移動する
カーソル信号が形成され、このカーソル信号がデータバ
ス(5)を通じてエリアメモリ (13)に書込まれる
。さらに座標形成回路(7)からの座標データがエリア
メモリ (13)に供給され、読出されたカーソル信号
が並直列変換回路(14)を通じて混合器(15)に供
給され、カメラ(1)からの撮影ビデオ信号に混合され
てモニタ受像機(16)に供給される。
Furthermore, (11) is a keyboard, which is provided with movement keys (lla) in four directions (up, down, left and right), a setting key (llb), and a cancel key (llc).
The operation data from 11) is supplied to the data bus (5) through 10 times (raku12). A cursor signal that moves according to the operation data of the movement key (lla) is formed by the CPU (4), and this cursor signal is written into the area memory (13) via the data bus (5). Further, the coordinate data from the coordinate forming circuit (7) is supplied to the area memory (13), and the read cursor signal is supplied to the mixer (15) through the parallel/serial conversion circuit (14), and the coordinate data from the camera (1) is supplied to the mixer (15) through the parallel/serial conversion circuit (14). The signal is mixed with the captured video signal and supplied to the monitor receiver (16).

これによってモニタ受像機(16)の画面上には移動キ
ー(lla )の操作に応じて任意に移動されるカーソ
ルが表示され、このカーソルが所望の検出位置に移動さ
れたときに設定キー(llb ’)が操作されると、そ
のカーソル位置を中心とした所定の検出エリアがCP 
U (41にて形成され、そのエリアをボす信号がメモ
リ (13)に書込まれる。また既に書込まれた検出エ
リアの位置にカーソルが虫ねられ、この状態で取消キー
(llc)が1桑作されるとその検出エリアが消去され
る。
As a result, a cursor that can be moved arbitrarily according to the operation of the movement key (lla) is displayed on the screen of the monitor receiver (16), and when this cursor is moved to the desired detection position, the setting key (llb ') is operated, a predetermined detection area centered on the cursor position will be
U (formed in 41), and a signal to block that area is written into the memory (13).The cursor is also moved to the position of the detection area that has already been written, and in this state, the cancel key (llc) is pressed. When one mulberry is produced, the detection area is erased.

そしてさらに座標形成回路(′I)からの座標データが
エリアメモリ (13)に供給されると、この座標が検
出エリア内のときに信号がデータバス(5)に供給され
、このときの直並列変換回路(3)からの画像データと
RA M +91の対応するアドレスのデータとがCP
 U (41で比較されて画像の変化が判断される。
Further, when the coordinate data from the coordinate forming circuit ('I) is supplied to the area memory (13), when this coordinate is within the detection area, a signal is supplied to the data bus (5), and the serial/parallel The image data from the conversion circuit (3) and the data at the corresponding address of RAM +91 are transferred to the CP
U (41) is compared to determine a change in the image.

すなわち第2図にはカメラ(1)で撮影さた画像が示さ
れる。この図において内面には仕切棚(21a )(2
1b )  (21c )  (21d )で区切られ
た3つの入退場口が映出されており、ここで入退場者の
移動通路は図中に破線(22a )  (22b ) 
 (22c )で示すようになる。そこでこの移動通路
上に図中に「+」で示すようにカーソルを移動して設定
キー(llb )を操作することによって、図中に円形
にボずように検出エリアが設定される。そしてこの検出
エリアを図中に示すように移動通路に沿って順次設定す
る。
That is, FIG. 2 shows an image taken by the camera (1). In this figure, the inner surface has partition shelves (21a) (2
Three entrance/exit entrances separated by 1b), (21c), and (21d) are shown, and the movement paths for people entering and exiting are indicated by broken lines (22a), (22b) in the figure.
(22c). Therefore, by moving the cursor on this movement path as indicated by a "+" in the figure and operating the setting key (llb), a detection area is set as a circular border in the figure. Then, the detection areas are sequentially set along the movement path as shown in the figure.

さらにこの検出エリア内のmmの変化がCPU(4)で
判断される。すなわち第3図は上述の任意の移動通路に
沿った検出エリアの一部をボし、ここでTは時間軸であ
って所定の複数フレーム期間おきに順次舊込まれた第1
〜第3フレームがポされる。そして第1フレームにおい
てこの前の第0フレーム(図示せず)との間で検出エリ
アの画像の変化の有無が判断され、第2フレームにおい
て第1フレームとの間、第3フレームにおい°ζ第2フ
レームとの間の検出エリアの画像の変化が判断される。
Furthermore, the change in mm within this detection area is determined by the CPU (4). That is, FIG. 3 shows a part of the detection area along the above-mentioned arbitrary movement path, where T is the time axis, and the first detection area is
~The third frame is posted. Then, in the first frame, it is determined whether or not there is a change in the image of the detection area between the previous frame 0 (not shown), and in the second frame and the first frame, and in the third frame Changes in the image of the detection area between two frames are determined.

なお変化の有無の判断は検出エリア内の各対応する画素
の一致の割合が設定された基準値を越えたときに変化が
あったと判断される。そして゛この変化のあった検出エ
リアが図中に斜線を付して示すように第1フレームでA
の検出エリア、゛第2フレームでBの検出エリア、第3
フレームでCの検出エリアとなったときに、AからCの
方向へ移動が1つあったとカウントが行われる。また変
化の順序が逆のときはCからAの方向へ移動が1つあっ
たとカウントが行われる。従って例えばAからCを入場
方向、CからAを退場方向とした場合に、入場者数及び
退場者数を分離してカウントを行うことができる。なお
これらのカウントは移動通路ごとに独立に行ことができ
る。
Note that the presence or absence of a change is determined when the matching ratio of each corresponding pixel in the detection area exceeds a set reference value. Then, the detection area where this change occurred is A in the first frame, as shown with diagonal lines in the figure.
Detection area of B in the second frame, detection area of B in the second frame, third
When the detection area of C is reached in a frame, a count is made if there is one movement from A to C. Furthermore, when the order of change is reversed, one movement from C to A is counted. Therefore, for example, if A to C is the direction of entry and C to A is the direction of exit, the number of people entering and the number of people leaving can be counted separately. Note that these counts can be performed independently for each moving path.

さらに(17)は時計回路であって、この時計回路(1
7)からの時刻データがデータバス(5)に供給される
。そしてCP U (41にて所定の時刻が検出される
と、それまでの所定の時間のカウントの累計値のデータ
がデータバス(5)からIOt[!回路(18)を通じ
て表示装置(またはプリンタ)  (19)に供給され
、図中に示すように検出時刻とそれまでの例えば入場者
及び退場者のカウント値が表示またはプリントアウトさ
れる。
Furthermore, (17) is a clock circuit, and this clock circuit (1
7) is supplied to the data bus (5). When a predetermined time is detected in the CPU (41), the data of the cumulative count of the predetermined time up to that point is sent from the data bus (5) to the display device (or printer) via the IOt[! circuit (18). (19), and as shown in the figure, the detection time and the count values of, for example, people entering and leaving the venue up to that point are displayed or printed out.

こうして入場者数・退場者数のカウントが行われるわけ
であるが、上述の装置によれば、移動通路に向けてビデ
オカメラを設置するだけなので、構成を極めて簡単にす
ることができる。また検出ポイントをモニタ両面を見な
がらキーボードの操作にて容易に設定できるので、例え
ば仕切棚の移動等によって移動通路が変化された場合に
も容易に対応することができ、さらに移動通路が単純な
直線や曲線ではな(、入り組んだ複雑な形状であっても
、容易にその移#J通路に沿った設定を行うことができ
る。また複数の移動通路に対してそれらを独立に検出し
てカウントを行うこともできる。
In this way, the number of people entering and leaving the venue is counted, and according to the above-mentioned device, the configuration can be extremely simple because only a video camera is installed facing the movement path. In addition, detection points can be easily set using the keyboard while viewing both sides of the monitor, making it easy to respond even when the moving path is changed, for example by moving a partition shelf. Even if it is not a straight line or a curved line (or a complex shape), you can easily set it along the movement path.In addition, it is possible to independently detect and count multiple movement paths. You can also do

〔発明の効果〕〔Effect of the invention〕

この発明によれば、移動通路をビデオカメラで撮影して
検出を行うので構成設備が簡単であると共に、検出ポイ
ントを任意に設定できるので移動通路の変更等にも容易
に対応することができるようになった。
According to this invention, since detection is performed by photographing the moving path with a video camera, the configuration equipment is simple, and detection points can be set arbitrarily, so it is possible to easily respond to changes in the moving path, etc. Became.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一例の構成図、第2図、第3図はその
説明のための図である。 (1)はビデオカメラ、(4)はCPU、(91ば画像
メモリとなるランダムアクセスメモリ、(11)はキー
ボードである。
FIG. 1 is a configuration diagram of an example of the present invention, and FIGS. 2 and 3 are diagrams for explaining the same. (1) is a video camera, (4) is a CPU, (91 is a random access memory serving as an image memory, and (11) is a keyboard.

Claims (1)

【特許請求の範囲】 物体の移動通路に対向して配されこの移動通路を含む範
囲を撮影するビデオカメラと、 このビデオカメラからの撮影ビデオ信号を所定間隔ごと
にフレームまたはフィールド単位で記憶する画像メモリ
と、 上記撮影ビデオ信号の画面上の上記移動通路に沿った任
意の複数のポイントを設定する手段とを有し、 この設定されたポイントに対応する上記画像メモリのア
ドレスのデータの変化の推移を判断して上記物体の移動
方向を検出すると共にその個数をカウントするようにし
た移動物体カウント装置。
[Scope of Claims] A video camera that is disposed opposite to a moving path of an object and photographs an area including this moving path, and an image that stores the captured video signal from this video camera in frames or fields at predetermined intervals. a memory; and means for setting a plurality of arbitrary points along the movement path on the screen of the captured video signal, and changes in data at addresses in the image memory corresponding to the set points. A moving object counting device that determines the moving direction of the object and counts the number of objects.
JP61169209A 1986-07-18 1986-07-18 Moving object counting device Pending JPS6325783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61169209A JPS6325783A (en) 1986-07-18 1986-07-18 Moving object counting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61169209A JPS6325783A (en) 1986-07-18 1986-07-18 Moving object counting device

Publications (1)

Publication Number Publication Date
JPS6325783A true JPS6325783A (en) 1988-02-03

Family

ID=15882224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61169209A Pending JPS6325783A (en) 1986-07-18 1986-07-18 Moving object counting device

Country Status (1)

Country Link
JP (1) JPS6325783A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01296387A (en) * 1988-05-24 1989-11-29 Nobuhiko Onuki Method for analyzing operation of moving body by computer
WO2006129442A1 (en) * 2005-05-30 2006-12-07 Olympus Corporation Image processing device and object region tracking program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5230088A (en) * 1975-08-30 1977-03-07 Green Cross Corp Device for detecting abnormal position of skin impedance
JPS5466019A (en) * 1977-11-07 1979-05-28 Fuji Electric Co Ltd Detection system for moving object
JPS61127289A (en) * 1984-11-26 1986-06-14 Matsushita Electric Works Ltd Intrusion warning device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5230088A (en) * 1975-08-30 1977-03-07 Green Cross Corp Device for detecting abnormal position of skin impedance
JPS5466019A (en) * 1977-11-07 1979-05-28 Fuji Electric Co Ltd Detection system for moving object
JPS61127289A (en) * 1984-11-26 1986-06-14 Matsushita Electric Works Ltd Intrusion warning device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01296387A (en) * 1988-05-24 1989-11-29 Nobuhiko Onuki Method for analyzing operation of moving body by computer
WO2006129442A1 (en) * 2005-05-30 2006-12-07 Olympus Corporation Image processing device and object region tracking program
JP2006331347A (en) * 2005-05-30 2006-12-07 Olympus Corp Image processor and object domain tracking program
JP4515332B2 (en) * 2005-05-30 2010-07-28 オリンパス株式会社 Image processing apparatus and target area tracking program
US8019143B2 (en) 2005-05-30 2011-09-13 Olympus Corporation Image processing apparatus and computer program product

Similar Documents

Publication Publication Date Title
US4908704A (en) Method and apparatus for obtaining an object image and distance data of a moving object
WO2012077922A2 (en) 3 dimensional (3d) display system of responding to user motion and user interface for the 3d display system
JPS63223819A (en) Method and apparatus for operating graphic object
WO2013118987A1 (en) Control method and apparatus of electronic device using control device
JPS6325783A (en) Moving object counting device
JPS60207923A (en) Position detector
JP3251228B2 (en) Elevator control method and device
CN114627530A (en) Video central position display system, method and equipment based on face detection
JP2014170367A (en) Object detection device, object detection method, object detection system and program
JPH03195922A (en) Detecting apparatus for degree of congestion
JPS63292386A (en) Counting device for moving object
JPH09190534A (en) Image processor
JPH09179502A (en) Display device
JP2009129131A (en) Passage detection system and passage detection method
JP3185362B2 (en) Moving object detection device
EP4246482A1 (en) User interface navigation method for event-related video
JP2007102343A (en) Interest level measurement system and method, and interest level calculation program
JPH033571A (en) Blurring correction device
JPH02189697A (en) Pattern recognizing device
JPH01187593A (en) Displaying area designating device
JPH03138274A (en) Platform congestion degree detecting device
JPH04196993A (en) Image monitor device
JPH06269007A (en) Arrival order discrimination/time measurement device
JPH10143770A (en) Entering and leaving management system
JP2019164802A (en) Mobile monitoring device, control method, and program