Analysing Headway Spacing and Calculating Passenger Car Equivalent Values Using Computer Vision and International Dataset
Downloads
Accurate traffic flow data are crucial for effective transportation planning and management. Different vehicle types impact traffic flow variably, requiring distinct passenger car equivalency (PCE) factors for calculating intersection and road capacity. Headway and spacing data are essential to assess traffic density and service level. Conventional data collection methods are time-consuming and often inaccurate. Unlike existing studies, this study employed computer vision to measure mixed traffic stream volume in terms of passenger car equivalent and collect headway-spacing data with high accuracy. The vehicle detection and counting procedures provide the mandatory infrastructure for measuring mixed traffic stream volume and collecting headway and spacing data. Novel approaches were introduced to gather comprehensive traffic data, including passenger car equivalent values, headway, spacing, flow rate, vehicle speed and traffic volume, using a single system. A custom and comprehensive international dataset was collected to analyse these approaches. Our trained model achieved a mean average precision (mAP) of 97.4%, with accuracies of 95% for headway, 93% for spacing and 99% for PCE values. The dataset can be downloaded at https://github.com/burak-celik/atavehicledataset.
Downloads
Lin Y, Wang P, Ma M. Intelligent transportation system (ITS): Concept, challenge and opportunity. IEEE 3rd International Conference on Big Data Security on Cloud (bigdatasecurity) 2017, 26-28 May. 2017, Beijing, CHINA. 2017. p. 167–172. DOI: 10.1109/BigDataSecurity.2017.50.
Dinh DL, et al. Towards AI-based traffic counting system with edge computing. Journal of Advanced Transportation, 2021:(1):1–15. DOI: 10.1155/2021/5551976.
Abdulhai B, Kattan L. Reinforcement learning: Introduction to theory and potential for transport applications. Canadian Journal of Civil Engineering. 2003;30(6):981-991. DOI: 10.1139/l03-014.
Theerthagiri P, Gopala Krishnan C. Vehicular multihop intelligent transportation framework for effective communication in vehicular ad‐hoc networks. Concurrency and Computation: Practice and Experience. 2022;34(10), e6833. DOI: 10.1002/cpe.6833.
Khan MA, et al. Integrating shared autonomous vehicles into existing transportation services: Evidence from a paratransit service in Arlington, Texas. International Journal of Civil Engineering. 2022;20(6):601-618. DOI: 10.1007/s40999-021-00698-6.
Vahidi H, Sayed T. Using the Canadian ITS architecture for evaluating the safety benefits of intelligent transportation systems. Canadian Journal of Civil Engineering. 2003;30(6):970-980. DOI: 10.1139/l03-032.
El Hajjami L, et al. A novel robust adaptive neuro-sliding mode steering controller for autonomous ground vehicles. Robotics and Autonomous Systems. 2023;170:104557. DOI: 10.1016/j.robot.2023.104557 .
El Hajjami L, Mellouli EM, Berrada M. Robust adaptive non-singular fast terminal sliding-mode lateral control for an uncertain ego vehicle at the lane-change maneuver subjected to abrupt change. International Journal of Dynamics and Control. 2021;1-18. DOI: 10.1007/s40435-021-00771-x.
El Hajjami L, et al. A robust intelligent controller for autonomous ground vehicle longitudinal dynamics. Applied Sciences. 2022;13(1);501. DOI: 10.3390/app13010501.
El Hajjami L, Mellouli EM, Žuraulis V, Berrada M. Vehicle adaptive cruise controller based on an optimal super-twisting sliding mode control. 2nd International Conference of Smart Systems and Emerging Technologies (SMARTTECH) 2022, 9-11 May. 2022, Riyadh, SAUDI ARABIA. 2022. p. 160-165. DOI: 10.1109/SMARTTECH54121.2022.00044.
Yuksel E, et al. Data-driven computation of state-dependent passenger car equivalency for multiple truck lengths. Transportation research record. 2022;2676(11):194-205. DOI: 10.1177/03611981221092008.
Radhakrishnan P, Mathew TV. Passenger car units and saturation flow models for highly heterogeneous traffic at urban signalised intersections. Transportmetrica. 2011;7(2):141-162. DOI: 10.1080/18128600903351001.
Favero R, Setti JR. Factors affecting the ımpact of autonomous vehicles on freeway operations–An exploratory analysis using PCEs. Promet-Traffic&Transportation. 2024;36(1):55-68. DOI: 10.7307/ptt.v36i1.356.
Çalışkanelli S, Tanyel S. Investigation of saturation flow value at signalized ıntersections. TEKNIK DERGI. 2018;29(1):8225-8248. DOI: 10.18400/tekderg.346592.
Tunç A. Yol güvenlik mühendisliği ve uygulamaları: Analytical studies in traffic engineering. Chapter II . Ankara, Türkiye: Asil Yayın Dağıtım; 2003.
Chen X, Li L, Zhang Y. A Markov model for headway/spacing distribution of road traffic. IEEE Transactions on Intelligent Transportation Systems. 2010:11(4); 773–785. DOI: 10.1109/TITS.2010.2050141.
Transportation Research Board. Highway Capacity Manual 2000. Washington, USA: Transportation Research Board; 2000.
Stepanović N, Tubić V, Zdravković S. Determining free-flow speed on different classes of rural two-lane highways. Promet-Traffic&Transportation. 2023:35(3);315-330. DOI: 10.7307/ptt.v35i3.195.
Google Research. Colaboratory: Frequently asked questions. Google Research. https://research.google.com/colaboratory/faq.html [Accessed 24 November 2023]
Guido VR, Drake Jr F. Python 3 reference manual. California, USA. CreateSpace; 2009.
Hajjami LE, et al. Neural network optimization algorithm based non-singular fast terminal sliding-mode control for an uncertain autonomous ground vehicle subjected to disturbances. Proceedings of the Institution of Mechanical Engineers, Part D: Journal of Automobile Engineering. 2024;238(7);1687-1697.
Park D, et al. Investigating optimal aggregation interval sizes of loop detector data for freeway travel-time estimation and prediction. Canadian Journal of Civil Engineering. 2009:36(4);580-591. DOI: 10.1139/L08-129.
Rajput SK, et al. Automatic vehicle identification and classification model using the YOLOv3 algorithm for a toll management system. Sustainability. 2022;14(15);9163. DOI: 10.3390/su14159163.
Song H, et al. Vision-based vehicle detection and counting system using deep learning in highway scenes. European Transport Research Review. 2019;11(1);1–16.
Bui KHN, Yi H, Cho J. A multi-class multi-movement vehicle counting framework for traffic analysis in complex areas using CCTV systems. Energies. 2020;13(8);2036. DOI: 10.3390/en13082036.
Park SH, Yu SB, Kim JA, Yoon H. An all-in-one vehicle type and license plate recognition system using YOLOv4. Sensors. 2022;22(3);921. DOI: 10.3390/s22030921.
Xu X, et al. A new deep model for detecting multiple moving targets in real traffic scenarios: Machine vision-based vehicles. Sensors. 2022;22(10);3742. DOI: 10.3390/s22103742.
Geiger A, Len, P, Urtasun R. Are we ready for autonomous driving? The kitti vision benchmark suite. IEEE Conference on Computer Vision and Pattern Recognition 2012, 16-21 Jun. 2012, Province, RI, USA. 2012. p. 3354–3361. DOI: 10.1109/CVPR.2012.6248074.
Yu F, et al. Bdd100k: A diverse driving dataset for heterogeneous multitask learning. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition 2020, Jun. 2020. p. 2636–2645. DOI: 10.48550/arXiv.1805.04687.
Zhang et al. Real-time vehicle detection based on improved yolo v5. Sustainability. 2022;14(19):12274. DOI: 10.3390/su141912274.
Dong Z, Wu Y, Pei M, Jia Y. Vehicle type classification using a semisupervised convolutional neural network. IEEE transactions on intelligent transportation systems. 2015;16(4):2247–2256. DOI: 10.1109/TITS.2015.2402438.
Harikrishnan P, et al. Inception single shot multi-box detector with affinity propagation clustering and their application in multi-class vehicle counting. Applied Intelligence. 2021;51:4714–4729. DOI: 10.1007/s10489-020-02127-y.
Khalifa OO, et al. Vehicle detection for vision-based intelligent transportation systems using convolutional neural network algorithm. Journal of Advanced Transportation. 2022;1–11. DOI: 10.1155/2022/9189600.
Neupane B, Horanont T, Aryal J. Real-time vehicle classification and tracking using a transfer learning-improved deep learning network. Sensors. 2022;22(10);3813. DOI: 10.3390/s22103813.
Djula EJS, Yusuf R. Vehicle detection with YOLOv7 on study case public transportation and general classification, prediction of road loads. 2022 2nd International Seminar on Machine Learning, Optimization, and Data Science (ISMODE), 22-23 Dec. 2022, Jakarta, Indonesia. 2022. p. 7–11. DOI: 10.1109/ISMODE56940.2022.10180924.
Kalva A, Chelluboina JS, Bharathi B. Smart traffic monitoring system using YOLO and deep learning techniques. 2023 7th International Conference on Trends in Electronics and Informatics (ICOEI), 11-13 Apr. 2023, Tirunelveli, India. 2023. p. 831–837. DOI: 10.1109/ICOEI56765.2023.10126048.
Chen D, et al. The scanner of heterogeneous traffic flow in smart cities by an updating model of connected and automated vehicles. IEEE Transactions on Intelligent Transportation Systems. 2022;23(12);25361–25370. DOI: 10.1109/TITS.2022.3165155.
Liu C, et al. A vision-based pipeline for vehicle counting, speed estimation, and classification. IEEE transactions on intelligent transportation systems. 2022;22(12);7547–7560. DOI: 10.1109/TITS.2020.3004066.
Ge L, Dan D, Liu Z, Ruan X. Intelligent simulation method of bridge traffic flow load combining machine vision and weigh-in-motion monitoring. IEEE Transactions on Intelligent Transportation Systems. 2022;23(9);15313–15328.
Du M, Tao G, Zhang W. Target detection and tracking of traffic flow at intersections with camera. 2022 34th Chinese Control and Decision Conference (CCDC), 15-17 Aug. 2022, Hefei, China. 2022. p. 725–730. DOI: 10.1109/CCDC55256.2022.10034187.
Jocher G, Nishimura K, Minerva T, Vilariño R. YOLOv5. 2021. https://github. com/ultralytics/yolov5 [Accessed 20 March 2023]
National Research Council. Highway capacity manual 2010. Transportation research board. Washington, USA: Transportation Research Board; 2000.
M Broström . Real-time multi-object tracker using YOLOv5 and deep sort. 2020. https://github.com/mikel-brostrom/Yolov5_DeepSort_Pytorch [Accessed 5 July 2024]
Tanyel S. Capacity calculation method for roundabouts in Turkey. Phd thesis. Istanbul Teknik Üniversitesi; 2001.
Tanyel S, Çalışkanelli SP, Aydin, M, Utku S. The investigation of heavy vehicle effects on roundabouts. Teknik Dergi. 2013;24(4).
Turkish Standards Institution. Türk Standartları TS6407:Equivalent car factors for different car types used in urban road transportation. 2013. https://intweb.tse.org.tr/Standard/Standard/Standard.aspx?081118051115108051104119110104055047105102120088111043113104073086075079047106069087102066090067 [Accessed 10 Aug 2023]
Müller R, Kornblith S, Hinton GE. When does label smoothing help? Advances in Neural İnformation Processing Systems. 2019. Vol. 32.
Çintaş, E, Özyer B, Şimşek E. Vision-based moving UAV tracking by another UAV on low-cost hardware and a new ground control station. IEEE Access. 2020;8:194601–194611.
Wojke N, Bewley A, Paulus D. Simple online and realtime tracking with a deep association metric. IEEE international conference on image processing (ICIP)2017, 17-20 Sep.2017, Beijing, China. 2017. p. 3645–3649. DOI: 10.1109/ICIP.2017.8296962.
Zuraimi MAB, Zaman FHK. Vehicle detection and tracking using YOLO and DeepSORT. IEEE 11th IEEE Symposium on Computer Applications & Industrial Electronics (ISCAIE), 03-04 Apr. 2021, Penang, Malaysia. 2021. p. 23–29. DOI: 10.1109/ISCAIE51753.2021.9431784.
Host K, Ivasic-Kos M, Pobar M. Tracking handball players with the DeepSORT algorithm. Proceedings of the 9th International Conference on Pattern Recognition Applications and Methods, 22-24 Feb, 2020, Valletta, Malta. 2020. p. 593–599. 10.5220/0009177605930599.
Rodríguez RC, et al. Mexican traffic sign detection and classification using deep learning. Expert Systems with Applications. 2022;202:117247. DOI: 10.1016/j.eswa.2022.117247.
Kang L, Lu Z, Meng L, Gao Z. YOLO-FA: Type-1 fuzzy attention based YOLO detector for vehicle detection. Expert Systems with Applications. 2024;237:121209. DOI: 10.1016/j.eswa.2023.121209.
Guerrero-Gómez-Olmedo R, et al. Extremely overlapping vehicle counting. Pattern Recognition and Image Analysis: 7th Iberian Conference 2015, 17-19 Jun. 2015, Santiago de Compostela, Spain. 2015. p. 423–431. DOI: 10.1007/978-3-319-19390-8_48.
Copyright (c) 2025 Burak ÇELİK, Ahmet TORTUM, Emre ÇİNTAŞ, Barış ÖZYER

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.