JPH10334207A - Human stream measuring instrument - Google Patents
Human stream measuring instrumentInfo
- Publication number
- JPH10334207A JPH10334207A JP9154371A JP15437197A JPH10334207A JP H10334207 A JPH10334207 A JP H10334207A JP 9154371 A JP9154371 A JP 9154371A JP 15437197 A JP15437197 A JP 15437197A JP H10334207 A JPH10334207 A JP H10334207A
- Authority
- JP
- Japan
- Prior art keywords
- pedestrian
- unit
- data
- parallax
- distance
- 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
Links
Landscapes
- Image Analysis (AREA)
- Geophysics And Detection Of Objects (AREA)
- Image Processing (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、施設利用者数の計
測等に用いる人流計測装置に関し、特に、ステレオ画像
処理による人流計測装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a human flow measuring device used for measuring the number of facility users, and more particularly to a human flow measuring device using stereo image processing.
【0002】[0002]
【従来の技術】まず、複数台の撮像装置によって得られ
る複数の画像を用いて視差データを計測する手法とし
て、ステレオ画像計測技術を図6を用いて説明する。ス
テレオ画像計測技術は、左右2台の撮像装置によって同
一の物体を撮影し、三角測量の原理で、物点pまでの距
離を計測するものである。図6では、光軸が水平かつ平
行に配置された2台の撮像装置の撮像面201、202と、物
点pが示してある。実際には、撮像装置の撮像面201、2
02はx軸より手前に存在するが、説明の便宜上このよう
に示すことにする。今、物点pまでの距離Zpを計測す
るとする。物点pは左右の画像上でそれぞれ点PL、PR
に結像し、点PL、PRの画像上でのx方向の座標をそれ
ぞれXL、XRとすると、視差データSは(式1)のよう
に求められる 視差データS=XL−XR (1) 左右の画像から、点PL(XL,YL)、PR(XR,YR)
{ 但しYL = YR }を見つけ出す処理を、対応付け処
理という。対応付けは、左右の画像中から相関が最も高
い一対の領域を見つけだすことで行なわれる。視差デー
タSから(式2)で、撮像装置から物体pまでの距離Z
pを算出することができる 物点pまでの距離Zp=B×f/S (2) 但し、B:撮像装置の配置間隔、f:レンズの焦点距離
である。2. Description of the Related Art First, a stereo image measurement technique will be described with reference to FIG. 6 as a technique for measuring parallax data using a plurality of images obtained by a plurality of imaging devices. In the stereo image measurement technique, the same object is photographed by two left and right imaging devices, and the distance to the object point p is measured based on the principle of triangulation. FIG. 6 shows the imaging planes 201 and 202 of two imaging apparatuses whose optical axes are arranged horizontally and in parallel, and an object point p. Actually, the imaging surfaces 201 and 2 of the imaging device
Although 02 exists before the x-axis, it will be described in this way for convenience of explanation. Now, and to measure the distance Z p to the object point p. Object points p are points P L and P R on the left and right images, respectively.
Focused on the point P L, P R of the x-direction coordinate on the image each X L, When X R, parallax data S is (Formula 1) as sought parallax data S = X L - X R (1) From the left and right images, the points P L (X L , Y L ) and P R (X R , Y R )
{Where Y L = Y R} the process of finding a called associating process. The association is performed by finding a pair of regions having the highest correlation from the left and right images. From the parallax data S, (Equation 2), the distance Z from the imaging device to the object p
The distance to the object point p can calculate the p Z p = B × f / S (2) where, B: the arrangement interval of the imaging device, f: the focal length of the lens.
【0003】次に、画像処理を用いた人流計測装置とし
て、特開平8-123935号公報に記載された「移動物体方向
別計数方法及び装置」の手法について、図7を用いて説
明する。図7において、301はカメラ、302は動物体、30
3は計数ライン、304はスリット背景画像、305は入力ス
リット画像、306はスリット状動画取得手段、307は背景
更新処理手段、308は動物体差分2値化画像、309は背景
差分及び2値化処理手段、310は連結領域形成処理手
段、311は動物体像、312は計数処理手段、313は通過方
向判定処理手段、314は上方向判定領域、315は下方向判
定領域である。Next, a method of “counting method and apparatus for each moving object direction” described in JP-A-8-123935 will be described with reference to FIG. 7 as a person flow measuring apparatus using image processing. In FIG. 7, 301 is a camera, 302 is a moving object, 30
3 is a counting line, 304 is a slit background image, 305 is an input slit image, 306 is a slit-shaped moving image acquisition means, 307 is a background update processing means, 308 is a moving object difference binarized image, 309 is a background difference and binarized The processing means, 310 is a connected area forming processing means, 311 is a moving object image, 312 is a counting processing means, 313 is a passing direction determination processing means, 314 is an upward determination area, and 315 is a downward determination area.
【0004】道路、床、コンベア等の平面に対して適当
な俯角をもって、カメラ301を設置し、平面上を移動す
る動物体302の動画像を撮影する。画像中に設けた計数
ライン303上の画素値を、物体が通過していない状態で
逐次更新した値を背景値とし、動物体が通過することに
よって経時的に変化する計数ライン上の画素値と前記背
景値とで差分をとり、差分値を2値化処理して計数ライ
ン上での動物体領域を抽出したのが、動物体差分2値化
画像308である。A camera 301 is installed at an appropriate depression angle with respect to a plane such as a road, a floor, a conveyor or the like, and a moving image of a moving object 302 moving on the plane is photographed. The pixel value on the counting line 303 provided in the image, the value sequentially updated in a state where the object does not pass is used as the background value, and the pixel value on the counting line that changes over time due to the passing of the moving object and The moving object difference binarized image 308 is obtained by taking a difference with the background value and binarizing the difference value to extract a moving object region on the counting line.
【0005】次に、計数ラインごとの動物体領域を、時
間順に連結(ラベリング)して、動物体像311を形成す
る。計数処理手段312では、動物体の計数を行なう。形
成された動物体像311が複数の動物体からなる場合は、
動物体像を基準値で割ることによって、動物体像に含ま
れる人数や個数を算出する。動物体像が単数の動物体か
らなる場合は、単純に動物体像を計数する。[0005] Next, a moving object image 311 is formed by connecting (labeling) moving object regions for each counting line in chronological order. The counting processing means 312 counts the number of moving objects. When the formed moving object image 311 is composed of a plurality of moving objects,
The number of persons and the number of persons included in the moving object image are calculated by dividing the moving object image by the reference value. When the moving object image includes a single moving object, the moving object image is simply counted.
【0006】移動方向の判定は、通過方向判定処理手段
313で行なわれる。上方向判定領域314と下方向判定領域
315に、計数ライン上で用いたのと同様な差分2値化処
理を行なう方向判定用スリット316を設定し、動物体の
検出の連続性から動物体の移動方向を判定する。The moving direction is determined by a passing direction determining means.
At 313. Upward determination area 314 and downward determination area
At 315, a direction determination slit 316 for performing a difference binarization process similar to that used on the counting line is set, and the moving direction of the moving object is determined from the continuity of the moving object detection.
【0007】[0007]
【発明が解決しようとする課題】従来の人流計測装置に
おいては、歩行者が単独で通過する場合は精度良く計数
を行なうことができるが、複数の人がかたまって通過し
た場合には、検出された領域の大きさを一人あたりの検
出領域の基準値で割り、おおよその通過人数として算出
していた。これは、画像の輝度情報のみでは、複数の歩
行者を一人ずつ分離して検出することが困難であるため
である。さらに画像撮影手段に関しては、道路や歩道、
床等における歩行者を、その上方部に俯角をもって設置
した撮像装置によって撮影していたので、手前の歩行者
により奥の歩行者がほとんど見えなくなるという状況が
発生した。以上により、特に混雑時は計数精度が十分な
ものではなかった。In the conventional people flow measuring device, counting can be performed with high accuracy when a pedestrian passes alone, but when a plurality of people collectively pass, detection is not possible. The size of the detected area is divided by the reference value of the detection area per person, and is calculated as an approximate number of passers. This is because it is difficult to separate and detect a plurality of pedestrians one by one using only the luminance information of the image. Furthermore, regarding image capturing means, roads, sidewalks,
Since a pedestrian on a floor or the like is photographed by an image pickup device installed at a depressed angle above the pedestrian, a situation in which a pedestrian in the back becomes almost invisible to a pedestrian in the foreground has occurred. As described above, especially at the time of congestion, the counting accuracy was not sufficient.
【0008】本発明の第1の目的は、歩行者が複数、か
つ、かたまって計数ラインを通過する場合であっても、
それらを個々に分離検出し、計数の精度を向上すること
にある。[0008] A first object of the present invention is to provide a portable telephone system in which a plurality of pedestrians pass through a counting line.
An object of the present invention is to separate and detect them individually to improve counting accuracy.
【0009】また、従来の方式では、複数の歩行者同士
が互いにすれ違うような混雑時に、個々の移動方向を判
別することは困難であった。Further, in the conventional method, it is difficult to determine the direction of movement of each of the pedestrians when the pedestrians are congested such that they pass each other.
【0010】本発明の第2の目的は、歩行者個々の正確
な位置を把握し、これを追跡することによって、精度良
く移動方向を判定することである。A second object of the present invention is to determine a moving direction with high accuracy by grasping the exact position of each pedestrian and tracking this.
【0011】また、従来の方式では検出対象は移動して
いることを前提としており、静止した歩行者を検出する
ことが困難であった。そのため、静止する歩行者が発生
する可能性の高い混雑時に、精度良く混雑度を計測する
ことができなかった。In the conventional method, it is assumed that the detection target is moving, and it is difficult to detect a stationary pedestrian. For this reason, it was not possible to accurately measure the congestion degree at the time of congestion in which a stationary pedestrian is likely to occur.
【0012】本発明の第3の目的は、いかなる混雑状況
下でも精度良く混雑度を計測できるようにすることであ
る。A third object of the present invention is to make it possible to accurately measure the congestion degree under any congestion condition.
【0013】[0013]
【課題を解決するための手段】第1の課題を解決するた
めに本発明では、階段と複数の撮像装置の位置関係を適
切にとることによって、死角が少ない、画像処理に適し
た画像を獲得し、さらにステレオ画像計測によって得ら
れる距離データを用いて、個々の歩行者を精度良く分離
して認識し計数する。これによって歩行者の計数精度が
向上する。In order to solve the first problem, the present invention obtains an image suitable for image processing with a small blind spot by appropriately setting the positional relationship between a staircase and a plurality of imaging devices. Further, individual pedestrians are accurately separated and recognized and counted using distance data obtained by stereo image measurement. This improves the counting accuracy of pedestrians.
【0014】第2の課題を解決するために本発明では、
ステレオ画像計測により得られる、撮像装置から歩行者
までの距離データを用いて歩行者の位置を精度良く把握
し、これを追跡して移動方向を判定する。これによって
精度良く移動方向の判定を行なうことができる。In order to solve the second problem, the present invention provides:
The position of the pedestrian is accurately grasped using the distance data from the imaging device to the pedestrian obtained by the stereo image measurement, and the movement direction is determined by tracking this. This makes it possible to determine the moving direction with high accuracy.
【0015】第3の課題を解決するために本発明では、
ステレオ画像計測により得られる、撮像装置から歩行者
までの距離データを用いて、静止した歩行者をも検出し
て混雑度を計測する。これによって混雑時の混雑度を精
度良く計測することができる。In order to solve the third problem, the present invention provides:
Using the distance data from the imaging device to the pedestrian obtained by stereo image measurement, a stationary pedestrian is also detected and the congestion degree is measured. Thus, the degree of congestion at the time of congestion can be accurately measured.
【0016】[0016]
【発明の実施の形態】本発明の請求項1に記載の発明
は、階段に対し所定の俯角をもって設置された複数台の
撮像装置と、前記複数台の撮像装置からの複数の画像間
で相関が高い領域を対応付けて視差データを獲得する対
応付け部と、前記視差データから距離データを獲得する
視差距離変換部と、前記距離データから歩行者の存在す
る位置を認識する認識部と、前記歩行者の位置を時間的
に追跡して計数する計数部とを備えたものであり、階段
に複数の撮像装置を設置して死角の少ないステレオ画像
を獲得し、歩行者を時間的に追跡して計数することによ
り、計数精度を向上するという作用を有する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The invention according to claim 1 of the present invention relates to a method for detecting a correlation between a plurality of imaging devices installed at a predetermined depression angle with respect to a stair and a plurality of images from the plurality of imaging devices. An associating unit that acquires disparity data by associating a region with a higher area, a disparity distance converter that acquires distance data from the disparity data, a recognizer that recognizes a position where a pedestrian is present from the distance data, A counting unit that tracks and counts the position of the pedestrian over time, and installs a plurality of imaging devices on the stairs to acquire a stereo image with a small blind spot, and tracks the pedestrian over time. The counting has the effect of improving the counting accuracy.
【0017】本発明請求項2に記載の発明は、階段に対
し所定の俯角をもって設置された複数台の撮像装置と、
前記複数台の撮像装置からの複数の画像間で相関が高い
領域を対応付けて視差データを獲得する対応付け部と、
前記視差データから距離データを獲得する視差距離変換
部と、前記距離データを2次元平面に投影する投影部
と、投影像から歩行者の存在する位置を認識する認識部
と、前記2次元平面上での歩行者の位置を時間的に追跡
して計数する計数部とを備えたものであり、階段に複数
の撮像装置を設置して死角の少ないステレオ画像を獲得
し、距離データを水平面上に投影して歩行者を分離し、
歩行者を時間的に追跡して計数することにより計数精度
を向上するという作用を有する。According to a second aspect of the present invention, there are provided a plurality of image pickup devices installed at a predetermined depression angle with respect to a stair,
An associating unit that acquires disparity data by associating a region having a high correlation between a plurality of images from the plurality of imaging devices,
A parallax distance conversion unit that acquires distance data from the parallax data, a projection unit that projects the distance data on a two-dimensional plane, a recognition unit that recognizes a position of a pedestrian from a projection image, With a counting unit that tracks and counts the position of the pedestrian in time with a plurality of imaging devices on the stairs to acquire a stereo image with little blind spots, and distance data on the horizontal plane Project and separate pedestrians,
It has the effect of improving the counting accuracy by tracking and counting pedestrians over time.
【0018】本発明請求項3に記載の発明は、階段に対
し所定の俯角をもって設置された複数台の撮像装置と、
前記複数台の撮像装置からの複数の画像間で相関が高い
領域を対応付けて視差データを獲得する対応付け部と、
前記視差データから距離データを獲得する視差距離変換
部と、前記距離データから歩行者の存在する位置を認識
する認識部と、前記歩行者の位置を時間的に追跡して移
動方向を判定する移動方向判定部を備えたものであり、
階段に複数の撮像装置を設置して死角の少ないステレオ
画像を獲得し、歩行者を時間的に追跡して移動方向を判
定することにより移動方向判定精度を向上するという作
用を有する。According to a third aspect of the present invention, there are provided a plurality of image pickup devices installed at a predetermined depression angle with respect to a stair,
An associating unit that acquires disparity data by associating a region having a high correlation between a plurality of images from the plurality of imaging devices,
A parallax distance conversion unit that acquires distance data from the parallax data, a recognition unit that recognizes a position of a pedestrian from the distance data, and a movement that temporally tracks the position of the pedestrian to determine a moving direction It is provided with a direction determination unit,
A plurality of imaging devices are installed on the stairs to acquire a stereo image with a small blind spot, and the pedestrian is tracked temporally to determine the moving direction, thereby improving the moving direction determination accuracy.
【0019】本発明請求項4に記載の発明は、階段に対
し所定の俯角をもって設置された複数台の撮像装置と、
前記複数台の撮像装置からの複数の画像間で相関が高い
領域を対応付けて視差データを獲得する対応付け部と、
前記視差データから距離データを獲得する視差距離変換
部と、前記距離データから歩行者の存在する位置を認識
する認識部と、前記歩行者の存在する位置から撮像領域
の混雑度合を測定する混雑度判定部とを備えたものであ
り、階段に複数の撮像装置を設置して死角の少ないステ
レオ画像を獲得し、歩行者が単位面積当たりにどれだけ
存在するかで混雑度を判定することにより混雑度判定精
度を向上するという作用を有する。According to a fourth aspect of the present invention, there are provided a plurality of image pickup devices installed at a predetermined angle of depression with respect to the stairs,
An associating unit that acquires disparity data by associating a region having a high correlation between a plurality of images from the plurality of imaging devices,
A parallax distance conversion unit for acquiring distance data from the parallax data, a recognition unit for recognizing a position where a pedestrian is present from the distance data, and a congestion degree for measuring a congestion degree of an imaging region from the position where the pedestrian is present It is equipped with a judgment unit, and a plurality of imaging devices are installed on the stairs to acquire a stereo image with a small blind spot, and congestion is determined by determining the degree of congestion based on how many pedestrians exist per unit area. This has the effect of improving the degree determination accuracy.
【0020】以下、本発明の実施の形態について図1〜
図5を参照して説明する。Hereinafter, embodiments of the present invention will be described with reference to FIGS.
This will be described with reference to FIG.
【0021】(第1の実施の形態)本発明の第1の実施
の形態は、複数の撮像装置と、複数画像から視差を求め
る対応付け部と、視差から距離を求める視差距離変換部
と、距離データを水平面に投影する投影部と、歩行者の
位置を認識する認識部と、歩行者を追跡して計数する計
数部とを備えた人流計測装置である。(First Embodiment) In a first embodiment of the present invention, a plurality of image pickup apparatuses, an associating section for obtaining parallax from a plurality of images, a parallax distance converting section for obtaining a distance from parallax, This is a person flow measuring device including a projection unit that projects distance data on a horizontal plane, a recognition unit that recognizes the position of a pedestrian, and a counting unit that tracks and counts pedestrians.
【0022】本発明の第1の実施の形態の人流計測装置
について、図1を用いて説明する。101は階段を示し、1
02は階段を通行する歩行者を示す。103は複数台の撮像
装置であり、所定の間隔をもって複数台平行に、かつそ
れらの光軸(104)は水平に近い角度を持つように設置す
る。105は対応付け部を示し、複数の画像間で相関が高
い領域を対応付けて視差データを算出する。106は視差
距離変換部を示し、対応付け部105で得られた視差デー
タを距離データに変換する。107は認識部であり、歩行
者の位置を個々に分離して認識する(108)。110は計数部
であり、計数ライン(109)を通過する歩行者を計数す
る。A person flow measuring device according to a first embodiment of the present invention will be described with reference to FIG. 101 indicates stairs, 1
02 indicates a pedestrian walking on the stairs. Reference numeral 103 denotes a plurality of imaging devices, which are arranged in parallel at a predetermined interval and their optical axes (104) have an angle close to horizontal. Reference numeral 105 denotes an associating unit, which calculates disparity data by associating regions having a high correlation between a plurality of images. Reference numeral 106 denotes a parallax distance conversion unit, which converts the parallax data obtained by the association unit 105 into distance data. Reference numeral 107 denotes a recognition unit, which separately recognizes the position of the pedestrian (108). 110 is a counting unit that counts pedestrians passing through the counting line (109).
【0023】以下において、階段102、対応付け部105、
視差距離変換部106、認識部107、計数部110についてさ
らに詳細に説明する。In the following, stairs 102, associating unit 105,
The parallax distance conversion unit 106, the recognition unit 107, and the counting unit 110 will be described in more detail.
【0024】・階段(102) 駅、建築物、歩道等に見られる、歩行者が昇降する一般
的な階段である。光軸がほぼ水平になるように設置され
た、複数の撮像装置によってこれを撮影する。なお、こ
の階段はエスカレータであってもよい。Stairs (102) These are general stairs for pedestrians ascending and descending, which are found in stations, buildings, sidewalks and the like. This is photographed by a plurality of imaging devices installed so that the optical axis is substantially horizontal. This stair may be an escalator.
【0025】・対応付け部(105) 対応付け部では、複数の撮像装置によって得られた画像
を逐次入力する。ここでは、複数台の撮像装置とは、左
右2台のカメラからなるステレオカメラとする。ステレ
オカメラから得られる左右画像のうち、左の画像を基準
とし、左画像(111)を水平X方向にM個、垂直Y方向に
N個の計M×N個のブロックに区切り、従来の技術で説
明したとおり、ステレオ画像計測によって、左画像中各
ブロック(X,Y)ごとに視差データS(X,Y)を獲得す
る。The associating unit (105) The associating unit sequentially inputs images obtained by a plurality of image pickup devices. Here, the plurality of imaging devices is a stereo camera including two left and right cameras. The left image (111) is divided into M blocks in the horizontal X direction and N blocks in the vertical Y direction, a total of M × N blocks, based on the left image among the left and right images obtained from the stereo camera. As described above, the parallax data S (X, Y) is obtained for each block (X, Y) in the left image by stereo image measurement.
【0026】・視差距離変換部(106) 視差距離変換部では、対応付け部で得られた視差データ
S(X,Y)を、従来の技術の説明で用いた(式2)を用い
て、距離データZ(X,Y)に変換する。Parallax distance converter (106) The parallax distance converter uses the parallax data S (X, Y) obtained by the associating unit by using (Equation 2) used in the description of the conventional technique. Convert to distance data Z (X, Y).
【0027】・認識部(107) 対応付け部(105)と視差距離変換部(106)では、歩行者ま
での距離も背景である階段までの距離も同じように扱っ
てきたが、ここであらかじめ計測してあった階段の距離
データ(背景の距離データ)と、ある時刻に得られた距離
データZ(X,Y)を比較し、得られた距離データZ(X,Y)が
階段までの距離を示す場合は、以降の処理では用いな
い。次に、歩行者の距離データZ(Z,Y)を、X軸とZ軸
からなる水平な2次元平面(108)に投影してラベリング
することで、ある時刻tの歩行者の位置WLK(X,Z,t)
を得る。なお、前記2次元平面を構成するX軸は、基準
とする左画像上の水平方向の位置を示し、Z軸はステレ
オカメラから歩行者までの光軸上での距離を示す。Recognition unit (107) In the correspondence unit (105) and the parallax distance conversion unit (106), the distance to the pedestrian and the distance to the background stairs have been treated in the same manner. The measured stairs distance data (background distance data) is compared with the distance data Z (X, Y) obtained at a certain time, and the obtained distance data Z (X, Y) is When indicating the distance, it is not used in the subsequent processing. Next, the pedestrian distance data Z (Z, Y) is projected and labeled on a horizontal two-dimensional plane (108) consisting of the X axis and the Z axis, so that the position WLK ( X, Z, t)
Get. Note that the X-axis constituting the two-dimensional plane indicates a horizontal position on the left image as a reference, and the Z-axis indicates a distance on the optical axis from the stereo camera to the pedestrian.
【0028】投影処理を行なうことによって、あたかも
歩行者の真上から見たように、その位置を把握すること
ができる。また、左画像(111)上では、前後に歩行者が
重なって見えるが、カメラからの距離Zがそれぞれ異な
るため、2次元平面(108)上では個々の歩行者毎に分離
できる。By performing the projection processing, the position of the pedestrian can be grasped as if it were viewed from directly above. In addition, on the left image (111), pedestrians appear to overlap each other before and after, but since the distances Z from the camera are different, each pedestrian can be separated on the two-dimensional plane (108).
【0029】・計数部(110) 計数部では、2次元平面(X,Z)上において、ある時刻t
における個々に分離して認識された歩行者の位置WLK
(X,Z,t)を時間的に追跡し、計数ライン(109)を通過した
時点で計数する。The counting unit (110) In the counting unit, a certain time t on the two-dimensional plane (X, Z)
Pedestrian position WLK separately recognized in
(X, Z, t) is temporally tracked and counted when passing through the counting line (109).
【0030】以上のように、本発明の第1の実施の形態
の人流計測装置では、階段に所定の俯角をもって複数の
撮像装置を設置することによって、死角の少ないステレ
オ画像が獲得できる。さらに、距離データを水平な2次
元平面上に投影することで歩行者を分離して個々にその
位置を把握でき、個々の歩行者の位置を時間的に追跡し
て計数することにより、歩行者の計数精度を向上させる
ことができる (第2の実施の形態)本発明の第2の実施の形態は、複数
の撮像装置と、複数の画像から視差を求める対応付け部
と、視差から距離を求める視差距離変換部と、歩行者を
認識する認識部と、歩行者の移動方向を判定する移動方
向判定部を備えた人流計測装置である。As described above, in the people flow measuring device according to the first embodiment of the present invention, a stereo image with a small blind spot can be obtained by installing a plurality of imaging devices on the stairs with a predetermined depression angle. Furthermore, by projecting distance data on a horizontal two-dimensional plane, pedestrians can be separated and their positions can be individually grasped. (Second Embodiment) A second embodiment of the present invention provides a plurality of imaging devices, an associating unit that obtains parallax from a plurality of images, and a distance from parallax. This is a person flow measuring device including a required parallax distance conversion unit, a recognition unit that recognizes a pedestrian, and a movement direction determination unit that determines a movement direction of the pedestrian.
【0031】本発明の第2の実施の形態の人流計測装置
について、図2と図3を用いて説明する。複数台の撮像
装置401、対応付け部402、視差距離変換部403、認識部4
04については、第1の実施の形態の場合と同様である。
移動方向判定部405では、歩行者の移動方向判定を行な
う。移動方向の判定は、認識部404で得られた歩行者の
位置501であるWLK(X,Z,t)を図3のように時間的に追
跡し、時刻tから時刻t+Δまでにおける歩行者の位置
の移動量を算出することで、階段を上っている歩行者か
下っている歩行者か、あるいは静止している歩行者かを
判定する。A person flow measuring device according to a second embodiment of the present invention will be described with reference to FIGS. Plural imaging devices 401, associating unit 402, parallax distance converting unit 403, recognizing unit 4
04 is the same as in the first embodiment.
The moving direction determining unit 405 determines the moving direction of the pedestrian. The determination of the moving direction is performed by temporally tracking WLK (X, Z, t), which is the position 501 of the pedestrian obtained by the recognition unit 404, as shown in FIG. By calculating the amount of movement of the position, it is determined whether the pedestrian is up, down, or stationary.
【0032】歩行者を個別に認識して追跡し、歩行者の
移動量と移動方向を判定するので、どの方向にどんな速
度で歩く歩行者がどれだけいるかというような、歩行者
の移動状況の詳しい分布を求めることができる。また、
歩行者の動いた軌跡を求めることも容易にできる。Since the pedestrians are individually recognized and tracked and the pedestrian's movement amount and movement direction are determined, the pedestrian's movement situation, such as how many pedestrians walk in which direction and at what speed, is determined. Detailed distribution can be obtained. Also,
The trajectory of the pedestrian's movement can be easily obtained.
【0033】以上のように、本発明の第2の実施の形態
では、人流計測装置を、撮像装置と対応付け部と視差距
離変換部と認識部と、個々の歩行者を時間的に追跡して
移動方向を判定する移動方向判定部を備えた構成とした
ので、歩行者の移動方向判定の精度が向上する (第3の実施の形態)本発明の第3の実施の形態は、複数
の撮像装置と、複数画像から視差を求める対応付け部
と、視差から距離を求める視差距離変換部と、歩行者を
認識する認識部と、混雑度合を測定する混雑度判定部と
を備えた人流計測装置である。As described above, according to the second embodiment of the present invention, the human flow measuring device tracks the pedestrian in time with the imaging device, the associating unit, the parallax distance converting unit, and the recognizing unit. (Third Embodiment) The third embodiment of the present invention has a configuration in which a moving direction determination unit that determines a moving direction is provided. A human flow measurement including an imaging device, an associating unit that obtains parallax from a plurality of images, a parallax distance conversion unit that obtains a distance from parallax, a recognition unit that recognizes a pedestrian, and a congestion degree determination unit that measures the degree of congestion. Device.
【0034】本発明の第3の実施の形態の人流計測装置
について、図4と図5を用いて説明する。複数台の撮像
装置601、対応付け部602、視差距離変換部603、認識部6
04については、第1の実施の形態の場合と同様である。
混雑度判定部605は、撮像装置の撮像範囲において認識
された歩行者701が、どの程度存在しているかを判定す
る。例えば、図5の上図に示すように、ある時刻におい
て、撮像範囲内に存在すると認識された歩行者の数があ
らかじめ決定されている閾値より多ければ混雑と判断
し、図5の下図に示すように、閾値より小さければ非混
雑と判定する。撮像範囲内全体の混雑度だけでなく、撮
像範囲を複数の領域に区切って、各領域ごとの混雑度を
判定することも可能である。A person flow measuring device according to a third embodiment of the present invention will be described with reference to FIGS. Plurality of imaging devices 601, association unit 602, parallax distance conversion unit 603, recognition unit 6
04 is the same as in the first embodiment.
The congestion degree determination unit 605 determines how many pedestrians 701 recognized in the imaging range of the imaging device are present. For example, as shown in the upper diagram of FIG. 5, if the number of pedestrians recognized as being within the imaging range at a certain time is larger than a predetermined threshold, it is determined that the pedestrian is congested, and the lower diagram of FIG. As described above, if it is smaller than the threshold, it is determined that the traffic is not congested. Not only the degree of congestion in the entire imaging range but also the degree of congestion for each area can be determined by dividing the imaging range into a plurality of areas.
【0035】以上のように、本発明の第3の実施の形態
では、人流計測装置を、撮像装置と対応付け部と視差距
離変換部と認識部と、個々の歩行者が単位面積当たりに
どれだけ存在するかによって混雑度を判定する混雑度判
定部とを備えた構成としたので、階段における混雑度の
判定精度が向上するなお、ある時刻における撮像範囲内
の歩行者の存在数だけではなく、歩行者の移動速度を勘
案して混雑度を判断することも可能である。As described above, according to the third embodiment of the present invention, the human flow measuring device includes an imaging device, an associating unit, a parallax distance converting unit, and a recognizing unit. And the congestion degree determination unit that determines the degree of congestion depending on whether there is only one, so that the accuracy of determining the degree of congestion on the stairs is improved. It is also possible to determine the congestion degree in consideration of the pedestrian's moving speed.
【0036】[0036]
【発明の効果】以上のように、本発明によれば、階段に
複数の撮像装置を設置することで、死角の少ない画像を
獲得し、さらに、ステレオ画像計測によって得られる距
離データを用いて、個々の歩行者の位置を精度良く認識
することで、歩行者の計数精度が向上し、歩行者の移動
方向を精度良く判定できるという効果が得られる。As described above, according to the present invention, by installing a plurality of image pickup devices on the stairs, an image with a small blind spot is obtained, and further, by using the distance data obtained by the stereo image measurement, By accurately recognizing the position of each pedestrian, the counting accuracy of the pedestrian is improved, and an effect that the moving direction of the pedestrian can be accurately determined can be obtained.
【0037】また、静止中、移動中に拘わらず、個々の
歩行者の位置を認識することで、混雑度を精度良く判定
できるという効果が得られる。In addition, by recognizing the position of each pedestrian regardless of whether the vehicle is stationary or moving, the degree of congestion can be accurately determined.
【図1】本発明の第1の実施の形態の人流計測装置の構
成を示すブロック図、FIG. 1 is a block diagram showing a configuration of a person flow measuring device according to a first embodiment of the present invention;
【図2】本発明の第2の実施の形態の人流計測装置の構
成と歩行者の移動方向の判定を行なう処理の流れを示す
ブロック図、FIG. 2 is a block diagram showing a configuration of a person flow measuring device according to a second embodiment of the present invention and a flow of processing for determining a moving direction of a pedestrian;
【図3】本発明の第2の実施の形態の人流計測装置にお
ける移動方向の判定についての説明図、FIG. 3 is an explanatory diagram for determining a moving direction in a people flow measuring device according to a second embodiment of the present invention;
【図4】本発明の第3の実施の形態の人流計測装置の構
成と階段の混雑度を判定する処理の流れを示すブロック
図、FIG. 4 is a block diagram showing a configuration of a person flow measuring device according to a third embodiment of the present invention and a flow of processing for determining the degree of congestion on stairs;
【図5】本発明の第3の実施の形態の人流計測装置にお
ける混雑度の判定についての説明図、FIG. 5 is a diagram illustrating a determination of a congestion degree in the people flow measuring device according to the third embodiment of the present invention;
【図6】従来の技術におけるステレオ画像計測の原理を
示す説明図、FIG. 6 is an explanatory view showing the principle of stereo image measurement in a conventional technique,
【図7】従来の技術の人流計測装置の構成と処理の流れ
を示すブロック図である。FIG. 7 is a block diagram showing a configuration and a processing flow of a conventional human flow measuring device.
101 階段 102 歩行者 103、401、601 複数台の撮像装置 104 カメラ光軸 105、402、602 対応付け部 106、403、603 視差距離変換部 107、404、604 認識部 108 2次元平面 109 計数ライン 110 計数部 201 左画像 202 右画像 B 基線長(カメラ間隔) p 物点 310 カメラ 302 動物体 303 計数ライン 304 スリット背景画像 305 入力スリット画像 306 スリット状動画像取得手段 307 背景更新手段 308 動物体差分2値化画像 309 背景差分処理及び2値化処理手段 310 連結領域形成処理手段 311 動物体像 312 計数処理手段 313 通過方向判定処理手段 314 上方向判定領域 315 下方向判定領域 316 方向判定用スリット 405 移動方向判定部 501、701 認識された歩行者の位置 605 混雑度判定部 101 Stairs 102 Pedestrian 103, 401, 601 Multiple imaging devices 104 Camera optical axis 105, 402, 602 Correspondence unit 106, 403, 603 Parallax distance conversion unit 107, 404, 604 Recognition unit 108 Two-dimensional plane 109 Count line 110 Counting unit 201 Left image 202 Right image B Baseline length (camera interval) p Object point 310 Camera 302 Moving object 303 Counting line 304 Slit background image 305 Input slit image 306 Slit moving image acquisition means 307 Background updating means 308 Moving object difference Binary image 309 Background difference processing and binarization processing means 310 Connected area forming processing means 311 Animal image 312 Counting processing means 313 Passing direction determination processing means 314 Upper direction determination area 315 Lower direction determination area 316 Direction determination slit 405 Moving direction determination unit 501, 701 Recognized pedestrian position 605 Congestion degree determination unit
Claims (4)
た複数台の撮像装置と、前記複数台の撮像装置からの複
数の画像間で相関が高い領域を対応付けて視差データを
獲得する対応付け部と、前記視差データから距離データ
を獲得する視差距離変換部と、前記距離データから歩行
者の存在する位置を認識する認識部と、前記歩行者の位
置を時間的に追跡して計数する計数部とを備えたことを
特徴とする人流計測装置。1. A method of acquiring disparity data by associating a plurality of imaging devices installed at a predetermined depression angle with respect to a stair and regions having a high correlation between a plurality of images from the plurality of imaging devices. Unit, a parallax distance conversion unit that obtains distance data from the parallax data, a recognition unit that recognizes a position of a pedestrian from the distance data, and a counting unit that tracks and counts the position of the pedestrian over time. A human flow measuring device comprising:
た複数台の撮像装置と、前記複数台の撮像装置からの複
数の画像間で相関が高い領域を対応付けて視差データを
獲得する対応付け部と、前記視差データから距離データ
を獲得する視差距離変換部と、前記距離データを2次元
平面に投影する投影部と、投影像から歩行者の存在する
位置を認識する認識部と、前記2次元平面上での歩行者
の位置を時間的に追跡して計数する計数部とを備えたこ
とを特徴とする人流計測装置。2. A method of acquiring disparity data by associating a plurality of imaging devices installed at a predetermined depression angle with respect to a stair with regions having a high correlation between a plurality of images from the plurality of imaging devices. A parallax distance conversion unit that obtains distance data from the parallax data, a projection unit that projects the distance data onto a two-dimensional plane, a recognition unit that recognizes a position of a pedestrian from a projection image, A counting section for tracking and counting the position of the pedestrian on a three-dimensional plane with time;
た複数台の撮像装置と、前記複数台の撮像装置からの複
数の画像間で相関が高い領域を対応付けて視差データを
獲得する対応付け部と、前記視差データから距離データ
を獲得する視差距離変換部と、前記距離データから歩行
者の存在する位置を認識する認識部と、前記歩行者の位
置を時間的に追跡して移動方向を判定する移動方向判定
部を備えたことを特徴とする人流計測装置。3. A method of acquiring disparity data by associating a plurality of imaging devices installed at a predetermined depression angle with respect to the stairs with an area having a high correlation between a plurality of images from the plurality of imaging devices. Unit, a parallax distance conversion unit that obtains distance data from the parallax data, a recognition unit that recognizes a position where a pedestrian is present from the distance data, and a movement direction that tracks the position of the pedestrian temporally. A human flow measuring device comprising a moving direction determining unit for determining.
た複数台の撮像装置と、前記複数台の撮像装置からの複
数の画像間で相関が高い領域を対応付けて視差データを
獲得する対応付け部と、前記視差データから距離データ
を獲得する視差距離変換部と、前記距離データから歩行
者の存在する位置を認識する認識部と、前記歩行者の存
在する位置から撮像領域の混雑度合を測定する混雑度判
定部とを備えたことを特徴とする人流計測装置。4. A method of associating a plurality of imaging devices installed at a predetermined depression angle with respect to a stair with regions having a high correlation between a plurality of images from the plurality of imaging devices to obtain disparity data. Unit, a parallax distance conversion unit that obtains distance data from the parallax data, a recognition unit that recognizes a position where a pedestrian is present from the distance data, and measures a congestion degree of an imaging region from a position where the pedestrian is present. And a congestion degree determining unit that performs the measurement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9154371A JPH10334207A (en) | 1997-05-29 | 1997-05-29 | Human stream measuring instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP9154371A JPH10334207A (en) | 1997-05-29 | 1997-05-29 | Human stream measuring instrument |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH10334207A true JPH10334207A (en) | 1998-12-18 |
Family
ID=15582704
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP9154371A Pending JPH10334207A (en) | 1997-05-29 | 1997-05-29 | Human stream measuring instrument |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH10334207A (en) |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001323445A (en) * | 2000-05-12 | 2001-11-22 | Toko Electric Corp | Fish quantity measurement device going up the fishway |
JP2002074371A (en) * | 2000-08-31 | 2002-03-15 | Mitsubishi Electric Corp | Image processor |
JP2003037836A (en) * | 2001-07-24 | 2003-02-07 | Ntt Docomo Inc | Image distribution method, image distribution system, computer-readable recording medium, and computer program |
JP2003085563A (en) * | 2001-09-12 | 2003-03-20 | Giken Torasutemu Kk | Separation counter |
JP2003288663A (en) * | 2002-03-28 | 2003-10-10 | Seiko Epson Corp | Mobile object guidance system, mobile object guidance method, and information recording medium |
JP2004191083A (en) * | 2002-12-09 | 2004-07-08 | Mitsubishi Electric Corp | Person detection device |
JP2004301607A (en) * | 2003-03-31 | 2004-10-28 | Honda Motor Co Ltd | Moving object detection device, moving object detection method, and moving object detection program |
JP2005157635A (en) * | 2003-11-25 | 2005-06-16 | Matsushita Electric Ind Co Ltd | Congestion level measuring device, facility control system and congestion level measuring method |
JP2005326966A (en) * | 2004-05-12 | 2005-11-24 | Mitsubishi Electric Corp | Person counting apparatus |
JP2008008640A (en) * | 2006-06-27 | 2008-01-17 | Hcx:Kk | Moving body detection device |
JP2008084269A (en) * | 2006-09-29 | 2008-04-10 | Mitsubishi Precision Co Ltd | Person detection system |
JP2008201509A (en) * | 2007-02-19 | 2008-09-04 | Mitsubishi Precision Co Ltd | Person behavior discriminating system |
US7650012B2 (en) | 2004-09-02 | 2010-01-19 | Giken Trastem Co., Ltd. | Moving-object height determining apparatus by image processing of two-dimensional image |
JP2010117216A (en) * | 2008-11-12 | 2010-05-27 | Mitsubishi Precision Co Ltd | Congestion detection device |
WO2012111138A1 (en) * | 2011-02-18 | 2012-08-23 | 株式会社日立製作所 | Pedestrian movement information detection device |
JP2012221366A (en) * | 2011-04-12 | 2012-11-12 | Glory Ltd | Object recognition method and object recognition device |
JP2015103104A (en) * | 2013-11-26 | 2015-06-04 | キヤノン株式会社 | Information processing apparatus, information processing method, and information processing system |
JP2017153333A (en) * | 2016-02-26 | 2017-08-31 | 国立大学法人九州大学 | Power demand prediction device and power demand prediction system including the same, and power demand predication method |
JP2019117573A (en) * | 2017-12-27 | 2019-07-18 | 三菱電機株式会社 | Person counter and person counting method |
JP2020145511A (en) * | 2019-03-04 | 2020-09-10 | パナソニックi−PROセンシングソリューションズ株式会社 | Camera device, person detection method, and person detection system |
-
1997
- 1997-05-29 JP JP9154371A patent/JPH10334207A/en active Pending
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001323445A (en) * | 2000-05-12 | 2001-11-22 | Toko Electric Corp | Fish quantity measurement device going up the fishway |
JP2002074371A (en) * | 2000-08-31 | 2002-03-15 | Mitsubishi Electric Corp | Image processor |
JP2003037836A (en) * | 2001-07-24 | 2003-02-07 | Ntt Docomo Inc | Image distribution method, image distribution system, computer-readable recording medium, and computer program |
JP2003085563A (en) * | 2001-09-12 | 2003-03-20 | Giken Torasutemu Kk | Separation counter |
JP2003288663A (en) * | 2002-03-28 | 2003-10-10 | Seiko Epson Corp | Mobile object guidance system, mobile object guidance method, and information recording medium |
JP2004191083A (en) * | 2002-12-09 | 2004-07-08 | Mitsubishi Electric Corp | Person detection device |
JP2004301607A (en) * | 2003-03-31 | 2004-10-28 | Honda Motor Co Ltd | Moving object detection device, moving object detection method, and moving object detection program |
JP2005157635A (en) * | 2003-11-25 | 2005-06-16 | Matsushita Electric Ind Co Ltd | Congestion level measuring device, facility control system and congestion level measuring method |
JP2005326966A (en) * | 2004-05-12 | 2005-11-24 | Mitsubishi Electric Corp | Person counting apparatus |
US7650012B2 (en) | 2004-09-02 | 2010-01-19 | Giken Trastem Co., Ltd. | Moving-object height determining apparatus by image processing of two-dimensional image |
JP2008008640A (en) * | 2006-06-27 | 2008-01-17 | Hcx:Kk | Moving body detection device |
JP2008084269A (en) * | 2006-09-29 | 2008-04-10 | Mitsubishi Precision Co Ltd | Person detection system |
JP2008201509A (en) * | 2007-02-19 | 2008-09-04 | Mitsubishi Precision Co Ltd | Person behavior discriminating system |
JP2010117216A (en) * | 2008-11-12 | 2010-05-27 | Mitsubishi Precision Co Ltd | Congestion detection device |
WO2012111138A1 (en) * | 2011-02-18 | 2012-08-23 | 株式会社日立製作所 | Pedestrian movement information detection device |
JP2012221366A (en) * | 2011-04-12 | 2012-11-12 | Glory Ltd | Object recognition method and object recognition device |
JP2015103104A (en) * | 2013-11-26 | 2015-06-04 | キヤノン株式会社 | Information processing apparatus, information processing method, and information processing system |
JP2017153333A (en) * | 2016-02-26 | 2017-08-31 | 国立大学法人九州大学 | Power demand prediction device and power demand prediction system including the same, and power demand predication method |
JP2019117573A (en) * | 2017-12-27 | 2019-07-18 | 三菱電機株式会社 | Person counter and person counting method |
JP2020145511A (en) * | 2019-03-04 | 2020-09-10 | パナソニックi−PROセンシングソリューションズ株式会社 | Camera device, person detection method, and person detection system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH10334207A (en) | Human stream measuring instrument | |
US11232326B2 (en) | System and process for detecting, tracking and counting human objects of interest | |
JP4127545B2 (en) | Image processing device | |
US9275472B2 (en) | Real-time player detection from a single calibrated camera | |
Boltes et al. | T-junction: Experiments, trajectory collection, and analysis | |
JP5075672B2 (en) | Object detection apparatus and method | |
JP3183320B2 (en) | Counting method and apparatus for each moving object direction | |
JP2009143722A (en) | Person tracking apparatus, person tracking method and person tracking program | |
JP2002024986A (en) | Pedestrian detector | |
CN109344690A (en) | A kind of demographic method based on depth camera | |
CN103473554A (en) | People flow statistical system and people flow statistical method | |
JPH11282999A (en) | Moving object measurement device | |
JP2004298285A (en) | Judgment device and judgment method of walking condition and pedestrian attribute | |
KR20150029551A (en) | Determining source lane of moving item merging into destination lane | |
JP3710548B2 (en) | Vehicle detection device | |
JP2007316856A (en) | Moving object detection apparatus, computer program, and moving object detection method | |
JP3629935B2 (en) | Speed measurement method for moving body and speed measurement device using the method | |
JP5981284B2 (en) | Object detection device and object detection method | |
JPH10255057A (en) | Mobile object extracting device | |
CN107274396B (en) | Device for counting number of people | |
JP3891181B2 (en) | Method and apparatus for automatically calculating camera parameters | |
KR101733657B1 (en) | System for object counter using camera based on range image and counting method thereof | |
KR102448944B1 (en) | A speed measuring method and speed measuring device for measuring the speed of a vehicle object by correcting the perspective distortion of the image | |
JP5891802B2 (en) | Vehicle position calculation device | |
JP3837572B2 (en) | Image recognition apparatus, method and program for visually handicapped person |