Measurement and analysis of pedestrian traffic characteristics in real time

Authors

DOI:

https://doi.org/10.24136/tren.2025.012

Keywords:

traffic, pedestrian crossing, OpenCV, vision technique, attractiveness, POI

Abstract

This article addresses the issue of measuring and analyzing pedestrian traffic characteristics in real time. The proposed methodology employs standard, low-cost web cameras, which are temporarily installed at selected pedestrian crossings in Katowice. In subsequent stages of the research, cameras will be deployed at signalized pedestrian intersections, with their locations optimized according to the adopted measurement procedures. In this context, the spatial positioning of the camera is a critical factor that affects the quality of data and the quality of the measurement. The primary objective of the measurements presented is to analyze pedestrian traffic dynamics within the framework of a conceptual model describing the interactions between pedestrian and vehicular flows, as well as interpersonal interactions among pedestrians at intersections, with and without traffic signals. Here are some concepts for using such a model. The theoretical model will be elaborated in future publications. The present article focuses on the development and implementation of the real-time automatic data acquisition method that supports this modeling approach. Real-time data collection was conducted using computer vision techniques implemented with the OpenCV library and the Python programming language. The software system operates on the Windows platform, but can be run on any platform: Unix, MacOS. In the analysis, a comprehensive set of traffic parameters was employed that accounts for both the spatial and functional characteristics of the observed environment, as well as the behavioral patterns of pedestrian movement.

References

Dawson-Howe, K. (2014). A practical introduction to computer vision with OpenCV. Wiley.

Minichino J., Howse J. (2015). Learning OpenCV 3: Computer vision with Python (2nd ed.). Packt Publishing.

Bueno García G., et al. (2015). Learning image processing with OpenCV. Packt Publishing.

Dalal N., Triggs B. (2005). Histograms of oriented gradients for human detection. https://lear.inrialpes.fr/people/triggs/pubs/Dalal-cvpr05.pdf.

Kachouane M., Sahki S., Lakrouf M., Ouadah N. (2012). HOG based fast human detection. In 2012 24th International Conference on Microelectronics (ICM), 1–4. IEEE. https://doi.org/10.1109/ICM.2012.6471380.

Heisele B., Wöhler C. (1998). Motion-based recognition of pedestrians. In 14th International Conference on Pattern Recognition, 2, 1325–1330. Brisbane, Australia.

Viola P., Jones M., Snow D. (2005). Detecting pedestrians using patterns of motion and appearance. International Journal of Computer Vision, 63(2), 153–161.

Dalal N., Triggs B. (2005). Histograms of oriented gradients for human detection. In 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. 1, 886–893. IEEE.

Arya Z., Tiwari V. (2020). Automatic face recognition and detection using OpenCV, Haar cascade and recognizer for frontal face. International Journal of Engineering Research and Applications, 10(6-V), 13–19.

Karpiuk N., Klym H., Vasylchychyn I. (2023). Facial recognition system based on the Haar cascade classifier method. https://indico.global/event/10039/papers/96116/files/3859-2023257490.pdf

Sen J. (2020). Face detection using OpenCV and Haar cascades classifiers [Master’s project]. https://doi.org/10.13140/RG.2.2.26708.83840.

Reinius S. (2013). Object recognition using the OpenCV Haar cascade-classifier on the iOS platform [Bachelor’s thesis, Uppsala University]. https://uu.diva-portal.org/smash/get/diva2:601707/FULLTEXT01.pdf

Phase T.R., Patil S.S. (2019). Building custom HAAR-cascade classifier for face detection. International Journal of Engineering Research & Technology (IJERT), 8(12). http://www.ijert.org.

Microsoft. (n.d.). Dane techniczne i funkcje urządzenia Surface Go 2. https://support.microsoft.com/pl-pl/surface/dane-techniczne-i-funkcje-urz%C4%85dzenia-surface-go-2-0fc6a657-2851-484f-6f82-bd3c589ed92c.

Öztürk G., Eldogan O., Köker R. (2024). Computer vision-based lane detection and detection of vehicle, traffic sign, pedestrian using YOLOv5. Sakarya University Journal of Science, 28. https://doi.org/10.16984/saufenbilder.1393307.

Favorskaya M. N., Andreev V. V. (2019). The study of activation functions in deep learning for pedestrian detection and tracking. ISPRS International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, XLII-2/W12, 53–59. https://doi.org/10.5194/isprs-archives-XLII-2-W12-53-2019

Raju T., et al. (2024). IoT based automatic vehicle accident detection and rescue system. International Journal for Modern Trends in Science and Technology, 10(3), 94–99. https://doi.org/10.46501/IJMTST1003016.

Xinyu W., Tingting L. (2024). A deep learning-based car accident detection approach in video-based traffic surveillance. Journal of Optics. https://doi.org/10.1007/s12596-023-01581-4.

Radojcic, V., et al. (2023). Advancements in computer vision applications for traffic surveillance systems. In Sinergija University Scientific Conference with International Participation. Bijeljina.

Camara, F., Bellotto N., Cosar S., Nathanael D., Althoff M., Wu J., Ruenz J., Dietrich A., Fox, C. (n.d.). Pedestrian models for autonomous driving. Part I: Low-level models, from sensing to tracking. IEEE Transactions on Intelligent Transportation Systems.

Geetha Rani E., et al. (2024). OpenCV based enhanced criminal identification mechanism. In 2024 International Conference on Signal Processing and Advance Research in Computing (SPARC). 1–6. IEEE. https://doi.org/10.1109/SPARC61891.2024.10828801.

Ndubuisi O. J., et al. (2024). Digital criminal biometric archives (DICA) and public facial recognition system (FRS) for Nigerian criminal investigation using HAAR cascades classifier technique. World Journal of Advanced Engineering Technology and Sciences, 11(2), 29–43.

Agbemenu A., Yankey J., Ernest O. (2018). An automatic number plate recognition system using OpenCV and Tesseract OCR engine. International Journal of Computer Applications, 180, 1–5. https://doi.org/10.5120/ijca2018917150.

Gupta V., Dadsena S.S., Rao M. K. (2025). Automatic-number-plate-recognition ANPR. International Journal of Innovative Science and Research Technology, 10(6), 46–48. https://doi.org/10.38124/ijisrt/25jun057.

Komarudin A., Satria A. T., Atmadja W. (2015). Designing license plate identification through digital images. Procedia Computer Science, 59, 468–472.

Celiński I., Sierpiński G. (2019). Roundabouts as safe and modern solutions in transport networks and systems. In E. Macioszek R. Akcelik, G. Sierpiński (Eds.), Transport Systems. Theory and Practice 2018, 24–39. Springer. https://doi.org/10.1007/978-3-319-98618-0_3.

Celiński I. (2019). Metoda oceny oddziaływań między ruchem drogowym wewnątrz i poza strefą sterowania obszarowego [PhD dissertation, Politechnika Warszawska].

Daszykowski M., Siedlecka S. (2021). Analysis of pedestrian accidents in Poland. The National Transport University Bulletin, 1, 11–21. https://doi.org/10.33744/2308-6645-2021-3-50-011-021.

Budzyński M., Jamroz K., Mackun T. (2017). Pedestrian safety in road traffic in Poland. IOP Conference Series: Materials Science and Engineering, 245, 042064. https://doi.org/10.1088/1757-899X/245/4/042064.

Sicińska K., Zielińska A. (2022). Pedestrians’ safety in Poland and use of reflective materials. Transport Problems, 17(1). https://doi.org/10.20858/tp.2022.17.1.11

Fekih M., et al. (2020). A data-driven approach for origin-destination matrix construction from cellular network signalling data: A case study of Lyon region (France). Transportation. https://doi.org/10.1007/s11116-020-10108-w.

Syffen G., Khalil A., Ramadan I. (2023). Origin destination matrix estimation based on traffic counts using fmincon function in MATLAB. Journal of Al-Azhar University Engineering Sector, 18(66), 57–73.

Plačiakis J. (2023). Single-route OD matrix estimation using automatic passenger counting data: A case study in Geneva [Master’s thesis, University of Twente].

Alberola P. (2024). Places and residential attractiveness: A systematic literature review. In Place attractiveness and image. A research agenda, pp. 97–121. https://hal.science/hal-04594612.

Sztuk A. (2023). Cities' attractiveness factors from the perspective of digital nomads. Scientific Papers of Silesian University of Technology. Organization and Management Series, 2023, 323–336. https://doi.org/10.29119/1641-3466.2023.174.23.

Hidalgo M. C., Berto R., Galindo M. P., Getrevi A. (2006). Identifying attractive and unattractive urban places: Categories, restorativeness and aesthetic attributes. Medio Ambientey Comportamiento Humano, 7(2), 115–133.

Downloads

Published

2025-05-23

Issue

Section

Articles