journal article·2026-04-28Open access

Keke-Aware Vehicle Counting for Traffic Measurement Using YOLO: Dataset and Field Evaluation

Moses U. Akujobi, Abdulhameed U. Abubakar, Raphael J. Mailabari, Iliya T. Thuku, Saidu Y. Musa, Ibrahim M. Visa, Ayodeji O. Abioye

Applied Sciences· Volume 16· Issue 9

Abstract

Accurate vehicle counts from traffic videos are fundamental to traffic measurement and to estimating roadway demand for infrastructure planning and maintenance. However, many vision-based traffic datasets and pretrained models under-represent vehicle types that are prevalent in developing countries, such as the keke (globally known as auto-rickshaw/three-wheeler), which can bias traffic composition estimates and downstream workload indicators. This paper presents a keke-aware vehicle detection and counting pipeline that combines fine-tuned YOLO-based detectors with BoT-SORT/ByteTrack tracking and ROI-based counting, together with a newly curated and publicly released traffic-video dataset that includes a dedicated keke class. The detectors are fine-tuned from pretrained weights on a six-class dataset (bicycle, bus, car, motorcycle, truck, keke) and evaluated on held-out roadside test videos with a manual counting baseline. On the validation split (2088 images; 8400 instances), the fine-tuned YOLO11l model achieves P=0.752, R=0.696, mAP@0.5=0.766, and mAP@0.5:0.95=0.578, with the keke class attaining mAP@0.5=0.772, while YOLO26l achieves slightly higher overall precision (P=0.766) and stronger keke recall and mAP@0.5:0.95. In system-level counting, the selected tuned ROI-based variants produce the most reliable results on the Yola Road downward flow, where keke counts remain close to the manual baseline, but performance is strongly direction- and scene-dependent, with substantially larger errors in the Yola upward flow and the more challenging Mubi Road scene. Flow-rate and ESAL-rate analyses further show that class misclassification can severely distort pavement-loading estimates even when total traffic flow appears close to baseline, underscoring the need for localized class ontologies and robust heavy-vehicle discrimination in mixed-traffic ITS deployments. The released dataset and baseline pipeline provide a practical reference for keke-aware traffic monitoring and for infrastructure-relevant traffic measurement in developing-country contexts.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Traffic Prediction and Management Techniques · Video Surveillance and Tracking Methods · Advanced Neural Network Applications

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Electrical and Electronics Engineering, Modibbo Adama University, Yola 640001, Nigeria

Department of Civil Engineering, Modibbo Adama University, Yola 640001, Nigeria

Department of Mechanical Engineering, Modibbo Adama University, Yola 640001, Nigeria

School of Computing and Communications, The Open University, Milton Keynes MK7 6AA, UK

Funding

Nigerian Tertiary Education Trust Fund · The Open University

References (35)

Show source-provided references
1. TRAMON: An automated traffic monitoring system for high density, mixed and lane-free traffic10.1016/j.iatssr.2023.10.001 ↗
2. Object Detection and Tracking Algorithms for Vehicle Counting: A Comparative Analysis10.1007/s42421-020-00025-w ↗
3. Akujobi, M., and Abioye, A.O. (2026, April 23). Keke-Aware Vehicle Counting Dataset. 2026. Dataset (22 April 2026). Figshare. Available online: https://figshare.com/articles/dataset/Keke-Aware_Vehicle_Counting_Dataset/31968651.
4. Klein, L.A., Mills, M.K., and Gibson, D.R. (2006). Traffic Detector Handbook.
5. Maity, M., Banerjee, S., and Sinha Chaudhuri, S. (2021, January 8–10). Faster R-CNN and YOLO based Vehicle detection: A Survey. Proceedings of the 2021 5th International Conference on Computing Methodologies and Communication (ICCMC), Erode, India.10.1109/ICCMC51019.2021.9418274 ↗
6. Stauffer, C., and Grimson, W.E.L. (1999, January 23–25). Adaptive background mixture models for real-time tracking. Proceedings of the 1999 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (Cat. No PR00149), Fort Collins, CO, USA.
7. Zivkovic, Z. (2004, January 23–26). Improved adaptive Gaussian mixture model for background subtraction. Proceedings of the 17th International Conference on Pattern Recognition, ICPR 2004, Washington, DC, USA.10.1109/ICPR.2004.1333992 ↗
8. Vehicle-type identification through automated virtual loop assignment and block-based direction-biased motion estimation10.1109/6979.880965 ↗
9. Liu, F., Zeng, Z., and Jiang, R. (2017). A video-based real-time adaptive vehicle-counting system for urban roads. PLoS ONE, 12.10.1371/journal.pone.0186098 ↗
10. Lin, H., Yuan, Z., He, B., Kuai, X., Li, X., and Guo, R. (2022). A Deep Learning Framework for Video-Based Vehicle Counting. Front. Phys., 10.10.3389/fphy.2022.829734 ↗
11. Bewley, A., Ge, Z., Ott, L., Ramos, F., and Upcroft, B. (2016, January 25–28). Simple online and realtime tracking. Proceedings of the 2016 IEEE International Conference on Image Processing (ICIP), Phoenix, AZ, USA.10.1109/ICIP.2016.7533003 ↗
12. Wojke, N., Bewley, A., and Paulus, D. (2017, January 17–20). Simple online and realtime tracking with a deep association metric. Proceedings of the 2017 IEEE International Conference on Image Processing (ICIP), Beijing, China.10.1109/ICIP.2017.8296962 ↗
13. Multiple object tracking: A literature review10.1016/j.artint.2020.103448 ↗
14. Ren, S., He, K., Girshick, R., and Sun, J. (2015, January 7–12). Faster R-CNN: Towards real-time object detection with region proposal networks. Proceedings of the 29th International Conference on Neural Information Processing Systems, Montreal, QU, Canada. NIPS’15.
15. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You Only Look Once: Unified, Real-Time Object Detection. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
16. A YOLO-NL object detector for real-time detection10.1016/j.eswa.2023.122256 ↗
17. Bochkovskiy, A., Wang, C.Y., and Liao, H.Y.M. (2020). YOLOv4: Optimal Speed and Accuracy of Object Detection. arXiv.
18. Ge, Z., Liu, S., Wang, F., Li, Z., and Sun, J. (2021). YOLOX: Exceeding YOLO Series in 2021. arXiv.
19. Wang, C.Y., Bochkovskiy, A., and Liao, H.Y.M. (2023, January 17–24). YOLOv7: Trainable Bag-of-Freebies Sets New State-of-the-Art for Real-Time Object Detectors. Proceedings of the 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada.10.1109/CVPR52729.2023.00721 ↗
20. Analyzing Real-Time Object Detection with YOLO Algorithm in Automotive Applications: A Review
21. Zhang, K., Zhu, N., Zhao, F., and Zhang, Q. (2026). MCViM-YOLO: Remote Sensing Vehicle Detection for Sustainable Intelligent Transportation. Sustainability, 18.10.3390/su18062836 ↗
22. Vehicle detection and classification for traffic management and autonomous systems using YOLOv1010.1016/j.aej.2025.06.049 ↗
23. Liu, C., Tao, Y., Liang, J., Li, K., and Chen, Y. (2018, January 14–16). Object Detection Based on YOLO Network. Proceedings of the 2018 IEEE 4th Information Technology and Mechatronics Engineering Conference (ITOEC), Chongqing, China.10.1109/ITOEC.2018.8740604 ↗
24. Avidan, S., Brostow, G., Cissé, M., Farinella, G.M., and Hassner, T. (2022). ByteTrack: Multi-object Tracking by Associating Every Detection Box. Proceedings of the Computer Vision–ECCV 2022, Springer.10.1007/978-3-031-19818-2 ↗
25. Aharon, N., Orfaig, R., and Bobrovsky, B.Z. (2022). BoT-SORT: Robust Associations Multi-Pedestrian Tracking. arXiv.
26. The Pascal Visual Object Classes (VOC) Challenge10.1007/s11263-009-0275-4 ↗
27. Fleet, D., Pajdla, T., Schiele, B., and Tuytelaars, T. (2014). Microsoft COCO: Common Objects in Context. Proceedings of the Computer Vision–ECCV 2014, Springer.10.1007/978-3-319-10590-1 ↗
28. Yu, F., Chen, H., Wang, X., Xian, W., Chen, Y., Liu, F., Madhavan, V., and Darrell, T. (2020, January 13–19). BDD100K: A Diverse Driving Dataset for Heterogeneous Multitask Learning. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.00271 ↗
29. Caesar, H., Bankiti, V., Lang, A.H., Vora, S., Liong, V.E., Xu, Q., Krishnan, A., Pan, Y., Baldan, G., and Beijbom, O. (2020, January 13–19). nuScenes: A Multimodal Dataset for Autonomous Driving. Proceedings of the 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR42600.2020.01164 ↗
30. Varma, G., Subramanian, A., Namboodiri, A., Chandraker, M., and Jawahar, C. (2019, January 7–11). IDD: A Dataset for Exploring Problems of Autonomous Navigation in Unconstrained Environments. Proceedings of the 2019 IEEE Winter Conference on Applications of Computer Vision (WACV), Waikoloa Village, HI, USA.10.1109/WACV.2019.00190 ↗
31. DATS_2022: A Versatile Indian Dataset for Object Detection in Unstructured Traffic Conditions10.1016/j.dib.2022.108470 ↗
32. Dokania, S., Hafez, A.H.A., Subramanian, A., Chandraker, M., and Jawahar, C.V. (2023, January 2–7). IDD-3D: Indian Driving Dataset for 3D Unstructured Road Scenes. Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV), Waikoloa, HI, USA.10.1109/WACV56688.2023.00446 ↗
33. Hasan, M.M., Wang, Z., Hussain, M.A.I., and Fatima, K. (2021). Bangladeshi Native Vehicle Classification Based on Transfer Learning with Deep Convolutional Neural Network. Sensors, 21.10.3390/s21227545 ↗
34. Saha, B., Islam, M.J., Mostaque, S.K., Bhowmik, A., Taton, T.K., Chowdhury, M.N.H., and Reaz, M.B.I. (2024). Bangladeshi Native Vehicle Detection in Wild. arXiv.
35. Gao, H. (2025, January 23–25). Vehicle Detection and Tracking Based on YOLOv11. Proceedings of the 2nd International Conference on Data Science and Engineering, Lisbon, Portugal.10.5220/0013699700004670 ↗