JP7303384B2 - Passenger number counting system and passenger number counting device - Google Patents
Passenger number counting system and passenger number counting device Download PDFInfo
- Publication number
- JP7303384B2 JP7303384B2 JP2022526590A JP2022526590A JP7303384B2 JP 7303384 B2 JP7303384 B2 JP 7303384B2 JP 2022526590 A JP2022526590 A JP 2022526590A JP 2022526590 A JP2022526590 A JP 2022526590A JP 7303384 B2 JP7303384 B2 JP 7303384B2
- Authority
- JP
- Japan
- Prior art keywords
- counting
- passengers
- video
- vehicle
- passenger
- 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.)
- Active
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B61—RAILWAYS
- B61L—GUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
- B61L25/00—Recording or indicating positions or identities of vehicles or trains or setting of track apparatus
- B61L25/02—Indicating or recording positions or identities of vehicles or trains
- B61L25/04—Indicating or recording train identities
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Image Processing (AREA)
- Time Recorders, Dirve Recorders, Access Control (AREA)
- Traffic Control Systems (AREA)
Description
本発明は、乗降者数計数システム及び乗降者数計数装置に関する。 The present invention relates to a passenger number counting system and a passenger number counting device.
日本においては、都市部への人口集中が進む一方、地方では、人口減少が進み、バスや電車等の公共交通機関の維持が大きな社会的課題となっている。このような中で、バス会社や公共交通機関を運営するには、更なる運行の効率化などが求められている。 In Japan, while the population is concentrating in urban areas, the population is declining in rural areas, and the maintenance of public transportation such as buses and trains has become a major social issue. Under such circumstances, there is a demand for further efficiency improvement in operation in order to operate bus companies and public transportation.
バスや電車等の公共交通機関の維持及び運用の効率化を図るためには、まずは公共交通機関の利用状況を正確に把握する必要がある。
このような目的を達成するための技術手段の1つとしては、空港や駅等の公共の場所に滞在している人数を推定し、混雑の度合いを判定する技術が存在する。
例えば、WO2017/122258(特許文献1)には、「監視カメラを用いて施設全体の混雑度を可視化するシステムを提供する。システムは、監視カメラ映像から群衆を検知し、そのエッジ量から群衆の大きさ(人数)を導くことで、カメラ映像範囲内の混雑状況を推定する。また通過人数カウンタや、群衆の大きさと移動速度などに基づいて人流(人の移動量)を計算し、モデル化した群衆行動パターンに基づいて、カメラ映像範囲以外のエリアの人数を推定する。モデルは、BIC(Bayesian Information Criteria)等の統計的モデル選択手法により、分布関数やそのパラメータを選択することで構築される。混雑状況はマップ上にプロットされ、即座に当該エリアの混雑状況を把握できる」との記載がある。In order to improve the efficiency of maintenance and operation of public transportation such as buses and trains, it is first necessary to accurately grasp the usage of public transportation.
As one of technical means for achieving such an object, there is a technique for estimating the number of people staying in public places such as airports and train stations and determining the degree of congestion.
For example, WO2017/122258 (Patent Literature 1) describes, “A system for visualizing the degree of congestion in an entire facility using surveillance cameras. By deriving the size (number of people), the congestion situation within the range of the camera image is estimated.In addition, the flow of people (the amount of movement of people) is calculated and modeled based on the number of people passing by, the size of the crowd, and the speed of movement. The model is constructed by selecting the distribution function and its parameters using a statistical model selection method such as BIC (Bayesian Information Criteria). Congestion conditions are plotted on the map, and the congestion status of the area can be grasped immediately.”
上記の特許文献1には、空港や駅等の商業施設で、当該商業施設に滞在する人数が計数しやすいように専用に設置されたカメラからの映像を分析することで、当該商業施設の混雑度を推定することが記載されている。
In the above-mentioned
しかし、特許文献1には、バスや電車への適用が想定されていない上、人数が計数しやすいように専用に設置されたカメラが必要となる。このため、バスや電車等の公共交通機関に適用する場合には、新たなカメラの導入が必要となり、またこれらのカメラを設置するにあたり人間の手間がかかるため、コストが大きくなってしまう。そのため、特に予算が限られている地方の公共交通機関にとっては、導入が難しく、より低コストで利用状況を把握する技術が求められている。
However, in
そこで、本発明は、バスや電車等の公共交通機関に設置されているカメラ等のセンサによって取得された映像を用いて、公共交通機関の少なくとも乗車数または降者数を正確に計数することで、公共交通機関の利用状況を低コストで把握する手段を提供することを目的とする。 Therefore, the present invention uses images acquired by sensors such as cameras installed in public transportation such as buses and trains to accurately count at least the number of people getting on or off the public transportation. The purpose is to provide a means to grasp the usage status of public transportation at low cost.
上記の課題を解決するために、代表的な本発明の乗降者数計数装置の1つは、乗り物の乗降口を撮影可能な撮影装置からの映像を受信する受付部と、前記映像に対して所定の画像処理手段を施すことにより、前記乗り物の乗降者数を計数し、計数結果を出力する計数部とを含む。 In order to solve the above-mentioned problems, one typical passenger number counting device of the present invention includes a reception unit for receiving an image from a photographing device capable of photographing a vehicle entrance and exit, and a counting unit that counts the number of people getting on and off the vehicle by applying a predetermined image processing means, and outputs the counting result.
本発明によれば、バスや電車等の乗り物に既に設置されている防犯カメラ等の既存のセンサによって取得された映像を用いて、乗り物の乗降者数を正確に計数することで、公共交通機関の利用状況を低コストで把握する手段を提供することができる。
上記した以外の課題、構成および効果は、以下の発明を実施するための形態の説明により明らかにされる。According to the present invention, by accurately counting the number of people getting on and off the vehicle using images acquired by existing sensors such as security cameras already installed in vehicles such as buses and trains, public transportation It is possible to provide a means for grasping the usage status of the at low cost.
Problems, configurations, and effects other than those described above will be clarified by the following description of the mode for carrying out the invention.
(本発明の概要)
上述したように、人口減少が進む中、バスや電車等の公共交通機関を効率よく維持するためには、公共交通機関の利用状況を正確に把握する手段が求められている。
そこで、本発明は、バスや電車の乗り物内に設置されている既存のカメラから取得されている乗降口若しくは乗り口または降り口の映像を分析することで、停留所毎に、乗車した人数及び降車した人数を自動的にカウントする手段を提供する。より具体的には、カメラから取得されている乗降口若しくは乗り口または降り口の映像を、例えばオブジェクト検出手段を用いて解析することで、人間として判定されたオブジェクトが、映像上に描写されている判定線を通過する回数をカウントすることで、誤認識を避け、乗り物の乗降者数若しくは乗車人数又は降車人数を正確に把握することができる。
本発明に係る乗降者数計数手段では、乗り物に既に設置されている既存のカメラが用いられるため、新たなカメラの購入及び設置が不要となり、コストを抑えることができる。また、クラウド型の情報管理を行い、いわゆるビッグデータ解析を用いて、例えば異なる自治体等に運行されている交通手段の利用状況を合わせて分析することで、特定の路線の全体の利用状況をより正確に把握することができる。(Outline of the present invention)
As described above, in order to efficiently maintain public transportation systems such as buses and trains as the population continues to decline, there is a demand for means for accurately grasping the usage status of public transportation systems.
Therefore, the present invention analyzes images of boarding/alighting gates, boarding gates, or alighting gates acquired from existing cameras installed inside buses and trains. To provide a means for automatically counting the number of people who More specifically, by analyzing the image of the entrance/exit acquired from the camera using, for example, an object detection means, an object determined to be a human being is depicted on the image. By counting the number of times that the determination line is crossed, erroneous recognition can be avoided, and the number of people getting on and off the vehicle, or the number of people getting on or off the vehicle can be accurately grasped.
In the passenger number counting means according to the present invention, since an existing camera already installed in the vehicle is used, there is no need to purchase and install a new camera, and costs can be reduced. In addition, by performing cloud-type information management and using so-called big data analysis, for example, by analyzing the usage status of transportation modes operated by different local governments, etc., we can better understand the overall usage status of a specific route. can be accurately grasped.
以下、図面を参照して、従来例及び本発明の実施形態について説明する。なお、この実施形態により本発明が限定されるものではない。また、図面の記載において、同一部分には同一の符号を付して示している。 A conventional example and an embodiment of the present invention will be described below with reference to the drawings. It should be noted that the present invention is not limited by this embodiment. Moreover, in the description of the drawings, the same parts are denoted by the same reference numerals.
まず、図1~図2を参照して、本発明の実施形態に係る乗降者数計数システムについて説明する。 First, a passenger number counting system according to an embodiment of the present invention will be described with reference to FIGS. 1 and 2. FIG.
図1は、本発明の実施形態に係る乗降者数計数システム100のハードウェア構成の一例を示す図である。図1に示すように、乗降者数計数システム100は、クライアント端末105A、105B、105C、ネットワーク110、及び乗降者数計数装置125からなる。クライアント端末105A、105B、105Cと乗降者数計数装置125とが、ネットワーク110を介して接続されている。
FIG. 1 is a diagram showing an example of the hardware configuration of a passenger
クライアント端末105A、105B、105Cは、バスや電車等の乗り物の乗降口、若しくは、乗り口及び/または降り口の映像を、例えば専用のアップロード用サイト(後述する図2に示すアップロード用サイト224)を介して、乗降者数計数装置125に送信し、乗降者数計数処理を依頼するための端末である。例えば、乗り物が自治体に運行されているバスの場合、クライアント端末105A、105B、105Cは、バス事業者の管理者に利用される端末であってもよい。
また、クライアント端末105A、105B、105Cは、別個のカメラによって取得された映像をアップロードするための専用端末であってもよく、取得した映像をリアルタイムでネットワーク110を介して直接に乗降者数計数装置125に送信するカメラであってもよい。
なお、図1には、クライアント端末105A、105B、105Cの3つを含む構成を一例として示しているが、本発明はこれに限定されず、クライアント端末の数は例えば1つだけでもよく、4つ以上でもよく、適宜に選択されてもよい。The
In addition, the
Although FIG. 1 shows a configuration including three
上述したように、乗降者数計数装置125は、乗降者数計数処理の対象となる分析用映像に対する画像分析処理を施すことにより、乗り物に乗車する人数を表す乗車人数と、乗り物を降車する人数である降車人数を判定する機能を提供する装置である。
より具体的には、乗降者数計数装置125は、受付部130と、判定部135と、計数部140と、ストレージ部155とを含む。As described above, the passenger number counting
More specifically, passenger number counting
受付部130は、乗り物の乗降口若しくは乗り口または降り口を撮影するように設置されたカメラ等の撮影装置からの映像を受信する機能部である。例えば、受付部130は、専用のアップロード用サイトを介して、分析用映像をクライアント端末105A、105B、105Cのいずれかから取得してもよい。また、受付部130は、入力された分析用映像を判定部135に転送する。
The reception unit 130 is a functional unit that receives an image from a photographing device such as a camera installed to photograph a boarding/alighting gate of a vehicle, a boarding gate, or an alighting gate. For example, the reception unit 130 may acquire the analysis video from any of the
判定部135は、受付部130から受信した分析用映像の中から、乗り物の停車に対応する映像セグメントを判定する機能部である。判定部135は、例えば、既存のオブジェクト検出手段を用いて分析用映像を解析することで、乗り物が所定の時間以上に停車していることに対応するイベントを含むフレームシーケンスを分析用映像セグメントとして特定し、当該映像セグメントを抽出する。ここで、判定部135は、このオブジェクト検出手段を用いて分析用映像を最初から最後まで分析することで、複数の映像セグメントを抽出してもよい。
このように、判定部135は、オブジェクト検出手段を用いて受付部130から受信した映像を解析することで、乗り物が停車している際の映像を特定し、乗客が乗降する可能性の高い映像セグメントを判別することができる。ここで抽出した映像セグメントに対して後述する乗降者数計数処理を行うことで、全体の映像を分析した場合に比べて、より効率よく乗降者数若しくは乗車人数又は降車人数を計数することができる。The determination unit 135 is a functional unit that determines a video segment corresponding to a stop of the vehicle from the analysis video received from the reception unit 130 . For example, the determination unit 135 analyzes the analysis video using existing object detection means, and determines a frame sequence including an event corresponding to the vehicle being stopped for a predetermined time or longer as an analysis video segment. Identify and extract the relevant video segment. Here, the determination unit 135 may extract a plurality of video segments by analyzing the analysis video from the beginning to the end using this object detection means.
In this way, the determination unit 135 uses the object detection means to analyze the video received from the reception unit 130 to identify the video when the vehicle is stopped, and identify the video when the passenger is likely to get on and off. Segments can be determined. By performing the process of counting the number of boarding and alighting passengers, which will be described later, on the video segment extracted here, the number of boarding and alighting passengers, the number of passengers, and the number of alighters can be counted more efficiently than when analyzing the entire video. .
計数部140は、判定部135から受信した映像セグメントに対して所定の画像処理手段を施すことにより、分析用映像に写る乗り物の乗降者数、若しくは、乗車人数及び/又は降車人数を計数し、計数結果を出力する。例えば、計数部140は、受信した分析用映像の画角に基づいて、乗降者数計数用の判定線の画像上の位置(乗降口付近若しくは乗り口または降り口等)を決定し、決定した位置に判定線を描写した後、人間と判定されたオブジェクトが当該判定線を通過する回数を計数することにより、乗り物の乗降者数若しくは乗車人数及び/又は降車人数を集計してもよい。また、計数部140は、この処理を、判定部135によって判定された映像セグメントのそれぞれに対して行うことによって、乗り物が停車する各停留所毎に、乗り物の乗降者数若しくは乗車人数及び/又は降車人数を集計することができる。 The counting unit 140 counts the number of people getting on and off the vehicle, or the number of people getting on and/or getting off the vehicle in the video for analysis by performing a predetermined image processing means on the video segment received from the determination unit 135, Output the counting result. For example, the counting unit 140 determines the position on the image of the judgment line for counting the number of passengers (near the boarding/alighting gate, or the boarding/alighting gate, etc.) based on the angle of view of the received analysis image. After the determination line is drawn at the position, the number of people getting on and off the vehicle or the number of people getting on and/or getting off the vehicle may be tallied by counting the number of times an object determined to be a human passes through the determination line. In addition, the counting unit 140 performs this processing on each of the video segments determined by the determination unit 135, thereby calculating the number of passengers getting on and off the vehicle or the number of passengers and/or getting off the vehicle for each stop at which the vehicle stops. The number of people can be counted.
ストレージ部155は、上述した機能部が用いる各種データを格納するための記憶部である。例えば、ストレージ部155は、受付部130が受信した分析用映像や、判定部135が当該分析用映像から抽出した映像セグメント等を一次的に格納してもよい。ここでのストレージ部155は、例えば、フラッシュメモリ、ハードディスクドライブ等、任意の記憶媒体であってもよい。 The storage unit 155 is a storage unit for storing various data used by the functional units described above. For example, the storage unit 155 may temporarily store the analysis video received by the reception unit 130, the video segment extracted from the analysis video by the determination unit 135, and the like. The storage unit 155 here may be any storage medium such as flash memory, hard disk drive, or the like.
次に、図2を参照して、本発明の実施形態に係る乗降者数計数システムの一例について説明する。 Next, an example of a passenger number counting system according to an embodiment of the present invention will be described with reference to FIG.
図2は、本発明の実施形態に係る乗降者数計数システム100をバス事業者に提供する場合の一例を示す図である。以下では、本発明の実施形態に係る乗降者数計数システム100がバス事業者に提供され、計数処理の対象乗り物がバスである場合を一例として説明するが、本発明はこれに限定されず、本発明の実施形態に係る乗降者数計数手段は自動車、電車、モノレール、飛行機、船舶など、任意の乗り物に対して適用されてもよい。
FIG. 2 is a diagram showing an example of providing a
図2に示すように、本発明の実施形態に係る乗降者数計数システム100は、バス事業者側210とシステム管理者側220とを含んでもよい。また、バス事業者側210は、例えば、バス事業を経営する企業や自治体によって管理される側であり、図2に示すように、バス212、カメラ213、録画映像媒体214、及びアップロード用PC216を含んでもよい。
As shown in FIG. 2 , the passenger
バス212は、例えば、民間企業、路線バス事業者、自治体等によって運行されているバスであり、コミュニティバス、廃止代替バス等、任意のバスであってもよい。また、バス212は、小型バス、中型バス、大型バス等を含んでもよい。
The
図2に示すように、バス212は、カメラ213を含む。このカメラ213は、例えば、防犯カメラ等の既に設置されている既存のカメラであってもよく、専用に設置されたカメラであってもよいが、コストを抑える観点から、既存のカメラであることが望ましい。カメラ213は、バス212の乗降口若しくは乗り口または降り口を撮影し、乗客が乗車したり、降車したりする映像を取得するように構成されている。このため、カメラ213は、バスの乗降口若しくは乗り口または降り口が良く写る角度に設置されることが望ましい。
なお、カメラ213の数は、バス212の大きさや乗降口若しくは乗り口または降り口の数等によって、任意に選択されてもよいが、全ての乗客の乗降を網羅する観点から、乗降口若しくは乗り口または降り口の数に等しいことが望ましい。例えば、ある実施形態では、バス212は、乗車専用入口と降車専用出口の2つの乗降口がある場合には、バス212は、これらの二つの乗降口を撮影する2つのカメラ213を含んでもよい。As shown in FIG. 2,
Note that the number of
録画映像媒体214は、例えばカメラ213に取得された映像を保存するための記憶媒体であり、例えばSDカード、USBメモリ、HDD、SSD、フラッシュメモリ等、任意のストレージ媒体であってもよい。
The recorded
アップロード用PC216は、録画映像媒体214に保存されている、バス212のカメラ213によって取得された映像を、システム管理者側220が提供するアップロード用サイト224にアップロードするためのコンピューティングデバイスである。アップロード用PC216は、例えば、デスクトップコンピュータ、ノートブックコンピュータ、タブレット、スマートフォン、専用の端末等、任意のコンピューティングデバイスであってもよい。アップロード用PC216は、例えば図1に示すクライアント端末に対応する。
アップロード用PC216は、録画映像媒体214に保存されている、バス212のカメラ213によって取得された映像を、Wi-Fi等の無線LAN経由でアップロードしてもよく、有線LAN経由でアップロードしてもよい。The upload
The upload
システム管理者側220は、例えば、乗り物の乗降者数若しくは乗車人数又は降車人数を計数する機能を提供し、管理する側であり、図2に示すように、システム管理者PC222、アップロード用サイト224、乗降者数計数装置125、及びCSVファイル228を含む。
The
システム管理者側220におけるアップロード用サイト224、乗降者数計数装置125、及びCSVファイル228は、所定のクラウド環境230において実施されてもよい。ここでのクラウド環境230は、例えば、スケーラブルなコンピューティングリソースをネットワーク上のサービスとして提供するものである。より具体的には、クラウド環境230は、コンピューティングリソースとその土台となる技術アーキテクチャ(例えば、サーバ、ストレージ、ネットワーク)間の抽象化を行い、共有されているコンピューティングリソースがユーザや管理者の介入なしに迅速に提供され得るサービスである。
The upload
システム管理用PC222は、乗降者数計数装置125の管理を行うためのコンピューティングデバイスである。システム管理用PC222は、例えば、アップロード用サイト224を介してアップロード用PC216からアップロードされている映像を確認したり、乗降者数計数装置125の設定を調整したり、乗降者数計数装置125による計数結果を示すCSVファイルを確認したりする機能を提供する。
また、システム管理用PC222は、アップロード用PC216と同様に、デスクトップコンピュータ、ノートブックコンピュータ、タブレット、スマートフォン、専用の端末等、任意のコンピューティングデバイスであってもよい。The
Also, the
アップロード用サイト224は、バス212のカメラ213によって取得され、アップロード用PC216を介してアップロードされる、乗降者数計数装置による乗降者数計数処理の対象となる映像をクラウド環境230にアップロードするためのウエブサイトである。
The
乗降者数計数装置125は、アップロード用サイト224を介してアップロードされる、乗降者数計数処理の対象となる分析用映像に対する画像分析処理を施すことにより、バス212が停車する停留所毎に、バス212に乗車する乗車人数と、バス212に降車する降車人数を判定する機能を提供する装置である。
なお、乗降者数計数装置125構成は、例えば図1に示す乗降者数計数装置125に実質的に対応する。そのため、ここでの説明を省略する。The passenger
The configuration of the passenger
CSVファイル228は、乗降者数計数装置125による乗車計数処理によって判定された乗車人数及び(又は)降車人数の結果を示すデータである。このCSVファイル228は、バス事業者210に送信されてもよく、更なる分析のために別の機能部に転送されてもよい。
The
上述した乗降者数計数システム100の一例を説明する。まず、バス212車内に設置された、乗降口若しくは乗り口または降り口を撮影するカメラ213は、バス212に乗車したり、降車したりする乗客の映像を取得し、録画映像媒体214に保存する。バス212が例えば車庫に戻った際に、バスの運転手やバス事業者側210の管理者が、アップロード用PC216を用いて、録画映像媒体214に保存されている映像をシステム管理者側220のアップロード用サイト224にアップロードする。
この映像を受信したアップロード用サイト224は、受信した映像を乗降者数計数装置125に転送する。乗降者数計数装置125は、例えば上述した判定部及び計数部などの機能部を用いて、この分析用映像に対して所定の画像分析処理を施すことにより、バス212が停留する停留所毎に、バス212に乗車する乗車人数と、バス212に降車する降車人数を判定する。ここで判定されたバス停留所毎の乗車人数及び(又は)降車人数の結果は、CSVファイル228へと出力される。その後、出力したCSVファイルは、バス事業者側210に送信されてもよく、更なる分析のために別の機能部に転送されてもよい。An example of the passenger
The
なお、以上では、カメラ213によって取得された映像が録画映像媒体214に保存され、アップロード用PC216を介してシステム管理者側220に送信される構成を一例として説明したが、本発明はこれに限定されない。例えば、カメラ213がインターネットに接続されており、取得した映像をリアルタイムで直接にアップロード用サイトにアップロードする構成も可能である。この場合には、録画映像媒体214及びアップロード用PC216が不要となるため、映像を手動でアップロードする手間が省ける上、乗降者数計数装置125による計数結果をリアルタイムで得られる効果がある。
また、以上では、1つのバス事業者から取得した情報を分析する場合を一例として示したが、本発明はこれに限定されず、ある実施形態では、システム管理者側220は、同じ地域や路線で運行されている複数の公共交通機関から取得したデータをまとめて分析することで、1つの公共交通機関による利用状況のみならず、対象の地域や路線全体の利用状況を把握することができる。In the above description, a configuration in which the video captured by the
In the above, the case of analyzing the information acquired from one bus operator was shown as an example, but the present invention is not limited to this, and in one embodiment, the
上述した構成の乗降者数計数システム100を用いることにより、バスや電車等の乗り物に既に設置されている防犯カメラ等の既存のセンサによって取得された映像を用いて、乗り物の乗降者数若しくは乗車人数又は降車人数を正確に計数することで、公共交通機関のパフォーマンスを把握することができる。
By using the passenger
次に、図3を参照して、本開示の実施形態を実施するためのコンピュータシステム300について説明する。本明細書で開示される様々な実施形態の機構及び装置は、任意の適切なコンピューティングシステムに適用されてもよい。コンピュータシステム300の主要コンポーネントは、1つ以上のプロセッサ302、メモリ304、端末インターフェース312、ストレージインタフェース314、I/O(入出力)デバイスインタフェース316、及びネットワークインターフェース318を含む。これらのコンポーネントは、メモリバス306、I/Oバス308、バスインターフェースユニット309、及びI/Oバスインターフェースユニット310を介して、相互的に接続されてもよい。
Referring now to Figure 3, a
コンピュータシステム300は、プロセッサ302と総称される1つ又は複数の汎用プログラマブル中央処理装置(CPU)302A及び302Bを含んでもよい。ある実施形態では、コンピュータシステム300は複数のプロセッサを備えてもよく、また別の実施形態では、コンピュータシステム300は単一のCPUシステムであってもよい。各プロセッサ302は、メモリ304に格納された命令を実行し、オンボードキャッシュを含んでもよい。
ある実施形態では、メモリ304は、データ及びプログラムを記憶するためのランダムアクセス半導体メモリ、記憶装置、又は記憶媒体(揮発性又は不揮発性のいずれか)を含んでもよい。メモリ304は、本明細書で説明する機能を実施するプログラム、モジュール、及びデータ構造のすべて又は一部を格納してもよい。例えば、メモリ304は、乗降者数計数アプリケーション350を格納していてもよい。ある実施形態では、乗降者数計数アプリケーション350は、後述する機能をプロセッサ302上で実行する命令又は記述を含んでもよい。
In some embodiments,
ある実施形態では、乗降者数計数アプリケーション350は、プロセッサベースのシステムの代わりに、またはプロセッサベースのシステムに加えて、半導体デバイス、チップ、論理ゲート、回路、回路カード、および/または他の物理ハードウェアデバイスを介してハードウェアで実施されてもよい。ある実施形態では、乗降者数計数アプリケーション350は、命令又は記述以外のデータを含んでもよい。ある実施形態では、カメラ、センサ、または他のデータ入力デバイス(図示せず)が、バスインターフェースユニット309、プロセッサ302、またはコンピュータシステム300の他のハードウェアと直接通信するように提供されてもよい。
In some embodiments, the
コンピュータシステム300は、プロセッサ302、メモリ304、表示システム324、及びI/Oバスインターフェースユニット310間の通信を行うバスインターフェースユニット309を含んでもよい。I/Oバスインターフェースユニット310は、様々なI/Oユニットとの間でデータを転送するためのI/Oバス308と連結していてもよい。I/Oバスインターフェースユニット310は、I/Oバス308を介して、I/Oプロセッサ(IOP)又はI/Oアダプタ(IOA)としても知られる複数のI/Oインタフェースユニット312,314,316、及び318と通信してもよい。
表示システム324は、表示コントローラ、表示メモリ、又はその両方を含んでもよい。表示コントローラは、ビデオ、オーディオ、又はその両方のデータを表示装置326に提供することができる。また、コンピュータシステム300は、データを収集し、プロセッサ302に当該データを提供するように構成された1つまたは複数のセンサ等のデバイスを含んでもよい。
例えば、コンピュータシステム300は、心拍数データやストレスレベルデータ等を収集するバイオメトリックセンサ、湿度データ、温度データ、圧力データ等を収集する環境センサ、及び加速度データ、運動データ等を収集するモーションセンサ等を含んでもよい。これ以外のタイプのセンサも使用可能である。表示システム324は、単独のディスプレイ画面、テレビ、タブレット、又は携帯型デバイスなどの表示装置326に接続されてもよい。
For example, the
I/Oインタフェースユニットは、様々なストレージ又はI/Oデバイスと通信する機能を備える。例えば、端末インタフェースユニット312は、ビデオ表示装置、スピーカテレビ等のユーザ出力デバイスや、キーボード、マウス、キーパッド、タッチパッド、トラックボール、ボタン、ライトペン、又は他のポインティングデバイス等のユーザ入力デバイスのようなユーザI/Oデバイス320の取り付けが可能である。ユーザは、ユーザインターフェースを使用して、ユーザ入力デバイスを操作することで、ユーザI/Oデバイス320及びコンピュータシステム300に対して入力データや指示を入力し、コンピュータシステム300からの出力データを受け取ってもよい。ユーザインターフェースは例えば、ユーザI/Oデバイス320を介して、表示装置に表示されたり、スピーカによって再生されたり、プリンタを介して印刷されたりしてもよい。
The I/O interface unit provides the ability to communicate with various storage or I/O devices. For example, the
ストレージインタフェース314は、1つ又は複数のディスクドライブや直接アクセスストレージ装置322(通常は磁気ディスクドライブストレージ装置であるが、単一のディスクドライブとして見えるように構成されたディスクドライブのアレイ又は他のストレージ装置であってもよい)の取り付けが可能である。ある実施形態では、ストレージ装置322は、任意の二次記憶装置として実装されてもよい。メモリ304の内容は、ストレージ装置322に記憶され、必要に応じてストレージ装置322から読み出されてもよい。I/Oデバイスインタフェース316は、プリンタ、ファックスマシン等の他のI/Oデバイスに対するインターフェースを提供してもよい。ネットワークインターフェース318は、コンピュータシステム300と他のデバイスが相互的に通信できるように、通信経路を提供してもよい。この通信経路は、例えば、ネットワーク330であってもよい。
ある実施形態では、コンピュータシステム300は、マルチユーザメインフレームコンピュータシステム、シングルユーザシステム、又はサーバコンピュータ等の、直接的ユーザインターフェースを有しない、他のコンピュータシステム(クライアント)からの要求を受信するデバイスであってもよい。他の実施形態では、コンピュータシステム300は、デスクトップコンピュータ、携帯型コンピュータ、ノートパソコン、タブレットコンピュータ、ポケットコンピュータ、電話、スマートフォン、又は任意の他の適切な電子機器であってもよい。
In some embodiments,
次に、図4を参照して、本発明の実施形態に係る乗降者数計数装置の機能を実施するためのソフトウェア構成について説明する。 Next, with reference to FIG. 4, a software configuration for implementing the functions of the passenger number counting device according to the embodiment of the present invention will be described.
図4は、本発明の実施形態に係る乗降者数計数装置の機能を実施するためのソフトウェア構成400の一例を示す図である。図4に示すように、ソフトウェア構成400は、映像入力モジュール402、ログ出力モジュール404、判定線設定モジュール406、乗降者数計数モジュール408、映像処理モジュール410、各種ライブラリ412、骨格検知モジュール414、深層学習モジュール416、プログラム言語418、及びOS420を含む。
なお、図4に示すソフトウェア構成400に含まれるソフトウエアモジュールは、図1に示す乗降者数計数装置125の機能部によって実施されるものであり、図3に示す乗降者数計数アプリケーション350の一部を構成するものである。FIG. 4 is a diagram showing an example of a
The software modules included in the
映像入力モジュール402は、乗り物に車載されているカメラ等のクライアント端末によって取得されている分析用映像を入力するためのソフトウエアモジュールである。映像入力モジュール402は、例えば、受信した分析用映像を、後述する乗降者数計数モジュール408が受け付けるフォーマットに変換してもよい。
The
ログ出力モジュール404は、後述する乗降者数計数モジュール408による乗降者数計数処理の計数結果を、例えばCSV等のファイルへと出力するためのソフトウエアモジュールである。
The
判定線設定モジュール406は、乗降者数計数用の判定線の画像上の位置を決定し、判定線を決定した位置に描写するためのソフトウエアモジュールである。判定線設定モジュール406は、例えばカメラ毎に、分析用映像の画角等に基づいて、判定線の位置を決定してもよい。
The determination
乗降者数計数モジュール408は、映像入力モジュール402から受信した分析用映像を分析し、分析用映像に写る乗り物の乗降者数若しくは乗車人数又は降車人数を計数し、計数結果を出力するソフトウエアモジュールである。例えば、上述したように、乗降者数計数モジュール408は、乗り物が停車する停留所毎に、乗車人数及び(又は)降車人数を示す計数結果を出力してもよい。
The passenger
映像処理モジュール410は、例えば各種ライブラリ412に規定されているオブジェクト定義やアクティビティ定義に基づく既存のオブジェクト検出手段を用いて、映像入力モジュール402が受信した分析用映像を移動物体検出処理等で分析することで、乗り物が所定の時間以上に停車していることに対応するイベントを含むフレームシーケンスを分析用映像セグメントとして特定し、当該映像セグメントを抽出した後、これらの映像セグメントを乗降者数計数モジュール408に転送してもよい。ここでの移動物体検出処理は、映像中で動きのある領域の位置をフレーム間で追跡して、移動軌跡を得る処理である。
また、映像処理モジュール410は、例えばtf pose estimationやopen pose等の骨格検知モジュール414や深層学習モジュール416を用いて、抽出した映像セグメントにおいて、人間に対応するオブジェクトを検出し、検出した人間の姿勢や体勢等を推定してもよい。The
In addition, the
本発明の実施形態に係る映像処理モジュール410によって実施される映像処理法は、図4に示す骨格検知モジュール414及び深層学習モジュール416に限定されず、円弧検出、局所特徴検出、オプティカルフロー計算、顔検出、物体分類等、様々な映像処理法の使用は可能である。
例えば、乗り物に設置されているカメラによって取得されている映像が上から撮影された場合には、円弧検出、局所特徴検出、及びオプティカルフロー計算を用いて、乗客の頭部や骨格を検出することで、人間に対応するオブジェクトを判定することが望ましい。The video processing methods implemented by
For example, when the video captured by the camera installed in the vehicle is shot from above, the head and skeleton of the passenger are detected using arc detection, local feature detection, and optical flow calculation. , it is desirable to determine objects that correspond to humans.
一般に、円弧検出は、例えばエッジフィルタにより輪郭を映像セグメント毎に抽出し、その座標を3次元ハフ変換して投票していき、多数の投票を得たものから、それに対応する円弧の存在が検出されるものである。ハフ変換以外にも、エッジレット特徴のように特徴点の空間的関連を考慮してそれらを統合したり間引いたりして円弧の断片を得て、それらを最小二乗法で楕円式にフィッティングする方法を用いることができる。 In general, arc detection is performed by extracting the contour of each video segment using, for example, an edge filter, performing a three-dimensional Hough transform on the coordinates, and voting. It is what is done. In addition to the Hough transform, methods such as edgelet features that take into account the spatial relationship of feature points and integrate or thin them out to obtain arc segments and fit them to an elliptic equation using the least-squares method. can be used.
局所特徴検出は、エッジ検出、或いはハリスのコーナー検出等により特徴点(interest points)を検出する他、映像セグメント毎にHOG(Histograms of Oriented Gradients))等の局所特徴量を算出する。なお、局所特徴量は大きく分けて、不均一な特徴点(interest point)の周辺から取り出されるものと、格子上の点を基準に(均一に)取り出されるもの(dense sampling)があり、現在においても新たな特徴量が次々と提案されており、本例の局所特徴検出はそれらの何れも適用されうる。例えば、局所2値パターン(LBP)、Haarウェーブレット、Gaborウェーブレット、texton特徴、カラーヒストグラム、Extended HOG、HOF(Histogramsof Change Point)、画像モーメント(共分散行列)、EOH(Edge of Orientation Histograms)、Edgelet、Shapelet、Harris-affine、Hessian-Affine、SURF(Speeded Up Robust Features)、Principal Curvature-Based Region、IBR(intensity-extrema-based Regions)、MSER(Maximally Stable Extremal Regions)、FAST(Features from Accelerated Segment Test)、KAZE(風)、GLOH、バイナリー特徴量(BRIEF、BRISK、ORB、FREAK、CARD、BinBoost)等が知られる。 Local feature detection detects feature points (interest points) by edge detection, Harris corner detection, or the like, and also calculates local feature amounts such as HOG (Histograms of Oriented Gradients) for each video segment. Local features can be broadly divided into those extracted from the periphery of non-uniform interest points and those extracted (uniformly) based on points on a grid (dense sampling). New features have been proposed one after another, and the local feature detection of this example can be applied to any of them. Local Binary Pattern (LBP), Haar wavelet, Gabor wavelet, texton feature, color histogram, Extended HOG, HOF (Histograms of Change Point), image moments (covariance matrix), EOH (Edge of Orientation Histograms), Edgelet, Shapelet, Harris-affine, Hessian-Affine, SURF (Speeded Up Robust Features), Principal Curvature-Based Region, IBR (intensity-extrema-based Regions), MSER (Maximally Stable Extremal Regions), FAST (Features from Accelerated Segment Test) , KAZE (wind), GLOH, binary features (BRIEF, BRISK, ORB, FREAK, CARD, BinBoost), etc. are known.
オプティカルフロー計算は、局所特徴検出から出力された特徴点をフレーム間で追跡し、オプティカルフローを算出する。このとき、元の映像も用いてKLT(Kanade-Lucas-Tomasi)Trackerや、GunnarFarneback法を適用してもよく、Densesampling特徴量として得るために、追跡しようとする或いは追跡された特徴点を、所定のグリッド毎に1つ(例えばメディアン)だけ選ぶようにしてもよい。また算出されたオプティカルフローから、オプティカルフローベースの特徴量(HOF(Histograms of Optical Flow)、MBH(Motion Boundary Histogram)等)を更に算出してもよい。 Optical flow calculation tracks feature points output from local feature detection between frames to calculate optical flow. At this time, a KLT (Kanade-Lucas-Tomasi) Tracker or a GunnarFarneback method may be applied using the original video as well. Only one (eg, median) may be selected for each grid of . Further, optical flow-based feature amounts (HOF (Histograms of Optical Flow), MBH (Motion Boundary Histogram), etc.) may be further calculated from the calculated optical flow.
また、顔検出処理を施し、分析用映像における人間の顔を検出することも可能である。一般に、顔検出は、局所特徴検出処理で検出された特徴量に基づいて、画像中の任意の場
所に映った顔を検出する。一般的な顔検出では、Hear-like(JointHaar-like)特徴を用い、その特徴が最も顔らしくなる部分画像を探索する。個々のHaar-like特徴の線形結合で表される識別器が、Adaboost等による学習で最適化される。所定以上の顔らしさの部分画像が見つかると、その部分画像自体、位置と大きさ、顔としての確からしさ、部分画像に対応する低次元特徴量、及び、Haar-like特徴等から簡易的に得られる顔パーツの位置関係情報(顔向き等)を出力する。It is also possible to perform face detection processing and detect a human face in the video for analysis. Generally, face detection detects a face appearing at an arbitrary location in an image based on feature amounts detected by local feature detection processing. In general face detection, Hear-like (JointHaar-like) features are used to search for a partial image whose features are most likely to be a face. A classifier represented by a linear combination of individual Haar-like features is optimized by learning by Adaboost et al. When a partial image with more than a predetermined degree of face-likeness is found, it can be easily obtained from the partial image itself, the position and size, the probability of being a face, the low-dimensional feature amount corresponding to the partial image, and the Haar-like features. Outputs the positional relationship information (face direction, etc.) of the face parts to be used.
更に、本発明では、乗り物を乗降するオブジェクトが人間か否かを判断するためには、物体分類処理が行われてもよい。物体分類処理は、移動物体検出からの移動軌跡や、事前に定義されたオブジェク(車いすなど)の特徴に基づいて、映像中に写るオブジェクトを識別する処理である。 Furthermore, in the present invention, an object classification process may be performed in order to determine whether an object getting on or off a vehicle is a person. The object classification process is a process of identifying an object in an image based on the moving trajectory from the moving object detection and the predefined features of the object (such as a wheelchair).
上述したソフトウエアモジュールは、パイソン(Python)等の所定のプログラム言語によって構築されており、CentroOS等の所定のOS420上に動作するように構成されてもよい。
The software modules described above are constructed in a predetermined program language such as Python, and may be configured to operate on a
次に、図5を参照して、本発明の実施形態に係る乗降者数計数方法について説明する。 Next, referring to FIG. 5, a method for counting the number of passengers getting on and off according to an embodiment of the present invention will be described.
図5は、本発明の実施形態に係る乗降者数計数方法500の流れを示す図である。図5に示す乗降者数計数方法500は、例えば図1に示す乗降者数計数装置の機能部によって実施されてもよい。
乗降者数計数方法500を実行することにより、乗り物の乗降者数若しくは乗車人数又は降車人数を正確に計数し、乗り物の利用状況を把握することができる。FIG. 5 is a diagram showing the flow of a
By executing the
まず、ステップS510では、受付部(例えば、図1に示す受付部130)は、例えば乗り物に車載されているカメラ等のクライアント端末によって取得されている分析用映像を受信する。上述したように、この分析用映像は、例えば、乗客が乗車したり、降車したりする映像を含む。また、ここで受信する分析用映像は、例えば1台の乗り物に設置されている1つのカメラによって取得されている映像であってもよく、1台の乗り物に設置されている複数のカメラによって取得されている映像であってもよく、複数の異なる乗り物のカメラによって取得されている映像であってもよい。 First, in step S510, the reception unit (for example, the reception unit 130 shown in FIG. 1) receives analysis images acquired by a client terminal such as a camera mounted on a vehicle. As described above, this analysis image includes, for example, images of passengers getting on and off the vehicle. In addition, the analysis image received here may be, for example, an image acquired by one camera installed in one vehicle, or may be acquired by a plurality of cameras installed in one vehicle. It may be a video captured by a camera on a different vehicle.
次に、ステップS520では、判定部(例えば、図1に示す判定部135)は、既存のオブジェクト検出手段を用いて分析用映像を解析することで、乗り物が所定の時間以上に停車していることに対応するイベントを含むフレームシーケンスを分析用映像セグメントとして特定し、当該映像セグメントを抽出する。また、ここで、このオブジェクト検出手段を用いて分析用映像を最初から最後まで分析することで、複数の映像セグメントを抽出してもよい。ここで抽出した映像セグメントに対して後述する乗降者数計数処理を行うことで、全体の映像を分析した場合に比べて、より効率よく乗降者数を計数することができる。 Next, in step S520, the determination unit (for example, the determination unit 135 shown in FIG. 1) analyzes the analysis image using the existing object detection means to determine whether the vehicle has been stopped for a predetermined time or more. A frame sequence containing an event corresponding to the event is specified as a video segment for analysis, and the video segment is extracted. Also, here, a plurality of video segments may be extracted by analyzing the analysis video from beginning to end using this object detection means. By performing the below-described process of counting the number of boarding and alighting passengers on the video segments extracted here, the number of boarding and alighting passengers can be counted more efficiently than when the entire video is analyzed.
次に、ステップS530では、計数部(例えば、図1に示す計数部140)は、判定部135から受信した映像セグメントの画角に基づいて、乗降者数計数用の判定線の画像上の位置(乗降口付近若しくは乗り口又は降り口等)を決定し、決定した位置に判定線を描写する。ここでの判定線とは、乗客が乗り物に乗降した否かを判定するための画像上のラインである。また、判定線の位置を決定する際に、計数部は、判定線を基準に、第1の方向を「乗車方向」とし、第1の方向と実質的に反対の方向である第2の方向を「降車方向」とする。ここでの乗車方向は、乗客が乗り物に乗車する際に進むはずの方向であり、降車方向は、乗客が乗り物を降車する際に進むはずの方向である。例えば、乗車方向は、例えば、乗り物の内側に対応する方向であり、降車方向は、例えば、外側に対応する方向である。
なお、複数のカメラによって取得された映像セグメントが存在する場合には、計数部は、カメラ毎に判定線の位置と、乗車方向及び降車方向を決定し、判定線を画像上に描写してもよい。Next, in step S530, the counting unit (for example, the counting unit 140 shown in FIG. 1) determines the position of the determination line for counting the number of passengers on the image based on the angle of view of the video segment received from the determination unit 135. (Near the boarding/alighting gate, or the boarding/alighting gate, etc.) is determined, and the determination line is drawn at the determined position. The judgment line here is a line on the image for judging whether or not the passenger has boarded or alighted from the vehicle. Further, when determining the position of the judgment line, the counting unit sets the first direction to be the "boarding direction" with reference to the judgment line, and sets the second direction substantially opposite to the first direction. is the "getting off direction". Here, the boarding direction is the direction in which the passenger should travel when getting on the vehicle, and the exiting direction is the direction in which the passenger should be traveling when getting off the vehicle. For example, the boarding direction is the direction corresponding to the inside of the vehicle, and the exiting direction is the direction corresponding to the outside of the vehicle.
If there are video segments acquired by a plurality of cameras, the counting unit determines the position of the judgment line and the boarding direction and exit direction for each camera, and draws the judgment line on the image. good.
次に、ステップS540では、計数部は、既存のオブジェクト検出手段を用いて、判定部によって抽出された映像セグメントを分析することで、当該映像セグメントにおいて人間に対応するオブジェクトを検出する。その後、計数部は、人間と判定されたオブジェクトが、乗車方向と決定した方向に沿って判定線を通過すると乗車者数のカウントを+1加算する。また、人間と判定されたオブジェクトが、降車方向と決定した方向に沿って判定線を通過すると、計数部は、乗車者数のカウントを‐1減算する。あるいは、計数部は、乗車人数及び降車人数を個別に集計してもよい。
また、計数部は、判定部によって判定された映像セグメントに埋め込まれているタイムスタンプなどの時間情報と、乗り物が停車する停留所に関する情報を含む経路情報とを用いて、それぞれの映像セグメントを経路情報に指定されている停留所に対応付けた後、上述した計数処理を映像セグメント毎に繰り返すことで、各映像セグメント毎の計数結果を、経路上の停留所に対応付けることができる。これにより、停留所毎の乗車人数及び降車人数を把握することができる。Next, in step S540, the counting unit analyzes the video segment extracted by the determining unit using existing object detection means to detect objects corresponding to humans in the video segment. Thereafter, the counting unit adds 1 to the count of the number of passengers when an object determined to be a human passes through the determination line along the direction determined as the boarding direction. Also, when an object determined to be a human passes through the determination line along the direction determined to be the get-off direction, the counting unit subtracts -1 from the count of the number of passengers. Alternatively, the counting unit may count separately the number of passengers and the number of passengers getting off.
Also, the counting unit uses time information such as time stamps embedded in the video segments determined by the determining unit and route information including information about stops at which the vehicle stops, to determine each video segment as route information. By repeating the above-described counting process for each video segment after associating with the designated stop, the counting result for each video segment can be associated with the stop on the route. As a result, it is possible to grasp the number of passengers and the number of passengers getting off at each stop.
以上説明した乗降者数計数方法500を実行することにより、乗り物の乗降者数若しくは乗車人数又は降車人数を正確に計数し、乗り物の利用状況を把握することができる。
By executing the passenger
次に、図6~7を参照して、本発明の実施形態に係る分析用映像の一例について説明する。 Next, an example of an analysis image according to an embodiment of the present invention will be described with reference to FIGS. 6 and 7. FIG.
図6は、本発明の実施形態に係る分析用映像600の一例を示す図である。上述したように、図6に示す分析用映像600は、例えば、バス等の乗り物に設置されている防犯カメラ等の既存のカメラによって取得された、乗り物の乗降口若しくは乗り口又は降り口605を撮影する映像であってもよい。
FIG. 6 is a diagram showing an example of an
上述したように、本発明の実施形態に係る計数部(例えば、図1に示す計数部140)は、分析用映像600の画角に基づいて、乗降者数計数用の判定線610の画像上の位置(乗降口付近若しくは乗り口又は降り口等)を決定し、決定した位置に判定線610を描写する。ここで、判定線610の画像上の位置を決定するために、判定部は、過去の映像情報に基づいて訓練されたニューラルネットワークを用いて、分析用映像600において、乗客が乗降する際に通る確率が所定の確率基準を満たす位置を判定線610の位置として決定してもよい。
また、ある実施形態では、計数部は、例えばシステム管理用PC(例えば、図2に示すシステム管理用PC222)を介して入力された、判定線610の位置を指定する管理者の指示を受け付け、この指示に基づいて判定線610の位置を決定してもよい。As described above, the counting unit (for example, the counting unit 140 shown in FIG. 1) according to the embodiment of the present invention, based on the angle of view of the
In one embodiment, the counting unit accepts an administrator's instruction specifying the position of the
判定線610の位置が決定された後、計数部は、分析用映像600上に、判定線610を決定された位置に描写する。その後、計数部は、この判定線610を用いて、乗り物を乗降する乗降者数若しくは乗車人数又は降車人数を計数することができる。
After the position of the
図7は、本発明の実施形態に係る分析用映像700の一例を示す図である。図7に示す分析用映像700は、図6に示す分析用映像600と同様に、バス等の乗り物に設置されている防犯カメラ等の既存のカメラによって取得された、乗り物の乗降口若しくは乗り口又は降り口705を撮影する映像であってもよい。
FIG. 7 is a diagram showing an example of an
上述したように、本発明の実施形態に係る計数部(例えば、図1に示す計数部140)は、分析用映像700の画角に基づいて、乗降者数計数用の判定線710の画像上の位置(乗降口付近若しくは乗り口又は降り口等)を決定し、決定した位置に判定線710を描写する。その後、計数部は、判定線710を基準に、乗車方向712と、降車方向714とを決定する。例えば、図7に示すように、乗車方向712は、例えば、乗り物の内側に対応する方向であり、降車方向は、例えば、乗り物の外側に対応する方向である。
As described above, the counting unit (for example, the counting unit 140 shown in FIG. 1) according to the embodiment of the present invention, based on the angle of view of the
その後、計数部は、例えば既存のオブジェクト検出手段を用いて、人間に対応するオブジェクトを検出する。次に、計数部は、人間と判定されたオブジェクトが、乗車方向712と決定した方向に沿って判定線710を通過すると、乗車人数のカウントを+1加算し、人間と判定されたオブジェクトが、降車方向714と決定した方向に沿って判定線710を通過すると、降車人数のカウントを‐1減算する。あるいは、計数部は、乗車人数及び降車人数を個別に集計してもよい。
After that, the counting unit detects an object corresponding to a person, for example, using existing object detection means. Next, when the object determined to be a human passes through the
次に、図8を参照して、本発明の実施形態に係る乗降者数計数手段によって生成される計数結果について説明する。 Next, with reference to FIG. 8, the counting result generated by the passenger number counting means according to the embodiment of the present invention will be described.
図8は、本発明の実施形態に係る乗降者数計数手段によって生成される計数結果800の一例を示す図である。図8に示すように、計数結果800は、停留所812と、乗車人数814と、降車人数816とを含む。
FIG. 8 is a diagram showing an example of counting
上述したように、本発明の実施形態に係る乗降者数計数手段によれば、分析用映像の中から、乗り物の停車に対応する映像セグメントを判定した後、それぞれの映像セグメントに埋め込まれているタイムスタンプなどの時間情報と、乗り物が停車する停留所に関する情報を含む経路情報とを比較することで、それぞれの映像セグメントが乗り物の経路上のどの停留所に対応するかを判定することができる。従って、それぞれの映像セグメントを乗り物の経路上の停留所に対応付けた後、上述した計数処理を映像セグメント毎に繰り返すことで、各映像セグメント毎の計数結果を、経路上の停留所に対応付けることができる。
これにより、図8に示すように、停留所812毎の乗車人数814及び降車人数816を示す計数結果800を生成することが可能となる。この計数結果800は、例えばCSVファイル等に出力され、乗り物の運行を管理している自治体、企業、団体など、指定されている任意の送信先に転送されてもよい。
なお、図8では、計数結果800を表として表現している場合を一例として示しているが、本発明はこれに限定されず、計数結果800はグラフなどで表現されてもよい。As described above, according to the passenger number counting means according to the embodiment of the present invention, after determining the video segment corresponding to the stop of the vehicle from the analysis video, it is embedded in each video segment. By comparing time information, such as timestamps, with route information, including information about stops at which the vehicle stops, it is possible to determine which stop on the vehicle's route each video segment corresponds to. Therefore, after associating each video segment with a stop on the route of the vehicle, by repeating the above-described counting process for each video segment, the counting result for each video segment can be associated with the stop on the route. .
As a result, as shown in FIG. 8, it is possible to generate a
Note that FIG. 8 shows a case where the
以上説明した本発明の乗降者数計数手段によれば、バスや電車等の乗り物に既に設置されている防犯カメラ等の既存のセンサによって取得された映像を用いて、各停留所ごとの乗り物の乗降者数を時間帯ごとに正確に計数することができる。これによって、公共交通機関の利用状況を低コストで正確に把握することができ、新たな設備投資を必要とせずに、効率的・効果的な公共交通機関の運用を検討するための情報を得ることが可能となる。 According to the passenger number counting means of the present invention as described above, the number of boarding and alighting of vehicles at each stop is calculated using images acquired by existing sensors such as security cameras already installed in vehicles such as buses and trains. The number of people can be accurately counted for each time period. As a result, it is possible to accurately grasp the usage status of public transportation at low cost, and to obtain information for considering efficient and effective operation of public transportation without the need for new capital investment. becomes possible.
以上、本発明の実施の形態について説明したが、本発明は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。 Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications are possible without departing from the gist of the present invention.
100:乗降者数計数システム、105A・B・C:クライアント端末、110:ネットワーク、125:乗降者数計数装置、130:受付部、135:判定部、140:計数部、155:ストレージ部、210:バス事業者側、212:バス、213:カメラ、214:録画映像媒体、216:アップロード用PC、220:システム管理者側、222:システム管理用PC、224:アップロード用サイト、228:CSVファイル、230:クラウド環境
100: Passenger
Claims (10)
前記乗り物の少なくとも乗車人数又は降車人数を計数するための乗降者数計数装置と、
を有する乗降者数計数システムであって、
前記乗降者数計数装置は、
前記撮影装置からの映像を受信する受付部と、
前記映像に対して所定の画像処理手段を施すことにより、前記乗り物の少なくとも乗車人数又は降車人数を計数し、計数結果を出力する計数部と、
を含み、
前記計数部は、
前記撮影装置の設置場所及び前記映像の画角に基づいて、乗降者数計数用の判定線の画像上の位置を決定し、決定した位置に判定線を描写した後、人間と判定されたオブジェクトが前記判定線を通過する回数を計数することにより、乗降者数又は前記乗車人数及び/又は前記降車人数を集計し、
前記判定線の画像上の位置を決定するために、過去の映像情報に基づいて訓練されたニューラルネットワークを用いて、前記映像において乗客が乗降する際に通る確率が所定の確率基準を満たす位置を判定線の位置として決定する、
ことを特徴とする、乗降者数計数システム。 a photographing device installed so as to be able to photograph at least the entrance or exit of the vehicle;
a passenger counting device for counting at least the number of passengers boarding or exiting the vehicle;
A passenger number counting system having
The passenger number counting device
a reception unit that receives an image from the imaging device;
a counting unit that counts at least the number of people boarding or getting off the vehicle by subjecting the video to predetermined image processing means, and outputs a count result;
including
The counting unit
Based on the installation location of the photographing device and the angle of view of the image, the position of the determination line for counting the number of passengers is determined on the image, and after the determination line is drawn at the determined position, the object is determined to be a human being. By counting the number of times that passes through the judgment line, the number of passengers getting on and off or the number of passengers and / or the number of passengers getting off are counted,
In order to determine the position of the judgment line on the image, a neural network trained based on past video information is used to determine a position in the video that satisfies a predetermined probability standard for the probability that passengers will pass when getting on and off. determined as the position of the judgment line,
A passenger number counting system characterized by:
前記映像の中から、前記乗り物の停車に対応する映像セグメントを判定する判定部を更に含み、
前記計数部は、
各映像セグメントにおいて、前記乗車人数と、前記降車人数とを計数し、各映像セグメントについて、前記乗車人数及び前記降車人数を前記計数結果として出力する、
ことを特徴とする、請求項1に記載の乗降者数計数システム。 The passenger number counting device
further comprising a determination unit for determining a video segment from the video corresponding to a stop of the vehicle;
The counting unit
counting the number of passengers and the number of people getting off in each video segment, and outputting the number of passengers and the number of people getting off for each video segment as the counting result;
The passenger number counting system according to claim 1, characterized by:
前記乗り物が移動する経路を示す経路情報と、前記各映像セグメントに埋め込まれている時間情報と、前記乗り物が停車する停留所に関する情報を含む経路情報とに基づいて、前記各映像セグメントの前記計数結果を、経路情報に指定されている経路上の停留所に対応付ける、
ことを特徴とする、請求項2に記載の乗降者数計数システム。 The passenger number counting device
counting each of the video segments based on route information indicating a route traveled by the vehicle , time information embedded in each of the video segments , and route information including information about stops at which the vehicle stops; Correlate the results with the stops on the route specified in the route information ,
The passenger number counting system according to claim 2, characterized by:
前記乗り物の停車に対応する映像セグメントにおいて、
人間に対応する第1のオブジェクトを判定し、
前記第1のオブジェクトが、第1の方向に沿って前記判定線を通過すると、乗降者数を加算し、
前記第1のオブジェクトが、前記第1の方向に対して実質的に反対の方向である第2の方向に沿って前記判定線を通過すると、乗降者数を減算する、
ことを特徴とする、請求項1記載の乗降者数計数システム。 The counting unit
In the video segment corresponding to the stopping of the vehicle,
determining a first object corresponding to a human;
adding the number of passengers when the first object passes the determination line along the first direction;
subtracting the number of passengers when the first object passes through the decision line along a second direction that is substantially opposite to the first direction;
The passenger number counting system according to claim 1 , characterized by:
自動車、バス、電車、モノレール、船舶、及び飛行機から選択されるものである、
ことを特徴とする、請求項1乃至請求項4のいずれかに記載の乗降者数計数システム。 The vehicle is
is selected from automobiles, buses, trains, monorails, ships, and airplanes;
The passenger number counting system according to any one of claims 1 to 4 , characterized in that:
乗り物の少なくとも乗り口又は降り口を撮影可能に設置された撮影装置からの映像を受信する受付部と、
前記映像に対して所定の画像処理手段を施すことにより、前記乗り物の少なくとも乗車人数又は降車人数を計数し、計数結果を出力する計数部と、
を含み、
前記計数部は、
前記撮影装置の設置場所及び前記映像の画角に基づいて、乗降者数計数用の判定線の画像上の位置を決定し、決定した位置に判定線を描写した後、人間と判定されたオブジェクトが前記判定線を通過する回数を計数することにより、乗降者数又は前記乗車人数及び/又は前記降車人数を集計し、
前記判定線の画像上の位置を決定するために、過去の映像情報に基づいて訓練されたニューラルネットワークを用いて、前記映像において乗客が乗降する際に通る確率が所定の確率基準を満たす位置を判定線の位置として決定する、
乗降者数計数装置。 A passenger number counting device,
a reception unit for receiving an image from a photographing device installed so as to photograph at least an entrance or exit of a vehicle;
a counting unit that counts at least the number of people boarding or getting off the vehicle by subjecting the video to predetermined image processing means, and outputs a count result;
including
The counting unit
Based on the installation location of the photographing device and the angle of view of the image, the position of the determination line for counting the number of passengers is determined on the image, and after the determination line is drawn at the determined position, the object is determined to be a human being. By counting the number of times that passes through the judgment line, the number of passengers getting on and off or the number of passengers and / or the number of passengers getting off are counted,
In order to determine the position of the judgment line on the image, a neural network trained based on past video information is used to determine a position in the video that satisfies a predetermined probability standard for the probability that passengers will pass when getting on and off. determined as the position of the judgment line,
Passenger counting device.
前記映像の中から、前記乗り物の停車に対応する映像セグメントを判定する判定部を更に含み、
前記計数部は、
各映像セグメントにおいて、前記乗車人数と、前記降車人数とを計数し、各映像セグメントについて、前記乗車人数及び前記降車人数を前記計数結果として出力する、
ことを特徴とする、請求項6に記載の乗降者数計数装置。 The passenger number counting device
further comprising a determination unit for determining a video segment from the video corresponding to a stop of the vehicle;
The counting unit
counting the number of passengers and the number of people getting off in each video segment, and outputting the number of passengers and the number of people getting off for each video segment as the counting result;
The passenger number counting device according to claim 6 , characterized in that:
前記乗り物が移動する経路を示す経路情報と、前記各映像セグメントに埋め込まれている時間情報と、前記乗り物が停車する停留所に関する情報を含む経路情報とに基づいて、各映像セグメントの前記計数結果を、経路情報に指定されている経路上の停留所に対応付ける、
ことを特徴とする、請求項7に記載の乗降者数計数装置。 The passenger number counting device
The counting result of each video segment based on the route information indicating the route along which the vehicle travels, the time information embedded in each of the video segments , and the route information including information about stops at which the vehicle stops. to the stops on the route specified in the route information ,
The passenger number counting device according to claim 7 , characterized in that:
前記乗り物の停車に対応する映像セグメントにおいて、
人間に対応する第1のオブジェクトを判定し、
前記第1のオブジェクトが、第1の方向に沿って前記判定線を通過すると、乗降者数を加算し、
前記第1のオブジェクトが、前記第1の方向に対して実質的に反対の方向である第2の方向に沿って前記判定線を通過すると、乗降者数を減算する、
ことを特徴とする、請求項6に記載の乗降者数計数装置。 The counting unit
In the video segment corresponding to the stopping of the vehicle,
determining a first object corresponding to a human;
adding the number of passengers when the first object passes the determination line along the first direction;
subtracting the number of passengers when the first object passes through the decision line along a second direction that is substantially opposite to the first direction;
The passenger number counting device according to claim 6 , characterized in that:
自動車、バス、電車、モノレール、船舶、及び飛行機から選択されるものである、
ことを特徴とする、請求項6乃至請求項9のいずれかに記載の乗降者数計数装置。
The vehicle is
is selected from automobiles, buses, trains, monorails, ships, and airplanes;
The passenger number counting device according to any one of claims 6 to 9 , characterized in that:
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020092837 | 2020-05-28 | ||
| JP2020092837 | 2020-05-28 | ||
| PCT/JP2021/019827 WO2021241587A1 (en) | 2020-05-28 | 2021-05-25 | Passenger counting system and passenger counting device |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JPWO2021241587A1 JPWO2021241587A1 (en) | 2021-12-02 |
| JPWO2021241587A5 JPWO2021241587A5 (en) | 2023-01-25 |
| JP7303384B2 true JP7303384B2 (en) | 2023-07-04 |
Family
ID=78744053
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2022526590A Active JP7303384B2 (en) | 2020-05-28 | 2021-05-25 | Passenger number counting system and passenger number counting device |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP7303384B2 (en) |
| WO (1) | WO2021241587A1 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114724365A (en) * | 2022-03-29 | 2022-07-08 | 深圳市综合交通与市政工程设计研究总院有限公司 | Public transport passenger capacity collection system based on positioning information |
| CN114511821B (en) * | 2022-04-18 | 2022-07-26 | 深圳市爱深盈通信息技术有限公司 | Statistical method and system for number of persons getting on and off, computer equipment and storage medium |
| JP7686346B2 (en) * | 2022-06-15 | 2025-06-02 | 株式会社日立ソリューションズ | Bus boarding and alighting counting system and method |
| JP7279241B1 (en) | 2022-08-03 | 2023-05-22 | セーフィー株式会社 | system and program |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014219913A (en) | 2013-05-10 | 2014-11-20 | 技研トラステム株式会社 | Apparatus for counting number of getting on/off passengers |
| KR102109648B1 (en) | 2019-12-03 | 2020-05-12 | 주식회사 핀텔 | System for detecting free riding of public transportation using face recognition of deep learning and method thereof |
-
2021
- 2021-05-25 WO PCT/JP2021/019827 patent/WO2021241587A1/en not_active Ceased
- 2021-05-25 JP JP2022526590A patent/JP7303384B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2014219913A (en) | 2013-05-10 | 2014-11-20 | 技研トラステム株式会社 | Apparatus for counting number of getting on/off passengers |
| KR102109648B1 (en) | 2019-12-03 | 2020-05-12 | 주식회사 핀텔 | System for detecting free riding of public transportation using face recognition of deep learning and method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| JPWO2021241587A1 (en) | 2021-12-02 |
| WO2021241587A1 (en) | 2021-12-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7303384B2 (en) | Passenger number counting system and passenger number counting device | |
| Ke et al. | Real-time traffic flow parameter estimation from UAV video based on ensemble classifier and optical flow | |
| JP6474919B2 (en) | Congestion status monitoring system and congestion status monitoring method | |
| CN108875833B (en) | Neural network training method, face recognition method and device | |
| CN100481112C (en) | Human face recognition system and recognition method | |
| CN110175528B (en) | Human body tracking method and device, computer equipment and readable medium | |
| CN109740590B (en) | ROI accurate extraction method and system based on target tracking assistance | |
| US20140348391A1 (en) | Snow classifier context window reduction using class t-scores and mean differences | |
| AU2015224526B2 (en) | An image management system | |
| CN105122270A (en) | Method and system for counting people using depth sensor | |
| CN114627526B (en) | Fusion deduplication method, device and readable medium based on multi-camera captured images | |
| WO2022228325A1 (en) | Behavior detection method, electronic device, and computer readable storage medium | |
| CN111353338A (en) | An energy efficiency improvement method based on video surveillance in business halls | |
| KR102235535B1 (en) | Method, apparatus and computer-readable medium for reorganizing bus route using real time boarding information | |
| WO2023077797A1 (en) | Method and apparatus for analyzing queue | |
| CN108197544A (en) | Human face analysis, filter method, device, embedded device, medium and integrated circuit | |
| CN105868693A (en) | Identity authentication method and system | |
| Alqahtani et al. | CMRS: a classifier matrix recognition system for traffic management and analysis in a smart city environment | |
| Pascua et al. | Face Recognition and Identification Using Successive Subspace Learning for Human Resource Utilization Assessment | |
| KR102235536B1 (en) | Method, apparatus and computer-readable medium of analysis usage pattern for bus route | |
| CN116597382B (en) | Group identification method and group identification device based on computer vision | |
| Sheremet et al. | Intelligent system based on a convolutional neural network for identifying people without breathing masks | |
| AU2020202221A1 (en) | Privacy preserving visitor recognition and movement pattern analysis based on computer vision | |
| Aljohnai et al. | AI-Based Attendance Management System Using Image Processing Techniques during COVID-19 Pandemic | |
| JP7718854B2 (en) | Object recognition system and object recognition method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20221104 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20221104 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20230606 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230622 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7303384 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |