UAI-FI: using artificial intelligence for automatic passenger counting through Wi-Fi and GPS data
DOI:
https://doi.org/10.14295/transportes.v30i2.2555Keywords:
Passenger counting, Bus load, Wi-Fi, Machine learningAbstract
An important piece of information for planning public transportation is the number of passengers using the system. Several initiatives have started to explore the Wi-Fi packets generated by passengers’ smartphones as means to obtain this information. A sensing device located inside the bus can intercept and collect these packets. By applying filters, e.g., verifying if the signal strength is higher than a threshold, the sensor can infer passengers' presence/absence. However, such limits are set arbitrarily, leading to errors, for example, when close to bus stops. To address this issue, this article proposes a method (UAI-FI) based on an artificial intelligence technique (Support Vector Machine) to classify the origin of packets as inside or outside the bus. To validate UAI-FI, we applied and compared our approach to other methods in a bus line in Goiânia/Brazil. The results suggest that UAI-FI outperformed existing methods. Furthermore, it successfully classified the packet’s origin, obtaining 83.3% and 88.5% of the total number of passengers boarding and alighting the line. Despite the overall similarity, we highlight that UAI-FI’s counting curve presented a delay compared to the manual count indicating that the frequency that Wi-Fi packets are sent can cause the presence/absence of passengers to be perceived at different stops.
Downloads
References
Afshari, H. H.; S. Jalali; A. H. Ghods and B. Raahemi (2019) An Intelligent Traffic Management System Based on the Wi-Fi and Bluetooth Sensing and Data Clustering. In K. Arai, R. Bhatia e S. Kapoor (eds) Proceedings of the Future Technologies Conference. Cham: Springer. DOI:10.1007/978-3-030-02686-8_24 DOI: https://doi.org/10.1007/978-3-030-02686-8_24
Chen, T. Z.; Y. Y. Chen and J. H. Lai (2021) Estimating bus cross-sectional flow based on machine learning algorithm combined with wi-fi probe technology. Sensors, v. 21, n. 3. DOI:10.3390/s21030844 DOI: https://doi.org/10.3390/s21030844
Cortes, C. and V. Vapnik. (1995) Support-vector networks. Machine Learning, v. 20, n. 3, p. 273–297. DOI:10.1007/BF00994018 DOI: https://doi.org/10.1007/BF00994018
Dunlap, M.; Z. Li; K. Henrickson and Y. Wang (2016) Estimation of Origin and Destination Information from Bluetooth and Wi-Fi Sensing for Transit. Transportation Research Record: Journal of the Transportation Research Board, v. 2595, n. 1, p. 11–17. DOI:10.3141/2595-02 DOI: https://doi.org/10.3141/2595-02
Flach, P. (2012) Machine Learning: The Art and Science of Algorithms That Make Sense of Data. New York: Cambridge University Press. DOI: https://doi.org/10.1017/CBO9780511973000
Freudiger, J. (2015) How Talkative is your Mobile Device? An Experimental Study of Wi-Fi Probe Requests. In Proc. of the 8th ACM Conf. on Security & Privacy in Wireless and Mobile Networks. New York: ACM. DOI:10.1145/2766498.2766517 DOI: https://doi.org/10.1145/2766498.2766517
Hidayat, A.; S. Terabe and H. Yaginuma. (2020) Estimating bus passenger volume based on a Wi-Fi scanner survey. Transportation Research Interdisciplinary Perspectives, v. 6. DOI:10.1016/j.trip.2020.100142 DOI: https://doi.org/10.1016/j.trip.2020.100142
IEEE (1997) Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specification. New York: Institute of Electrical and Electronics Engineers.
Ji, Y.; J. Zhao, Z. Zhang and Y. Du. (2017) Estimating Bus Loads and OD Flows Using Location-Stamped Farebox and Wi-Fi Signal Data. Journal of Advanced Transportation, v. 2017, p. 1–10. DOI:10.1155/2017/6374858 DOI: https://doi.org/10.1155/2017/6374858
Mikkelsen, L.; R. Buchakchiev; T. Madsen and H. P. Schwefel (2016) Public transport occupancy estimation using WLAN probing. In Proceedings of 8th International Workshop on Resilient Networks Design and Modeling. New York: IEEE, p. 302–308. DOI:10.1109/RNDM.2016.7608302 DOI: https://doi.org/10.1109/RNDM.2016.7608302
Mishalani, R. G.; M. R. McCord and T. Reinhold (2016) Use of Mobile Device Wireless Signals to Determine Transit Route-Level Passenger Origin–Destination Flows: Methodology and Empirical Evaluation. Transportation Research Record: Journal of the Transportation Research Board, v. 2544, n. 1, p. 123–130. DOI:10.3141/2544-14 DOI: https://doi.org/10.3141/2544-14
Myrvoll, T. A.; J. E. Håkegård; T. Matsui and F. Septier (2017) Counting public transport passenger using WiFi signatures of mobile devices. In 20th International Conference on Intelligent Transportation Systems. New York: IEEE, p. 1–6. DOI:10.1109/ITSC.2017.8317687 DOI: https://doi.org/10.1109/ITSC.2017.8317687
Nitti, M.; F. Pinna; L. Pintor; V. Pilloni and B. Barabino (2020) iABACUS: A Wi-Fi-Based Automatic Bus Passenger Counting System. Energies, v. 13, n. 6. DOI:10.3390/en13061446 DOI: https://doi.org/10.3390/en13061446
Oransirikul, T.; R. Nishide; I. Piumarta and H. Takada (2014) Measuring Bus Passenger Load by Monitoring Wi-Fi Transmissions from Mobile Devices. Procedia Technology, v. 18, p. 120–125. DOI:10.1016/j.protcy.2014.11.023 DOI: https://doi.org/10.1016/j.protcy.2014.11.023
Oransirikul, T.; I. Piumarta and H. Takada (2019) Classifying passenger and non-passenger signals in public transportation by analysing mobile device Wi-Fi activity. Journal of Information Processing, v. 27, p. 25–32. DOI:10.2197/ipsjjip.27.25 DOI: https://doi.org/10.2197/ipsjjip.27.25
Paradeda, D. B.; W. Kraus Junior and R. C. Carlson (2019) Bus passenger counts using Wi-Fi signals: some cautionary findings. TRANSPORTES, v. 27, n. 3, p. 115–130. DOI:10.14295/transportes.v27i3.2039 DOI: https://doi.org/10.14295/transportes.v27i3.2039
Ribeiro, J.; A. Zúquete and S. Sargento (2019) Survey of Passengers’ Origin-Destination in Public Transportation Networks Using Wi-Fi. In Communications in Computer and Information Science. Cham: Springer, p. 367–388. DOI:10.1007/978-3-030-26633-2_18 DOI: https://doi.org/10.1007/978-3-030-26633-2_18
Richardson, M and S. Wallace (2014) Getting Started with Raspberry Pi: Electronic Projects with Python, Scratch, and Linux (2nd ed). Santa Rosa: Maker Media.
RMTC. (2018) "RMTC Goiânia". Rede Metropolitana de Transportes Coletivos. Available at <http://rmtcgoiania.com.br> (accessed on: 13/02/2021).
Vanhoef, M.; C. Matte; M. Cunche; L. S. Cardoso and F. Piessens (2016) Why MAC address randomization is not enough: An analysis of Wi-Fi network discovery mechanisms. In Proc. of the 11th ACM on Asia Conf. on Computer and Communications Security. New York: ACM., p. 413–424. DOI:10.1145/2897845.2897883 DOI: https://doi.org/10.1145/2897845.2897883
Zhang, C.; C. Liu; X. Zhang and G. Almpanidis (2017) An up-to-date comparison of state-of-the-art classification algorithms. Expert Systems with Applications, v. 82, p. 128–150. DOI:10.1016/j.eswa.2017.04.003 DOI: https://doi.org/10.1016/j.eswa.2017.04.003
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2022 Marcos Paulino Roriz Junior, Ronny Marcelo Aliaga Medrano, Ronny Marcelo Aliaga Medrano, Cristiano Farias Almeida, Cristiano Farias Almeida
This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who submit papers for publication by TRANSPORTES agree to the following terms:
- Authors retain copyright and grant TRANSPORTES the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors may enter into separate, additional contractual arrangements for the non-exclusive distribution of this journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in TRANSPORTES.
- Authors are allowed and encouraged to post their work online (e.g., in institutional repositories or on their website) after publication of the article. Authors are encouraged to use links to TRANSPORTES (e.g., DOIs or direct links) when posting the article online, as TRANSPORTES is freely available to all readers.
- Authors have secured all necessary clearances and written permissions to published the work and grant copyright under the terms of this agreement. Furthermore, the authors assume full responsibility for any copyright infringements related to the article, exonerating ANPET and TRANSPORTES of any responsibility regarding copyright infringement.
- Authors assume full responsibility for the contents of the article submitted for review, including all necessary clearances for divulgation of data and results, exonerating ANPET and TRANSPORTES of any responsibility regarding to this aspect.