CFP last date
21 December 2026
Reseach Article

RoadSense AI: Zero-Shot versus Fine-Tuned YOLO11 for Traffic-Camera Detection, Tracking and Counting – A Reproducible Evaluation

by Akter Mst Lovely, Mostafa Farzana, Iftee Shekh Iftesham, Tanha Asfika Jaman
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 187 - Number 155
Year of Publication: 2026
Authors: Akter Mst Lovely, Mostafa Farzana, Iftee Shekh Iftesham, Tanha Asfika Jaman
10.5120/ijcaaf4a2b614545

Akter Mst Lovely, Mostafa Farzana, Iftee Shekh Iftesham, Tanha Asfika Jaman . RoadSense AI: Zero-Shot versus Fine-Tuned YOLO11 for Traffic-Camera Detection, Tracking and Counting – A Reproducible Evaluation. International Journal of Computer Applications. 187, 155 ( Nov 2026), 47-57. DOI=10.5120/ijcaaf4a2b614545

@article{ 10.5120/ijcaaf4a2b614545,
author = { Akter Mst Lovely, Mostafa Farzana, Iftee Shekh Iftesham, Tanha Asfika Jaman },
title = { RoadSense AI: Zero-Shot versus Fine-Tuned YOLO11 for Traffic-Camera Detection, Tracking and Counting – A Reproducible Evaluation },
journal = { International Journal of Computer Applications },
issue_date = { Nov 2026 },
volume = { 187 },
number = { 155 },
month = { Nov },
year = { 2026 },
issn = { 0975-8887 },
pages = { 47-57 },
numpages = {9},
url = { https://ijcaonline.org/archives/volume187/number155/roadsense-ai-zero-shot-versus-fine-tuned-yolo11-for-traffic-camera-detection-tracking-and-counting-a-reproducible-evaluation/ },
doi = { 10.5120/ijcaaf4a2b614545 },
publisher = {Foundation of Computer Science (FCS), NY, USA},
address = {New York, USA}
}
%0 Journal Article
%1 2026-11-25T01:50:11.966068+05:30
%A Akter Mst Lovely
%A Mostafa Farzana
%A Iftee Shekh Iftesham
%A Tanha Asfika Jaman
%T RoadSense AI: Zero-Shot versus Fine-Tuned YOLO11 for Traffic-Camera Detection, Tracking and Counting – A Reproducible Evaluation
%J International Journal of Computer Applications
%@ 0975-8887
%V 187
%N 155
%P 47-57
%D 2026
%I Foundation of Computer Science (FCS), NY, USA
Abstract

Traffic-monitoring pipelines built on pretrained detectors are often described as accurate, robust and real-time without measurements on traffic-camera data. This paper re-evaluates RoadSense AI, a pipeline that combines YOLO11 detection or instance segmentation, multi-object tracking and virtual-line counting, after an audit that withdrew its original evaluation artefacts and its test videos of unknown provenance. On the COCO val2017 traffic classes, box AP is 40.3 for YOLO11n-seg and 54.2 for YOLO11m-seg. On the 40 UA-DETRAC test sequences, zero-shot vehicle box AP (IoU 0.50:0.95) is 56.5 and 61.9. Fine-tuning a COCO-pretrained YOLO11n detector for 12 epochs on sequence-disjoint UA-DETRAC training data raises AP on held-out training-partition sequences from 61.0 to 67.3, but not on the test set (56.8 ± 0.3 over three seeds versus 56.6 for the same detector zero-shot; every paired 95% CI includes zero). The validation gain is concentrated at camera sites that also occur in training (+9.0 points, against −2.0 elsewhere). At the unseen test sites the typical change is small (median +1.9 points over 20 sites) and is cancelled in pooled AP by large losses at four night-time or wet-road sites; fine-tuning also recalibrates confidence scores. The best tracking configuration, zero-shot YOLO11m-seg with BoT-SORT, reaches HOTA 68.6 and a line-count error of 4.0 vehicles per sequence; the original centroid tracker reaches HOTA 48.1 and under-counts by 8.2 vehicles per sequence. The full loop runs at 50 frames/s on an RTX 4060 Ti and 21 frames/s on a Ryzen 5 7600X with YOLO11n-seg. The original wall-clock speed read-out ranged from 6 to 127 'km/h' on the same frames depending on hardware. Validation data for traffic cameras should be split by camera site.

References
  1. Buch, N., Velastin, S. A., and Orwell, J. 2011. A review of computer vision techniques for the analysis of urban traffic. IEEE Transactions on Intelligent Transportation Systems, 12(3), 920–939. DOI: 10.1109/TITS.2011.2119372.
  2. Sivaraman, S. and Trivedi, M. M. 2013. Looking at vehicles on the road: a survey of vision-based vehicle detection, tracking, and behavior analysis. IEEE Transactions on Intelligent Transportation Systems, 14(4), 1773–1795. DOI: 10.1109/TITS.2013.2266661.
  3. Datondji, S. R. E., Dupuis, Y., Subirats, P., and Vasseur, P. 2016. A survey of vision-based traffic monitoring of road intersections. IEEE Transactions on Intelligent Transportation Systems, 17(10), 2681–2698. DOI: 10.1109/TITS.2016.2530146.
  4. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. 2016. You only look once: unified, real-time object detection. In Proc. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 779–788. DOI: 10.1109/CVPR.2016.91.
  5. Jocher, G. and Qiu, J. 2024. Ultralytics YOLO11, version 11.0.0. Software, AGPL-3.0, https://github.com/ultralytics/ultralytics.
  6. Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., and Zitnick, C. L. 2014. Microsoft COCO: common objects in context. In Proc. European Conference on Computer Vision (ECCV), LNCS 8693, 740–755. DOI: 10.1007/978-3-319-10602-1_48.
  7. Wen, L., Du, D., Cai, Z., Lei, Z., Chang, M.-C., Qi, H., Lim, J., Yang, M.-H., and Lyu, S. 2020. UA-DETRAC: a new benchmark and protocol for multi-object detection and tracking. Computer Vision and Image Understanding, 193, 102907. DOI: 10.1016/j.cviu.2020.102907. Earlier version: arXiv:1511.04136 (2015).
  8. Fernández Llorca, D., Hernández Martínez, A., and García Daza, I. 2021. Vision-based vehicle speed estimation: a survey. IET Intelligent Transport Systems, 15(8), 987–1005. DOI: 10.1049/itr2.12079.
  9. Sochor, J., Juránek, R., Špaňhel, J., Maršík, L., Široký, A., Herout, A., and Zemčík, P. 2019. Comprehensive data set for automatic single camera visual speed measurement. IEEE Transactions on Intelligent Transportation Systems, 20(5), 1633–1643. DOI: 10.1109/TITS.2018.2825609.
  10. Torralba, A. and Efros, A. A. 2011. Unbiased look at dataset bias. In Proc. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 1521–1528. DOI: 10.1109/CVPR.2011.5995347.
  11. Roberts, D. R., Bahn, V., Ciuti, S., Boyce, M. S., Elith, J., Guillera-Arroita, G., Hauenstein, S., Lahoz-Monfort, J. J., Schroeder, B., Thuiller, W., Warton, D. I., Wintle, B. A., Hartig, F., and Dormann, C. F. 2017. Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography, 40(8), 913–929. DOI: 10.1111/ecog.02881.
  12. Kapoor, S. and Narayanan, A. 2023. Leakage and the reproducibility crisis in machine-learning-based science. Patterns, 4(9), 100804. DOI: 10.1016/j.patter.2023.100804.
  13. Khanam, R. and Hussain, M. 2024. YOLOv11: an overview of the key architectural enhancements. arXiv:2410.17725.
  14. Efron, B. and Tibshirani, R. J. 1993. An Introduction to the Bootstrap. Chapman & Hall, New York.
  15. Luiten, J., Ošep, A., Dendorfer, P., Torr, P., Geiger, A., Leal-Taixé, L., and Leibe, B. 2021. HOTA: a higher order metric for evaluating multi-object tracking. International Journal of Computer Vision, 129(2), 548–578. DOI: 10.1007/s11263-020-01375-2.
  16. Bernardin, K. and Stiefelhagen, R. 2008. Evaluating multiple object tracking performance: the CLEAR MOT metrics. EURASIP Journal on Image and Video Processing, 2008, 246309. DOI: 10.1155/2008/246309.
  17. Zhang, Y., Sun, P., Jiang, Y., Yu, D., Weng, F., Yuan, Z., Luo, P., Liu, W., and Wang, X. 2022. ByteTrack: multi-object tracking by associating every detection box. In Proc. European Conference on Computer Vision (ECCV), LNCS 13682, 1–21. DOI: 10.1007/978-3-031-20047-2_1.
  18. Aharon, N., Orfaig, R., and Bobrovsky, B.-Z. 2022. BoT-SORT: robust associations multi-pedestrian tracking. arXiv:2206.14651.
  19. Hendrycks, D. and Dietterich, T. 2019. Benchmarking neural network robustness to common corruptions and perturbations. In Proc. International Conference on Learning Representations (ICLR). arXiv:1903.12261.
  20. Michaelis, C., Mitzkus, B., Geirhos, R., Rusak, E., Bringmann, O., Ecker, A. S., Bethge, M., and Brendel, W. 2019. Benchmarking robustness in object detection: autonomous driving when winter is coming. arXiv:1907.07484.
  21. Girshick, R. 2015. Fast R-CNN. In Proc. IEEE International Conference on Computer Vision (ICCV), 1440–1448. DOI: 10.1109/ICCV.2015.169.
  22. Ren, S., He, K., Girshick, R., and Sun, J. 2015. Faster R-CNN: towards real-time object detection with region proposal networks. In Advances in Neural Information Processing Systems 28 (NIPS 2015).
  23. He, K., Gkioxari, G., Dollár, P., and Girshick, R. 2017. Mask R-CNN. In Proc. IEEE International Conference on Computer Vision (ICCV), 2980–2988. DOI: 10.1109/ICCV.2017.322.
  24. Liu, W., Anguelov, D., Erhan, D., Szegedy, C., Reed, S., Fu, C.-Y., and Berg, A. C. 2016. SSD: single shot multibox detector. In Proc. European Conference on Computer Vision (ECCV), LNCS 9905, 21–37. DOI: 10.1007/978-3-319-46448-0_2.
  25. Redmon, J. and Farhadi, A. 2017. YOLO9000: better, faster, stronger. In Proc. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 6517–6525. DOI: 10.1109/CVPR.2017.690.
  26. Bochkovskiy, A., Wang, C.-Y., and Liao, H.-Y. M. 2020. YOLOv4: optimal speed and accuracy of object detection. arXiv:2004.10934.
  27. Wang, C.-Y., Bochkovskiy, A., and Liao, H.-Y. M. 2023. YOLOv7: trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. In Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 7464–7475. DOI: 10.1109/CVPR52729.2023.00721.
  28. Bolya, D., Zhou, C., Xiao, F., and Lee, Y. J. 2019. YOLACT: real-time instance segmentation. In Proc. IEEE/CVF International Conference on Computer Vision (ICCV), 9156–9165. DOI: 10.1109/ICCV.2019.00925.
  29. Jocher, G., Chaurasia, A., and Qiu, J. 2023. Ultralytics YOLOv8, version 8.0.0. Software, https://github.com/ultralytics/ultralytics.
  30. Naphade, M., Wang, S., Anastasiu, D. C., Tang, Z., Chang, M.-C., Yang, X., Yao, Y., Zheng, L., Chakraborty, P., Lopez, C. E., Sharma, A., Feng, Q., Ablavsky, V., and Sclaroff, S. 2021. The 5th AI City Challenge. In Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), 4258–4268. DOI: 10.1109/CVPRW53098.2021.00482.
  31. Bewley, A., Ge, Z., Ott, L., Ramos, F., and Upcroft, B. 2016. Simple online and realtime tracking. In Proc. IEEE International Conference on Image Processing (ICIP), 3464–3468. DOI: 10.1109/ICIP.2016.7533003.
  32. Kalman, R. E. 1960. A new approach to linear filtering and prediction problems. Journal of Basic Engineering, 82(1), 35–45. DOI: 10.1115/1.3662552.
  33. Wojke, N., Bewley, A., and Paulus, D. 2017. Simple online and realtime tracking with a deep association metric. In Proc. IEEE International Conference on Image Processing (ICIP), 3645–3649. DOI: 10.1109/ICIP.2017.8296962.
  34. Majin, J. J., Valencia, Y. M., Stivanello, M. E., Stemmer, M. R., and Salazar, J. D. 2021. A novel deep learning based method for detection and counting of vehicles in urban traffic surveillance systems. International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, XLIII-B2-2021, 793–800. DOI: 10.5194/isprs-archives-XLIII-B2-2021-793-2021.
  35. Ugalino Jr., M. G., Florin, A. F. P., Zamora, M. B. A. I., Aporto, L. J. A., Garcia, L. M., Maralit, P. F. R., Aguilan, K. E. M., Casisirano, J. D. D., Tablang, K. M. C., Pamittan, F. J. O., Fargas Jr., D. C., and Sarmiento, C. J. S. 2026. Urban mobility insights from CCTV: a deep learning approach to traffic flow monitoring. International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, XLVIII-5/W4-2025, 237–244. DOI: 10.5194/isprs-archives-XLVIII-5-W4-2025-237-2026.
  36. Recht, B., Roelofs, R., Schmidt, L., and Shankar, V. 2019. Do ImageNet classifiers generalize to ImageNet? In Proc. 36th International Conference on Machine Learning (ICML), PMLR 97, 5389–5400.
  37. Chen, Y., Li, W., Sakaridis, C., Dai, D., and Van Gool, L. 2018. Domain adaptive Faster R-CNN for object detection in the wild. In Proc. IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 3339–3348. DOI: 10.1109/CVPR.2018.00352.
  38. Guo, C., Pleiss, G., Sun, Y., and Weinberger, K. Q. 2017. On calibration of modern neural networks. In Proc. 34th International Conference on Machine Learning (ICML), PMLR 70, 1321–1330.
Index Terms

Computer Science
Information Sciences

Keywords

Traffic monitoring YOLO11 UA-DETRAC domain shift site-disjoint validation fine-tuning multi-object tracking vehicle counting robustness reproducibility