WO2021159866A1 - Bus route prediction method and system based on facial recognition - Google Patents

Bus route prediction method and system based on facial recognition Download PDF

Info

Publication number
WO2021159866A1
WO2021159866A1 PCT/CN2020/139840 CN2020139840W WO2021159866A1 WO 2021159866 A1 WO2021159866 A1 WO 2021159866A1 CN 2020139840 W CN2020139840 W CN 2020139840W WO 2021159866 A1 WO2021159866 A1 WO 2021159866A1
Authority
WO
WIPO (PCT)
Prior art keywords
bus
passengers
passenger
boarding
station
Prior art date
Application number
PCT/CN2020/139840
Other languages
French (fr)
Chinese (zh)
Inventor
苏松剑
苏松志
蔡国榕
陈延行
杨子扬
梁军
Original Assignee
罗普特科技集团股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 罗普特科技集团股份有限公司 filed Critical 罗普特科技集团股份有限公司
Publication of WO2021159866A1 publication Critical patent/WO2021159866A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Definitions

  • On-board GPS information it can be used to track vehicle trajectory, arrival time, driving speed, and route congestion
  • credit card record it can be used to estimate the number of people on the bus at each stop.
  • the passengers getting on and off the vehicle are obtained through face recognition from the obtained video stream, and the boarding station and the getting off station of the passenger are determined;
  • the inter-vehicle prediction step it is determined through face recognition whether a passenger on a bus is a passenger on another bus, and if so, the transfer station of the passenger is determined;
  • the prediction step is to predict the demand of the bus route based on the obtained bus routes of all passengers.
  • the bus operation server is also used for associating the passenger's boarding station, getting off station and transfer station to obtain the passenger's boarding route.
  • the in-vehicle processing terminal obtains passengers getting on and off the bus through face recognition from the obtained video stream, and determines the boarding station and the getting off station of the passenger;
  • the operation of recognizing the boarding site and the getting off site of the passengers in the current vehicle is the facial features of the passengers who got off the vehicle, and the similarity with the facial features of each passenger on the vehicle is calculated, and the similarity is the largest And the face feature pairs larger than the first threshold are used as the recognition matching result to determine the boarding station and the getting off station of the passengers in the current vehicle.
  • the bus operation server is also used for associating the passenger's boarding station, getting off station and transfer station to obtain the passenger's boarding route.
  • the transfer station of the passenger when the transfer station of the passenger is determined, it is defined that the distance between the boarding station and the getting off station is less than the first distance threshold and the facial features of the passengers boarding and the faces of the passengers getting off the bus within the first time threshold are defined. Features are matched and identified.
  • Fig. 2 is a structural diagram of a bus route prediction system based on face recognition according to an embodiment of the present disclosure.
  • the passengers getting on and off the vehicle are acquired through face recognition from the acquired video stream, and the boarding station and the getting off station of the passengers are determined.
  • the inter-vehicle prediction step S102 it is determined by face recognition whether a passenger getting on one bus is a passenger getting off another bus, and if so, the transfer station of the passenger is determined.
  • the demand of the bus route is predicted based on the obtained bus routes of all passengers.
  • the vehicle-mounted processing terminal includes a 4G communication module or a 5G communication module. Therefore, the vehicle-mounted processing terminal may be called a vehicle-mounted 4G processing terminal or a vehicle-mounted 5G processing terminal. Of course, the vehicle-mounted processing terminal may also include communication modules such as WIFI and Bluetooth.
  • the operation of recognizing the boarding and disembarking sites of passengers in the current vehicle is for the facial features of the passengers who got off the vehicle, calculating the similarity with the facial features of each passenger who boarded the vehicle, and taking the similarity
  • the face feature pair with the largest degree and greater than the first threshold is used as the recognition matching result to determine the boarding station and the getting off station of the passengers in the current vehicle. That is, when a passenger gets on the bus, the boarding station is obtained through the GPS module, and its facial features are saved.
  • the facial features are compared with the saved facial features of all passengers in the car to find In order to ensure the accuracy of recognition, the facial feature with the greatest similarity needs to be greater than the first threshold (for example, 85%, 90%, etc.) before it is considered as the corresponding alighting passenger.
  • the drop-off site is saved corresponding to the corresponding boarding site and facial features, and the drop-off site is transmitted to the bus operation server together with the corresponding boarding site and facial features.
  • the vehicle interior prediction step S101 the exact identification of the passenger boarding station is realized, and a solid foundation is laid for accurately identifying each passenger's riding route, which is an important disclosure point of the present disclosure.
  • the bus operation server is further used to associate the boarding station, getting off station, and transfer station of the passenger to obtain the passenger's boarding route, and then, based on the obtained boarding station of all passengers
  • the route predicts the demand of the bus route. Through the local feature matching in the buses and the global matching of transfers between buses, it is possible to predict every bus stop that citizens will pass through in their complete route. After mastering the regularity of citizens' travel and riding route demand, bus operation can improve bus carrying capacity, shorten citizens' travel time, and reduce road congestion by rationally planning bus routes and departure schedules, thereby realizing intelligent transportation.
  • FIG. 2 shows a bus route prediction system based on face recognition of the present disclosure.
  • the system includes a vehicle-mounted device 201 and a background bus operation server 202.
  • the vehicle-mounted device 201 includes a vehicle-mounted processing terminal 203 and a passenger gate monitoring system.
  • the camera 204, the disembarkation door monitoring camera 205, the in-vehicle processing terminal 203 is connected to the in-vehicle door monitoring camera 204 and the disembarking door monitoring camera 205 via an Ethernet network, and the in-vehicle processing terminal 203 communicates with the bus operation server 202 via a wireless network Phase connection.
  • the in-vehicle processing terminal 203 obtains passengers getting on and off the bus through face recognition from the obtained video stream, and determines the boarding station and the getting off station of the passenger.
  • the vehicle-mounted processing terminal 203 includes a NVIDIA Jetson Nano high-performance embedded computing module, a GPS module, an Ethernet module, and a communication module.
  • the surveillance cameras at the entrance and exit doors transmit the video stream to the vehicle-mounted processing terminal 203 through Ethernet communication for real-time video analysis and processing.
  • the Jetson Nano embedded module can process face capture, face feature extraction, and face recognition comparison of 2 video streams in real time.
  • the vehicle-mounted processing terminal 203 includes a 4G communication module or a 5G communication module. Therefore, the vehicle-mounted processing terminal 203 may be referred to as a vehicle-mounted 4G processing terminal or a vehicle-mounted 5G processing terminal.
  • the vehicle-mounted processing terminal 203 may also include communication modules such as WIFI and Bluetooth.
  • the vehicle-mounted processing terminal 203 is used to perform the following operations to determine the passenger's boarding site and disembarking site: real-time analysis of the video stream of the boarding door surveillance camera 204, taking facial capture and extracting the boarding site Passenger's facial features; real-time analysis of the video stream of the passenger door monitoring camera 205, facial capture and extraction of the facial features of the passengers who disembarked; recognition and matching of the facial features of the passengers who boarded and alighted to identify the current vehicle The getting-in and getting-off stations of passengers in the middle; and uploading the facial feature information of the passengers captured and getting off the bus to the bus operation server 202 via the network in real time.
  • the upper and lower passenger door monitoring cameras 204, 205 are used to collect the video of passengers getting on and off the vehicle, and send them to the vehicle processing terminal 203 through the Ethernet network.
  • the vehicle terminal analyzes the video streams of the upper and lower passenger door monitoring cameras 204, 205 in real time to perform Face capture and extract the facial features of passengers getting on and off the car, and then realize the recognition and matching of the facial features of the passengers getting on and off, and identifying the getting on and off stations of the passengers in the current vehicle, which realizes the identification of passengers
  • the station of getting on and off the vehicle, the position of the station is obtained through the GPS module, of course, it can also be obtained through other positioning modules, such as the Beidou navigation module.
  • the vehicle-mounted terminal uploads the facial feature information of the passengers who get on and off the bus to the bus operation server 202 via the network in real time.
  • the purpose of uploading to the bus operation server 202 is to further determine whether the passenger has transferred and determine whether the transfer is made. Take the site.
  • the facial features are compared with the saved facial features of all passengers in the car to find In order to ensure the accuracy of recognition, the facial feature with the greatest similarity needs to be greater than the first threshold (for example, 85%, 90%, etc.) before it is considered as the corresponding alighting passenger.
  • the drop-off site is saved corresponding to the corresponding boarding site and facial features, and the drop-off site is transmitted to the bus operation server 202 together with the corresponding boarding site and facial features, and accurate recognition is achieved through the matching of internal features of the vehicle.
  • the stations where passengers get on and off have laid a solid foundation for accurately identifying each passenger's riding route, which is an important disclosure point of this disclosure.
  • the bus operation server 202 is configured to perform the following operations to determine the transfer station of the passenger: receive the facial features of passengers boarding and getting off at each station of each bus, Store the facial features in the database; calculate the similarity between the facial features of the passengers on each bus and the facial features of other buses, and take the person with the largest similarity and greater than the second threshold
  • the face feature pair is used as the recognition and matching result to determine the transfer station of the passenger;
  • the second threshold may be equal to the first threshold, and the facial feature similarity calculation method in the bus operation server 202 is the same as that of the person in the on-board processing terminal 203
  • the facial feature similarity method is the same.
  • the bus operation server 202 is also used to associate the boarding station, getting off station, and transfer station of the passenger to obtain the passenger's bus route, and then predict the bus route based on the obtained bus routes of all passengers. need. Through the local feature matching in the buses and the global matching of transfers between buses, it is possible to predict every bus stop that citizens will pass through in their complete route. After mastering the regularity of citizens' travel and riding route demand, bus operation can improve bus carrying capacity, shorten citizens' travel time, and reduce road congestion by rationally planning bus routes and departure schedules, thereby realizing intelligent transportation.

Abstract

Provided are a bus route prediction method and system based on facial recognition. The method comprises: by means of facial recognition, acquiring passengers, who get on a bus and get off the bus, from an acquired video stream, and determining stations at which the passengers get on the bus and stations at which the passengers get off the bus; by means of facial recognition, determining whether the passengers who get on one bus are passengers who got off another bus, and if so, determining transfer stations of the passengers; associating the stations at which the passengers get on the bus, the stations at which the passengers get off the bus, and the transfer stations of the passengers to acquire bus routes of the passengers; and predicting the requirements for bus routes on the basis of the acquired bus routes of all passengers. The method, which performs, on the basis of facial recognition technology, face capture and recognition matching on passengers who get on a bus and get off the bus to predict complete bus routes for public travel, and scientifically and rationally plans urban bus routes by using information of the complete bus routes, so that the operation efficiency of urban buses is higher.

Description

一种基于人脸识别的公交路线预测方法及系统A method and system for bus route prediction based on face recognition
相关申请Related application
本申请要求保护在2020年2月11日提交的申请号为202010086988.3的中国专利申请的优先权,该申请的全部内容以引用的方式结合到本文中。This application claims the priority of the Chinese patent application with the application number 202010086988.3 filed on February 11, 2020, and the entire content of the application is incorporated herein by reference.
技术领域Technical field
本公开涉及智能交通技术领域,具体涉及一种基于人脸识别的公交路线预测方法及系统。The present disclosure relates to the field of intelligent transportation technology, and in particular to a method and system for predicting a bus route based on face recognition.
背景技术Background technique
城市交通日益拥堵,公交车作为最主要的公共交通工具,城市规划的公交路线直接关系到公交车的运营效率,体现在不同公交路线的路面拥堵和车厢拥挤情况、人员出行时间、人员乘车换乘次数等。Urban traffic is becoming increasingly congested. Buses are the most important means of public transportation. The planned bus routes are directly related to the operational efficiency of buses, which are reflected in the road congestion and carriage congestion of different bus routes, the travel time of people, and the transfer of people. The number of multiplications and so on.
为了科学合理的规划城市公交路线,需要掌握市民的出行规律,统计不同时间段市民乘车需求,以达到更精准的规划预测。In order to plan urban public transportation routes scientifically and rationally, it is necessary to grasp the travel rules of citizens, and to make statistics of citizens' travel demands at different time periods to achieve more accurate planning and forecasting.
目前在公交车运营中,能够采集到的主要数据有:车载GPS信息:可用于跟踪车辆行驶轨迹、到站时间、行驶速度、路线拥堵情况;刷卡记录:可用于估算各站点上车人数。At present, the main data that can be collected in bus operation are: On-board GPS information: it can be used to track vehicle trajectory, arrival time, driving speed, and route congestion; credit card record: it can be used to estimate the number of people on the bus at each stop.
从现有采集的数据能够预测各时间点各公交路线每辆车在各站点的上车人数,但是无法知道各站点的人员下车信息,也就无法估计市民出行的终点,由于市民出行信息不完整,因此无法根据现有的数据来科学合理的规划城市公交路线。From the existing data collected, it is possible to predict the number of people getting on each bus at each station on each bus route at each time point, but it is impossible to know the information of people getting off at each station, and it is impossible to estimate the end of the citizen’s trip. Because the citizen’s trip information is not available Complete, so it is impossible to scientifically and rationally plan urban bus routes based on existing data.
可见,在现有技术中,由于无法识别下车乘客的信息,更无法识别乘客的换 乘信息,因此,难以制定更为准确的公交车调度方案。It can be seen that in the prior art, since it is impossible to identify the information of the disembarking passengers, and even the transfer information of the passengers, it is difficult to formulate a more accurate bus dispatching plan.
公开内容Public content
本公开针对上述现有技术中的缺陷,提出了如下技术方案。The present disclosure proposes the following technical solutions in view of the above-mentioned defects in the prior art.
一种基于人脸识别的公交路线预测方法,该方法包括:A bus route prediction method based on face recognition, the method includes:
车辆内部预测步骤,从获取的视频流中通过人脸识别获取上下车的乘客,确定所述乘客的上车站点和下车站点;In the vehicle interior prediction step, the passengers getting on and off the vehicle are obtained through face recognition from the obtained video stream, and the boarding station and the getting off station of the passenger are determined;
车辆之间预测步骤,通过人脸识别确定一辆公交车上车的乘客是否其他公交车下车的乘客,如果是,则确定所述乘客的换乘站点;In the inter-vehicle prediction step, it is determined through face recognition whether a passenger on a bus is a passenger on another bus, and if so, the transfer station of the passenger is determined;
关联步骤,将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线;Associating step, associating the boarding station, getting off station, and transfer station of the passenger to obtain the riding route of the passenger;
预测步骤,基于获取的所有乘客的乘车路线预测公交路线的需求。The prediction step is to predict the demand of the bus route based on the obtained bus routes of all passengers.
更进一步地,所述车辆内部预测步骤是通过车载处理终端执行的,所述车载处理终端用于执行以下操作:实时分析上客门监控摄像头视频流,进行人脸抓拍并提取上车乘客的人脸特征;实时分析下客门监控摄像头视频流,进行人脸抓拍并提取下车乘客的人脸特征;对上车和下车的乘客的人脸特征进行识别匹配,识别当前车辆中乘客的上车站点和下车站点;并实时将上车和下车抓拍的乘客的人脸特征信息通过网络上传到公交运营服务器。Furthermore, the step of predicting the interior of the vehicle is performed by a vehicle-mounted processing terminal, which is used to perform the following operations: real-time analysis of the video stream of the passenger door surveillance camera, face capture, and extraction of the person of the passenger in the vehicle Facial features; real-time analysis of the video stream of the passenger door surveillance camera, facial capture and extraction of the facial features of the passengers who disembarked; recognition and matching of the facial features of the passengers who boarded and alighted, and identified the passenger’s boarding in the current vehicle Bus station and getting off station; and upload the facial feature information of passengers who get on and off the bus to the bus operation server through the network in real time.
更进一步地,识别当前车辆中乘客的上车站点和下车站点的操作为对于下车的乘客的人脸特征,计算与上车的每一个乘客的人脸特征的相似度,取相似度 最大且大于第一阈值的人脸特征对作为识别匹配结果,以确定当前车辆中乘客的上车站点和下车站点。Furthermore, the operation of recognizing the boarding site and the getting off site of the passengers in the current vehicle is the facial features of the passengers who got off the vehicle, and the similarity with the facial features of each passenger on the vehicle is calculated, and the similarity is the largest And the face feature pairs larger than the first threshold are used as the recognition matching result to determine the boarding station and the getting off station of the passengers in the current vehicle.
更进一步地,所述车辆之间预测步骤是通过公交运营服务器执行的,所述公交运营服务器用于执行以下操作:收到每一辆公交车每一站点的上车和下车的乘客的人脸特征,将所述人脸特征存储到数据库中;将每一辆公交车上车的乘客的人脸特征与其它公交车下车的人脸特征计算相似度,取相似度最大且大于第二阈值的人脸特征对作为识别匹配结果,以确定所述乘客的换乘站点;Furthermore, the inter-vehicle prediction step is performed by a bus operation server, and the bus operation server is used to perform the following operations: receiving passengers who board and get off at each stop of each bus Face features, store the facial features in the database; calculate the similarity between the facial features of the passengers on each bus and the facial features of other buses, and take the largest similarity and greater than the second Threshold face feature pairs are used as recognition and matching results to determine the passenger's transfer station;
所述公交运营服务器还用于将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线。The bus operation server is also used for associating the passenger's boarding station, getting off station and transfer station to obtain the passenger's boarding route.
更进一步地,在所述车辆之间预测步骤中,限定上车与下车站点距离小于第一距离阈值且上车的乘客人脸特征与第一时间阈值内下车的乘客的人脸特征进行匹配识别。Furthermore, in the step of predicting between vehicles, it is defined that the distance between the boarding station and the alighting station is less than a first distance threshold and the facial features of the passengers who boarded the vehicle are performed with the facial features of the passengers who got off the vehicle within the first time threshold. Match recognition.
本公开还提出了一种基于人脸识别的公交路线预测系统,该系统包括车上设备和后台公交运营服务器,所述车上设备包括车载处理终端和上客门监控摄像头、下客门监控摄像头,所述车载处理终端连接所述上客门监控摄像头和下客门监控摄像头,所述车载处理终端通过无线网络与公交运营服务器相连接;The present disclosure also proposes a bus route prediction system based on face recognition. The system includes on-board equipment and a background bus operation server. The on-board equipment includes a vehicle-mounted processing terminal, a passenger boarding door monitoring camera, and a passenger boarding door monitoring camera. , The vehicle-mounted processing terminal is connected to the passenger boarding gate monitoring camera and the unloading gate monitoring camera, and the vehicle-mounted processing terminal is connected to the bus operation server through a wireless network;
所述车载处理终端从获取的视频流中通过人脸识别获取上下车的乘客,确定所述乘客的上车站点和下车站点;The in-vehicle processing terminal obtains passengers getting on and off the bus through face recognition from the obtained video stream, and determines the boarding station and the getting off station of the passenger;
所述后台公交运营服务器用于通过人脸识别确定一辆公交车上车的乘客是 否其他公交车下车的乘客,如果是,则确定所述乘客的换乘站点,并将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线;The background bus operation server is used to determine whether a passenger getting on a bus is a passenger getting off another bus through face recognition. The bus station, the drop off station, and the transfer station are associated to obtain the passenger's boarding route;
所述后台公交运营服务器基于获取的所有乘客的乘车路线预测公交路线的需求。The background bus operation server predicts the demand of the bus route based on the obtained bus routes of all passengers.
更进一步地,所述车载处理终端用于执行以下操作以确定所述乘客的上车站点和下车站点:实时分析上客门监控摄像头视频流,进行人脸抓拍并提取上车乘客的人脸特征;实时分析下客门监控摄像头视频流,进行人脸抓拍并提取下车乘客的人脸特征;对上车和下车的乘客的人脸特征进行识别匹配,识别当前车辆中乘客的上车站点和下车站点;并实时将上车和下车抓拍的乘客的人脸特征信息通过网络上传到公交运营服务器。Furthermore, the vehicle-mounted processing terminal is used to perform the following operations to determine the passenger's boarding and disembarking locations: real-time analysis of the video stream of the boarding door surveillance camera, capturing the faces of the passengers, and extracting the faces of the boarding passengers Features; real-time analysis of the video stream of the passenger door monitoring camera, facial capture and extraction of the facial features of the passengers who got off the bus; recognition and matching of the facial features of the passengers getting on and off, and identifying the passengers in the current vehicle. Stations and drop-off stations; and upload the facial feature information of passengers who get on and off the bus to the bus operation server via the network in real time.
更进一步地,识别当前车辆中乘客的上车站点和下车站点的操作为对于下车的乘客的人脸特征,计算与上车的每一个乘客的人脸特征的相似度,取相似度最大且大于第一阈值的人脸特征对作为识别匹配结果,以确定当前车辆中乘客的上车站点和下车站点。Furthermore, the operation of recognizing the boarding site and the getting off site of the passengers in the current vehicle is the facial features of the passengers who got off the vehicle, and the similarity with the facial features of each passenger on the vehicle is calculated, and the similarity is the largest And the face feature pairs larger than the first threshold are used as the recognition matching result to determine the boarding station and the getting off station of the passengers in the current vehicle.
更进一步地,所述公交运营服务器用于执行以下操作以确定所述乘客的换乘站点:收到每一辆公交车每一站点的上车和下车的乘客的人脸特征,将所述人脸特征存储到数据库中;将每一辆公交车上车的乘客的人脸特征与其它公交车下车的人脸特征计算相似度,取相似度最大且大于第二阈值的人脸特征对作为识别匹配结果,以确定所述乘客的换乘站点;Furthermore, the bus operation server is configured to perform the following operations to determine the transfer station of the passenger: receive the facial features of the passengers boarding and getting off at each station of each bus, and transfer the The facial features are stored in the database; the facial features of the passengers on each bus are calculated similarly to the facial features of other buses, and the face feature pair with the largest similarity and greater than the second threshold is selected. As a result of identification and matching, to determine the passenger's transfer station;
所述公交运营服务器还用于将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线。The bus operation server is also used for associating the passenger's boarding station, getting off station and transfer station to obtain the passenger's boarding route.
更进一步地,在所确定所述乘客的换乘站点时,限定上车与下车站点距离小于第一距离阈值且上车的乘客人脸特征与第一时间阈值内下车的乘客的人脸特征进行匹配识别。Furthermore, when the transfer station of the passenger is determined, it is defined that the distance between the boarding station and the getting off station is less than the first distance threshold and the facial features of the passengers boarding and the faces of the passengers getting off the bus within the first time threshold are defined. Features are matched and identified.
本公开的技术效果在于:本公开的一种基于人脸识别的公交路线预测方法,该方法包括:从获取的视频流中通过人脸识别获取上下车的乘客,确定所述乘客的上车站点和下车站点;通过人脸识别确定一辆公交车上车的乘客是否其他公交车下车的乘客,如果是,则确定所述乘客的换乘站点;将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线;基于获取的所有乘客的乘车路线预测公交路线的需求。本方法基于人脸识别技术对上下车乘客进行人脸抓拍和识别匹配,预测市民出行完整的乘车路线的方法,利用完整的乘车路线信息,科学合理的进行城市公交路线规划,使得城市公交的运行效率更高。The technical effect of the present disclosure is that: a method for predicting a bus route based on face recognition of the present disclosure, the method includes: obtaining passengers getting on and off the bus through face recognition from the obtained video stream, and determining the boarding station of the passengers And get off site; through face recognition, determine whether a passenger on a bus is a passenger on another bus, and if so, determine the passenger’s transfer station; compare the passenger’s boarding station, get off The bus station and the transfer station are associated to obtain the passenger's bus route; based on the obtained bus routes of all passengers, the demand for the bus route is predicted. This method is based on face recognition technology to capture and identify the faces of passengers getting on and off the bus, and predict the complete travel route of citizens. Use the complete travel route information to scientifically and rationally plan urban public transportation routes, so that urban public transportation The operation efficiency is higher.
附图说明Description of the drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显。By reading the detailed description of the non-limiting embodiments with reference to the following drawings, other features, purposes, and advantages of the present application will become more apparent.
图1是根据本公开的实施例的一种基于人脸识别的公交路线预测方法的流程图。Fig. 1 is a flowchart of a method for predicting a bus route based on face recognition according to an embodiment of the present disclosure.
图2是根据本公开的实施例的一种基于人脸识别的公交路线预测系统的结构图。Fig. 2 is a structural diagram of a bus route prediction system based on face recognition according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关公开,而非对该公开的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关公开相关的部分。The application will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the relevant disclosure, but not to limit the disclosure. In addition, it should be noted that, for ease of description, only the parts related to the relevant disclosure are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the application and the features in the embodiments can be combined with each other if there is no conflict. Hereinafter, the present application will be described in detail with reference to the drawings and in conjunction with the embodiments.
图1示出了本公开的一种基于人脸识别的公交路线预测方法,该方法包括:Fig. 1 shows a method for predicting a bus route based on face recognition of the present disclosure, and the method includes:
车辆内部预测步骤S101,从获取的视频流中通过人脸识别获取上下车的乘客,确定所述乘客的上车站点和下车站点。In the vehicle interior prediction step S101, the passengers getting on and off the vehicle are acquired through face recognition from the acquired video stream, and the boarding station and the getting off station of the passengers are determined.
车辆之间预测步骤S102,通过人脸识别确定一辆公交车上车的乘客是否其他公交车下车的乘客,如果是,则确定所述乘客的换乘站点。In the inter-vehicle prediction step S102, it is determined by face recognition whether a passenger getting on one bus is a passenger getting off another bus, and if so, the transfer station of the passenger is determined.
关联步骤S103,将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线。Associating step S103, associating the passenger's boarding station, getting off station and transfer station to obtain the passenger's boarding route.
预测步骤S104,基于获取的所有乘客的乘车路线预测公交路线的需求。In the prediction step S104, the demand of the bus route is predicted based on the obtained bus routes of all passengers.
本公开的方法是基于人脸识别的公交路线预测系统实现的,该系统包括包含车上设备和后台公交运营服务器,车上设备由车载处理终端和上客门、下客门监控摄像头组成,车载处理终端通过车载以太网络连接监控摄像头,车载处理终端通过无线信号连接移动信号基站接入互联网,实现车载设备与公交运营服务器之间的信息通信。车载处理终端包含NVIDIA Jetson Nano高性能嵌入式计算模块、GPS模块、以太网模块、通信模块组成。上客门和下客门的监控摄像头通 过以太网通信将视频流传输到车载处理终端进行实时的视频分析处理。JetsonNano嵌入式模块可以实时处理2路视频流的人脸抓拍、人脸特征提取、人脸识别比对。车载处理终端包括4G通信模块或5G通信模块,因此,车载处理终端可以称为车载4G处理终端或车载5G处理终端,当然车载处理终端还可以包括WIFI、蓝牙等通信模块。The method of the present disclosure is implemented based on a bus route prediction system based on face recognition. The system includes on-board equipment and a background bus operation server. The processing terminal is connected to the surveillance camera through the vehicle-mounted Ethernet network, and the vehicle-mounted processing terminal is connected to the mobile signal base station through wireless signals to access the Internet, so as to realize the information communication between the vehicle-mounted equipment and the bus operation server. The vehicle-mounted processing terminal includes NVIDIA Jetson Nano high-performance embedded computing module, GPS module, Ethernet module, and communication module. The surveillance cameras at the entrance and exit doors transmit the video stream to the on-board processing terminal through Ethernet communication for real-time video analysis and processing. The JetsonNano embedded module can process face capture, face feature extraction, and face recognition comparison of 2 video streams in real time. The vehicle-mounted processing terminal includes a 4G communication module or a 5G communication module. Therefore, the vehicle-mounted processing terminal may be called a vehicle-mounted 4G processing terminal or a vehicle-mounted 5G processing terminal. Of course, the vehicle-mounted processing terminal may also include communication modules such as WIFI and Bluetooth.
在一个实施例中,所述车辆内部预测步骤S101是通过车载处理终端执行的,所述车载处理终端用于执行以下操作:实时分析上客门监控摄像头视频流,进行人脸抓拍并提取上车乘客的人脸特征;实时分析下客门监控摄像头视频流,进行人脸抓拍并提取下车乘客的人脸特征;对上车和下车的乘客的人脸特征进行识别匹配,识别当前车辆中乘客的上车站点和下车站点;并实时将上车和下车抓拍的乘客的人脸特征信息通过网络上传到公交运营服务器。所述上、下客门监控摄像头用于采集乘客上下车的视频,并通过以太网络发送至车载处理终端,车载终端实时分析上、下客门监控摄像头视频流,进行人脸抓拍并提取上下车乘客的人脸特征,进而实现对上车和下车的乘客的人脸特征进行识别匹配,识别当前车辆中乘客的上车站点和下车站点,即实现了确定乘客上下车的站点,站点的位置通过GPS模块获得,当然也可以通过其他定位模块获得,比如北斗导航模块。车载终端并实时将上车和下车抓拍的乘客的人脸特征信息通过网络上传到公交运营服务器,上传至公交运营服务器中的目的是为了进一步确定乘客是否进行了换乘,以及确定换乘的站点。In one embodiment, the vehicle interior prediction step S101 is performed by a vehicle-mounted processing terminal, and the vehicle-mounted processing terminal is configured to perform the following operations: real-time analysis of the video stream of the passenger door surveillance camera, capture of the face, and extract the vehicle Passenger's facial features; real-time analysis of the video stream of the door monitoring camera for disembarking passengers, taking face captures and extracting the facial features of the disembarking passengers; identifying and matching the facial features of the passengers boarding and disembarking, and identifying the current vehicle Passengers’ boarding and disembarking sites; and real-time upload of the facial feature information of passengers who boarded and alighted to the bus operation server via the network. The upper and lower passenger door monitoring cameras are used to collect the video of passengers getting on and off the car and send them to the on-board processing terminal through the Ethernet network. The on-board terminal analyzes the video streams of the upper and lower passenger door monitoring cameras in real time, and captures the faces of the passengers and extracts the getting on and off the car. The facial features of the passengers, and then the recognition and matching of the facial features of the passengers boarding and getting off are realized, and the boarding station and the getting off station of the passengers in the current vehicle are recognized, which is to realize the determination of the passenger boarding station and the station’s The position is obtained through the GPS module, of course, it can also be obtained through other positioning modules, such as the Beidou navigation module. The vehicle-mounted terminal uploads the facial feature information of the passengers who get on and off the bus to the bus operation server via the network in real time. The purpose of uploading to the bus operation server is to further determine whether the passenger has made a transfer and determine the transfer Site.
在一个实施例中,识别当前车辆中乘客的上车站点和下车站点的操作为对于下车的乘客的人脸特征,计算与上车的每一个乘客的人脸特征的相似度,取相似度最大且大于第一阈值的人脸特征对作为识别匹配结果,以确定当前车辆中乘客的上车站点和下车站点。即在乘客上车时,通过GPS模块获得其上车站点,并与其人脸特征进行保存,在乘客下车时,将人脸特征与保存的车内的所有乘客的人脸特征进行比较,找到相似度最大的人脸特征,为了保证识别的准确性,该最大的相似度也需要大于第一阈值(比如,85%,90%等等),才认为是对应的下车乘客,将该乘客下车站点与对应的上车站点、人脸特征进行对应保存,并将下车站点与对应的上车站点、人脸特征一起传送至公交运营服务器中。通过车辆内部预测步骤S101实现了精准识别乘客上下车的站点,为了精确识别每个乘客的乘车路线打下了坚实的基础,这是本公开的一个重要公开点。In one embodiment, the operation of recognizing the boarding and disembarking sites of passengers in the current vehicle is for the facial features of the passengers who got off the vehicle, calculating the similarity with the facial features of each passenger who boarded the vehicle, and taking the similarity The face feature pair with the largest degree and greater than the first threshold is used as the recognition matching result to determine the boarding station and the getting off station of the passengers in the current vehicle. That is, when a passenger gets on the bus, the boarding station is obtained through the GPS module, and its facial features are saved. When the passenger gets off the bus, the facial features are compared with the saved facial features of all passengers in the car to find In order to ensure the accuracy of recognition, the facial feature with the greatest similarity needs to be greater than the first threshold (for example, 85%, 90%, etc.) before it is considered as the corresponding alighting passenger. The drop-off site is saved corresponding to the corresponding boarding site and facial features, and the drop-off site is transmitted to the bus operation server together with the corresponding boarding site and facial features. Through the vehicle interior prediction step S101, the exact identification of the passenger boarding station is realized, and a solid foundation is laid for accurately identifying each passenger's riding route, which is an important disclosure point of the present disclosure.
在一个实施例中,所述车辆之间预测步骤S102是通过公交运营服务器执行的,所述公交运营服务器用于执行以下操作:收到每一辆公交车每一站点的上车和下车的乘客的人脸特征,将所述人脸特征存储到数据库中;将每一辆公交车上车的乘客的人脸特征与其它公交车下车的人脸特征计算相似度,取相似度最大且大于第二阈值的人脸特征对作为识别匹配结果,以确定所述乘客的换乘站点。所述第二阈值可以等于第一阈值,在所述车辆之间预测步骤S102中的人脸特征相似度计算方法与步骤S101中的人脸特征相似度方法相同。为了准确的识别换乘站点,在所述车辆之间预测步骤S102中,限定上车与下车站点距离小于第一 距离阈值(比如0-1000m)且上车的乘客人脸特征与第一时间阈值(比如15-30分钟)内下车的乘客的人脸特征进行匹配识别,这样才确定乘客是经过换乘的比较准确,这是本申请的另一重要公开点。In one embodiment, the inter-vehicle prediction step S102 is performed by a bus operation server, and the bus operation server is configured to perform the following operations: receiving the boarding and getting off information of each bus at each stop The facial features of the passengers are stored in the database; the facial features of the passengers on each bus and the facial features of other buses are calculated for similarity, and the similarity is the largest and Face feature pairs greater than the second threshold are used as recognition matching results to determine the passenger's transfer station. The second threshold may be equal to the first threshold, and the method for calculating the facial feature similarity in step S102 is the same as that in step S101 for predicting between the vehicles. In order to accurately identify the transfer station, in the inter-vehicle prediction step S102, the distance between the boarding station and the getting off station is limited to be less than a first distance threshold (for example, 0-1000m) and the facial features of the passengers boarding and the first time The facial features of passengers who get off the bus within a threshold (for example, 15-30 minutes) are matched and recognized, so that it is determined that the passenger has undergone a transfer is more accurate, which is another important disclosure point of this application.
在一个实施例中,所述公交运营服务器还用于将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线,然后,基于获取的所有乘客的乘车路线预测公交路线的需求。通过公交车内的局部特征匹配和公交车之间换乘的全局匹配,可以预测市民完整乘车路线经过的每一个公交站点。公交运营在掌握市民出行乘车路线需求规律后,通过合理规划公交车运行路线和发车班次,提高公交车运载能力、缩短市民乘车时间、减少道路拥堵状况,从而实现了智能交通。In one embodiment, the bus operation server is further used to associate the boarding station, getting off station, and transfer station of the passenger to obtain the passenger's boarding route, and then, based on the obtained boarding station of all passengers The route predicts the demand of the bus route. Through the local feature matching in the buses and the global matching of transfers between buses, it is possible to predict every bus stop that citizens will pass through in their complete route. After mastering the regularity of citizens' travel and riding route demand, bus operation can improve bus carrying capacity, shorten citizens' travel time, and reduce road congestion by rationally planning bus routes and departure schedules, thereby realizing intelligent transportation.
图2示出了本公开的一种基于人脸识别的公交路线预测系统,该系统包括车上设备201和后台公交运营服务器202,所述车上设备201包括车载处理终端203和上客门监控摄像头204、下客门监控摄像头205,所述车载处理终端203通过以太网络连接所述上客门监控摄像头204和下客门监控摄像头205,所述车载处理终端203通过无线网络与公交运营服务器202相连接。FIG. 2 shows a bus route prediction system based on face recognition of the present disclosure. The system includes a vehicle-mounted device 201 and a background bus operation server 202. The vehicle-mounted device 201 includes a vehicle-mounted processing terminal 203 and a passenger gate monitoring system. The camera 204, the disembarkation door monitoring camera 205, the in-vehicle processing terminal 203 is connected to the in-vehicle door monitoring camera 204 and the disembarking door monitoring camera 205 via an Ethernet network, and the in-vehicle processing terminal 203 communicates with the bus operation server 202 via a wireless network Phase connection.
所述车载处理终端203从获取的视频流中通过人脸识别获取上下车的乘客,确定所述乘客的上车站点和下车站点。车载处理终端203包含NVIDIA JetsonNano高性能嵌入式计算模块、GPS模块、以太网模块、通信模块组成。上客门和下客门的监控摄像头通过以太网通信将视频流传输到车载处理终端203进行实 时的视频分析处理。Jetson Nano嵌入式模块可以实时处理2路视频流的人脸抓拍、人脸特征提取、人脸识别比对。车载处理终端203包括4G通信模块或5G通信模块,因此,车载处理终端203可以称为车载4G处理终端或车载5G处理终端,当然车载处理终端203还可以包括WIFI、蓝牙等通信模块。The in-vehicle processing terminal 203 obtains passengers getting on and off the bus through face recognition from the obtained video stream, and determines the boarding station and the getting off station of the passenger. The vehicle-mounted processing terminal 203 includes a NVIDIA Jetson Nano high-performance embedded computing module, a GPS module, an Ethernet module, and a communication module. The surveillance cameras at the entrance and exit doors transmit the video stream to the vehicle-mounted processing terminal 203 through Ethernet communication for real-time video analysis and processing. The Jetson Nano embedded module can process face capture, face feature extraction, and face recognition comparison of 2 video streams in real time. The vehicle-mounted processing terminal 203 includes a 4G communication module or a 5G communication module. Therefore, the vehicle-mounted processing terminal 203 may be referred to as a vehicle-mounted 4G processing terminal or a vehicle-mounted 5G processing terminal. Of course, the vehicle-mounted processing terminal 203 may also include communication modules such as WIFI and Bluetooth.
所述后台公交运营服务器202用于通过人脸识别确定一辆公交车上车的乘客是否其他公交车下车的乘客,如果是,则确定所述乘客的换乘站点,并将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线;所述后台公交运营服务器202基于获取的所有乘客的乘车路线预测公交路线的需求。The background bus operation server 202 is used to determine whether a passenger getting on a bus is a passenger getting off another bus through face recognition. The boarding station, the getting off station, and the transfer station are associated to obtain the passenger's boarding route; the background bus operation server 202 predicts the demand for the bus route based on the obtained boarding routes of all passengers.
在一个实施例中,所述车载处理终端203用于执行以下操作以确定所述乘客的上车站点和下车站点:实时分析上客门监控摄像头204视频流,进行人脸抓拍并提取上车乘客的人脸特征;实时分析下客门监控摄像头205视频流,进行人脸抓拍并提取下车乘客的人脸特征;对上车和下车的乘客的人脸特征进行识别匹配,识别当前车辆中乘客的上车站点和下车站点;并实时将上车和下车抓拍的乘客的人脸特征信息通过网络上传到公交运营服务器202。所述上、下客门监控摄像头204、205用于采集乘客上下车的视频,并通过以太网络发送至车载处理终端203,车载终端实时分析上、下客门监控摄像头204、205视频流,进行人脸抓拍并提取上下车乘客的人脸特征,进而实现对上车和下车的乘客的人脸特征进行识别匹配,识别当前车辆中乘客的上车站点和下车站点,即实现了确定乘客上下车的站点,站点的位置通过GPS模块获得,当然也可以通过其他定 位模块获得,比如北斗导航模块。车载终端并实时将上车和下车抓拍的乘客的人脸特征信息通过网络上传到公交运营服务器202,上传至公交运营服务器202中的目的是为了进一步确定乘客是否进行了换乘,以及确定换乘的站点。In one embodiment, the vehicle-mounted processing terminal 203 is used to perform the following operations to determine the passenger's boarding site and disembarking site: real-time analysis of the video stream of the boarding door surveillance camera 204, taking facial capture and extracting the boarding site Passenger's facial features; real-time analysis of the video stream of the passenger door monitoring camera 205, facial capture and extraction of the facial features of the passengers who disembarked; recognition and matching of the facial features of the passengers who boarded and alighted to identify the current vehicle The getting-in and getting-off stations of passengers in the middle; and uploading the facial feature information of the passengers captured and getting off the bus to the bus operation server 202 via the network in real time. The upper and lower passenger door monitoring cameras 204, 205 are used to collect the video of passengers getting on and off the vehicle, and send them to the vehicle processing terminal 203 through the Ethernet network. The vehicle terminal analyzes the video streams of the upper and lower passenger door monitoring cameras 204, 205 in real time to perform Face capture and extract the facial features of passengers getting on and off the car, and then realize the recognition and matching of the facial features of the passengers getting on and off, and identifying the getting on and off stations of the passengers in the current vehicle, which realizes the identification of passengers The station of getting on and off the vehicle, the position of the station is obtained through the GPS module, of course, it can also be obtained through other positioning modules, such as the Beidou navigation module. The vehicle-mounted terminal uploads the facial feature information of the passengers who get on and off the bus to the bus operation server 202 via the network in real time. The purpose of uploading to the bus operation server 202 is to further determine whether the passenger has transferred and determine whether the transfer is made. Take the site.
在一个实施例中,识别当前车辆中乘客的上车站点和下车站点的操作为对于下车的乘客的人脸特征,计算与上车的每一个乘客的人脸特征的相似度,取相似度最大且大于第一阈值的人脸特征对作为识别匹配结果,以确定当前车辆中乘客的上车站点和下车站点。即在乘客上车时,通过GPS模块获得其上车站点,并与其人脸特征进行保存,在乘客下车时,将人脸特征与保存的车内的所有乘客的人脸特征进行比较,找到相似度最大的人脸特征,为了保证识别的准确性,该最大的相似度也需要大于第一阈值(比如,85%,90%等等),才认为是对应的下车乘客,将该乘客下车站点与对应的上车站点、人脸特征进行对应保存,并将下车站点与对应的上车站点、人脸特征一起传送至公交运营服务器202中,通过车辆内部特征匹配实现了精准识别乘客上下车的站点,为了精确识别每个乘客的乘车路线打下了坚实的基础,这是本公开的一个重要公开点。In one embodiment, the operation of recognizing the boarding and disembarking sites of passengers in the current vehicle is for the facial features of the passengers who got off the vehicle, calculating the similarity with the facial features of each passenger who boarded the vehicle, and taking the similarity The face feature pair with the largest degree and greater than the first threshold is used as the recognition matching result to determine the boarding station and the getting off station of the passengers in the current vehicle. That is, when a passenger gets on the bus, the boarding station is obtained through the GPS module, and its facial features are saved. When the passenger gets off the bus, the facial features are compared with the saved facial features of all passengers in the car to find In order to ensure the accuracy of recognition, the facial feature with the greatest similarity needs to be greater than the first threshold (for example, 85%, 90%, etc.) before it is considered as the corresponding alighting passenger. The drop-off site is saved corresponding to the corresponding boarding site and facial features, and the drop-off site is transmitted to the bus operation server 202 together with the corresponding boarding site and facial features, and accurate recognition is achieved through the matching of internal features of the vehicle. The stations where passengers get on and off have laid a solid foundation for accurately identifying each passenger's riding route, which is an important disclosure point of this disclosure.
在一个实施例中,所述公交运营服务器202用于执行以下操作以确定所述乘客的换乘站点:收到每一辆公交车每一站点的上车和下车的乘客的人脸特征,将所述人脸特征存储到数据库中;将每一辆公交车上车的乘客的人脸特征与其它公交车下车的人脸特征计算相似度,取相似度最大且大于第二阈值的人脸特征对作为识别匹配结果,以确定所述乘客的换乘站点;所述第二阈值可以等于第 一阈值,公交运营服务器202中的人脸特征相似度计算方法与车载处理终端203中的人脸特征相似度方法相同。为了准确的识别换乘站点,在所述公交运营服务器202中计算时,限定上车与下车站点距离小于第一距离阈值(比如0-1000m)且上车的乘客人脸特征与第一时间阈值(比如15-30分钟)内下车的乘客的人脸特征进行匹配识别,这样才确定乘客是经过换乘的比较准确,这是本申请的另一重要公开点。In one embodiment, the bus operation server 202 is configured to perform the following operations to determine the transfer station of the passenger: receive the facial features of passengers boarding and getting off at each station of each bus, Store the facial features in the database; calculate the similarity between the facial features of the passengers on each bus and the facial features of other buses, and take the person with the largest similarity and greater than the second threshold The face feature pair is used as the recognition and matching result to determine the transfer station of the passenger; the second threshold may be equal to the first threshold, and the facial feature similarity calculation method in the bus operation server 202 is the same as that of the person in the on-board processing terminal 203 The facial feature similarity method is the same. In order to accurately identify the transfer station, in the calculation in the bus operation server 202, the distance between the boarding station and the getting off station is limited to be less than the first distance threshold (for example, 0-1000m) and the facial features of the passengers boarding and the first time The facial features of passengers who get off the bus within a threshold (for example, 15-30 minutes) are matched and recognized, so that it is determined that the passenger has undergone a transfer is more accurate, which is another important disclosure point of this application.
所述公交运营服务器202还用于将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线,然后,基于获取的所有乘客的乘车路线预测公交路线的需求。通过公交车内的局部特征匹配和公交车之间换乘的全局匹配,可以预测市民完整乘车路线经过的每一个公交站点。公交运营在掌握市民出行乘车路线需求规律后,通过合理规划公交车运行路线和发车班次,提高公交车运载能力、缩短市民乘车时间、减少道路拥堵状况,从而实现了智能交通。The bus operation server 202 is also used to associate the boarding station, getting off station, and transfer station of the passenger to obtain the passenger's bus route, and then predict the bus route based on the obtained bus routes of all passengers. need. Through the local feature matching in the buses and the global matching of transfers between buses, it is possible to predict every bus stop that citizens will pass through in their complete route. After mastering the regularity of citizens' travel and riding route demand, bus operation can improve bus carrying capacity, shorten citizens' travel time, and reduce road congestion by rationally planning bus routes and departure schedules, thereby realizing intelligent transportation.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing this application, the functions of each unit can be implemented in the same or multiple software and/or hardware.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络 设备等)执行本申请各个实施例或者实施例的某些部分所述的装置。From the description of the foregoing implementation manners, it can be known that those skilled in the art can clearly understand that this application can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as ROM/RAM, magnetic disk , CD-ROM, etc., including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute the devices described in the various embodiments or some parts of the embodiments of the present application.
最后所应说明的是:以上实施例仅以说明而非限制本公开的技术方案,尽管参照上述实施例对本公开进行了详细说明,本领域的普通技术人员应当理解:依然可以对本公开进行修改或者等同替换,而不脱离本公开的精神和范围的任何修改或局部替换,其均应涵盖在本公开的权利要求范围当中。Finally, it should be noted that the above embodiments only illustrate rather than limit the technical solutions of the present disclosure. Although the present disclosure has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that the present disclosure can still be modified or modified. Equivalent replacements, any modifications or partial replacements that do not depart from the spirit and scope of the present disclosure, shall be covered by the scope of the claims of the present disclosure.

Claims (10)

  1. 一种基于人脸识别的公交路线预测方法,其特征在于,该方法包括:A bus route prediction method based on face recognition, characterized in that the method includes:
    车辆内部预测步骤,从获取的视频流中通过人脸识别获取上下车的乘客,确定所述乘客的上车站点和下车站点;In the vehicle interior prediction step, the passengers getting on and off the vehicle are obtained through face recognition from the obtained video stream, and the boarding station and the getting off station of the passenger are determined;
    车辆之间预测步骤,通过人脸识别确定一辆公交车上车的乘客是否其他公交车下车的乘客,如果是,则确定所述乘客的换乘站点;In the inter-vehicle prediction step, it is determined through face recognition whether a passenger on a bus is a passenger on another bus, and if so, the transfer station of the passenger is determined;
    关联步骤,将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线;Associating step, associating the boarding station, getting off station, and transfer station of the passenger to obtain the riding route of the passenger;
    预测步骤,基于获取的所有乘客的乘车路线预测公交路线的需求。The prediction step is to predict the demand of the bus route based on the obtained bus routes of all passengers.
  2. 根据权利要求1所述的方法,其特征在于,所述车辆内部预测步骤是通过车载处理终端执行的,所述车载处理终端用于执行以下操作:实时分析上客门监控摄像头视频流,进行人脸抓拍并提取上车乘客的人脸特征;实时分析下客门监控摄像头视频流,进行人脸抓拍并提取下车乘客的人脸特征;对上车和下车的乘客的人脸特征进行识别匹配,识别当前车辆中乘客的上车站点和下车站点;并实时将上车和下车抓拍的乘客的人脸特征信息通过网络上传到公交运营服务器。The method according to claim 1, characterized in that the step of predicting the interior of the vehicle is performed by a vehicle-mounted processing terminal, and the vehicle-mounted processing terminal is configured to perform the following operations: real-time analysis of the video stream of the door-to-door surveillance camera, and Face capture and extract the facial features of the passengers on the bus; real-time analysis of the video stream of the passenger door surveillance camera, take facial capture and extract the facial features of the passengers who get off the bus; recognize the facial features of the passengers on and off the bus Matching, identifying the boarding and disembarking sites of passengers in the current vehicle; and uploading the facial feature information of the passengers who boarded and alighted to the bus operation server via the network in real time.
  3. 根据权利要求2所述的方法,其特征在于,识别当前车辆中乘客的上车站点和下车站点的操作为对于下车的乘客的人脸特征,计算与上车的每一个乘客的人脸特征的相似度,取相似度最大且大于第一阈值的人脸特征对作为识别匹配结果,以确定当前车辆中乘客的上车站点和下车站点。The method according to claim 2, wherein the operation of recognizing the boarding and disembarking sites of the passengers in the current vehicle is the facial features of the passengers getting off the vehicle and calculating the facial features of each passenger who boarded the vehicle. For the similarity of features, take the face feature pair with the largest similarity and greater than the first threshold as the recognition matching result to determine the boarding station and the getting off station of the passengers in the current vehicle.
  4. 根据权利要求1所述的方法,其特征在于,所述车辆之间预测步骤是通过 公交运营服务器执行的,所述公交运营服务器用于执行以下操作:收到每一辆公交车每一站点的上车和下车的乘客的人脸特征,将所述人脸特征存储到数据库中;将每一辆公交车上车的乘客的人脸特征与其它公交车下车的人脸特征计算相似度,取相似度最大且大于第二阈值的人脸特征对作为识别匹配结果,以确定所述乘客的换乘站点;The method according to claim 1, wherein the step of predicting between vehicles is performed by a bus operation server, and the bus operation server is configured to perform the following operations: receiving information from each bus for each stop The facial features of passengers boarding and getting off the bus are stored in the database; the facial features of passengers boarding on each bus are calculated similarly to the facial features of other buses getting off the bus , Taking the face feature pair with the greatest similarity and greater than the second threshold as the recognition matching result to determine the passenger's transfer station;
    所述公交运营服务器还用于将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线。The bus operation server is also used for associating the passenger's boarding station, getting off station and transfer station to obtain the passenger's boarding route.
  5. 根据权利要求4所述的方法,其特征在于,在所述车辆之间预测步骤中,限定上车与下车站点距离小于第一距离阈值且上车的乘客人脸特征与第一时间阈值内下车的乘客的人脸特征进行匹配识别。The method according to claim 4, characterized in that, in the step of predicting between vehicles, it is defined that the distance between boarding and disembarking stations is less than a first distance threshold and the facial features of passengers boarding are within the first time threshold. The facial features of passengers getting off the bus are matched and recognized.
  6. 一种基于人脸识别的公交路线预测系统,其特征在于,该系统包括车上设备和后台公交运营服务器,所述车上设备包括车载处理终端和上客门监控摄像头、下客门监控摄像头,所述车载处理终端连接所述上客门监控摄像头和下客门监控摄像头,所述车载处理终端通过无线网络与公交运营服务器相连接;A bus route prediction system based on face recognition, characterized in that the system includes on-board equipment and a background bus operation server, and the on-board equipment includes a vehicle-mounted processing terminal, a passenger boarding door monitoring camera, and a passenger boarding door monitoring camera, The in-vehicle processing terminal is connected to the passenger boarding door monitoring camera and the unloading door monitoring camera, and the vehicle-mounted processing terminal is connected to a bus operation server through a wireless network;
    所述车载处理终端从获取的视频流中通过人脸识别获取上下车的乘客,确定所述乘客的上车站点和下车站点;The in-vehicle processing terminal obtains passengers getting on and off the bus through face recognition from the obtained video stream, and determines the boarding station and the getting off station of the passenger;
    所述后台公交运营服务器用于通过人脸识别确定一辆公交车上车的乘客是否其他公交车下车的乘客,如果是,则确定所述乘客的换乘站点,并将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线;The background bus operation server is used to determine whether a passenger getting on a bus is a passenger getting off another bus through face recognition. The bus station, the drop off station, and the transfer station are associated to obtain the passenger's boarding route;
    所述后台公交运营服务器基于获取的所有乘客的乘车路线预测公交路线的需求。The background bus operation server predicts the demand of the bus route based on the obtained bus routes of all passengers.
  7. 根据权利要求6所述的系统,其特征在于,所述车载处理终端用于执行以下操作以确定所述乘客的上车站点和下车站点:实时分析上客门监控摄像头视频流,进行人脸抓拍并提取上车乘客的人脸特征;实时分析下客门监控摄像头视频流,进行人脸抓拍并提取下车乘客的人脸特征;对上车和下车的乘客的人脸特征进行识别匹配,识别当前车辆中乘客的上车站点和下车站点;并实时将上车和下车抓拍的乘客的人脸特征信息通过网络上传到公交运营服务器。The system according to claim 6, wherein the vehicle-mounted processing terminal is configured to perform the following operations to determine the passenger's boarding and disembarking sites: real-time analysis of the video stream of the boarding door surveillance camera to perform facial analysis. Capture and extract the facial features of the passengers on the bus; analyze the video stream of the surveillance camera of the exit door in real time, capture the faces and extract the facial features of the passengers who get off the bus; identify and match the facial features of the passengers on and off the bus , To identify the boarding and disembarking sites of passengers in the current vehicle; and upload the facial feature information of the passengers who boarded and alighted to the bus operation server via the network in real time.
  8. 根据权利要求7所述的系统,其特征在于,识别当前车辆中乘客的上车站点和下车站点的操作为对于下车的乘客的人脸特征,计算与上车的每一个乘客的人脸特征的相似度,取相似度最大且大于第一阈值的人脸特征对作为识别匹配结果,以确定当前车辆中乘客的上车站点和下车站点。The system according to claim 7, wherein the operation of recognizing the boarding and disembarking sites of the passengers in the current vehicle is the facial features of the passengers getting off the vehicle and calculating the facial features of each passenger who boarded the vehicle. For the similarity of features, take the face feature pair with the largest similarity and greater than the first threshold as the recognition matching result to determine the boarding station and the getting off station of the passengers in the current vehicle.
  9. 根据权利要求6所述的系统,其特征在于,所述公交运营服务器用于执行以下操作以确定所述乘客的换乘站点:收到每一辆公交车每一站点的上车和下车的乘客的人脸特征,将所述人脸特征存储到数据库中;将每一辆公交车上车的乘客的人脸特征与其它公交车下车的人脸特征计算相似度,取相似度最大且大于第二阈值的人脸特征对作为识别匹配结果,以确定所述乘客的换乘站点;The system according to claim 6, wherein the bus operation server is configured to perform the following operations to determine the transfer station of the passenger: receiving the boarding and disembarking information of each bus at each station The facial features of the passengers are stored in the database; the facial features of the passengers on each bus and the facial features of other buses are calculated for similarity, and the similarity is the largest and Face feature pairs greater than the second threshold are used as a recognition matching result to determine the passenger's transfer station;
    所述公交运营服务器还用于将所述乘客的上车站点、下车站点和换乘站点进行关联获取该乘客的乘车路线。The bus operation server is also used for associating the passenger's boarding station, getting off station and transfer station to obtain the passenger's boarding route.
  10. 根据权利要求9所述的系统,其特征在于,在所确定所述乘客的换乘站点时,限定上车与下车站点距离小于第一距离阈值且上车的乘客人脸特征与第一时间阈值内下车的乘客的人脸特征进行匹配识别。The system according to claim 9, wherein when the transfer station of the passenger is determined, the distance between the boarding station and the getting off station is limited to be less than a first distance threshold, and the facial features of the passengers boarding are compared with the first time. The facial features of passengers who got off the bus within the threshold are matched and recognized.
PCT/CN2020/139840 2020-02-11 2020-12-28 Bus route prediction method and system based on facial recognition WO2021159866A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010086988.3 2020-02-11
CN202010086988.3A CN111311467A (en) 2020-02-11 2020-02-11 Bus route prediction method and system based on face recognition

Publications (1)

Publication Number Publication Date
WO2021159866A1 true WO2021159866A1 (en) 2021-08-19

Family

ID=71159363

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/139840 WO2021159866A1 (en) 2020-02-11 2020-12-28 Bus route prediction method and system based on facial recognition

Country Status (2)

Country Link
CN (1) CN111311467A (en)
WO (1) WO2021159866A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114664084A (en) * 2022-03-02 2022-06-24 河南职业技术学院 Intelligent transportation system with face recognition function

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111311467A (en) * 2020-02-11 2020-06-19 罗普特科技集团股份有限公司 Bus route prediction method and system based on face recognition
CN112183192A (en) * 2020-08-17 2021-01-05 江苏慧域物联科技有限公司 OD (origin-destination) analysis method for passenger flow of intelligent bus shelter
CN112183988A (en) * 2020-09-22 2021-01-05 深圳北斗应用技术研究院有限公司 Vehicle scheduling method, system, electronic device and storage medium
CN113158923B (en) * 2021-04-27 2022-09-06 华录智达科技股份有限公司 Bus transfer reminding system based on face recognition
CN113538954A (en) * 2021-07-12 2021-10-22 深圳市三联众瑞科技有限公司 Bus travel rule identification method
WO2023021673A1 (en) * 2021-08-19 2023-02-23 日本電気株式会社 Server device, system, od data generation method, and storage medium
CN114495491A (en) * 2021-12-31 2022-05-13 深圳云天励飞技术股份有限公司 Method and device for determining cross-line travel route, computer equipment and medium
CN114973680A (en) * 2022-07-01 2022-08-30 哈尔滨工业大学 Bus passenger flow obtaining system and method based on video processing
CN115205950B (en) * 2022-09-16 2023-04-25 广州昇创达科技有限公司 Block chain-based intelligent traffic subway passenger detection and checkout method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913367A (en) * 2016-04-07 2016-08-31 北京晶众智慧交通科技股份有限公司 Public bus passenger flow volume detection system and method based on face identification and position positioning
US20160335894A1 (en) * 2013-12-25 2016-11-17 Shuxia LIU Bus Station Optimization Evaluation Method and System
CN107240289A (en) * 2017-07-24 2017-10-10 济南博图信息技术有限公司 A kind of bus routes optimum management method and system
CN109658686A (en) * 2018-12-29 2019-04-19 徐梓博 Device and method for controlling public transport line
CN111311467A (en) * 2020-02-11 2020-06-19 罗普特科技集团股份有限公司 Bus route prediction method and system based on face recognition

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100185486A1 (en) * 2009-01-21 2010-07-22 Disney Enterprises, Inc. Determining demand associated with origin-destination pairs for bus ridership forecasting
CN106897955A (en) * 2017-01-24 2017-06-27 华南理工大学 A kind of Public Transport Transfer recognition methods based on public transport OD data
CN107483902A (en) * 2017-09-30 2017-12-15 珠海芯桥科技有限公司 A kind of passenger on public transport Tracking monitoring system
CN108491755A (en) * 2018-02-05 2018-09-04 安徽达尔智能控制系统股份有限公司 Bus passenger flow aid decision-making system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160335894A1 (en) * 2013-12-25 2016-11-17 Shuxia LIU Bus Station Optimization Evaluation Method and System
CN105913367A (en) * 2016-04-07 2016-08-31 北京晶众智慧交通科技股份有限公司 Public bus passenger flow volume detection system and method based on face identification and position positioning
CN107240289A (en) * 2017-07-24 2017-10-10 济南博图信息技术有限公司 A kind of bus routes optimum management method and system
CN109658686A (en) * 2018-12-29 2019-04-19 徐梓博 Device and method for controlling public transport line
CN111311467A (en) * 2020-02-11 2020-06-19 罗普特科技集团股份有限公司 Bus route prediction method and system based on face recognition

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114664084A (en) * 2022-03-02 2022-06-24 河南职业技术学院 Intelligent transportation system with face recognition function

Also Published As

Publication number Publication date
CN111311467A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
WO2021159865A1 (en) Data calibration-based bus route prediction method and system
WO2021159866A1 (en) Bus route prediction method and system based on facial recognition
CN112530166B (en) Method and system for analyzing and identifying bus station for getting on or off bus during traveling based on signaling data and big data
CN109285376B (en) Bus passenger flow statistical analysis system based on deep learning
CN107845259B (en) Bus running condition real-time feedback system and bus real-time running data processing method
WO2017140175A1 (en) Toll road network traffic information collection and guidance system based on route identification system
CN107545757B (en) Urban road flow velocity measuring device and method based on license plate recognition
JP7010194B2 (en) Vehicle dispatch system, server and information processing method
CN108364464B (en) Probability model-based public transport vehicle travel time modeling method
CN114693495B (en) Smart city public traffic management method, Internet of things system, device and medium
CN112712600A (en) Parking lot mobile duty system and method based on mobile Internet of things
CN115410371A (en) Urban rail transit passenger flow data acquisition and analysis method based on non-inductive payment
CN115423222B (en) Open self-service type urban rail transit station arrival inspection management method
CN109471389A (en) Railway transportation monitoring system based on big data
CN107844856A (en) Bus passenger flow Forecasting Methodology based on vehicle GPS and website WiFi
CN110334858A (en) A kind of bus remaining seat intelligent Forecasting and device
JP3502156B2 (en) Traffic monitoring system
CN112601187B (en) Bus frequent passenger prediction method and system based on mobile phone signaling
CN110321982A (en) A kind of rail traffic section volume of the flow of passengers real-time computing technique
JP7382200B2 (en) Boarding and alighting determination device, boarding and alighting determination method, and boarding and alighting determination program
CN110035129B (en) Highway vehicle management system and working method thereof
CN111624638A (en) Method for tracing trace and generating monitoring report based on big data system
CN113393080A (en) Passenger information management system and method for public transport passenger transport mechanism
CN113542364B (en) Bus and network appointment linkage intelligent traffic system
CN113591690B (en) Running monitoring method for network taxi booking/taxi

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20918705

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20918705

Country of ref document: EP

Kind code of ref document: A1